Options:
- # Session Start: Thu Oct 27 00:00:00 2011
- # Session Ident: #whatwg
- # [00:00] <zewt> constructors that return a different type? that sounds ... evil
- # [00:00] * Joins: svl (~me@ip565744a7.direct-adsl.nl)
- # [00:00] <TabAtkins> zewt: Agreed.
- # [00:00] <TabAtkins> Either have real constructors or an honest factory.
- # [00:01] <zewt> also wouldn't translate well to most other languages (even if that's not a top concern for web APIs)
- # [00:03] <smaug____> zewt: huh, where was such ctors suggested
- # [00:04] * Quits: scor (~scor@drupal.org/user/52142/view) (Quit: scor)
- # [00:04] <smaug____> oh, webapps
- # [00:04] * Parts: ojan (ojan@nat/google/x-lubvdjzyswucesfl)
- # [00:04] * smaug____ kicks heycam
- # [00:05] * Joins: ojan (ojan@nat/google/x-kfhlssqwetxlijir)
- # [00:06] <bencc> is there a spec about webcam other than webrtc?
- # [00:06] <bencc> I mean, will ie10 be able to stream webcam without supporting webrtc?
- # [00:06] <smaug____> you mean using camera input ?
- # [00:06] <smaug____> there is some draft from DAP
- # [00:07] <bencc> DAP?
- # [00:07] <bencc> IE10 won't support plugins
- # [00:07] <TabAtkins> zewt: We really don't care at all other non-JS languages. But it's still bad.
- # [00:07] <bencc> but html5 doesn't have support for p2p connections and media streaming yet
- # [00:08] <bencc> so there is a gap
- # [00:08] <smaug____> bencc: DAP WG in W3C
- # [00:08] <Hixie> bencc: yes it does
- # [00:08] <bencc> Hixie: ?
- # [00:08] <Hixie> bencc: http://www.whatwg.org/specs/web-apps/current-work/#video-conferencing-and-peer-to-peer-communication
- # [00:09] <bencc> Hixie: thanks. how does it relates to webrtc?
- # [00:09] <bencc> and do you know if any browser support it?
- # [00:09] <Hixie> you mean the w3c webrtc thing?
- # [00:09] * Joins: puppen (~einPaarPu@60-240-245-17.static.tpgi.com.au)
- # [00:10] <bencc> yes
- # [00:10] <Hixie> the w3c webrtc thing is a fork of the text above
- # [00:11] <bencc> so which one is the "standard"?
- # [00:11] <smaug____> there isn't anything even close to stable spec yet
- # [00:11] <smaug____> afaik
- # [00:11] <Hixie> whatdo you mean by "standard"?
- # [00:11] <bencc> it seems that chrome, firefox and opera are going to support webrtc
- # [00:11] <smaug____> for video or audio streaming, not audio handling in general
- # [00:11] <bencc> but ie10 and safari?
- # [00:13] <smaug____> ask MS and Apple;)
- # [00:13] <Hixie> beats me
- # [00:13] <Hixie> i can't even work out which one chrome, firefox and opera are implementing :-)
- # [00:14] <Hixie> (not that i've investigated, been too busy with other things)
- # [00:14] <bencc> I see this in IE: http://html5labs.interoperabilitybridges.com/prototypes/media-capture-api/media-capture-api/info
- # [00:14] <zewt> ("forkable specs are bad, see watch we'll show you why!")
- # [00:14] <bencc> not sure if it supports streaming
- # [00:15] <Hixie> zewt: yeah pretty much
- # [00:16] <smaug____> bencc: that page is talking about DAP spec
- # [00:16] <Hixie> w3c really lost all credibility with their no-forking argument after that
- # [00:16] <bencc> smaug____: what does DAP means?
- # [00:17] <zewt> Hixie: are the specs conflicting? (same interface or renamed interfaces)
- # [00:17] <Hixie> zewt: yes
- # [00:17] <smaug____> bencc: the page is also talking about HTML Speech, which will probably rely on webrtc to get microphone input
- # [00:17] <smaug____> bencc: Device APIs and Policy Working Group
- # [00:17] <smaug____> DAP WG
- # [00:17] <Hixie> zewt: (in that they forked the whatwg one, and i haven't changed the whatwg since and they have changed their incompatibly)
- # [00:18] <bencc> this stuff is more complicated than programming :)
- # [00:19] <zewt> it's just complicated on a somewhat different axis :)
- # [00:21] * Quits: skimmas (~skimmas@cr-217-129-230-80.netvisao.pt) (Ping timeout: 252 seconds)
- # [00:25] * Joins: davidb_ (~davidb@bas1-toronto06-2925210074.dsl.bell.ca)
- # [00:25] <heycam> smaug____, is it really controversial to write things like `function Element(tagname) { return document.createElement(tagname); } var e = new Element("div");`?
- # [00:25] <heycam> `new Element("div")` looks like a lovely pattern to me
- # [00:25] <heycam> I mean, it reads pretty nicely
- # [00:26] <smaug____> but you get different interface back
- # [00:26] <smaug____> that is very strange
- # [00:26] <smaug____> and so far not used anywhere else in web platform
- # [00:28] <TabAtkins> heycam: new Element.Div() reads just as well without being a factory in disguise.
- # [00:29] <smaug____> heycam: also, what should new Element("a") return? an HTML Element or SVG Element?
- # [00:29] <Hixie> except you then have to create a mapping for all the elements which is really quite ugly
- # [00:29] <TabAtkins> Or hell, new Element.div(), so you can do new Element["div"]() easier.
- # [00:29] <TabAtkins> Hixie: You're talking about something hidden in the implementation which is completely irrelevant to real people.
- # [00:29] <smaug____> TabAtkins: how does that work with SVG vs HTML ?
- # [00:30] <heycam> smaug____, at least the returned thing is instanceof Element...
- # [00:30] <TabAtkins> smaug____: HTML wins! Woo!
- # [00:30] <Hixie> TabAtkins: it's not hidden, it's right there on Element
- # [00:30] <heycam> smaug____, the new Element("a") question is good
- # [00:30] <heycam> but you get the same thing with Elemetnt.a()
- # [00:30] <TabAtkins> (SVG is trying to put some effort into unifying style/script/a with HTML.)
- # [00:31] <zewt> heycam: everyone expects "new XXX()" to return an XXX, whether or not it's technically required; a factory doesn't make that implication
- # [00:31] <smaug____> heycam: I'm not saying new Element["a"]() is any better
- # [00:31] <zewt> best to honor the basic assumptions of what a constructor does
- # [00:32] <TabAtkins> zewt: Agreed. That's my "or be an honest factory" objection.
- # [00:32] <heycam> new new new new new new function Constructors4Life() { return Constructors4Life }
- # [00:32] <TabAtkins> heycam: Can you stack news like that?
- # [00:33] * Joins: skimmas_ (~skimmas@cr-217-129-230-80.netvisao.pt)
- # [00:33] <heycam> oh what, maybe not :)
- # [00:33] <heycam> you need parens it seems
- # [00:33] <TabAtkins> That's what I thought. ^_^
- # [00:33] <heycam> new (new (new ...
- # [00:34] * Quits: dbaron (~dbaron@nat/mozilla/x-hbevaytgzuaivrtq) (Quit: 8403864 bytes have been tenured, next gc will be global.)
- # [00:34] <zewt> Could not join server since it couldn't be found.
- # [00:34] <zewt> hay wrong window
- # [00:34] <TabAtkins> Slightly unfortunate. Having to do (new Foo()).bar() is slightly annoying.
- # [00:34] <TabAtkins> But shrug, minor inconvenience.
- # [00:35] <zewt> similar annoyance to having to parenthesize functions
- # [00:35] <Hixie> i think the quasi strings are a more interesting approach than all the above, personally
- # [00:36] <TabAtkins> Hixie: Disagree. Quasi strings are a great complement, but they don't let you easily, say, make an element with a bag of properties.
- # [00:37] <Hixie> bag of properties?
- # [00:39] * jernoble is now known as jernoble|afk
- # [00:39] <Hixie> you can trivially do that in a helper function: function createElementWithBag(name, bag) { var r = document.createElement(name); for (var i in bag) r[i] = bag[i]; return r; }
- # [00:39] <TabAtkins> Hixie: new Video({autoplay: false, loop:true}) or something.
- # [00:39] <Hixie> we don't need to provide an API for that
- # [00:39] <TabAtkins> Hixie: I know you hate convenience APIs.
- # [00:39] <Hixie> i don't hate convenience APIs, I hate wasting our time adding stuff to the platform that is trivially already possible when we have way bigger fish to fry
- # [00:39] <Hixie> it's a huge opportunity cost
- # [00:40] <TabAtkins> You go fry those bigger fish. I'll cheerlead for making the fish easier to catch.
- # [00:41] <Hixie> you really think adding an API that does the equivalent of literally one line of code that can be banged out in 10 seconds in going to be a good use of our time?
- # [00:43] * Quits: hasather_ (~hasather_@84.38.144.96) (Remote host closed the connection)
- # [00:45] <TabAtkins> Hixie: Yes, when it improves consistency, readability, and writeability and is used so often.
- # [00:45] <Hixie> wow
- # [00:45] <Hixie> what other trivial things do you think we should add?
- # [00:45] <TabAtkins> Ponies, if you please?
- # [00:45] <Hixie> i'm not being sarcastic. i'm honestly curious.
- # [00:46] <Hixie> if it's a short list, it might make sense to just create a JS file that browsers are required to run by default or something.
- # [00:46] * Quits: othermaciej (~mjs@17.245.89.72) (Quit: othermaciej)
- # [00:46] <TabAtkins> The two painfully annoying parts of the DOM that I regularly experience are (1) element creation and (2) meaurement/positioning. Both of these can be fixed by libraries, but are worthwhile fixing in the core.
- # [00:46] <Hixie> i'm all for making element creation easier, but what's hard about it is creating trees, not creating an element and setting some properties
- # [00:46] <TabAtkins> (Not all of the measurement features are actually doable in current JS, but a lot are.)
- # [00:47] <Hixie> the measurement/positioning thing is hopefully something that can be solved in CSSOM using some of the things i proposed a decade or so ago, or something derived from it
- # [00:47] <Hixie> anne's on that, i think
- # [00:47] <TabAtkins> Hixie: Trees are easy. "new Element.div({props}, "some text" , new Element.p({}, "more text in a <p>"))
- # [00:47] <TabAtkins> Hixie: Anne or me or roc, yeah.
- # [00:47] * Quits: arun_ (~arun@pool-96-232-190-4.nycmny.fios.verizon.net) (Quit: arun_)
- # [00:49] <Hixie> that's harder than `<div props>{text}<p>{moretext}`, or whatever syntax we come up with based on quasis
- # [00:49] * Joins: othermaciej (~mjs@17.245.89.72)
- # [00:49] <Hixie> e4x-like syntax
- # [00:49] <TabAtkins> Agreed, if your elements and attributes are known at write-time.
- # [00:49] <TabAtkins> The function appraoch is easier if you only know them at runtime.
- # [00:49] <Hixie> and uglier, imho, than Element.create("div", {props}, ["some text", Element.create("p", ["more text"])])
- # [00:49] <TabAtkins> Both are good. ^_^
- # [00:50] <Hixie> but in either case i agree that that's worth adding
- # [00:50] <Hixie> it was the implication of "Quasi strings are a great complement, but they don't let you easily, say, make an element with a bag of properties" that i object to
- # [00:50] <smaug____> In many cases innerHTML works quite well
- # [00:50] <TabAtkins> Hixie: Personal taste on that I guess. I like constructors better than factories, and omitting arrays when possible (since ES6 should have a way to expand arrays into varargs).
- # [00:50] * jernoble|afk is now known as jernoble
- # [00:50] <Hixie> namely that "easily, say, make an element with a bag of properties" is a use case that on its own should be fixed
- # [00:51] <Hixie> smaug____: innerHTML fails hard because it doesn't give you compile-time syntax checking
- # [00:51] <Hixie> smaug____: it also fails even harder due to XSS
- # [00:51] <TabAtkins> smaug____: Plus, injection woo!
- # [00:51] <Hixie> smaug____: (it makes injection easier than doing it right)
- # [00:52] <smaug____> I don't understand how Element.create gives syntax checking...
- # [00:52] * Quits: svl (~me@ip565744a7.direct-adsl.nl) (Quit: And back he spurred like a madman, shrieking a curse to the sky.)
- # [00:53] <Hixie> smaug____: you can't do the equivalent of <b>x<i>y</b>z</i> with it
- # [00:53] <smaug____> creating Element.create("<") shouldn't work
- # [00:53] <smaug____> ah, you mean that
- # [00:53] <TabAtkins> Plus, it's theoretically possible to do content-model checking among the children passed to the function.
- # [00:54] <Hixie> well, it would be in some languages
- # [00:54] <TabAtkins> Dunno if that's a good idea or not.
- # [00:54] <Hixie> i don't think we'll see that in JS any time soon
- # [00:54] <Hixie> and the HTML rules are probably far too complex to be sanely represented in a type system
- # [00:55] <TabAtkins> Yeah, likely.
- # [00:55] <bga_> heh
- # [00:56] <bga_> sec
- # [00:56] <TabAtkins> Well, you don't need to use a formal type system to verify parameters passed to a function. That can be done manually.
- # [00:56] * Quits: skimmas_ (~skimmas@cr-217-129-230-80.netvisao.pt) (Ping timeout: 258 seconds)
- # [00:57] <othermaciej> I suspect not even Haskell's type system could do all HTML5 content model checks correctly
- # [00:57] <Hixie> TabAtkins: oh i meant at compile time
- # [00:57] <Hixie> TabAtkins: you could do runtime checking even of innerHTML, that's not so interesting
- # [00:58] * Joins: skimmas (~skimmas@cr-217-129-230-80.netvisao.pt)
- # [01:00] <TabAtkins> Hixie: You're right.
- # [01:00] * Quits: smaug____ (~chatzilla@cs181151161.pp.htv.fi) (Ping timeout: 258 seconds)
- # [01:02] * Quits: Amorphous (jan@unaffiliated/amorphous) (Ping timeout: 258 seconds)
- # [01:02] * Quits: davidb_ (~davidb@bas1-toronto06-2925210074.dsl.bell.ca) (Quit: davidb_)
- # [01:03] * Joins: jwalden (~waldo@2620:101:8003:200:224:d7ff:fef0:8d90)
- # [01:06] <bga_> http://pastie.org/2764698
- # [01:06] <bga_> i hope it will in future web
- # [01:07] <bga_> and smart compiler can validate html
- # [01:07] * Quits: rillian_ (~rillian@184.71.166.126) (Remote host closed the connection)
- # [01:09] <TabAtkins> bga_: We (subset of Chrome team working on this stuff) want something very similar to that.
- # [01:11] * Parts: bencc (~user@bzq-84-111-72-192.red.bezeqint.net)
- # [01:12] * Quits: mpt (mpt@canonical/mpt) (Ping timeout: 258 seconds)
- # [01:12] * Joins: miketaylr (~miketaylr@p69-45.acedsl.com)
- # [01:12] * Joins: mpt (mpt@canonical/mpt)
- # [01:12] <bga_> i need time to implement it
- # [01:16] * Joins: Amorphous (jan@unaffiliated/amorphous)
- # [01:17] * Quits: mpt (mpt@canonical/mpt) (Ping timeout: 258 seconds)
- # [01:18] * Quits: skimmas (~skimmas@cr-217-129-230-80.netvisao.pt) (Ping timeout: 240 seconds)
- # [01:21] * Joins: skimmas (~skimmas@cr-217-129-230-80.netvisao.pt)
- # [01:25] * Joins: skimmas_ (~skimmas@cr-217-129-230-80.netvisao.pt)
- # [01:25] * Quits: skimmas (~skimmas@cr-217-129-230-80.netvisao.pt) (Read error: Connection reset by peer)
- # [01:29] * Quits: jarek (~jarek@unaffiliated/jarek) (Quit: Leaving)
- # [01:30] * Joins: mpt (~mpt@canonical/mpt)
- # [01:31] * Joins: myakura (~myakura@FL1-203-136-164-250.tky.mesh.ad.jp)
- # [01:34] * Quits: KillerX (~anant@nat/mozilla/x-pqslgljiisdkihri) (Quit: KillerX)
- # [01:34] * Quits: myakura (~myakura@FL1-203-136-164-250.tky.mesh.ad.jp) (Remote host closed the connection)
- # [01:35] * Joins: abarth (~abarth@173-164-128-209-SFBA.hfc.comcastbusiness.net)
- # [01:36] * Joins: agektmr (~Adium@p2156-ipbf5107marunouchi.tokyo.ocn.ne.jp)
- # [01:43] <bga_> lol http://www.firefoxwithbing.com/
- # [01:48] * Quits: skimmas_ (~skimmas@cr-217-129-230-80.netvisao.pt) (Ping timeout: 240 seconds)
- # [01:49] * Joins: rillian_ (~rillian@mist.thaumas.net)
- # [01:50] * Joins: jennb (jennb@nat/google/x-stnddmcingbozcvw)
- # [01:53] * Joins: davidwalsh (~davidwals@75-135-74-55.dhcp.mdsn.wi.charter.com)
- # [01:53] * Quits: rniwa (rniwa@nat/google/x-sbkwwzbooigwvpey) (Quit: rniwa)
- # [01:54] * Quits: rillian_ (~rillian@mist.thaumas.net) (Remote host closed the connection)
- # [01:55] * Joins: skimmas (~skimmas@cr-217-129-230-80.netvisao.pt)
- # [01:58] * nunnun is now known as nunnun_away
- # [01:59] * nunnun_away is now known as nunnun
- # [02:05] * Quits: astearns (~anonymous@192.150.22.5) (Read error: Operation timed out)
- # [02:07] * Quits: ojan (ojan@nat/google/x-kfhlssqwetxlijir) (Quit: ojan)
- # [02:15] * Quits: jwalden (~waldo@2620:101:8003:200:224:d7ff:fef0:8d90) (Quit: ChatZilla 0.9.87-3.1450hg.fc15 [XULRunner 7.0.1/20110930134335])
- # [02:17] * nunnun is now known as nunnun_away
- # [02:18] * Quits: jochen__ (jochen@nat/google/x-getazqyxjeehfmfb) (Remote host closed the connection)
- # [02:18] * Joins: jochen__ (jochen@nat/google/x-ujwhvtbaszqqhnjl)
- # [02:19] * Quits: miketaylr (~miketaylr@p69-45.acedsl.com) (Quit: miketaylr)
- # [02:22] * Quits: Areks|2 (~Areks@176.14.214.163) (Ping timeout: 252 seconds)
- # [02:23] * Joins: leaverou_ (~leaverou@77.49.88.164.dsl.dyn.forthnet.gr)
- # [02:25] * Quits: leaverou (~leaverou@79.103.98.138.dsl.dyn.forthnet.gr) (Ping timeout: 260 seconds)
- # [02:25] * leaverou_ is now known as leaverou
- # [02:27] * heycam is now known as heycam|away
- # [02:28] <Hixie> anne: need your input on http://www.w3.org/Bugs/Public/show_bug.cgi?id=14284
- # [02:35] * Quits: erlehmann (~erlehmann@89.204.137.74) (Ping timeout: 255 seconds)
- # [02:37] * Quits: Telling (~unknown@80-71-135-15.u.parknet.dk) (Quit: ...)
- # [02:37] * jernoble is now known as jernoble|afk
- # [02:43] * Quits: ap (~ap@17.212.155.203) (Quit: ap)
- # [02:47] * Joins: erlehmann (~erlehmann@82.113.121.205)
- # [02:51] * Quits: agektmr (~Adium@p2156-ipbf5107marunouchi.tokyo.ocn.ne.jp) (Quit: Leaving.)
- # [02:54] * Joins: id- (~id@pool-98-110-53-68.cmdnnj.fios.verizon.net)
- # [02:54] * Parts: id- (~id@pool-98-110-53-68.cmdnnj.fios.verizon.net) ("x")
- # [02:56] * Joins: yuuki (~kobayashi@58x158x182x50.ap58.ftth.ucom.ne.jp)
- # [03:03] * Joins: dbaron (~dbaron@206-15-76-122.static.twtelecom.net)
- # [03:04] * Joins: astearns (~anonymous@c-50-132-63-33.hsd1.wa.comcast.net)
- # [03:04] * Quits: necolas (~necolas@5e041dd3.bb.sky.com) (Remote host closed the connection)
- # [03:04] * Quits: othermaciej (~mjs@17.245.89.72) (Quit: othermaciej)
- # [03:13] * Quits: dave_levin (dave_levin@nat/google/x-xlgsamixzdrtybxn) (Quit: dave_levin)
- # [03:14] * Quits: skimmas (~skimmas@cr-217-129-230-80.netvisao.pt) (Remote host closed the connection)
- # [03:15] * Quits: zewt (~x@c-24-62-196-44.hsd1.ma.comcast.net) (Remote host closed the connection)
- # [03:16] * Joins: zewt (~x@c-24-62-196-44.hsd1.ma.comcast.net)
- # [03:18] * Quits: bga_ (~bga@ppp78-37-219-30.pppoe.avangarddsl.ru) (Read error: Connection reset by peer)
- # [03:20] * Quits: puppen (~einPaarPu@60-240-245-17.static.tpgi.com.au) (Ping timeout: 260 seconds)
- # [03:25] * Joins: MikeSmith (~MikeSmith@EM114-48-195-48.pool.e-mobile.ne.jp)
- # [03:25] * Joins: nattokirai (~nattokira@rtr.mozilla.or.jp)
- # [03:27] * Quits: franksalim (~frank@64-71-23-250.static.wiline.com) (Remote host closed the connection)
- # [03:54] * Joins: Evanescence (~Evanescen@122.237.23.90)
- # [03:54] * Quits: tndH (~Rob@cpc16-seac19-2-0-cust234.7-2.cable.virginmedia.com) (Quit: ChatZilla 0.9.87-rdmsoft [XULRunner 1.9.0.1/2008072406])
- # [03:55] * Quits: davidwalsh (~davidwals@75-135-74-55.dhcp.mdsn.wi.charter.com) (Quit: davidwalsh)
- # [03:58] * Quits: ezoe (~ezoe@203-140-89-200f1.kyt1.eonet.ne.jp) (Ping timeout: 240 seconds)
- # [04:01] * Joins: puppen (~einPaarPu@60-240-245-17.static.tpgi.com.au)
- # [04:03] * Quits: dbaron (~dbaron@206-15-76-122.static.twtelecom.net) (Quit: 8403864 bytes have been tenured, next gc will be global.)
- # [04:16] * nunnun_away is now known as nunnun
- # [04:22] * Joins: karlcow (~karl@nerval.la-grange.net)
- # [04:25] * Joins: davidwalsh (~davidwals@75-135-74-55.dhcp.mdsn.wi.charter.com)
- # [04:25] * Joins: agektmr (~Adium@2401:fa00:4:1012:fa1e:dfff:fee6:d74e)
- # [04:27] * Joins: ezoe (~ezoe@112-68-244-10f1.kyt1.eonet.ne.jp)
- # [04:33] * Joins: othermaciej (~mjs@c-24-6-209-189.hsd1.ca.comcast.net)
- # [04:35] * Joins: miketaylr (~miketaylr@24.42.93.245)
- # [04:50] * Quits: davidwalsh (~davidwals@75-135-74-55.dhcp.mdsn.wi.charter.com) (Quit: davidwalsh)
- # [04:50] * Joins: rniwa (~rniwa@70-89-66-218-ca.sfba.hfc.comcastbusiness.net)
- # [05:01] * Quits: rniwa (~rniwa@70-89-66-218-ca.sfba.hfc.comcastbusiness.net) (Remote host closed the connection)
- # [05:01] * Joins: rniwa (~rniwa@216.239.45.130)
- # [05:02] * Joins: dbaron (~dbaron@173-228-28-129.dsl.dynamic.sonic.net)
- # [05:09] * Quits: gnarf (~gnarf@unaffiliated/gnarf) (Quit: ZNC - http://znc.sourceforge.net)
- # [05:09] * Joins: nonge__ (~nonge@p5082A085.dip.t-dialin.net)
- # [05:10] * Joins: gnarf (~gnarf@unaffiliated/gnarf)
- # [05:13] * Quits: nonge_ (~nonge@p50829CA5.dip.t-dialin.net) (Ping timeout: 255 seconds)
- # [05:27] * Quits: cpearce (~chatzilla@60.234.54.74) (Ping timeout: 258 seconds)
- # [05:39] * Quits: mpt (~mpt@canonical/mpt) (Ping timeout: 240 seconds)
- # [05:39] * Joins: mpt (~mpt@canonical/mpt)
- # [05:44] * nunnun is now known as nunnun_away
- # [05:59] * Joins: benjoffe_ (~benjoffe_@CPE-121-216-39-241.lnse1.ken.bigpond.net.au)
- # [06:02] * Quits: miketaylr (~miketaylr@24.42.93.245) (Quit: miketaylr)
- # [06:08] * Joins: Rik`_ (~Rik`@lag75-1-78-192-241-87.fbxo.proxad.net)
- # [06:08] * Quits: Rik` (~Rik`@lag75-1-78-192-241-87.fbxo.proxad.net) (Read error: Connection reset by peer)
- # [06:09] * Joins: Rik` (~Rik`@lag75-1-78-192-241-87.fbxo.proxad.net)
- # [06:09] * Quits: Rik`_ (~Rik`@lag75-1-78-192-241-87.fbxo.proxad.net) (Read error: Connection reset by peer)
- # [06:10] * Quits: karlcow (~karl@nerval.la-grange.net) (Ping timeout: 240 seconds)
- # [06:10] * Quits: hober (~ted@unaffiliated/hober) (Read error: Connection reset by peer)
- # [06:10] * Joins: hober (~ted@unaffiliated/hober)
- # [06:10] * Quits: Rik` (~Rik`@lag75-1-78-192-241-87.fbxo.proxad.net) (Read error: Connection reset by peer)
- # [06:11] * Joins: Rik` (~Rik`@2a01:e34:ec0f:1570:16b:e43d:16e7:8572)
- # [06:12] * Joins: karlcow (~karl@nerval.la-grange.net)
- # [06:13] * Joins: Rik`_ (~Rik`@lag75-1-78-192-241-87.fbxo.proxad.net)
- # [06:13] * Quits: Rik`_ (~Rik`@lag75-1-78-192-241-87.fbxo.proxad.net) (Remote host closed the connection)
- # [06:14] * Joins: Rik`_ (~Rik`@lag75-1-78-192-241-87.fbxo.proxad.net)
- # [06:15] * Joins: Rik`__ (~Rik`@lag75-1-78-192-241-87.fbxo.proxad.net)
- # [06:15] * Quits: Rik`_ (~Rik`@lag75-1-78-192-241-87.fbxo.proxad.net) (Read error: Connection reset by peer)
- # [06:16] * Quits: Rik` (~Rik`@2a01:e34:ec0f:1570:16b:e43d:16e7:8572) (Ping timeout: 244 seconds)
- # [06:17] * Joins: Rik` (~Rik`@2a01:e34:ec0f:1570:e1f1:7507:dac8:643)
- # [06:17] * Quits: Rik`__ (~Rik`@lag75-1-78-192-241-87.fbxo.proxad.net) (Read error: Connection reset by peer)
- # [06:19] * Joins: Rik`_ (~Rik`@lag75-1-78-192-241-87.fbxo.proxad.net)
- # [06:21] * Joins: Rik`__ (~Rik`@2a01:e34:ec0f:1570:703e:5c39:7992:bbb0)
- # [06:21] * Quits: Rik`_ (~Rik`@lag75-1-78-192-241-87.fbxo.proxad.net) (Read error: Connection reset by peer)
- # [06:23] * Joins: Rik`_ (~Rik`@2a01:e34:ec0f:1570:d111:6a96:31f3:42a)
- # [06:23] * Quits: Rik` (~Rik`@2a01:e34:ec0f:1570:e1f1:7507:dac8:643) (Ping timeout: 240 seconds)
- # [06:23] * Quits: kennyluck (~kennyluck@114-25-209-240.dynamic.hinet.net) (Quit: kennyluck)
- # [06:24] * Joins: Rik` (~Rik`@lag75-1-78-192-241-87.fbxo.proxad.net)
- # [06:26] * Quits: Rik`__ (~Rik`@2a01:e34:ec0f:1570:703e:5c39:7992:bbb0) (Ping timeout: 244 seconds)
- # [06:27] * Quits: agektmr (~Adium@2401:fa00:4:1012:fa1e:dfff:fee6:d74e) (Quit: Leaving.)
- # [06:27] * Quits: Rik`_ (~Rik`@2a01:e34:ec0f:1570:d111:6a96:31f3:42a) (Ping timeout: 240 seconds)
- # [06:28] * Joins: davidwalsh (~davidwals@75-135-74-55.dhcp.mdsn.wi.charter.com)
- # [06:30] * Joins: Rik`_ (~Rik`@lag75-1-78-192-241-87.fbxo.proxad.net)
- # [06:30] * Quits: Rik` (~Rik`@lag75-1-78-192-241-87.fbxo.proxad.net) (Read error: Connection reset by peer)
- # [06:38] * Quits: bentruyman (~bentruyma@li159-104.members.linode.com) (Ping timeout: 240 seconds)
- # [06:40] * Joins: agektmr (~Adium@220.109.219.244)
- # [06:40] * Joins: Areks|2 (~Areks@176.14.214.163)
- # [06:46] * Quits: Areks|2 (~Areks@176.14.214.163) (Ping timeout: 244 seconds)
- # [06:50] * Joins: agektmr1 (~Adium@220.109.219.244)
- # [06:50] * Quits: agektmr (~Adium@220.109.219.244) (Read error: Connection reset by peer)
- # [06:54] * Quits: MikeSmith (~MikeSmith@EM114-48-195-48.pool.e-mobile.ne.jp) (Ping timeout: 252 seconds)
- # [06:56] * Joins: dydx (~dydz@adsl-75-36-190-15.dsl.pltn13.sbcglobal.net)
- # [07:01] * Joins: drdt (~dydz@adsl-75-36-190-15.dsl.pltn13.sbcglobal.net)
- # [07:01] * Quits: dydx (~dydz@adsl-75-36-190-15.dsl.pltn13.sbcglobal.net) (Read error: Connection reset by peer)
- # [07:01] * Joins: bentruyman (~bentruyma@li159-104.members.linode.com)
- # [07:03] * nunnun_away is now known as nunnun
- # [07:07] * Quits: niftylettuce (u2733@gateway/web/irccloud.com/x-rnvbhtggyydyadub) (Excess Flood)
- # [07:08] * Quits: drdt (~dydz@adsl-75-36-190-15.dsl.pltn13.sbcglobal.net) (Ping timeout: 252 seconds)
- # [07:08] * Joins: niftylettuce (u2733@gateway/web/irccloud.com/x-hezekwokclxpikjn)
- # [07:17] * Quits: matjas (u2247@gateway/web/irccloud.com/x-vvqjjghgysasprvr) (Excess Flood)
- # [07:17] * Joins: matjas (u2247@gateway/web/irccloud.com/x-yuodnmyfolsesmhw)
- # [07:25] * Joins: dydx (~dydz@adsl-75-36-190-15.dsl.pltn13.sbcglobal.net)
- # [07:26] * Quits: dbaron (~dbaron@173-228-28-129.dsl.dynamic.sonic.net) (Quit: 8403864 bytes have been tenured, next gc will be global.)
- # [07:26] * Quits: dydx (~dydz@adsl-75-36-190-15.dsl.pltn13.sbcglobal.net) (Client Quit)
- # [07:29] * Quits: jochen__ (jochen@nat/google/x-ujwhvtbaszqqhnjl) (Remote host closed the connection)
- # [07:29] * Joins: jochen__ (jochen@nat/google/x-tmfpqxydionhoqfd)
- # [07:36] * Quits: mpt (~mpt@canonical/mpt) (Ping timeout: 248 seconds)
- # [07:36] * Joins: mpt (~mpt@canonical/mpt)
- # [07:41] * Quits: davidwalsh (~davidwals@75-135-74-55.dhcp.mdsn.wi.charter.com) (Quit: Reading http://davidwalsh.name)
- # [07:43] * Quits: roc (~chatzilla@60.234.54.74) (Ping timeout: 240 seconds)
- # [07:54] * Joins: MikeSmith (~MikeSmith@EM111-191-121-204.pool.e-mobile.ne.jp)
- # [08:00] * Joins: FlorianX (~Florian_S@p4FE2C5EC.dip.t-dialin.net)
- # [08:05] * Quits: mpt (~mpt@canonical/mpt) (Ping timeout: 252 seconds)
- # [08:08] * Quits: MikeSmith (~MikeSmith@EM111-191-121-204.pool.e-mobile.ne.jp) (Ping timeout: 260 seconds)
- # [08:08] * Joins: MikeSmith (~MikeSmith@EM111-191-121-204.pool.e-mobile.ne.jp)
- # [08:29] * Quits: MikeSmith (~MikeSmith@EM111-191-121-204.pool.e-mobile.ne.jp) (Ping timeout: 240 seconds)
- # [08:33] * Joins: roc (~chatzilla@121.98.230.221)
- # [08:34] * Joins: tomasf (~tomasf@77.72.97.5.c.fiberdirekt.net)
- # [08:39] * Quits: erlehmann (~erlehmann@82.113.121.205) (Quit: Ex-Chat)
- # [08:39] * Quits: FlorianX (~Florian_S@p4FE2C5EC.dip.t-dialin.net) (Read error: Connection reset by peer)
- # [08:47] * Joins: bitgod (bitgod@ool-182e4d29.dyn.optonline.net)
- # [08:47] <bitgod> hello?
- # [08:57] * Joins: rtuin (~rtuin@213.125.175.250)
- # [08:59] * Joins: erlehmann (~erlehmann@82.113.121.205)
- # [09:02] * Quits: roc (~chatzilla@121.98.230.221) (Ping timeout: 240 seconds)
- # [09:09] * Joins: Margle (~Margle@41-133-101-76.dsl.mweb.co.za)
- # [09:27] * Joins: Timz (~Adium@86.89.174.199)
- # [09:28] * Quits: agektmr1 (~Adium@220.109.219.244) (Quit: Leaving.)
- # [09:29] * Quits: erlehmann (~erlehmann@82.113.121.205) (Quit: Ex-Chat)
- # [09:30] * Quits: Evanescence (~Evanescen@122.237.23.90) (Quit: my website: http://stardiviner.dyndns-blog.com/)
- # [09:33] * Joins: Evanescence (~Evanescen@122.237.23.90)
- # [09:39] * Quits: rniwa (~rniwa@216.239.45.130) (Quit: rniwa)
- # [09:41] * Quits: Evanescence (~Evanescen@122.237.23.90) (Quit: my website: http://stardiviner.dyndns-blog.com/)
- # [09:45] * Quits: Rik`_ (~Rik`@lag75-1-78-192-241-87.fbxo.proxad.net) (Remote host closed the connection)
- # [09:46] * Joins: Rik` (~Rik`@2a01:e34:ec0f:1570:60ca:cb75:bf89:de62)
- # [09:46] * Joins: erlehmann (~erlehmann@82.113.121.205)
- # [09:46] * Joins: Rik`_ (~Rik`@2a01:e34:ec0f:1570:4dd1:770f:fad9:f2c6)
- # [09:47] * Joins: Rik`__ (~Rik`@lag75-1-78-192-241-87.fbxo.proxad.net)
- # [09:50] * Quits: Rik` (~Rik`@2a01:e34:ec0f:1570:60ca:cb75:bf89:de62) (Ping timeout: 240 seconds)
- # [09:51] * Quits: Rik`_ (~Rik`@2a01:e34:ec0f:1570:4dd1:770f:fad9:f2c6) (Ping timeout: 244 seconds)
- # [09:51] * Quits: erlehmann (~erlehmann@82.113.121.205) (Ping timeout: 240 seconds)
- # [09:53] * nunnun is now known as nunnun_away
- # [09:55] * nunnun_away is now known as nunnun
- # [09:57] * Quits: Rik`__ (~Rik`@lag75-1-78-192-241-87.fbxo.proxad.net) (Read error: Connection reset by peer)
- # [09:57] * Joins: Rik` (~Rik`@2a01:e34:ec0f:1570:e56e:a9b7:343c:eff0)
- # [09:59] * Joins: Rik`_ (~Rik`@2a01:e34:ec0f:1570:44b8:58db:5898:d76e)
- # [10:00] * nunnun is now known as nunnun_away
- # [10:01] * Joins: Rik`__ (~Rik`@2a01:e34:ec0f:1570:f163:15e4:137b:135b)
- # [10:02] * Joins: Evanescence (~Evanescen@122.237.23.90)
- # [10:03] * Quits: Rik` (~Rik`@2a01:e34:ec0f:1570:e56e:a9b7:343c:eff0) (Ping timeout: 244 seconds)
- # [10:04] * Quits: Rik`_ (~Rik`@2a01:e34:ec0f:1570:44b8:58db:5898:d76e) (Ping timeout: 240 seconds)
- # [10:05] * Joins: Rik` (~Rik`@lag75-1-78-192-241-87.fbxo.proxad.net)
- # [10:06] * Joins: Rik`_ (~Rik`@lag75-1-78-192-241-87.fbxo.proxad.net)
- # [10:06] * Quits: Rik` (~Rik`@lag75-1-78-192-241-87.fbxo.proxad.net) (Read error: Connection reset by peer)
- # [10:07] * Joins: Bass10 (~Bass10@c-76-113-194-7.hsd1.mn.comcast.net)
- # [10:08] * Quits: Bass10 (~Bass10@c-76-113-194-7.hsd1.mn.comcast.net) (Max SendQ exceeded)
- # [10:08] * Quits: Rik`__ (~Rik`@2a01:e34:ec0f:1570:f163:15e4:137b:135b) (Ping timeout: 244 seconds)
- # [10:09] * Joins: Rik` (~Rik`@lag75-1-78-192-241-87.fbxo.proxad.net)
- # [10:09] * Quits: Rik`_ (~Rik`@lag75-1-78-192-241-87.fbxo.proxad.net) (Read error: Connection reset by peer)
- # [10:10] * Joins: skimmas (~skimmas@cr-217-129-230-80.netvisao.pt)
- # [10:10] * Joins: zcorpan (~zcorpan@c-699de355.410-6-64736c14.cust.bredbandsbolaget.se)
- # [10:13] * Quits: benjoffe_ (~benjoffe_@CPE-121-216-39-241.lnse1.ken.bigpond.net.au) (Remote host closed the connection)
- # [10:15] * Joins: agektmr (~Adium@220.109.219.244)
- # [10:19] * Joins: virtuelv (~virtuelv_@pat-tdc.opera.com)
- # [10:20] * Joins: MikeSmith (~MikeSmith@u-061127100115.u01.hotspot.ne.jp)
- # [10:25] * Quits: MikeSmith (~MikeSmith@u-061127100115.u01.hotspot.ne.jp) (Client Quit)
- # [10:26] * Joins: jacobolus (~jacobolus@c-71-198-169-213.hsd1.ca.comcast.net)
- # [10:27] * Quits: skimmas (~skimmas@cr-217-129-230-80.netvisao.pt) (Ping timeout: 240 seconds)
- # [10:31] * Joins: akamike (~akamike@94-193-106-14.zone7.bethere.co.uk)
- # [10:35] * Joins: hober2 (~ted@unaffiliated/hober)
- # [10:36] * Quits: hober (~ted@unaffiliated/hober) (Remote host closed the connection)
- # [10:40] * Joins: Necrathex (~nectop@82-170-160-25.ip.telfort.nl)
- # [10:41] * Joins: tomasf_ (~tom@c-5ed9e555.024-204-6c6b7012.cust.bredbandsbolaget.se)
- # [10:42] * Joins: roc (~chatzilla@121.98.230.221)
- # [10:43] * Joins: erlehmann (~erlehmann@82.113.121.205)
- # [10:44] * Joins: FlorianX (~Florian_S@p4FE2DAB0.dip.t-dialin.net)
- # [10:48] * Quits: nattokirai (~nattokira@rtr.mozilla.or.jp) (Quit: nattokirai)
- # [10:49] * Joins: agektmr1 (~Adium@220.109.219.244)
- # [10:49] * Quits: agektmr (~Adium@220.109.219.244) (Read error: Connection reset by peer)
- # [10:51] * Quits: sicking (~chatzilla@206-15-76-122.static.twtelecom.net) (Ping timeout: 260 seconds)
- # [10:53] * Joins: Stikki (~lordstich@dsl-pribrasgw1-ff17c300-80.dhcp.inet.fi)
- # [10:55] * Joins: skimmas (~skimmas@cr-217-129-230-80.netvisao.pt)
- # [10:56] * Quits: nonge__ (~nonge@p5082A085.dip.t-dialin.net) (Quit: Verlassend)
- # [11:00] * Joins: riven` (~riven@53518387.cm-6-2c.dynamic.ziggo.nl)
- # [11:00] * Joins: annevk (~annevk@5355737B.cm-6-6b.dynamic.ziggo.nl)
- # [11:01] <zcorpan> http://doctype.com/figure-used-background-images
- # [11:01] <annevk> ah, Mike must be traveling
- # [11:02] * Quits: riven (~riven@pdpc/supporter/professional/riven) (Ping timeout: 240 seconds)
- # [11:02] <annevk> I guess I should write a weekly
- # [11:02] <annevk> hmm
- # [11:07] <annevk> hsivonen, what did you implement for http://www.w3.org/Bugs/Public/show_bug.cgi?id=14284 ?
- # [11:07] * Quits: agektmr1 (~Adium@220.109.219.244) (Quit: Leaving.)
- # [11:07] <annevk> hsivonen, I don't really mind either way
- # [11:07] <annevk> hsivonen, it seems sicking feels somewhat strongly for lots of sniffing though he has no figures to back that up...
- # [11:08] <annevk> hsivonen, I would personally be fine with the simple rules or GTFO
- # [11:09] <erlehmann> hahaha
- # [11:09] <erlehmann> tha attribute styling stuff is COMEDY GOLD
- # [11:11] * Joins: richt (~richt@guest.opera.com)
- # [11:12] <annevk> erlehmann: ?
- # [11:14] <hsivonen> annevk: I implemented the following:
- # [11:14] <erlehmann> annevk, Jukka K. Korpela <jkorpela@cs.tut.fi> suggested using <div type="nav"> instead of <nav> for IE compatibility.
- # [11:14] <erlehmann> and then simon pieters was like “<div type="nav"> is not stylable in IE6 because it doesn't support
- # [11:14] <erlehmann> attribute selectors.”
- # [11:14] <erlehmann> i pooped a little.
- # [11:14] <hsivonen> text/html in non-default, non-document modes works like an unknown type
- # [11:15] <hsivonen> annevk: in the default and document modes, for text/html first honor HTTP, failing that BOM, failing that <meta> within the first 1024 bytes
- # [11:16] <hsivonen> annevk: if we have to look for <meta>, stall output until the parser has seen the <meta> or received 1024 bytes
- # [11:16] <hsivonen> if the parser sees 1024 bytes without a <meta> (and without BOM or HTTP-level charset), use UTF-8
- # [11:16] <hsivonen> annevk: HOWEVER
- # [11:16] <hsivonen> annevk: doing this breaks our mochitests
- # [11:17] <hsivonen> annevk: specifically, we have something that tests redirects and tries to read the resource body of a redirect response
- # [11:17] <hsivonen> which is marked text/html without an explicit charset
- # [11:17] <hsivonen> annevk: so this stuff may not be entirely done yet
- # [11:18] <hsivonen> annevk: I've been pondering the idea of not stalling as long as the data before the <meta> is in the printable ASCII range
- # [11:19] <hsivonen> annevk: not stalling responseText that is
- # [11:19] <annevk> ow
- # [11:19] <annevk> that sounds tricky
- # [11:19] <roc> hsivonen: are you just worried about the test, or are you worried that the same pattern is likely to show up in real life?
- # [11:19] <hsivonen> annevk: I'll analyze the situation and see if it's reasonable to try to change the test
- # [11:20] <hsivonen> roc: so far, only a test
- # [11:21] * Joins: agektmr (~Adium@220.109.219.244)
- # [11:21] * Quits: richt (~richt@guest.opera.com) (Read error: Connection reset by peer)
- # [11:21] * Joins: richt (~richt@guest.opera.com)
- # [11:23] <annevk> hsivonen: did you consider completely disabling the <meta> thing?
- # [11:24] <annevk> hsivonen: Hixie: I updated the bug saying we're waiting for implementation experience from Gecko
- # [11:24] * Joins: necolas (~necolas@5e041dd3.bb.sky.com)
- # [11:25] <annevk> the CSS WG decided to not change vm/vw
- # [11:25] <annevk> grmbl
- # [11:31] * riven` is now known as riven
- # [11:31] * Quits: riven (~riven@53518387.cm-6-2c.dynamic.ziggo.nl) (Changing host)
- # [11:31] * Joins: riven (~riven@pdpc/supporter/professional/riven)
- # [11:34] <hsivonen> annevk: I considered it briefly after Hixie suggested it, but disabling <meta> altogether would mean deviating even more from what sicking wanted and I'm in principle uncomfortable with not supporting all conforming documents
- # [11:40] * Quits: jacobolus (~jacobolus@c-71-198-169-213.hsd1.ca.comcast.net) (Read error: Connection reset by peer)
- # [11:41] <annevk> http://www.w3.org/html/wg/wiki/ChangeProposals/av_param o_O
- # [11:42] <annevk> insanity is prevailing it seems
- # [11:42] <annevk> hsivonen: fair enough, sounds good to me generally
- # [11:44] * Quits: Margle (~Margle@41-133-101-76.dsl.mweb.co.za) (Ping timeout: 255 seconds)
- # [11:45] * Joins: Margle (~Margle@41-133-197-169.dsl.mweb.co.za)
- # [11:46] * Quits: skimmas (~skimmas@cr-217-129-230-80.netvisao.pt) (Remote host closed the connection)
- # [11:46] * Quits: zcorpan (~zcorpan@c-699de355.410-6-64736c14.cust.bredbandsbolaget.se) (Remote host closed the connection)
- # [11:46] * Quits: Evanescence (~Evanescen@122.237.23.90) (Quit: my website: http://stardiviner.dyndns-blog.com/)
- # [11:47] <boblet> annevk: quick q about HTML5 diffs doc. It mentions absent elements "are not in HTML5". I thought they were obsolete (not for author use) but still covered by HTML5 (=in the spec with guidance for implementors)
- # [11:47] <boblet> it’s re: https://github.com/html5doctor/diveintohtml5/issues/1
- # [11:47] * Joins: zcorpan (~zcorpan@c-699de355.410-6-64736c14.cust.bredbandsbolaget.se)
- # [11:48] <roc> who's behind av_param?
- # [11:49] <annevk> Glenn Adams
- # [11:49] <annevk> he contracts for some unnamed entity I believe
- # [11:49] <roc> Samsung
- # [11:50] <annevk> yeah, but also an unnamed entity
- # [11:50] <boblet> for me using obsolete elements in HTML5 doesn’t break the doc, just the validation. maybe I need to read defn of obsolete…
- # [11:50] <roc> he was involved in a large furore on the wwww-font list
- # [11:51] <annevk> and apparently co-chair of the Timed Text WG at some point
- # [11:51] <annevk> boblet, you should tell the guy that HTML4 is obsolete
- # [11:52] <boblet> annevk: you’re not helping :p
- # [11:52] * Quits: richt (~richt@guest.opera.com) (Remote host closed the connection)
- # [11:52] <boblet> purist vs pragmatist, fight! ;)
- # [11:52] <annevk> boblet: just saying how it is
- # [11:53] <annevk> boblet: anyway html5-diff is written towards authors primarily
- # [11:53] <annevk> boblet: as they seem to find it most useful, and for authors, the elements are absent
- # [11:53] <boblet> annevk: for me Mark’s sentence is correct, but from an author perspective (if there are obsolete elems/attribs) maybe not so much huh
- # [11:56] <annevk> you should not read books like you read specs man
- # [11:57] <annevk> specs you can read in an anal-retentive way, maybe even should
- # [11:57] <annevk> books not so much
- # [11:57] <annevk> I would link to a blog entry where Mark explains this, but it's no longer up :(
- # [11:59] <boblet> annevk: agree. can u give me a rough title or keywords re: Mark's article? might check archive
- # [12:00] <annevk> boblet: ietf, cat pictures, w3c
- # [12:01] <annevk> boblet: maybe specs or standards
- # [12:02] <boblet> annevk: thanks as always yo
- # [12:03] * Joins: smaug____ (~chatzilla@GGYGKMDCCLVII.gprs.sl-laajakaista.fi)
- # [12:10] * Joins: skimmas (~skimmas@cr-217-129-230-80.netvisao.pt)
- # [12:16] * Joins: agektmr1 (~Adium@220.109.219.245)
- # [12:20] * Quits: agektmr (~Adium@220.109.219.244) (Ping timeout: 252 seconds)
- # [12:23] <karlcow> annevk: http://web.archive.org/web/20110514114618/http://diveintomark.org/archives/2004/08/16/specs ?
- # [12:24] * Quits: Areks (~Areks@rs.gridnine.com) (Ping timeout: 240 seconds)
- # [12:29] <annevk> no
- # [12:31] <akamike> Amusing to read though
- # [12:33] <annevk> he has written many great posts
- # [12:34] * Quits: virtuelv (~virtuelv_@pat-tdc.opera.com) (Quit: Ex-Chat)
- # [12:37] * Joins: virtuelv (~virtuelv_@pat-tdc.opera.com)
- # [12:42] <hsivonen> I wonder how much YouTube's autocaptioning has been tested with different accents. it fails pretty hard with a typical Finnish accent (when speaking English that is)
- # [12:43] * Joins: Areks (~Areks@rs.gridnine.com)
- # [12:44] <zcorpan> i tried it on a presentation timj held. it pretty much failed
- # [12:45] <hsivonen> zcorpan: the WebGL developer?
- # [12:45] <zcorpan> yes
- # [12:45] <hsivonen> zcorpan: is he from Finland (his English sounded more like spoken by a Finn that like spoken by a Swede)
- # [12:46] <zcorpan> no
- # [12:49] <annevk> pointer?
- # [12:50] * Quits: virtuelv (~virtuelv_@pat-tdc.opera.com) (Quit: Ex-Chat)
- # [12:50] <zcorpan> http://www.youtube.com/watch?v=BnVy_uCk_es
- # [12:51] <hsivonen> annevk: http://www.youtube.com/watch?v=K6QjOjgwuWk particularly between 1:00 and 1:20 shows the speech recognition failing pretty hard
- # [12:51] * Quits: ezoe (~ezoe@112-68-244-10f1.kyt1.eonet.ne.jp) (Ping timeout: 276 seconds)
- # [12:54] <zcorpan> it transcribed "firefox" correctly but "chrome" became "croats"
- # [12:54] <zcorpan> (4:30)
- # [12:56] <zcorpan> "fragment shaders" -> "pregnant shakers" :)
- # [12:58] * dglazkov is now known as dglazkov|away
- # [13:00] <boblet> annevk: “There are no exceptions to Postel’s Law”? http://web.archive.org/web/20110514120305/http://diveintomark.org/archives/2004/01/08/postels-law
- # [13:01] <hsivonen> it's nice that Mark didn't request archive.org to hide his writings
- # [13:02] <hsivonen> btw, did I miss something that I should have mentioned in http://lists.w3.org/Archives/Public/public-html-data-tf/2011Oct/0266.html ?
- # [13:06] * Joins: Evanescence (~Evanescen@122.237.23.90)
- # [13:08] <annevk> boblet: good find
- # [13:08] <annevk> zcorpan: haha
- # [13:11] <hsivonen> I wonder if anyone has fed yesterday's Nokia Lumia 800 announcement to a text to speech engine to see how often the said "800" in a way that sounded like "Android"
- # [13:11] <hsivonen> doh. speech to text
- # [13:15] <annevk> hsivonen: looks accurate
- # [13:15] <annevk> hsivonen: blog post worthy
- # [13:17] <hsivonen> annevk: ok. thanks. I might copy and paste it to my blog later.
- # [13:20] * Joins: bga_ (~bga@ppp91-122-179-189.pppoe.avangarddsl.ru)
- # [13:21] <hsivonen> sigh. so we have a separate parsing algorithm for WebVTT but make it treat Form Feed as white space for consistency. FAIL. :-(
- # [13:26] <hsivonen> whoa. a thread about "Signed XHTML". XML tech rathole warning!
- # [13:27] <annevk> hsivonen, we can remove the FF handling
- # [13:27] <annevk> hsivonen: should we?
- # [13:27] <hsivonen> annevk: my gut says we should
- # [13:27] <hsivonen> space, tab, cr and lf is the One True set of space characters
- # [13:28] <annevk> what does CSS have?
- # [13:28] <annevk> and why does HTML have FF?
- # [13:28] <hsivonen> HTML has FF due to beliefs about legacy
- # [13:29] <hsivonen> dunno how real the need to have FF in HTML is
- # [13:30] <hsivonen> CSS has FF. :-(
- # [13:30] <annevk> seems better to just keep FF around then
- # [13:30] <hsivonen> :-(
- # [13:31] * Quits: agektmr1 (~Adium@220.109.219.245) (Quit: Leaving.)
- # [13:31] <annevk> it's not very sad, it just means it's 5 true whitespace characters instead of 4
- # [13:33] * Joins: hamaji (~hamaji@220.109.219.244)
- # [13:35] <hsivonen> I failed to resist replying to the signature thread
- # [13:36] * Quits: smaug____ (~chatzilla@GGYGKMDCCLVII.gprs.sl-laajakaista.fi) (Ping timeout: 258 seconds)
- # [13:56] * Joins: virtuelv (~virtuelv_@pat-tdc.opera.com)
- # [13:58] * Quits: jochen__ (jochen@nat/google/x-tmfpqxydionhoqfd) (Remote host closed the connection)
- # [14:00] * Joins: esc_ (~esc-ape@99.inst-3.ufg.ac.at)
- # [14:03] <zcorpan> annevk: FF after signature would be inconsistent with cache manifests
- # [14:09] * Quits: skimmas (~skimmas@cr-217-129-230-80.netvisao.pt) (Quit: Leaving...)
- # [14:10] <annevk> maybe we should update those too then
- # [14:11] * Quits: bga_ (~bga@ppp91-122-179-189.pppoe.avangarddsl.ru) (Read error: Connection reset by peer)
- # [14:16] * Joins: agektmr (~Adium@220.109.219.244)
- # [14:16] * nunnun_away is now known as nunnun
- # [14:18] * Quits: virtuelv (~virtuelv_@pat-tdc.opera.com) (Remote host closed the connection)
- # [14:19] * Joins: virtuelv (~virtuelv_@pat-tdc.opera.com)
- # [14:29] <annevk> http://www.firefoxwithbing.com/ is all kinds of odd, but it also makes sense I suppose
- # [14:30] * Joins: smaug____ (~chatzilla@193.65.136.17)
- # [14:30] * Joins: jdaggett (~jdaggett@ad005178.dynamic.ppp.asahi-net.or.jp)
- # [14:35] * Quits: temp01 (~temp01@unaffiliated/temp01) (Ping timeout: 245 seconds)
- # [14:35] * Joins: temp01 (~temp01@unaffiliated/temp01)
- # [14:36] * Joins: davidb (~davidb@66.207.208.98)
- # [14:44] <hsivonen> annevk: odd how?
- # [14:48] <annevk> Microsoft promoting the usage of a non-Microsoft browser in order to more successfully compete in the search market
- # [14:54] * Joins: nonge (~nonge@p5082A085.dip.t-dialin.net)
- # [15:04] * Joins: miketaylr (~miketaylr@206.217.92.186)
- # [15:14] * Quits: Evanescence (~Evanescen@122.237.23.90) (Quit: my website: http://stardiviner.dyndns-blog.com/)
- # [15:14] <erlehmann> annevk, bing even uses webm ;)
- # [15:14] <erlehmann> btw, do you know a good minimalistic contentEditable editor?
- # [15:15] * Joins: mpt (mpt@canonical/mpt)
- # [15:21] * Quits: smaug____ (~chatzilla@193.65.136.17) (Ping timeout: 255 seconds)
- # [15:29] * Joins: MacTed (~Thud@63.119.36.36)
- # [15:30] * Joins: saba (~foo@unaffiliated/saba)
- # [15:33] * Quits: bitgod (bitgod@ool-182e4d29.dyn.optonline.net)
- # [15:35] * Quits: yuuki (~kobayashi@58x158x182x50.ap58.ftth.ucom.ne.jp) (Quit: Leaving...)
- # [15:46] * Joins: smaug____ (~chatzilla@GGYMKCCLXXXII.gprs.sl-laajakaista.fi)
- # [15:51] * Quits: smaug____ (~chatzilla@GGYMKCCLXXXII.gprs.sl-laajakaista.fi) (Ping timeout: 258 seconds)
- # [15:53] * Quits: payman (~payman@pat.se.opera.com) (Remote host closed the connection)
- # [15:59] * Joins: janTeto (~ted@unaffiliated/hober)
- # [15:59] * Joins: GlitchMr (~glitchmr@77-254-101-154.adsl.inetia.pl)
- # [15:59] * Quits: hober2 (~ted@unaffiliated/hober) (Remote host closed the connection)
- # [16:00] * Joins: jdong_bo_ (~jdong_bot@118.186.129.191)
- # [16:02] <hsivonen> erlehmann: where does Bing use WebM? or did I misunderstand the smiley?
- # [16:04] <hsivonen> annevk: does Microsoft promote the firefoxwithbing.com site somewhere to users who aren't already seeking to download Firefox?
- # [16:04] <erlehmann> hsivonen, here? http://www.bing.com/?scope=web&setmkt=en-US&setlang=match&FORM=W5WA&uid=879B42B5
- # [16:05] <hsivonen> erlehmann: cool
- # [16:07] <miketaylr> unless you're using Opera, then you get a static image
- # [16:07] <miketaylr> yay
- # [16:10] <AryehGregor> MS was never against WebM, they just don't want to ship the codecs.
- # [16:10] <AryehGregor> For liability reasons.
- # [16:11] * Quits: virtuelv (~virtuelv_@pat-tdc.opera.com) (Ping timeout: 258 seconds)
- # [16:11] <AryehGregor> Shipping an encoder or decoder is presumably a lot more likely to expose you to liability than providing a file.
- # [16:12] <AryehGregor> I guess patents are likely to cover the encoding or decoding process, not the file format itself.
- # [16:13] * Joins: myakura (~myakura@FL1-203-136-164-250.tky.mesh.ad.jp)
- # [16:14] <erlehmann> AryehGregor, that is what they want you to believe.
- # [16:14] <AryehGregor> Plus, your liability for distributing one file has got to be more limited than your liability for distributing a codec that lets users view zillions of files.
- # [16:14] <AryehGregor> erlehmann, I've seen nothing to indicate that Microsoft is anything but honest in its reasons for non-support of WebM.
- # [16:15] <erlehmann> AryehGregor, non-support of vorbis?
- # [16:15] <AryehGregor> Everything they've said and done accords with their explanation that they're only concerned about patent liability.
- # [16:15] <AryehGregor> . . . Vorbis I don't know. I haven't seen any statements by them on that.
- # [16:15] <AryehGregor> People seem to not talk about the audio part much, mostly video.
- # [16:16] <erlehmann> i am interested in audio. i sometimes do podcasts.
- # [16:16] <erlehmann> also, streaming vorbis (well, anything in ogg) is easy.
- # [16:16] <gsnedders> AryehGregor: They already ship VP8.
- # [16:16] <gsnedders> AryehGregor: In Skype.
- # [16:16] <AryehGregor> gsnedders, typical. One hand doesn't know what the other is doing . . .
- # [16:16] <erlehmann> http://en.wikipedia.org/wiki/Microsoft_PlaysForSure#Criticisms
- # [16:16] <AryehGregor> Like how they argued fiercely against OTF embedding while Silverlight supported it.
- # [16:16] <gsnedders> AryehGregor: They only officially owned Skype a few days ago
- # [16:17] <erlehmann> >The license prohibited makers of portable devices compatible with Windows Media Player from using non-Microsoft audio encoding formats.
- # [16:17] <gsnedders> AryehGregor: But the risk is now their's
- # [16:17] <AryehGregor> Oh, so MPEG LA's patent search has come up with something. I didn't notice that when it happened.
- # [16:17] <AryehGregor> gsnedders, oh, well, that's different.
- # [16:17] <AryehGregor> That does change things, though.
- # [16:17] <gsnedders> AryehGregor: Different, yes, but the liability is their's.
- # [16:17] <gsnedders> AryehGregor: And it's only really the liaibility that matters.
- # [16:18] <AryehGregor> Yes.
- # [16:18] <erlehmann> AryehGregor, i have one question. if a vendor has already paid or is part of the patent consortium, what is to fear, legally, by including free codecs?
- # [16:18] <jgraham> AryehGregor:
- # [16:18] <AryehGregor> Of course, they might decide to phase out VP8 from Skype. But if they don't, it seems hard to understand why they wouldn't allow WebM in IE too.
- # [16:18] <gsnedders> AryehGregor: MPEG LA's H.264 portfolio is meant to be about 20% bogus, but the cost of going through and proving prior art for all of them is considered more costly than paying the fee
- # [16:18] * Joins: micheil (~micheil@195.24.233.121)
- # [16:19] <gsnedders> AryehGregor: the number of units sdhipped would have an affect on any fine. IE ships more units than Skype.
- # [16:19] <AryehGregor> erlehmann, the MPEG LA has separate patent pools for different formats. If you're paying into the H.264 patent pool, that doesn't mean you get licenses to VP8 patents, even from the same parties.
- # [16:19] <gsnedders> *shipped
- # [16:19] <gsnedders> *effect
- # [16:19] <AryehGregor> gsnedders, damages, I think, not fine. But that's true.
- # [16:19] <erlehmann> AryehGregor, to obstruct the web as a platform, of course. in before do not assume malice.
- # [16:19] <gsnedders> AryehGregor: What legally it is is rather non-important here :P
- # [16:20] <annevk> Since the initial argument Microsoft bought Skype
- # [16:20] <AryehGregor> erlehmann, I think there's decent evidence here of non-malice.
- # [16:20] <AryehGregor> Such as, they support WebM if you install the codec, which they don't do for any other format.
- # [16:20] <AryehGregor> And they publicly pledged that they'll support it if Google agrees to indemnify them.
- # [16:20] <erlehmann> they don't? isn't directShow like quicktime, supporting everything installed?
- # [16:20] <gsnedders> erlehmann: They whitelist it.
- # [16:21] <AryehGregor> Right.
- # [16:21] <gsnedders> erlehmann: To stop things like WMV from being used with video.
- # [16:21] <erlehmann> gsnedders, did not know that.
- # [16:21] <AryehGregor> Because a lot of codecs are dodgy and they don't want them exposed to the web.
- # [16:21] <gsnedders> erlehmann: The only video codecs they allow are H.264 and WebM.
- # [16:22] <erlehmann> how unfortunate for theora (hey, my laptop is from 2007).
- # [16:22] <AryehGregor> My prediction: MPEG LA announces a patent pool. Google either buys out the patents, or declares they're blatantly invalid/inapplicable and offers to indemnify Microsoft and Apple against them, or changes VP8 to avoid them.
- # [16:22] <erlehmann> wellr, i am a behaviourist. actions speak louder than words, particularly regarding software.
- # [16:22] <AryehGregor> Microsoft and Apple will then support WebM.
- # [16:22] <AryehGregor> But I'm speculating here.
- # [16:23] <gsnedders> AryehGregor: That wouldn't make Opera/Mozilla/any other browser vendor happy.
- # [16:23] <AryehGregor> Which part?
- # [16:23] * Quits: agektmr (~Adium@220.109.219.244) (Quit: Leaving.)
- # [16:23] * Quits: astearns (~anonymous@c-50-132-63-33.hsd1.wa.comcast.net) (Ping timeout: 240 seconds)
- # [16:23] <gsnedders> Especially anyone wanting to move into the browser market, as they'd have a alrger risk than anyone else.
- # [16:23] <erlehmann> AryehGregor, even more so than microsoft, apple is not a friend of open formats when there is a position to hold.
- # [16:23] <gsnedders> AryehGregor: indemification
- # [16:24] <erlehmann> gsnedders is a very clever person.
- # [16:24] <gsnedders> erlehmann: I am? Okay. :D
- # [16:25] <AryehGregor> gsnedders, I'm guessing they'd either offer indemnification to Mozilla too, or only offer the indemnification secretly and require Microsoft/Apple to not admit to it, only say "Hey, Google convinced us to support it".
- # [16:25] <AryehGregor> I doubt they'd care about Opera.
- # [16:25] <AryehGregor> Opera will be forced to support it regardless if everyone else does.
- # [16:25] <gsnedders> AryehGregor: Then why both having us as one of the initial impls at WebM's original announcement?
- # [16:25] <AryehGregor> They want to have everyone possible.
- # [16:26] <AryehGregor> They also had, like, Grab Networks.
- # [16:26] <AryehGregor> I have no idea what that even is.
- # [16:26] <AryehGregor> . . . Actually, I don't see Opera here.
- # [16:26] <AryehGregor> Oh, I see.
- # [16:26] <gsnedders> AryehGregor: Håkon was there
- # [16:26] <AryehGregor> Opera gets called out in the start with Mozilla/Opera/Google Chrome/Adobe.
- # [16:27] <AryehGregor> Well, whatever.
- # [16:27] <gsnedders> At Google I/O.
- # [16:27] <gsnedders> AryehGregor: Also, if they care about mobile, not caring about us would be silly.
- # [16:27] <AryehGregor> That's very different from offering a potentially large sum of money to fight legal battles for you.
- # [16:27] <AryehGregor> http://www.mpegla.com/main/pid/vp8/default.aspx
- # [16:27] <AryehGregor> Feh, no details.
- # [16:27] <AryehGregor> Oh well.
- # [16:27] <gsnedders> We could just go down the road of not wanting to run the risk and just support H.264 on mobile.
- # [16:28] * Quits: tomasf (~tomasf@77.72.97.5.c.fiberdirekt.net) (Quit: tomasf)
- # [16:28] * tomasf_ is now known as tomasf
- # [16:30] <AryehGregor> If MS and Apple support WebM, then congrats, you'd no longer be web-compatible.
- # [16:31] * Joins: smaug____ (~chatzilla@cs181151161.pp.htv.fi)
- # [16:32] <erlehmann> AryehGregor, you are speculating. I bet two mozarella cheeseburgers with fried egg that in 6 months, neither Apple nor Microsoft will deliver a desktop or moible web browser supporting any of the following: Ogg. Vorbis, Theora, Matroska, VP8.
- # [16:32] <AryehGregor> erlehmann, I doubt this will take anywhere close to as short as six months. There are lawyers involved.
- # [16:32] <AryehGregor> I'd guess more like within three years.
- # [16:33] <erlehmann> 18 Months.
- # [16:33] <erlehmann> And four mozarella cheeseburgers.
- # [16:33] <AryehGregor> Eighteen months is possible, but I wouldn't bet on it.
- # [16:33] <erlehmann> See?
- # [16:33] <AryehGregor> I'd bet a modest sum on three years.
- # [16:33] <AryehGregor> Not cheeseburgers, though, they aren't kosher. In fact, I'm not even allowed to have any benefit from them. If you gave me one I'd have to throw it out.
- # [16:33] <erlehmann> Wat.
- # [16:34] <AryehGregor> Yus.
- # [16:34] <erlehmann> they don't mix milk and patties!
- # [16:34] <erlehmann> it is a fat blob of fried mozarella instead of meat.
- # [16:34] <erlehmann> in fact, i might just go out and get one.
- # [16:34] <erlehmann> now.
- # [16:34] <erlehmann> ha.
- # [16:35] <erlehmann> or write on some part of my blog engine.
- # [16:35] <erlehmann> hmm.
- # [16:35] <AryehGregor> Oh, that does sound appetizing.
- # [16:35] * Joins: astearns (~anonymous@c-50-132-63-33.hsd1.wa.comcast.net)
- # [16:36] * Quits: erlehmann (~erlehmann@82.113.121.205) (Quit: Ex-Chat)
- # [16:38] <jgraham> Fried mozarella?
- # [16:39] <jgraham> That sounds like a bad idea...
- # [16:40] <AryehGregor> It sounds extremely unhealthful, which makes it right up my alley.
- # [16:46] <jgraham> I was more concerned with the logistics of frying mozarella. It should melt!
- # [16:46] * Quits: Scorchin (u1242@gateway/web/irccloud.com/x-yjrnodipmlsadwjq) (Remote host closed the connection)
- # [16:46] * Quits: niftylettuce (u2733@gateway/web/irccloud.com/x-hezekwokclxpikjn) (Read error: Connection reset by peer)
- # [16:46] * Quits: beowulf (u116@pdpc/supporter/professional/beowulf) (Remote host closed the connection)
- # [16:46] * Quits: benschwarz (u2121@gateway/web/irccloud.com/x-ftmgmstwmxlddjvp) (Remote host closed the connection)
- # [16:46] * Quits: ryanseddon (u1832@gateway/web/irccloud.com/x-gtoccesrsfgfmoop) (Read error: Connection reset by peer)
- # [16:46] * Quits: krijn (u2319@gateway/web/irccloud.com/x-iqzzzakvphwdppeu) (Remote host closed the connection)
- # [16:46] * Quits: Phae (u455@gateway/web/irccloud.com/x-dunivqdljvgbdzyj) (Write error: Broken pipe)
- # [16:46] * Quits: matjas (u2247@gateway/web/irccloud.com/x-yuodnmyfolsesmhw) (Remote host closed the connection)
- # [16:46] * Quits: timeless (u4015@firefox/developer/timeless) (Remote host closed the connection)
- # [16:46] <jgraham> Also, this is the worst network I have ever been on
- # [16:47] * Joins: matjas (u2247@gateway/web/irccloud.com/x-sfxlolqwxqkzebiv)
- # [16:47] <annevk> Is that the Avatar hotel?
- # [16:47] * Joins: benschwarz (u2121@gateway/web/irccloud.com/x-kexsnpyikdqsddpa)
- # [16:47] <wilhelm> I've seen worse. But yes, this high speed broadband really isn't.
- # [16:47] <jgraham> No, Hotel Zico
- # [16:47] <jgraham> I have like 50% packet loss
- # [16:48] <annevk> How is the weather?
- # [16:48] * Joins: krijn (u2319@gateway/web/irccloud.com/x-hrqwuighiqloyqcm)
- # [16:48] <wilhelm> 12-20° and no clouds.
- # [16:50] * Joins: timeless (u4015@gateway/web/irccloud.com/x-tepdnlabtaoapytw)
- # [16:50] * Quits: timeless (u4015@gateway/web/irccloud.com/x-tepdnlabtaoapytw) (Changing host)
- # [16:50] * Joins: timeless (u4015@firefox/developer/timeless)
- # [16:50] * Joins: Scorchin (u1242@gateway/web/irccloud.com/x-cschtjjkkelbrikh)
- # [16:51] * Joins: Phae (u455@gateway/web/irccloud.com/x-noxpmcrfuthzvwmc)
- # [16:54] <annevk> not too bad
- # [16:55] * Quits: jdong_bo_ (~jdong_bot@118.186.129.191) (Read error: Operation timed out)
- # [16:58] * Quits: micheil (~micheil@195.24.233.121) (Read error: Connection reset by peer)
- # [16:58] * Joins: micheil_mbp (~micheil@195.24.233.121)
- # [17:00] <annevk> do you need to update ESTA each time you go to the US?
- # [17:00] <annevk> I guess I better do it just in case
- # [17:04] * Quits: micheil_mbp (~micheil@195.24.233.121) (Ping timeout: 258 seconds)
- # [17:05] * Quits: saba (~foo@unaffiliated/saba) (Ping timeout: 240 seconds)
- # [17:09] * Joins: erlehmann (~erlehmann@82.113.121.205)
- # [17:09] * Joins: bfrohs (~brandon@smtp.forewordinternal.com)
- # [17:12] * Joins: saba (~foo@unaffiliated/saba)
- # [17:12] * Parts: bfrohs (~brandon@smtp.forewordinternal.com)
- # [17:13] * Joins: mbatle (~mbatle@pasanda.collabora.co.uk)
- # [17:15] * Joins: niftylettuce (u2733@gateway/web/irccloud.com/x-hbmnxxhrarzxqmze)
- # [17:16] * Joins: ryanseddon (u1832@gateway/web/irccloud.com/x-qlbqgsxszsobfmbh)
- # [17:19] * Quits: Areks (~Areks@rs.gridnine.com) (Ping timeout: 240 seconds)
- # [17:21] * Joins: mbatle_ (~mbatle@201.230.223.58)
- # [17:23] * Joins: Areks (~Areks@rs.gridnine.com)
- # [17:25] * Joins: Telling (~unknown@80-71-135-15.u.parknet.dk)
- # [17:27] * Quits: Stikki (~lordstich@dsl-pribrasgw1-ff17c300-80.dhcp.inet.fi) (Ping timeout: 240 seconds)
- # [17:33] * Quits: zcorpan (~zcorpan@c-699de355.410-6-64736c14.cust.bredbandsbolaget.se) (Quit: zcorpan)
- # [17:33] * Joins: Stikki (~lordstich@dsl-pribrasgw1-ff17c300-80.dhcp.inet.fi)
- # [17:44] * Joins: rillian_ (~rillian@184.71.166.126)
- # [17:47] * Joins: scor (~scor@drupal.org/user/52142/view)
- # [17:47] * Quits: scor (~scor@drupal.org/user/52142/view) (Excess Flood)
- # [17:47] * ericc|away is now known as eric_carlson
- # [17:48] * dglazkov|away is now known as dglazkov
- # [17:48] <dglazkov> good morning, Whatwg!
- # [17:50] * janTeto is now known as hober
- # [17:50] <annevk> good afternoon, dglazkov!
- # [17:52] <dglazkov> I just realized that the Whatwg cabal is slowly converging upon the San Francisco Bay Area
- # [17:53] <annevk> terrorists with the intent of slowing down development of the web would do good striking next week
- # [17:53] <dglazkov> one can easily visualize the map with red arrows punching through the georgraphy, WW2 style
- # [17:53] <annevk> hehe
- # [17:53] * Joins: payman (~payman@pat.se.opera.com)
- # [17:56] * nunnun is now known as nunnun_away
- # [17:56] * nunnun_away is now known as nunnun
- # [17:58] * Quits: Areks (~Areks@rs.gridnine.com) (Ping timeout: 240 seconds)
- # [17:59] * Joins: rniwa (~rniwa@70-89-66-218-ca.sfba.hfc.comcastbusiness.net)
- # [18:01] * Quits: moo-_- (~quassel@herd37.twinapex.fi) (Remote host closed the connection)
- # [18:02] * Joins: bfrohs (~brandon@smtp.forewordinternal.com)
- # [18:04] * Quits: rniwa (~rniwa@70-89-66-218-ca.sfba.hfc.comcastbusiness.net) (Remote host closed the connection)
- # [18:04] * Joins: rniwa (~rniwa@216.239.45.130)
- # [18:06] <bfrohs> Is there any chance of the label element receiving :valid, :invalid, :required capabilities in CSS? Use cases: 1) Adding an asterisk or other symbol after the text in a label that uses the for attribute. 2) Targeting elements that come after a label with an input child (<p>Label <label><input></label> <small>Text</small></p>)
- # [18:08] <bfrohs> 3) Formatting the text in a label accordingly (e.g. different color or weight)
- # [18:08] * Quits: rtuin (~rtuin@213.125.175.250) (Quit: Leaving)
- # [18:09] * Joins: Maurice` (copyman@5ED573FA.cm-7-6b.dynamic.ziggo.nl)
- # [18:12] * Quits: gnarf (~gnarf@unaffiliated/gnarf) (Quit: ZNC - http://znc.sourceforge.net)
- # [18:12] * timeless wants to see that map
- # [18:13] * Joins: gnarf (~gnarf@unaffiliated/gnarf)
- # [18:13] * nunnun is now known as nunnun_away
- # [18:13] <annevk> bfrohs, I think the idea is to have a selector that allows selecting the associated label
- # [18:13] * Quits: rniwa (~rniwa@216.239.45.130) (Quit: rniwa)
- # [18:14] <dglazkov> timeless, jgraham should do it. He's already arrived, barely has any Internets -- perfect time for doodling.
- # [18:15] * Joins: beowulf (u116@pdpc/supporter/professional/beowulf)
- # [18:15] <bfrohs> annevk, that would be ideal. I guess I was just thinking that it would fall under the "can't have parent selectors" argument and would be easier to just set it on the label when setting it on the input.
- # [18:16] * heycam|away is now known as heycam
- # [18:17] <timeless> heh
- # [18:18] * Joins: Areks|2 (~Areks@176.14.214.163)
- # [18:19] * Quits: annevk (~annevk@5355737B.cm-6-6b.dynamic.ziggo.nl) (Remote host closed the connection)
- # [18:19] * Joins: annevk (~annevk@5355737B.cm-6-6b.dynamic.ziggo.nl)
- # [18:22] * Joins: J_Voracek (~J_Voracek@71.21.195.70)
- # [18:22] * Joins: scor (~scor@drupal.org/user/52142/view)
- # [18:22] * Quits: scor (~scor@drupal.org/user/52142/view) (Excess Flood)
- # [18:23] * Joins: agektmr (~Adium@p2156-ipbf5107marunouchi.tokyo.ocn.ne.jp)
- # [18:24] * Joins: scor (~scor@drupal.org/user/52142/view)
- # [18:24] * Quits: scor (~scor@drupal.org/user/52142/view) (Excess Flood)
- # [18:25] * Joins: Guest95000 (~scor@132.183.13.49)
- # [18:25] * Quits: Guest95000 (~scor@132.183.13.49) (Remote host closed the connection)
- # [18:26] * Joins: zcorpan (~zcorpan@c-699de355.410-6-64736c14.cust.bredbandsbolaget.se)
- # [18:34] * Joins: rniwa (~rniwa@67.218.104.9)
- # [18:36] * Quits: hober (~ted@unaffiliated/hober) (Remote host closed the connection)
- # [18:36] <TabAtkins> bfrohs: "?label /for/ :invalid"
- # [18:37] * Joins: hober2 (~ted@unaffiliated/hober)
- # [18:37] * TabAtkins likes combining together multiple crazy selectors.
- # [18:37] * hober2 is now known as hober
- # [18:38] <hober> TabAtkins majored in crazy selector combinatorics
- # [18:38] <TabAtkins> Well, it was a minor with honors.
- # [18:38] <hober> ahh, fair enough
- # [18:39] <bfrohs> TabAtkins: Yeah, that's the general idea. Those are just hypothetical though, right? Not used in any browser?
- # [18:39] * Joins: scor_ (~scor_@132.183.13.49)
- # [18:39] <TabAtkins> bfrohs: They exist only in spec right now. No implementations yet.
- # [18:39] * Quits: rniwa (~rniwa@67.218.104.9) (Remote host closed the connection)
- # [18:40] * Joins: rniwa (~rniwa@216.239.45.130)
- # [18:40] <bfrohs> TabAtkins: Have a link to said spec? So you guys can spend time on improving everything even more, instead of looking things up for me? ;)
- # [18:40] * Joins: kennyluck (~kennyluck@114-25-209-240.dynamic.hinet.net)
- # [18:40] <TabAtkins> http://dev.w3.org/csswg/selectors4
- # [18:40] <bfrohs> Thank ya much :)
- # [18:41] <TabAtkins> Specifically http://dev.w3.org/csswg/selectors4/#subject and http://dev.w3.org/csswg/selectors4/#idref-combinators
- # [18:41] * Joins: svl (~me@ip565744a7.direct-adsl.nl)
- # [18:41] * Joins: tndH (~Rob@cpc16-seac19-2-0-cust234.7-2.cable.virginmedia.com)
- # [18:43] * Quits: nonge (~nonge@p5082A085.dip.t-dialin.net) (Quit: Verlassend)
- # [18:43] * Quits: akamike (~akamike@94-193-106-14.zone7.bethere.co.uk) (Quit: akamike)
- # [18:43] * Joins: myakura_ (~myakura@FL1-203-136-164-250.tky.mesh.ad.jp)
- # [18:43] * Quits: myakura (~myakura@FL1-203-136-164-250.tky.mesh.ad.jp) (Read error: Connection reset by peer)
- # [18:44] * Joins: jarek (~jarek@unaffiliated/jarek)
- # [18:44] <TabAtkins> jgraham: You've never had a fried cheesestick before?
- # [18:45] <bfrohs> TabAtkins: http://dev.w3.org/csswg/selectors4/#subject -- Paragraph 3: "with or without the dollar sign" - should be "with or without the question mark", shouldn't it?
- # [18:45] <jgraham> TabAtkins: My arteries are clogging just thinking about it
- # [18:45] <TabAtkins> bfrohs: Yes, it was originally a dollar sign until we made fantasai change it.
- # [18:46] <TabAtkins> jgraham: Go to any low-budget italian place in america.
- # [18:46] <TabAtkins> Or a fair.
- # [18:46] <bfrohs> TabAtkins: Saving dollar sign for vars, perhaps? :)
- # [18:47] <TabAtkins> bfrohs: We *were*, but now we're shifting gears to a different design.
- # [18:51] * Joins: Druid_ (~Druid@p5B13660B.dip.t-dialin.net)
- # [18:52] * nunnun_away is now known as nunnun
- # [18:53] * Joins: ap (~ap@2620:149:4:1b01:1068:e7f9:f7d4:24b0)
- # [18:56] * Quits: J_Voracek (~J_Voracek@71.21.195.70) (Quit: disconnected: Jace Voracek - Jace@Jace-Place.com)
- # [18:57] * dglazkov is now known as dglazkov|away
- # [18:58] * Joins: Rik`_ (~Rik`@lag75-1-78-192-241-87.fbxo.proxad.net)
- # [18:59] * Quits: Rik` (~Rik`@lag75-1-78-192-241-87.fbxo.proxad.net) (Ping timeout: 240 seconds)
- # [19:00] <zcorpan> so uh, where's the webm video on bing's front page?
- # [19:00] * Quits: ap (~ap@2620:149:4:1b01:1068:e7f9:f7d4:24b0) (Quit: ap)
- # [19:01] <hsivonen> zcorpan: in Firefox--not in Opera :-(
- # [19:02] * Joins: arun_ (~arun@rrcs-208-125-28-148.nyc.biz.rr.com)
- # [19:02] * Quits: rniwa (~rniwa@216.239.45.130) (Ping timeout: 260 seconds)
- # [19:02] * Joins: rniwa (rniwa@nat/google/x-vinmfztvkwymdfxm)
- # [19:03] <zcorpan> i don't see it in firefox either
- # [19:05] * Joins: ap (~ap@2620:149:4:1b01:81f3:d433:8e0b:1b12)
- # [19:07] <hsivonen> zcorpan: do you see a woodpecker on the front page?
- # [19:07] <hsivonen> zcorpan: do you have an en-US version of Firefox?
- # [19:08] * nunnun is now known as nunnun_away
- # [19:08] <hsivonen> zcorpan: having you chosen United States as your Bing locale?
- # [19:08] <hsivonen> s/having/have/
- # [19:10] <hsivonen> it seems you need to choose United States to see a woodpecker
- # [19:10] <hsivonen> and then Opera gets a still woodpecker and Firefox gets a video of a woodpecker
- # [19:10] * Quits: tmzt (~tmzt@adsl-99-164-32-5.dsl.akrnoh.sbcglobal.net) (Remote host closed the connection)
- # [19:11] <zewt> it's pining for the fjords
- # [19:13] * Joins: dave_levin (dave_levin@nat/google/x-wynajpdpljsrxiyb)
- # [19:14] * Quits: karlcow (~karl@nerval.la-grange.net) (Quit: Freedom - to walk free and own no superior.)
- # [19:15] <zcorpan> hsivonen: needed to change the bing locale to US
- # [19:15] <zcorpan> hsivonen: i can mask as firefox in opera to get the video
- # [19:17] * Quits: myakura_ (~myakura@FL1-203-136-164-250.tky.mesh.ad.jp) (Remote host closed the connection)
- # [19:20] <zcorpan> hmm the bing home page used a lot of cpu for me (in both firefox and opera)
- # [19:20] * Quits: jarek (~jarek@unaffiliated/jarek) (Ping timeout: 260 seconds)
- # [19:20] * Joins: jarek- (~jarek@awf251.neoplus.adsl.tpnet.pl)
- # [19:24] * Quits: mpt (mpt@canonical/mpt) (Ping timeout: 258 seconds)
- # [19:24] * Rik`_ is now known as Rik`
- # [19:25] * Quits: jarek- (~jarek@awf251.neoplus.adsl.tpnet.pl) (Client Quit)
- # [19:25] * Joins: jarek (~jarek@unaffiliated/jarek)
- # [19:27] * Joins: KillerX (~anant@nat/mozilla/x-ebxywpleyjfbwpwg)
- # [19:28] * Quits: erlehmann (~erlehmann@82.113.121.205) (Quit: Ex-Chat)
- # [19:28] * Joins: erlehmann (~erlehmann@82.113.121.205)
- # [19:29] * Quits: rniwa (rniwa@nat/google/x-vinmfztvkwymdfxm) (Quit: rniwa)
- # [19:33] <bfrohs> TabAtkins: Just realized that the code you gave me ("?label /for/ :invalid") won't work for use case #2: Targeting elements that come after a label with an input child (<p>Label <label><input></label> <small>Text</small></p>)
- # [19:34] <TabAtkins> bfrohs: Correct. This is why I don't like the subject indicator very much. It would be better to use :has().
- # [19:34] <TabAtkins> bfrohs: "label:has( :scope /for/ :invalid ) + small
- # [19:34] <TabAtkins> Alternately, use Hierarchies to get the same functionality (this is silly, though):
- # [19:34] <zcorpan> can:has(cheezeburger)
- # [19:35] <TabAtkins> "?label /for/ :invalid { & + small { <properties go here> } }
- # [19:35] <bfrohs> But won't both :has and nesting with subject specified lead to parent relationships that vendors have said no to for years due to performance issues?
- # [19:36] <TabAtkins> The subject indicator all by itself leads to those problems.
- # [19:36] <TabAtkins> But yes. We're trying to push on it to see if they're usable in practice these days.
- # [19:36] <bfrohs> Well, to an extent, but it isn't in a loop
- # [19:37] <bfrohs> Once you add nesting (and force them to use the subject, rather than the normal hierarchy), or add :has(), it will have a loop that will cause *more* of an issue.
- # [19:37] <bfrohs> I think that's been the main reason behind it (but only one deep isn't as bad).
- # [19:38] * Joins: _pdr__ (anonymous@nat/google/x-zhrydalftjxuderb)
- # [19:38] <bfrohs> Whereas if :invalid and all of that was also available to label, this could be avoided
- # [19:38] <bfrohs> I think it would be an easier idea for vendors to accept, but I could be wrong.
- # [19:38] * Joins: rniwa (rniwa@nat/google/x-fnsfoitoyxkvbgiz)
- # [19:40] * Quits: miketaylr (~miketaylr@206.217.92.186) (Quit: miketaylr)
- # [19:40] <mbatle_> anybody knows if any browser is implementing mediagroup property in media elements ?
- # [19:41] * Joins: mpt (mpt@conference/ubuntudevelopersummit/x-jzhtcmbalzfbohcz)
- # [19:41] * Quits: mpt (mpt@conference/ubuntudevelopersummit/x-jzhtcmbalzfbohcz) (Changing host)
- # [19:41] * Joins: mpt (mpt@canonical/mpt)
- # [19:53] * Joins: ezoe (~ezoe@61-205-124-164f1.kyt1.eonet.ne.jp)
- # [19:55] * Quits: mpt (mpt@canonical/mpt) (Read error: No route to host)
- # [20:03] * Joins: jarek- (~jarek@bcy45.neoplus.adsl.tpnet.pl)
- # [20:04] * Quits: jarek (~jarek@unaffiliated/jarek) (Ping timeout: 276 seconds)
- # [20:04] * Joins: mpt (mpt@canonical/mpt)
- # [20:05] * Joins: miketaylr (~miketaylr@206.217.92.186)
- # [20:05] * slightlyoff_afk is now known as slightlyoff
- # [20:09] <AryehGregor> jgraham, proposed testharness patch for review: http://pastebin.com/1MLYd24H
- # [20:10] * Joins: dglazkov (u4270@gateway/web/irccloud.com/x-msbvcejckvkudimf)
- # [20:10] <AryehGregor> Currently the specs say RangeException shouldn't exist, and there are new exception types added to DOMException that browsers don't implement yet, so the preexisting code was incorrect.
- # [20:11] <AryehGregor> E.g., if INVALID_NODE_TYPE_ERR is supported on DOMException, then assert_throws("INVALID_NODE_TYPE_ERR", ...) will expect that, but if it's not, it will expect a RangeException.
- # [20:12] <AryehGregor> This means that Gecko incorrectly passes many tests in http://w3c-test.org/webapps/DOMCore/tests/submissions/Ms2ger/Range-selectNode.html that WebKit fails, because WebKit implements the new INVALID_NODE_TYPE_ERR.
- # [20:12] <hsivonen> I probably should have saved a pre-HTML5 parser WebKit-based browser somewhere...
- # [20:12] <AryehGregor> Why?
- # [20:13] <hsivonen> I wonder if Android has an outdated WebKit
- # [20:13] <hsivonen> AryehGregor: for testing
- # [20:13] <AryehGregor> Why would you want to test browsers that have rapidly become so obscure?
- # [20:14] <AryehGregor> Chrome that old is massively irrelevant, and Safari/other WebKit that old must have tiny market share by now.
- # [20:14] <hsivonen> AryehGregor: to figure out if we changed something in HTML5
- # [20:15] <hsivonen> turns out that WebKit in Android 3.1 is too fresh. (I'm surprised. The Android stock browser has a reputation of being behind the times.)
- # [20:15] * Quits: othermaciej (~mjs@c-24-6-209-189.hsd1.ca.comcast.net) (Quit: othermaciej)
- # [20:16] <AryehGregor> Is othermaciej on vacation or something? I haven't seen him say anything for a long time now.
- # [20:16] <AryehGregor> Oh, he talked yesterday.
- # [20:16] <AryehGregor> Okay, so he still exists.
- # [20:16] * Joins: Bass10 (~Bass10@c-76-113-194-7.hsd1.mn.comcast.net)
- # [20:17] * Quits: ryanseddon (u1832@gateway/web/irccloud.com/x-qlbqgsxszsobfmbh) (Remote host closed the connection)
- # [20:17] * Quits: slightlyoff (u1768@gateway/web/irccloud.com/x-zgkucfuqtkxyikfq) (Remote host closed the connection)
- # [20:17] * Quits: beowulf (u116@pdpc/supporter/professional/beowulf) (Remote host closed the connection)
- # [20:17] * Quits: krijn (u2319@gateway/web/irccloud.com/x-hrqwuighiqloyqcm) (Remote host closed the connection)
- # [20:17] * Quits: timeless (u4015@firefox/developer/timeless) (Remote host closed the connection)
- # [20:17] * Quits: lensco (u4054@gateway/web/irccloud.com/x-xjglwytwwyimjqhs) (Remote host closed the connection)
- # [20:17] * Quits: niftylettuce (u2733@gateway/web/irccloud.com/x-hbmnxxhrarzxqmze) (Remote host closed the connection)
- # [20:17] * Quits: bobylito (u3929@gateway/web/irccloud.com/x-dzdzvodebrztadtn) (Remote host closed the connection)
- # [20:17] * Quits: boblet (u1921@gateway/web/irccloud.com/x-lgubuxknftcyzvgx) (Remote host closed the connection)
- # [20:17] * Quits: romainhuet (u2533@gateway/web/irccloud.com/x-vjvooqkkourkgoot) (Remote host closed the connection)
- # [20:17] * Quits: benschwarz (u2121@gateway/web/irccloud.com/x-kexsnpyikdqsddpa) (Remote host closed the connection)
- # [20:17] * Quits: matijsb (u2278@gateway/web/irccloud.com/x-baodfgwzncecttrr) (Remote host closed the connection)
- # [20:17] * Quits: Scorchin (u1242@gateway/web/irccloud.com/x-cschtjjkkelbrikh) (Remote host closed the connection)
- # [20:17] * Quits: matjas (u2247@gateway/web/irccloud.com/x-sfxlolqwxqkzebiv) (Remote host closed the connection)
- # [20:17] * Quits: dglazkov (u4270@gateway/web/irccloud.com/x-msbvcejckvkudimf) (Remote host closed the connection)
- # [20:17] * Quits: jarek- (~jarek@bcy45.neoplus.adsl.tpnet.pl) (Ping timeout: 260 seconds)
- # [20:17] * Quits: Phae (u455@gateway/web/irccloud.com/x-noxpmcrfuthzvwmc) (Remote host closed the connection)
- # [20:18] * Quits: Bass10 (~Bass10@c-76-113-194-7.hsd1.mn.comcast.net) (Max SendQ exceeded)
- # [20:18] * Joins: ryanseddon (u1832@gateway/web/irccloud.com/x-drhspoccwmmtmupy)
- # [20:20] * Joins: romainhuet (u2533@gateway/web/irccloud.com/x-xpmpiffqtgfqnula)
- # [20:20] * Joins: krijn (u2319@gateway/web/irccloud.com/x-eozwqqunbeibmoak)
- # [20:20] <smaug____> hsivonen: are you still trying to test document.close() handling
- # [20:20] * Quits: FlorianX (~Florian_S@p4FE2DAB0.dip.t-dialin.net) (Quit: Leaving.)
- # [20:21] <smaug____> hsivonen: and sorry, I was offline for some time. What was the reason to append EOF and not insert it?
- # [20:21] * Joins: boblet (u1921@gateway/web/irccloud.com/x-rulctkfqxzwpsbyh)
- # [20:22] * Joins: benschwarz (u2121@gateway/web/irccloud.com/x-lboyvtnpcnvatihw)
- # [20:22] <hsivonen> smaug____: I'm testing my reimplementation of the buffer queue management at this point. I think the code I have for document.close() doesn't need more testing today
- # [20:22] <hsivonen> smaug____: the reason for appending is that you can do:
- # [20:22] <hsivonen> doc.open();
- # [20:22] <hsivonen> doc.write("<script src=whatever.js></script>);
- # [20:22] * Joins: MikeSmith (~MikeSmith@204.239.250.1)
- # [20:22] <hsivonen> doc.write("something else");
- # [20:23] <hsivonen> doc.close();
- # [20:23] * Joins: matijsb (u2278@gateway/web/irccloud.com/x-xdrsctyrpgrychgb)
- # [20:23] <hsivonen> and have "something else" appear in the document
- # [20:23] * Joins: lensco (u4054@gateway/web/irccloud.com/x-obwypwbjasupprtz)
- # [20:24] <smaug____> well, I would assume doc.write("<script src=whatever.js></script>); would insert something to stream and keep the stream "open" until the script is executed. After that "Something else" would be inserted
- # [20:24] <smaug____> and then doc.close
- # [20:24] * Joins: Phae (u455@gateway/web/irccloud.com/x-brngijapodxfsjum)
- # [20:24] <smaug____> since that is the order of insertion
- # [20:24] * Quits: agektmr (~Adium@p2156-ipbf5107marunouchi.tokyo.ocn.ne.jp) (Quit: Leaving.)
- # [20:25] * Joins: matjas (u2247@gateway/web/irccloud.com/x-fbcjhlmqiykctgbw)
- # [20:25] <hsivonen> smaug____: okay, better example: assume the doc.write("something else"); statement is in whatever.js instead
- # [20:26] <smaug____> and ?
- # [20:26] * Joins: Scorchin (u1242@gateway/web/irccloud.com/x-mibstvcnxksjlleb)
- # [20:26] <smaug____> that would insert "something else".
- # [20:26] <hsivonen> smaug____: in that case, document.write("something else"); executes after document.close();, but you still want "something else" to appear in the document
- # [20:27] <smaug____> right
- # [20:27] <smaug____> but that document.write() would insert something to be before the EOF
- # [20:27] <hsivonen> smaug____: yes
- # [20:28] <smaug____> so that would work just fine
- # [20:28] * Joins: dglazkov (u4270@gateway/web/irccloud.com/x-lfbsjtxdizaenewl)
- # [20:28] <hsivonen> smaug____: oh, you meant why document.close() appends when called from a nested script
- # [20:28] <smaug____> well, in any case
- # [20:28] <hsivonen> smaug____: I'm going to go with "that's the way document.close() works"
- # [20:28] <smaug____> why it doesn't insert EOF but appends
- # [20:29] <smaug____> hsivonen: ok
- # [20:30] <smaug____> hsivonen: do you know if this behavior was actually defined based on how browsers behave
- # [20:30] <hsivonen> smaug____: I don't recall anymore
- # [20:30] <smaug____> k
- # [20:30] <hsivonen> let's see what my clashtest does in Firefox 3.5
- # [20:31] * Joins: niftylettuce (u2733@gateway/web/irccloud.com/x-nkfjcvkldltqrqxo)
- # [20:31] <smaug____> would be interesting to know what IE6-8 do
- # [20:31] <hsivonen> smaug____: HTML5 specs old Firefox-style document.write()
- # [20:31] <hsivonen> IE8 was different
- # [20:31] <smaug____> hsivonen: but this is about document.close, not document.write ;)
- # [20:32] * Joins: TabAtkins_ (tabatkins@nat/google/x-jthwtdpqufqscuzp)
- # [20:33] * Joins: cpearce (~chatzilla@ip-118-90-78-13.xdsl.xnet.co.nz)
- # [20:33] <hsivonen> AryehGregor: see this is what old browsers are kept around for
- # [20:33] * Quits: dglazkov|away (dglazkov@nat/google/x-nclhrxgchkijmfws) (Quit: dglazkov|away)
- # [20:34] <hsivonen> smaug____: IE8 hangs
- # [20:34] <hsivonen> w00t. I have discovered two ways to hang IE8 today
- # [20:34] <hsivonen> smaug____: Firefox 3.5 behaves like HTML5 says
- # [20:35] * Quits: yutak (~yutak@2401:fa00:4:1000:baac:6fff:fe99:adfb) (Ping timeout: 244 seconds)
- # [20:35] * Joins: timeless (u4015@gateway/web/irccloud.com/x-eqmprffaqhwssxkl)
- # [20:35] * Quits: timeless (u4015@gateway/web/irccloud.com/x-eqmprffaqhwssxkl) (Changing host)
- # [20:35] * Joins: timeless (u4015@firefox/developer/timeless)
- # [20:36] * Joins: beowulf (u116@pdpc/supporter/professional/beowulf)
- # [20:37] * Parts: bfrohs (~brandon@smtp.forewordinternal.com)
- # [20:37] * Quits: TabAtkins_ (tabatkins@nat/google/x-jthwtdpqufqscuzp) (Ping timeout: 258 seconds)
- # [20:38] <smaug____> that doesn't mean I like what the spec defines
- # [20:38] * Joins: TabAtkins_ (tabatkins@nat/google/x-pobahtpviwytvgxd)
- # [20:38] <hsivonen> smaug____: would it be possible to define document.write and document.close in a likeable way?
- # [20:39] <smaug____> document.close could insert EOF
- # [20:39] <smaug____> not append
- # [20:39] <smaug____> but, again, I'm not very familiar with parsing, so perhaps there is some reason for the current behavior
- # [20:39] <hsivonen> smaug____: I'd rather rock the boat based on aesthetics and stick to something that's known to be successful on the Web
- # [20:40] <smaug____> it is strange that some data can be inserted to document after document.close()
- # [20:40] <smaug____> hsivonen: yeah, I guess I don't care too much
- # [20:40] <hsivonen> I'd rather *not* rock the boat
- # [20:41] <hsivonen> smaug____: the possibility of calling document.write() on a document.open()ed doc from scripts that are neither the one that called open() nor scripts that are in the open()ed doc bothers me more
- # [20:41] <hsivonen> smaug____: particularly that those other scripts can run from nested event loops
- # [20:43] <AryehGregor> TabAtkins, does something define how to determine the actual value for numeric markers? E.g., saying what number to display if you have <ol><li style=display:none>abc<li>def</ol>, or style=list-style:none, or whatever?
- # [20:44] <AryehGregor> It seems changing the display causes it to be skipped, at least in Gecko and WebKit, but I didn't see that in a glance at the spec.
- # [20:47] * Joins: bga_ (~bga@95-55-14-201.dynamic.avangarddsl.ru)
- # [20:48] <hober> AryehGregor: yes, that's in the lists module; let me try to find the spot
- # [20:49] <TabAtkins_> AryehGregor: Yes, 2.1 defines that.
- # [20:49] <hober> AryehGregor: http://dev.w3.org/csswg/css3-lists/#declaring-a-list-item
- # [20:50] <hober> AryehGregor: "To declare a list item, the 'display' property must be set to 'list-item' or 'inline-list-item' (defined later in this section). This, in addition to generating a ::marker pseudo-element and enabling the properties described below for that element, causes that element to increment the list item counter 'list-item'."
- # [20:50] <AryehGregor> Ah, I see.
- # [20:50] <AryehGregor> Thanks.
- # [20:50] * Quits: ezoe (~ezoe@61-205-124-164f1.kyt1.eonet.ne.jp) (Read error: Connection reset by peer)
- # [20:50] * AryehGregor was looking at the TR -- of course -- but it says the same thing
- # [20:51] * Joins: ezoe (~ezoe@61-205-124-164f1.kyt1.eonet.ne.jp)
- # [20:51] * Quits: KillerX (~anant@nat/mozilla/x-ebxywpleyjfbwpwg) (Quit: KillerX)
- # [20:53] <TabAtkins_> AryehGregor: I intend to work on fixing 'display', such that the special behavior of "list-item" can be triggered independently of the layout.
- # [20:54] <AryehGregor> Yes, that would be awesome.
- # [20:54] <TabAtkins_> Since "list-item" is really just "block with magic"
- # [20:54] * Joins: KillerX (~anant@nat/mozilla/x-kqjkfvryemhaiqxc)
- # [20:54] <AryehGregor> Things like inline-block really need to die.
- # [20:55] <hober> well, display-inside and display-outside need to happen
- # [20:55] <TabAtkins_> Yup.
- # [20:55] * Quits: Stikki (~lordstich@dsl-pribrasgw1-ff17c300-80.dhcp.inet.fi) (Ping timeout: 240 seconds)
- # [20:55] <AryehGregor> While we're talking about CSS, can someone explain to me why there's an extra line break after the steps with comments here in Gecko but not WebKit? http://dvcs.w3.org/hg/editing/raw-file/tip/editing.html#methods-to-query-and-execute-commands
- # [20:56] <AryehGregor> Like after steps 3 and 4 at the top there.
- # [20:56] <AryehGregor> I remember I tried to figure it out once before and gave up.
- # [20:57] <TabAtkins_> AryehGregor: It's because the exact treatment of the (currently implicit) ::marker is undefined.
- # [20:57] <AryehGregor> Oh.
- # [20:57] <AryehGregor> Great.
- # [20:58] <TabAtkins_> Firefox treats it as an inline element, which creates a linebox, and forces the block (<div> element) below it.
- # [20:58] * Joins: _salavas (~salavas@c83-248-102-83.bredband.comhem.se)
- # [20:58] <TabAtkins_> (The behavior now defined in Lists matches Chrome here. More propertly, it's almost exactly IE's behavior, which is the sanest of anyone.)
- # [20:58] * Quits: salavas (~salavas@c83-248-102-83.bredband.comhem.se) (Ping timeout: 276 seconds)
- # [20:58] * _salavas is now known as salavas
- # [20:59] * Quits: tndH (~Rob@cpc16-seac19-2-0-cust234.7-2.cable.virginmedia.com) (Remote host closed the connection)
- # [20:59] <AryehGregor> I can't seem to easily come up with a minimal test-case, though.
- # [20:59] <TabAtkins_> I came up with plenty during testing. One sec.
- # [20:59] <AryehGregor> Also, IIRC, IE displayed them like Gecko.
- # [21:01] * Joins: Stikki (~lordstich@dsl-pribrasgw1-ff17c300-80.dhcp.inet.fi)
- # [21:01] <jgraham> Hmm, I wonder what the lowest-hanging fruit is in terms of untested stuff in HTML5
- # [21:02] <jgraham> And by "untested" I mean "wihout a test in the offical repo"
- # [21:03] * Quits: saba (~foo@unaffiliated/saba) (Quit: leaving)
- # [21:04] <AryehGregor> jgraham, good grief, practically nothing is tested. Just start at page one.
- # [21:04] <jgraham> AryehGregor: Yeah, I know :)
- # [21:05] <jgraham> I just want something that is both stupidly simple and useful
- # [21:05] <jgraham> It is the "simple" part that is difficult
- # [21:05] * Quits: zcorpan (~zcorpan@c-699de355.410-6-64736c14.cust.bredbandsbolaget.se) (Quit: zcorpan)
- # [21:05] <jgraham> "useful" can be determined by sticking a pin in the spec at random and assuming there are no tests
- # [21:07] <TabAtkins_> Hm, I'm having trouble reducing a testcase too. >_<
- # [21:07] * Joins: ojan (ojan@nat/google/x-zrxujduwzckilvfy)
- # [21:07] * Joins: bobylito (u3929@gateway/web/irccloud.com/x-ipdzxrjkqyrjksnj)
- # [21:08] <TabAtkins_> Oh man, Firefox has a native inspector now!
- # [21:08] <TabAtkins_> It's not very good yet, but still.
- # [21:09] <gsnedders> jgraham: Do you mean simple as in to test the whole feature?
- # [21:09] <AryehGregor> It's had one for a while.
- # [21:10] <AryehGregor> jgraham, I don't know why you use the word "assume" there.
- # [21:12] <smaug____> strange that in Gecko and Presto <a> can be used in place of <area>. Don't know about old IEs
- # [21:13] <jgraham> gsnedders: Not really
- # [21:14] <jgraham> Alhough if that was possible it would be double plus good
- # [21:14] <smaug____> oh, cvs commit says this is because of HTML4 ...
- # [21:15] <smaug____> or no
- # [21:15] * Joins: moo-_- (~quassel@herd37.twinapex.fi)
- # [21:16] <timeless> smaug____: i presume you're going to tpac?
- # [21:17] <smaug____> I'm not
- # [21:18] <timeless> aww
- # [21:18] <jgraham> timeless: No need to assume; http://www.w3.org/2002/09/wbs/35125/TPAC2011/registrants
- # [21:19] <AryehGregor> TabAtkins_, okay, so sometimes refreshing the exact same document repeatedly in Gecko will change whether the effect occurs.
- # [21:19] <timeless> jgraham: i don't suppose there's a ?groupby=sponsor
- # [21:20] <jgraham> timeless: Not that I know of
- # [21:20] <AryehGregor> TabAtkins_, I strongly suspect that in the case of my page, it's a timing issue, because the floated buttons are created by script.
- # [21:20] * Joins: dbaron (~dbaron@nat/mozilla/x-szcqoxnsceeohgnq)
- # [21:20] <smaug____> oh, Gecko and Presto do actually work per HTML4 spec
- # [21:20] <timeless> > Virginie GALINDO <virginie.galindo@gemalto.com> () : attending Thursday, Friday
- # [21:20] <timeless> is interesting, how did that person end up w/o content in ()?
- # [21:20] <AryehGregor> If they're created fast enough, it seems to be fine.
- # [21:20] <smaug____> I wonder how support for <a> got removed from HTML spec
- # [21:21] <AryehGregor> Including if they're in the original DOM.
- # [21:23] <timeless> AryehGregor: hey, i'm looking for someone @google who can pass along a bug report about gmm
- # [21:23] <AryehGregor> timeless, I'm not @google.
- # [21:23] <AryehGregor> In any meaningful sense, other than that they give me money occasionally.
- # [21:23] <timeless> i'm open to suggestions :)
- # [21:24] <timeless> oh, TabAtkins ?
- # [21:24] * timeless pokes
- # [21:24] * Joins: jacobolus (~jacobolus@c-71-198-169-213.hsd1.ca.comcast.net)
- # [21:26] <AryehGregor> TabAtkins_, got it! http://software.hixie.ch/utilities/js/live-dom-viewer/saved/1237
- # [21:27] <AryehGregor> It seems like it reserves space for the thing and then doesn't reflow properly when it moves.
- # [21:30] <AryehGregor> That's why it was so hard to track down.
- # [21:30] <smaug____> Hixie: do you remember the reason why HTML spec removes coords and shape from <a> element, and also removes support for <a> inside <map> ?
- # [21:30] <wilhelm> Agenda for the testing meeting tomorrow: http://lists.w3.org/Archives/Public/public-test-infra/2011OctDec/0014.html
- # [21:34] <AryehGregor> Ooh. Now it doesn't reproduce properly anymore.
- # [21:34] <AryehGregor> Of course.
- # [21:35] <AryehGregor> . . .
- # [21:35] * AryehGregor doesn't know what to do now
- # [21:35] <AryehGregor> It repros consistently in Live DOM Viewer, but not in a data URL.
- # [21:36] <Hixie> smaug____: only firefox implemented it
- # [21:36] <smaug____> also Opera
- # [21:37] * Quits: Stikki (~lordstich@dsl-pribrasgw1-ff17c300-80.dhcp.inet.fi) (Read error: Operation timed out)
- # [21:37] <Hixie> and nobody used it
- # [21:37] <smaug____> that is possible
- # [21:37] <smaug____> I'm trying to decide whether to remove support for it
- # [21:37] <Hixie> i vote yes :-)
- # [21:38] <AryehGregor> Oooh, I think I see.
- # [21:38] <smaug____> but it was basically random removal based on that IE didn't support it
- # [21:38] <AryehGregor> It must be something to do with margins.
- # [21:38] <smaug____> but yeah, I think it should be ok to remove it
- # [21:38] <Hixie> smaug____: it's not a compelling feature, very few people use it, and the feature it's a part of (image maps) is itself not a compelling feature
- # [21:38] <Hixie> smaug____: but it has a non-trivial level of complexity
- # [21:38] <AryehGregor> Well, it should still not be dependent on how the DOM was created.
- # [21:38] <Hixie> smaug____: so imho it's a good candidate for removal
- # [21:39] <Hixie> smaug____: we don't get many :-(
- # [21:39] <smaug____> yup
- # [21:39] <smaug____> I think I'll add a warning that the feature is deprecated
- # [21:39] * Joins: _bga (~bga@ppp91-122-181-99.pppoe.avangarddsl.ru)
- # [21:39] <smaug____> and remove it later
- # [21:39] <Hixie> seems reasonable
- # [21:39] <Hixie> does mozilla have any way of instrumenting how often a warning triggers?
- # [21:40] <smaug____> I could add a telemetry probe
- # [21:40] <smaug____> but telemetry is opt-in
- # [21:40] * Quits: bga_ (~bga@95-55-14-201.dynamic.avangarddsl.ru) (Ping timeout: 255 seconds)
- # [21:40] <smaug____> ofc
- # [21:40] <Hixie> btw when i was doing research on this i found it was used extremely rarely in image maps, but that a number of authoring tools would put the attributes on <a> with their default values
- # [21:40] <Hixie> so you might see an elevated number of <a shape="rect" coords=""> elements despite them not being part of actual image maps
- # [21:41] <smaug____> right
- # [21:41] <Hixie> which is to say, if you do set up telemetry, i'd make sure to distinguish <a>s actually used in image maps from those just with those attributes for no good reaosn
- # [21:41] * Quits: roc (~chatzilla@121.98.230.221) (Ping timeout: 240 seconds)
- # [21:42] <Hixie> hsivonen: yt?
- # [21:42] * Joins: Stikki (~lordstich@dsl-pribrasgw1-ff17c300-80.dhcp.inet.fi)
- # [21:42] <Hixie> hsivonen: re defining the term "xhtml document", an alternative is for me to drop all usage of the term. Would that be acceptable, or do you prefer a definition?
- # [21:43] <Hixie> hsivonen: if the latter, do you want it to refer to the byte stream, or to the DOM structure?
- # [21:44] * Joins: jwalden (~waldo@2620:101:8003:200:224:d7ff:fef0:8d90)
- # [21:46] * Quits: MikeSmith (~MikeSmith@204.239.250.1) (Quit: MikeSmith)
- # [21:48] <Hixie> annevk: i think we may have to seriously consider renaming the terms "html document" and "xml document" so that they don't get confused with references to text/html documents and text/html documents.
- # [21:50] * Quits: KillerX (~anant@nat/mozilla/x-kqjkfvryemhaiqxc) (Quit: KillerX)
- # [21:51] <AryehGregor> Okay, can other people reproduce my minimal test-case here with various Firefox versions, or am I just insane? https://bugzilla.mozilla.org/show_bug.cgi?id=697793
- # [21:52] <AryehGregor> annevk, does anything still throw a WRONG_DOCUMENT_ERR, or should it be marked historical?
- # [21:53] * Quits: leaverou (~leaverou@77.49.88.164.dsl.dyn.forthnet.gr) (Ping timeout: 245 seconds)
- # [21:53] * Joins: KillerX (~anant@nat/mozilla/x-dfnkqpebompfbwnm)
- # [21:54] * Joins: leaverou (~leaverou@46.12.123.203.dsl.dyn.forthnet.gr)
- # [21:55] <AryehGregor> annevk, filed a bug: http://www.w3.org/Bugs/Public/show_bug.cgi?id=14576
- # [21:58] * Quits: arun_ (~arun@rrcs-208-125-28-148.nyc.biz.rr.com) (Quit: arun_)
- # [22:06] * Quits: GlitchMr (~glitchmr@77-254-101-154.adsl.inetia.pl) (Read error: Connection reset by peer)
- # [22:07] * Joins: othermaciej (~mjs@17.245.90.6)
- # [22:09] <smaug____> AryehGregor: Gecko seems to use that still in Range code
- # [22:09] <AryehGregor> smaug____, the spec says it shouldn't, though, AFAIK. Where does it use it?
- # [22:09] <AryehGregor> Generally we prefer to silently adopt the node.
- # [22:09] <AryehGregor> It's friendlier.
- # [22:10] <smaug____> AryehGregor: http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-range-ispointinrange
- # [22:10] * Joins: roc (~chatzilla@60.234.54.74)
- # [22:10] <smaug____> "WrongDocumentError"
- # [22:10] <AryehGregor> Aha.
- # [22:10] <AryehGregor> I was searching for the wrong string.
- # [22:10] <AryehGregor> Duh.
- # [22:10] <AryehGregor> Thanks.
- # [22:10] <smaug____> and that is, IMO, a valid use case
- # [22:11] <AryehGregor> It actually seems friendlier to just return false in that case, IMO.
- # [22:11] <AryehGregor> But it's reasonable, yeah.
- # [22:11] <AryehGregor> (I mean, if it's in a different tree, it's not in the range, right?)
- # [22:13] <smaug____> but it is not quite outside the range either
- # [22:13] * Quits: cpearce (~chatzilla@ip-118-90-78-13.xdsl.xnet.co.nz) (Ping timeout: 240 seconds)
- # [22:13] <smaug____> it is just invalid state for the parameter or something
- # [22:14] <smaug____> so a case when throwing is ok
- # [22:14] <smaug____> though, I guess specs aren't consistent
- # [22:14] <smaug____> node.contains() doesn't throw
- # [22:14] <AryehGregor> If I were writing it from scratch, I'd return false. Seems less surprising. But it's okay as-is, if that's what browsers do.
- # [22:15] <AryehGregor> I didn't write or test that method, so I dunno.
- # [22:17] <hsivonen> Hixie: I think it's good to have a definion for an XHTML document, because we've spent years saying that HTML5 has an XML flavor called XHTML5
- # [22:17] <AryehGregor> smaug____, data:text/html,<!doctype html><script>try {document.createRange().isPointInRange(document.createElement("a"), 0); throw "No exception"} catch(e) {alert(e)}</script> alerts "No exception" for me in both Gecko and WebKit.
- # [22:17] <Hixie> hsivonen: see the bug, i checked in some changes
- # [22:21] * Quits: Timz (~Adium@86.89.174.199) (Quit: Leaving.)
- # [22:23] <smaug____> AryehGregor: oh, indeed
- # [22:23] <smaug____> AryehGregor: but comparePoints throws in Gecko
- # [22:24] <AryehGregor> That makes sense.
- # [22:24] <AryehGregor> There's no sensible return value for that case.
- # [22:27] <AryehGregor> Oh, I think I found an infinite loop in my spec.
- # [22:27] <TabAtkins_> AryehGregor: I suspect it's a stale painting bug, then.
- # [22:27] <AryehGregor> Yippee!
- # [22:27] <Hixie> don't you hate that
- # [22:28] * Joins: tndH (~Rob@cpc16-seac19-2-0-cust234.7-2.cable.virginmedia.com)
- # [22:28] * Quits: KillerX (~anant@nat/mozilla/x-dfnkqpebompfbwnm) (Quit: KillerX)
- # [22:29] * Joins: KillerX (~anant@nat/mozilla/x-wrcvogrxzbhzppfr)
- # [22:30] <annevk> Hixie, we could have a "HTMLness flag"
- # [22:30] <Hixie> yeah
- # [22:30] <annevk> Hixie, because that's essentially what it comes down to anyway
- # [22:30] <Hixie> though frankly i'm a little scared of changing this
- # [22:31] <Hixie> because it would mean going through the whole spec changing zillions of little sentences
- # [22:31] <annevk> for the DOM it's relatively straightforward
- # [22:31] <Hixie> and would surely lead to mistakes
- # [22:31] <annevk> I'm willing to review the result
- # [22:31] <Hixie> maybe one day
- # [22:31] <annevk> k
- # [22:35] <annevk> TabAtkins, /for/ does not cover all <label> scenarios
- # [22:36] <annevk> TabAtkins, I guess the other one is covered by ?label input but it's annoying that you have to spell it out like that
- # [22:37] <Hixie> wtf is ?label
- # [22:38] * Quits: jernoble|afk (~jernoble@17.212.152.13) (Remote host closed the connection)
- # [22:42] * Joins: jamesr (jamesr@nat/google/x-eifefqefhqojgpet)
- # [22:43] <AryehGregor> Hmm.
- # [22:44] * Joins: sicking (~chatzilla@206-15-76-122.static.twtelecom.net)
- # [22:44] * Quits: davidb (~davidb@66.207.208.98) (Quit: davidb)
- # [22:45] <TabAtkins_> Hixie: ? is the "subject indicator", which changes the subject of a selector.
- # [22:45] <AryehGregor> What should commands like insertOrderedList do if the editing host is an inline element?
- # [22:45] <TabAtkins_> annevk: I agree.
- # [22:45] * Joins: jernoble (~jernoble@17.212.152.13)
- # [22:45] <AryehGregor> Insert a list anyway, or refuse to do anything, or what?
- # [22:45] <Hixie> TabAtkins_: aw man, i thought we'd done away with the idea of selecting anything but the end of the selector years ago
- # [22:45] <Hixie> TabAtkins_: how did that make a comeback?
- # [22:46] <AryehGregor> Gecko seems to refuse to do anything, even if it would make sense to do something. WebKit seems to just eat the editing host.
- # [22:47] <TabAtkins_> Hixie: It's a persistent author request.
- # [22:47] <AryehGregor> Opera behaves somewhat sensibly, for once.
- # [22:47] <AryehGregor> TabAtkins_, I thought it will kill perf.
- # [22:47] <Hixie> TabAtkins_: doesn't :matches() take care of it?
- # [22:47] <AryehGregor> ?foo bar = ancestor selector.
- # [22:47] <TabAtkins_> AryehGregor: That's the fear. We're pushing to see if we can get around that, or at least make it "good enough".
- # [22:47] <Hixie> or :has()?
- # [22:47] <TabAtkins_> Hixie: ? is equivalent to :has(), if you limit :has() to the end of the selector.
- # [22:47] <TabAtkins_> (I prefer :has().)
- # [22:48] <AryehGregor> TabAtkins_, how is it even conceptually possible to support ?foo bar without killing perf?
- # [22:48] * Joins: yutak (~yutak@2401:fa00:4:1000:baac:6fff:fe99:adfb)
- # [22:48] <Hixie> TabAtkins_: so why '?"
- # [22:48] <TabAtkins_> AryehGregor: Shrug. Browsers be crazy.
- # [22:48] <Hixie> wow i got confused with punctuation there
- # [22:48] <Hixie> let me try that again
- # [22:48] <Hixie> TabAtkins_: so why "?"?
- # [22:48] <TabAtkins_> Hixie: Because fantasai prefers that, and she's the Selectors editor.
- # [22:48] <Hixie> aah
- # [22:48] <Hixie> well that makes sense
- # [22:48] <Hixie> ok
- # [22:49] * AryehGregor would prefer a :thingie(), to avoid more cryptic punctuation in CSS
- # [22:49] <AryehGregor> What does :has() do?
- # [22:49] <TabAtkins_> AryehGregor: Matches an element if it has something.
- # [22:49] <AryehGregor> Meaning?
- # [22:49] <AryehGregor> Like a descendant or something?
- # [22:49] <TabAtkins_> So, to match a label that has an invalid input, do "label:has( :scope /for/ :invalid )"
- # [22:49] <Hixie> :has() is like :matches() except that the selector is assumed to start with a simple selector that selects the element on which the pseudo is
- # [22:49] <AryehGregor> That sounds like it would suffer from the same horrible perf issues.
- # [22:49] <AryehGregor> What's wrong with :for()?
- # [22:50] <AryehGregor> Could we keep syntax simple here?
- # [22:50] <Hixie> and yes, :matches, :has, and ? are all horrible for perf
- # [22:50] <Hixie> i'm surprised browsers are ok with any of them
- # [22:50] <TabAtkins_> AryehGregor: :for() only goes one way.
- # [22:50] <TabAtkins_> Hixie: Nobody's implemented one yet. ^_^
- # [22:50] <AryehGregor> I doubt anyone will, based on past statements.
- # [22:50] <TabAtkins_> AryehGregor: In general, /foo/ is a reference combinator, following the idref named in the combinator.
- # [22:50] <AryehGregor> Except perhaps for querySelector().
- # [22:51] <TabAtkins_> We don't yet have an established syntax for functional combinators.
- # [22:51] <TabAtkins_> Though perhaps we should invent one.
- # [22:52] * Joins: benjoffe_ (~benjoffe_@CPE-121-216-39-241.lnse1.ken.bigpond.net.au)
- # [22:52] <annevk> the /idref/ thing is crazy though, because it also works for elements that do not have a predefined relationship
- # [22:55] * Joins: bga_ (~bga@ppp91-122-181-99.pppoe.avangarddsl.ru)
- # [22:55] * Quits: astearns (~anonymous@c-50-132-63-33.hsd1.wa.comcast.net) (Quit: astearns)
- # [22:55] <Hixie> annevk: no different from how [foo~=bar] also works for attributes that don't exist or don't take a space-separated list
- # [22:56] * Quits: smaug____ (~chatzilla@cs181151161.pp.htv.fi) (Ping timeout: 258 seconds)
- # [22:57] * Joins: arun_ (~arun@pool-96-232-190-4.nycmny.fios.verizon.net)
- # [22:57] * Quits: _bga (~bga@ppp91-122-181-99.pppoe.avangarddsl.ru) (Ping timeout: 248 seconds)
- # [23:00] <hsivonen> I see "This might be overkill." in the commit message for "palpable content". No kidding.
- # [23:00] * hsivonen mumbles about the time when Opera ignored empty paragraphs thanks to HTML4
- # [23:01] <Hixie> heh
- # [23:01] <Hixie> at least this text clearly only applies to conformance checkers, or even not those but to linters.
- # [23:04] * Quits: Margle (~Margle@41-133-197-169.dsl.mweb.co.za) (Quit: Computer has gone to sleep.)
- # [23:04] * Quits: benjoffe_ (~benjoffe_@CPE-121-216-39-241.lnse1.ken.bigpond.net.au) (Remote host closed the connection)
- # [23:06] <ojan> Hixie: webkit and gecko have implemented :matches, but as :any
- # [23:06] <ojan> Hixie: why is :matches bad for perf?
- # [23:07] <TabAtkins_> ojan: Hixie's talking about something else that happens to have the same name.
- # [23:07] <ojan> oh
- # [23:07] <Hixie> ojan: what does :any() do?
- # [23:07] <ojan> um...ok
- # [23:07] <TabAtkins_> ojan: His old proposal, basically identical to :has(), was called :matches().
- # [23:07] <TabAtkins_> Hixie: :any() takes a list of selectors, and matches any of them.
- # [23:07] <ojan> TabAtkins_: oh, that's totally different
- # [23:07] * Joins: nessy (~Adium@124-149-69-40.dyn.iinet.net.au)
- # [23:07] <ojan> nm
- # [23:07] <TabAtkins_> Hixie: It can be thought of as a selector macro.
- # [23:07] <Hixie> simple selectors, or selector chains?
- # [23:08] <Hixie> as in, are combinators involved?
- # [23:08] <ojan> Hixie: it's currently specced as "a sequence of simple selectors" i believe
- # [23:08] <TabAtkins_> Hixie: ":any(ul,ol) :any(ul,ol) {}" is equal to "ul ul, ul ol, ol ul, ol ol".
- # [23:08] <ojan> Hixie: currently no
- # [23:08] <Hixie> ah ok
- # [23:08] * Quits: miketaylr (~miketaylr@206.217.92.186) (Quit: miketaylr)
- # [23:08] <Hixie> so basically just an "or"
- # [23:08] <ojan> Hixie: yeah
- # [23:08] <TabAtkins_> Hixie: Yeah, no combinators. List of compound selectors.
- # [23:08] <TabAtkins_> Using the current Selectors4 terminology.
- # [23:08] <ojan> even with combinators it would still just be an "or" no?
- # [23:08] <annevk> Hixie, true enough, not sure how much sense that made
- # [23:08] <ojan> any(div > span, #foo)
- # [23:08] <TabAtkins_> ojan: It's less clear what's going on if combinators are involved, unless you define it basically as a macro.
- # [23:09] <ojan> TabAtkins_: i don't see what's unclear about it
- # [23:09] <TabAtkins_> (I think it *should* be defined that way.)
- # [23:09] <ojan> TabAtkins_: I guess I only see one way to define it
- # [23:10] <ojan> TabAtkins_: conceptually, when seeing if a element matches the selector, you evaluate each selector in the list and it matches if any of them do.
- # [23:10] <ojan> TabAtkins_: what am i missing?
- # [23:10] <TabAtkins_> ojan: Another way to define it is to match an element to any of the selectors within. It's somewhat less clear what that means if you have complex selectors.
- # [23:11] <ojan> TabAtkins_: i don't understand the difference
- # [23:11] <TabAtkins_> ojan: You *can't* just say "does the element match 'div span' or 'p' in ':any(div span, p)'?".
- # [23:11] <TabAtkins_> "foo :any(bar baz, qux)" is equivalent to "foo bar baz, foo qux", not "foo bar baz, foo qux, bar foo baz".
- # [23:12] <TabAtkins_> There's an ordering constraint in there.
- # [23:12] <Hixie> wow that's confusing
- # [23:12] <ojan> TabAtkins_: yes, i don't see how that's controversial
- # [23:12] <ojan> or confusing
- # [23:12] <ojan> it seems to me like the obvious meaning
- # [23:12] <ojan> Hixie: which one is confusing?
- # [23:12] <TabAtkins_> ojan: If you define it as just "does the element match any of the arguments?", it's unclear which of those interpretations you want.
- # [23:13] * Quits: Maurice` (copyman@5ED573FA.cm-7-6b.dynamic.ziggo.nl)
- # [23:13] <TabAtkins_> I think it's obvious, yes, but you have to define it properly.
- # [23:13] <Hixie> ojan: that :any(...).a > :any(...).b might match a situation where .a and .b are not parent and child respectively
- # [23:13] <TabAtkins_> Hixie: No, you misunderstand.
- # [23:13] <ojan> TabAtkins_: sure, but if you define it the obvious way, what is the perf problem?
- # [23:14] <ojan> Hixie: i don't see how
- # [23:14] <TabAtkins_> Hixie: In ".a :any(.b .c, .d)", if you go with the 'simple' interpretation of "does the element match any selector, when evaluated globally?", the following are equivalent:
- # [23:14] <TabAtkins_> .a .b .c, .b .a .c, .a.b .c, .a .d
- # [23:15] <TabAtkins_> Because the unrestricted "does it match?" question loses the constraints you want.
- # [23:15] <Hixie> TabAtkins_: so what does :any(q r, s).a > :any(w x, y).b expand to?
- # [23:15] * Quits: tomasf (~tom@c-5ed9e555.024-204-6c6b7012.cust.bredbandsbolaget.se) (Quit: tomasf)
- # [23:15] <TabAtkins_> In the *proper* way of doing it, or the sillier way I just talked about?
- # [23:15] <ojan> TabAtkins_: lets just talk the proper way
- # [23:16] <ojan> TabAtkins_: the silly way is clearly crazy
- # [23:16] <Hixie> TabAtkins_: whatever you think is the right way
- # [23:16] <TabAtkins_> In the proper way, it's "q r.a > w x.b, q r.a > y.b, s.a > w x.b, s.a > y.b".
- # [23:16] <Hixie> ok so like i said, it means :any(...).a > :any(...).b might match a situation where .a and .b are not parent and child respectively
- # [23:16] <TabAtkins_> Huh?
- # [23:16] <TabAtkins_> How did you get that?
- # [23:17] <Hixie> it can match in a situation where <r class=a> is the grandparent of <x class=b>
- # [23:17] <TabAtkins_> Oh, yes.
- # [23:17] <TabAtkins_> If you allow complex selectors, not just compound.
- # [23:18] * Quits: svl (~me@ip565744a7.direct-adsl.nl) (Quit: And back he spurred like a madman, shrieking a curse to the sky.)
- # [23:18] <ojan> Hixie: oh i see...meh. i don't see the problem with that.
- # [23:18] <ojan> Hixie: it's a contrived example that you wouldn't really hit in the real world
- # [23:18] <Hixie> on what do you base that?
- # [23:18] <TabAtkins_> Hixie: Right now, though, we restrict it to taking compound selectors.
- # [23:19] <ojan> Hixie: let me rephrase....
- # [23:19] <TabAtkins_> So the .a and .b elements will always have a parent-child relationship.
- # [23:19] <ojan> Hixie: what TabAtkins_ said...there is always a parent-child relationship there...
- # [23:19] <Hixie> come gain?
- # [23:19] <ojan> Hixie: which, if you were to write it without :any would have the same problem
- # [23:19] <TabAtkins_> ojan: No, Hixie's right given the higher-powered version of :any
- # [23:20] <Hixie> now i'm really confused :-P
- # [23:20] <ojan> Maybe i'm not understanding....
- # [23:20] <TabAtkins_> ojan: It's just that, in the current spec, we have a lower-powered version that doesn't have the problem.
- # [23:20] <Hixie> but we may be talking at cross-purposes
- # [23:20] <ojan> we need a DOM for this example
- # [23:20] <TabAtkins_> "problem"
- # [23:20] <Hixie> anyway
- # [23:20] <ojan> TabAtkins_: i get that the current version doesn't have the issue
- # [23:20] * Hixie goes back to picketing for his original :matches(), despite the perf isues
- # [23:20] <ojan> in either case, there's no perf issue if we allow combinators
- # [23:20] <ojan> it's just a question of whether the semantics are confusing
- # [23:21] <TabAtkins_> Hixie: You really need to stop calling it "matches". It confuses everyone else. ^_^
- # [23:21] <TabAtkins_> ojan: Yes, that's right.
- # [23:21] <ojan> =TabAtkins_
- # [23:21] <ojan> :matches is way overloaded now
- # [23:21] <Hixie> TabAtkins_: hey, dude, i made it up first. :-P
- # [23:21] <TabAtkins_> Hixie: Too bad!
- # [23:21] <Hixie> TabAtkins_: plus, :matches() is _exactly_ what it does
- # [23:21] <ojan> I still would like to see the selectors4 spec s/matches/any/
- # [23:21] <Hixie> TabAtkins_: the other one should be renamed :or()
- # [23:21] <AryehGregor> Can anyone else reproduce this? http://code.google.com/p/chromium/issues/detail?id=101791
- # [23:22] <ojan> I'd be fine with :or or :any
- # [23:22] <TabAtkins_> Hixie: :or() is confusing, because we're used to "or" coming *between* options, rather than being the name of a function that precedes the options.
- # [23:22] <TabAtkins_> ojan: Agreed that :any() is better.
- # [23:22] <Hixie> :any() wfm too
- # [23:22] <ojan> Hixie: you have a pointer to your :matches proposal?
- # [23:22] <ojan> i saw it ages ago, but i don't remember how it worked now
- # [23:22] <TabAtkins_> AryehGregor: wfm (no sad tab)
- # [23:23] <AryehGregor> TabAtkins_, what version/platform?
- # [23:23] * annevk also thought renaming it to :matches was weird
- # [23:23] <TabAtkins_> ojan: Linux 64bit, Chrome 15 beta.
- # [23:23] <TabAtkins_> I mean AryehGregor in that last line.
- # [23:23] <AryehGregor> It's a regression.
- # [23:23] <Hixie> ojan: not off-hand, it'll be in www-style around 2002 or so. But in principle, :matches(...) takes a selector that must be matched by the eelement on which the pseudo is given
- # [23:23] <AryehGregor> Only started in Chrome 16, I think.
- # [23:23] <AryehGregor> It used to work for me too.
- # [23:23] <TabAtkins_> Ah, kk. Let me upgrade.
- # [23:24] <Hixie> ojan: so p:matches(.a .b) is equivalent to .a p.b
- # [23:24] <AryehGregor> Thanks.
- # [23:24] <Hixie> ojan: but p:matches(.a .b):matches(.x .b) is equivalent to saying that the p.b element must have as ancestor both a .x and a .a, though it doesn't matter if they're the same or if not which is the deeper ancestor
- # [23:25] <ojan> Hixie: why is this better?
- # [23:25] <Hixie> ojan: (the only other aspect is that you can use "#" in the :matches() selector to say where the pseudo's element is to match, as in p:matches(a # b) is equivalent to "a p b")
- # [23:25] <Hixie> ojan: better than what?
- # [23:25] <ojan> than :any
- # [23:25] <TabAtkins_> ojan: Don't try and compare it to the Selectors4 :matches. They're not the same thing.
- # [23:25] <Hixie> ojan: :any and :matches are unrelated
- # [23:26] <TabAtkins_> Completely different function.
- # [23:26] <ojan> oh...so they're not mutually exclusive
- # [23:26] <ojan> i see
- # [23:26] <ojan> what's the use-case for Hixie's :matches?
- # [23:26] <TabAtkins_> ojan: The same use-case as :has() or the subject indicator.
- # [23:26] <Hixie> ojan: (:any() would complement :matches() quite well in fact)
- # [23:26] <Hixie> ojan: :has() is basically :matches() but always starting with the #
- # [23:26] <Hixie> ojan: as in :has(foo) is equivalent to :matches(# foo)
- # [23:27] <ojan> i see
- # [23:27] <Hixie> ojan: :matches() basically solves almost all the limitations of selectors in one simple (and performance-impacting) swoop.
- # [23:27] * Quits: rillian_ (~rillian@184.71.166.126) (Remote host closed the connection)
- # [23:27] <Hixie> well, not all the limitations
- # [23:27] <Hixie> it doesn't help with grouping
- # [23:27] <Hixie> but all the limitations of being able to reference ancestors, descendants, etc
- # [23:27] <ojan> oh i see...because it gives one syntactic way of doing all the things we're adding extra stuff for (e.g. parent combinators)
- # [23:28] * Joins: rillian_ (~rillian@184.71.166.126)
- # [23:28] <Hixie> yeah
- # [23:28] <ojan> makes sense to me
- # [23:28] <ojan> and it gives one thing to tell web devs not to ever use because it's crazy slow
- # [23:28] <Hixie> yeah
- # [23:28] <ojan> instead of a dozen tthings
- # [23:28] <ojan> i buy it
- # [23:28] <Hixie> mind you, it really does make it _crazy_ slow
- # [23:29] <ojan> i expect it does in degenerate cases
- # [23:29] <ojan> but i haven't really thoguht it through
- # [23:29] <AryehGregor> This is why I'm so much more interested in filing bugs against Gecko than any other piece of software I know about: https://bugzilla.mozilla.org/show_bug.cgi?id=697793
- # [23:29] <Hixie> :matches(# .foo) -- matches every element that has a .foo descendant. imagine a 5mb doc like the html spec.
- # [23:29] <Hixie> for every element, you have to crawl the entire subtree
- # [23:29] <AryehGregor> It should be fine for querySelector(), right?
- # [23:29] * Quits: dbaron (~dbaron@nat/mozilla/x-szcqoxnsceeohgnq) (Quit: 8403864 bytes have been tenured, next gc will be global.)
- # [23:30] <Hixie> AryehGregor: well it'd still be slow, but it wouldn't have to happen every time the mouse moved, at least
- # [23:30] <AryehGregor> I mean, it might be slow, but authors have the tools to notice that.
- # [23:30] <Hixie> (:focus:matches(# :hover) *shudder*)
- # [23:30] <ojan> Hixie: ok...you've sold me. :matches makes sense to add and what's currently :matches should really be :any.
- # [23:30] <Hixie> sweet
- # [23:30] <Hixie> i wasn't even trying to sell you :-)
- # [23:31] <AryehGregor> Allowing such a thing in actual CSS files sounds like a seriously bad idea.
- # [23:31] <ojan> AryehGregor: we should either allow none of them, or add something generic like :matches
- # [23:31] <annevk> Hixie, cache manifests don't seem to allow for FF, maybe it should simply be banned from text/vtt?
- # [23:31] <ojan> AryehGregor: what we seem to be doing currently is adding a bunch of one-offs
- # [23:31] <Hixie> AryehGregor: it's certainly better than $ or ? or < or :has(), so if we're adding any of those, we should just do :matches(), imho
- # [23:32] <ojan> =Hixie
- # [23:32] <Hixie> annevk: *shrug*
- # [23:32] * Joins: slightlyoff (u1768@gateway/web/irccloud.com/x-gpdfrxnygmvkiehs)
- # [23:32] <ojan> I'd also be OK with not adding any of them.
- # [23:32] * Quits: erlehmann (~erlehmann@82.113.121.205) (Quit: Ex-Chat)
- # [23:32] <annevk> Y U NO CARE
- # [23:33] <ojan> annevk: will you be in town for TPAC?
- # [23:33] <Hixie> bbiab, meeting
- # [23:33] <hober> ojan: annevk: there will be beers involved (re: tpac)
- # [23:34] <ojan> it'll be nice to meet everyone in person
- # [23:35] * Quits: _pdr__ (anonymous@nat/google/x-zhrydalftjxuderb) (Quit: _pdr__)
- # [23:36] <annevk> I'm coming on Sunday
- # [23:36] * Joins: cpearce (~chatzilla@60.234.54.74)
- # [23:36] <annevk> and yes, I'm looking forward to meeting everyone too :)
- # [23:37] <ojan> annevk: are you staying in SF or the south bay while you're here?
- # [23:37] <annevk> and beers :)
- # [23:37] <annevk> I'm staying in Santa Clara but might go to SF in the weekend
- # [23:38] <annevk> after not sure yet, leaving the ninth
- # [23:38] <ojan> annevk: k. i'll probably only be at tpac monday and tuesday, but i live/work in SF.
- # [23:39] <annevk> ah, in the Google SF office?
- # [23:39] <ojan> annevk: yeah
- # [23:39] <annevk> cool
- # [23:39] <ojan> annevk: you're welcome to come for lunch here one day
- # [23:39] <annevk> might take you up on that :)
- # [23:39] * Joins: wycats (u79@gateway/web/irccloud.com/x-lqrkwxymsfvzapfj)
- # [23:39] <wycats> Hixie: hey... I was wondering why the new validation events don't bubble
- # [23:40] <wycats> there's an open thread on the jQuery Standards list about it :)
- # [23:40] <ojan> annevk: a lot of the chromium folk who work on webkit work in SF
- # [23:41] * Quits: MacTed (~Thud@63.119.36.36)
- # [23:41] <ojan> annevk: we should chat in person about the various dom creation proposals
- # [23:41] <wycats> ojan: what do you think about the Element constructor proposal?
- # [23:41] <ojan> wycats: which one?
- # [23:42] <wycats> I guess the one that takes an object of attributes and children?
- # [23:42] * Joins: eae (u4278@gateway/web/irccloud.com/x-pjevvjujgeicbpaf)
- # [23:42] <ojan> wycats: there are things i really like about it and things i like less...
- # [23:42] <ojan> wycats: well...there are multiple such proposals...
- # [23:43] <annevk> ojan, yeah that'd be nice
- # [23:43] <ojan> wycats: the one i really like is the one annevk suggested with the funky json/array syntax
- # [23:43] <ojan> wycats: the thing i really like about that is that in theory, you can construct DOMs much faster than you could if you needed to parse HTML
- # [23:43] <wycats> ojan: I like it too
- # [23:43] <ojan> wycats: on the other hand, it's not terribly readable
- # [23:44] <wycats> ojan: the fact that new DivElement straight up doesn't work today is pretty broken
- # [23:44] <wycats> ojan: I was thinking that allowing a tagName as first param might make it more readable
- # [23:44] <wycats> new Element("div", { id: "zomg" })
- # [23:44] <ojan> i've slowly come to believe that the quasis approach may be the best
- # [23:44] <ojan> wycats: yeah, it's hard to come up with a syntax that works better than what annevk suggested
- # [23:45] <wycats> ojan: I think the only thing I could improve over annevk would be allowing new Element instead of new FooElement
- # [23:45] <ojan> wycats: because i think it's important we maintain that passing just a string can get you a text node
- # [23:45] <wycats> ah interesting
- # [23:45] <wycats> even to new Element
- # [23:45] <wycats> I guess the problem is that new Element wouldn't return a direct instance of Element
- # [23:45] <ojan> maybe not...but then what do you for the children case
- # [23:45] <wycats> you would want new Element("div") to return a DivElement
- # [23:46] <ojan> new Element(tagName, attributes, children...)
- # [23:46] * Quits: nielsle_ (~nielsle@3239059-cl69.boa.fiberby.dk) (Quit: Ex-Chat)
- # [23:46] <wycats> new Element("div", { id: "foo" }, [ new Element("span"), "some text" ])
- # [23:46] <ojan> Needing to repeat "new Element" when constructing the children is too bloated IMO
- # [23:46] <ojan> it's less readable and just too much typing
- # [23:46] <wycats> ojan: you could allow a hash, I guess?
- # [23:46] <ojan> remember the thing we're competing with is innerHTML here
- # [23:47] * Joins: smaug____ (~chatzilla@GZYYYKMDCLVI.gprs.sl-laajakaista.fi)
- # [23:47] <wycats> new Element("div", { id: "foo" }, [ { span: { id: "hi", children: ["string", { em: ["some text"] }] } } ])
- # [23:47] <ojan> if i could have my cake and eat it too, right now I'd want to see us implement *both* annevk's array-based proposal and quasis with a native "html" function.
- # [23:47] <ojan> they're not actually mutually exclusive in any way
- # [23:48] <TabAtkins_> ojan: Yes, both are complementary for different things.
- # [23:48] <ojan> and actually meet different use-cases, althought there is certainly overlap
- # [23:48] * Quits: Telling (~unknown@80-71-135-15.u.parknet.dk) (Quit: ...)
- # [23:48] <ojan> and annevk's array-based proposal is really straightforward to spec and implement, so it doesn't really present a burden on browser vendors
- # [23:49] <ojan> annevk: i liked the E4H proposal at first, but people have convinced me that quasis are a better solution...we can chat about it in person next week
- # [23:50] <wycats> ojan: the most useful thing for jQuery would be the ability to do fragment.innerHTML = "<tr><td>hi</td></tr>"
- # [23:50] <wycats> essentially have a way to make HTML nodes where the root nodes don't care about their context
- # [23:51] <wycats> we jump through major hoops in jQuery to make $("<tr><td>hi</td></tr>").appendTo("table") work
- # [23:51] <ojan> wycats: yeah...i agree it's totally balls
- # [23:51] <ojan> wycats: but all of these proposals address that use-case fine
- # [23:51] <wycats> ojan: not really
- # [23:51] <wycats> because the jQuery API is "gimme string"
- # [23:51] <wycats> not "gimme some structure"
- # [23:52] <wycats> I see the new APIs as competing with document.createElement more than innerHTML tbh
- # [23:52] <kennyluck> Is there any problem if browsers ignore media type of a manifest? I think this was probably discussed to death but I would be grateful if someone reminds me again.
- # [23:52] <ojan> wycats: but if you implement $("<tr><td>hi</td></tr>") in terms of the new API, it should just work, no?
- # [23:52] <wycats> how do we do that?
- # [23:53] <wycats> parse the HTML manually?
- # [23:53] <ojan> hm...i guess you're right...this doesn't help jquery at all.
- # [23:54] <wycats> "[
- # [23:54] <wycats> :p
- # [23:55] <ojan> wycats: i think it's an orthogonal issue...erik arvidsson made a proposal recently to whatwg@ make createContextualFragment do what you want if the range is in a detached context
- # [23:55] <wycats> ojan: nice
- # [23:55] <ojan> wycats: i'm still pro that as the solution to your problem
- # [23:55] <wycats> ojan: do you know what the subject line is?
- # [23:55] <wycats> ojan: I think right now that case throws an error
- # [23:56] <ojan> wycats: yeah, so it's probably backwards compatible to change it...
- # [23:56] <ojan> wycats: "createContextualFragment in detached contexts"
- # [23:56] <wycats> ojan: I'll go +1
- # [23:56] <wycats> it would save a ton of work in jQuery
- # [23:56] <wycats> I was able to make jQuery a lot faster in the case of $("table").append("<tr><td>...</td></tr>")
- # [23:57] <wycats> because I have a context for a contextual fragment in that case
- # Session Close: Fri Oct 28 00:00:00 2011
The end :)