Options:
- # Session Start: Tue Jan 13 00:00:00 2009
- # Session Ident: #whatwg
- # [00:05] * Quits: mstange (n=markus@buntes215.wohnheim.uni-kl.de) ("ChatZilla 0.9.84-2009010213 [Firefox 3.2a1pre/20090107020423]")
- # [00:07] * Joins: starjive (i=beos@213-66-217-32-no30.tbcn.telia.com)
- # [00:11] * Quits: jruderman (n=jruderma@corp-241.mountainview.mozilla.com)
- # [00:12] * Joins: jruderman (n=jruderma@corp-241.mountainview.mozilla.com)
- # [00:19] <Hixie> heycam: yt?
- # [00:20] <heycam> hi Hixie
- # [00:20] <Hixie> hey
- # [00:20] <Hixie> question
- # [00:20] <Hixie> how do i make an interface that has an anonymous named getter that returns values for strings that aren't properties of the object?
- # [00:20] <Hixie> [NameGetter] seems to be defined only in terms of "supported named properties"
- # [00:21] <heycam> hmm, you can't currently. what objects need this?
- # [00:21] <Hixie> HTMLDocument
- # [00:21] <Hixie> http://www.w3.org/mid/op.tzqg9y2hidj3kv@hp-a0a83fcd39d2.palace.opera.no
- # [00:21] <Hixie> i'm trying to emulate Safari's behavior
- # [00:22] <Hixie> <img name=x><script> assert(document.x is a [HTMLImageDocument]); assert(not 'x' in document); </script>
- # [00:22] <Hixie> er
- # [00:22] <Hixie> HTMLImageElement
- # [00:22] <heycam> i see
- # [00:23] <Hixie> anonymous name-getter, i should say, not "anonymous named getter" which is an oxymoron
- # [00:24] <heycam> :)
- # [00:24] <heycam> i'll make a note of it
- # [00:24] <Hixie> k
- # [00:26] * heycam wonders if there's a bot here that will tell me a link to this point in the irc logs
- # [00:26] <annevk> nope
- # [00:27] * Quits: Amorphous (i=jan@unaffiliated/amorphous) (Read error: 104 (Connection reset by peer))
- # [00:27] <Hixie> does "The name of the corresponding named property is N and will have the DontEnum attribute." mean that you can't do "for (i in foo) { }" to get the names out?
- # [00:27] <heycam> correct. do you need to have things returned by [[Get]] that will return false when doing (prop in object) but will be enumerated?
- # [00:28] <heycam> since that'd be a violation of ecma-262, i think
- # [00:28] <Hixie> i think we might need that for document.all
- # [00:28] <heycam> hmm
- # [00:28] <Hixie> but i haven't looked at that yet
- # [00:29] <Hixie> i was wondering more about 'window'
- # [00:29] <Hixie> where the subframes get exposed to enumeration iirc
- # [00:29] <heycam> oh actually no it wouldn't necessarily be a violation, you can just define [[HasProperty]] appropriately
- # [00:29] <heycam> not that web idl allows you to override [[HasProperty]] at all at the moment
- # [00:30] <Hixie> hm, no, i'm wrong
- # [00:30] <Hixie> about window enumeration
- # [00:30] <Hixie> i'm sure i've seen properties exposed before
- # [00:30] <Hixie> where would that be
- # [00:32] <Hixie> can't find anywhere
- # [00:32] <Hixie> oh well
- # [00:32] <annevk> I thought document.all required hacks in ECMAScript parsers
- # [00:32] <Hixie> d.all is messed up
- # [00:32] <Hixie> i don't know what we'll do for it
- # [00:33] <annevk> but I don't know the exact details since nobody wrote them down afaik
- # [00:33] <Hixie> i wonder if the JS committee would deal with it for us
- # [00:34] <annevk> I've been trying to get them to deal with <!-- without much success so far
- # [00:34] <annevk> though I haven't paid close attention to see if they made changes either, to be perfectly honest
- # [00:35] <Hixie> <!-- is easy to deal with
- # [00:35] <Hixie> and they won't do it?
- # [00:35] <Hixie> sheesh
- # [00:35] <Hixie> heycam: something else that would be useful (regarding the 'any'/DOMObject issue) would be union types for objects
- # [00:36] <Hixie> heycam: e.g. sometimes i have to return an HTMLElement or an HTMLCollection
- # [00:36] <heycam> mm
- # [00:36] * Quits: aroben (n=aroben@unaffiliated/aroben)
- # [00:37] <Hixie> oh i see
- # [00:37] <Hixie> IE does enumerate
- # [00:37] <Hixie> btu safari does not
- # [00:37] <Hixie> maybe my request above is not necessary
- # [00:37] * Hixie investigates further
- # [00:37] <Hixie> yeah
- # [00:37] <heycam> such a feature wouldn't be suitable for certain language bindings
- # [00:37] <Hixie> i was wrong about 'x' not in document
- # [00:37] <heycam> but maybe in those languages it would just map to Object or whatever?
- # [00:38] <heycam> Hixie, so i'll remove that feature request?
- # [00:38] <Hixie> yeah
- # [00:38] <Hixie> sorry abotu that
- # [00:38] <heycam> ok
- # [00:40] * Quits: jruderman (n=jruderma@corp-241.mountainview.mozilla.com)
- # [00:41] * Joins: jruderman (n=jruderma@corp-241.mountainview.mozilla.com)
- # [00:42] <Hixie> can someone who has IE up confirm that it says "2" "3" in the logs for this?: http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C!DOCTYPE%20html%3E...%3Cimg%20name%3Da%3E%3Cimg%20name%3Da%3E%3Cscript%3Ex%20%3D%20document.a%3Bw(x.length)%3B%3C%2Fscript%3E%3Cimg%20name%3Da%3E%3Cscript%3Ew(x.length)%3B%3C%2Fscript%3E
- # [00:42] <Hixie> nevermind
- # [00:42] * Hixie finds it is even more complicated and launches VMWare
- # [00:45] <Hixie> wow, IE returns 2/3
- # [00:45] <Hixie> nice
- # [00:46] <Hixie> my life just became 2018451023 times easier
- # [00:46] * Joins: Amorphous (i=jan@unaffiliated/amorphous)
- # [00:47] * jcranmer sighs
- # [00:47] <jcranmer> what is with these eRDF/RDFa/RDF/whatever-the-hell-all-that-stuff-is people?
- # [00:48] <Hixie> now what?
- # [00:48] <Hixie> i thought we actually made slight progress towards getting some problems listed
- # [00:48] <annevk> Firefox actually says 2/2
- # [00:48] <Hixie> yeah firefox is disqualified
- # [00:49] <jcranmer> Hixie: from what I read, they're debating over which one to use or something like that
- # [00:49] <Hixie> in whatwg?
- # [00:49] <jcranmer> yes
- # [00:49] <Hixie> yeah i don't know how to direct the conversation towards problems rather than solutions
- # [00:49] <webben> jcranmer: That's because Calogero asked them why not eRDF.
- # [00:49] <Hixie> i've tried everything i know how to do
- # [00:50] <Hixie> i'm just going to delete the e-mails without problems
- # [00:50] <jcranmer> webben: well, it doesn't help that one of the people doesn't send emails with References/In-Reply-To
- # [00:51] <annevk> I've been reading all those e-mails and I'm not that much wiser, though those of hsivonen usually have good stuff
- # [00:51] * Joins: ojan (n=ojan@72.14.224.1)
- # [00:52] <Hixie> hey ojan
- # [00:54] <Hixie> heycam: do i have to define how to handle named index
- # [00:54] <Hixie> er
- # [00:55] <Hixie> heycam: do i have to define how to handle name index property access when the name isn't in the list of names, or does webidl define that that returns undefined?
- # [00:55] <Hixie> heycam: (or does JS define that)
- # [00:55] <heycam> web idl defines that normal object property lookup is done
- # [00:56] <heycam> web idl defines a whole [[Get]] to use on the object, which has cases for what to do in the presence of [NamedGetter], etc.
- # [00:56] <Hixie> where is that defined?
- # [00:56] <heycam> www.w3.org/TR/WebIDL/#Get
- # [00:56] <heycam> (or maybe #get?)
- # [00:56] <Hixie> i found a [[put]] algorithm, but no [[get]]
- # [00:56] <Hixie> #get and #Get return nothing
- # [00:56] <heycam> oh right
- # [00:56] <heycam> sorry, misremembering
- # [00:57] <heycam> since the named/index properties are defined in terms of creating actual properties on the object, the standard [[Get]] is used
- # [00:57] * Joins: hallvors (n=hallvord@softbank221089079197.bbtec.net)
- # [00:57] <Hixie> k
- # [00:57] <Hixie> so i don't have to define that case
- # [00:57] <Hixie> ok
- # [00:57] <heycam> if overriding [[Get]] to return values for properties that don't exist on the object is needed, then a section defining a [[Get]] will be needed
- # [00:58] <Hixie> not needed yet as far as i know
- # [01:01] * Quits: starjive (i=beos@213-66-217-32-no30.tbcn.telia.com)
- # [01:02] <ojan> hi hixie!
- # [01:10] <Hixie> how on earth an i going to spec this: <!DOCTYPE html>...<img name=a><img name=a><script>x = document.a; y= document.a; w(x === y);</script>
- # [01:10] <Hixie> in safari and firefox, x !== y
- # [01:10] <Hixie> but in IE x === y
- # [01:10] <Hixie> wonder what opera does
- # [01:11] <Hixie> true in opera too
- # [01:11] <Hixie> well bummer
- # [01:12] * Quits: aaronlev (n=chatzill@e179060186.adsl.alicedsl.de) (Read error: 110 (Connection timed out))
- # [01:15] <Hixie> hsivonen: "http://www.whatwg.org/specs/web-apps/current-work/source-whatwg":-11.40--11.46: error: Required attributes missing on element "label".
- # [01:15] <Hixie> hsivonen: the <label> contains an <input>
- # [01:15] <Hixie> hsivonen: so that seems like a bug in the validator
- # [01:15] <annevk> Hixie, why would it be false?
- # [01:16] * annevk also notes that in Firefox it's a NodeList while in Opera an HTMLCollection
- # [01:16] <Hixie> yeah Firefox was disqualified a while back
- # [01:16] <Hixie> safari just returns a new HTMLCollection each time
- # [01:16] <Hixie> but IE and Opera memoise the getter
- # [01:16] <Hixie> which requires an annoying sentence to spec
- # [01:16] <annevk> it's weird, especially when you compare with e.g. document.images
- # [01:17] <Hixie> hm?
- # [01:17] <annevk> if you replace the a with images Firefox does return true
- # [01:17] <Hixie> well sure
- # [01:17] <Hixie> why would it not
- # [01:17] <annevk> why would it not for a?
- # [01:17] <Hixie> there's only one .images collection
- # [01:18] <Hixie> so you can just hardcode an instance internally
- # [01:18] <annevk> there's also only one a collection per page...
- # [01:18] <Hixie> for .a you have to do all kinds of caching work
- # [01:18] <Hixie> no
- # [01:18] <Hixie> there might not be an 'a' collection at all
- # [01:18] <Hixie> in fact most names don't have a corresponding colleciton
- # [01:18] <Hixie> collection
- # [01:20] <annevk> I guess that's fair enough, though it seems weird for the two to be different to me
- # [01:20] <annevk> anyway, how does "The images attribute must return an HTMLCollection rooted at the Document node, whose filter matches only img elements." ensure that the same object is returned each time?
- # [01:20] <Hixie> the spec currently doesn't ensure it
- # [01:20] <Hixie> for .images
- # [01:20] <Hixie> oh wait
- # [01:21] <Hixie> actually it does
- # [01:21] <Hixie> An attribute that returns a collection must return the same object every time it is retrieved.
- # [01:21] <Hixie> i guess that means i don't have to define it explicitly for the getter either
- # [01:35] * Quits: dglazkov (n=dglazkov@nat/google/x-5902736841d23e57)
- # [01:42] * Quits: smedero (n=smedero@mdp-nat251.mdp.com)
- # [01:52] <rubys> http://intertwingly.net/blog/2009/01/12/IE8-Beta-7000-Bug
- # [01:52] * rubys wonders whether or not the IE8 team is aware of his blog, or if they just don't care
- # [01:54] <annevk> they have a bug database
- # [01:54] <Hixie> IE bugs frighten me
- # [01:55] <Hixie> i can't even begin to imagine what their code must look like at this point
- # [01:55] <rubys> annevk: how do I access their database?
- # [01:58] <annevk> https://connect.microsoft.com/IE/Feedback is it I think
- # [01:58] <rubys> oh, and Hixie: I got final approval to travel to MountainView to meet with the ECMAScript folks on the 27th-29th; we could meet on the afternoon/evening of the 27th?
- # [01:58] <Hixie> january?
- # [01:59] <rubys> yes
- # [01:59] <Hixie> hold on
- # [01:59] <Hixie> sure
- # [01:59] <Hixie> what time?
- # [02:00] <rubys> when I make flight arrangements and I'll back to you, but if you can "pencil me in" for now, I'd appreciate it.
- # [02:00] * Joins: MikeSmith (n=MikeSmit@EM114-48-42-191.pool.e-mobile.ne.jp)
- # [02:00] <Hixie> sure
- # [02:00] <annevk> r2645 is weird
- # [02:00] <Hixie> rubys: blocked out 3pm to 8pm on the 27th
- # [02:00] <rubys> annevk: it requires me to sign in. Once I do so, I get a The content that you requested cannot be found or you do not have permission to view it.
- # [02:00] <annevk> I've read the topic, but still
- # [02:01] <annevk> rubys, :/
- # [02:01] <annevk> rubys, maybe blog that too, they might find it one day or you could tell the other chair ;)
- # [02:02] <Hixie> annevk: if you think that's fun you should see the next checkin (same thing, but for Window...)
- # [02:02] <Hixie> (might not be the very next one)
- # [02:02] * annevk will check tomorrow
- # [02:02] <annevk> nn
- # [02:02] <Hixie> nn
- # [02:04] <Philip`> rubys: The IE8 bug database is invitation-only
- # [02:04] <Philip`> rubys: I think I have an invitation code somewhere which you could have
- # [02:05] <rubys> *sigh*
- # [02:05] <rubys> brb
- # [02:05] <Hixie> i have access but i can't say it's ever helped me (or helped me help them)
- # [02:06] <Hixie> it makes bugzilla look positively easy to use
- # [02:06] * Philip` has reported some bugs which got fixed, though he doesn't know if they got fixed because of his bug report
- # [02:06] <Hixie> as far as i can tell the engineers don't interact with that bug database
- # [02:07] <Hixie> which makes it pretty pointless to me
- # [02:08] * Joins: Dashimon (i=Dashiva@1.84-48-51.nextgentel.com)
- # [02:09] * Quits: gavin_ (n=gavin@firefox/developer/gavin)
- # [02:09] * Joins: deane (n=opera@121.98.190.61)
- # [02:17] * Quits: tndH (n=Rob@james-baillie-pc083-058.student-halls.leeds.ac.uk) ("ChatZilla 0.9.84-rdmsoft [XULRunner 1.9.0.1/2008072406]")
- # [02:19] * Quits: Dashiva (i=Dashiva@wikia/Dashiva) (Read error: 113 (No route to host))
- # [02:23] * Joins: Dashiva (i=Dashiva@1.84-48-51.nextgentel.com)
- # [02:27] * Quits: gavin (n=gavin@firefox/developer/gavin) (Remote closed the connection)
- # [02:27] * Joins: BenMillard (n=cerbera@cpc1-flee1-0-0-cust285.glfd.cable.ntl.com)
- # [02:30] * Joins: gavin (n=gavin@people.mozilla.com)
- # [02:33] * Quits: Dashimon (i=Dashiva@wikia/Dashiva) (Read error: 110 (Connection timed out))
- # [02:35] <BenMillard> Philip`, JZWSA sounds like the QA tools I've seen come and go over the past 5+ years. Nothing new and I'm amazed at it costing $50 when it's not even a standalone application.
- # [02:35] <BenMillard> krijnh, how about linkifying e-mail addresses and mailto: links? http://krijnhoetmer.nl/irc-logs/whatwg/20090112#l-513
- # [02:38] * Quits: hober (n=ted@unaffiliated/hober) (Read error: 104 (Connection reset by peer))
- # [02:46] <BenMillard> krijnh, could linkification infer http:// when it's absent? http://krijnhoetmer.nl/irc-logs/whatwg/20090113#l-104
- # [02:54] <BenMillard> heycam, there's no bot, but you can go to the web interface and click the # character at the start of the line manually to get this: http://krijnhoetmer.nl/irc-logs/whatwg/20090113#l-25
- # [02:59] * Quits: dave_levin (n=dave_lev@72.14.227.1)
- # [03:00] * Quits: svl (n=me@ip565744a7.direct-adsl.nl) ("And back he spurred like a madman, shrieking a curse to the sky.")
- # [03:00] * Quits: deane (n=opera@121.98.190.61) (Read error: 110 (Connection timed out))
- # [03:11] * Joins: webben_ (n=webben@91.85.203.185)
- # [03:16] <Hixie> heycam: yt still?
- # [03:17] <Hixie> hm wait
- # [03:17] <Hixie> nm
- # [03:22] * Quits: webben (n=webben@91.85.203.185) (Read error: 110 (Connection timed out))
- # [03:28] * hallvors tried googling JZWSA and was asked if I meant JEWS
- # [03:28] <Dashiva> Heh. I tried using Japanese characters for labels in a google chartserv request, and it turned everything in the chart into a different font :)
- # [03:29] * Quits: ojan (n=ojan@72.14.224.1)
- # [03:36] <BenMillard> hallvors, JZWSA is referring to this: http://www.zeldman.com/2009/01/12/jeffrey-zeldmans-web-standards-advisor/
- # [03:43] <hallvors> BenMillard: thanks :)
- # [03:44] * Parts: BenMillard (n=cerbera@cpc1-flee1-0-0-cust285.glfd.cable.ntl.com)
- # [03:48] * Joins: tndH (n=Rob@james-baillie-pc083-058.student-halls.leeds.ac.uk)
- # [03:48] * Joins: tantek (n=tantek@ip67-95-206-218.z206-95-67.customer.algx.net)
- # [03:54] * Joins: dave_levin (n=dave_lev@c-98-203-247-78.hsd1.wa.comcast.net)
- # [04:00] * Quits: dave_levin (n=dave_lev@c-98-203-247-78.hsd1.wa.comcast.net)
- # [04:00] * Quits: weinig (n=weinig@17.203.15.177)
- # [04:32] * Quits: tantek (n=tantek@ip67-95-206-218.z206-95-67.customer.algx.net)
- # [04:39] * Joins: weinig (n=weinig@c-69-181-81-233.hsd1.ca.comcast.net)
- # [04:41] * Quits: kingryan (n=kingryan@c-24-5-77-167.hsd1.ca.comcast.net)
- # [04:42] * Joins: kingryan (n=kingryan@c-67-164-15-57.hsd1.ca.comcast.net)
- # [04:44] * Quits: weinig (n=weinig@c-69-181-81-233.hsd1.ca.comcast.net) (Client Quit)
- # [04:51] * Joins: kingryan_ (n=kingryan@c-24-5-77-167.hsd1.ca.comcast.net)
- # [05:04] * Quits: dolske (n=dolske@firefox/developer/dolske)
- # [05:06] * Quits: kingryan (n=kingryan@c-67-164-15-57.hsd1.ca.comcast.net) (Read error: 110 (Connection timed out))
- # [05:10] * Quits: dbaron (n=dbaron@corp-241.mountainview.mozilla.com) ("8403864 bytes have been tenured, next gc will be global.")
- # [05:13] * Joins: dglazkov (n=dglazkov@c-24-130-144-56.hsd1.ca.comcast.net)
- # [05:16] * Quits: dimich (n=dimich@72.14.227.1) (Read error: 60 (Operation timed out))
- # [05:39] * Joins: wakaba_ (n=wakaba@111.164.210.220.dy.bbexcite.jp)
- # [05:40] * Joins: dolske (n=dolske@c-76-103-41-195.hsd1.ca.comcast.net)
- # [05:45] * Joins: dave_levin (n=dave_lev@c-98-203-247-78.hsd1.wa.comcast.net)
- # [05:54] * Quits: wakaba (n=wakaba@189.164.210.220.dy.bbexcite.jp) (Read error: 110 (Connection timed out))
- # [06:01] * Quits: hdh (n=hdh@58.187.16.159) (Remote closed the connection)
- # [06:14] * Joins: dimich (n=dimich@c-98-203-230-54.hsd1.wa.comcast.net)
- # [06:21] * Quits: dimich (n=dimich@c-98-203-230-54.hsd1.wa.comcast.net)
- # [06:31] * Quits: dglazkov (n=dglazkov@c-24-130-144-56.hsd1.ca.comcast.net)
- # [06:42] * Joins: dimich (n=dimich@c-98-203-230-54.hsd1.wa.comcast.net)
- # [06:52] * Quits: heycam (n=cam@clm-laptop.infotech.monash.edu.au) ("bye")
- # [07:12] * Quits: dimich (n=dimich@c-98-203-230-54.hsd1.wa.comcast.net)
- # [07:21] * Joins: heycam (n=cam@124-168-97-132.dyn.iinet.net.au)
- # [07:24] * Quits: MikeSmith (n=MikeSmit@EM114-48-42-191.pool.e-mobile.ne.jp) ("sex break")
- # [07:25] * Joins: MikeSmith (n=MikeSmit@EM114-48-196-214.pool.e-mobile.ne.jp)
- # [07:35] * Joins: zcorpan (n=zcorpan@pat.se.opera.com)
- # [07:37] * Quits: jwalden (n=waldo@corp-241.mountainview.mozilla.com) ("->home")
- # [07:37] * Quits: jruderman (n=jruderma@corp-241.mountainview.mozilla.com)
- # [07:49] * Joins: jwalden (n=waldo@c-67-180-39-55.hsd1.ca.comcast.net)
- # [07:57] * Joins: maikmerten (n=merten@ls5dhcp195.cs.uni-dortmund.de)
- # [08:02] * Joins: jruderman (n=jruderma@c-67-180-39-55.hsd1.ca.comcast.net)
- # [08:10] * Joins: ap (n=ap@195.239.126.10)
- # [08:12] <Hixie> heycam: if you're still here: how do i say that my anonymous [NamedGetter] overrides the other attributes on the interface?
- # [08:13] <Hixie> oh wait, i may have decided i didn't need that
- # [08:14] * Joins: harig (n=harig_in@59.161.151.57)
- # [08:17] * Joins: wakaba (n=wakaba@232.164.210.220.dy.bbexcite.jp)
- # [08:17] * Quits: harig (n=harig_in@59.161.151.57) (Read error: 104 (Connection reset by peer))
- # [08:17] <Hixie> no, i do need it after all
- # [08:17] <Hixie> heycam: i need to be able to say that document.body is overriden by the [NamedGetter] if there is a conflict
- # [08:22] * Quits: wakaba_ (n=wakaba@111.164.210.220.dy.bbexcite.jp) (Read error: 60 (Operation timed out))
- # [08:24] <heycam> Hixie, no way to do that currently. all interface members take precedence of named properties.
- # [08:24] <Hixie> i have a feature request :-)
- # [08:24] <heycam> :)
- # [08:25] * heycam notes it
- # [08:25] <Hixie> thanks
- # [08:25] <Hixie> wanna guess a syntax so i can use it now, or should i leave an XXX?
- # [08:26] <Hixie> (either is fine by me)
- # [08:27] <heycam> if you can think of a good name to put on the attribute
- # [08:28] <heycam> [OverridesNamedProperty]? a bit long maybe.
- # [08:28] <Hixie> [NamedGetter=OverrideBuiltins]
- # [08:28] <Hixie> maybe?
- # [08:28] <heycam> but you don't want it to apply to all
- # [08:28] <heycam> just to particular members, no?
- # [08:29] <Hixie> as far as i can tell, document.foo returns applicable elements with name=foo rather than returning the interface-defined document.foo for all values of foo
- # [08:29] <Hixie> but i could be wrong
- # [08:29] <heycam> oh, so is that the other way around from what you said first?
- # [08:30] <Hixie> maybe, i've been very confused today
- # [08:30] <heycam> :)
- # [08:30] <Hixie> let me get you an actual testcase
- # [08:30] <Hixie> http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C!DOCTYPE%20html%3E%0D%0A...%3Ciframe%20name%3Dbody%3E%3C%2Fiframe%3E%3Cscript%3Ew(document.body)%3C%2Fscript%3E
- # [08:30] <Hixie> IE says "[object Window]" in the log
- # [08:31] <Hixie> meaning it returned the iframe's contentWindow
- # [08:31] <Hixie> rather than the HTMLBodyElement
- # [08:31] <Hixie> as one would expect if the channel's topic didn't apply
- # [08:31] <Hixie> as far as i can tell that is true for all values of 'body'
- # [08:31] <Hixie> e.g. document.links
- # [08:32] <Hixie> does that make sense?
- # [08:32] <heycam> so for objects that implement HTMLDocument, a named property always overrides something from prototypes?
- # [08:32] <Hixie> looks that way
- # [08:33] <Hixie> i have not yet found a counter-example at least
- # [08:33] <heycam> ok
- # [08:33] <heycam> just do [NamedGetter=OverrideBuiltins] for now and i'll think about naming later
- # [08:34] <Hixie> k cool thanks
- # [08:39] * Joins: Maurice (n=ano@a80-101-46-164.adsl.xs4all.nl)
- # [08:49] * Joins: deane (n=opera@121.98.190.61)
- # [08:55] <zcorpan> Hixie: hmm, i was going to say that you missed this case <iframe name=x></iframe><embed name=x><script>w(document.x[0])</script> but it seems the spec matches ie, webkit and opera
- # [08:55] <Hixie> returns the <iframe> element, right?
- # [08:55] <Hixie> not a Window?
- # [08:55] <zcorpan> right
- # [08:55] <Hixie> good :-)
- # [08:55] * Quits: kingryan_ (n=kingryan@c-24-5-77-167.hsd1.ca.comcast.net)
- # [08:56] <Hixie> man the stuff i specced today puts the topic to work
- # [08:56] * Joins: pesla (n=retep@procurios.xs4all.nl)
- # [08:56] * Joins: kingryan (n=kingryan@c-24-5-77-167.hsd1.ca.comcast.net)
- # [08:56] <zcorpan> indeed :)
- # [08:58] * Quits: kingryan (n=kingryan@c-24-5-77-167.hsd1.ca.comcast.net) (Client Quit)
- # [09:00] * Joins: aaronlev (n=chatzill@e179060186.adsl.alicedsl.de)
- # [09:02] <MikeSmith> zcorpan: are you in Linköping?
- # [09:04] * Quits: sverrej (n=sverrej@cm-84.208.153.202.getinternet.no) (Read error: 113 (No route to host))
- # [09:05] <zcorpan> MikeSmith: yes
- # [09:06] <MikeSmith> If you could forward the following to Jens or somebody, I'd appreciate it
- # [09:06] <MikeSmith> http://www.biglist.com/lists/lists.mulberrytech.com/xsl-list/archives/200901/msg00218.html
- # [09:07] <MikeSmith> guy trying to debug an XSLT problem in Opera
- # [09:07] * Quits: jruderman (n=jruderma@c-67-180-39-55.hsd1.ca.comcast.net)
- # [09:09] <MikeSmith> or maybe to whoever is responsible for QA for XSLT
- # [09:09] <MikeSmith> used to be Kaz
- # [09:11] * Joins: weinig (n=weinig@c-69-181-81-233.hsd1.ca.comcast.net)
- # [09:13] * Joins: roc (n=roc@121-72-177-3.dsl.telstraclear.net)
- # [09:14] <Hixie> oooh, WebIDL has [Callable=...]
- # [09:14] <Hixie> sweet
- # [09:14] <Hixie> weinig: your input on https://bugs.webkit.org/show_bug.cgi?id=23284 would be much appreciated
- # [09:15] <weinig> Hixie: sure
- # [09:21] * Quits: kinetik (n=kinetik@121.98.132.55) (Read error: 110 (Connection timed out))
- # [09:21] <zcorpan> MikeSmith: done
- # [09:23] <MikeSmith> zcorpan: thanks
- # [09:33] <weinig> Hixie: I think it was just a mistake
- # [09:33] <Hixie> has a version shipped with that bug?
- # [09:33] <weinig> Hixie: I don't really care which way we go on property name precedence in the window, as long as we can all do the same thing
- # [09:33] <weinig> Hixie: I don't think so
- # [09:34] <Hixie> ok well then we should probably do what the comment says
- # [09:34] <Hixie> though you should fix the spelling of 'toolbar' when you fix it
- # [09:34] * weinig nods
- # [09:34] <weinig> heh
- # [09:34] * Hixie fixes the bug
- # [09:34] <Hixie> er
- # [09:34] <Hixie> the spec
- # [09:34] <Hixie> freudian slip there
- # [09:57] * Joins: sverrej (n=sverrej@pat-tdc.opera.com)
- # [09:58] * Joins: tantek (n=tantek@adsl-69-107-14-121.dsl.pltn13.pacbell.net)
- # [10:02] * Joins: aaronlev_ (n=chatzill@e179060186.adsl.alicedsl.de)
- # [10:05] <annevk> heh, http://twitter.com/themadness/statuses/1115257406
- # [10:07] <MikeSmith> annevk: I like his previous tweet better:
- # [10:07] <MikeSmith> http://twitter.com/theMadness/status/1115207606
- # [10:08] <annevk> heh, just found it through a search
- # [10:16] * Hixie replies
- # [10:16] <Hixie> heycam: if you're still there... Apparently I need a new kind of [Replaceable].
- # [10:16] <Hixie> heycam: for event handler DOM attributes
- # [10:16] * Joins: kinetik (n=kinetik@121.98.132.55)
- # [10:17] <Hixie> heycam: they have to be able to take a string, at which point they do nothing
- # [10:17] <Hixie> heycam: but if later they are set back to a function, they work again
- # [10:17] <Hixie> heycam: also, if set to anything other than a string or a function, they throw an exception
- # [10:17] * Quits: webben_ (n=webben@91.85.203.185) (Read error: 145 (Connection timed out))
- # [10:21] * Quits: aaronlev (n=chatzill@e179060186.adsl.alicedsl.de) (Read error: 110 (Connection timed out))
- # [10:22] <Hixie> sicking: do you know what the current state of things is w.r.t. [Null] in WebIDL?
- # [10:22] <Hixie> sicking: specifically, i seem to recall you raised an objection to the current text
- # [10:22] <annevk> that discussion didn't move
- # [10:30] <Hixie> bummer
- # [10:30] <hsivonen> Hixie: fixed.
- # [10:30] <Hixie> heycam: i found an object for which i need enumeration (i.e. for which I don't want [DontEnum]) - Storage
- # [10:30] * Quits: weinig (n=weinig@c-69-181-81-233.hsd1.ca.comcast.net)
- # [10:30] <Hixie> hsivonen: thanks
- # [10:31] <Hixie> heycam: same object also supports indexed properties that I _don't_ want enumerated, fwiw
- # [10:32] <annevk> Hixie, what's the use cases for data: URL form submission?
- # [10:32] <annevk> Hixie, mostly debugging?
- # [10:33] <Hixie> yeah
- # [10:33] <annevk> ta
- # [10:34] * Parts: zcorpan (n=zcorpan@pat.se.opera.com)
- # [10:36] * Joins: zcorpan (n=zcorpan@pat.se.opera.com)
- # [10:46] <hsivonen> http://www.joelonsoftware.com/items/2009/01/12.html
- # [10:46] <MikeSmith> hsivonen: great to hear that patches are now deployed at validator.nu
- # [10:47] <hsivonen> considering how well "power of Java" and "power of RDF" are doing, we should probably avoid advertising "power of HTML5"
- # [10:47] <Hixie> lord, i hope nobody says anything about the "power" of HTML
- # [10:48] <hsivonen> MikeSmith: now I should probably locate emails about Validator.nu bugs over the last three months or so and reply that the bugs have been fixed...
- # [10:48] <MikeSmith> HTML can kick Chuck Norris's ass
- # [10:48] <MikeSmith> hsivonen: yup
- # [10:48] <Hixie> HTML probably couldn't kick _my_ ass
- # [10:49] <Hixie> and i'm no ass-kicker
- # [10:49] * Joins: ROBOd (n=robod@89.122.216.38)
- # [10:50] <Hixie> our open Web standards platform is like the dictionary definition of "worse is better" or "good enough is good enough" or whatever cliche you want to use that asserts that the most successful technology is usually a disaster :-)
- # [10:51] <Hixie> sadly what makes something useful and widely used isn't the same as what makes it aethetically pleasing
- # [10:53] <MikeSmith> HTML has the powerful like the Blob -- if you try to punch it, you just stumble and get sucked in and completely covered with goo
- # [10:53] <MikeSmith> hmm, hsivonen - having problems building local v.nu from current sources
- # [10:54] <MikeSmith> ./syntax/relaxng/datatype/java/src/org/whattf/datatype/Html5DatatypeLibrary.java:146: cannot find symbol
- # [10:54] <MikeSmith> symbol : variable Color
- # [10:54] <MikeSmith> etc.
- # [10:54] <MikeSmith> plus: ./syntax/non-schema/java/src/org/whattf/checker/TextContentChecker.java:85: package DateOrTimeContent does not exist
- # [10:55] <MikeSmith> can send you the build log if you want
- # [10:56] * Quits: Lachy (n=Lachlan@85.196.122.246) ("This computer has gone to sleep")
- # [11:00] <annevk> html5.org so far in January: 31847 200, 165596 403; will that bot ever learn?
- # [11:08] <hsivonen> MikeSmith: oops. fixed now. Thanks.
- # [11:08] * Joins: Lachy (n=Lachlan@pat-tdc.opera.com)
- # [11:17] * Joins: svl (n=me@ip565744a7.direct-adsl.nl)
- # [11:21] * annevk sighs
- # [11:21] <Hixie> hm?
- # [11:21] <annevk> meh, see whatwg@whatwg.org
- # [11:21] * annevk hopes it's clear now
- # [11:21] * Joins: pauld (n=pauld@host81-130-14-9.in-addr.btopenworld.com)
- # [11:22] <annevk> Hixie, since you're still awake, any ETA on a new definition of "scripting context"?
- # [11:23] <Hixie> is that test not wrong?
- # [11:23] <annevk> no
- # [11:23] <Hixie> two things match, but only one is in the expected output?
- # [11:23] <Hixie> also the title is very misleading :-)
- # [11:23] <Hixie> no ETA on scripting context issue
- # [11:23] <annevk> oh wow, fail
- # [11:25] * annevk updates test
- # [11:25] * annevk somehow missed the second element
- # [11:28] <MikeSmith> hsivonen: thanks, synced up and running now
- # [11:29] <MikeSmith> but fwiw, some tests are failing with:
- # [11:29] <MikeSmith> Element “html” from namespace “http://www.w3.org/1999/xhtml” not allowed in this context. Suppressing further errors from this subtree.
- # [11:29] <MikeSmith> File: file:/opt/checker/syntax/relaxng/tests/html5full-html/valid/002.xhtml
- # [11:29] <MikeSmith> Line: 1 Col: 43
- # [11:29] <MikeSmith> etc.
- # [11:37] <Hixie> heycam: i find the text in "3.8.5. [IndexCreator], [IndexDeleter], [IndexGetter] and [IndexSetter]" and "4.4.2. Indexed and named properties" to be confusingly different
- # [11:37] <Hixie> heycam: they both have what look like normative conformance criteria and language defining what is should say, but it is defined in different terms
- # [11:38] <Hixie> heycam: so i don't know if what i'm doing is right
- # [11:38] <Hixie> heycam: i'd prefer to see the JS one defined in terms of the generic one
- # [11:40] * Quits: MikeSmith (n=MikeSmit@EM114-48-196-214.pool.e-mobile.ne.jp) ("sex break")
- # [12:07] <Hixie> WTF
- # [12:07] <Hixie> are you KIDDING ME?
- # [12:07] <Hixie> #%&@#(^&@#
- # [12:08] <Hixie> <!DOCTYPE html><form><input></form><script>w(typeof document.forms[0].item)</script>
- # [12:08] <Hixie> -> string!
- # [12:08] <Hixie> specifically, the string "[HTMLFormElement]"
- # [12:08] <Hixie> but it's callable!
- # [12:08] <Hixie> <!DOCTYPE html><form><input></form><script>w(document.forms[0].item())</script>
- # [12:09] <Hixie> -> HTMLInputElement
- # [12:09] <Hixie> the object, that is
- # [12:09] <annevk> welcome to logicfreezone
- # [12:10] <Hixie> i'm guessing this is an IE8 bug
- # [12:10] <Hixie> because even for IE, this is crazy land
- # [12:10] <Philip`> IE6 says typeof is 'string'
- # [12:11] <Philip`> (stringifying to '[object]')
- # [12:11] <Hixie> so what exactly is .item then?
- # [12:11] <Hixie> i know that form.elements === form
- # [12:11] <Hixie> (in IE)
- # [12:11] <Hixie> but what is form.item?
- # [12:11] <annevk> nice, just like window.frames
- # [12:11] <Hixie> since when are strings callable?
- # [12:12] <Philip`> It's not a string, it's just an object whose type is string :-)
- # [12:12] <Hixie> indeed, it's definitely not a string, you can't index into it for example
- # [12:12] <Hixie> <!DOCTYPE html><form><input></form><script>w(document.forms[0].item[0])</script> -> undefined
- # [12:12] <annevk> btw, <form><input> without an "x" or something in front of it gives you a fucked up DOM
- # [12:13] <Hixie> heh so it does
- # [12:13] <Hixie> i don't think this is affecting these results though
- # [12:13] <zcorpan> <form><input type=hidden> makes the input be in head
- # [12:14] <annevk> hmm, document.forms[0].item == document.forms[0] but not ===
- # [12:14] <Hixie> annevk: yeah, you're just stringifying both if you do that
- # [12:15] <annevk> I see
- # [12:17] * Joins: myakura (n=myakura@p1096-ipbf1904marunouchi.tokyo.ocn.ne.jp)
- # [12:17] <annevk> funny, item[0] is undefined ,as you say, but item(0) is object
- # [12:19] <annevk> for(x in document.forms[0].item) doesn't reveal anything
- # [12:20] <Philip`> Why is that funny? With function f(){return null}, f[0] is undefined and f(0) is object, so it's not particularly unusual behaviour
- # [12:20] <annevk> Isn't it just the IE way to denote a function?
- # [12:20] <Hixie> <!DOCTYPE html>...<form><select><option>x</select></form><script>w(document.forms[0][0]('0'))</script> -> [object HTMLSelectElement]
- # [12:20] <Hixie> ...
- # [12:20] <Hixie> what?
- # [12:21] <Hixie> in fact, it returns that for any value of the argument
- # [12:21] <Hixie> BUT
- # [12:21] <Hixie> <!DOCTYPE html>...<form><select><option>x</select></form><script>w(document.forms[0][0]())</script> -> undefined
- # [12:21] <Philip`> annevk: Not sure what you mean
- # [12:22] * Joins: virtuelv (n=virtuelv@pat-tdc.opera.com)
- # [12:23] <annevk> I thought that maybe the weird behavior of item was normal
- # [12:23] <annevk> doesn't seem like it
- # [12:23] <annevk> funny when you compare .item with .namedItem
- # [12:25] <Hixie> i am so confused right now
- # [12:28] * jgraham is worried that trying to understand IE may leave Hixie in no state to edit the spec. Or do anything really. Except go with the nice men in their white coats
- # [12:29] * annevk lolz
- # [12:30] <Hixie> aggnnnnewwwg
- # [12:30] <Hixie> <!DOCTYPE html>...<form><input name=a></form><script>var f = document.forms[0]; w(f('a')); w(document.forms[0]('a'))</script>
- # [12:30] <Hixie> -> [object HTMLInputElement] [object HTMLFormElement]
- # [12:30] <Hixie> !!!!!!!!!!!!!!!!!!!!1111111oneoneoneohenneeohenneegah
- # [12:31] * annevk gets worried too now
- # [12:32] <jgraham> I think it safe to assume that this bit of IE was implemented by repeatedly getting a cat to walk over the keyboard until something compiled
- # [12:34] <Philip`> I don't think cats could design something so perverse
- # [12:34] <Hixie> i wonder if heycam would fall for it if i told him i needed something to spec the last thing i pasted here
- # [12:35] <annevk> how would that even work?
- # [12:35] <Hixie> just like in IE!
- # [12:35] <Dashiva> Magic
- # [12:35] <annevk> how does it even work, I should say :)
- # [12:38] <Hixie> wow
- # [12:38] <Hixie> IE doesn't index on <option name="">
- # [12:38] <Hixie> only <option id="">
- # [12:38] <Lachy> Hixie, shouldn't that be w(f]'a']); (using square brackets, not parentheses)?
- # [12:38] <Lachy> oops, I meant w(f([a']);
- # [12:38] <Lachy> aargh. you know what I mean.
- # [12:38] <Hixie> i'm testing (and speccing) the Callable=namedItem behavior
- # [12:39] <Hixie> the NameGetter=namedItem behavior is a separate kettle of rotten fish entirely
- # [12:39] <Lachy> oh. I didn't know that you could call it as a function. Does it work in any browser except IE?
- # [12:39] * annevk looks forward to this week in HTML5, should be easy to write: "There be dragons."
- # [12:40] <Hixie> Lachy: at least one case works in safari
- # [12:40] <Hixie> oh jesus
- # [12:40] <Hixie> select.item('a') actually returns something
- # [12:40] <Hixie> works just like .namedItem('a')
- # [12:40] <Hixie> i hope nobody minds if this part of the spec isn't 100% IE compatible
- # [12:40] * Quits: pauld (n=pauld@host81-130-14-9.in-addr.btopenworld.com)
- # [12:41] <Hixie> but I don't think I can actually spec what IE does without violating some fundamental laws of physics
- # [12:41] <annevk> you're saying IE beats physics?
- # [12:42] <zcorpan> maybe our understanding of physics is flawed
- # [12:42] <zcorpan> and the real world is more like ie
- # [12:44] * jgraham hopes Bell's theroem doesn't apply to IE
- # [12:45] <Hixie> that would be bad
- # [12:46] <Philip`> It's all just spooky action at a distance
- # [12:46] * Joins: mpt (n=mpt@canonical/launchpad/mpt)
- # [12:47] <Lachy> Hixie, I couldn't get that above script to work in either Firefox, Opera or Safari
- # [12:48] <Hixie> i'm actually more worried that the theory expounded upon at the start of the The Restaurant at the End of the Universe is the one that applies here
- # [12:48] <Hixie> Lachy: i don't think any of them do this for option and select, no
- # [12:49] <Philip`> Did the latest version of IE8's developer tools remove the DOM-properties view? I can't find it anywhere
- # [12:49] * Parts: deane (n=opera@121.98.190.61)
- # [12:50] <Lachy> Hixie, I meant this one: <form><input name=a></form><script>var f = document.forms[0]; w(f('a')); w(document.forms[0]('a'))</script>
- # [12:50] <Lachy> it only works in IE
- # [12:50] <Hixie> yeah i don't think callable forms is supported by the others either
- # [12:51] <zcorpan> maybe f.elements('a')?
- # [12:52] <annevk> that should be identical to f('a')
- # [12:52] <annevk> in IE anyway
- # [12:53] <annevk> we could copy that in HTML5 I think
- # [12:53] <Hixie> it's already in html5
- # [12:53] <Hixie> oh actually that one isn't
- # [12:54] <annevk> then we could drop HTMLFormControlsCollection
- # [12:54] <annevk> I suppose
- # [12:54] <Hixie> i don't intend to
- # [12:54] <Hixie> but we could
- # [12:54] <Hixie> oh actually it is already in html5, sorry
- # [12:54] <Hixie> i was confusing it with something else
- # [12:55] <annevk> hmm, not in my copy
- # [12:55] <annevk> " readonly attribute HTMLFormControlsCollection elements;"
- # [12:57] <Hixie> i thought you were saying we should make elements callable
- # [12:59] <annevk> no, I meant removing that interface in favor of just having <form>
- # [13:00] <annevk> might not be needed though, just an idea
- # [13:00] <Hixie> yeah, we could. i don't intend to.
- # [13:00] <annevk> it would be nice if [Callable=namedItem] and all were inside the interface def
- # [13:01] <annevk> if you link to e.g. HTMLFormElement you won't see it
- # [13:01] <Hixie> dunno how to change that
- # [13:01] <annevk> alternatively we could do one interface per <pre> and have the linking work differently
- # [13:02] <Hixie> that's either heycam's problem or gsnedders'. :-)
- # [13:02] <annevk> well, heycam could just move them inside... :)
- # [13:02] <Hixie> not without breaking compat with OMG IDL
- # [13:02] <annevk> well, one interface per <pre> is also years
- # [13:02] <annevk> I see
- # [13:06] <Hixie> heycam: it's unfortunate that for the enumeration stuff i have to first list how to get the list of names, then list how to get the mapping of name to value
- # [13:06] <Hixie> heycam: since those two operations are so similar
- # [13:10] * Quits: rubys (n=rubys@cpe-075-182-092-038.nc.res.rr.com) (Remote closed the connection)
- # [13:14] <Hixie> ok i'm taking a break
- # [13:14] <Hixie> before i lost my sanity
- # [13:14] <Hixie> forms are crazy
- # [13:14] <Hixie> dom level 0 is crazy
- # [13:14] <Hixie> IE is crazy
- # [13:14] <Hixie> all three together = crazitasticness
- # [13:16] <Philip`> Does anyone still have IE8b2?
- # [13:17] <Philip`> If so: Does <!DOCTYPE html><svg xmlns=x> give an element called 'svg' inside HEAD, or an element called 'SVG' before HTML?
- # [13:18] <Philip`> (It gives the former in IE8RC1, and parses elements inside there with its normal XMLish rules rather than its normal HTML ones)
- # [13:19] <Philip`> (and it does that for seemingly any unrecognised element, with an xmlns attribute that contains at least one character)
- # [13:20] <Hixie> in the dom viewer, "<!DOCTYPE html><svg xmlns=x>s" says:
- # [13:20] <Hixie> http://junkyard.damowmow.com/350
- # [13:21] <Hixie> ie8b2
- # [13:21] <Hixie> Philip`: ^
- # [13:21] <Philip`> Thanks
- # [13:21] <Philip`> Look like it's changed in RC1, then
- # [13:21] <Hixie> what do later beta do?
- # [13:21] <Philip`> *Looks
- # [13:22] <Philip`> Hixie: They give:
- # [13:22] <Philip`> HTML
- # [13:22] <Philip`> HEAD
- # [13:22] <Philip`> TITLE
- # [13:22] <Philip`> svg xmlns="x"
- # [13:23] <Philip`> and you can write <svg xmlns=x><foo><bar/><baz/></foo></svg> and it'll parse into the same kind of tree as if it were XML
- # [13:23] <Hixie> and without the xmlns?
- # [13:24] <Philip`> Without that, it does the same as IE8b2 (which is the same as IE7 and IE6)
- # [13:25] <Hixie> so basically they just added xmlns="" as a way to do what used to be only possible with a prefix?
- # [13:25] <Philip`> Yes
- # [13:25] <Hixie> i wonder how many pages that breaks
- # [13:26] <Hixie> given how common xmlns="" attributes are
- # [13:26] <Philip`> It's only on unrecognised elements, so it won't affect most
- # [13:27] <Hixie> i love how they still support style="", onclick="", etc, on these elements
- # [13:28] <Hixie> what happens with things like: <html>...<foo xmlns="">...<input type=submit> ?
- # [13:31] * Quits: virtuelv (n=virtuelv@pat-tdc.opera.com) ("Leaving")
- # [13:32] <Philip`> You get a submit button
- # [13:34] <Hixie> so e.g. <svg xmlns=""> ... <font> ... <script> ... </svg> wouldn't have svg <font> amd <script> elements?
- # [13:34] * Joins: virtuelv (n=virtuelv@213.236.208.247)
- # [13:35] <Philip`> <svg xmlns=x><font color=red>Hello</font></svg> is rendered as red text
- # [13:35] <Philip`> (with the FONT element being a child of the svg element)
- # [13:36] <Hixie> good times
- # [13:36] <Hixie> ok
- # [13:36] <Hixie> bed time
- # [13:36] <Hixie> nn
- # [13:44] * Quits: hallvors (n=hallvord@softbank221089079197.bbtec.net)
- # [13:56] * Joins: pauld (n=pauld@host81-130-14-9.in-addr.btopenworld.com)
- # [14:09] * Quits: pauld (n=pauld@host81-130-14-9.in-addr.btopenworld.com) (Connection reset by peer)
- # [14:14] * Quits: virtuelv (n=virtuelv@213.236.208.247) ("Leaving")
- # [14:21] * Joins: MikeSmith (n=MikeSmit@EM114-48-147-17.pool.e-mobile.ne.jp)
- # [14:25] * Joins: virtuelv (n=virtuelv@pat-tdc.opera.com)
- # [14:34] * Quits: svl (n=me@ip565744a7.direct-adsl.nl) ("And back he spurred like a madman, shrieking a curse to the sky.")
- # [14:36] <MikeSmith> hsivonen: I notice you changed the content model for colgroup
- # [14:37] <MikeSmith> how are you having validator.nu enforce the constraint that a colgroup with a col child can't have a span attribute?
- # [14:38] * Joins: rubys (n=rubys@cpe-075-182-092-038.nc.res.rr.com)
- # [14:42] * Quits: aaronlev_ (n=chatzill@e179060186.adsl.alicedsl.de) ("ChatZilla 0.9.84 [Firefox 3.1b3pre/20090109073009]")
- # [14:42] <zcorpan> colgroup = (col* | colgroup.attrs.span?) & colgroup.attrs
- # [14:42] <hsivonen> MikeSmith: it's quite possible that I'm not
- # [14:42] <MikeSmith> hsivonen: it seems you changed the content model in r371
- # [14:42] <MikeSmith> in table.rnc
- # [14:43] <hsivonen> I added span, but I forgot about the child restriction in that case
- # [14:44] * Joins: aaronlev (n=chatzill@e179060186.adsl.alicedsl.de)
- # [14:44] <MikeSmith> hsivonen: I think it worked as expected the way you had it before
- # [14:44] <MikeSmith> what zcorpan cited above
- # [14:44] <hsivonen> oh.
- # [14:54] * Quits: Kuruma (n=Kuruman@h116-000-163-146.catv01.catv-yokohama.ne.jp) (Read error: 54 (Connection reset by peer))
- # [14:55] * Joins: hdh (n=hdh@58.187.22.95)
- # [14:57] <hsivonen> checked in but my deployment script isn't working reliably
- # [14:58] <MikeSmith> OK
- # [14:58] * Quits: virtuelv (n=virtuelv@pat-tdc.opera.com) (Remote closed the connection)
- # [14:59] * Joins: Kuruma (n=Kuruman@h116-000-163-146.catv01.catv-yokohama.ne.jp)
- # [15:09] * Joins: virtuelv (n=virtuelv@213.236.208.247)
- # [15:23] * Joins: zdobersek (n=zan@cpe-92-37-71-200.dynamic.amis.net)
- # [15:25] <hsivonen> MikeSmith: now deployed.
- # [15:25] <MikeSmith> hsivonen: thanks
- # [15:32] * Quits: virtuelv (n=virtuelv@213.236.208.247) (Read error: 60 (Operation timed out))
- # [15:45] * Quits: Kuruma (n=Kuruman@h116-000-163-146.catv01.catv-yokohama.ne.jp) (Remote closed the connection)
- # [15:48] * Joins: Kuruma (n=Kuruman@h116-000-163-146.catv01.catv-yokohama.ne.jp)
- # [15:53] * Joins: xydyx (n=hdh@58.187.22.95)
- # [16:07] * Quits: ap (n=ap@195.239.126.10)
- # [16:10] * Joins: eric_carlson (n=ericc@nat/apple/x-b0dd3c648c8dcb95)
- # [16:11] * Joins: aroben (n=aroben@unaffiliated/aroben)
- # [16:15] * Quits: hdh (n=hdh@58.187.22.95) (Read error: 110 (Connection timed out))
- # [16:17] * Joins: billyjackass (n=MikeSmit@EM114-48-129-12.pool.e-mobile.ne.jp)
- # [16:24] * Quits: aroben (n=aroben@unaffiliated/aroben) (Read error: 104 (Connection reset by peer))
- # [16:27] * Joins: webben (n=webben@nat/yahoo/x-84cfcdeac6b18447)
- # [16:32] * Quits: MikeSmith (n=MikeSmit@EM114-48-147-17.pool.e-mobile.ne.jp) (Read error: 110 (Connection timed out))
- # [16:40] * Joins: aroben (n=aroben@c-71-58-73-153.hsd1.pa.comcast.net)
- # [16:41] * Quits: maikmerten (n=merten@ls5dhcp195.cs.uni-dortmund.de) (Remote closed the connection)
- # [16:47] * Joins: primal1 (n=primal1@pool-72-87-132-196.lsanca.dsl-w.verizon.net)
- # [16:51] * Quits: myakura (n=myakura@p1096-ipbf1904marunouchi.tokyo.ocn.ne.jp) ("Leaving...")
- # [16:54] * Quits: zdobersek (n=zan@cpe-92-37-71-200.dynamic.amis.net) (Read error: 110 (Connection timed out))
- # [16:56] * Joins: zdobersek (n=zan@cpe-92-37-75-121.dynamic.amis.net)
- # [16:59] <annevk> namespace without documentation: http://wordpress.org/export/1.0/ :/
- # [17:00] <gsnedders> annevk: WXR isn't even XML anyway
- # [17:00] <gsnedders> annevk: WP's WXR parser totally ignores namespaces, too.
- # [17:00] <annevk> that's all cool, I just need to be able to write it so WordPress can consume all my content
- # [17:00] <gsnedders> annevk: It basically uses regexes to parse it
- # [17:00] <gsnedders> annevk: OK, make sure you use CDATA blocks where WP does.
- # [17:00] <hsivonen> WP seems to have given up on its ideals since it overtook MT as the most popular blogging platform
- # [17:00] * Joins: dglazkov (n=dglazkov@nat/google/x-9c2bafe26fd02ef1)
- # [17:01] <gsnedders> hsivonen: I'd argue before that, but hey
- # [17:01] <hsivonen> annevk: are you migrating from your own system to WP?
- # [17:01] <annevk> I was thinking about it, yes
- # [17:01] <zcorpan> why?
- # [17:01] <Philip`> gsnedders: Would you argue that giving up on its ideals was a necessary factor in its becoming the most popular blogging platform?
- # [17:01] <annevk> to more easily get OpenID support and all
- # [17:01] <gsnedders> annevk: Take a look at Habari.
- # [17:01] <gsnedders> Philip`: No
- # [17:01] <Lachy> woah. I wouldn't. Personally, I want to migrate away from WP to my own system. I just don't have time to write it
- # [17:01] <Philip`> gsnedders: Oh, okay then
- # [17:01] * Quits: Maurice (n=ano@a80-101-46-164.adsl.xs4all.nl) ("Disconnected...")
- # [17:02] * gsnedders points towards #habari
- # [17:02] <gsnedders> With wonders such as: output as HTML!
- # [17:02] <gsnedders> Using a serializer to create XML!
- # [17:02] <gsnedders> All these bizarre things.
- # [17:03] <annevk> gsnedders, does Habari describe an import format I can generate?
- # [17:03] <gsnedders> annevk: Admittedly, no
- # [17:03] * annevk doesn't find it in the documentation
- # [17:04] <zcorpan> gsnedders: does it use an html5 parser and serializer?
- # [17:04] <gsnedders> zcorpan: No
- # [17:04] * Joins: svl (n=me@ip565744a7.direct-adsl.nl)
- # [17:04] <gsnedders> s9y,wordpress,MT,blogger importers.
- # [17:05] <Lachy> Habari looks nice. I might have to give it a try
- # [17:06] <annevk> maybe I should just generate a bunch of static pages of all content I have so far and start over...
- # [17:06] <gsnedders> annevk: How's it stored currently?
- # [17:07] <annevk> table for posts, table for comments, table for tags, some linking between them, iirc
- # [17:07] <gsnedders> How much is stored as XML? Comments are, aren't they? Posts too I assume?
- # [17:08] <annevk> "XML fragments"
- # [17:08] <annevk> they actually don't have a root in the database
- # [17:08] <annevk> so I can use string concat in the end :)
- # [17:08] <gsnedders> I think that'll probably be the hardest part of moving to any other system: any other system assumes HTML or HTML-compat XHTML :)
- # [17:10] <annevk> it stores Atom IDs as well, has two different summary fields, etc.
- # [17:10] * Quits: Lachy (n=Lachlan@pat-tdc.opera.com) ("This computer has gone to sleep")
- # [17:10] <annevk> two different title fields too
- # [17:10] <annevk> one text/plain and one with markup
- # [17:11] <annevk> I guess I might lose those features if I switch, hmm :/
- # [17:11] <gsnedders> That's not going to be fun moving with.
- # [17:12] * Joins: MikeSmith (n=MikeSmit@EM114-48-36-219.pool.e-mobile.ne.jp)
- # [17:12] * rubys is perpetually rewriting his own blog engine, this time in Ruby
- # [17:12] <gsnedders> annevk: I'd ask in #habari about keeping things like that
- # [17:13] * gsnedders has no idea how hard it'd be
- # [17:13] * Quits: primal1 (n=primal1@pool-72-87-132-196.lsanca.dsl-w.verizon.net)
- # [17:14] * Joins: primal1 (n=primal1@pool-72-87-132-196.lsanca.dsl-w.verizon.net)
- # [17:14] <rubys> if you look at blosxom, you can see how easy it can be. And deceptively so.
- # [17:15] <zcorpan> annevk: can't the text/plain version be generated from the markup version?
- # [17:15] * hsivonen notices that IE8's compat view button affects all *.iki.fi subdomains if activated on one. Not good.
- # [17:16] <annevk> zcorpan, I suppose, if you have a good fragment parser in place and some logic
- # [17:17] <zcorpan> annevk: what logic is needed?
- # [17:18] <annevk> expanding abbreviations maybe, dunno, haven't thought about it or studied what I've done so far
- # [17:19] <hsivonen> Hixie: is the "parser pause flag" something that's going to stay around once you take into account the script execution model feedback from Apple and Opera?
- # [17:19] <gsnedders> annevk: .textContent?
- # [17:19] * zcorpan wonders if Olivier should take email summaries less literally and try reading the spec instead
- # [17:19] <annevk> gsnedders, wouldn't expand abbreviations
- # [17:19] <gsnedders> Ah
- # [17:20] <zcorpan> why would you want to expand abbreviations?
- # [17:21] <annevk> to keep the same info in the text/plain version
- # [17:21] <annevk> is this really relevant?
- # [17:21] * annevk goes back to work
- # [17:30] * Quits: billyjackass (n=MikeSmit@EM114-48-129-12.pool.e-mobile.ne.jp) (Read error: 110 (Connection timed out))
- # [17:32] <annevk> I suppose I could consider writing a subset of an XML5 parser (one that ignores DOCTYPES and silly things) and serializer and use that to do my blog, but then I'd still have to fix OpenID support somehow and things like that
- # [17:33] <rubys> for your application, why an XML5 parser? Why not simply an HTML5 parser?
- # [17:34] <annevk> an HTML5 parser is not simple :)
- # [17:34] <Philip`> "import html5lib"
- # [17:34] <Philip`> That's easy enough :-)
- # [17:34] <annevk> in PHP?
- # [17:34] <rubys> why PHP? :-)
- # [17:34] <zcorpan> aren't there html5 parsers written in php?
- # [17:34] <annevk> that's what I have now and it's rather fast :)
- # [17:34] <Philip`> Pipe the text from PHP through an external Python process :-)
- # [17:35] <Philip`> It's silly to be constrained by only using a single language at once
- # [17:36] <jgraham> annevk: Get a less silly web host?
- # [17:36] <gsnedders> annevk: Ping @azyang
- # [17:36] <hsivonen> Hixie: the WHATWG spec doesn't have 2009 in the copyright notice
- # [17:36] <gsnedders> annevk: Also, PHP is really slow
- # [17:36] <annevk> jgraham, DreamHost is not that bad, is it?
- # [17:36] <annevk> gsnedders, usually when I do something with Python it's much slower, but I think I get the setup wrong
- # [17:36] <jgraham> annevk: Dunno but the specgen was much slower for you on dreamhost than for me on webfaction
- # [17:37] <annevk> jgraham, I wonder if it was due to way I configured everything
- # [17:37] <hsivonen> PHP--the new COBOL? :-)
- # [17:37] <jgraham> annevk: Maybe. But Dreamhost is silly because it only provides really outdated python by default
- # [17:37] <annevk> anyway, rewriting everything in Python is even more work :)
- # [17:38] <annevk> jgraham, true, though you are allowed to install your own, which sort of offsets that when you figure out how
- # [17:38] <zcorpan> "If you want to produce application/xhtml+xml, you are free to do so. If you get it right, no one will notice. If you get it wrong, no one will forgive you." - http://wiki.habariproject.org/en/XHTML_vs_HTML
- # [17:38] <jgraham> annevk: Yes but that means you have to install your own which introduces the possibility of configuring it badly
- # [17:39] <jgraham> (although I did also install my on on webfaction the default of 2.4.3 is not so bad)
- # [17:39] <annevk> fair point
- # [17:39] <rubys> zcorpan: I got it wrong once, do you forgive me? :-)
- # [17:39] <Philip`> annevk: You don't need to rewrite everything in Python, just use it as a tag-soup-to-DOM conversion tool and import the resulting DOM into PHP
- # [17:39] <Philip`> and then you don't have to go to all the effort of implementing an XML5 parser in PHP :-)
- # [17:40] <gsnedders> jgraham: What version of Anolis does pms use?
- # [17:40] * Quits: dglazkov (n=dglazkov@nat/google/x-9c2bafe26fd02ef1)
- # [17:42] <zcorpan> rubys: no, you need to learn your lesson and stop doing silly string concat :P
- # [17:42] <jgraham> gsnedders: 285:0570e687a80b
- # [17:43] * gsnedders has a vague memory of that being 1.0
- # [17:43] <gsnedders> However, I am wrong
- # [17:43] <jgraham> gsnedders: I just pulled the tip
- # [17:43] <gsnedders> There's one commit since
- # [17:43] <jgraham> That souds wrong, somehow
- # [17:44] <gsnedders> tip should be 286
- # [17:44] <gsnedders> 286 changes body to sectioning root from sectioning content (following Hixie's change of HTML 5)
- # [17:44] <Philip`> zcorpan: It'd be nice if stopping doing silly string concat let you be certain you were generating well-formed XML, but it never seems to work that well in practice :-(
- # [17:45] <jgraham> gsnedders: Yes, that's what I have now
- # [17:45] <gsnedders> jgraham: If it breaks the spec, it's Hixie's own fault :)
- # [17:46] <rubys> Phillip` +1
- # [17:46] <Philip`> (... e.g. the surrogate-character (I think?) bug in Xalan (I think?) that hsivonen encountered)
- # [17:47] * Quits: webben (n=webben@nat/yahoo/x-84cfcdeac6b18447) ("Lost terminal")
- # [17:47] * hsivonen blames his bozoness on Lotus
- # [17:48] <rubys> Meanwhile, I just got http://rails.intertwingly.net/blog/index.html to the point where it renders acceptably on IE8 beta 7000, Opera 9.63, safari 3.2.1, firefox 3.0.5, and chrome 1.0.154.43. WOOT!
- # [17:50] * Joins: dglazkov (n=dglazkov@nat/google/x-8a8b6939f7e88b92)
- # [17:50] <olliej> rubys: i'd be worried if you got something rendering correctly in safari 3.2, but not chrome
- # [17:50] <olliej> rubys: given they're both running off the same webkit branch
- # [17:51] * Joins: weinig (n=weinig@c-69-181-81-233.hsd1.ca.comcast.net)
- # [17:51] <rubys> I have some javascript on my weblog... and you can actually see the differences in the two if you look at dates
- # [17:52] <olliej> rubys: oh, i assumed you were talking about layout
- # [17:52] <olliej> rubys: they have a completely different js engine
- # [17:52] <rubys> html5 layout without javascript is broken on IE8
- # [17:53] <olliej> rubys: so their date logic is likely different... although i find myself wondering how date's could vary at all
- # [17:53] <olliej> regardless of browser
- # [17:53] <olliej> O_o
- # [17:53] <rubys> dates are the same, it is the toString and toLocaleString method that differ
- # [17:53] <annevk> oh, we have had our share of dates issues as well
- # [17:54] <annevk> e.g. getYear and getFullYear iirc
- # [17:54] <olliej> morning annevk
- # [17:54] <annevk> good afternoon olliej :p
- # [17:54] <Philip`> rubys: The "Explore" box on the right has rounded corners but an ugly rectangular border around them, in Opera 9.6something :-(
- # [17:54] * Joins: webben (n=webben@nat/yahoo/x-007390f6bb86c253)
- # [17:54] <rubys> safari: Sunday, January 11, 2009 13:52:02; chrome: Sun Jan 11 2009 13:52:02
- # [17:55] <annevk> does ECMA allow both?
- # [17:55] <olliej> annevk: back in nl?
- # [17:55] <olliej> annevk: it's ecma
- # [17:55] <Philip`> and the comment boxes with rounded corners have a white background behind the cut-out bit of the corner
- # [17:55] <annevk> yes
- # [17:55] <rubys> Phillip`: that shows a partial svg experiment that I never completed
- # [17:55] <olliej> annevk: why would you expect it to define anything?
- # [17:55] <Philip`> (rather than the proper background colour)
- # [17:55] <rubys> I'll back that out later today
- # [17:56] <annevk> olliej, I guess it's naive to assume specs are useful
- # [17:56] <rubys> opera has a cool ability to use svg in css, but its usefulness is limited by the fact that you can't do svg inline in css
- # [17:56] <zcorpan> rubys: what if IE9 implements createElementNS but doesn't change the parser?
- # [17:56] <olliej> annevk: well, esp. ecma262
- # [17:56] <rubys> zcorpan: then I'll react accordingly.
- # [17:56] <zcorpan> rubys: but maybe there will be hundreds of people copying your code and won't
- # [17:57] <annevk> rubys, E4C? :)
- # [17:57] <Philip`> rubys: Konqueror from KDE4 seems to work pretty well too
- # [17:57] <annevk> euh, C4X or something
- # [17:57] <Philip`> (But I can't test the KDE3 one because somehow it's got totally corrupted)
- # [17:57] <rubys> then don't copy my code. :-)
- # [18:02] * Joins: gavin_ (n=gavin@CPE001346f5db49-CM0018c0db9a8a.cpe.net.cable.rogers.com)
- # [18:03] * Quits: webben (n=webben@nat/yahoo/x-007390f6bb86c253) ("leaving")
- # [18:05] * Joins: webben (n=webben@nat/yahoo/x-ab0399c711563af0)
- # [18:07] * Joins: hdh0 (n=hdh@58.187.22.95)
- # [18:10] * Joins: Lachy (n=Lachlan@85.196.122.246)
- # [18:13] * Joins: Maurice (i=copyman@5ED548D4.cable.ziggo.nl)
- # [18:21] * Quits: sverrej (n=sverrej@pat-tdc.opera.com) (Read error: 110 (Connection timed out))
- # [18:21] * Quits: pesla (n=retep@procurios.xs4all.nl) ("( www.nnscript.com :: NoNameScript 4.21 :: www.esnation.com )")
- # [18:22] * Quits: xydyx (n=hdh@58.187.22.95) (Read error: 110 (Connection timed out))
- # [18:24] * Quits: dave_levin (n=dave_lev@c-98-203-247-78.hsd1.wa.comcast.net)
- # [18:35] * Quits: zcorpan (n=zcorpan@pat.se.opera.com)
- # [18:35] * Joins: dbaron (n=dbaron@c-98-234-51-190.hsd1.ca.comcast.net)
- # [18:48] * Joins: dave_levin (n=dave_lev@72.14.227.1)
- # [18:59] * Joins: sverrej (n=sverrej@cm-84.208.153.202.getinternet.no)
- # [19:03] * Joins: hober (n=ted@unaffiliated/hober)
- # [19:12] <hsivonen> does Opera 10 have any upcoming CSS features that no other browser has yet?
- # [19:13] <annevk> WebKit has SVG as background as well now right?
- # [19:14] * annevk isn't really sure what exactly is in Opera 10 to be honest
- # [19:14] <rubys> Phillip`: I got rid of the rounded corders with square edges on Opera.
- # [19:15] <rubys> not sure if this answers hsivonen's question, but opera 9 supports svg as backgrounds in css
- # [19:15] <annevk> true
- # [19:15] <annevk> we support SVG fonts referenced from @font-face, but I think WebKit has that too
- # [19:18] <annevk> of interest here might be "Removed UTF-32 encoding support"
- # [19:18] <olliej> annevk: yup
- # [19:18] <olliej> annevk: S3.1 has that :D
- # [19:18] * Joins: virtuelv (n=virtuelv@48.80-202-82.nextgentel.com)
- # [19:20] * Quits: dolske (n=dolske@firefox/developer/dolske)
- # [19:20] <rubys> why remove UTF-32 (other than the obvious: nobody uses it)?
- # [19:20] <hsivonen> rubys: implementation and QA cost
- # [19:21] <rubys> wouldn't have expected either to be that high for something already implemented...
- # [19:22] <annevk> just unneeded complexity
- # [19:23] <annevk> no need to support more charsets than necessary :)
- # [19:23] * annevk hopes we can bring it down to some fixed list at some point
- # [19:23] * Joins: jruderman (n=jruderma@c-67-180-39-55.hsd1.ca.comcast.net)
- # [19:23] <annevk> of course, someone might complain about distributed extensibility when that happens, but we can deal with that :p
- # [19:25] <Philip`> annevk: I want <meta charset="http://www.example.com/translation-table-for-my-funky-encoding.xml">
- # [19:25] <Philip`> The existing values can be interpreted as URIs relative to http://www.w3.org/2009/charsets# and it'll all be fine
- # [19:25] <rubys> I want utf-8 to be the default, but we can't all have what we want.
- # [19:26] <annevk> just include a BOM
- # [19:26] * gsnedders thinks most people here would want UTF-8 to be default
- # [19:26] <rubys> annevk: you are kidding, right? (I hope you are kidding...)
- # [19:27] <annevk> rubys, you don't like a BOM? you could use HTTP instead, doesn't really matter :)
- # [19:27] * annevk wasn't kidding about the fixed list of charsets though
- # [19:27] <annevk> and that goal seems sort of realistic
- # [19:27] <rubys> I use HTTP's charset.
- # [19: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]")
- # [19:28] <annevk> given enough time to investigate what browsers support and ways to lock it down, separate it from OS charset support, etc.
- # [19:28] * Philip` notes that failing to support encodings can be a security issue
- # [19:29] <gsnedders> annevk: Why separate it from OS charset support? Surely that's an extra impl. cost?
- # [19:29] <annevk> gsnedders, well, at least have some layer in between that limits or extends what is supported so that it is the same everywhere
- # [19:30] <gsnedders> annevk: It just seems like an extra layer for bugs
- # [19:30] <Philip`> (e.g. some servers let you select what charset the response will be in, and if you choose one that your victim's browser does not support, you can perform an XSS attack by including safe characters which get encoded into bytes that are decoded by the browser as '<')
- # [19:31] <annevk> gsnedders, not supporting the same charsets is also a source of bugs
- # [19:32] <gsnedders> Inevitably. Which has the greater cost, though?
- # [19:32] * Joins: maikmerten (n=maikmert@Lb4b9.l.pppool.de)
- # [19:32] <annevk> gsnedders, not supporting the same charsets makes sites unusable...
- # [19:33] <annevk> what happened to mr last week btw?
- # [19:33] * annevk needs his lastweekinhtml5 fix
- # [19:38] * Quits: weinig (n=weinig@c-69-181-81-233.hsd1.ca.comcast.net)
- # [19:40] * Quits: tantek (n=tantek@adsl-69-107-14-121.dsl.pltn13.pacbell.net)
- # [19:42] * Quits: jruderman (n=jruderma@c-67-180-39-55.hsd1.ca.comcast.net)
- # [19:47] <hober> http://jacobian.org/writing/descriptivists-and-prescriptivists/
- # [19:49] * Joins: KevinMarks (n=KevinMar@nat/google/x-4f8f162580ddcac2)
- # [19:49] * Quits: dbaron (n=dbaron@c-98-234-51-190.hsd1.ca.comcast.net) ("8403864 bytes have been tenured, next gc will be global.")
- # [19:51] * Quits: mpt (n=mpt@canonical/launchpad/mpt) ("Leaving")
- # [19:51] <annevk> hober, seems we do both, just not fast enough?
- # [19:52] <hober> Well, perceived speed and actual speed are probably pretty different in this case... people don't understand what the timeline means.
- # [19:53] * Quits: zdobersek (n=zan@cpe-92-37-75-121.dynamic.amis.net) (Connection timed out)
- # [19:54] * Joins: zdobersek (n=zan@cpe-92-37-65-176.dynamic.amis.net)
- # [19:55] <takkaria> that article says <canvas> is non-standardised
- # [19:56] <webben> well that's true, it isn't standardized
- # [19:56] <webben> it's just in progress towards standization.
- # [19:56] * Joins: dimich (n=dimich@72.14.227.1)
- # [19:57] <webben> though "completely-non-standardized" is over emphatic, perhaps
- # [19:57] * Joins: dolske (n=dolske@corp-241.mountainview.mozilla.com)
- # [19:59] <annevk> "
- # [19:59] <annevk> Look, Flash video is a standard. Every browser under the sun will play a YouTube video. A descriptive view of the web would recognize that Flash has won the web video war, and design a <video> container around that. Instead, we get Ogg. Great."
- # [19:59] <annevk> "I want specs that encapsulate how the web actually works, not how a group of academics wish it worked."
- # [19:59] <annevk> I guess he meant more than what I summarized above judging from this comment on his own article
- # [20:00] <rubys> If you could go back a few years, you could replace that with "Look, IE5 is a standard. Every site under the sun will work with it. A descriptive view of the web would recognize that IE5 has won the web war, and would design a HTML5 standard around that. Instead we get WHATWG. Great"
- # [20:01] * Joins: kingryan (n=kingryan@c-24-5-77-167.hsd1.ca.comcast.net)
- # [20:01] <gavin> heh
- # [20:01] <jcranmer> I know a browser that doesn't play YouTube video
- # [20:01] <jcranmer> it's called elinks
- # [20:01] <gsnedders> NOWAI
- # [20:01] <jcranmer> there's also links, lynx, etc...
- # [20:01] <jcranmer> links2, IIRC
- # [20:02] <rubys> I downloaded safari yesterday on Windows. It didn't either. I had to install something called a 'plug-in'.
- # [20:02] <jcranmer> while I'm in a complaining mood, why won't people make websites look decent in text browsers?
- # [20:02] <jcranmer> or even usable?
- # [20:02] <gavin> because no one uses text browsers
- # [20:02] <rubys> jcranmer: I can't speak for all people, but I can say that I have tried to make my website look decent in text browsers.
- # [20:03] <jcranmer> gavin: another way of putting the usability aspect
- # [20:03] <jcranmer> don't rely on javascript if you don't have to
- # [20:03] * jcranmer glares at blackboard
- # [20:03] <gavin> "the usability aspect"?
- # [20:04] <takkaria> hmm, the author seems to say one needs a balance of prescriptivism and descriptivism, and then in the comments implies that he actually really just wants to be a descriptivist
- # [20:04] <jcranmer> making websites usable in text browsers
- # [20:05] <gavin> in that case I have no idea what the thing just said to me was supposed to convey
- # [20:08] * Joins: jwalden (n=waldo@corp-241.mountainview.mozilla.com)
- # [20:09] * Joins: tantek (n=tantek@c-67-161-5-143.hsd1.ca.comcast.net)
- # [20:15] * Joins: jruderman (n=jruderma@corp-241.mountainview.mozilla.com)
- # [20:26] * Quits: eric_carlson (n=ericc@nat/apple/x-b0dd3c648c8dcb95)
- # [20:38] <Philip`> It seems strange to call the WHATWG "a group of academics", since very few members of it are academics
- # [20:40] <Philip`> Or is the descriptivist approach to say that the term "academics" simply means "any group of people who I want to insult because they think differently to me"?
- # [20:44] <annevk> maybe more like "any group of people who has nice ideas that will never fly in the real world"
- # [20:45] * Quits: jruderman (n=jruderma@corp-241.mountainview.mozilla.com)
- # [20:46] <Philip`> annevk: I think that's missing the connotations that the people being referred to are clueless about the real world
- # [20:46] * Quits: webben (n=webben@nat/yahoo/x-ab0399c711563af0) (Read error: 110 (Connection timed out))
- # [20:47] <Philip`> (Obviously "real world" is entirely subjective and means "the way I currently view the world")
- # [20:47] <annevk> sure, and obviously not everyone thinks our ideas are nice...
- # [20:47] * Joins: jruderman (n=jruderma@corp-241.mountainview.mozilla.com)
- # [20:57] * Quits: roc (n=roc@121-72-177-3.dsl.telstraclear.net)
- # [21:05] * Quits: MikeSmith (n=MikeSmit@EM114-48-36-219.pool.e-mobile.ne.jp) (Read error: 110 (Connection timed out))
- # [21:07] * Quits: maikmerten (n=maikmert@Lb4b9.l.pppool.de) (Read error: 110 (Connection timed out))
- # [21:08] * Joins: maikmerten (n=maikmert@L8e7b.l.pppool.de)
- # [21:18] * Joins: jruderman_ (n=jruderma@corp-241.mountainview.mozilla.com)
- # [21:18] * Quits: jruderman (n=jruderma@corp-241.mountainview.mozilla.com) (Read error: 104 (Connection reset by peer))
- # [21:18] <tantek> Philip', "real world" is only entirely subjective if discussed theoretically. if OTOH, one responds to claims of something being (or not being) "real world" with [citation needed] then we can argue based on data/examples/sampling of natural phenomena which tends to better approximate the "real world".
- # [21:20] * Joins: sicking_ (n=chatzill@corp-242.mountainview.mozilla.com)
- # [21:24] * Quits: primal1 (n=primal1@pool-72-87-132-196.lsanca.dsl-w.verizon.net)
- # [21:27] * Joins: tantek_ (n=tantek@c-67-161-5-143.hsd1.ca.comcast.net)
- # [21:29] <hsivonen> rubys: for example, Sun's JDK doesn't come with a UTF-32 decoder. It would be silly to require me to write one or to require HTML parsers to require ICU4J to support something no one uses outside of test suites.
- # [21:30] <hsivonen> Philip`: supporting encodings is a security issue too. Consider IE and Safari & EBCDIC.
- # [21:32] <hsivonen> rubys: I downloaded Windows 7 beta, and IE8 didn't play Flash video out-of-the-box...
- # [21:32] <rubys> hsivonen: what you are talking about is subtly different? You are describing what encodings the spec REQUIRES, and the original question was what encodings an implementation choses to implement...
- # [21:33] <rubys> I would think that a browser that ran on a mainframe might, for example, support EBCDIC; but I wouldn't mandate that every browser does so.
- # [21:33] <hsivonen> rubys: supporting EBCDIC is potentially harmful in a security way. supporting UTF-32 is harmful is an opportunity cost way
- # [21:33] <annevk> wouldn't that be bad, because that would mean mainframe content becomes walled gardened
- # [21:34] <hsivonen> rubys: I think we should ban all the encoding that we can ban practically
- # [21:34] <rubys> good luck with that
- # [21:35] <rubys> a parser on a mainframe that can't parse files found on the local hard disk would be only of, ahem, academic interest.
- # [21:35] <hsivonen> rubys: why would HTML files on the local drive be EBCDIC rather than e.g. UTF-8?
- # [21:36] <hsivonen> rubys: they do have byte-oriented storage, right?
- # [21:36] <rubys> because they were produced using ISPF/PDF
- # [21:36] <rubys> I programmed on mainframes for over a decade. The short answer to that question is no.
- # [21:36] * Quits: sicking (n=chatzill@corp-242.mountainview.mozilla.com) (Read error: 110 (Connection timed out))
- # [21:36] <hsivonen> scary
- # [21:37] * Quits: jwalden (n=waldo@corp-241.mountainview.mozilla.com) ("Reconnecting…")
- # [21:37] <rubys> The dominant format for files was (FB 80) which meant that every line took 80 characters, after that point the next line started.
- # [21:37] <annevk> but you can put a proxy between the browser and the content
- # [21:37] <annevk> rubys, sweet
- # [21:37] * Quits: tantek (n=tantek@c-67-161-5-143.hsd1.ca.comcast.net) (Read error: 110 (Connection timed out))
- # [21:38] <rubys> annevk: forget browser for a minute, consider a conforming html5 parser, pointed to a file on a hard disk.
- # [21:38] <hsivonen> anyway, it seems to me that it's more up to the mainframe world to interoperate with the rest of the world by developing UTF-8 text editors and byte-oriented storage than up to the rest of the world to complicate stuff to accommodate mainframe peculiarities
- # [21:38] * tantek_ is now known as tantek
- # [21:38] <annevk> yeah, NEL and XML 1.1 come to mind
- # [21:38] <hsivonen> rubys: I'd want that file to be in UTF-8 regardless of platform.
- # [21:38] * rubys mutters something about academics and ivory towers
- # [21:39] <annevk> rubys, fair enough, but something that fixes the encoding should be possible even on mainframes, right?
- # [21:39] <hsivonen> I consider NEL harmful
- # [21:39] <hsivonen> rubys: how do mainframes read PNG files?
- # [21:39] <rubys> The rest of the world needs to change to accommodate your view of the world. Gotcha.
- # [21:40] <annevk> rubys, to a certain extent that is true, yes, people can't write <foo> as root element for HTML documents either, for instance
- # [21:40] <gavin> part of the rest of the world needs to change to accommodate the rest of the world
- # [21:40] <hsivonen> rubys: like XML changing to accommodate IBM mainframe view of the world? :-)
- # [21:41] <annevk> heh
- # [21:42] <hsivonen> in retrospect, it wasn't such a great idea to specify SGML in terms of mainframeish "records" and pretend that CRLF magically morphs into record boundaries by fictitious record start/ends getting inserted and immediately removed
- # [21:43] <rubys> gavin: a html5 parser on a mainframe reading a text file needs to change to support what? Let's be clear: nobody is arguing that EBCDIC should be REQUIRED. I'm just pushing back on the notion that any encodings can be PROHIBITED.
- # [21:44] <hsivonen> rubys: fwiw, I'm OK with an HTML5 parser on a mainframe supporting EBCDIC for local files as long as nothing EBCDIC-encoded ever goes over the HTTP wire
- # [21:44] <gavin> I'm suggesting that the mainframe needs to change to support be able to support an html5 user-agent
- # [21:44] * Quits: maikmerten (n=maikmert@L8e7b.l.pppool.de) (Remote closed the connection)
- # [21:45] * rubys chuckles
- # [21:45] <rubys> One can certainly send XHTML as EBCDIC and have it work with parsers that have installed the right encoding support.
- # [21:45] <Philip`> I thought the whole point of it being a mainframe was that it hadn't changed since the 1960s :-)
- # [21:45] <rubys> HTTP certainly would not prohibit such
- # [21:46] <hsivonen> rubys: that's an interop problem
- # [21:46] <rubys> yup
- # [21:46] <rubys> So is sending PNGs to lynx.
- # [21:46] <hsivonen> in fact, the whole encoding thing is a huge interop loophole in XML
- # [21:47] <gavin> I am aware that changing mainframes is not exactly trivial!
- # [21:47] * Joins: jwalden (n=waldo@corp-241.mountainview.mozilla.com)
- # [21:47] <annevk> encoding is a huge interop problem on the Web as well
- # [21:47] <annevk> e.g. sites trying to exchange data with each other
- # [21:48] <rubys> yup. And I would agree that a BCP (in IETF terms) document describing the set of encodings that are widely supported would be a Good Thing.
- # [21:49] <hsivonen> is there a good reason why NEL maps to an Unicode character of its own instead of the EBCDIC to Unicode conversion mapping it to LF?
- # [21:49] <rubys> http://feedvalidator.org/docs/warning/ObscureEncoding.html
- # [21:49] <rubys> brb
- # [21:50] <rubys> back
- # [21:52] * Quits: kingryan (n=kingryan@c-24-5-77-167.hsd1.ca.comcast.net)
- # [21:52] <rubys> I guessing that NEL is to distinguish between the (uncommonly used but actual) CR and NL characters and the virtual new lines that are inserted between record boundaries.
- # [21:53] <hsivonen> how do mainframes deal with the octet-orientedness of IETF protocols?
- # [21:55] <rubys> (records consist of octets, but nevermind) Web servers on mainframes certainly support common encodings for interchange. For text files on disk, an EBCDIC to some encoding based on ASCII is performed. For that reason, it would probably be a good idea if HTML5 parsers on a mainframe could process the same files.
- # [21:56] <hsivonen> rubys: that's not the kind of area HTML5 tries to be normative about
- # [21:57] * hsivonen looks up the answer to a similar issue in the context of a theoretical mobile device
- # [21:59] <hsivonen> I located the thread: http://lists.w3.org/Archives/Public/public-html-comments/2008Jan/0071.html
- # [21:59] * Joins: ojan (n=ojan@nat/google/x-669b4c3b860d4634)
- # [22:01] <rubys> "I don't see how it is practical for HTML 5 to have a blacklist of encodings that should not be supported." +1
- # [22:01] <hsivonen> the reply I wanted to reuse is http://lists.w3.org/Archives/Public/public-html-comments/2008Jan/0076.html
- # [22:06] * Joins: webben (n=webben@91.85.203.185)
- # [22:07] * Joins: kingryan (n=kingryan@adsl-99-189-162-6.dsl.pltn13.sbcglobal.net)
- # [22:08] * Joins: hallvors (n=hallvord@softbank221089079197.bbtec.net)
- # [22:08] * Quits: kingryan (n=kingryan@adsl-99-189-162-6.dsl.pltn13.sbcglobal.net) (Client Quit)
- # [22:09] * Joins: sicking (n=chatzill@corp-242.mountainview.mozilla.com)
- # [22:11] * Quits: jruderman_ (n=jruderma@corp-241.mountainview.mozilla.com)
- # [22:13] * Joins: jruderman (n=jruderma@corp-241.mountainview.mozilla.com)
- # [22:19] * annevk reads http://realtech.burningbird.net/semantic-web/semantic-markup/stop-justifying-rdfa "Otherwise, we wouldn't be able to combine documents found on the web with any degree of confidence." and wonders how you can do that without much additional processing to determine whether either or both resources are in fact not spam
- # [22:21] <takkaria> it irritates me that RDF's inate logic of subject-predicate was shown to be inadequate in describing the world back in 1892
- # [22:21] <hsivonen> me smiles at 'In other words, begin with the assumption that RDF has value in, and of itself, and does not need to be "justified".'
- # [22:23] * Quits: sicking_ (n=chatzill@corp-242.mountainview.mozilla.com) (Read error: 113 (No route to host))
- # [22:24] <annevk> yeah, that's quite a cop out
- # [22:25] <annevk> if that were true we should add SMIL support to HTML5...
- # [22:25] <hsivonen> as usual, her RDFa example omits the ns decls
- # [22:25] <hsivonen> with ns decls, RDF becomes like this: http://www.tbray.org/ongoing/When/200x/2003/12/13/-big/XMLporn.jpg
- # [22:27] <annevk> yeah, it's terrible, see e.g. the site linked from http://twitter.com/markbirbeck/status/1112827320
- # [22:27] <annevk> (which also still uses DTDs for some odd reason)
- # [22:28] * Quits: tndH (n=Rob@james-baillie-pc083-058.student-halls.leeds.ac.uk) ("ChatZilla 0.9.84-rdmsoft [XULRunner 1.9.0.1/2008072406]")
- # [22:28] <hsivonen> that's a lot of ontologies minted by one domain holder...
- # [22:29] <takkaria> oh, christ
- # [22:29] <takkaria> the london gazette site is terrible...
- # [22:33] <annevk> the contrast between our efforts to simplify markup and what the XHTML2 WG is up to is striking
- # [22:33] <annevk> and might be worth some blog post to highlight the differences at some point :)
- # [22:34] <Philip`> It's not really a fair comparison unless HTML5 has a mechanism for expressing the same kind of data
- # [22:37] * Quits: heycam (n=cam@124-168-97-132.dyn.iinet.net.au) ("bye")
- # [22:39] <hsivonen> Philip`: shouldn't the comparison be on the use case and syntax levels? after all, the differences in data expression would be the thing to compare
- # [22:40] <hsivonen> that is, presupposing a certain data model defeats the purpose of comparison
- # [22:42] <Philip`> hsivonen: Yes - I just mean it'd be unfair to strip out all the xmlns stuff and all the RDFa attributes, and replace it with <!doctype html> and say "look how simple it is now!"
- # [22:43] <hsivonen> Philip`: isn't that pretty much what Shelley's example is?
- # [22:43] <hsivonen> and RDFa examples in general usually
- # [22:45] * Joins: weinig (n=weinig@17.203.15.230)
- # [22:45] * Quits: ROBOd (n=robod@89.122.216.38) ("http://www.robodesign.ro")
- # [22:46] <Philip`> hsivonen: No idea, I haven't read that blog post
- # [22:48] <Philip`> (I'm just responding to the incredulity at the london-gazette site)
- # [22:50] * Joins: doublec (n=chris@202.0.36.64)
- # [22:51] <hsivonen> 'There is no confusion about what each of us "means", when use use "subject".'
- # [22:51] <takkaria> does anyone know how Google give you the useful links under the first result?
- # [22:51] <hsivonen> is there a controlled vocabulary for the values of subject?
- # [22:52] <hsivonen> takkaria: partly sitemap, I think, but I guess it's not all sitemap
- # [23:13] * Joins: tantek_ (n=tantek@c-67-161-5-143.hsd1.ca.comcast.net)
- # [23:21] * Joins: tndH (n=Rob@james-baillie-pc083-058.student-halls.leeds.ac.uk)
- # [23:27] * Quits: Maurice (i=copyman@5ED548D4.cable.ziggo.nl) ("Disconnected...")
- # [23:28] * Quits: hallvors (n=hallvord@softbank221089079197.bbtec.net) (Read error: 60 (Operation timed out))
- # [23:29] * Quits: tantek (n=tantek@c-67-161-5-143.hsd1.ca.comcast.net) (Read error: 110 (Connection timed out))
- # [23:35] * Joins: dbaron (n=dbaron@corp-241.mountainview.mozilla.com)
- # [23:39] * Joins: roc (n=roc@202.0.36.64)
- # [23:39] * Quits: roc (n=roc@202.0.36.64) (Read error: 104 (Connection reset by peer))
- # [23:40] * Joins: roc (n=roc@202.0.36.64)
- # [23:43] * Quits: roc (n=roc@202.0.36.64) (Client Quit)
- # [23:43] * Joins: roc (n=roc@202.0.36.64)
- # [23:50] * Quits: rubys (n=rubys@cpe-075-182-092-038.nc.res.rr.com) (Remote closed the connection)
- # [23:56] * Quits: zdobersek (n=zan@cpe-92-37-65-176.dynamic.amis.net) (Remote closed the connection)
- # [23:57] * Quits: virtuelv (n=virtuelv@48.80-202-82.nextgentel.com) (Read error: 110 (Connection timed out))
- # Session Close: Wed Jan 14 00:00:00 2009
The end :)