Options:
- # Session Start: Mon Sep 06 00:00:01 2010
- # Session Ident: #whatwg
- # [00:07] * Joins: MikeSmith_ (~MikeSmith@EM111-188-54-132.pool.e-mobile.ne.jp)
- # [00:09] * Quits: annevk (~annevk@cm-84.208.74.81.getinternet.no) (Quit: annevk)
- # [00:09] * Quits: smaug____ (~chatzilla@cs181063178.pp.htv.fi) (Quit: ChatZilla 0.9.86 [Firefox 4.0b5pre/20100823134346])
- # [00:09] * Quits: MikeSmith (~MikeSmith@EM114-48-199-116.pool.e-mobile.ne.jp) (Ping timeout: 240 seconds)
- # [00:09] * MikeSmith_ is now known as MikeSmith
- # [00:15] * Quits: payman_h (~payman@h85-8-2-58.static.se.alltele.net) (Ping timeout: 245 seconds)
- # [00:42] * Quits: FireFly (~firefly@unaffiliated/firefly) (Quit: swatted to death)
- # [00:45] * Joins: Peter- (~peter@5ED0FE12.cable.ziggo.nl)
- # [00:47] * Quits: ZombieLoffe (~e@unaffiliated/zombieloffe)
- # [00:49] * Joins: homata (~homata@58x158x182x50.ap58.ftth.ucom.ne.jp)
- # [00:50] * Joins: Madness (~petal@host57-134-static.35-88-b.business.telecomitalia.it)
- # [00:50] * Quits: s0enke (~soenke@naturalborngrillers.org) (Read error: Operation timed out)
- # [00:51] * Quits: theMadness (~petal@host57-134-static.35-88-b.business.telecomitalia.it) (Read error: Connection reset by peer)
- # [00:51] * Joins: s0enke (~soenke@naturalborngrillers.org)
- # [01:12] * Quits: Peter- (~peter@5ED0FE12.cable.ziggo.nl) (Read error: Connection reset by peer)
- # [01:20] * Joins: Peter- (~peter@5ED0FE12.cable.ziggo.nl)
- # [01:28] * Joins: cypha (~sallabanc@69.50.70.12)
- # [01:33] <variable> The One Page Principle: A specification that will not fit on one page of 8.5x11 inch paper\ cannot be understood. -- Mark Ardis
- # [01:33] <variable> :-|
- # [01:34] <Philip`> And a specification that will fit cannot be interoperably implemented
- # [01:34] <Philip`> Understanding is overrated
- # [01:35] <Dashiva> You don't need to understand the spec, just pieces of it big enough to make a test suite
- # [01:35] <jcranmer> a specification that fits on one page of 8.5x11 inch paper was written by an academic who has no concept of what the real world actually looks like
- # [01:36] * Joins: jlebar (~jlebar@nat/mozilla/x-nmwbmsazlqfmrmko)
- # [01:36] <jcranmer> writing the specification for a language implemented by a ~800-line parser (including internal documentation comments and whitespace) is 3 pages long
- # [01:37] <variable> jcranmer, as a corollary of Mark Ardis and you: no real world spec could ever be understood
- # [01:37] <Rik`> I think we can conclude that the real world cannot be understood
- # [01:37] <variable> I just mentioned it cause it came on fortune ;)
- # [01:37] <Dashiva> We could just conclude that Mark Ardis is wrong
- # [01:38] <Dashiva> Or we can correctly state that he doesn't specify a minimum font size
- # [01:38] <Dashiva> Even HTML5 fits on one page if you make the font small enough!
- # [01:39] <variable> Dashiva, true, true
- # [01:40] <Dashiva> I've had exams where we were allowed to bring notes, one allowed a single page and another a single index card. The page case specified minimum 10px font, the index card "big enough that the teacher can read it without a magnifying lens"
- # [01:41] * Joins: yutak_home (~kee@U017209.ppp.dion.ne.jp)
- # [01:41] <variable> Dashiva, hillarious. Neither specifies the max size of the paper
- # [01:41] <variable> or the font itself
- # [01:41] <variable> I could create a font where 9px is tiny
- # [01:41] <Dashiva> It was A4 paper and 5x3 index card
- # [01:42] <variable> too bad
- # [01:42] <Dashiva> They were handed out beforehand. The paper because it had letterhead, and the index card for no particular reason
- # [01:43] <variable> Dashiva, what class was this for?
- # [01:44] <Dashiva> One was parallel systems and programming, the other was modern history
- # [01:46] <jcranmer> Dashiva: that's gotta suck for me
- # [01:46] <jcranmer> I can read my own notes without magnifying lens
- # [01:46] <jcranmer> but many people would have problems doing the same
- # [01:46] <jcranmer> to put it another way
- # [01:47] <jcranmer> I squished a 7x7 matrix in 2x2 of quadrille-ruled notebook paper
- # [01:48] <Dashiva> Well, you could... write bigger
- # [01:48] <jcranmer> ...
- # [01:49] <jcranmer> I've tried
- # [01:49] <jcranmer> I generally fail
- # [01:49] <Dashiva> You could ask someone else to write for you :)
- # [01:56] * Quits: dbaron (~dbaron@c-98-234-51-190.hsd1.ca.comcast.net) (Quit: 8403864 bytes have been tenured, next gc will be global.)
- # [01:58] * Joins: nessy (~Adium@124-169-0-56.dyn.iinet.net.au)
- # [01:58] * Quits: Peter- (~peter@5ED0FE12.cable.ziggo.nl) (Read error: Connection reset by peer)
- # [02:07] * Joins: wakaba_ (~wakaba_@122x221x184x68.ap122.ftth.ucom.ne.jp)
- # [02:07] * Joins: Peter- (~peter@5ED0FE12.cable.ziggo.nl)
- # [02:29] * Philip` tends to write small too
- # [02:29] <Philip`> I currently have 28 shopping lists on an A8 piece of paper
- # [02:29] <Philip`> (Not extremely long lists, admittedly)
- # [02:32] * Joins: Heimidal_ (~heimidal@c-71-237-116-77.hsd1.co.comcast.net)
- # [02:47] * Quits: Peter- (~peter@5ED0FE12.cable.ziggo.nl) (Read error: Connection reset by peer)
- # [02:53] * Joins: boblet (~boblet@p2103-ipbf21osakakita.osaka.ocn.ne.jp)
- # [02:54] * Quits: jlebar (~jlebar@nat/mozilla/x-nmwbmsazlqfmrmko) (Ping timeout: 240 seconds)
- # [02:55] * Joins: Peter- (~peter@5ED0FE12.cable.ziggo.nl)
- # [02:59] * Joins: jlebar (~jlebar@nat/mozilla/x-njupxcwhdoamfimd)
- # [03:02] * Quits: ttepasse (~ttepasse@ip-109-90-160-217.unitymediagroup.de) (Quit: Now time for the weather. Tiffany?)
- # [03:02] * Joins: dbaron (~dbaron@c-98-234-51-190.hsd1.ca.comcast.net)
- # [03:03] * Joins: homata__ (~homata@58x158x182x50.ap58.ftth.ucom.ne.jp)
- # [03:05] * Quits: homata (~homata@58x158x182x50.ap58.ftth.ucom.ne.jp) (Ping timeout: 258 seconds)
- # [03:07] * Joins: cying (~cying@c-24-4-120-70.hsd1.ca.comcast.net)
- # [03:16] * Quits: yutak_home (~kee@U017209.ppp.dion.ne.jp) (Quit: Ex-Chat)
- # [03:17] * Joins: homata (~homata@58x158x182x50.ap58.ftth.ucom.ne.jp)
- # [03:18] * Joins: agektmr (~Adium@2401:fa00:4:1012:fa1e:dfff:fee6:d74e)
- # [03:19] * Quits: homata__ (~homata@58x158x182x50.ap58.ftth.ucom.ne.jp) (Ping timeout: 258 seconds)
- # [03:26] * Joins: homata___ (~homata@58x158x182x50.ap58.ftth.ucom.ne.jp)
- # [03:27] * Quits: homata (~homata@58x158x182x50.ap58.ftth.ucom.ne.jp) (Ping timeout: 258 seconds)
- # [03:36] * Quits: Peter- (~peter@5ED0FE12.cable.ziggo.nl) (Read error: Connection reset by peer)
- # [03:44] * Joins: Peter- (~peter@5ED0FE12.cable.ziggo.nl)
- # [03:45] * Joins: homata (~homata@58x158x182x50.ap58.ftth.ucom.ne.jp)
- # [03:47] * Quits: homata___ (~homata@58x158x182x50.ap58.ftth.ucom.ne.jp) (Ping timeout: 258 seconds)
- # [03:58] * Quits: homata (~homata@58x158x182x50.ap58.ftth.ucom.ne.jp) (Ping timeout: 258 seconds)
- # [04:00] * Quits: cying (~cying@c-24-4-120-70.hsd1.ca.comcast.net) (Quit: cying)
- # [04:06] * Quits: dbaron (~dbaron@c-98-234-51-190.hsd1.ca.comcast.net) (Quit: 8403864 bytes have been tenured, next gc will be global.)
- # [04:08] * Joins: homata (~homata@58x158x182x50.ap58.ftth.ucom.ne.jp)
- # [04:12] * Joins: jacobolus (~jacobolus@c-67-186-134-101.hsd1.ma.comcast.net)
- # [04:12] * Quits: Heimidal_ (~heimidal@c-71-237-116-77.hsd1.co.comcast.net) (Ping timeout: 245 seconds)
- # [04:13] * Joins: Heimidal (~heimidal@unaffiliated/heimidal)
- # [04:20] * Quits: riven (~riven@53518387.cable.casema.nl) (Read error: Connection reset by peer)
- # [04:21] * Joins: riven (~riven@53518387.cable.casema.nl)
- # [04:23] * Quits: Peter- (~peter@5ED0FE12.cable.ziggo.nl) (Read error: Connection reset by peer)
- # [04:23] * Joins: nattokirai (~nattokira@i218-47-105-167.s01.a001.ap.plala.or.jp)
- # [04:23] * Quits: nattokirai (~nattokira@i218-47-105-167.s01.a001.ap.plala.or.jp) (Client Quit)
- # [04:25] * Joins: miketaylr (~miketaylr@24.42.95.108)
- # [04:31] * Joins: Peter- (~peter@5ED0FE12.cable.ziggo.nl)
- # [04:32] * Joins: kennyluck_ (~kennyluck@EM114-48-205-28.pool.e-mobile.ne.jp)
- # [04:34] * Quits: riven (~riven@53518387.cable.casema.nl) (Read error: Connection reset by peer)
- # [04:35] * Joins: riven (~riven@53518387.cable.casema.nl)
- # [04:35] * Quits: kennyluck (~kennyluck@EM114-48-11-200.pool.e-mobile.ne.jp) (Ping timeout: 252 seconds)
- # [04:35] * kennyluck_ is now known as kennyluck
- # [05:04] * Joins: jacobolu_ (~jacobolus@static-72-248-62-22.ma.onecommunications.net)
- # [05:06] * Quits: jacobolus (~jacobolus@c-67-186-134-101.hsd1.ma.comcast.net) (Ping timeout: 245 seconds)
- # [05:38] * Joins: peterhil (~peterhil@a91-153-127-82.elisa-laajakaista.fi)
- # [05:46] * Joins: whosjose (~whosjose@206.29.188.225)
- # [05:47] * Parts: whosjose (~whosjose@206.29.188.225) ("Leaving")
- # [05:50] * Quits: miketaylr (~miketaylr@24.42.95.108) (Quit: Leaving...)
- # [06:07] * Joins: MikeSmith_ (~MikeSmith@EM114-48-155-245.pool.e-mobile.ne.jp)
- # [06:09] * Quits: MikeSmith (~MikeSmith@EM111-188-54-132.pool.e-mobile.ne.jp) (Ping timeout: 245 seconds)
- # [06:09] * MikeSmith_ is now known as MikeSmith
- # [06:13] * Quits: JoePeck (~JoePeck@c-76-102-33-198.hsd1.ca.comcast.net) (Quit: -)
- # [06:18] * Quits: jacobolu_ (~jacobolus@static-72-248-62-22.ma.onecommunications.net) (Remote host closed the connection)
- # [06:19] * Quits: boblet (~boblet@p2103-ipbf21osakakita.osaka.ocn.ne.jp) (Quit: boblet)
- # [06:33] * Joins: zcorpan_ (~zcorpan@c-ec9fe355.410-6-64736c14.cust.bredbandsbolaget.se)
- # [06:41] * Quits: jlebar (~jlebar@nat/mozilla/x-njupxcwhdoamfimd) (Ping timeout: 252 seconds)
- # [06:43] * Quits: homata (~homata@58x158x182x50.ap58.ftth.ucom.ne.jp) (Ping timeout: 258 seconds)
- # [06:48] * Quits: Peter- (~peter@5ED0FE12.cable.ziggo.nl) (Read error: Connection reset by peer)
- # [06:56] * Joins: Peter- (~peter@5ED0FE12.cable.ziggo.nl)
- # [07:12] * Joins: nimbupani (~nimbupani@c-24-22-131-46.hsd1.wa.comcast.net)
- # [07:22] * Joins: jrgarrison (~garrison@wikiotics/jrgarrison)
- # [07:25] * Joins: Ankheg (~Miranda@fs91-201-3-30.dubna-net.ru)
- # [07:28] * Quits: aho (~nya@fuld-4d00d60a.pool.mediaWays.net) (Quit: EXEC_over.METHOD_SUBLIMATION)
- # [07:40] * Joins: rimantas (~rimliu@lan-84-240-20-219.vln.skynet.lt)
- # [07:42] * Quits: Peter- (~peter@5ED0FE12.cable.ziggo.nl) (Read error: Connection reset by peer)
- # [07:42] * Joins: FireFly (~firefly@unaffiliated/firefly)
- # [07:46] * Quits: agektmr (~Adium@2401:fa00:4:1012:fa1e:dfff:fee6:d74e) (Quit: Leaving.)
- # [07:46] * Joins: agektmr1 (~Adium@2401:fa00:4:1012:fa1e:dfff:fee6:d74e)
- # [07:51] * Joins: Peter- (~peter@5ED0FE12.cable.ziggo.nl)
- # [07:56] * Joins: ojan_ (~ojan@nat/google/x-ahykqujgswxttdnd)
- # [07:56] * Quits: nimbupani (~nimbupani@c-24-22-131-46.hsd1.wa.comcast.net) (Quit: nimbupani)
- # [07:58] * Joins: zalan (~zalan@catv-89-135-140-7.catv.broadband.hu)
- # [07:59] * Quits: zalan (~zalan@catv-89-135-140-7.catv.broadband.hu) (Client Quit)
- # [07:59] * Joins: zalan (~zalan@catv-89-135-140-7.catv.broadband.hu)
- # [08:03] * Quits: ojan_ (~ojan@nat/google/x-ahykqujgswxttdnd) (Quit: ojan_)
- # [08:04] * Quits: roc (~roc@203-97-204-82.dsl.clear.net.nz) (Quit: roc)
- # [08:04] * Quits: kennyluck (~kennyluck@EM114-48-205-28.pool.e-mobile.ne.jp) (Ping timeout: 245 seconds)
- # [08:12] * Joins: matjas (~matjas@ip-213-49-115-254.dsl.scarlet.be)
- # [08:27] * Joins: jlebar (~jlebar@nat/mozilla/x-ngkalevfoqmwrqdm)
- # [08:46] * Joins: Maurice (~ano@a80-101-46-164.adsl.xs4all.nl)
- # [08:50] * Joins: annevk (~annevk@cm-84.208.74.81.getinternet.no)
- # [08:54] * Joins: roc (~roc@121.98.230.221)
- # [08:56] * Parts: cypha (~sallabanc@69.50.70.12)
- # [09:03] * Quits: FireFly (~firefly@unaffiliated/firefly) (Quit: swatted to death)
- # [09:08] * Joins: henrikbjorn (~henrik@80.199.116.190.static.peytz.dk)
- # [09:08] * Quits: Amorphous (jan@unaffiliated/amorphous) (Ping timeout: 272 seconds)
- # [09:11] * Joins: davidhund (~davidhund@78-27-27-74.dsl.alice.nl)
- # [09:23] * Joins: Amorphous (jan@unaffiliated/amorphous)
- # [09:24] * Quits: bzed (~bzed@devel.recluse.de) (Ping timeout: 260 seconds)
- # [09:25] * Quits: broquaint (3177df993f@cpc2-brig11-0-0-cust896.3-3.cable.virginmedia.com) (Ping timeout: 252 seconds)
- # [09:25] * Joins: broquaint (7553e40976@cpc2-brig11-0-0-cust896.3-3.cable.virginmedia.com)
- # [09:26] * Joins: bzed (~bzed@devel.recluse.de)
- # [09:32] * Joins: shepazu (~schepers@dhcp232-197.enst.fr)
- # [09:33] * Joins: erlehmann (~erlehmann@89.204.153.71)
- # [09:34] * Joins: svl (~me@ip565744a7.direct-adsl.nl)
- # [09:37] * Joins: mpt (~mpt@canonical/mpt)
- # [09:45] * Joins: hdhoang (~hdhoang@hdhoang.zahe.me)
- # [09:47] * Joins: virtuelv (~virtuelv_@pat-tdc.opera.com)
- # [09:51] * Joins: zdenekkostal (~Miranda@ip-89-102-182-215.net.upcbroadband.cz)
- # [09:54] * Quits: annevk (~annevk@cm-84.208.74.81.getinternet.no) (Quit: annevk)
- # [09:58] * Quits: zdenekkostal (~Miranda@ip-89-102-182-215.net.upcbroadband.cz) (Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org)
- # [09:59] * Joins: myakura (d2e8220d@gateway/web/freenode/ip.210.232.34.13)
- # [10:01] <myakura> βAt this time we do not plan on fixing this issue.β :( https://connect.microsoft.com/IE/feedback/details/577604/borders-on-iframe-cannot-be-styled-via-css
- # [10:01] <myakura> same markup fails :(
- # [10:01] * Quits: mpt (~mpt@canonical/mpt) (Quit: Ex-Chat)
- # [10:06] * Joins: mhausenblas (~mhausenbl@wlan-nat.fwgal01.deri.ie)
- # [10:06] * Quits: davidhund (~davidhund@78-27-27-74.dsl.alice.nl) (Read error: Connection reset by peer)
- # [10:07] * Joins: davidhund (~davidhund@78-27-27-74.dsl.alice.nl)
- # [10:08] <Hixie> myakura: i thought microsoft had committed to fixing every bug?
- # [10:09] <Hixie> didn't they say that in a recent blog post?
- # [10:09] <hsivonen> Does DOM Range have an active editor?
- # [10:10] <hsivonen> Range doesn't have a component in the W3C Bugzilla :-(
- # [10:10] <Hixie> it does not
- # [10:10] <Hixie> i'm collecting feedback though if you have a bug to report
- # [10:10] <Hixie> ("the spec is woefully underdefined" is a known bug)
- # [10:10] <hsivonen> Hixie: collecting via what mechanism?
- # [10:10] <Hixie> same as the whatwg mail
- # [10:11] <Hixie> my imap folders
- # [10:11] <hsivonen> Hixie: should I send the email to whatwg, webapps or www-dom?
- # [10:11] <Hixie> public-web-apps or www-dom is probably best, cc me
- # [10:11] <hsivonen> ok thanks
- # [10:13] <Hixie> np
- # [10:13] <Hixie> dunno what i'll do with the feedback
- # [10:14] <Hixie> if no editors come along i might just rewrite it miself
- # [10:14] <Hixie> myself even
- # [10:16] * Joins: annevk (~annevk@pat-tdc.opera.com)
- # [10:23] * Joins: boblet (~boblet@p2103-ipbf21osakakita.osaka.ocn.ne.jp)
- # [10:25] <annevk> hsivonen, Hixie, DOM Range is http://bitbucket.org/ms2ger/dom-range
- # [10:25] <annevk> ms2ger = awesome
- # [10:25] <annevk> (though it's quite incomplete still, but comes with some tests)
- # [10:25] <Hixie> how do i view it?
- # [10:26] <Hixie> if ms2ger wants to do that, i should send him the messages i've collected
- # [10:26] <annevk> http://bitbucket.org/ms2ger/dom-range/raw/tip/source.html
- # [10:27] <annevk> (in Opera you can open it somewhat directly if you configure it correctly; haven't figured out a way yet to just view the file)
- # [10:27] <hsivonen> awesomeness.
- # [10:28] <hsivonen> ms2ger: http://lists.w3.org/Archives/Public/public-webapps/2010JulSep/0703.html
- # [10:28] <annevk> Hixie, btw, I'm going to fix DOM Core and will do it in such a way that you can remove a bunch of stuff from HTML5
- # [10:28] <Hixie> hm, not much there yet
- # [10:28] <Hixie> annevk: oh?
- # [10:28] <annevk> DOM Core is http://bitbucket.org/ms2ger/web-dom-core (has a bunch more)
- # [10:29] <annevk> (about 80% done \o/)
- # [10:29] <zcorpan_> annevk: and 80% left to do? :)
- # [10:29] <Hixie> annevk: kill Attr
- # [10:30] <hsivonen> annevk: regarding getElementsByTagName(), is there any reason not to use localName except theoretical deliberate impurity of Level 1?
- # [10:31] <annevk> zcorpan_, exactly
- # [10:31] * hsivonen hasn't read the latest draft, just annevk's IRC remarks
- # [10:31] <Hixie> "The nodeName, nodeValue and nodeType attributes must, on getting, return what is in the second, third and fourth column, respectively, if the node also implements the interface in the first column on the same row in the following table" is a very confused sentence
- # [10:32] <annevk> hsivonen, setAttribute, getAttribute, hasAttribute all use qualified name
- # [10:32] <Hixie> annevk: is the HTMLCollection stuff up to date?
- # [10:32] <Hixie> seems weird for DOM Core to define things that depend on HTML elements
- # [10:33] <Hixie> oh, i see, .children
- # [10:33] <annevk> Hixie, since we only talk about namespaces and type of documents I think it is okay
- # [10:33] <Hixie> well that's fun
- # [10:33] <hsivonen> annevk: why does that need to generalize to getElementsByTagName?
- # [10:33] <annevk> there's no HTML dependency
- # [10:33] <hsivonen> annevk: using localName would be good for code simplicity and perf
- # [10:34] <annevk> hsivonen, you do not store the qualifiedName internally?
- # [10:34] * Hixie suggests again removing Attr forever
- # [10:34] <hsivonen> annevk: there's no HTML dependency if you make getElementsByTagName match localName and wildcard namespace
- # [10:34] * Joins: maikmerten (~merten@dhcp-11-239.it.uu.se)
- # [10:34] <annevk> Hixie, you mean making it no longer inherit from Node?
- # [10:34] <hsivonen> annevk: IIRC, we don't
- # [10:35] <Hixie> annevk: no, i mean, not having it in the platform
- # [10:35] <Hixie> annevk: not supported
- # [10:35] <Hixie> annevk: gone
- # [10:35] <Hixie> annevk: unimplemented
- # [10:35] <Hixie> annevk: no longer in the global namespace
- # [10:35] * Joins: jeremyselier (~Jeremy@pro75-4-82-238-200-10.fbx.proxad.net)
- # [10:35] <annevk> how would .attributes work?
- # [10:35] <Hixie> drop that too
- # [10:36] <annevk> don't sites rely on that?
- # [10:36] <Hixie> not to my knowledge
- # [10:36] <Hixie> if they do, find out what they actually rely on
- # [10:36] <Hixie> and just provide the minimum API to support that
- # [10:37] <annevk> chrome has these statistic collection thingies right? maybe someone can figure it out
- # [10:37] <annevk> hmm
- # [10:37] <annevk> would certainly be nice
- # [10:38] <annevk> hsivonen, you still need to lowercase the argument for HTML nodes
- # [10:40] <hsivonen> annevk: good point
- # [10:41] <hsivonen> so DOM Core has to know about the HTML namespace and the HTMLness bit
- # [10:41] <annevk> it already does
- # [10:41] <hsivonen> annevk: anyway, I think CSS element selector gets this right
- # [10:41] <hsivonen> would be nice if the DOM did, too
- # [10:42] * jgraham relies on .attributes
- # [10:42] * jgraham goes to read the backscroll
- # [10:42] <annevk> so either ele.namespaceURI == HTMLNS && ele.localName == localName.toLowerCase() or ele.localName == localName
- # [10:43] <annevk> or do we want this just for HTML documents also?
- # [10:44] * Joins: ROBOd (~robod@109.96.218.25)
- # [10:48] <zcorpan_> annevk: just check localName
- # [10:48] <zcorpan_> though it might be too late to change it
- # [10:48] <hsivonen> annevk: opinion differs between reasonable people on the "HTML documents" part
- # [10:49] <hsivonen> annevk: depends on how much you are willing to tear down XML architecture in order to unify it with the HTML side
- # [10:51] <annevk> well, XML means namespaces in my book, so no "DOM1Core methods", but I do not really care
- # [10:51] * Joins: akamike (~akamike@94-193-106-14.zone7.bethere.co.uk)
- # [10:51] <annevk> i added a note about changing it back
- # [10:52] <hsivonen> annevk: considering the problem holistically includes deciding if Selectors should always be ASCII-case-insensitive when matching on XHTML-namespace nodes even in XML docs
- # [10:53] <jgraham> "TLS server side implementers seem to be a little challenged [...] I very much hope WS implementers can do a better job" β how far we have come from "Amateur Programmers"
- # [10:53] <annevk> hsivonen, I would have no problem with that
- # [10:54] <hsivonen> now constituencies that are supposed to rank higher than theoretical purity need to remember to use lower case only in user style sheets and UA style sheet supplements (in browser extensions)
- # [10:54] <hsivonen> jgraham: I initially read WS as WS-*.
- # [10:54] <annevk> jgraham, yeah, wtf
- # [10:54] <annevk> better job than TLS
- # [10:54] <annevk> lolz
- # [10:58] * Joins: smaug____ (~chatzilla@cs181063178.pp.htv.fi)
- # [10:58] <Workshiva> hsivonen: Maybe one day people won't remember WS-*
- # [11:00] <Hixie> hsivonen: tag names and attributes in Selectors should not match case-insensitively in XML
- # [11:01] <Hixie> hsivonen: they only match case-insensitively in HTML because the parser on the HTML side is itself doing case-folding
- # [11:01] * Joins: kennyluck (~kennyluck@2001:200:1c0:3602:225:ff:fe4d:f8c7)
- # [11:02] * Joins: izico (~izico@113.115.158.85)
- # [11:02] * Parts: izico (~izico@113.115.158.85)
- # [11:03] * Quits: Heimidal (~heimidal@unaffiliated/heimidal) (Remote host closed the connection)
- # [11:03] * Joins: Heimidal (~heimidal@unaffiliated/heimidal)
- # [11:05] <annevk> Hixie, they could match case-insensitively for nodes in the HTML namespace regardless of the type of the Document
- # [11:05] <annevk> Hixie, that is much closer to how things work in implementations (except the case-insensitve is also guarded by a isHTMLDocument check)
- # [11:06] <Hixie> well, hold on
- # [11:06] <Hixie> depends what you mean by case-insensitively, i guess
- # [11:06] <Hixie> do you want A {} to match <A xmlns="http://www.w3.org/1999/xhtml"/> ?
- # [11:06] <Hixie> er
- # [11:06] <Hixie> do you want a {} to match <A xmlns="http://www.w3.org/1999/xhtml"/> ?
- # [11:06] <annevk> no
- # [11:06] <annevk> neither would match, in fact, with these rules
- # [11:06] <Hixie> well you want the first to match
- # [11:07] <Hixie> clearly
- # [11:07] <zcorpan_> why?
- # [11:07] <annevk> it won't match in HTML documents with HTML5 reality
- # [11:07] <Hixie> ?
- # [11:07] <annevk> it will match in XML documents as long as we keep the isHTMLDocument() check
- # [11:07] <Hixie> in HTML, if I do <A>, it turns into <a>, so it's fine
- # [11:07] <Hixie> in XML it doesn't
- # [11:07] <annevk> you can still do createElementNS() in HTML
- # [11:07] * Quits: lhnz (~lhnz@188-223-83-48.zone14.bethere.co.uk) (Ping timeout: 272 seconds)
- # [11:08] * Quits: Heimidal (~heimidal@unaffiliated/heimidal) (Ping timeout: 245 seconds)
- # [11:08] <Hixie> you can, sure, but that's far less of a worry
- # [11:08] * Joins: lhnz (~lhnz@188-223-83-48.zone14.bethere.co.uk)
- # [11:08] <zcorpan_> why are you worried about <A xmlns="http://www.w3.org/1999/xhtml"/>?
- # [11:08] <zcorpan_> that's invalid anyway
- # [11:08] <annevk> uppercase HTML element names is a worry?
- # [11:08] <annevk> seems as theoretical as createElementNS
- # [11:08] <Hixie> i'm worried about <myWidget>
- # [11:08] <Hixie> or <x-myWidget>
- # [11:09] <annevk> if people used XML, sure
- # [11:09] <zcorpan_> Hixie: i think there are basically 0 pages that rely on that
- # [11:09] <Hixie> today, sure
- # [11:10] <zcorpan_> so then we can change it today
- # [11:10] <Hixie> but if we ever introduce something like <x-foo> as an element name, e.g. for use with XBL, it'd be very confusing to authors if they suddenly could only style their elements if they were lowercase
- # [11:10] <Hixie> look i'm all for simplifying and all, but let's not do so by burning bridges that don't need to be burnt
- # [11:10] <Hixie> the platform is crazy unintuitive enough as it is
- # [11:11] <zcorpan_> data-* already requires lowercase
- # [11:12] <Hixie> yeah, but not much we can do about that
- # [11:12] <hsivonen> Hixie: making Selectors work right with SVG camelCase and HTML "case-insensitive" names in HTML docs means that the data structures representing selectors have to contain the original-case string as an interned pointer and the ascii-lowercased string as an interned pointer
- # [11:12] <Hixie> hsivonen: authors > implementors
- # [11:13] <hsivonen> Hixie: once you've gone that far, not doing the same thing in XHTML only makes the style sheets less cacheable and the matching code have two cases
- # [11:14] <Hixie> that went over my head
- # [11:14] <zcorpan_> Hixie: i'm not convinced the current setup is any better for authors
- # [11:14] <hsivonen> Hixie: if you've implemented what makes sense for HTML (which is real-world constrained), making the XML side do something different means you have to support two cases
- # [11:15] <hsivonen> Hixie: the second one of which is motivated by theoretical purity
- # [11:15] <Hixie> there's a difference between theoretical purity and clean design
- # [11:16] <hsivonen> Hixie: and if you don't want to check isInHtmlDocument() at selector matching time, you make the HTML-specific interned string be case-folded or not case-folded at style sheet parse time
- # [11:16] <hsivonen> Hixie: which means compiled style sheets aren't cacheable across HTML and XML
- # [11:16] <Hixie> i thought we weren't caring about theoretical concerns?
- # [11:16] <hsivonen> different concerns! :-)
- # [11:17] <Hixie> uh huh
- # [11:17] <Hixie> XML is case-sensitive
- # [11:17] * Joins: mpt (~mpt@canonical/mpt)
- # [11:17] <Hixie> it is not intuitive for it to be inconsistent
- # [11:17] <Hixie> one of the few things about the XML side of the platform that is actually a redeeming factor is that it is at least somewhat consistent and mostly free of weird quirks
- # [11:18] <Hixie> let's not go and bring them all into XML
- # [11:18] <Hixie> it's one thing to have namespace-specific features (like backgrounds on <html:body> propagating to the viewport) in the name of compat, but it's far worse to have quirks on elements that don't even exist yet
- # [11:18] <hsivonen> making something case-insensitive is one of those things that seem really simple when someone first suggests it but that lead down to an abyss of implementation troubles
- # [11:19] <hsivonen> of course, the usability folks will claim that the abyss doesn't matter, because case-insensitivity is supposed to be human-friendly
- # [11:19] <annevk> so I'm now more radical than Hixie ;p
- # [11:21] * Quits: peterhil (~peterhil@a91-153-127-82.elisa-laajakaista.fi) (Ping timeout: 245 seconds)
- # [11:21] <Hixie> annevk: my "radicalness" is usually driven by trying to simplify -- I don't think this simplifies. Or rather, it simplifies implementations, at the cost of complicating the platform for authors, which is the wrong prioritisation.
- # [11:21] <hsivonen> Hixie: fwiw, cacheability isn't a theoretical concern for impls. You know that clueful implementors feel they have to make caching work "right" even if the case breaking caching were rare to non-existent in practice
- # [11:21] <hsivonen> Hixie: I mean, you could put a caching test in Acid4 for all an implementor knows!
- # [11:22] <Hixie> parsing a sheet is cheap
- # [11:22] <hsivonen> Hixie: you still have to write the code and do the QA to make sure you actually reparse. that's my point.
- # [11:23] * Quits: yutak (~yutak@2401:fa00:4:1000:21d:9ff:fe0a:85f) (Quit: Ex-Chat)
- # [11:23] <Hixie> *shrug*
- # [11:23] <Hixie> it's already written in most browsers
- # [11:23] <hsivonen> (I agree that it would suck for UA style sheets to match nodes that didn't actually get the right implementation classes)
- # [11:23] <hsivonen> (so dominos would fall...)
- # [11:24] * Quits: jrgarrison (~garrison@wikiotics/jrgarrison) (Quit: Ex-Chat)
- # [11:24] * Quits: Lachy (~Lachlan@cm-84.215.59.50.getinternet.no) (Quit: This computer has gone to sleep)
- # [11:24] <zcorpan_> UA style sheets already don't use the case sensitivity rules for author style sheets per html5
- # [11:25] <zcorpan_> for attribute values
- # [11:25] <Hixie> that doesn't affect future elements that the author might invent
- # [11:26] * Joins: yutak (~yutak@2401:fa00:4:1000:21d:9ff:fe0a:85f)
- # [11:26] <Hixie> wow, julian thinks that image/svg+xml not being registered for 10 years is a _success_
- # [11:27] * Quits: mike][inq (~mike@2001:858:5:303:224:81ff:fe12:b5c4) (Ping timeout: 276 seconds)
- # [11:29] <Hixie> anyway, i should go to bed
- # [11:29] <Hixie> nn
- # [11:29] * Joins: mike][inq (~mike@2001:858:5:303:224:81ff:fe12:b5c4)
- # [11:34] * Quits: svl (~me@ip565744a7.direct-adsl.nl) (Quit: And back he spurred like a madman, shrieking a curse to the sky.)
- # [11:41] <abarth> jgraham: the hybi working group is just insane
- # [11:41] <abarth> jgraham: i'm secretly hoping they screw up the protocol so badly that it's unusable :(
- # [11:43] * Joins: ake1 (~ake1@gm.com.bth.se)
- # [11:43] <jgraham> abarth: Not very secretly anymore :)
- # [11:44] * Quits: yutak (~yutak@2401:fa00:4:1000:21d:9ff:fe0a:85f) (Remote host closed the connection)
- # [11:44] <jgraham> Anyway it seems unlikely that it will go that badly wrong, but it may be suboptimal
- # [11:44] <annevk> abarth, fwiw, I was mostly j/k on the cookie list
- # [11:44] <abarth> i know
- # [11:44] <annevk> abarth, Opera even implemented Cookie2
- # [11:44] <annevk> (though we're gonna nuke it one of these days)
- # [11:44] <jgraham> The "four weeks" timetable has been entirely ignored
- # [11:44] <jgraham> Which is a pity
- # [11:45] <jgraham> Because it means that -76 will have lots of time to get traction
- # [11:45] <jgraham> Whether they want it to or not
- # [11:45] <ake1> is there no standard font-family/size etc. on textareas? i have come to realise that using textareas and em is a bad idea.
- # [11:45] * Joins: yutak (~yutak@2401:fa00:4:1000:21d:9ff:fe0a:85f)
- # [11:45] * Joins: Lachy (~Lachlan@pat-tdc.opera.com)
- # [11:46] <annevk> yeah, they way hybi is being run now it seems like it might take years
- # [11:46] <abarth> annevk: i wish we could give people a better way to manage state than cookies, but it's a tough problem
- # [11:50] * Joins: MikeSmithX (~MikeSmith@EM114-48-155-245.pool.e-mobile.ne.jp)
- # [11:53] * Quits: Lachy (~Lachlan@pat-tdc.opera.com) (Quit: Leaving)
- # [11:54] * Joins: Lachy (~Lachlan@pat-tdc.opera.com)
- # [11:59] * Joins: romeo_ (~romeo__@x1-6-00-02-44-60-6c-8e.k233.webspeed.dk)
- # [12:02] * Quits: agektmr1 (~Adium@2401:fa00:4:1012:fa1e:dfff:fee6:d74e) (Quit: Leaving.)
- # [12:07] * Joins: MikeSmith_ (~MikeSmith@EM111-188-22-21.pool.e-mobile.ne.jp)
- # [12:10] * Quits: MikeSmith (~MikeSmith@EM114-48-155-245.pool.e-mobile.ne.jp) (Ping timeout: 252 seconds)
- # [12:10] * MikeSmith_ is now known as MikeSmith
- # [12:10] * Joins: svl (~me@ip565744a7.direct-adsl.nl)
- # [12:11] * Quits: Madness (~petal@host57-134-static.35-88-b.business.telecomitalia.it) (Ping timeout: 260 seconds)
- # [12:11] * Quits: MikeSmithX (~MikeSmith@EM114-48-155-245.pool.e-mobile.ne.jp) (Ping timeout: 265 seconds)
- # [12:23] * Quits: myakura (d2e8220d@gateway/web/freenode/ip.210.232.34.13) (Quit: Page closed)
- # [12:29] * Quits: svl (~me@ip565744a7.direct-adsl.nl) (Quit: And back he spurred like a madman, shrieking a curse to the sky.)
- # [12:31] <jgraham> abarth: Did you say you had more parser tests?
- # [12:32] <abarth> i pushed a handful to html5lib
- # [12:32] <abarth> nothing too exciting
- # [12:32] <jgraham> Oh you pushed them already?
- # [12:32] <jgraham> Great
- # [12:32] <jgraham> Thanks :)
- # [12:32] <abarth> we're basically done, so we probably won't be generating too many more
- # [12:32] <abarth> unless we have bugs
- # [12:32] <jgraham> Sure
- # [12:32] <abarth> at some point we need to review all the changes to the spec to make sure we have them all
- # [12:32] <jgraham> Ones from bugs are possibly the most intersting of course
- # [12:33] <abarth> so far the bugs we've had are mostly with integrating with the render tree
- # [12:33] <abarth> not with the DOM
- # [12:33] <abarth> there's something goofy called a "demoted" form element
- # [12:33] * Quits: roc (~roc@121.98.230.221) (Quit: roc)
- # [12:34] <abarth> that means the form element magically renders differently depending on what happens to it during parsing
- # [12:34] <abarth> very strange
- # [12:34] <jgraham> Wow
- # [12:34] <hsivonen> abarth: what's the motivation for having that sort of thing?
- # [12:35] <abarth> the layout of some sites break without it
- # [12:35] <abarth> i think it's just a design error
- # [12:35] <abarth> in the render tree
- # [12:35] * Joins: adactio (~adactio@host213-123-197-180.in-addr.btopenworld.com)
- # [12:35] <hsivonen> abarth: what happens in Gecko on those sites?
- # [12:35] <abarth> they render correctly
- # [12:35] <hsivonen> abarth: why?
- # [12:36] <abarth> this is the case when the form element gets inserted in teh InTableBody insertion mode
- # [12:36] <abarth> if you don't "demote" the form element
- # [12:36] <abarth> it gets rendered as if it were a table-cell
- # [12:36] <abarth> which throws off the layout of the table
- # [12:36] <abarth> the right fix is probably to fix the render tree
- # [12:37] * Joins: jorlow (~jorlow@74.125.57.60)
- # [12:37] <abarth> so that it doesn't create these nutty anonymous table cells
- # [12:37] <abarth> but the expedient solution, for the time being, was to just set the "demoted" flag on the form
- # [12:37] <hsivonen> abarth: we have a UA style sheet rule for that
- # [12:38] <abarth> oh yeah?
- # [12:38] <abarth> what does that look like?
- # [12:38] <zcorpan_> it's specced in html5 iirc
- # [12:38] <hsivonen> abarth: http://mxr.mozilla.org/mozilla-central/source/layout/style/html.css#465
- # [12:39] <abarth> Important: don't show these forms in HTML
- # [12:39] <abarth> :)
- # [12:39] <hsivonen> :-moz-is-html matches if the owner doc of the node has the HTMLness bit set
- # [12:39] <zcorpan_> "In HTML documents, the user agent is expected to hide form elements that are children of table, thead, tbody, tfoot, or tr elements, irrespective of CSS rules."
- # [12:39] <zcorpan_> http://www.whatwg.org/specs/web-apps/current-work/complete/rendering.html#display-types
- # [12:40] <abarth> ok, i can try something like that
- # [12:40] <abarth> i usually stay away from the render tree
- # [12:40] <abarth> so i might ask some who knows about rendering to try it
- # [12:53] * Quits: Peter` (~peter@170-116.citynet.ftth.internl.net) (Ping timeout: 276 seconds)
- # [12:53] * Joins: Peter` (~peter@170-116.citynet.ftth.internl.net)
- # [12:56] * Quits: erlehmann (~erlehmann@89.204.153.71) (Ping timeout: 245 seconds)
- # [13:50] * Quits: boogyman (~boogy@unaffiliated/boogyman) (Quit: ChatZilla 0.9.86 [Firefox 3.6.8/20100722155716])
- # [13:51] * Joins: erlehmann (~erlehmann@89.204.137.98)
- # [13:52] * Joins: boogyman (~boogy@unaffiliated/boogyman)
- # [13:55] <annevk> emailed public-webapps with Web DOM Core notes
- # [13:58] * Quits: boogyman (~boogy@unaffiliated/boogyman) (Quit: ChatZilla 0.9.86 [Firefox 3.6.8/20100722155716])
- # [13:59] * Joins: aboodman (~aa@nat/google/x-otrvmotqenbtknny)
- # [14:00] * Joins: homata (~homata@58x158x182x50.ap58.ftth.ucom.ne.jp)
- # [14:05] <annevk> prolly best presentation at dConstruct: http://booktwo.org/notebook/wikipedia-historiography/
- # [14:06] <annevk> those books are huge btw
- # [14:07] <adactio> annevk: James Bridle completely blew my mind with his presentation. Awesome, in the true sense of the word.
- # [14:08] * Quits: Rik` (~Rik`@pha75-2-81-57-187-57.fbx.proxad.net) (Remote host closed the connection)
- # [14:08] <adactio> annevk: By the way, it was good to see you, brief as it was. Shame we didn't have a chance to chat some more.
- # [14:10] <annevk> depending on the length of your stay, we can probably chat in the Netherlands start of October
- # [14:11] <Peter`> so you're coming now after all, annevk? :-p
- # [14:12] <annevk> well, I'm in town :)
- # [14:12] * Joins: peterhil (~peterhil@a91-153-127-82.elisa-laajakaista.fi)
- # [14:19] <annevk> hmm, DOM3Core is full of bugs
- # [14:19] <annevk> e.g. pseudo-code that assumes there is always a root element (return documentElement.isDefaultNamespace(namespaceURI);)
- # [14:21] <zcorpan_> that's not normative though is it?
- # [14:22] <annevk> the normative text says "See Namespace URI Lookup for details on the algorithm used by this method."
- # [14:22] <annevk> now idea on how else you would know the answer
- # [14:23] <zcorpan_> awesome
- # [14:23] <hsivonen> isDefaultNamespace and lookupNamespaceURI are not my favorite DOM methods
- # [14:24] <zcorpan_> what's your favorite?
- # [14:24] <hsivonen> good question
- # [14:24] <hsivonen> dunno, but those aren't it
- # [14:25] <jgraham> That sounds like a very geeky lame chat up line
- # [14:25] <zcorpan_> annevk: btw baseURI is going to need some html-specific processing
- # [14:25] <jgraham> Like an alternative to "what's your favourite colour"
- # [14:25] <jgraham> Well "chat up" is not quite right
- # [14:25] * Quits: mpt (~mpt@canonical/mpt) (Ping timeout: 264 seconds)
- # [14:26] <jgraham> Umm, I should stop being incoherent about now, right?
- # [14:26] <hsivonen> what's the idiomatic way to sort a set of key-value pairs of strings by the lexical UTF-16 code unit order of the keys in JS?
- # [14:26] <annevk> zcorpan_, we are providing hooks instead
- # [14:27] <zcorpan_> annevk: ok
- # [14:27] <annevk> at least, we do that elsewhere at the moment for base URL fixups
- # [14:27] <jgraham> hsivonen: sort with a custom comparison function?
- # [14:27] <jgraham> assuming you have [[key1:value1], [key2:value2]] or similar
- # [14:27] <jgraham> s/:/,/g
- # [14:27] <annevk> but baseURI can be set, so HTML5 can just set it, afaict
- # [14:28] <hsivonen> jgraham: I guess I'm going to follow http://stackoverflow.com/questions/890807/iterate-over-a-javascript-associative-array-in-sorted-order
- # [14:28] <hsivonen> i.e. put keys in an array and .sort() then iterate over the array
- # [14:29] * hsivonen is mildly disappointed at not being able to iterate over the keys of an object directly in the lexical order
- # [14:30] * Joins: KaOSoFt (~maxzagato@190.24.156.162)
- # [14:30] * Quits: KaOSoFt (~maxzagato@190.24.156.162) (Changing host)
- # [14:30] * Joins: KaOSoFt (~maxzagato@unaffiliated/kaosoft)
- # [14:31] * Joins: peol (~peol@unaffiliated/peol)
- # [14:31] * Parts: ake1 (~ake1@gm.com.bth.se)
- # [14:31] * Quits: erlehmann (~erlehmann@89.204.137.98) (Quit: Ex-Chat)
- # [14:31] <jgraham> hsivonen: Oh, you have an object you are using as a hashmap?
- # [14:32] <jgraham> That is a bit different then
- # [14:32] <hsivonen> jgraham: yeah
- # [14:32] <hsivonen> jgraham: what I want to do is sorting the attributes of a node in the right order for the html5lib tree builder tests
- # [14:32] <jgraham> But it seems asking a lot for the language to support this use case directly
- # [14:32] <jgraham> hsivonen: I see
- # [14:33] <hsivonen> jgraham: in Java, I used TreeMap and it does the right thing on iteration
- # [14:33] <jgraham> That seems undesirable in general, doesn't it?
- # [14:34] <hsivonen> jgraham: if you don't want sorted iteration, you use HashMap in Java
- # [14:34] * Joins: Rik` (~Rik`@mozilla-paris-222-194.cnt.nerim.net)
- # [14:34] <hsivonen> TreeMap by design orders stuff
- # [14:34] <jgraham> Hmm
- # [14:35] <hsivonen> and in Python, you can ask a map for its keys and sort that list
- # [14:35] <hsivonen> anyway time to just write this in code
- # [14:35] <jgraham> In ES5 you can ask for the keys directly
- # [14:35] <hsivonen> ooh. how?
- # [14:36] <jgraham> Object.keys or so
- # [14:36] <jgraham> Object.keys(my_object)
- # [14:36] <jgraham> I think
- # [14:36] <hsivonen> cool.
- # [14:36] <hsivonen> thanks
- # [14:36] <jgraham> But I have never used it
- # [14:36] * hsivonen tries if it works in Gecko
- # [14:37] <hsivonen> cool. works
- # [14:38] * Joins: mpt (~mpt@canonical/mpt)
- # [14:39] <hsivonen> annevk: fwiw, I'm just working on code that uses Element.attributes
- # [14:39] <hsivonen> useful for test cases :-/
- # [14:40] * jgraham guesses hsivonen is using it in exactly the same way he is
- # [14:41] <Philip`> The Live DOM Viewer uses .attributes too
- # [14:41] <jgraham> Heh
- # [14:41] <annevk> how is everyone using it?
- # [14:42] <hsivonen> annevk: iterating over attributes to get localName, namespaceURI and value
- # [14:42] <hsivonen> annevk: in order to print them all
- # [14:42] <annevk> that should be easy enough to keep
- # [14:43] <annevk> kind of depends to what level people are willing to hack on the DOM to simplify it and see if things break
- # [14:43] <annevk> otherwise we'll just end up with complexity
- # [14:43] <annevk> so if maciej/sicking can be convinced to play around a bit there's a good chance I think
- # [14:43] <annevk> otherwise not so much
- # [14:45] * Quits: homata (~homata@58x158x182x50.ap58.ftth.ucom.ne.jp) (Quit: Leaving...)
- # [14:46] * Philip` sees pages using getNamedItem(name).value, item=createAttribute(name), setNamedItem(item), etc
- # [14:46] * Joins: workmad3 (~workmad3@cpc3-bagu10-0-0-cust651.1-3.cable.virginmedia.com)
- # [14:47] <annevk> really? sigh
- # [14:48] <annevk> especially createAttribute is kind of unfortunate
- # [14:49] <Philip`> http://tonik.webovastranka.cz/friend?type=file&subservice=1
- # [14:57] <hsivonen> sigh. for (var e in array) doesn't work as expected
- # [14:57] * Quits: virtuelv (~virtuelv_@pat-tdc.opera.com) (Quit: Ex-Chat)
- # [14:57] <hsivonen> shows how rusty my JS is
- # [14:57] * Joins: ZombieLoffe (~e@unaffiliated/zombieloffe)
- # [14:57] <jgraham> hsivonen: What do you expect?
- # [14:58] <hsivonen> jgraham: e to become each of the array elements in turn
- # [14:58] <jgraham> Ah, no, that would be python :)
- # [14:59] <Philip`> "for each (var e in array)" if you want to use SpiderMonkey extensions
- # [14:59] <Philip`> though the warnings in https://developer.mozilla.org/en/JavaScript/Reference/Statements/for...in#Description are relevant
- # [15:00] <hsivonen> I guess I'll just go with an index
- # [15:01] <zcorpan_> that's what i usually do
- # [15:01] <Philip`> (I think SpiderMonkey changes the array iteration order depending on whether it applies the dense array optimisation or not, so it'll often be ordered but not always)
- # [15:02] <hsivonen> Philip`: oh, I want ordered iteration
- # [15:02] <Philip`> Which order? :-)
- # [15:02] <hsivonen> Philip`: the order of the array
- # [15:02] <hsivonen> as returned by .sort() on another one
- # [15:02] <Philip`> Ah
- # [15:04] <Philip`> I think you need either for(i=0;i<a.length;++i) or a.forEach(function(){ ... }) then, since nothing else provides enough guarantees
- # [15:06] <peterhil> hsivonen: I'm not sure what you want to do, but Trie could be used for sorting: http://en.wikipedia.org/wiki/Trie#Sorting
- # [15:08] <jarib> anyone know where a good place would be to find tests for HTMLTableElement.rows (especially with regard to nested tables)?
- # [15:08] * Quits: wakaba_ (~wakaba_@122x221x184x68.ap122.ftth.ucom.ne.jp) (Quit: Leaving...)
- # [15:09] <hsivonen> peterhil: JavaScript doesn't have built-in tries, does it?
- # [15:10] <hsivonen> I used Object.keys(foo).sort()
- # [15:10] <peterhil> Guess it doesn't.
- # [15:25] <hsivonen> the html5lib license file has the wrong copyright year and lacks authorship data for the WebKit tests
- # [15:25] <hsivonen> ezyang, too
- # [15:25] <MikeSmith> jarib: http://trac.webkit.org/browser/trunk/LayoutTests/fast/dom/HTMLTableElement ,maybe
- # [15:26] * Joins: FireyFly (~firefly@unaffiliated/firefly)
- # [15:28] <annevk> zcorpan_, do you know why http://www.w3.org/TR/DOM-Level-3-Core/namespaces-algorithms.html does originalElement.lookupNamespaceURI(Element's prefix) == namespaceURI) checks?
- # [15:29] <annevk> in lookupNamespacePrefix?
- # [15:29] <annevk> they seem redundant
- # [15:36] * Quits: peterhil (~peterhil@a91-153-127-82.elisa-laajakaista.fi) (Quit: Must not waste too much time here...)
- # [15:37] * Joins: peterhil (~peterhil@a91-153-127-82.elisa-laajakaista.fi)
- # [15:37] * Quits: Ankheg (~Miranda@fs91-201-3-30.dubna-net.ru) (Read error: Connection reset by peer)
- # [15:38] <jgraham> hsivonen: You planning to fix?
- # [15:38] <hsivonen> jgraham: not really
- # [15:39] <jarib> MikeSmith: thanks, will take a look
- # [15:39] <hsivonen> jgraham: I could fix the year, but I don't know if the unlisted contributors chose to waive notice
- # [15:39] <MikeSmith> jarib: np
- # [15:39] <hsivonen> jgraham: And I don't know who the copyright holder for the contribs abarth landed is
- # [15:40] <jgraham> hsivonen: AFAIK it was abarth and eseidel
- # [15:40] <hsivonen> jgraham: but it would be really nice to have the legal stuff in order before I import the new tests to m-c
- # [15:41] <hsivonen> jgraham: well, I don't know if that means abarth and eseidel, UC Berkeley, Google or something else, so I'm not gonna land legal stuff based on guessing
- # [15:41] <jgraham> hsivonen: I was told by Eric that they considered them public domain
- # [15:41] <hsivonen> jgraham: cool. that works
- # [15:41] <jgraham> But I agree you should ask them
- # [15:42] <hsivonen> jgraham: than I can update the year to 2010, since the contribs I've been landing are Copyright 2010 Mozilla Foundation
- # [15:42] <hsivonen> *then
- # [15:42] <jgraham> (not least because I don't remember *where* I was told that so might have difficulty producing documentary evidence)
- # [15:46] * Quits: MikeSmith (~MikeSmith@EM111-188-22-21.pool.e-mobile.ne.jp) (Quit: The curfew tolls the knell of parting day... the plowman homeward plods his weary way)
- # [15:47] * Joins: MikeSmith (~MikeSmith@EM111-188-22-21.pool.e-mobile.ne.jp)
- # [15:47] * Quits: MikeSmith (~MikeSmith@EM111-188-22-21.pool.e-mobile.ne.jp) (Client Quit)
- # [15:47] * FireyFly is now known as FireFly
- # [15:47] * Joins: MikeSmith (~MikeSmith@EM111-188-22-21.pool.e-mobile.ne.jp)
- # [15:49] * Joins: nimbupani (~nimbupani@c-24-22-131-46.hsd1.wa.comcast.net)
- # [15:50] <hsivonen> soo... window.btoa assumes the code points in the argument have the high half as zeros
- # [15:50] <hsivonen> what's the correct way to to convert a JS string to base64 so that it's first encoded as UTF-8?
- # [15:52] * Quits: crash\\ (crash@lubyte.de) (Quit: http://www.lubyte.de/)
- # [15:53] * Joins: ttepasse (~ttepasse@ip-109-90-160-217.unitymediagroup.de)
- # [15:53] * Joins: virtuelv (~virtuelv_@pat-tdc.opera.com)
- # [15:54] * Joins: crash\ (crash@lubyte.de)
- # [16:04] * Joins: oal (~oal@5.79-160-122.customer.lyse.net)
- # [16:07] <Workshiva> hsivonen: Could you give an example of what doesn't work?
- # [16:08] * jgraham wonders why hsivonen is doing base64 conversions at all
- # [16:11] * Quits: henrikbjorn (~henrik@80.199.116.190.static.peytz.dk) (Remote host closed the connection)
- # [16:11] <hsivonen> jgraham: afterwards I realized that I can stick a JS string unescaped into a data: URL and the right magic will happen
- # [16:23] * Quits: ttepasse (~ttepasse@ip-109-90-160-217.unitymediagroup.de) (Read error: Connection timed out)
- # [16:36] * Joins: mlpug (~mlpug@a88-115-171-217.elisa-laajakaista.fi)
- # [16:45] * Quits: virtuelv (~virtuelv_@pat-tdc.opera.com) (Quit: Ex-Chat)
- # [16:46] * Joins: boogyman (~boogy@unaffiliated/boogyman)
- # [16:48] <annevk> so DOM3Core states
- # [16:48] <annevk> "Before returning found prefix the algorithm needs to make sure that the prefix is not redefined on an element from which the lookup started."
- # [16:48] <annevk> that seems to assume async lookup
- # [16:48] <annevk> which is not at all the case
- # [16:49] <annevk> what were these people smoking
- # [16:50] <annevk> the more I complete this new doc the less I will have to study it I suppose
- # [16:50] <annevk> yay
- # [17:04] * Quits: Maurice (~ano@a80-101-46-164.adsl.xs4all.nl) (Quit: Disconnected...)
- # [17:06] * Quits: peol (~peol@unaffiliated/peol) (Ping timeout: 255 seconds)
- # [17:08] <annevk> now wondering why isDefaultNamespace is a method rather than an attribute that returns the default namespace
- # [17:08] <annevk> could just be an attribute
- # [17:10] * Quits: davidhund (~davidhund@78-27-27-74.dsl.alice.nl) (Quit: davidhund)
- # [17:11] * Joins: davidhund (~davidhund@78-27-27-74.dsl.alice.nl)
- # [17:15] * Quits: davidhund (~davidhund@78-27-27-74.dsl.alice.nl) (Ping timeout: 272 seconds)
- # [17:17] <boogyman> Can someone point me to literature explaining the purpose behind allowing block-level elements to be encapsulated by an anchor tag in html5
- # [17:17] <Workshiva> People do it, browsers support it, none of the alternative solutions were any better
- # [17:20] <annevk> also, we obsoleted the block-level concept so it made sense
- # [17:20] <annevk> but really
- # [17:20] <annevk> dom3core was designed by ....
- # [17:21] <boogyman> monkeys
- # [17:21] <jgraham> with guns
- # [17:21] <hsivonen> Hixie: FYI, another interesting <base>-related site compat problem: https://bugzilla.mozilla.org/show_bug.cgi?id=593807
- # [17:21] * Quits: rimantas (~rimliu@lan-84-240-20-219.vln.skynet.lt) (Quit: Leaving)
- # [17:22] <hsivonen> boogyman: people really wanted the feature and it mostly worked already
- # [17:22] <hsivonen> boogyman: IIRC, it had use cases, too :-)
- # [17:23] <boogyman> so because people want it, it should be so?
- # [17:24] <hsivonen> boogyman: IIRC, they had use cases to go with the wanting
- # [17:24] <hsivonen> boogyman: on Eric Meyer's blog, IIRC
- # [17:24] * Quits: zalan (~zalan@catv-89-135-140-7.catv.broadband.hu)
- # [17:24] <boogyman> can you point me to the logs and/or literature?
- # [17:25] <hsivonen> boogyman: http://meyerweb.com/eric/html-xhtml/html5-linking.html
- # [17:28] <boogyman> hsivonen: thanks for the link, and can you provide a situation where linking an entire table row is using proper design techniques?
- # [17:30] <hsivonen> boogyman: sorry, at this point, I'm going to defer to the search function of the whatwg list and Eric Meyer's site
- # [17:30] <hsivonen> gotta run
- # [17:30] <hsivonen> AFK
- # [17:30] <boogyman> t/c
- # [17:31] * Quits: Lachy (~Lachlan@pat-tdc.opera.com) (Quit: This computer has gone to sleep)
- # [17:32] <espadrine> boogyman: the tool is neutral...
- # [17:33] <boogyman> what tool?
- # [17:33] * Quits: mhausenblas (~mhausenbl@wlan-nat.fwgal01.deri.ie) (Quit: mhausenblas)
- # [17:33] <espadrine> Sure, people can link an entire table row.
- # [17:34] <espadrine> But the fact that it is allowed doesn't mean anyone should do it.
- # [17:34] <jgraham> Umm, you can't using the current method anyway
- # [17:34] <jgraham> Unless you use XHTML or javascript
- # [17:35] <jgraham> Linking an entire table row seems rather useful though
- # [17:36] * Quits: nessy (~Adium@124-169-0-56.dyn.iinet.net.au) (Quit: Leaving.)
- # [17:37] <boogyman> It seems like it's feeding back into improper design... Tables are already abused, so why offer the ability to abuse further? I can see where one might want to link an entire row, but that row, should consist of exactly 1 data/head cell with the appropriate column span
- # [17:38] * Joins: peol (~andree@unaffiliated/peol)
- # [17:38] <nimbupani> i dont see why it is improper design, sometimes all you want to do is have tabular data linked to one common page.
- # [17:38] <nimbupani> the table is visual data
- # [17:39] <nimbupani> linking is not visual but just navigation.
- # [17:39] <annevk> but linking table rows is not going to work
- # [17:39] <jgraham> boogyman: A good example colud be a mail client where the whole row was a link to the message
- # [17:40] <annevk> other example: http://html5.org/tools/web-apps-tracker
- # [17:40] <jgraham> It is clearly tabular data
- # [17:40] <annevk> but it does not work with the HTML5 parser (or with CSS)
- # [17:40] <boogyman> jgraham: there's no reason the whole row must be a link.. the TITLE of the message is perfectly capable of carrying that distinction
- # [17:40] <annevk> well, it would work with CSS if <a> replaced the <tr>
- # [17:40] <annevk> but then the semantics get dubious
- # [17:41] <jgraham> boogyman: There's no reason it *has* to be of course. But there's no reason it *shouldn't* be either
- # [17:41] <jgraham> if it makes nice UI
- # [17:41] <annevk> expressing the target area of a link in CSS might be neat
- # [17:42] <annevk> so you can say tr { redirect-hit-testing:childA } (bogus syntax)
- # [17:43] <nimbupani> does it not lead to more confusion between content and presentation?
- # [17:43] <boogyman> jgraham: proper design and/or ui techniques mandate that links be clearly distinguishable, and having 1 long "underline" across row after row ... doesn't make for good UI
- # [17:44] <jgraham> One would clearly not have one long underline
- # [17:44] <boogyman> So you're proposing to remove the default user-agent rendering of anchor tags?
- # [17:44] <annevk> web page UI != web app UI
- # [17:45] <jgraham> Anyway I am pretty sure it would make for good UI because I have often wished things would behave like this and many desktop apps do
- # [17:45] <jgraham> I don't see how the defaults really matter
- # [17:45] <boogyman> graceful degradation, and 508 compliance?
- # [17:46] * Quits: Martijnc (~Martijnc@91.176.115.239) (Read error: Connection reset by peer)
- # [17:46] <jgraham> Browsing without CSS will many many sites less usable
- # [17:46] <jgraham> *make many
- # [17:47] * Joins: Lachy (~Lachlan@cm-84.215.59.50.getinternet.no)
- # [17:47] <jcranmer> try browsing the web without JS
- # [17:47] <boogyman> So you're okay with changing the specification because of the poor designs of some arbitrary number of websites, main-stream or not?
- # [17:47] <jgraham> Hmm?
- # [17:48] <jgraham> I am OK with making good design possible from pure markup even if it doesn't look great with the default style sheet
- # [17:48] <boogyman> Just because some websites do not follow proper design techniques is not a reason to abandon
- # [17:48] <jcranmer> making an HTML agent without supporting CSS or JS is just shooting yourself in the foot
- # [17:48] <jgraham> In this case it is a fail anyway because the solution doesn't work with table rows
- # [17:48] * Quits: Lachy (~Lachlan@cm-84.215.59.50.getinternet.no) (Client Quit)
- # [17:49] * Joins: Lachy (~Lachlan@cm-84.215.59.50.getinternet.no)
- # [17:49] <boogyman> jcranmer: Markup first, Then presentation, Then dynamic content
- # [17:49] <annevk> boogyman, UAs without CSS could provide reasonable alternative presentation once the pattern becomes more prevalent
- # [17:50] <annevk> boogyman, if we only sticked with what is allowed in the past there would be no progress
- # [17:50] <boogyman> I agree, but not all progress is good
- # [17:50] <jcranmer> you say to-may-to, I say to-mah-to
- # [17:51] <annevk> I have a colleague that really makes a point of that tomato thing
- # [17:51] * jcranmer needs to choose idioms that are easier to express in written language
- # [17:52] <annevk> btw
- # [17:52] <annevk> getting the default namespace is as easy as lookupNamespaceURI(null)
- # [17:52] <boogyman> I'd rather have these types of situations sorted before the specification comes out of draft form, as it will take 5-10 yrs for most user-agents to reasonably support it
- # [17:53] <jcranmer> the only compelling argument I see for having <a> only include inline content is that it keeps links small if people forget the </a>
- # [17:54] <boogyman> jcranmer: which in development should be sorted...
- # [17:54] <jcranmer> so it's not a very strong argument, then
- # [17:55] <jgraham> This is something UAs already support
- # [17:55] <jgraham> That's why we ended up with the doesn't-work-with-tables solution
- # [17:56] * Joins: miketaylr (~miketaylr@24.42.95.108)
- # [17:57] <jgraham> (a good argument against the current solution might be that it will encourage people to use <div> instead of table cells for tabular data and mnake it all display:table-cell or whatever
- # [17:58] <jgraham> like <div class="table"><a class="tr"><div class="td"> and so on, and some CSS attached to the classes)
- # [17:59] <boogyman> WOW, more improper design techniques
- # [17:59] <jcranmer> it all depends on the copy-paste sources
- # [18:05] * Quits: shepazu (~schepers@dhcp232-197.enst.fr) (Quit: shepazu)
- # [18:05] * boogyman is now known as boogy|afk
- # [18:09] * Quits: MikeSmith (~MikeSmith@EM111-188-22-21.pool.e-mobile.ne.jp) (Ping timeout: 240 seconds)
- # [18:16] * Joins: MikeSmith (~MikeSmith@EM111-188-25-177.pool.e-mobile.ne.jp)
- # [18:18] * Joins: Maurice (copyman@5ED573FA.cable.ziggo.nl)
- # [18:25] * Parts: miketaylr (~miketaylr@24.42.95.108)
- # [18:25] * Quits: workmad3 (~workmad3@cpc3-bagu10-0-0-cust651.1-3.cable.virginmedia.com) (Remote host closed the connection)
- # [18:25] <annevk> oh god
- # [18:25] <annevk> isSupported()
- # [18:26] <annevk> bloat
- # [18:27] * Joins: Martijnc- (~Martijnc@91.176.244.37)
- # [18:28] <Dashiva> annevk.hasFeature('HtmlEditor')
- # [18:29] * Quits: maikmerten (~merten@dhcp-11-239.it.uu.se) (Remote host closed the connection)
- # [18:30] * Quits: boblet (~boblet@p2103-ipbf21osakakita.osaka.ocn.ne.jp) (Quit: boblet)
- # [18:31] <annevk> it's just painful how much stuff is in here that is poorly thought out and designed
- # [18:33] <annevk> of course, it wasn't news to anyone that the DOM was a kludge, but it was news to me how that was driven throughout the design whole of it -- it is inherently a kludge, so to say
- # [18:34] * Quits: mpt (~mpt@canonical/mpt) (Quit: Ex-Chat)
- # [18:35] * Quits: jeremyselier (~Jeremy@pro75-4-82-238-200-10.fbx.proxad.net) (Ping timeout: 245 seconds)
- # [18:39] <annevk> another one
- # [18:39] <annevk> Text.wholeText is readonly
- # [18:39] <annevk> Node.textContent is roughly of equivalent functionality but can also be set
- # [18:39] <jcranmer> if we could, I suppose we would rewrite everything from scratch
- # [18:39] <annevk> for Text.wholeText we need Text.replaceWholeText()
- # [18:40] <annevk> this whole wholeText feature is dubious to start with, but apparently every silly browser has it implemented
- # [18:41] <annevk> jcranmer, when I think about that I never no at what level it would be appropriate to stop
- # [18:41] <annevk> s/no/know/
- # [18:42] <annevk> it's also a lot easier of course to set up a slightly enhanced system now we know the requirements of now
- # [18:44] * Quits: akamike (~akamike@94-193-106-14.zone7.bethere.co.uk) (Quit: akamike)
- # [18:46] * Quits: Phae (~Phae@gatekeeper.macmillan.co.uk) (Quit: Leaving.)
- # [18:51] <abarth> jgraham, hsivonen: if you're talking about the html5lib tests, they're available under this license: http://trac.webkit.org/browser/trunk/WebKit/LICENSE
- # [18:52] <abarth> everything in svn.webkit.org that doesn't have an explicit license is available under that license
- # [18:52] <annevk> what about 2010?
- # [18:52] <abarth> :)
- # [18:53] <abarth> not sure who's supposed to bump the year on the file
- # [18:53] * Quits: Rik` (~Rik`@mozilla-paris-222-194.cnt.nerim.net) (Remote host closed the connection)
- # [18:53] <abarth> i'm told that it doesn't actually matter
- # [18:53] <annevk> licensing is so passe anyway ;p
- # [18:56] <abarth> (to be clear, i was told the year doesn't actually matter. the rest is moderately important)
- # [18:57] * Quits: annevk (~annevk@pat-tdc.opera.com) (Quit: annevk)
- # [19:04] * Quits: romeo_ (~romeo__@x1-6-00-02-44-60-6c-8e.k233.webspeed.dk) (Quit: Leaving)
- # [19:08] * Joins: JoePeck (~JoePeck@c-76-102-33-198.hsd1.ca.comcast.net)
- # [19:11] * Joins: shepazu (~schepers@LPuteaux-156-16-100-112.w80-12.abo.wanadoo.fr)
- # [19:12] * Joins: jacobolus (~jacobolus@c-66-31-201-117.hsd1.ma.comcast.net)
- # [19:12] * Joins: henrikbjorn (~henrik@c83-249-72-254.bredband.comhem.se)
- # [19:13] * Joins: annevk (~annevk@199-3-8.connect.netcom.no)
- # [19:14] * Quits: MikeSmith (~MikeSmith@EM111-188-25-177.pool.e-mobile.ne.jp) (Quit: The curfew tolls the knell of parting day... the plowman homeward plods his weary way)
- # [19:14] * Quits: annevk (~annevk@199-3-8.connect.netcom.no) (Remote host closed the connection)
- # [19:14] * Joins: MikeSmith (~MikeSmith@EM111-188-25-177.pool.e-mobile.ne.jp)
- # [19:18] * Parts: adactio (~adactio@host213-123-197-180.in-addr.btopenworld.com)
- # [19:21] * Quits: shepazu (~schepers@LPuteaux-156-16-100-112.w80-12.abo.wanadoo.fr) (Quit: shepazu)
- # [19:26] * Quits: matjas (~matjas@ip-213-49-115-254.dsl.scarlet.be) (Ping timeout: 245 seconds)
- # [19:34] * Joins: matjas (~matjas@ip-213-49-93-122.dsl.scarlet.be)
- # [19:38] <hsivonen> abarth: whoa so the test cases you committed to html5lib aren't actually under the same license as the rest of html5lib?
- # [19:39] <hsivonen> abarth: is there a lawyer-satisfying statement on the WebKit site somewhere saying that license headerless test cases in the WebKit tree are under the Apple license even if they came from non-Apple contributors?
- # [19:40] <abarth> would you like them under the MIT license?
- # [19:40] <hsivonen> abarth: it would be simpler if everything in the html5lib repo were MIT, sure
- # [19:41] <abarth> IANAL, but i think this is the operative text:
- # [19:41] <abarth> http://pastebin.com/kXF5RqLm
- # [19:41] <abarth> you agree to that every time you upload a patch
- # [19:42] <abarth> also the committer agreement you sign when you get commit rights says something similar
- # [19:43] <hsivonen> abarth: thanks! I'll point Mozilla legal to that
- # [19:43] <abarth> i suspect, actually, they're already licensed under MIT as well
- # [19:43] <abarth> given that eric and i wrote them
- # [19:43] <abarth> and we added them to html5lib
- # [19:43] <abarth> which is licensed under MIT
- # [19:44] <abarth> ideally we would have agreed to something that says everything we push to html5lib is licensed under MIT
- # [19:44] <abarth> or, even better, the files themselves would carry a license block
- # [19:46] <hsivonen> abarth: I expected them to be under MIT, but the I noticed that the contributors weren't listed in the LICENSE file on the top level of html5lib
- # [19:47] <abarth> ok, i can add eric and myself to that list if you think that's helpful
- # [19:47] * Joins: cying (~cying@c-24-4-120-70.hsd1.ca.comcast.net)
- # [19:49] <hsivonen> abarth: I think it would be helpful to have the copyright holders listed, there (unless there are copyright holders who deliberately wish to waive notices)
- # [19:49] <hsivonen> s/,//
- # [19:50] <abarth> done
- # [19:50] <abarth> this licensing stuff is mostly religion as far as i can tell
- # [19:50] * Joins: workmad3 (~workmad3@cpc3-bagu10-0-0-cust651.1-3.cable.virginmedia.com)
- # [19:50] <hsivonen> abarth: thanks
- # [19:51] <hsivonen> abarth: sorry about being annoying, but I need to cover my legal behind for stuff I push to mozilla-central
- # [19:51] * Quits: zcorpan_ (~zcorpan@c-ec9fe355.410-6-64736c14.cust.bredbandsbolaget.se) (Quit: zcorpan_)
- # [19:51] <abarth> oh, not at all. Everyone in the community appreciates your being careful
- # [19:51] <abarth> webkit isn't careful enough, IMHO
- # [19:52] <abarth> i've long thought we should have a license bot that checks all incoming patches for appropriate license blocks
- # [20:02] * Quits: Necrathex (~bleptop@212-123-163-12.ip.telfort.nl) (Quit: Necrathex)
- # [20:04] * Joins: hamcore (rhythm@unaffiliated/msmosso)
- # [20:11] <AryehGregor> MediaWiki developers don't seem to care about licenses at all. No one signs anything when they submit patches or get commit access, and almost none of the files have license blocks.
- # [20:12] <Moo^_^> AryehGregor: live dangerously, die young? :)
- # [20:14] <jgraham> There are more people missing from the license file
- # [20:14] <jgraham> Looking at the commit history. And I should change my email address
- # [20:14] <jgraham> And there is probably more that is wrong
- # [20:16] * Quits: boogy|afk (~boogy@unaffiliated/boogyman) (Quit: ChatZilla 0.9.86 [Firefox 3.6.8/20100722155716])
- # [20:18] * Quits: henrikbjorn (~henrik@c83-249-72-254.bredband.comhem.se) (Remote host closed the connection)
- # [20:21] * Joins: aho (~nya@fuld-4d00d341.pool.mediaWays.net)
- # [20:23] * Quits: cying (~cying@c-24-4-120-70.hsd1.ca.comcast.net) (Quit: cying)
- # [20:24] * Martijnc- is now known as Martijnc
- # [20:27] * Joins: zcorpan_ (~zcorpan@c-ec9fe355.410-6-64736c14.cust.bredbandsbolaget.se)
- # [20:36] * Quits: JoePeck (~JoePeck@c-76-102-33-198.hsd1.ca.comcast.net) (Quit: -)
- # [20:38] * Quits: zcorpan_ (~zcorpan@c-ec9fe355.410-6-64736c14.cust.bredbandsbolaget.se) (Quit: zcorpan_)
- # [20:42] * Joins: davidhund (~davidhund@dnuhd.xs4all.nl)
- # [20:48] * Quits: Lachy (~Lachlan@cm-84.215.59.50.getinternet.no) (Quit: Leaving)
- # [20:53] * Joins: romeo_ (~romeo__@80.162.42.123)
- # [21:06] * Joins: henrikbjorn (~henrik@c83-249-72-254.bredband.comhem.se)
- # [21:06] * AryehGregor discovers that Chrome now suggests the Readability bookmarklet when he starts typing "readability" in the Omnibox, which is awesome, since he can't figure out how to actually bookmark it
- # [21:08] * Quits: peol (~andree@unaffiliated/peol) (Remote host closed the connection)
- # [21:31] * Joins: paul_irish (~paul_iris@32.167.84.78)
- # [21:34] <aho> AryehGregor, just create a new bookmark and paste that "javascript:..." junk there (in this case you can get that by right clicking the readability button and then selecting "copy link location" from the context menu)
- # [21:34] <AryehGregor> Oh, you know, I think that's what I did.
- # [21:34] <AryehGregor> Which is why Chrome found it.
- # [21:34] <AryehGregor> Duh.
- # [21:35] * AryehGregor was vaguely wondering how it could have associated the bookmarklet with "Readability" automatically
- # [21:35] <aho> heh
- # [21:35] * AryehGregor guesses he just assumes Chrome is magical
- # [21:36] <paul_irish> it certainly is.
- # [21:41] * Quits: peterhil (~peterhil@a91-153-127-82.elisa-laajakaista.fi) (Ping timeout: 276 seconds)
- # [21:43] * Joins: Necrathex (~bleptop@dhcp-077-249-098-203.chello.nl)
- # [21:54] * Joins: paul_irish_ (~paul_iris@32.167.84.78)
- # [21:54] * Quits: paul_irish (~paul_iris@32.167.84.78) (Read error: Connection reset by peer)
- # [21:56] <AryehGregor> Does Firefox support ping? There's a ping IDL attribute on a and area, it looks like, at least in Minefield.
- # [21:58] * Joins: paul_irish (~paul_iris@32.167.84.78)
- # [21:58] * Quits: paul_irish_ (~paul_iris@32.167.84.78) (Read error: Connection reset by peer)
- # [22:00] <AryehGregor> "On setting, the given value must be converted to the shortest possible string representing the number as a valid non-negative integer"
- # [22:00] <AryehGregor> That sounds non-trivial, and somehow I suspect browsers don't do it.
- # [22:00] * Quits: mlpug (~mlpug@a88-115-171-217.elisa-laajakaista.fi) (Remote host closed the connection)
- # [22:01] <AryehGregor> I bet they do whatever ECMAScript says.
- # [22:01] * AryehGregor wouldn't bet *too* much, though.
- # [22:02] <Philip`> AryehGregor: That just means omitting any leading 0s, I think
- # [22:02] <AryehGregor> It doesn't allow exponential notation?
- # [22:02] * AryehGregor checks
- # [22:03] <AryehGregor> Oh, it doesn't.
- # [22:03] <AryehGregor> Okay, you're righ.t
- # [22:03] <AryehGregor> right.
- # [22:03] <Philip`> and omitting whitespace
- # [22:03] <AryehGregor> Ah, for floats it does reference ToString: http://www.whatwg.org/specs/web-apps/current-work/multipage/common-microsyntaxes.html#best-representation-of-the-number-as-a-floating-point-number
- # [22:10] * Joins: peterhil (~peterhil@a91-153-127-82.elisa-laajakaista.fi)
- # [22:13] * Joins: paul_irish_ (~paul_iris@32.167.84.78)
- # [22:14] * Quits: paul_irish (~paul_iris@32.167.84.78) (Read error: Connection reset by peer)
- # [22:22] * Joins: ttepasse (~ttepasse@ip-109-90-160-217.unitymediagroup.de)
- # [22:22] * Joins: Rik` (~Rik`@pha75-2-81-57-187-57.fbx.proxad.net)
- # [22:22] * Joins: JoePeck (~JoePeck@c-76-102-33-198.hsd1.ca.comcast.net)
- # [22:28] * Quits: workmad3 (~workmad3@cpc3-bagu10-0-0-cust651.1-3.cable.virginmedia.com) (Remote host closed the connection)
- # [22:29] * Joins: Steve^ (~steve@cpc1-stkp7-2-0-cust374.10-2.cable.virginmedia.com)
- # [22:30] * Quits: davidhund (~davidhund@dnuhd.xs4all.nl) (Quit: davidhund)
- # [22:36] <AryehGregor> Wow, IE8 supports "maxlength" instead of "maxLength" as an IDL property. Impressive.
- # [22:36] <AryehGregor> By the way, is it correct to call them "IDL properties"? Or is there some better name?
- # [22:36] * Quits: jacobolus (~jacobolus@c-66-31-201-117.hsd1.ma.comcast.net) (Remote host closed the connection)
- # [22:36] <AryehGregor> Because I'm calling them IDL properties everything in the code for this test case, and it would be nice if I weren't completely confusing everyone.
- # [22:36] <AryehGregor> IDL attribute, I mean.
- # [22:37] <AryehGregor> Okay, the spec calls them that, so I'm safe.
- # [22:37] * Quits: oal (~oal@5.79-160-122.customer.lyse.net) (Remote host closed the connection)
- # [22:39] * Joins: boogyman (~boogy@unaffiliated/boogyman)
- # [22:41] <AryehGregor> Oh, wait, IE8 supports textarea.maxlength but input.maxLength? . . . never mind, I don't even want to know.
- # [22:43] <espadrine> I don't understand why this does not work:
- # [22:44] <espadrine> http://software.hixie.ch/utilities/js/canvas/?c.clearRect(0,%200,%20640,%20480);%0Ac.save();%0A%0Avar%20img%20%3D%20new%20Image();%0Aimg.src%20%3D%20'http://croczilla.com/bits_and_pieces/svg/samples/lion/lion.svg';%0Ac.fillStyle%20%3D%20c.createPattern(img,'');%0Ac.fillRect(0,0,c.canvas.width,c.canvas.height);%0A%0Ac.restore();%0A
- # [22:44] <AryehGregor> "Work" in what sense?
- # [22:45] <espadrine> If you use one of the images Hixie gives, they appear.
- # [22:45] <espadrine> On the background.
- # [22:45] <espadrine> As a pattern.
- # [22:47] * Joins: Lachy (~Lachlan@cm-84.215.59.50.getinternet.no)
- # [22:47] * Joins: jacobolus (~jacobolus@c-66-31-201-117.hsd1.ma.comcast.net)
- # [22:48] <espadrine> I have tested this piece of code on a number of browsers, none of them draw the image of the lion on the background...
- # [22:50] * Quits: smaug____ (~chatzilla@cs181063178.pp.htv.fi) (Ping timeout: 258 seconds)
- # [22:52] <espadrine> Actually, Opera *does*, but only if we *click* on the canvas.
- # [22:52] <espadrine> ... and it crashes.
- # [22:52] <AryehGregor> Yeah, the example froze up Opera for me.
- # [22:52] <AryehGregor> And it threw some error in Firefox nightly.
- # [22:52] <AryehGregor> Displayed a lion picture in Chrome dev, though.
- # [22:52] <espadrine> Firefox refuses SVG images
- # [22:53] <AryehGregor> Dunno if it's correct, but it's a pretty lion picture, so I consider it the winner.
- # [22:53] <espadrine> No way! I tested Chrome dev seconds ago!
- # [22:53] <AryehGregor> What do you see?
- # [22:54] <espadrine> Nothing! (Elephants Dream reminiscence :)
- # [22:54] <espadrine> It is plain blank for me.
- # [22:56] * espadrine is downloading the latest webkit...
- # [22:57] <espadrine> Nothing on the latest webkit too...
- # [23:01] <espadrine> Feels like SVG images are a big bag of bugs in all browsers, not just Firefox...
- # [23:02] * Joins: pesla (~pesla@ip51cc03a5.speed.planet.nl)
- # [23:05] * Joins: jschuh|home (62cf2a18@gateway/web/freenode/ip.98.207.42.24)
- # [23:06] * Joins: roc (~roc@203-97-204-82.dsl.clear.net.nz)
- # [23:08] <AryehGregor> I like to test the quality of my refactoring commits by doing git diff | grep ^- | wc -l and comparing to git diff | grep ^+ | wc -l.
- # [23:08] * Quits: paul_irish_ (~paul_iris@32.167.84.78) (Read error: Connection reset by peer)
- # [23:08] * AryehGregor sees -151, +77 on this commit, yay
- # [23:08] <Hixie> espadrine: you're painting it before it's leaded
- # [23:09] <Hixie> loaded
- # [23:09] <Philip`> AryehGregor: Tried "git diff | diffstat"?
- # [23:09] <espadrine> Hixie: http://software.hixie.ch/utilities/js/canvas/?c.clearRect(0,%200,%20640,%20480);%0Ac.save();%0Avar%20img%20%3D%20new%20Image();%0Aimg.src%20%3D%20'http://croczilla.com/bits_and_pieces/svg/samples/lion/lion.svg';%0Aimg.onload%20%3D%20function()%20{%0Ac.fillStyle%20%3D%20c.createPattern(img,'');%0Ac.fillRect(0,0,c.canvas.width,c.canvas.height);%0A}%0Ac.restore();%0A
- # [23:10] <Philip`> AryehGregor: or "git diff --stat"
- # [23:10] <AryehGregor> Philip`, this is git, we don't -- yeah, I was about to say that.
- # [23:10] <Philip`> AryehGregor: Seems easier than grepping
- # [23:10] <AryehGregor> git doesn't need any silly "external program" things.
- # [23:10] <Philip`> So why are you using grep and wc? :-)
- # [23:10] <Hixie> espadrine: the code in the box gets called ten times a second
- # [23:10] <AryehGregor> Because I used to a) use SVN, and b) not know about diffstat.
- # [23:10] <Hixie> espadrine: by the time the image has loaded you've launched another 20 image loads
- # [23:11] <Hixie> espadrine: and they'll all wipe out the one that did load
- # [23:11] * Joins: paul_irish (~paul_iris@32.167.84.78)
- # [23:14] <espadrine> Hixie: well... this is an issue indeed, but I swear it doesn't work! I just tested a version of it in an html test file!
- # [23:14] * Quits: Maurice (copyman@5ED573FA.cable.ziggo.nl)
- # [23:16] * AryehGregor goes to get something to eat before he tries porting enums to the rewrite of his reflection testing framework
- # [23:16] * Quits: roc (~roc@203-97-204-82.dsl.clear.net.nz) (Quit: roc)
- # [23:17] * Joins: roc (~roc@203-97-204-82.dsl.clear.net.nz)
- # [23:18] <jgraham> espadrine: If you have crashed Opera could you file a bug, please
- # [23:19] <espadrine> jgraham: sure... although it seems to happen once in twenty times...
- # [23:19] <Hixie> espadrine: uri?
- # [23:19] * Quits: jacobolus (~jacobolus@c-66-31-201-117.hsd1.ma.comcast.net) (Read error: Connection reset by peer)
- # [23:20] * Joins: jacobolus (~jacobolus@c-66-31-201-117.hsd1.ma.comcast.net)
- # [23:21] <jgraham> espadrine: No problem
- # [23:21] <jgraham> Just note that in the description
- # [23:21] * jgraham can't get the page to load from the permalink for some reason
- # [23:22] <espadrine> Hixie: http://jseed.sourceforge.net/bugs/bugCan.html
- # [23:28] <Hixie> can you add a document.body.appendChild(img)
- # [23:30] <Hixie> so that we can see if it's loading right?
- # [23:31] <espadrine> Hixie: That does it for Chrome dev. http://jseed.sourceforge.net/bugs/bugCan.html
- # [23:31] <espadrine> Opera does not trigger the onload event for SVG images, on the other hand.
- # [23:31] <Hixie> does what?
- # [23:31] <Hixie> still isn't painting
- # [23:32] <Hixie> weird
- # [23:32] * Quits: pesla (~pesla@ip51cc03a5.speed.planet.nl) (Quit: zzzzleepy!)
- # [23:32] <Hixie> OH!
- # [23:32] <Hixie> dude
- # [23:32] <espadrine> Hixie: it is painting for me on Opera.
- # [23:32] <Hixie> "''" isn't a valid argument to createPattern()
- # [23:33] <Hixie> though 'repeat' should be assumed so that shouldn't be it
- # [23:33] <espadrine> Yes it is! It is the same as null and "repeat"
- # [23:33] <Hixie> hm
- # [23:33] <Hixie> no, it's not valid
- # [23:33] <Hixie> "The second argument must be a string with one of the following values: repeat, repeat-x, repeat-y, no-repeat."
- # [23:33] <Hixie> other values are non-conforming, though '' is treated as 'repeat' for some reason
- # [23:33] <espadrine> Right. It is "tolerated".
- # [23:33] <Hixie> it's invalid
- # [23:33] <Hixie> but anyway, it shouldn't affect this
- # [23:34] <espadrine> It doesn't (I just changed the uri).
- # [23:34] * Quits: paul_irish (~paul_iris@32.167.84.78) (Remote host closed the connection)
- # [23:35] * Quits: FireFly (~firefly@unaffiliated/firefly) (Quit: swatted to death)
- # [23:35] * Quits: Necrathex (~bleptop@dhcp-077-249-098-203.chello.nl) (Quit: Necrathex)
- # [23:36] <Hixie> does it work if you use a png instead of an svg?
- # [23:37] * Quits: Steve^ (~steve@cpc1-stkp7-2-0-cust374.10-2.cable.virginmedia.com) (Ping timeout: 245 seconds)
- # [23:38] <espadrine> Yes.
- # [23:38] <Hixie> must just be poor support for SVG then
- # [23:45] <espadrine> Maybe IE9 is the only browser to render it well, I cannot test it.
- # [23:51] * Quits: ROBOd (~robod@109.96.218.25) (Quit: .)
- # [23:57] * Joins: nessy (~Adium@124-169-0-56.dyn.iinet.net.au)
- # [23:57] * Quits: henrikbjorn (~henrik@c83-249-72-254.bredband.comhem.se) (Remote host closed the connection)
- # Session Close: Tue Sep 07 00:00:00 2010
The end :)