Options:
- # Session Start: Mon Jul 14 00:00:00 2008
- # Session Ident: #whatwg
- # [00:01] * Quits: heycam (n=cam@124-168-84-21.dyn.iinet.net.au) ("bye")
- # [00:04] <Philip`> takkaria: http://canvex.lazyilluminati.com/misc/stats/ has some fairly rubbish data including number of attributes per tag
- # [00:06] * Joins: hasather (n=hasather@ti0034a380-2730.bb.online.no)
- # [00:09] * Quits: csarven (n=csarven@modemcable144.140-202-24.mc.videotron.ca) (Read error: 110 (Connection timed out))
- # [00:17] <john__m> annevk: maybe you should call my client and tell them that – my attempts, obviously, failed :)
- # [00:30] * Parts: hasather (n=hasather@ti0034a380-2730.bb.online.no)
- # [00:55] * Quits: jacobolus (n=jacobolu@pool-71-119-200-174.lsanca.dsl-w.verizon.net)
- # [01:04] <annevk> Hixie, status of http://www.whatwg.org/specs/web-workers/current-work/ is probably wrong, it's not really a "Draft Recommendation"
- # [01:09] * Joins: heycam (n=cam@clm-laptop.infotech.monash.edu.au)
- # [01:09] <takkaria> Philip`: ah, thankyou
- # [01:09] <takkaria> Philip`: did you do that with an html5 parser?
- # [01:14] <Philip`> takkaria: It was with a (very old) HTML5 tokeniser
- # [01:14] <Philip`> though I might have hacked in something to make it respond to <script> etc correctly
- # [01:15] <takkaria> hmm
- # [01:16] <takkaria> it fits in with what I thought
- # [01:16] <takkaria> well, wildly guessed
- # [01:17] <takkaria> which was that attributes can be allocated in blocks of five
- # [01:17] <Philip`> I measured stuff like tag name lengths so I could preallocate enough space to make the common cases fast, but I can't find any of the results from that :-(
- # [01:18] <takkaria> I'd be very interested in seeing the longest attribute values found in real world content
- # [01:20] <Philip`> I saw tens of kilobytes in some <img alt> attributes
- # [01:21] <takkaria> I wonder what implementation limits there are in current Web browsers
- # [01:25] * Quits: virtuelv (n=virtuelv@192.80-203-77.nextgentel.com) (Read error: 110 (Connection timed out))
- # [01:27] <roc> we have a 2GB string limit, other than that I think we're OK
- # [01:28] <takkaria> roc: I've been wanting to isolate mozilla's htmlparser to do speed tests with it, you don't know of anyone who's done something similar in the past do you?
- # [01:28] <Philip`> Hmph, there goes my plans for a microformat that embeds base-64 DVD rips in title attributes :-(
- # [01:29] * takkaria chuckles
- # [01:29] <roc> I know people have tried to do that, but I don't have any details worry
- # [01:29] <roc> sorry
- # [01:29] <takkaria> ah, it was worth trying. thanks :)
- # [01:29] <roc> mrbkap might know
- # [01:30] * Joins: ianloic (i=yakk@glub.dreamhostps.com)
- # [01:30] <roc> my guess is our parser is not all that fast, other than bugfixes it has not received enthusiastic maintenance for several years.
- # [01:30] <takkaria> hmm
- # [01:31] <takkaria> I was going to have a play with it at some point and see if I could coax some more html5-style handling into it
- # [01:31] <takkaria> probably in the autumn, though, if at all
- # [01:31] <roc> I would dearly love someone to come up with a super-fast from-scratch HTML5 parser that we could integrate :-)
- # [01:31] <roc> but mrbkap is the person to talk to about such things
- # [01:34] <takkaria> ok, I might have to do that later
- # [01:34] <takkaria> he's working on html5 comment parsing in mozilla IIRC, right?
- # [01:35] <takkaria> yeah, he is: https://bugzilla.mozilla.org/show_bug.cgi?id=214476
- # [02:32] * Joins: MikeSmith (n=MikeSmit@58.157.21.205)
- # [02:44] * Quits: scotfl__ (n=scotfl@S0106001b114f914a.ss.shawcable.net)
- # [02:57] * Quits: KevinMarks (n=KevinMar@c-98-207-134-151.hsd1.ca.comcast.net) ("The computer fell asleep")
- # [03:01] * Quits: tusho (n=tusho@91.105.77.118)
- # [03:04] * Quits: dbaron (n=dbaron@c-71-198-188-254.hsd1.ca.comcast.net) ("8403864 bytes have been tenured, next gc will be global.")
- # [03:09] * Joins: KevinMarks (n=KevinMar@c-98-207-134-151.hsd1.ca.comcast.net)
- # [03:12] * Joins: csarven (n=csarven@modemcable144.140-202-24.mc.videotron.ca)
- # [03:26] <Lachy> JohnResig_, another selectos api feature request. http://www.w3.org/Bugs/Public/show_bug.cgi?id=5864 If you know of or think of any other feature requests, particularly those that are already implemented in JS libraries, let me know
- # [03:43] <JohnResig_> Lachy: cool, thanks - I'll be sure to let you know
- # [03:46] * Quits: tndH (i=Rob@adsl-77-86-108-88.karoo.KCOM.COM) ("ChatZilla 0.9.83-rdmsoft [XULRunner 1.9/2008061013]")
- # [04:04] * Quits: KevinMarks (n=KevinMar@c-98-207-134-151.hsd1.ca.comcast.net) (Read error: 104 (Connection reset by peer))
- # [04:13] * Joins: KevinMarks (n=KevinMar@c-98-207-134-151.hsd1.ca.comcast.net)
- # [04:16] * Joins: scotfl (n=scotfl@S0106001b114f914a.ss.shawcable.net)
- # [04:27] * Joins: Lucias_O`Neil (n=Lucias__@pool-72-65-217-147.pitbpa.east.verizon.net)
- # [04:52] * Joins: svl (n=me@global185.lnk.telstra.net)
- # [04:53] * Quits: jruderman (n=jruderma@c-67-180-39-55.hsd1.ca.comcast.net)
- # [05:12] * Quits: svl (n=me@global185.lnk.telstra.net) ("And back he spurred like a madman, shrieking a curse to the sky.")
- # [05:22] * Joins: hdh (n=hdh@58.187.60.173)
- # [05:26] * Quits: heyadayo2 (n=mcarter@pool-72-87-174-249.lsanca.btas.verizon.net) (Read error: 110 (Connection timed out))
- # [05:32] * Parts: Lucias_O`Neil (n=Lucias__@pool-72-65-217-147.pitbpa.east.verizon.net)
- # [05:40] * Joins: MacDome (n=eric@c-67-180-49-110.hsd1.ca.comcast.net)
- # [05:45] * Quits: MacDome (n=eric@c-67-180-49-110.hsd1.ca.comcast.net) (Client Quit)
- # [05:54] * Joins: MacDome (n=eric@c-67-180-49-110.hsd1.ca.comcast.net)
- # [05:59] * Quits: MacDome (n=eric@c-67-180-49-110.hsd1.ca.comcast.net) (Client Quit)
- # [06:15] * Quits: KevinMarks (n=KevinMar@c-98-207-134-151.hsd1.ca.comcast.net) ("The computer fell asleep")
- # [06:53] * Joins: MacDome (n=eric@adsl-76-203-75-40.dsl.pltn13.sbcglobal.net)
- # [07:19] * Quits: MikeSmith (n=MikeSmit@58.157.21.205) ("Less talk, more pimp walk.")
- # [07:31] * Quits: MacDome (n=eric@adsl-76-203-75-40.dsl.pltn13.sbcglobal.net)
- # [07:46] * Quits: heycam (n=cam@clm-laptop.infotech.monash.edu.au) ("bye")
- # [07:47] * Joins: MacDome (n=eric@c-67-180-49-110.hsd1.ca.comcast.net)
- # [07:51] * Quits: roc (n=roc@202.0.36.64)
- # [07:52] * Joins: MikeSmith (n=MikeSmit@EM60-254-197-240.pool.e-mobile.ne.jp)
- # [07:57] * Quits: csarven (n=csarven@modemcable144.140-202-24.mc.videotron.ca) (Read error: 110 (Connection timed out))
- # [08:10] * Joins: maikmerten (n=merten@ls5laptop14.cs.uni-dortmund.de)
- # [08:11] * Quits: MacDome (n=eric@c-67-180-49-110.hsd1.ca.comcast.net)
- # [08:14] * Joins: heycam (n=cam@124-168-84-21.dyn.iinet.net.au)
- # [08:28] * Quits: mpt (n=mpt@canonical/launchpad/mpt) (Read error: 110 (Connection timed out))
- # [08:28] * Joins: mpt (n=mpt@canonical/launchpad/mpt)
- # [08:39] * Joins: MacDome (n=eric@c-67-180-49-110.hsd1.ca.comcast.net)
- # [08:48] * Quits: MacDome (n=eric@c-67-180-49-110.hsd1.ca.comcast.net)
- # [08:59] * Joins: jacobolus (n=jacobolu@pool-71-119-200-174.lsanca.dsl-w.verizon.net)
- # [09:12] * Quits: sverrej (n=sverrej@89.10.27.86) (Read error: 110 (Connection timed out))
- # [09:19] * weinig is now known as weinig|zZz
- # [09:21] <Lachy> Geez, why won't some people listen when I say no and explain why :root cannot be redefined?! http://lists.w3.org/Archives/Public/www-style/2008Jul/0298.html
- # [09:43] * Quits: gavin_ (n=gavin@firefox/developer/gavin) (Read error: 113 (No route to host))
- # [09:53] * Quits: webben_ (n=benh@dip5-fw.corp.ukl.yahoo.com)
- # [09:56] * Joins: roc (n=roc@121-72-181-112.dsl.telstraclear.net)
- # [10:12] * Quits: weinig|zZz (n=weinig@c-71-198-176-23.hsd1.ca.comcast.net)
- # [10:14] * Joins: Copyman (n=ano@82-204-22-72.dsl.bbeyond.nl)
- # [10:14] * Copyman is now known as Maurice
- # [10:20] <MikeSmith> Philip`: you around?
- # [10:31] * Joins: hdh0 (n=hdh@118.71.122.17)
- # [10:35] * Joins: aaronlev (n=chatzill@f051072214.adsl.alicedsl.de)
- # [10:40] * Quits: tommorris (n=tommorri@i-83-67-98-32.freedom2surf.net)
- # [10:42] * Quits: MikeSmith (n=MikeSmit@EM60-254-197-240.pool.e-mobile.ne.jp) ("Less talk, more pimp walk.")
- # [10:42] * Quits: hdh (n=hdh@58.187.60.173) (Read error: 110 (Connection timed out))
- # [10:52] * Joins: webben (n=benh@nat/yahoo/x-af47f7d4dac26c5a)
- # [11:03] * Quits: Lachy (n=Lachlan@85.196.122.246) ("This computer has gone to sleep")
- # [11:03] <Philip`> MikeSmith: Yes, but you aren't
- # [11:10] * Joins: ROBOd (n=robod@89.122.216.38)
- # [11:14] * Joins: Lachy (n=Lachlan@pat-tdc.opera.com)
- # [11:20] * Joins: MikeSmith (n=MikeSmit@58.157.21.205)
- # [11:30] * Joins: sverrej (n=sverrej@pat-tdc.opera.com)
- # [11:35] * Joins: mcarter (n=amduser@cs105-14.cs.pomona.edu)
- # [12:00] * Quits: maikmerten (n=merten@ls5laptop14.cs.uni-dortmund.de) ("Verlassend")
- # [12:04] * Quits: roc (n=roc@121-72-181-112.dsl.telstraclear.net)
- # [12:09] * Joins: webben_ (n=benh@nat/yahoo/x-bf86702ccfff8b8d)
- # [12:20] * Quits: webben (n=benh@nat/yahoo/x-af47f7d4dac26c5a) (Read error: 110 (Connection timed out))
- # [12:22] * Quits: scotfl (n=scotfl@S0106001b114f914a.ss.shawcable.net)
- # [12:27] * Joins: svl (n=me@global185.lnk.telstra.net)
- # [12:32] * Joins: myakura (n=myakura@p1216-ipbf601marunouchi.tokyo.ocn.ne.jp)
- # [12:50] * Joins: webben (n=benh@nat/yahoo/x-a69f90d5d1678d6b)
- # [12:55] * Joins: tndH (i=Rob@adsl-77-86-108-88.karoo.KCOM.COM)
- # [13:01] * Joins: aaronlev_ (n=chatzill@e181179137.adsl.alicedsl.de)
- # [13:03] * Quits: sverrej (n=sverrej@pat-tdc.opera.com) ("Ex-Chat")
- # [13:05] * Quits: webben (n=benh@nat/yahoo/x-a69f90d5d1678d6b)
- # [13:06] * Quits: webben_ (n=benh@nat/yahoo/x-bf86702ccfff8b8d) (Read error: 113 (No route to host))
- # [13:16] * Quits: myakura (n=myakura@p1216-ipbf601marunouchi.tokyo.ocn.ne.jp) ("Leaving...")
- # [13:20] * Quits: aaronlev (n=chatzill@f051072214.adsl.alicedsl.de) (Read error: 110 (Connection timed out))
- # [13:20] * Parts: mcarter (n=amduser@cs105-14.cs.pomona.edu)
- # [13:33] * Joins: roc (n=roc@121-72-181-112.dsl.telstraclear.net)
- # [13:51] * Joins: maikmerten (n=merten@ls5laptop14.cs.uni-dortmund.de)
- # [13:59] * Quits: jacobolus (n=jacobolu@pool-71-119-200-174.lsanca.dsl-w.verizon.net) (Read error: 110 (Connection timed out))
- # [14:08] * Joins: webben (n=benh@nat/yahoo/x-1a59a0cc723890a1)
- # [14:22] * Joins: hdh00 (n=hdh@118.71.126.158)
- # [14:26] * takkaria reads the SVG WG's proposal
- # [14:28] <annevk> Hmm, Mozilla is not going re-use XMLHttpRequest for Workers? -- https://bugzilla.mozilla.org/show_bug.cgi?id=437152
- # [14:38] * Joins: virtuelv (n=virtuelv@192.80-203-77.nextgentel.com)
- # [14:38] * Quits: hdh0 (n=hdh@118.71.122.17) (Connection timed out)
- # [14:41] <takkaria> well, they want a case-preserving tokeniser
- # [14:41] <takkaria> though I can't see why, since as soon as they hit an <svg xmlns="..."> tag they hand it off to an XML processor anyway
- # [14:42] <takkaria> they also have a paragraph about using SVG in <img> which is mostly entirely irrelevant
- # [14:42] * Joins: tndH_ (i=Rob@adsl-87-102-115-209.karoo.KCOM.COM)
- # [14:43] <annevk> case-preserving the toeknizer helps with <svg viewBox=... xmlns=...>
- # [14:43] <annevk> tokenizer, even
- # [14:44] <roc> yeah that whole section about SVG integration with HTML is irrelevant
- # [14:44] <takkaria> it doesn't, since they want everything from "<svg" to be passed
- # [14:45] <roc> I think the issue is that they don't want <SVG xMLns="..."> to do something
- # [14:46] <takkaria> it won't do the right thing anyway, because when it gets passed to the XML parser, the resulting tree will have no namespace or whatever
- # [14:50] <takkaria> what they have is implementable, but I really object to having to deal with *:math and *:svg
- # [14:51] <annevk> I guess I'm glad I'm going away for a few weeks while everyone else can have that discussion :)
- # [14:51] <takkaria> heh
- # [15:02] * Quits: tndH (i=Rob@adsl-77-86-108-88.karoo.KCOM.COM) (Read error: 110 (Connection timed out))
- # [15:03] * Quits: svl (n=me@global185.lnk.telstra.net) ("And back he spurred like a madman, shrieking a curse to the sky.")
- # [15:08] <Lachy> JohnResig_, yt?
- # [15:08] <JohnResig_> Lachy: yeah
- # [15:08] <Lachy> just a quick question about http://docs.jquery.com/Traversing/filter#expr
- # [15:09] * Joins: myakura (n=myakura@p1216-ipbf601marunouchi.tokyo.ocn.ne.jp)
- # [15:09] <Lachy> I don't understand the use cases for that. How is the example given: $("p").filter(".selected"); any different from $("p.selected"); ?
- # [15:10] * Quits: roc (n=roc@121-72-181-112.dsl.telstraclear.net)
- # [15:10] <JohnResig_> Lachy: it's not any different - but it allows for 1) queries to $("p") to be cached for later and 2) it allows you to manipulate $("p") before performing a later filter, weening down the number of elements.
- # [15:10] <Lachy> ok
- # [15:11] <annevk> document.forms.querySelector("#test")
- # [15:11] <JohnResig_> it's the same reason we have .find(), .not() and others
- # [15:11] <Lachy> I'll keep that in mind for the .matchesSelector() feature for selectors api 2
- # [15:27] * Joins: jacobolus (n=jacobolu@pool-71-119-200-174.lsanca.dsl-w.verizon.net)
- # [15:28] * Joins: csarven (n=csarven@on-irc.csarven.ca)
- # [15:31] * Joins: KevinMarks (n=KevinMar@154.sub-75-192-42.myvzw.com)
- # [15:37] * Joins: svl (n=me@global185.lnk.telstra.net)
- # [15:47] * Quits: myakura (n=myakura@p1216-ipbf601marunouchi.tokyo.ocn.ne.jp) ("Leaving...")
- # [15:59] * Joins: aroben (n=adamrobe@76.111.160.14)
- # [15:59] * Joins: epeus (n=KevinMar@223.sub-75-192-190.myvzw.com)
- # [16:01] * Quits: pd (n=kyleh@unaffiliated/pd) (Read error: 110 (Connection timed out))
- # [16:06] * Quits: KevinMarks (n=KevinMar@154.sub-75-192-42.myvzw.com) (Read error: 110 (Connection timed out))
- # [16:07] * Joins: weinig (n=weinig@c-71-198-176-23.hsd1.ca.comcast.net)
- # [16:09] * Joins: KevinMarks (n=KevinMar@dhcp-0000116121-a6-1d.client.student.harvard.edu)
- # [16:17] * Quits: epeus (n=KevinMar@223.sub-75-192-190.myvzw.com) (Read error: 110 (Connection timed out))
- # [16:20] * Quits: ROBOd (n=robod@89.122.216.38) ("http://www.robodesign.ro")
- # [16:23] * Joins: billmason (n=billmaso@ip195.unival.com)
- # [16:23] * Quits: csarven (n=csarven@on-irc.csarven.ca) (Read error: 60 (Operation timed out))
- # [16:28] * Joins: csarven (n=csarven@on-irc.csarven.ca)
- # [16:34] * Joins: pd (n=kyleh@c-98-212-152-80.hsd1.il.comcast.net)
- # [16:42] * Quits: maikmerten (n=merten@ls5laptop14.cs.uni-dortmund.de) (Remote closed the connection)
- # [16:45] <takkaria> well, I'm sure I'll live to regret that
- # [16:49] * Joins: howardr (i=howardr@exchange.uship.com)
- # [16:49] <howardr> where is a good html5 validator?
- # [16:49] <takkaria> http://validator.nu/
- # [16:50] <howardr> thanks
- # [16:50] <annevk> http://html5.validator.nu/ has the simple UI for that, fwiw
- # [16:52] <jmb> takkaria: works for me :)
- # [16:53] * Quits: aroben (n=adamrobe@unaffiliated/aroben)
- # [17:02] * Quits: MarkB (n=MarkB@209.161.202.187) (Read error: 113 (No route to host))
- # [17:08] * Joins: webben_ (n=benh@nat/yahoo/x-150a2e8cf7018585)
- # [17:13] * Joins: sverrej (n=sverrej@pat-tdc.opera.com)
- # [17:16] * Joins: othermaciej (n=mjs@c-24-5-43-151.hsd1.ca.comcast.net)
- # [17:21] * Quits: webben (n=benh@nat/yahoo/x-1a59a0cc723890a1) (Read error: 110 (Connection timed out))
- # [17:24] * Quits: svl (n=me@global185.lnk.telstra.net) ("And back he spurred like a madman, shrieking a curse to the sky.")
- # [17:27] * Joins: MarkB (n=MarkB@208.124.209.154)
- # [17:31] * Joins: aroben (n=adamrobe@76.111.160.14)
- # [17:33] * Joins: csarven- (n=csarven@on-irc.csarven.ca)
- # [17:37] * Quits: Lachy (n=Lachlan@pat-tdc.opera.com) ("This computer has gone to sleep")
- # [17:37] * Quits: csarven (n=csarven@on-irc.csarven.ca) (Read error: 110 (Connection timed out))
- # [17:40] * Joins: MacDome (n=eric@c-67-180-49-110.hsd1.ca.comcast.net)
- # [17:42] * Quits: MacDome (n=eric@c-67-180-49-110.hsd1.ca.comcast.net) (Client Quit)
- # [17:43] * csarven- is now known as csarven
- # [17:47] * Joins: jruderman (n=jruderma@c-67-180-39-55.hsd1.ca.comcast.net)
- # [17:48] * Quits: howardr (i=howardr@exchange.uship.com)
- # [17:49] * Joins: tusho (n=tusho@91.105.77.118)
- # [17:49] * Quits: aroben (n=adamrobe@unaffiliated/aroben)
- # [17:50] * Quits: hober (n=ted@unaffiliated/hober) ("ERC Version 5.3 (IRC client for Emacs)")
- # [17:58] * Joins: aroben (n=adamrobe@38.98.216.112)
- # [17:59] * Quits: aroben (n=adamrobe@unaffiliated/aroben) (Remote closed the connection)
- # [18:00] * Joins: hsivonen_ (n=hsivonen@kekkonen.cs.hut.fi)
- # [18:01] * Joins: ROBOd (n=robod@89.122.216.38)
- # [18:02] * Joins: aroben (n=aroben@unaffiliated/aroben)
- # [18:06] * Joins: Lachy (n=Lachlan@85.196.122.246)
- # [18:08] * Quits: sverrej (n=sverrej@pat-tdc.opera.com) ("Ex-Chat")
- # [18:10] * Quits: hsivonen (n=hsivonen@kekkonen.cs.hut.fi) (Read error: 110 (Connection timed out))
- # [18:19] * Quits: webben_ (n=benh@nat/yahoo/x-150a2e8cf7018585)
- # [18:27] * Joins: webben (n=benh@nat/yahoo/x-52aea28b0e8985b7)
- # [18:29] * Quits: KevinMarks (n=KevinMar@dhcp-0000116121-a6-1d.client.student.harvard.edu) ("The computer fell asleep")
- # [18:32] * Quits: JohnResig_ (n=jresig@c-76-118-158-44.hsd1.ma.comcast.net) (Read error: 104 (Connection reset by peer))
- # [18:33] * Joins: JohnResig (n=jresig@c-76-118-158-44.hsd1.ma.comcast.net)
- # [18:38] * Quits: MarkB (n=MarkB@208.124.209.154) (Remote closed the connection)
- # [18:49] * Joins: maikmerten (n=maikmert@La6f3.l.pppool.de)
- # [18:58] * Quits: weinig (n=weinig@c-71-198-176-23.hsd1.ca.comcast.net)
- # [18:59] * Joins: eseidel (n=eseidel@c-67-180-49-110.hsd1.ca.comcast.net)
- # [19:05] * Joins: hasather (n=hasather@ti0034a380-2730.bb.online.no)
- # [19:08] * Joins: ROBOd2 (n=robod@89.122.216.38)
- # [19:10] * Quits: ROBOd (n=robod@89.122.216.38) (Read error: 110 (Connection timed out))
- # [19:11] * Joins: KevinMarks (n=KevinMar@140.247.241.26)
- # [19:14] * Joins: tommorris (n=tommorri@i-83-67-98-32.freedom2surf.net)
- # [19:14] * Quits: KevinMarks (n=KevinMar@140.247.241.26) (Read error: 104 (Connection reset by peer))
- # [19:15] * Joins: KevinMarks (n=KevinMar@dhcp-0016812761-1c-df.client.law.harvard.edu)
- # [19:15] * Joins: eseidel_ (n=eseidel@72.14.224.1)
- # [19:20] * Joins: smedero (n=smedero@mdp-nat75.mdp.com)
- # [19:28] <Lachy> aargh! I really don't know how to respond to this? http://lists.w3.org/Archives/Public/www-style/2008Jul/0302.html
- # [19:29] <Lachy> How can I possibly make it any clearer that the answer is no and that's final, without being rude about it?
- # [19:30] * Quits: othermaciej (n=mjs@c-24-5-43-151.hsd1.ca.comcast.net)
- # [19:31] * Quits: eseidel (n=eseidel@c-67-180-49-110.hsd1.ca.comcast.net) (Read error: 110 (Connection timed out))
- # [19:32] <annevk> just say :root has a different purpose
- # [19:32] <annevk> there's :root so you can do :not(html):root > body > :context > a
- # [19:32] * Joins: sverrej (n=sverrej@89.10.27.86)
- # [19:34] <Lachy> I already that :root has a different purpose.
- # [19:35] <annevk> might be worth repeating then, giving an example
- # [19:38] <Lachy> but I don't know when :root is ever useful, other than as a CSS hack to filter out browsers that don't support it.
- # [19:39] <annevk> if it's not useful, why not reuse it then?
- # [19:41] <Lachy> because it would require redefining it in Selectors, getting implementers to change their existing implementations of and and make sure that all implementers have changed it before they ship support for seletors api.
- # [19:42] <Lachy> and given the slow process, I'm not sure we could even get :context through before they ship selectors api
- # [19:42] <annevk> it seems it would be a pretty trivial change to Selectors
- # [19:42] * Joins: weinig (n=weinig@17.255.103.90)
- # [19:43] <annevk> :root either matches the "context element" or in case that is not defined the "root element"
- # [19:43] <Lachy> plus, getting the CSS WG to agree to change an existing selector seems like it would be harder than introducing a new one. Plus, the name :root doesn't really make much sense when it doesn't have to be the root of the tree
- # [19:43] <annevk> it's the root of the tree you're interested in...
- # [19:43] <Lachy> e.g. "body :root div" would work, but that's clearly not the root of any tree.
- # [19:44] <annevk> it's the root of the context tree
- # [19:44] * Joins: weinig_ (n=weinig@17.203.15.176)
- # [19:44] <annevk> having the CSS WG make changes to a single paragraph seems easier than the effort required to put out a new draft
- # [19:44] <annevk> a new spec, I mean
- # [19:45] <Lachy> that depends. The context element may be at the bottom of the tree, depending what it's used for. e.g. for the possible matchesSelector() method, foo.matchesSelector("div>:context") isn't at the root of a tree.
- # [19:50] * tndH_ is now known as tndH
- # [19:52] <annevk> I don't know how matchesSelector is supposed to work
- # [19:54] <annevk> for the proposals currently on the table :root can work and I think it might be easier to introduce than :context
- # [19:58] <Lachy> I don't think it will work. matchesSelector() returns true or false depending on whether the element matches or not.
- # [19:59] <annevk> for that case you don't want :context
- # [19:59] <annevk> and :root can just match the root element
- # [20:01] <Lachy> what? why wouldn't that case want :context?
- # [20:01] <annevk> why would it?
- # [20:02] <annevk> how is :context different from *?
- # [20:02] <Lachy> in that particular case, it probably makes no difference
- # [20:03] <Dashiva> What if it's div > :context > span?
- # [20:03] <Lachy> but I still don't get how the name :root fits the purpose of this selector anyway.
- # [20:03] <annevk> Dashiva, that would never match the :context element itself
- # [20:04] <Dashiva> But it could match something or nothing
- # [20:04] <annevk> Lachy, are you bikeshedding over a name?
- # [20:05] * Quits: weinig (n=weinig@17.255.103.90) (Read error: 110 (Connection timed out))
- # [20:05] <Lachy> annevk, I'm just trying to stop others from arguing with me over the name I chose.
- # [20:05] <annevk> Dashiva, sure, but that's besides the point of matchesSelector
- # [20:05] <Lachy> becuase :root doesn't work or make sense
- # [20:05] <annevk> Lachy, I don't think you've shown that :root doesn't work
- # [20:05] <Lachy> I clearly did.
- # [20:06] <annevk> you did?
- # [20:06] * Joins: weinig (n=weinig@17.203.15.176)
- # [20:06] * Quits: weinig_ (n=weinig@17.203.15.176) (Read error: 104 (Connection reset by peer))
- # [20:06] <Dashiva> I figured it was a "Is the hassle and incompatability from redefining :root worse than the hassle from defining :context" thing
- # [20:07] <Lachy> yes. and neither you nor Brad or Andrew on www-style have put forth convincing arguments for why :root should be reused.
- # [20:07] <annevk> I'd appreciate a pointer to evidence
- # [20:07] <Lachy> see www-style
- # [20:07] <annevk> I read www-style
- # [20:08] <annevk> :root seems easier to fit to this new purpose and doesn't really have a use without it anyway
- # [20:08] <Lachy> http://lists.w3.org/Archives/Public/www-style/2008Jul/0299.html
- # [20:08] <annevk> and the name works good enough
- # [20:08] <annevk> (that e-mail is marked as visited)
- # [20:08] <Lachy> so re-read it.
- # [20:09] <Lachy> it's confusing because if it's redefined, then in scoped stylesheets it will allow things like <style scoped>body.foo :root>div { ... }</style>, and that doesn't make sense cause it's not the root element.
- # [20:09] <annevk> I just did, I don't think your arguments are compelling
- # [20:10] <Lachy> sure they are, you're being silly.
- # [20:10] <annevk> that doesn't really seem productive
- # [20:11] <Philip`> If people are not compelled by the arguments, clearly the arguments are not compelling
- # [20:11] <Lachy> I'm not being compelled by their arguments either
- # [20:11] <Dashiva> Sounds like a job for... consensus-man
- # [20:12] <Philip`> I suggest dice
- # [20:12] <Lachy> so far, the only reason put forth has been ":root is mostly useless, so let's just redefine it to something that doesn't make sense"
- # [20:12] <Lachy> --> not a compelling argument!
- # [20:13] <annevk> I said that it was easier to redefine :root than to introduce a new pseudo-class as a separate specification
- # [20:14] <annevk> Also, the way you phrase the "only reason" is clearly way to biased to your own opinion for third parties to draw conclusions from
- # [20:14] <bradee-oh> Hixie: Acid3 doesn't think Mac IE 5.1 has javascript :(
- # [20:14] <Lachy> annevk, of course. We don't want third parties mistakenly beleiving your arguments are in any way compelling. :-)
- # [20:15] <annevk> I also think reusing :root makes sense and I actually believe that re-using :root for scoped style sheets was part of the original goals having talked to glazou
- # [20:15] <annevk> though I may recall incorrectly
- # [20:15] * Quits: tommorris (n=tommorri@i-83-67-98-32.freedom2surf.net) (Read error: 54 (Connection reset by peer))
- # [20:16] * Joins: tommorris (n=tommorri@i-83-67-98-32.freedom2surf.net)
- # [20:23] * Joins: weinig_ (n=weinig@17.203.15.176)
- # [20:24] * Quits: weinig (n=weinig@17.203.15.176) (Read error: 104 (Connection reset by peer))
- # [20:25] * weinig_ is now known as weinig
- # [20:28] * Joins: othermaciej (n=mjs@17.203.15.189)
- # [20:29] * Quits: jruderman (n=jruderma@c-67-180-39-55.hsd1.ca.comcast.net)
- # [20:33] * annevk tries to make a more compelling case for :context
- # [20:44] * Parts: hdh00 (n=hdh@118.71.126.158) ("Konversation terminated!")
- # [20:45] * Joins: tlsa (n=mike@92.233.173.59)
- # [20:46] * Quits: hasather (n=hasather@ti0034a380-2730.bb.online.no) (Read error: 110 (Connection timed out))
- # [20:47] * Quits: weinig (n=weinig@17.203.15.176)
- # [20:48] * Lachy wonders how many times annevk is going to keep apologising for adding NSResolver to selectors api
- # [20:50] * Joins: hdh00 (n=hdh@118.71.126.158)
- # [20:50] <Lachy> ok, so what should I make this feature string be? hasFeature("Selectors-API", "1.0");? Do I need to distinguish between implementations that choose to support NSResolver and those that don't?
- # [20:50] <Lachy> (I don't want to, I want to keep it as simple as possible)
- # [20:51] <annevk> Lachy, as long as it takes for someone to kill it
- # [20:51] <annevk> and the whole concept of it, that is
- # [20:52] <othermaciej> I think you should make either NSResolver or the replacement namespace resolution feature non-optional
- # [20:52] <othermaciej> optional features suck
- # [20:53] <othermaciej> but in general I agree on only one feature string
- # [20:54] <annevk> I agree that the namespace feature should never have been made optional
- # [20:54] <annevk> it should just have been removed
- # [20:54] <Lachy> othermaciej, the only reason I made it optional was because IE8 refuses to ship with support for the NSResolver, and I wanted to at least define sensible behaviour for them.
- # [20:55] <Lachy> so could I make it required, and still say that if implementations still don't support it, that they should show a NOT_SUPPORTED_ERR anyway?
- # [20:55] <Lachy> annevk, I would have removed it, but Mozilla wants it.
- # [20:55] <annevk> that's optional
- # [20:56] <othermaciej> removing would have been ok too
- # [20:56] <annevk> Mozilla is not the only player and so far they haven't really put forward any compelling cases
- # [20:56] <othermaciej> saying what to do if you violate a requirement of the spec seems pointless
- # [20:56] <Lachy> if I remove it and they still ship, then we're stuck with having to define whatever they ship with.
- # [20:57] <annevk> again, Mozilla is not the only player
- # [20:57] <othermaciej> if content starts depending on the resolver part of the feature, then it's not really optional
- # [20:57] <annevk> you're not saying we're stuck with defining what Microsoft ships with
- # [20:57] <Lachy> hmm, good point.
- # [20:57] <othermaciej> if content does not depend on it, then it doesn't matter what Mozilla ships with
- # [20:59] <Lachy> ok. Please raise these arguments on the mailing list and I'll deal with it tomorrow.
- # [20:59] <Lachy> othermaciej, you made a reasonably good case to use :scope.
- # [21:01] <Lachy> should I still refer to it in the spec as the "context element" (or contextual reference element that I have in my local draft), or find a more appriate name that aligns with :scope?
- # [21:01] <othermaciej> "scope element"
- # [21:01] <Lachy> ok
- # [21:01] <Lachy> I'll update it now and send in a new copy.
- # [21:01] <othermaciej> surprisingly, my naming debate entry seems to be more productive than most of the other content on the thread
- # [21:02] <Lachy> LOL :-D
- # [21:02] * Quits: hdh00 (n=hdh@118.71.126.158) (Remote closed the connection)
- # [21:02] <Lachy> Bjoern and Hixie's comments were also productive
- # [21:03] <Lachy> I'm still waiting for a clarification from Bert, cause I didn't understand where he was coming from.
- # [21:04] * Quits: maikmerten (n=maikmert@La6f3.l.pppool.de) (Remote closed the connection)
- # [21:20] * Quits: ROBOd2 (n=robod@89.122.216.38) ("http://www.robodesign.ro")
- # [21:23] * Joins: scotfl (n=scotfl@S0106001b114f914a.ss.shawcable.net)
- # [21:33] * Quits: KevinMarks (n=KevinMar@dhcp-0016812761-1c-df.client.law.harvard.edu) ("The computer fell asleep")
- # [21:41] * Joins: dbaron (n=dbaron@corp-241.mountainview.mozilla.com)
- # [21:58] * Joins: weinig (n=weinig@17.203.15.176)
- # [22:03] * Joins: jruderman (n=jruderma@guest-226.mountainview.mozilla.com)
- # [22:15] * Joins: KevinMarks (n=KevinMar@dhcp-0016812761-1c-df.client.law.harvard.edu)
- # [22:36] * Quits: aaronlev_ (n=chatzill@e181179137.adsl.alicedsl.de) ("ChatZilla 0.9.83 [Firefox 3.0/2008052906]")
- # [22:37] * Joins: aaronlev (n=chatzill@e181179137.adsl.alicedsl.de)
- # [22:39] * Quits: JohnResig (n=jresig@c-76-118-158-44.hsd1.ma.comcast.net) (Read error: 104 (Connection reset by peer))
- # [22:40] * Joins: JohnResig (n=jresig@c-76-118-158-44.hsd1.ma.comcast.net)
- # [22:41] * eseidel_ is now known as eseidel
- # [22:48] * Quits: csarven (n=csarven@on-irc.csarven.ca) (Remote closed the connection)
- # [23:09] * Quits: JohnResig (n=jresig@c-76-118-158-44.hsd1.ma.comcast.net) (Read error: 104 (Connection reset by peer))
- # [23:10] * Joins: JohnResig (n=jresig@c-76-118-158-44.hsd1.ma.comcast.net)
- # [23:12] * Quits: JohnResig (n=jresig@c-76-118-158-44.hsd1.ma.comcast.net) (Read error: 104 (Connection reset by peer))
- # [23:12] * Quits: jruderman (n=jruderma@guest-226.mountainview.mozilla.com)
- # [23:12] * Joins: JohnResig (n=jresig@c-76-118-158-44.hsd1.ma.comcast.net)
- # [23:16] * Joins: csarven (n=csarven@on-irc.csarven.ca)
- # [23:18] * Joins: jruderman (n=jruderma@guest-226.mountainview.mozilla.com)
- # [23:24] * Joins: gsnedders (n=gsnedder@p57A22260.dip0.t-ipconnect.de)
- # [23:24] <gsnedders> Hixie: FWIW, I agree with Julian (sp?) about the requirement for an opaque HTTP-like string for WebSockets
- # [23:26] <jruderman> Hixie: annevk says https://bugzilla.mozilla.org/show_bug.cgi?id=445166 is invalid per html5. is that intentional on your part?
- # [23:27] <annevk> someone should fix XML instead
- # [23:27] <gsnedders> jruderman: to answer on behalf of Hixie, it's because you can't rely upon external DOCTYPEs being read by XML processors, thereby meaning there's no point in allowing any entities as they can't be relied upon
- # [23:27] <annevk> fixing all the APIs around it doesn't scale long term
- # [23:27] <gsnedders> jruderman: (beyond those that are defined in XML itself)
- # [23:27] <jruderman> how about just including the same entities that HTML includes?
- # [23:28] <gsnedders> jruderman: See above. That needs a DOCTYPE.
- # [23:28] <annevk> in all of XML or just for innerHTML?
- # [23:28] <annevk> (note that HTML now has over 2000 entities)
- # [23:28] <gsnedders> for innerHTML it'd be silly to make it different to normal XML
- # [23:29] <annevk> well, that's one POV
- # [23:29] <jruderman> increasing compatibility between text/html and application/xhtml+xml isn't silly
- # [23:30] <gsnedders> They'll always have to be incompatible though. There's no point in pretending the two are.
- # [23:30] * Quits: csarven (n=csarven@on-irc.csarven.ca) ("http://www.csarven.ca")
- # [23:31] <annevk> it seems better to change XML to get more predefined entities, but that may be a hard battle
- # [23:31] <Hixie> gsnedders: which requirement? (re websocket)
- # [23:32] <Hixie> jruderman: yes, it is intended to work the same way as any xml content (that doesn't declare a dtd)
- # [23:33] <gsnedders> Hixie: "Read the first 85 bytes from the server. If the connection closes before 85 bytes are received, or if the first 85 bytes aren't exactly equal to the following bytes, then fail the Web Socket connection and abort these steps." for one
- # [23:33] <gsnedders> annevk: Yeah, in some ways we need that for RSS (people just blindingly using HTML content without escaping it, often just causing errors purely because of entities)
- # [23:34] <annevk> it's called XML5, but only has blog traction
- # [23:34] <Hixie> gsnedders: what's wrong with that?
- # [23:34] * Joins: roc (n=roc@202.0.36.64)
- # [23:34] <gsnedders> That was on the list of things to help with over the summer, annevk, but too far down to be reached, I suspect
- # [23:34] <gsnedders> Hixie: I'll send a long email once I get home, but I mostly agree with Julian until then :)
- # [23:35] <Hixie> ok, but bear in mind that the main requirement from me is that the handshake be resilient
- # [23:35] <gsnedders> Yeah, sure
- # [23:35] * Quits: webben (n=benh@nat/yahoo/x-52aea28b0e8985b7) (Connection timed out)
- # [23:35] <Hixie> leaving holes in the handshake through which you can pass inconvenient material wouldn't work
- # [23:35] <Hixie> i am in fact disappointed as to how much flexibility we already have
- # [23:38] <Hixie> jesus, the svgwg's proposal is longer than the entire checkin i made to support svg
- # [23:39] <annevk> apparently it addresses more than just the syntax issue
- # [23:40] <othermaciej> link?
- # [23:41] <Hixie> public-html
- # [23:41] <annevk> http://lists.w3.org/Archives/Public/public-html/2008Jul/att-0179/svg-html-proposal.html
- # [23:41] <Hixie> feedback from apple would be very interesting and would inform my response
- # [23:43] <roc> the entire section "Use of SVG Resources in HTML and CSS" is irrelevant and should be dropped
- # [23:44] <othermaciej> yeah it has nothing to do with this topic
- # [23:44] <othermaciej> I do not uinderstand the effect of the tokenizer changes
- # [23:44] <othermaciej> *understand
- # [23:44] <annevk> takkaria commented on that already
- # [23:44] <Hixie> well one big effect is killing performance
- # [23:45] <Hixie> hsivonen_ told me before going on vacation that he strongly objected to anything that involved making the tokeniser case-preserving because it would just kill his performance by order(s) of magnitude
- # [23:45] <othermaciej> I'm not sure what they are meant to do
- # [23:45] <othermaciej> are they trying to implement XML parsing in the HTML tokenizer formalism?
- # [23:46] <gsnedders> Why would that kill perf. though? Surely it's just a question of where you do the case-normalisation?
- # [23:46] <roc> I actually doubt that it would kill performance
- # [23:47] <roc> anyone who wants to round-trip HTML source (we do) will have to preserve case somewhere anyway
- # [23:47] <annevk> gsnedders, if you create an integer for the element during tokenization to match on during tree building it would be quite different if tokenization required preserving case
- # [23:48] <Hixie> his problem is that he normalises all strings to IDs, and having to do his normalisation in different ways for different tokens is crazy, as i understand it
- # [23:48] <gsnedders> ah
- # [23:48] <Hixie> he does case-preserving for roundtripping by remembering indexes into the original source
- # [23:48] <Hixie> which bypasses the entire problem
- # [23:48] <roc> then he can use that info to do the case-sensitive comparisons the SVG people want
- # [23:49] <Hixie> you have to do this for every single token
- # [23:49] * Joins: weinig_ (n=weinig@17.203.15.176)
- # [23:50] * Quits: weinig (n=weinig@17.203.15.176) (Read error: 104 (Connection reset by peer))
- # [23:50] <othermaciej> WebKit makes no effort to preserve case when parsing text/html
- # [23:51] <othermaciej> so it's certainly not the case that everyone has to preserve case someday
- # [23:51] <othermaciej> the html and xml parsers both intern atoms for tag names, either converting to lowercase or preserving case
- # [23:51] <othermaciej> would probably be a hassle to change that decision to be made late
- # [23:52] <othermaciej> instead of determined by whether it is the html or xml tokenizer
- # [23:52] <othermaciej> if that is indeed required
- # [23:52] * Joins: howardr (i=howardr@exchange.uship.com)
- # [23:52] <Hixie> that appears to be what is required
- # [23:52] <Hixie> but i haven
- # [23:52] <Hixie> 't studied it in detail yet
- # [23:52] <Hixie> and do not have an opinion of my own at this time
- # [23:53] <annevk> since they require parsing using an XML parser for the bits where it matters it seems to be a performance optimization at "best"
- # [23:53] <othermaciej> their ideas for fallback mechanisms both don't work
- # [23:53] <roc> seems to me the only place where case-sensitivity *matters* is the case-sensitive check for math/svg tag names and "xmlns" attribute
- # [23:53] <othermaciej> (at least as proposals for fallback in the current generation of UAs)
- # [23:54] <Hixie> wait where does the xml parser fall into this
- # [23:55] <annevk> the bit that says "Create a new XML parser"?
- # [23:55] <Hixie> woah
- # [23:55] <Hixie> well that's not going to fly
- # [23:55] <Hixie> we have a requirement that you be able to implemnt html5 without an xml parser
- # [23:55] <roc> why?
- # [23:56] <Hixie> because having to have two parsers just to poke at some microformats is a little excessive
- # [23:56] * Quits: KevinMarks (n=KevinMar@dhcp-0016812761-1c-df.client.law.harvard.edu) ("The computer fell asleep")
- # [23:56] <roc> eh
- # [23:57] <roc> all browsers are going to have XML parsers in them
- # [23:57] <roc> most platforms have one
- # [23:57] <Hixie> browsers aren't the only implementations of html5
- # [23:57] <Hixie> in fact right now they're in the minority :-)
- # [23:57] <roc> like I said, most platforms have one
- # [23:57] <jcranmer> roc: and drop support for DOS?
- # [23:57] <Philip`> It doesn't seem like it'd be that infeasible to implement an XML-fragment (minus doctype etc) parser as an extra HTML5 tree constructor mode
- # [23:58] <Hixie> that's probably how i would spec it if we did this
- # [23:58] <Hixie> but that seems like a lot of excess work for no good benefit
- # [23:59] <Hixie> how do they handle xml parse errors?
- # [23:59] <Hixie> i guess i should read this thing
- # [23:59] <roc> I don't see why they actually need to make tokenization case-sensitive
- # Session Close: Tue Jul 15 00:00:00 2008
The end :)