Options:
- # Session Start: Wed Dec 10 00:00:00 2008
- # Session Ident: #whatwg
- # [00:03] * Joins: heycam (n=cam@clm-laptop.infotech.monash.edu.au)
- # [00:13] <Lachy__> hey, can anyone recommend a nice, reasonably priced hotel for me to stay in London?
- # [00:13] * Joins: dimich_ (n=dimich@72.14.227.1)
- # [00:13] * Quits: dimich_ (n=dimich@72.14.227.1) (Remote closed the connection)
- # [00:14] * Quits: dimich (n=dimich@72.14.227.1) (Read error: 104 (Connection reset by peer))
- # [00:14] * Joins: dimich (n=dimich@72.14.227.1)
- # [00:15] * Lachy__ is now known as Lachy
- # [00:15] * Quits: Lachy (n=Lachlan@85.196.122.246) ("Leaving")
- # [00:15] * Joins: Lachy (n=Lachlan@85.196.122.246)
- # [00:28] * Joins: smerp][ (n=smerp@66.192.95.199)
- # [00:29] * Quits: smerp][ (n=smerp@66.192.95.199) (Client Quit)
- # [00:45] * Quits: smerp (n=smerp@66.192.95.199) (Read error: 110 (Connection timed out))
- # [00:51] * Quits: eric_carlson (n=ericc@nat/apple/x-b2c683ff82fbd52a)
- # [00:59] * Quits: danbri (n=danbri@unaffiliated/danbri)
- # [01:13] * Joins: tantek_ (n=tantek@c-67-161-5-143.hsd1.ca.comcast.net)
- # [01:13] * Quits: tantek (n=tantek@c-67-161-5-143.hsd1.ca.comcast.net) (Read error: 104 (Connection reset by peer))
- # [01:18] * Quits: dglazkov (n=dglazkov@nat/google/x-b7bac348c4313380)
- # [01:43] * Quits: hober (n=ted@unaffiliated/hober) (Remote closed the connection)
- # [01:44] * Quits: tantek_ (n=tantek@c-67-161-5-143.hsd1.ca.comcast.net)
- # [01:45] * Quits: svl (n=me@ip565744a7.direct-adsl.nl) ("And back he spurred like a madman, shrieking a curse to the sky.")
- # [01:58] * Joins: neatnik (n=neatnik@2002:4a81:66ca:0:21e:52ff:fe85:e05)
- # [01:58] * Quits: doublec (n=chris@202.0.36.64) ("Leaving")
- # [02:01] * Joins: doublec (n=Chris_Do@202.0.36.64)
- # [02:08] * Quits: nessy (n=nessy@203-214-152-75.perm.iinet.net.au) ("This computer has gone to sleep")
- # [02:09] * Joins: nessy (n=nessy@203-214-152-75.perm.iinet.net.au)
- # [02:12] * Quits: aroben (n=adamrobe@unaffiliated/aroben) (Remote closed the connection)
- # [02:12] * Joins: aroben (n=adamrobe@17.244.16.238)
- # [02:13] * Quits: nessy (n=nessy@203-214-152-75.perm.iinet.net.au) (Client Quit)
- # [02:15] * Joins: nessy (n=nessy@203-214-152-75.perm.iinet.net.au)
- # [02:20] * Quits: nessy (n=nessy@203-214-152-75.perm.iinet.net.au) ("This computer has gone to sleep")
- # [02:25] <Hixie> the more i try to fix this scripting thing the more involved the edit becomes
- # [02:25] <Hixie> this is becoming quite the diff
- # [02:25] <Hixie> i don't even remember what the original problem was that i was fixing
- # [02:26] <Hixie> it's like someone saying "i'd like you to fix the off-white colour on the wall here" and finding that the off-white is caused by rot which is caused by a slow leak which is caused by faulty insulation in the attic and that the slow leak has also weaked the foundations and that you have to basically pull the whole house down and rebuild it
- # [02:30] <neatnik> Hixie: and then you discover that the house was built on an ancient Indian burial ground, and the land is tainted with thousands of restless spirits
- # [02:31] <MikeSmith> Hixie: not looking forward to reading that diff
- # [02:32] <kfish> neatnik, hence the off-white colour on the walls
- # [02:33] <neatnik> Interestingly, you never hear about computers being haunted
- # [02:33] <Hixie> neatnik: oh we already know about the burial ground
- # [02:33] <MikeSmith> Hixie: at least now that you're using Geoffrey's spec-gen thing, the IDs won't get cascade-changed throughout the whole spec
- # [02:33] <Hixie> neatnik: this is html, after all
- # [02:33] <neatnik> Hixie: lol
- # [02:33] <Hixie> MikeSmith: yeah really
- # [02:35] <MikeSmith> If we awaken the spirits, maybe they'll bring some peyote with them.
- # [02:35] <MikeSmith> that would be an upside
- # [02:35] <Hixie> dude i need my mind totally clear to write this stuff
- # [02:36] <Hixie> i don't think shooting up would help the spec :-P
- # [02:37] <MikeSmith> peyote will clear your mind, as well as your stomach. it will bring ideas straight from your belly and back up through your nostrils
- # [02:38] <MikeSmith> good medicine must always have some kind of adverse side effects
- # [02:38] <MikeSmith> but I digress
- # [02:38] <MikeSmith> ..as usual
- # [02:38] * MikeSmith goes to drink some tea
- # [02:43] <MikeSmith> Hixie: btw, I was doing a bit with dfn.js yesterday
- # [02:43] <MikeSmith> that's a sweet little piece of work
- # [02:43] <MikeSmith> every spec should use that
- # [02:49] <Hixie> hehe
- # [02:49] <Hixie> my biggest problem with it is it doesn't support "open in new tab"
- # [02:49] <Hixie> what were you doing with it?
- # [02:53] <MikeSmith> Hixie: adding it to my document-conformance draft
- # [02:53] <Hixie> ah cool
- # [02:53] <MikeSmith> works particularly nicely for back-refs for the datatypes stuff
- # [02:54] <MikeSmith> btw, I've never been explicitly told we can't use any scripts in W3C TR docs
- # [02:54] <MikeSmith> and I'm not going to ask for permission..
- # [02:56] <Hixie> let's hope the script doesn't introduce the risk of an xss
- # [02:56] <MikeSmith> ..so I think it would be good have have dfn.js added, e.g., to some webapps specs
- # [02:57] <Hixie> hsivonen: i'm shocked that it's possible (modulo your proposal) to parse html without depending on the dom
- # [02:57] <Hixie> hsivonen: are you really sure you can't cause the parser to trigger mutations that make no sense?
- # [02:57] <hsivonen> Hixie: is there a reason why foster-parented stuff isn't dropped on the floor if the parent of the table is gone?
- # [02:58] <Hixie> not really
- # [02:58] <hsivonen> Hixie: pretty sure that that's the only show-stopper problem
- # [02:59] * Hixie is not 100% convinced, but will have to look closer at some point
- # [02:59] <Hixie> when writing AAA in particular i found crashes in safari that were due to hyatt not thinking of certain changes you could make to the dom from script
- # [03:00] * Joins: nessy (n=nessy@115.129.14.214)
- # [03:00] <hsivonen> Hixie: we could make things slightly simpler if foster-parented stuff was dropped if the parent is gone
- # [03:00] <Hixie> (so i wouldn't be surprised if such a radical change as you propose reintroduced such errors)
- # [03:00] <Hixie> hsivonen: send mail
- # [03:00] <Hixie> hsivonen: i don't really care either way
- # [03:02] <heycam> MikeSmith, is dfn.js what makes the <dfn>s clickable in the html5 spec?
- # [03:02] <heycam> if so, then i want it :)
- # [03:02] * heycam already borrowed dl.switch from the whatwg style sheet
- # [03:02] <MikeSmith> heycam: yeah
- # [03:04] <MikeSmith> heycam: I recommend going ahead and adding it to the WebIDL spec
- # [03:04] * Joins: smerp (n=smerp@cpe-066-057-061-202.nc.res.rr.com)
- # [03:04] <heycam> there aren't any copyright licensing terms in http://www.whatwg.org/specs/web-apps/current-work/dfn.js
- # [03:05] * Joins: smerp][ (n=smerp@66.192.95.199)
- # [03:05] <Hixie> heycam: what license do you want it under?
- # [03:05] <heycam> Hixie, anything sufficiently liberal for me to use it
- # [03:05] <heycam> i don't mind if attribution is required
- # [03:06] <Hixie> public domain ok?
- # [03:06] <heycam> sure
- # [03:06] <heycam> that's easiest
- # [03:06] <Hixie> i hereby grant http://www.whatwg.org/specs/web-apps/current-work/dfn.js into the public domain
- # [03:06] <heycam> (though i know some people think public domain is a bad idea)
- # [03:06] * heycam wonders whether that is sufficient
- # [03:06] <heycam> could you add it as comment at the top of dfn.js?
- # [03:06] <Hixie> well if you want something more, let me know
- # [03:07] <Hixie> done
- # [03:07] <heycam> thanks
- # [03:07] <Hixie> (neither me nor google will ever sue you over copying that file)
- # [03:08] <Hixie> i have to say, the people who are fighting so hard for their copyrights have really made my life noticeably more annoying
- # [03:08] <Hixie> because everyone is always asking me for copyright statements and so forth
- # [03:08] <Hixie> i wish copyright didn't eixst
- # [03:08] <Hixie> exist
- # [03:08] <hsivonen> Hixie: were there compat issues with making CDATA sections act like CDATA sections in HTML?
- # [03:08] <Hixie> my life would be far better
- # [03:08] <heycam> in australia at least explicit copyright statements don't need to be made
- # [03:08] <Hixie> hsivonen: yes, pretty sure
- # [03:09] <Hixie> heycam: i mean statements saying that copying is ok
- # [03:09] <heycam> Hixie, ah
- # [03:09] * Quits: aroben (n=adamrobe@unaffiliated/aroben)
- # [03:09] <hsivonen> Hixie: having to check the tree builder state is a problem for tokenizing ahead of tree building
- # [03:09] * Quits: ojan_ (n=ojan@72.14.229.81) ("Leaving")
- # [03:09] <hsivonen> as in saving the tokens of speculative script, style and img parse
- # [03:10] <Hixie> hsivonen: isn't that a problem for things like <script> anyway? or can you move those parts into the tokeniser effectively
- # [03:10] <hsivonen> Hixie: document.write is an obvious problem that cannot go away
- # [03:10] <hsivonen> CDATA maybe could still made into a non-problem
- # [03:11] <Hixie> well if you have proposals, send mail. but i highly doubt we can support "<![CDATA[" as an escaping string in regular text/html
- # [03:11] <hsivonen> Hixie: moving bailing out of foreign content into the tokenizer doesn't work
- # [03:11] <hsivonen> Hixie: ok
- # [03:11] <Hixie> it's probably dangerous enough in svg/mathml as it is
- # [03:11] * Quits: hallvors (n=hallvord@cm-84.208.78.204.getinternet.no)
- # [03:11] <Hixie> i could be convinced to remove it altogether, but you'd have to get that past the svgwg, which will be interesting
- # [03:12] <Hixie> not sure what the status is wrt svgwg and svg-in-text/html
- # [03:12] <Hixie> is the ball in our court?
- # [03:12] <Hixie> they never replied to my e-mail
- # [03:12] <Hixie> but we had that meeting in mandelieu
- # [03:12] <Hixie> which went nowhere
- # [03:12] <hsivonen> Hixie: they didn't respond to my review either
- # [03:12] <heycam> Hixie, we recently just started discussing it again
- # [03:12] <heycam> (see public-svg-wg)
- # [03:12] <Hixie> ah ok
- # [03:12] <Hixie> cool
- # [03:12] <heycam> i expect we'll discuss at at the thursday telcon
- # [03:12] <heycam> *it at
- # [03:13] <Hixie> k
- # [03:13] <Hixie> i have to say, for all the problems that it introduces, the whatwg model definitely does make things faster
- # [03:14] <Hixie> svg-in-text/html was resolved in about a month once i started working on it, from start to finish (notwithstanding the svgwg's feedback, of course)
- # [03:14] <Hixie> including responding to all feedback
- # [03:15] * Quits: roc (n=roc@202.0.36.64)
- # [03:16] <Hixie> (all of which is ironic given our timetable vs the w3c's timetables, heh)
- # [03:17] * Joins: roc (n=roc@202.0.36.64)
- # [03:19] <kfish> Hixie, I was wondering, what tools do you use to summarize discussions in email? or do you just cut and copy?
- # [03:19] <Hixie> pine
- # [03:19] <Hixie> it has a multi-message reply facility
- # [03:19] <heycam> do you use an external editor? or the builtin one?
- # [03:20] <Hixie> i use pine's editor generally, but if i need to do anything special i escape out to emacs
- # [03:20] <Hixie> i often fix up formatting in dozens of e-mails at once using emacs
- # [03:20] <Hixie> then do the actual replying in pine
- # [03:20] <heycam> i suppose at least the pine editor's key bindings are similar to emacs
- # [03:20] <Hixie> pine has a slightly better mail reflowing mechanism
- # [03:20] <heycam> but apart from that, /me shudders :)
- # [03:21] <Hixie> heh
- # [03:21] <Hixie> i'd use emacs if i could work out how to configure it to reflow blocks of indented mail sanely
- # [03:21] * Quits: smerp (n=smerp@cpe-066-057-061-202.nc.res.rr.com) (Connection timed out)
- # [03:21] * Quits: tndH (n=Rob@james-baillie-pc083-058.student-halls.leeds.ac.uk) ("Reconnecting…")
- # [03:21] <kfish> cool, thanks
- # [03:21] <Hixie> but my current configuration isn't good at distinguishing where the indent level changes
- # [03:21] <heycam> M-x reflow-mails-as-hixie-likes-them
- # [03:21] * Joins: tndH (n=Rob@james-baillie-pc083-058.student-halls.leeds.ac.uk)
- # [03:21] <Hixie> and ends up screwing everything up into one paragraph
- # [03:21] <Hixie> which is suboptimal
- # [03:22] <heycam> my workflow is to use mutt with vim as the editor, and i highlight the stuff to reflow and do :!par
- # [03:22] <heycam> i just haven't figured out how to make par put two spaces between sentences instead of one
- # [03:22] <Hixie> ctrl-j in pine just figures out what the current paragraph is, reflows it, and moves the cursor to below the paragraph
- # [03:23] <heycam> that seems nice
- # [03:23] <Hixie> so i can reflow an entire mail paragraph-by-paragraph just by hitting ctrl-j..j..j..j..j..j..j...
- # [03:23] <Hixie> which is awesome
- # [03:23] <Hixie> it screws up with mail from emacs gnu mail users (they indent using " >" instead of "> " which pine doesn't know what to do with)
- # [03:24] <Hixie> and it screws up with mail from gmail (pine can't parse the html from gmail and ends up not indenting anything)
- # [03:24] <Hixie> so for those two cases i jump to emacs, do a quick regexp search-replace, and go back
- # [03:24] <Hixie> all under screen(1) over ssh
- # [03:25] <heycam> i should use screen i suppose
- # [03:25] <heycam> i don't find it too annoying to quit mutt and restart it later though
- # [03:25] <Hixie> (my mail client configuration has basically not changed since 1996, except for adding screen about 6 years ago)
- # [03:26] <heycam> heh
- # [03:26] <Hixie> well the great thing with screen is that i can be half-way through an e-mail and i can just close my laptop, move elsewhere, reopen it, and the cursor will still be at the same point in the e-mail
- # [03:26] <Hixie> which is awesome
- # [03:26] <Hixie> if a cat sits on my keyboard, i can just pull out another laptop and continue and it's like nothing happened, without having to move the cat
- # [03:26] <heycam> lol
- # [03:26] <Hixie> (i did that once and the cat was like, wtf)
- # [03:27] <Hixie> ("you're supposed to pet me. nobody else has been able to ignore me when i sit on the keyboard. who are you, freak?")
- # [03:30] * Quits: tndH (n=Rob@james-baillie-pc083-058.student-halls.leeds.ac.uk) ("ChatZilla 0.9.84-rdmsoft [XULRunner 1.9.0.1/2008072406]")
- # [03:30] * Quits: dave_levin (n=dave_lev@72.14.227.1) (Read error: 110 (Connection timed out))
- # [03:37] * Quits: roc (n=roc@202.0.36.64)
- # [03:40] * Joins: kangax_ (n=kangax@67.220.133.254)
- # [03:45] <heycam> nice, http://dev.w3.org/2006/webapi/WebIDL/ with clickable <dfn>s now
- # [03:46] <heycam> i like how google thinks that www.w3.org/TR/WebIDL/ is written by a mr (or mrs) "C Changes" -- http://www.google.com/search?q=web+idl
- # [03:48] <Hixie> yes, you should be receiving a letter any day now announcing that we've filed to have your name changed
- # [03:48] <Hixie> sorry for the delay, but we have to do it by postal mail for legal reasons so it takes a while
- # [03:48] <heycam> such is google's influence on the world
- # [03:49] <Hixie> well it's just that your parents made a mistake, we're just correcting it now
- # [03:49] <heycam> :)
- # [03:50] <heycam> google actually has crawled the web and generated an immense genealogy tree and determined that my great^5-grandfather was illegitimate and was given the wrong name
- # [03:51] * heycam marvels at what computers can do these days!
- # [03:51] <Hixie> :-)
- # [03:52] <Philip`> Looking at e.g. http://www.google.com/search?q=site:www.ietf.org+rfc it seems to be wrong about as often as it's right
- # [03:52] <Hixie> that it gets any right at all is pretty amazing
- # [03:52] <Hixie> i wonder how it works
- # [03:53] <Hixie> i guess i could look
- # [03:54] <Philip`> It seems kind of silly to display that information at all, when there's so little confidence that it's right
- # [03:54] <heycam> i wonder whether it looks at <address>
- # [03:54] <heycam> (if one exists)
- # [03:54] <Philip`> I've seen Google sometimes say how many replies there were to forum posts in its results, which is a much more useful thing since it seems to get it right and lets you ignore unanswered queries
- # [03:55] <Hixie> well well well
- # [03:56] <Hixie> designMode = 'on' doesn't stop other frames from calling your scripts
- # [03:57] * Quits: kangax (n=kangax@ool-182f8118.dyn.optonline.net) (Read error: 110 (Connection timed out))
- # [04:01] <Hixie> woah
- # [04:01] <Hixie> designMode = 'on' doesn't stop ANY scripts!
- # [04:02] <Hixie> where did i get the idea that it did from?
- # [04:05] * Joins: dave_levin (n=dave_lev@c-98-203-247-78.hsd1.wa.comcast.net)
- # [04:07] * Joins: dave_levin_ (n=dave_lev@72.14.224.1)
- # [04:12] * Quits: weinig (n=weinig@nat/apple/x-bc70f20da81b3d0c)
- # [04:23] * MikeSmith thanks heycam for tip about par(1)
- # [04:24] * Quits: dave_levin (n=dave_lev@c-98-203-247-78.hsd1.wa.comcast.net) (Read error: 110 (Connection timed out))
- # [04:25] * Joins: roc (n=roc@202.0.36.64)
- # [04:35] * Parts: smerp][ (n=smerp@66.192.95.199)
- # [04:41] * Quits: nessy (n=nessy@115.129.14.214) ("This computer has gone to sleep")
- # [04:48] * Quits: karlcow (n=karl@modemcable168.84-81-70.mc.videotron.ca) ("Where dwelt Ymir, or wherein did he find sustenance?")
- # [04:57] * Joins: weinig (n=weinig@c-69-181-81-233.hsd1.ca.comcast.net)
- # [05:04] * Quits: dimich (n=dimich@72.14.227.1)
- # [05:09] * Joins: dimich (n=dimich@72.14.227.1)
- # [05:15] * Quits: weinig (n=weinig@c-69-181-81-233.hsd1.ca.comcast.net)
- # [05:23] * Joins: weinig (n=weinig@c-69-181-81-233.hsd1.ca.comcast.net)
- # [05:23] * Quits: heycam (n=cam@clm-laptop.infotech.monash.edu.au) ("bye")
- # [05:25] * Quits: weinig (n=weinig@c-69-181-81-233.hsd1.ca.comcast.net) (Client Quit)
- # [05:29] * Quits: dolske (n=dolske@firefox/developer/dolske)
- # [05:36] * Quits: roc (n=roc@202.0.36.64)
- # [05:39] * Joins: tantek (n=tantek@69.28.122.74)
- # [05:40] * Joins: tantek_ (n=tantek@12.140.254.34)
- # [05:50] * Joins: weinig (n=weinig@c-69-181-81-233.hsd1.ca.comcast.net)
- # [05:52] * Joins: heycam (n=cam@124-168-105-223.dyn.iinet.net.au)
- # [05:53] * Joins: dolske (n=dolske@c-76-103-41-195.hsd1.ca.comcast.net)
- # [05:53] * Joins: zcorpan (n=zcorpan@pat.se.opera.com)
- # [05:53] * Quits: tantek_ (n=tantek@12.140.254.34)
- # [05:55] * Quits: tantek (n=tantek@69.28.122.74) (Read error: 110 (Connection timed out))
- # [06:02] * Quits: dimich (n=dimich@72.14.227.1)
- # [06:10] * Joins: hdh (n=hdh@58.187.62.218)
- # [06:13] * Joins: dglazkov (n=dglazkov@c-24-130-144-56.hsd1.ca.comcast.net)
- # [06:14] * Quits: dbaron (n=dbaron@guest-229.mountainview.mozilla.com) ("8403864 bytes have been tenured, next gc will be global.")
- # [06:25] * Quits: dglazkov (n=dglazkov@c-24-130-144-56.hsd1.ca.comcast.net)
- # [06:28] * Joins: nessy (n=nessy@124-168-181-96.dyn.iinet.net.au)
- # [06:37] * Quits: Amorphous (i=jan@unaffiliated/amorphous) (Read error: 104 (Connection reset by peer))
- # [06:37] * Joins: famicom (i=famicom@5ED2FF2D.cable.ziggo.nl)
- # [06:41] * Quits: doublec (n=Chris_Do@202.0.36.64) ("ChatZilla 0.9.79-rdmsoft [XULRunner 1.8.0.9/2006120508]")
- # [06:42] * Joins: Amorphous (i=jan@unaffiliated/amorphous)
- # [06:42] * Joins: dglazkov (n=dglazkov@c-24-130-144-56.hsd1.ca.comcast.net)
- # [06:43] * Joins: dbaron (n=dbaron@c-71-204-152-23.hsd1.ca.comcast.net)
- # [06:54] * Quits: kfish (n=conrad@218-251-13-51.eonet.ne.jp) ("Fish!")
- # [06:57] * Quits: dglazkov (n=dglazkov@c-24-130-144-56.hsd1.ca.comcast.net)
- # [06:58] <zcorpan> Hixie: opera supports <![CDATA[ in text/html, and we haven't got many bugs about it
- # [06:59] * Joins: dimich (n=dimich@72.14.227.1)
- # [07:04] * Quits: weinig (n=weinig@c-69-181-81-233.hsd1.ca.comcast.net)
- # [07:07] * Joins: fishd_ (n=darin@nat/google/x-6782609bdde8a22e)
- # [07:08] * Quits: dimich (n=dimich@72.14.227.1)
- # [07:09] <MikeSmith> CDATA sections in text/html would be great to have
- # [07:09] <MikeSmith> would make life easier for author/developers who want to include HTML/markup examples in their docs
- # [07:09] <MikeSmith> e.g., spec editors
- # [07:11] * Joins: weinig (n=weinig@c-69-181-81-233.hsd1.ca.comcast.net)
- # [07:13] <zcorpan> MikeSmith: you could use <xmp>
- # [07:15] <MikeSmith> zcorpan: <xmp> supported across browsers? IE?
- # [07:15] <zcorpan> yes
- # [07:16] <MikeSmith> I guess I remember hearing that now, but don't remember why it's not part of HTML5, then
- # [07:18] <zcorpan> http://lists.w3.org/Archives/Public/public-html/2007Dec/0120.html
- # [07:20] * Quits: jruderman (n=jruderma@corp-241.mountainview.mozilla.com)
- # [07:22] <MikeSmith> zcorpan: thanks
- # [07:22] * MikeSmith sees not reply from Hixie there, wonders which of his issue folders <xmp> might fall in
- # [07:25] * Quits: fishd (n=darin@nat/google/x-72929134488ca02b) (Read error: 110 (Connection timed out))
- # [07:26] * Quits: jwalden (n=waldo@corp-241.mountainview.mozilla.com) ("ChatZilla 0.9.82.1-rdmsoft [XULRunner 1.8.0.9/2006120508]")
- # [07:27] <zcorpan> http://www.google.com/search?q=site%3Ahttp%3A%2F%2Fcanvex.lazyilluminati.com%2Fmisc%2Fcgi%2Fissues.cgi+xmp
- # [07:27] * MikeSmith finds http://krijnhoetmer.nl/irc-logs/html-wg/20070822#l-301
- # [07:27] <MikeSmith> zcorpan: thanks
- # [07:29] <zcorpan> oh right, Philip` started with an html reference document
- # [07:30] <zcorpan> MikeSmith: perhaps you can steal some stuff from it
- # [07:30] <MikeSmith> zcorpan: what're your own current thoughts on making <xmp> conforming? good idea? bad idea?
- # [07:30] <MikeSmith> zcorpan: URL for Philip` s reference doc?
- # [07:30] <zcorpan> http://canvex.lazyilluminati.com/misc/ref/ref.html
- # [07:31] <zcorpan> MikeSmith: i don't mind it being conforming but i don't feel strongly about it
- # [07:31] <MikeSmith> OK
- # [07:31] <zcorpan> it's pretty useless in xhtml though
- # [07:31] <MikeSmith> yeah
- # [07:33] <MikeSmith> zcorpan: btw, splitting up input into multiple sections is still a high priority for me for the document-conformance draft.. I got sidetracked a bit messing around with the Datatypes section. among other things, borrowed Hixie's dfn.js and put it to use for backrefs for the datatypes
- # [07:34] <MikeSmith> e.g, http://www.w3.org/html/wg/markup-spec/#common.data.integer
- # [07:35] <zcorpan> MikeSmith: ok
- # [07:37] <zcorpan> MikeSmith: the entity table should omit entities without trailing ;
- # [07:37] * Joins: weinig_ (n=weinig@c-69-181-81-233.hsd1.ca.comcast.net)
- # [07:38] * Quits: weinig (n=weinig@c-69-181-81-233.hsd1.ca.comcast.net) (Read error: 104 (Connection reset by peer))
- # [07:39] <MikeSmith> zcorpan: added to my TODO list -- which is, so far, all stuff from you
- # [07:39] <MikeSmith> http://www.w3.org/html/wg/markup-spec/TODO
- # [07:39] * MikeSmith needs to add a few more things to that...
- # [07:41] * Joins: weinig (n=weinig@c-69-181-81-233.hsd1.ca.comcast.net)
- # [07:42] <zcorpan> MikeSmith: put it on the todo list that you have to add a few more things to it
- # [07:42] <MikeSmith> heh
- # [07:42] <MikeSmith> smartass
- # [07:43] * Quits: weinig_ (n=weinig@c-69-181-81-233.hsd1.ca.comcast.net) (Read error: 104 (Connection reset by peer))
- # [07:52] * Joins: maikmerten (n=merten@ls5dhcp195.cs.uni-dortmund.de)
- # [07:55] * olliej is now known as fakeolliej
- # [08:07] * zcorpan uploads http://simon.html5.org/dump/titles-with-line-breaks-all.txt
- # [08:07] <zcorpan> some have just a trailing line break
- # [08:13] * Joins: ap (n=ap@195.239.126.10)
- # [08:15] * Quits: virtuelv (n=virtuelv@217.41.226.233) ("Leaving")
- # [08:17] * Quits: famicom (i=famicom@5ED2FF2D.cable.ziggo.nl) ("Leaving")
- # [08:19] * Joins: KevinMarks (n=KevinMar@c-98-207-134-151.hsd1.ca.comcast.net)
- # [08:22] * Quits: dbaron (n=dbaron@c-71-204-152-23.hsd1.ca.comcast.net) ("8403864 bytes have been tenured, next gc will be global.")
- # [08:23] * Joins: famicom (i=famicom@5ED2FF2D.cable.ziggo.nl)
- # [08:32] * Joins: epeus (n=KevinMar@72.14.224.1)
- # [08:35] * Joins: jwalden (n=waldo@c-67-180-39-55.hsd1.ca.comcast.net)
- # [08:39] * Quits: epeus (n=KevinMar@72.14.224.1)
- # [08:39] * Quits: KevinMarks (n=KevinMar@c-98-207-134-151.hsd1.ca.comcast.net) (Connection timed out)
- # [08:45] * Joins: KevinMarks (n=KevinMar@c-98-207-134-151.hsd1.ca.comcast.net)
- # [08:46] * Joins: pesla (n=retep@procurios.xs4all.nl)
- # [08:49] * Joins: doublec (n=chris@118-92-153-119.dsl.dyn.ihug.co.nz)
- # [08:52] * Joins: roc (n=roc@121-72-195-24.dsl.telstraclear.net)
- # [08:53] <MikeSmith> trying to recall what the rationale is for allowing years with more than 4 digits
- # [08:55] * Joins: Maurice (n=ano@a80-101-46-164.adsl.xs4all.nl)
- # [08:59] <Lachy> MikeSmith, to avoid the imminent Y10k bug
- # [09:00] <MikeSmith> ah
- # [09:02] <Lachy> we could easily restrict it to 4 digit years now and then, if HTML is still around in 8000 years, let the future generations solve the problem by permitting 5 digit years
- # [09:03] <roc> I fear what HTML will have grown into in 8000 years
- # [09:03] <jwalden> but what if I want to talk about dates in the future in H. G. Wells's "The Time Machine"?
- # [09:03] <jwalden> (I kid, mostly)
- # [09:04] <Lachy> jwalden, you don't need the time element for that
- # [09:05] <MikeSmith> OK, also wondering what the rationale is for allowing month to be 00-12, instead of just 01-12
- # [09:05] <Lachy> that's got to be a mistake
- # [09:06] <MikeSmith> Lachy: I'd hope so, but I don't think it is
- # [09:06] <MikeSmith> http://www.whatwg.org/specs/web-apps/current-work/multipage/infrastructure.html#months
- # [09:06] <MikeSmith> "Two digits, representing the month month, in the range 0 ≤ month ≤ 12"
- # [09:06] <Lachy> looks like a mistake to me
- # [09:07] <Lachy> it also says in the parsing rules "If month is not a number in the range 1 ≤ month ≤ 12, then fail."
- # [09:07] <MikeSmith> ah
- # [09:07] <MikeSmith> OK
- # [09:07] <MikeSmith> thanks
- # [09:07] <Lachy> Hixie, ^
- # [09:07] <MikeSmith> definitely must be a mistake, then
- # [09:08] * MikeSmith breathes a sign of relief.. then takes a bong rip
- # [09:09] <MikeSmith> somehow the effects of the bong rip are significantly more calming than a simple sign of relief
- # [09:23] <Lachy> Hixie, same error the the day in "Two digits, representing day, in the range 0 ≤ day ≤ maxday where maxday is the number of days in the month month and year year"
- # [09:24] * Joins: dimich (n=dimich@c-98-203-230-54.hsd1.wa.comcast.net)
- # [09:29] * Quits: erlehmann (n=erlehman@dslb-088-075-207-189.pools.arcor-ip.net) (Read error: 60 (Operation timed out))
- # [09:45] * Joins: tthorsen (n=tommy@home.kvaleberg.no)
- # [09:51] <Hixie> Lachy: send mail or file a bug (or hope i remember) :-)
- # [09:55] <Lachy> ok
- # [09:59] * Quits: sverrej (n=sverrej@cm-84.208.153.202.getinternet.no) (No route to host)
- # [10:03] * Quits: annevk5 (n=annevk@pat-tdc.opera.com) (Remote closed the connection)
- # [10:03] * Joins: annevk5 (n=annevk@pat-tdc.opera.com)
- # [10:07] * Quits: dimich (n=dimich@c-98-203-230-54.hsd1.wa.comcast.net)
- # [10:12] * Joins: ap_ (n=ap@195.239.126.10)
- # [10:12] * Quits: ap (n=ap@195.239.126.10) (Nick collision from services.)
- # [10:12] * ap_ is now known as ap
- # [10:14] <Lachy> I just booked my hotel in London for my New Years holiday :-)
- # [10:16] * Joins: danbri (n=danbri@ip565f6edb.direct-adsl.nl)
- # [10:22] * jgraham fails to believe that Lachy found somewhere cheap and nice
- # [10:26] <Philip`> http://www.crummy.com/2008/12/09/0
- # [10:28] <jgraham> Philip`: Interesting
- # [10:29] <annevk5> maybe we should tell him html5lib is not as fast
- # [10:32] * Joins: virtuelv (n=virtuelv@135.196.104.206)
- # [10:33] <jgraham> Maybe we should encourage takkaria to produce python bindings for hubbub and call it chtml5lib :)
- # [10:35] <Lachy> jgraham, I found a place that cost me £317 for 4 nights in Sussex Gardens
- # [10:36] <Lachy> arr Mon 29th, dep Fri 2nd
- # [10:37] * Quits: annevk5 (n=annevk@pat-tdc.opera.com) (Remote closed the connection)
- # [10:38] * Joins: annevk5 (n=annevk@pat-tdc.opera.com)
- # [10:51] <annevk5> just published: http://www.devarticles.com/c/a/HTML/Upgrading-from-HTML-to-XHTML/
- # [10:51] <annevk5> seems like a copy from some other site though
- # [10:54] * Quits: doublec (n=chris@118-92-153-119.dsl.dyn.ihug.co.nz) ("Leaving")
- # [10:56] <roc> I can't bear it
- # [11:00] * Quits: Lachy (n=Lachlan@85.196.122.246) ("This computer has gone to sleep")
- # [11:08] * Joins: ROBOd (n=robod@89.122.216.38)
- # [11:11] * Joins: hallvors (n=hallvord@pat-tdc.opera.com)
- # [11:18] * Joins: Lachy (n=Lachlan@pat-tdc.opera.com)
- # [11:30] * Quits: virtuelv (n=virtuelv@135.196.104.206) (Read error: 60 (Operation timed out))
- # [11:39] * Quits: Lachy (n=Lachlan@pat-tdc.opera.com) ("Leaving")
- # [11:39] * Joins: Lachy (n=Lachlan@pat-tdc.opera.com)
- # [11:42] * Joins: virtuelv (n=virtuelv@135.196.104.206)
- # [11:47] * Joins: BenMillard (n=cerbera@cpc1-flee1-0-0-cust285.glfd.cable.ntl.com)
- # [11:49] * BenMillard cringes at the "upgrading" article.
- # [11:49] * BenMillard is reminded of things he used to say about 3 years ago. :(
- # [11:57] * Quits: famicom (i=famicom@5ED2FF2D.cable.ziggo.nl) (Read error: 145 (Connection timed out))
- # [11:58] * Joins: famicom__ (i=famicom@5ED2FF2D.cable.ziggo.nl)
- # [12:06] * Joins: aaronaway (n=chatzill@e179059097.adsl.alicedsl.de)
- # [12:09] * Joins: sverrej (n=sverrej@pat-tdc.opera.com)
- # [12:20] * Quits: roc (n=roc@121-72-195-24.dsl.telstraclear.net)
- # [12:20] * Joins: gsnedders (n=gsnedder@nsabfw1.nsab.se)
- # [12:21] <gsnedders> heyhey
- # [12:24] <BenMillard> hey G
- # [12:25] <gsnedders> how's you?
- # [12:26] <BenMillard> oh I'm alright
- # [12:27] <BenMillard> been catching up on the logs
- # [12:29] <BenMillard> Philip`, I think ref.html would look a bit cleaner without the grey border-bottom.
- # [12:30] * gsnedders is on train going back home
- # [12:30] * gsnedders left his jacket on the train from Cambridge to Peterborough and thus is cold
- # [12:31] <BenMillard> Philip`, using <strong> to highlight the relevant part of samples is good. It seems correct for <html> and <base> but incorrect for both <title> examples.
- # [12:32] <zcorpan> BenMillard: i don't think Philip`is maintaining ref.html :)
- # [12:33] <gsnedders> zcorpan: Do you know off-hand how Document.gEBID should work on XML multi-namespace documents?
- # [12:33] <zcorpan> gsnedders: same as in html documents
- # [12:34] <gsnedders> zcorpan: Only match @id on an element in the HTML namespace, or @id on an element in any namespace?
- # [12:34] <BenMillard> zcorpan, oh right. I thought it was the early days of a side project/demo type thing.
- # [12:35] <zcorpan> gsnedders: web dom core just talks about "ID"
- # [12:35] <gsnedders> BenMillard: A lot of Philip`'s things are early demos but with little intention of being maintained :)
- # [12:35] <zcorpan> gsnedders: what "ID" means depends on if you support xml:id, xhtml5, svg, etc
- # [12:35] <gsnedders> zcorpan: Ergh. Yay. :\
- # [12:36] <zcorpan> (until someone sane comes along and defines XML ID 5)
- # [12:38] <gsnedders> Train wifi sucks.
- # [12:38] <gsnedders> Email won't send
- # [12:38] * Joins: aaronaway_ (n=chatzill@e179059097.adsl.alicedsl.de)
- # [12:39] * aaronaway_ is now known as aaronlev
- # [12:42] * Joins: myakura (n=myakura@p4200-ipbf2306marunouchi.tokyo.ocn.ne.jp)
- # [12:43] * Parts: BenMillard (n=cerbera@cpc1-flee1-0-0-cust285.glfd.cable.ntl.com)
- # [12:44] <gsnedders> wow!
- # [12:45] <gsnedders> 12KB/s!
- # [12:46] * gsnedders wonders if it'd be quicker to use the web on his phone
- # [12:48] <Lachy> zcorpan, what improvements would a hypothetical XML ID 5 spec include?
- # [12:48] * Quits: aaronaway (n=chatzill@e179059097.adsl.alicedsl.de) (Read error: 110 (Connection timed out))
- # [12:50] * Quits: famicom__ (i=famicom@5ED2FF2D.cable.ziggo.nl) ("Leaving")
- # [12:50] * Joins: famicom (i=famicom@5ED2FF2D.cable.ziggo.nl)
- # [12:52] <gsnedders> The wifi was quick for a minute (like 75KB/s quick), but now back to < 10
- # [12:56] <annevk5> zcorpan, it sort of makes sense if you define DOM ID and then have the respective specs define how they map to that
- # [13:03] <zcorpan> Lachy: it would make 'id' an ID attribute on any element and drop DTD ID and xml:id
- # [13:04] <zcorpan> annevk5: ok
- # [13:23] * Joins: karlcow (n=karl@modemcable168.84-81-70.mc.videotron.ca)
- # [13:32] <MikeSmith> zcorpan: build for my draft doc now strips out semicolon-less entity names from the giganto table -
- # [13:32] <MikeSmith> http://www.w3.org/html/wg/markup-spec/#named
- # [13:39] <zcorpan> MikeSmith: nice
- # [13:46] <annevk5> might be nice to have a link there to skip over the table given it's so huge
- # [13:47] * Quits: virtuelv (n=virtuelv@135.196.104.206) (Read error: 60 (Operation timed out))
- # [13:52] * Quits: gsnedders (n=gsnedder@nsabfw1.nsab.se) (Client Quit)
- # [14:00] <MikeSmith> annevk5: OK, added
- # [14:00] <MikeSmith> it says Skip past table to next section (References)
- # [14:07] <annevk5> i should probably not have gotten involved in that link relationship debacle
- # [14:07] <annevk5> I don't at all see evidence for all the complexity they are adding
- # [14:08] <annevk5> evidence that justifies the complexity*
- # [14:11] <MikeSmith> annevk5: extensibility? ...
- # [14:11] <MikeSmith> that oftens seems to be the rationale for complexity
- # [14:11] <zcorpan> html5 link rels can be extended through the wiki
- # [14:12] <annevk5> MikeSmith, where is evidence that we need URIs for extensibility?
- # [14:12] <annevk5> MikeSmith, it's not like there are millions of relationships going around currently
- # [14:13] <MikeSmith> annevk5: true
- # [14:13] <MikeSmith> I'm not defending the rationale.. just speculating for what it might be
- # [14:13] <annevk5> they are just making a silly feature we should probably remove (Link HTTP header) even more complex and making HTML and Atom more complex in the process
- # [14:13] <annevk5> i mean, wtf
- # [14:14] <annevk5> MikeSmith, link looks nice btw
- # [14:15] * Joins: gsnedders (n=gsnedder@nsabfw1.nsab.se)
- # [14:31] * Joins: svl (n=me@ip565744a7.direct-adsl.nl)
- # [14:36] * Quits: maikmerten (n=merten@ls5dhcp195.cs.uni-dortmund.de) (Read error: 110 (Connection timed out))
- # [14:40] <Philip`> BenMillard: Yeah, that grey border looks pretty weird
- # [14:40] <Philip`> BenMillard: For <title>, I think the point was to highlight the "contrast[...] with the top-level headers", hence highlighting the headers as well as the titles
- # [14:40] <Philip`> (Those examples came from the spec, I think)
- # [14:41] <Philip`> Then I got bored and nobody seemed to care a lot, so I gave up with it :-)
- # [14:44] <MikeSmith> OK, just for kicks: in the named-character-references table, I made all the names link to themselves
- # [14:44] <MikeSmith> e.g., http://www.w3.org/html/wg/markup-spec/#charref-clubsuit
- # [14:44] <MikeSmith> not sure how useful it is
- # [14:51] * Joins: virtuelv (n=virtuelv@135.196.104.206)
- # [14:55] * Quits: gsnedders (n=gsnedder@nsabfw1.nsab.se) (Read error: 104 (Connection reset by peer))
- # [14:57] * Joins: gsnedders (n=gsnedder@nsabfw1.nsab.se)
- # [15:06] * Quits: kangax_ (n=kangax@67.220.133.254)
- # [15:07] * Quits: gsnedders (n=gsnedder@nsabfw1.nsab.se) (Client Quit)
- # [15:09] * Quits: sverrej (n=sverrej@pat-tdc.opera.com) (Read error: 110 (Connection timed out))
- # [15:11] * Joins: smerp (n=smerp@66.192.95.199)
- # [15:14] * Joins: sverrej (n=sverrej@pat-tdc.opera.com)
- # [15:28] * Quits: tthorsen (n=tommy@home.kvaleberg.no) ("Leaving")
- # [15:31] * Joins: maikmerten (n=merten@ls5dhcp195.cs.uni-dortmund.de)
- # [15:32] <annevk5> http://q42.nl/q42-lego-logo anyone up for doing the WHATWG logo in lego?
- # [15:36] <Philip`> annevk5: It's circular, and circles are hard in Lego :-(
- # [15:38] <Philip`> Also it's green and white, which are fairly rare colours in Lego
- # [15:41] * Joins: cgriego (n=cgriego@72-254-175-184.client.stsn.net)
- # [15:41] <annevk5> I guess you don't read Dutch :)
- # [15:41] * Parts: cgriego (n=cgriego@72-254-175-184.client.stsn.net)
- # [15:42] <annevk5> The idea is that you design it on your computer (Sjoerd wrote some software to calculate which bricks were needed for the rounding) using some software from lego.com and then you can order the result
- # [15:46] <zcorpan> http://www.w3.org/Bugs/Public/show_bug.cgi?id=6296
- # [15:50] * Joins: tndH (n=Rob@james-baillie-pc083-058.student-halls.leeds.ac.uk)
- # [15:51] <Philip`> I emailed the online Lego store some years ago, asking for enough bricks to build a replica of the Earth
- # [15:52] <Philip`> (Their web-based ordering form was limited to 9,999 units, which was far too many orders of magnitude below what I needed)
- # [15:52] <Philip`> s/replica/life-sized replica/
- # [15:53] <Philip`> They were very nice and wrote back to me, though I can't quite remember what they said
- # [15:53] <Lachy> LOL
- # [15:55] <MikeSmith> OK, in the spirit of taking things to their logical extreme, I have a named-character table now with a 3rd column that shows the glyphs (or replacment char if you font doesn't have the glyph for whatever code point)
- # [15:55] <Lachy> http://www.theregister.co.uk/2008/12/04/toy_taliban/
- # [15:55] <MikeSmith> e.g., http://www.w3.org/html/wg/markup-spec/#charref-expectation
- # [15:56] <MikeSmith> that's a great name
- # [15:56] <MikeSmith> euitable for use in Emotion ML
- # [15:56] <Philip`> Surely that should be http://www.w3.org/html/wg/markup-spec/#charref-â„°
- # [15:57] <Philip`> Hmph, my IRC font doesn't like that character
- # [15:58] <Lachy> MikeSmith, for the authoring guide, I intend to use images of the glyphs instead of relying on people's fonts
- # [15:58] <MikeSmith> Lachy: yeah, that'll be better
- # [15:58] <Lachy> although the current chart I have for that doesn't use images yet
- # [15:58] <Lachy> I need to find a set of images with an appropriate copyright licence that I can use
- # [15:59] <annevk5> better to encourage people to fix issues than include workarounds, imo :)
- # [15:59] <Lachy> annevk5, there are other technical reasons to use images, even if people have the appropriate fonts
- # [15:59] <zcorpan> MikeSmith: s/Glyph/Character/ ?
- # [15:59] <Lachy> like ensuring that each glyph fits into the design properly, and doesn't overlap
- # [16:00] <MikeSmith> Lachy: zvon.org has some licenseable images
- # [16:00] <MikeSmith> mabye
- # [16:00] * zcorpan wouldn't want 2000 images to be loaded
- # [16:00] <zcorpan> how about using a web font that includes all the glyphs?
- # [16:00] <Lachy> annevk5, e.g. see fflig in http://dev.w3.org/html5/html-author/charref
- # [16:01] <Lachy> zcorpan, that might work
- # [16:01] <MikeSmith> I think those character refs should just be published as a separate doc
- # [16:01] <Philip`> Why would anyone want to use a character reference when their own computer can't display the character?
- # [16:02] <Philip`> It seems better for authors to be discouraged from using such characters at all
- # [16:02] <Lachy> Philip`, I guess some people find them easier to input, or for use with non-Unicode encodings
- # [16:03] <Lachy> Philip`, for most cases, I agree, but there are some legitimate cases where' they're useful, such as for non-breaking spaces
- # [16:03] * Joins: mstange (n=markus@buntes215.wohnheim.uni-kl.de)
- # [16:05] <MikeSmith> I don't think it's helpful at all to encourage authors to use named character references
- # [16:05] <MikeSmith> but we are kind of stuck with them now
- # [16:05] <MikeSmith> thanks to the MathML folks
- # [16:05] <Philip`> Lachy: I was meaning the characters themselves, not just the references to them
- # [16:05] <MikeSmith> giving names to every character under the sun
- # [16:06] <Philip`> (In particular, the characters which would cause problems when displayed in a character reference table because the author doesn't have glyphs for them)
- # [16:07] <Lachy> Philip`, there are some specialised use cases where such characters are useful for people, but for which your average user may not have all the characters available.
- # [16:07] <Lachy> e.g. a lot of those math related characters aren't available in default installs, but mathematicians could easily install them if needed
- # [16:10] * Quits: myakura (n=myakura@p4200-ipbf2306marunouchi.tokyo.ocn.ne.jp) ("Leaving...")
- # [16:18] * Joins: dglazkov (n=dglazkov@c-24-130-144-56.hsd1.ca.comcast.net)
- # [16:18] <MikeSmith> Lachy: so what do you think about publish that table as a standalone separate doc?
- # [16:19] <Lachy> MikeSmith, I was intending to just make it a separate page within the authoring guide
- # [16:19] <MikeSmith> or better yet, asking the MathML group to do it so other can just reference it
- # [16:20] <Lachy> well, actually, when it's finished, I'm hoping it will be more like an app that let's people search interactively
- # [16:20] <MikeSmith> Lachy: what you mention above makes me think even more strongly that most users don't need that info
- # [16:20] <MikeSmith> mostly it's a just for math
- # [16:20] <Lachy> why? There are other sections that will get their own pages too
- # [16:21] <zcorpan> maybe hide the mathml entities behind a checkbox
- # [16:21] <MikeSmith> Lachy: that list frankly doesn't seem to me like something worth putting a whole lot of time into.. e.g., not worth making in a searchable app thing
- # [16:21] <Lachy> zcorpan, there will be various filters that let people show and hide characters based on all sorts of categories
- # [16:21] <MikeSmith> we already got the searchable thing at zvon.org
- # [16:22] <MikeSmith> http://zvon.org/other/charSearch/PHP/search.php
- # [16:22] <MikeSmith> not sure what the benefit in reinventing that wheel would be
- # [16:22] <Philip`> It seems much more useful to have a general-purpose Unicode character searching tool, which might happen to tell you the HTML entity or maybe some other tool does a simple number->name lookup, rather than making a clever specialised tool just for HTML entities
- # [16:23] <MikeSmith> http://zvon.org/other/charSearch/PHP/search.php?request=8496&searchType=2
- # [16:23] <MikeSmith> Philip`: what you describe seems like just what the zvon tool does already
- # [16:26] <MikeSmith> anyway, the more I think about it, the more it seems to me that properly the MathML WG should be the ones to produce a normative list of those things
- # [16:26] <MikeSmith> I mean, the only reason we need most of those is because of the requirement to allow MathML in text/html, right?
- # [16:27] <zcorpan> right
- # [16:28] <Lachy> yeah, but it makes sense for the authoring guide to at least provide some information about them
- # [16:29] <MikeSmith> Lachy: yeah, but the authoring guide could just reference whatever document the MathML WG produced
- # [16:30] * Joins: kangax (n=kangax@74.201.136.194)
- # [16:31] <Lachy> MikeSmith, the MathML specs are notoriously hard to find information about the charcter references in
- # [16:32] <MikeSmith> Lachy: i guess they could solve that problem by publishing a standalone doc with the list themselves
- # [16:32] <MikeSmith> maybe nobody's suggested yet that they do it
- # [16:32] <Lachy> but if they do produce a user friendly document, then I could. But until that happens, I see no reason to drop it from the guide
- # [16:33] <MikeSmith> OK, I'll shut up about it.. in the mean time, I guess I'll suggest it to them and see where we get
- # [16:33] <Lachy> but I still don't see why you want to keep this information so separate anyway. What problem are you trying to solve by removing them from the authoring guide?
- # [16:34] <MikeSmith> Lachy: the problem of having a giganto table in there with information that only a small percentage of users will probably have any use for
- # [16:35] <MikeSmith> .. or the problem of it appearing to encourage authors to use gazillions of named character references in their docs
- # [16:35] <hallvors> Dr. MikeSmith sets out to cure featuritis :)
- # [16:35] <Philip`> It's the same problem that would be solved by removing the complete works of Shakespeare from the authoring guide, if the works were in there in the first place - they're a waste of space for most of the audience, and make it harder to download or read or print out or anything
- # [16:36] <MikeSmith> hallvors: I learned about the problems of featuritis from one of my previous jobs :)
- # [16:36] <Lachy> it won't encourage them, because I intend to have a section in there that discusses the use of unicode encodings for their documents and explain why they should use the real characters instead of the references
- # [16:36] <MikeSmith> Lachy: they'll skip right past your words and go to the pretty pictures
- # [16:36] <MikeSmith> I would, at least
- # [16:37] <Philip`> Lachy: The probability of a reader reading the giganto table (and getting the wrong impression from it) seems much higher than the chance of them reading one particular paragraph that tells them to not use the table
- # [16:37] <MikeSmith> I know Rob Tyner of the MC5 probably would skip the words and go for the pictures also
- # [16:37] * MikeSmith raises his Goblet of Rock to the MC5
- # [16:37] <Lachy> I don't know who Rob Tyner is
- # [16:37] <Lachy> or what MC5 is
- # [16:37] <MikeSmith> Lachy: educate yourself, brother
- # [16:37] <Philip`> It's the precursor to MD5
- # [16:37] <MikeSmith> heh
- # [16:38] <MikeSmith> Philip`: don't blaspheme
- # [16:38] <Philip`> Rob Tyner is a world-renowed cryptologist
- # [16:38] * Joins: erlehmann (n=erlehman@dslb-088-075-193-149.pools.arcor-ip.net)
- # [16:38] <Lachy> :-D
- # [16:38] <Philip`> *renowned
- # [16:40] <MikeSmith> renow is something you do when you when you forget something, then remember it. but just without the "k"
- # [16:41] <MikeSmith> "renow" is an abbreviation for "reknow" in that way.. as "whatcha" is an abbreviation for "what are you"
- # [16:41] * zcorpan discovers that safari can play and pause animated gifs in <video>, and resizes the video to something when loading in the ahem ttf font
- # [16:41] <Philip`> How can you remember something unless you've already membered it?
- # [16:42] * MikeSmith writes that one down
- # [16:42] <zcorpan> safari can also play a .bmp in <audio>
- # [16:42] <MikeSmith> "member" is a good word in a lot of ways
- # [16:43] <Philip`> zcorpan: Can you pass a .txt into <audio> and get text-to-speech from it?
- # [16:43] <zcorpan> Philip`: no
- # [16:43] * Quits: erlehmann (n=erlehman@dslb-088-075-193-149.pools.arcor-ip.net) ("Ex-Chat")
- # [16:44] <Philip`> zcorpan: That's a shame
- # [16:44] * Joins: Mustafa51 (n=mustafa@122.164.156.144)
- # [16:44] <hallvors> zcorpan: we should implement that :-)
- # [16:44] <Lachy> Philip`, you could if there were a codec available that did that
- # [16:45] <zcorpan> hallvors: seems better to just load the .txt in a browsing context and hit v
- # [16:47] <Philip`> zcorpan: That doesn't work for e.g. interactive games which want to speak to you
- # [16:49] <zcorpan> Philip`: true. but we have X+V for that, i think
- # [16:49] * MikeSmith finds http://www.w3.org/TR/MathML2/byalpha.html
- # [16:49] * Joins: eric_carlson (n=ericc@adsl-67-112-12-110.dsl.anhm01.pacbell.net)
- # [16:53] <jgraham> fwiw authouring math without named characters would be even more nightmarish than it is with them
- # [16:54] <MikeSmith> jgraham: very glad I don't have to do it, then
- # [16:54] <MikeSmith> jgraham: are there not tools that allow you to select them from a menu?
- # [16:55] <MikeSmith> I mean, you can set up even Emacs to do stuff like that
- # [16:55] <Philip`> When you're writing a page full of equations, you really don't want to be selecting each character from a menu
- # [16:55] <Philip`> Also you can't even read the characters, because they all look the same when they're in a little font on the screen
- # [16:56] <Lachy> editors should just allow users to insert characters with keyboard shortcuts
- # [16:56] <jgraham> Lachy: The problem is remembering the keyboard shortcut for integral is harder tahn remembering ∫ or whatever
- # [16:57] <Dashiva> Use a postprocessor that lets you write entities and replaces them with characters?
- # [16:57] <jgraham> Dashiva: That counts as "even harder"
- # [16:58] <jgraham> (since in that case you could just use a preprocessor that lets you write something that looks like TeX and outputs mathml
- # [16:58] <jgraham> )
- # [16:58] * Quits: maikmerten (n=merten@ls5dhcp195.cs.uni-dortmund.de) (Remote closed the connection)
- # [16:58] <Lachy> jgraham, the keyboard shortcut should be something that brings up a special input, where you start typing part of it's name, and it offers you a selection of matching characters to insert
- # [16:58] <zcorpan> wouldn't a sane author write something like TeX anyway?
- # [16:58] <Lachy> like an autocomplete system
- # [16:59] <jgraham> Lachy: Well I guess that might work but there are rather a lot of editors that are good at ascii input and rather few that implement the functionaility you describe
- # [16:59] <jgraham> So it suffers from being a "tools will save us" argument
- # [16:59] <Philip`> It's impossible to visually distinguish ∲foo from ∳foo when you're editing your document source, whereas it's easy to distinguish ∲foo from ∳foo
- # [17:00] <jgraham> zcorpan: Yes.
- # [17:01] <MikeSmith> and now I come across http://www.w3.org/TR/xml-entity-names/
- # [17:01] <jgraham> (but that is not always possible particularly if you care what the markup looks like in the end)
- # [17:01] <MikeSmith> and now wondering why the above doc has not progressed beyond WD
- # [17:02] <MikeSmith> http://www.w3.org/TR/2007/WD-xml-entity-names-20071214/byalpha.html
- # [17:03] <MikeSmith> good enough for me
- # [17:03] * Quits: Maurice (n=ano@a80-101-46-164.adsl.xs4all.nl) ("Disconnected...")
- # [17:04] <zcorpan> MikeSmith: doesn't contain AMP;
- # [17:05] <MikeSmith> zcorpan: so where did AMP; come from?
- # [17:05] <MikeSmith> something that's supported in browsers but not spec'ed?
- # [17:06] <zcorpan> MikeSmith: it's in the html5 spec
- # [17:07] <MikeSmith> zcorpan: but it's not something we want authors to actually use, right?
- # [17:07] <MikeSmith> just something that browsers need to support?
- # [17:07] <zcorpan> MikeSmith: it's conforming html5
- # [17:08] <MikeSmith> zcorpan: so maybe it shouldn't be
- # [17:08] <zcorpan> MikeSmith: fine by me. convince Hixie :)
- # [17:08] <MikeSmith> as far a document-conformance goes
- # [17:09] * zcorpan learns about &debug=1 in validator.w3.org
- # [17:10] * Quits: dglazkov (n=dglazkov@c-24-130-144-56.hsd1.ca.comcast.net)
- # [17:10] <Philip`> I thought http://svn.whatwg.org/webapps/entities-unicode.inc was generated from some XML data provided as part of xml-entity-names
- # [17:10] <Philip`> (which includes AMP;)
- # [17:11] * Quits: hallvors (n=hallvord@pat-tdc.opera.com) (Read error: 110 (Connection timed out))
- # [17:11] <Philip`> (but I may be wrong)
- # [17:13] <MikeSmith> Philip`: would be interesting to find out
- # [17:13] <MikeSmith> in the mean time, i'm dis-membering that table from my draft at least
- # [17:15] <annevk5> yeah, the XML guys included &
- # [17:15] <MikeSmith> annevk5: it doesn't appear to the in the version above
- # [17:15] <MikeSmith> is it maybe in an editor's draft?
- # [17:16] <MikeSmith> I seem to re-member now somebody posting a URL to one of their EDs a while back
- # [17:17] <annevk5> it's part of http://www.w3.org/2003/entities/2007xml/unicode.xml
- # [17:17] <annevk5> linked from http://www.w3.org/TR/xml-entity-names/#source
- # [17:18] <annevk5> your version is at least 6 months old anyway
- # [17:21] <MikeSmith> annevk5: OK
- # [17:29] * Joins: gsnedders (n=gsnedder@host86-148-25-197.range86-148.btcentralplus.com)
- # [17:35] * Joins: aroben (n=adamrobe@17.244.16.238)
- # [17:35] * Quits: aroben (n=adamrobe@unaffiliated/aroben) (Read error: 54 (Connection reset by peer))
- # [17:36] * zcorpan has now filed 1 bug and 2 enh req on validator.w3.org
- # [17:36] * Joins: aroben (n=adamrobe@17.244.16.238)
- # [17:40] * Joins: billmason (n=bmason@ip49.unival.com)
- # [17:43] * Joins: dglazkov (n=dglazkov@nat/google/x-822093d85477b02a)
- # [17:44] <zcorpan> hsivonen: i guess you may find this interesting http://www.w3.org/Bugs/Public/show_bug.cgi?id=6296
- # [17:49] <annevk5> at some point we should just obsolete HTML 1-4 and require them to be parsed like HTML5
- # [17:51] <zcorpan> annevk5: html5 allows validators to use legacy validation for legacy doctypes
- # [17:51] <MikeSmith> zcorpan: is the lack of AMP; QUOT; etc. the only difference you notice between the list in that MathML WG WD and the list that's in the HTML5 spec?
- # [17:52] <MikeSmith> I notice the unicode.xml file has all of those in a "html5-uppercase" set
- # [17:52] <zcorpan> MikeSmith: it was the only thing i looked for, so yes :)
- # [17:52] * Quits: blooberry (n=brian@c-76-126-199-19.hsd1.ca.comcast.net)
- # [17:52] <MikeSmith> OK
- # [17:57] * Quits: zcorpan (n=zcorpan@pat.se.opera.com)
- # [17:58] * Quits: ap (n=ap@195.239.126.10)
- # [17:59] * Quits: dglazkov (n=dglazkov@nat/google/x-822093d85477b02a)
- # [18:01] * Joins: ap (n=ap@195.239.126.10)
- # [18:03] * Joins: dglazkov (n=dglazkov@nat/google/x-ce7de855f82dd4a7)
- # [18:09] * Joins: Maurice (i=copyman@5ED548D4.cable.ziggo.nl)
- # [18:12] * Joins: ojan (n=ojan@72.14.229.81)
- # [18:15] * Quits: aaronlev (n=chatzill@e179059097.adsl.alicedsl.de) ("ChatZilla 0.9.84-rdmsoft [XULRunner 1.9.0.1/2008072406]")
- # [18:16] * Quits: danbri (n=danbri@unaffiliated/danbri) (Excess Flood)
- # [18:18] * Joins: danbri (n=danbri@ip565f6edb.direct-adsl.nl)
- # [18:18] * Quits: pesla (n=retep@procurios.xs4all.nl) (Read error: 54 (Connection reset by peer))
- # [18:31] <MikeSmith> fyi, David Carlisle just updated the "XML Entity definitions for Characters" draft
- # [18:32] <MikeSmith> http://www.w3.org/2003/entities/2007doc/overview.html#sets
- # [18:32] <MikeSmith> http://www.w3.org/2003/entities/2007doc/html5-uppercase.html
- # [18:33] <MikeSmith> http://www.w3.org/2003/entities/2007doc/html5-uppercase.html
- # [18:33] <MikeSmith> http://www.w3.org/2003/entities/2007doc/byalpha.html
- # [18:34] <MikeSmith> the MathML guys rock
- # [18:35] * Quits: virtuelv (n=virtuelv@135.196.104.206) (Read error: 60 (Operation timed out))
- # [18:40] * Quits: Lachy (n=Lachlan@pat-tdc.opera.com) ("This computer has gone to sleep")
- # [18:48] * Joins: epeus (n=KevinMar@72.14.224.1)
- # [18:50] * Quits: KevinMarks (n=KevinMar@c-98-207-134-151.hsd1.ca.comcast.net) (Nick collision from services.)
- # [18:52] * Joins: tantek (n=tantek@adsl-63-195-114-133.dsl.snfc21.pacbell.net)
- # [18:54] * Quits: dave_levin_ (n=dave_lev@72.14.224.1)
- # [18:55] * epeus is now known as KevinMarks
- # [18:59] * Joins: Lachy (n=Lachlan@85.196.122.246)
- # [19:06] * Quits: weinig (n=weinig@c-69-181-81-233.hsd1.ca.comcast.net)
- # [19:06] * Joins: epeus (n=KevinMar@c-98-207-134-151.hsd1.ca.comcast.net)
- # [19:07] * Quits: KevinMarks (n=KevinMar@72.14.224.1) (Nick collision from services.)
- # [19:15] <hsivonen> Hixie: I now see what you might have meant when you asked what about <script> in speculative tokenization
- # [19:16] <hsivonen> so yeah, speculating past <svg> or <math> is a problem
- # [19:19] * Quits: aroben (n=adamrobe@unaffiliated/aroben)
- # [19:21] * epeus is now known as KevinMarks
- # [19:24] * Quits: starjive (i=beos@213-66-217-32-no30.tbcn.telia.com)
- # [19:27] * Joins: dave_levin (n=dave_lev@72.14.227.1)
- # [19:28] * fishd_ is now known as fishd
- # [19:38] * Joins: dimich (n=dimich@72.14.227.1)
- # [19:42] * Quits: sverrej (n=sverrej@pat-tdc.opera.com) (Read error: 110 (Connection timed out))
- # [20:00] * Quits: dolske (n=dolske@firefox/developer/dolske)
- # [20:01] * Joins: aroben (n=adamrobe@17.244.16.238)
- # [20:08] * Joins: ap_ (n=ap@195.239.126.12)
- # [20:08] * Joins: yecril71 (n=giecrilj@piekna-gts.2a.pl)
- # [20:09] <yecril71> I would like to remind that the whole problem with duplicated identifiers
- # [20:09] <yecril71> has been caused by using identifier references in table attributes.
- # [20:09] <yecril71> Replacing an identifier with a class name is not the way to go,
- # [20:10] <yecril71> unless the algorithm for resolving such references changes as well.
- # [20:10] <yecril71> But it looks like a misuse.
- # [20:11] * Quits: aroben (n=adamrobe@unaffiliated/aroben)
- # [20:11] <yecril71> Classes are not ‘Look, it’s there!’ things.
- # [20:11] <yecril71> quot, amp and apos entities are all in the XML specification.
- # [20:12] <yecril71> There is no need for MathML to reproduce them.
- # [20:13] <yecril71> The logo WHATWG logo is a nologo.
- # [20:13] <yecril71> Instead of building it using LEGO, one should rather make a better one.
- # [20:15] * Joins: weinig (n=weinig@nat/apple/x-c2e21c42ce215649)
- # [20:17] * Joins: hober (n=ted@unaffiliated/hober)
- # [20:21] * Quits: mstange (n=markus@buntes215.wohnheim.uni-kl.de) ("ChatZilla 0.9.84 [Firefox 3.2a1pre/20081209020409]")
- # [20:25] * Quits: ap (n=ap@195.239.126.10) (Read error: 110 (Connection timed out))
- # [20:27] * Quits: jwalden (n=waldo@c-67-180-39-55.hsd1.ca.comcast.net) ("ChatZilla 0.9.82.1-rdmsoft [XULRunner 1.8.0.9/2006120508]")
- # [20:28] * Quits: weinig (n=weinig@nat/apple/x-c2e21c42ce215649) (Remote closed the connection)
- # [20:29] * Joins: weinig (n=weinig@nat/apple/x-815b5cf13fd8652f)
- # [20:34] * Quits: smerp (n=smerp@66.192.95.199) ("Jesus Built My Workstation")
- # [20:34] * Joins: smerp (n=smerp@66.192.95.199)
- # [20:34] * Parts: smerp (n=smerp@66.192.95.199)
- # [20:34] * ap_ is now known as ap
- # [20:38] * Quits: weinig (n=weinig@nat/apple/x-815b5cf13fd8652f)
- # [20:45] * Quits: KevinMarks (n=KevinMar@c-98-207-134-151.hsd1.ca.comcast.net) ("The computer fell asleep")
- # [20:49] * Joins: dolske (n=dolske@corp-241.mountainview.mozilla.com)
- # [20:51] * Joins: jwalden (n=waldo@corp-241.mountainview.mozilla.com)
- # [20:52] * Joins: weinig (n=weinig@nat/apple/x-1e4ea71e3d7a3c54)
- # [20:56] * Joins: kingryan (n=ryan@adsl-99-50-23-198.dsl.pltn13.sbcglobal.net)
- # [20:59] * Quits: Mustafa51 (n=mustafa@122.164.156.144) (Read error: 104 (Connection reset by peer))
- # [21:04] * Joins: Mustafa51 (n=mustafa@122.164.156.139)
- # [21:12] * Joins: dbaron (n=dbaron@corp-241.mountainview.mozilla.com)
- # [21:17] * Joins: roc (n=roc@202.0.36.64)
- # [21:23] * Joins: avandenhoven (n=avandenh@64.114.102.2)
- # [21:23] <avandenhoven> Quick question.
- # [21:24] <avandenhoven> Does anyone know if there is a companion to the <noscript> tag.
- # [21:24] * Philip` wonders why the Microsoft Connect site is so unbearably slow
- # [21:24] <Philip`> avandenhoven: Uh, like <script>?
- # [21:24] <avandenhoven> I don't mean the <script> tag per se. I mean tag that will render its TEXT contents if scripting is enabled.
- # [21:25] <avandenhoven> Often times we do all sorts of things to avoid the flash of unstyled (or wrongly styled) text that one sees if you're doing one thing when you have script and another when you dont.
- # [21:26] <avandenhoven> often we'll write a script class name to the html or body tag and hang style off that class.
- # [21:26] <avandenhoven> but there is that instant in which you have no script stles.
- # [21:26] <avandenhoven> er styles.
- # [21:26] <avandenhoven> it occured to me the other day that you can do <noscript><link rel="stylesheet"..." /></noscript> and that should work
- # [21:27] <avandenhoven> but why not also have <yesscript><link rel="stylesheet" href="myscriptedstyle.css" /></yesscript>
- # [21:27] <Philip`> What are the problems with <script>document.write('text contents')</script> or <script>document.write('<style>#foo{display:inherit !important}<\/style>')</script><div id=foo style=display:none>text contents</div> or something along those lines?
- # [21:28] <avandenhoven> Does that not totally creep people out?
- # [21:28] <Philip`> It doesn't creep me out :-)
- # [21:29] <avandenhoven> it should.
- # [21:29] <Philip`> (You could do it with DOM manipulation if you're opposed to document.write)
- # [21:29] <avandenhoven> I realize that there are JS ways to write content.
- # [21:29] <avandenhoven> its inherently obtrusive.
- # [21:29] <yecril71> I would suggest hiding the content using CSS and revealing it from script.
- # [21:30] <avandenhoven> Again, I realize that there are ways to do this now. I'm suggesting that an improvement would be to find a way to do it without resorting to JavaScript.
- # [21:30] <yecril71> By clearing the class attribute.
- # [21:30] * ojan is now known as ojanlunch
- # [21:31] <yecril71> Why exactly would that be an improvement?
- # [21:31] <avandenhoven> Easier to read.
- # [21:31] <Philip`> avandenhoven: <noscript>/<yesscript> seem inherently obtrusive too, since they're explicitly encoding script-related issues into the markup
- # [21:31] <yecril71> div[class="ifscript"] is easy to read.
- # [21:32] <avandenhoven> using <yesscript> (aside from its stupid name) is obtrusive but it also means that you don't need to translate the thing you want to include into JavaScript.
- # [21:33] <yecril71> But you do not, do you?
- # [21:33] <avandenhoven> Converting HTML or CSS into JavaScript is fine if its a one off, "I'm hacking my own site" kinda thinkg
- # [21:33] <yecril71> There is no need to include it into the script code.
- # [21:33] <avandenhoven> but if you're building something with a CMS, then you have to do something different.
- # [21:34] <avandenhoven> An arbitrary block of HTML or CSS is not guaranteed to make sense if you wrap it in a document.write('...');
- # [21:34] <yecril71> Just say DIV.ifscript { DISPLAY:NONE } and you are done.
- # [21:35] <yecril71> You should never ever document.write, yep.
- # [21:35] <Philip`> avandenhoven: I think I'd have to agree that document.write('all the content') is not the best idea if you have a lot of content
- # [21:36] <avandenhoven> Another problem with relying on JavaScript to change things is timing.
- # [21:36] <yecril71> That means?
- # [21:36] <avandenhoven> I can't type fast enough and think coherently... give me a sec
- # [21:36] <avandenhoven> :)
- # [21:37] <yecril71> Well, this may be called a problem with timing, yes :-)
- # [21:37] <avandenhoven> Except in a handcoded, static site, you are going to want to do do things together.
- # [21:37] <avandenhoven> usually bootstrapping all your ajaxy widgets and what have you comes on DOM load.
- # [21:38] <yecril71> Bootstrapping?
- # [21:38] <avandenhoven> Adding JS to markup to make to do pretty things.
- # [21:38] <yecril71> This is not bootstrapping.
- # [21:38] <avandenhoven> that's what I call it. Sorry.
- # [21:38] <yecril71> Bootstrapping is when you want to compile Scheme.
- # [21:39] <avandenhoven> I'm pretty sure I never want to compile scheme :)
- # [21:39] <yecril71> Because you usually use Scheme to compile Scheme, you are pretty much stuck :-)
- # [21:39] <avandenhoven> anyways. if you do things "all at once" you're going to want to tend to put add your "isScripted" or what ever class onDomLoad with the rest of your JavaScript.
- # [21:40] <avandenhoven> Now you've suddenly changed what the user sees mid way through.
- # [21:40] <yecril71> I think the elements should be .ifscript at the beginning, and the script should clear that afterwards.
- # [21:41] <avandenhoven> Either way, the JS people are going to see the unscripted view until dom load.
- # [21:41] <yecril71> You can say onload="show()" to get them ASAP.
- # [21:42] <avandenhoven> onLoad happens after onDomReady.
- # [21:42] <yecril71> You mean window.onLoad or element.onLoad?
- # [21:42] <Philip`> avandenhoven: Isn't it easy enough to simply modify your script so the single line of code that sets the isScripted class will be executed immediately when the script is loaded?
- # [21:43] <yecril71> The script should clear .ifscript, not set it.
- # [21:43] <avandenhoven> clear or set, has no real difference, except in the selectors.
- # [21:43] <yecril71> No real difference but easier to follow if everyone sees the same picture though.
- # [21:44] <avandenhoven> yes you could put a script immediately after the opening body tag. But that still doesn't elminate the need for
- # [21:44] <avandenhoven> <script type="text/javascript">document.write("<li class=\"item0\"><a href=\"#\" onClick=\"window.print()\" onKeyPress=\"window.print()\" />Print Map & Results</a></li>");</script>
- # [21:44] <yecril71> What whas that for?
- # [21:44] <yecril71> You cannot have "</" in a script block.
- # [21:44] <avandenhoven> it makes a link that fires the print dialog.
- # [21:45] <avandenhoven> not necessary per se, but my clients like it.
- # [21:45] <yecril71> Why not put it directly into HTML?
- # [21:45] <avandenhoven> why pollute the DOM with elements that are not valuable unless you have JavaScript.
- # [21:46] <yecril71> What is in the DOM is pretty irrelevant where there is no script.
- # [21:46] <yecril71> There could be no DOM whatsoever in such an environment.
- # [21:47] <avandenhoven> Hmm.
- # [21:47] <avandenhoven> maybe I should rethink the logic of some of the code that has been handed down through the aeons.
- # [21:48] <yecril71> And clean things up for Christmas.
- # [21:48] <avandenhoven> you have no idea what you're asking.
- # [21:49] <avandenhoven> We do an integrated online banking/corporate website platform for canadian Credit unions.
- # [21:49] <yecril71> Augian stables?
- # [21:49] <avandenhoven> I should be so lucky.
- # [21:49] <yecril71> Need help?
- # [21:50] <avandenhoven> try adding a slave master who doesn't want to change anything becuase its stable.
- # [21:50] <gsnedders> yecril71: But layout and (from that) rendering is done from the DOM, so it is still relevant when there is no script
- # [21:50] <yecril71> But DISPLAY:NONE has no effect on rendering.
- # [21:51] <gsnedders> if CSS isn't enabled, then that's true
- # [21:52] <avandenhoven> He means that if you display none the elements you don't want to show when javascript is disabled, you can insert what ever you want.
- # [21:52] <avandenhoven> to be really general though (the thing you need when you have complex systems like this) is a class on the body or HTML element and a class on the individual elements. lets you do:
- # [21:53] <avandenhoven> .noScript .scriptOnly {display:none;}
- # [21:53] <yecril71> If CSS is not enabled, I would just DISPLAY:NONE a warning message: no script? not for you, pal!
- # [21:54] <yecril71> This may cause minor problems to users with no CSS, yes.
- # [21:54] <avandenhoven> ick. No CSS and JavaScript?
- # [21:55] <avandenhoven> you're on your own buddy.
- # [21:55] <avandenhoven> that is CSS disabled and JavaScript enabled.
- # [21:55] <yecril71> It seems like a very unexpected setup to me.
- # [21:56] <yecril71> Do you think it should be supported?
- # [21:56] <avandenhoven> yecril71: as it turns out, my team (we have 30+ java developers and 9 web developers, I'm with the web dev team) is looking for a web developer in the next little while.
- # [21:56] <avandenhoven> CSS disabled and JavaScript enabled? I don't think you can do anything too reasonable.
- # [21:57] <avandenhoven> Except make sure your markup works well with out CSS and have your JS bail at the first opportunity.
- # [21:58] <yecril71> Do you think JS-CSS is a valid target for your application?
- # [21:59] <avandenhoven> you mean using JS to write the css. I remember looking at that way back in the day and it struck me as being sub optimal.
- # [21:59] <yecril71> I mean JS enabled, CSS disabled.
- # [22:00] * Quits: ROBOd (n=robod@89.122.216.38) ("http://www.robodesign.ro")
- # [22:00] <avandenhoven> oh that.
- # [22:00] <avandenhoven> I don't think so.
- # [22:00] <yecril71> And what about -JS-CSS?
- # [22:01] <avandenhoven> Sure.
- # [22:01] <avandenhoven> We always make sure that you can use our sites with lynx. I find it makes it more likely that screen readers will not choke.
- # [22:02] <avandenhoven> We don't worry about it too much but we do think about it.
- # [22:02] <avandenhoven> Its not pretty but it is functional.
- # [22:02] <yecril71> I thought Lynx should support display:none at least.
- # [22:02] <yecril71> Doesn’t it?
- # [22:02] <krijnh> It doesn't
- # [22:03] <yecril71> Ouch.
- # [22:03] <yecril71> Then it seems you have to use irrelevant instead.
- # [22:03] <yecril71> (which Lynx does not support either, but it is an HTML5 chat after all)
- # [22:04] <krijnh> avandenhoven: I totally get your problem, hard to solve :)
- # [22:05] <yecril71> Or just say "Please ignore the following message, it is not for you"
- # [22:05] <krijnh> We get thought unobtrusive scripting is the way to go, even though that creates a suboptimal experience for like 95% of your users :)
- # [22:07] <yecril71> OTOH, short of document.write, you could use a JSON representation of the node to be inserted
- # [22:07] <yecril71> and have a library function insert it for you.
- # [22:08] <yecril71> Because even if yesscript were defined, Lynx would probably not support it anyway.
- # [22:08] <yecril71> So the solution would not solve anything.
- # [22:09] <Philip`> krijnh: That's not a hard problem to solve - you just have to ignore what everyone is telling you to do :-)
- # [22:09] <yecril71> It would be easier to get Lynx to honour DISPLAY:NONE.
- # [22:10] <Philip`> yecril71: That would involve Lynx getting a complete CSS implementation, which is not trivial
- # [22:10] <krijnh> Philip`: well, document.write and inline event handlers don't solve it all either :)
- # [22:11] * Joins: jruderman (n=jruderma@corp-241.mountainview.mozilla.com)
- # [22:11] <yecril71> A CSS implementation limited to DISPLAY:NONE is not a complete implementation
- # [22:11] <yecril71> and that is the only thing that is needed
- # [22:12] <krijnh> That would totally suck
- # [22:12] <krijnh> ul ul { display: none; } ul li:hover ul { display: block; }
- # [22:12] <krijnh> Go Lynx :)
- # [22:13] <yecril71> That sux anyway
- # [22:13] <krijnh> I knew it
- # [22:13] <yecril71> Lynx or not lynx
- # [22:15] <Philip`> yecril71: It would still need all the selectors (and hence a tree model of the document) and the cascading rules, and media types and so on, even if it then ignores all but one of the properties
- # [22:16] <yecril71> Doesn’t W3C have a reference implementation for that?
- # [22:16] <krijnh> yecril71: btw, Opera makes that less sucky (and afaik the only browser that does :hover states when keyboard navigating)
- # [22:17] <avandenhoven> Sorry, i had to get back to "real" work for a bit. :)
- # [22:17] <Philip`> yecril71: Not that I'm aware of, and reference implementations probably aren't the kind of thing you'd want to ship in a browser anyway
- # [22:18] <avandenhoven> Adding something like "yesscript" isn't going to work retroactively. That's fine.
- # [22:18] <avandenhoven> I wonder if
- # [22:18] <avandenhoven> <script type="text/html"> would be the way to go.
- # [22:18] <krijnh> That does work already
- # [22:18] <avandenhoven> really?
- # [22:19] <avandenhoven> you're saying that if I put <script type="text/html"><h1>You have script enabled</h1></script> I'll actually have what I think I should have?
- # [22:19] <krijnh> Didn't JohnResig write something about that?
- # [22:20] <krijnh> http://ejohn.org/blog/javascript-micro-templating/
- # [22:22] <avandenhoven> Ah that's different but very cool.
- # [22:22] <Philip`> avandenhoven: All browsers should parse the content of that <script> as a single text node, and then (if they support scripting) do nothing with it because it's an unknown type, or else (if they don't support scripting) do nothing with it
- # [22:23] <Philip`> so you'd never see that text, unless you have some extra scripts that extract the contents and insert them as HTML somewhere else in the document
- # [22:23] <krijnh> Doh, that's different indeed :)
- # [22:23] <avandenhoven> I was thinking along the lines of: http://gist.github.com/34491
- # [22:24] <avandenhoven> I was hoping the style there would be unnecessary.
- # [22:24] <avandenhoven> Either way, when you have JS disabled, you see both messages.
- # [22:25] <krijnh> document.write('<body class=js-enabled>'); works good enough for styling now
- # [22:25] <avandenhoven> I would never write out a body tag like that.
- # [22:25] <krijnh> Why not?
- # [22:25] <avandenhoven> i'm pretty sure the source wouldn't validate.
- # [22:26] <krijnh> Why not?
- # [22:26] <avandenhoven> because I'm pretty sure validators don't run JS before validating
- # [22:26] <krijnh> They don't need to
- # [22:26] <krijnh> The body tag isn't mandatory
- # [22:26] <krijnh> http://html5.validator.nu/?doc=http://www.youngprofessionaloftheyear.nl/ (don't mind the iframe)
- # [22:27] <yecril71> The problem to solve is what to do with no CSS.
- # [22:29] <yecril71> Now that Philip` busted my attempt to enhance Lynx, I think @irrelevant is the way to go.
- # [22:29] <avandenhoven> either way, I require that a file that opens a tag also closes it (for instance if you're using SSI or a some CMS system... we literally have dozens of includes in any given generated page).
- # [22:29] <Philip`> yecril71: (I think it's called 'hidden' now, not 'irrelevant')
- # [22:29] <yecril71> Thanks, memorized.
- # [22:30] <avandenhoven> I'll look at the irrelevant/hidden attributes.
- # [22:30] <avandenhoven> Thanks for the useful discussion. I
- # [22:30] <krijnh> avandenhoven: HTML doesn't require it though..
- # [22:30] <Philip`> <body><script>document.body.className = 'js'<script> might look nicer than optionally writing <body>
- # [22:31] <Philip`> s//\//
- # [22:31] <krijnh> So much nicer :)
- # [22:31] <avandenhoven> krijnh: No, but if I want to keep my code quality up, I do (I have 30 develoeprs who aren't HTML saavy).
- # [22:31] <avandenhoven> Philip: yeah that's what I would have to do.
- # [22:31] * Quits: ap (n=ap@195.239.126.12)
- # [22:31] <yecril71> In spite of them, you can closeTag("body") at the end.
- # [22:32] <yecril71> So that the code markup can balance.
- # [22:32] <yecril71> But body opened and not closed is all right as well.
- # [22:32] <avandenhoven> I'm of the kindergarden school of web development.
- # [22:32] <avandenhoven> If you open it close it.
- # [22:32] <krijnh> Agreed, especially if you work with others
- # [22:33] <avandenhoven> I know HTML doesn't require it but I find that it avoids trouble.
- # [22:33] <yecril71> Like </br >? :-)
- # [22:33] * Joins: aroben (n=adamrobe@17.244.18.41)
- # [22:33] <avandenhoven> no <br />
- # [22:33] <avandenhoven> that's closed.
- # [22:33] <avandenhoven> <img />
- # [22:33] <avandenhoven> that too.
- # [22:33] <yecril71> It is XHTML, not HTML.
- # [22:33] <krijnh> *sigh*
- # [22:33] <krijnh> It is HTML5
- # [22:33] <Philip`> It is Real World HTML
- # [22:33] <yecril71> In HTML, it is <BR >>
- # [22:34] <avandenhoven> that lack of closing for empty tags is a hold over of SGML that was, IMHO, a mistake.
- # [22:34] <yecril71> It is a manifestation of Occam razor.
- # [22:35] <avandenhoven> Until you start making tag soup.
- # [22:35] <avandenhoven> which is what HTML5 in current browsers really is.
- # [22:35] <Dashiva> It's only tag soup if you want it to be
- # [22:36] <yecril71> <br /> in HTML4 is tag soup
- # [22:36] <avandenhoven> what is the model for <body> <section><p></body> if you aren't an HTML5 browser?
- # [22:36] <yecril71> <body ><section /><p /></body > in IE
- # [22:36] <avandenhoven> yecril71: exactly and its absolutely clear for a use what it is.
- # [22:37] <yecril71> I am not sure about Firefox?
- # [22:38] <avandenhoven> I would love to continue this but I'll waste a whole day if I don't sign off.
- # [22:38] * Quits: kangax (n=kangax@74.201.136.194)
- # [22:38] <avandenhoven> I'll talk to you guys later!
- # [22:38] * Parts: avandenhoven (n=avandenh@64.114.102.2)
- # [22:38] <yecril71> Are the positions in your team public?
- # [22:39] <Philip`> Only a whole day? I've wasted over a year here!
- # [22:43] <yecril71> script type="text/bourne-shell"
- # [22:43] <yecril71> cat <<EOF
- # [22:44] <yecril71> Hey, what have I done?
- # [22:44] <yecril71> All right, I am back.
- # [22:44] <yecril71> \/script.
- # [22:45] * yecril71 does not know how to insert a leading slash.
- # [22:45] <Dashiva> /press ctrl while pressing enter
- # [22:46] <Dashiva> or use /say /whatever with leading slash
- # [22:46] <jcranmer> / in irssi
- # [22:46] * Quits: famicom (i=famicom@5ED2FF2D.cable.ziggo.nl) ("Leaving")
- # [22:46] <gsnedders> yecril71: <br /> isn't tag soup, it just means something else :P
- # [22:46] <gsnedders> double /
- # [22:46] <jcranmer> (as in `/ ', not `/')
- # [22:46] <gsnedders> i.e., ///foo
- # [22:47] <gsnedders> *//
- # [22:47] * gsnedders has screwed up
- # [22:48] * Joins: doublec (n=Chris_Do@202.0.36.64)
- # [23:06] * yecril71 finds out it is hard to DT an adjective
- # [23:06] * yecril71 decides to LI DFN instead
- # [23:08] * Quits: heycam (n=cam@124-168-105-223.dyn.iinet.net.au) ("bye")
- # [23:22] * Quits: Maurice (i=copyman@5ED548D4.cable.ziggo.nl) ("Disconnected...")
- # [23:39] * Joins: jruderman_ (n=jruderma@guest-232.mountainview.mozilla.com)
- # [23:42] * Joins: heycam (n=cam@clm-laptop.infotech.monash.edu.au)
- # [23:42] * ojanlunch is now known as ojan
- # [23:52] * Quits: jruderman (n=jruderma@corp-241.mountainview.mozilla.com) (Read error: 110 (Connection timed out))
- # Session Close: Thu Dec 11 00:00:00 2008
The end :)