Options:
- # Session Start: Tue Aug 09 00:00:00 2011
- # Session Ident: #whatwg
- # [00:02] * Joins: JanV (~varga@195.91.87.57)
- # [00:03] * Quits: janv_ (~varga@195.91.87.57) (Ping timeout: 264 seconds)
- # [00:03] * jer|afk is now known as jernoble|afk
- # [00:04] * Quits: jacobolus (~jacobolus@66-117-135-135.rdsl.lmi.net) (Ping timeout: 246 seconds)
- # [00:10] * jernoble|afk is now known as jer|afk
- # [00:10] * Quits: smaug____ (~chatzilla@a91-154-41-96.elisa-laajakaista.fi) (Ping timeout: 240 seconds)
- # [00:11] * Quits: JanV (~varga@195.91.87.57) (Ping timeout: 252 seconds)
- # [00:20] * Quits: zcorpan (~zcorpan@pat.se.opera.com) (Quit: zcorpan)
- # [00:24] * Joins: nessy (~Adium@74.125.56.18)
- # [00:26] * Joins: janv_ (~varga@195.91.87.57)
- # [00:41] * Joins: micheil (~micheil@92.40.253.31.threembb.co.uk)
- # [00:43] * Joins: meister (be085770@gateway/web/freenode/ip.190.8.87.112)
- # [00:45] * jwalden sees he missed interesting off-(on)topic discussion a couple hours ago
- # [00:46] * Quits: phera (~phera@41.0.48.54) (Ping timeout: 276 seconds)
- # [00:48] * Quits: janv_ (~varga@195.91.87.57) (Ping timeout: 246 seconds)
- # [00:49] * Quits: mikepjura (~mpjura@ool-182d700d.dyn.optonline.net) (Quit: mikepjura)
- # [00:51] * Joins: phera (~phera@41.0.48.54)
- # [01:01] * Quits: tndH (~Rob@adsl-83-100-253-226.karoo.KCOM.COM) (Quit: ChatZilla 0.9.87-rdmsoft [XULRunner 1.9.0.1/2008072406])
- # [01:06] * Quits: mven_ (~mven__@169.241.49.57) (Quit: Leaving)
- # [01:08] * dglazkov is now known as dglazkov|away
- # [01:18] * Quits: cgcardona (~cgcardona@unaffiliated/cgcardona) (Quit: cgcardona)
- # [01:19] * Joins: mven (~mven__@169.241.49.57)
- # [01:21] * Quits: meister (be085770@gateway/web/freenode/ip.190.8.87.112) (Ping timeout: 252 seconds)
- # [01:29] * Quits: jarek (~jarek@unaffiliated/jarek) (Ping timeout: 255 seconds)
- # [01:42] * Joins: jarek (~jarek@unaffiliated/jarek)
- # [01:44] * Quits: jarek (~jarek@unaffiliated/jarek) (Client Quit)
- # [01:48] * Joins: kurrik (~kurrik@nat/google/x-awpzpyhvlbeyuzhq)
- # [02:01] * Quits: timeless (d04149cb@firefox/developer/timeless) (Ping timeout: 252 seconds)
- # [02:03] * Quits: jennb (~jennb@nat/google/x-ncnxdigdzdrxssct) (Quit: jennb)
- # [02:10] * Joins: davidb_ (~davidb@bas4-kitchener06-1128762161.dsl.bell.ca)
- # [02:10] * Quits: kurrik (~kurrik@nat/google/x-awpzpyhvlbeyuzhq) (Quit: Leaving)
- # [02:26] * eric_carlson is now known as ericc|away
- # [02:28] * Quits: boaz (~boaz@li326-230.members.linode.com) (Excess Flood)
- # [02:28] * Joins: boaz- (~boaz@li326-230.members.linode.com)
- # [02:29] * boaz- is now known as boaz
- # [02:32] * Quits: mpilgrim (~pilgrim@rrcs-24-206-36-125.midsouth.biz.rr.com) (Remote host closed the connection)
- # [02:34] * Joins: nonge (~nonge@p5082BD27.dip.t-dialin.net)
- # [02:41] * Quits: ap (~ap@2620:149:4:401:b99f:e7a7:3615:f407) (Quit: ap)
- # [02:43] * Quits: davidb_ (~davidb@bas4-kitchener06-1128762161.dsl.bell.ca) (Quit: davidb_)
- # [02:50] * Quits: dbaron (~dbaron@nat/mozilla/x-clrouicdctfcqsoy) (Quit: 8403864 bytes have been tenured, next gc will be global.)
- # [02:59] * Joins: wakaba_0 (~wakaba_@122x221x184x68.ap122.ftth.ucom.ne.jp)
- # [03:02] * Joins: jacobolus (~jacobolus@c-71-198-169-213.hsd1.ca.comcast.net)
- # [03:03] * Joins: agektmr (~Adium@2401:fa00:4:1012:fa1e:dfff:fee6:d74e)
- # [03:03] * Joins: wakaba_1 (~wakaba_@122x221x184x68.ap122.ftth.ucom.ne.jp)
- # [03:04] * Quits: wakaba_0 (~wakaba_@122x221x184x68.ap122.ftth.ucom.ne.jp) (Ping timeout: 258 seconds)
- # [03:04] * Quits: micheil (~micheil@92.40.253.31.threembb.co.uk) (Quit: micheil)
- # [03:08] * Quits: karlcow (~karl@nerval.la-grange.net) (Quit: This computer has gone to sleep)
- # [03:30] * Quits: nonge (~nonge@p5082BD27.dip.t-dialin.net) (Quit: Verlassend)
- # [03:31] * Joins: nonge (~nonge@p5082BD27.dip.t-dialin.net)
- # [03:32] * Quits: FireFly (~firefly@unaffiliated/firefly) (Quit: swatted to death)
- # [03:36] * Joins: miketaylr (~miketaylr@24.42.93.245)
- # [03:39] * Quits: rniwa (~rniwa@nat/google/x-hjzsyygngcwhbszo) (Quit: rniwa)
- # [03:51] * Quits: wolfman2000 (~wolfman20@adsl-067-033-060-050.sip.ard.bellsouth.net) (Remote host closed the connection)
- # [03:56] * Quits: nonge (~nonge@p5082BD27.dip.t-dialin.net) (Ping timeout: 276 seconds)
- # [04:01] * Quits: jwalden (~waldo@2620:101:8003:200:222:68ff:fe15:af5c) (Quit: ChatZilla 0.9.86-rdmsoft [XULRunner 1.9.2.18/20110621100037])
- # [04:05] * Quits: hij1nx (~hij1nx@207.239.107.3) (Quit: hij1nx)
- # [04:05] * Quits: agektmr (~Adium@2401:fa00:4:1012:fa1e:dfff:fee6:d74e) (Quit: Leaving.)
- # [04:07] * Quits: The_8472 (~stardive@azureus/The8472) (Ping timeout: 260 seconds)
- # [04:07] * Quits: nessy (~Adium@74.125.56.18) (Quit: Leaving.)
- # [04:11] * Joins: agektmr (~Adium@220.109.219.244)
- # [04:12] * Joins: The_8472 (~stardive@azureus/The8472)
- # [04:13] * Joins: ezoe (~ezoe@203-140-90-26f1.kyt1.eonet.ne.jp)
- # [04:18] * Joins: nessy (~Adium@74.125.56.18)
- # [04:25] * Quits: nessy (~Adium@74.125.56.18) (Quit: Leaving.)
- # [04:25] * Quits: tomasf (~tom@c-5ed9e555.024-204-6c6b7012.cust.bredbandsbolaget.se) (Quit: tomasf)
- # [04:26] * Quits: tjay_ (~tjay_@ip51ccc57d.adsl-surfen.hetnet.nl) (Quit: tjay_)
- # [04:44] * Quits: boaz (~boaz@li326-230.members.linode.com) (Excess Flood)
- # [04:45] * Joins: shetech (~shetech@c-76-126-167-49.hsd1.ca.comcast.net)
- # [04:45] * Joins: boaz (~boaz@li326-230.members.linode.com)
- # [04:45] * Quits: weinig (~weinig@2620:149:4:401:4ce0:2660:f8a5:9d3e) (Quit: weinig)
- # [04:46] * Joins: nonge (~nonge@p5B326087.dip.t-dialin.net)
- # [04:51] * Joins: hij1nx (~hij1nx@cpe-98-14-168-178.nyc.res.rr.com)
- # [04:56] * Joins: othermaciej (~mjs@c-24-6-209-6.hsd1.ca.comcast.net)
- # [04:57] * Quits: stefan-_ (~music@hiwi0.wi2.uni-trier.de) (Remote host closed the connection)
- # [05:04] * Joins: nessy (~Adium@74.125.56.18)
- # [05:05] * Quits: agektmr (~Adium@220.109.219.244) (Quit: Leaving.)
- # [05:08] * Joins: agektmr (~Adium@220.109.219.244)
- # [05:13] * Quits: phera (~phera@41.0.48.54) (Remote host closed the connection)
- # [05:18] * Quits: jacobolus (~jacobolus@c-71-198-169-213.hsd1.ca.comcast.net) (Remote host closed the connection)
- # [05:19] * Joins: weinig (~weinig@c-24-130-56-198.hsd1.ca.comcast.net)
- # [05:29] * Quits: nonge (~nonge@p5B326087.dip.t-dialin.net) (Ping timeout: 252 seconds)
- # [05:31] <Hixie> fantastic. i have a pile of code a mile high and it finds one obscure canvas performance bug in webkit and one obscure canvas clearRect(?) bug in gecko.
- # [05:31] <Hixie> and i basically have no way to make minimised test cases for them.
- # [05:31] <Hixie> sigh.
- # [05:32] <shetech> gotta love obscure finds.
- # [05:40] * Joins: nonge (~nonge@p50829E1C.dip.t-dialin.net)
- # [05:49] * Quits: othermaciej (~mjs@c-24-6-209-6.hsd1.ca.comcast.net) (Quit: othermaciej)
- # [05:50] * Quits: miketaylr (~miketaylr@24.42.93.245) (Quit: miketaylr)
- # [05:52] * Joins: janv_ (~varga@195.91.87.57)
- # [05:58] * Joins: weinig_ (~weinig@c-24-130-56-198.hsd1.ca.comcast.net)
- # [05:58] * Quits: weinig (~weinig@c-24-130-56-198.hsd1.ca.comcast.net) (Read error: Connection reset by peer)
- # [05:58] * weinig_ is now known as weinig
- # [06:01] * Quits: shetech (~shetech@c-76-126-167-49.hsd1.ca.comcast.net) (Read error: Connection reset by peer)
- # [06:04] * Quits: ezoe (~ezoe@203-140-90-26f1.kyt1.eonet.ne.jp) (Ping timeout: 240 seconds)
- # [06:14] * Quits: sicking (~chatzilla@nat/mozilla/x-cnwolfsltfdzidrl) (Ping timeout: 240 seconds)
- # [06:29] * Joins: othermaciej (~mjs@c-24-6-209-6.hsd1.ca.comcast.net)
- # [06:34] * Joins: karlcow (~karl@nerval.la-grange.net)
- # [06:37] * Quits: weinig (~weinig@c-24-130-56-198.hsd1.ca.comcast.net) (Quit: weinig)
- # [06:43] * Joins: jacobolus (~jacobolus@c-71-198-169-213.hsd1.ca.comcast.net)
- # [06:45] * Quits: othermaciej (~mjs@c-24-6-209-6.hsd1.ca.comcast.net) (Quit: othermaciej)
- # [06:46] * Joins: ezoe (~ezoe@203-140-91-172f1.kyt1.eonet.ne.jp)
- # [06:50] * Quits: cpearce (~chatzilla@203-97-204-82.dsl.clear.net.nz) (Ping timeout: 255 seconds)
- # [06:53] <Hixie> nice. webkit has a huge slowdown bug with clip() _and_ doesn't support the last argument to fillText().
- # [06:54] <Hixie> so basically there's no easy way to clip user-provided text in webkit
- # [06:54] <Hixie> meanwhile, gecko has some crazy bug with clearRect() where it's not actually clearing the whole rect, unless i first call fillRect() on the whole canvas, then it works fine...
- # [07:14] * Quits: stalled (~stalled@unaffiliated/stalled) (Ping timeout: 252 seconds)
- # [07:16] * Joins: temp01 (~temp01@unaffiliated/temp01)
- # [07:25] * Quits: CvP (~CvP@123.49.21.77) (Quit: [ UPP ] > all)
- # [07:34] * heycam is now known as heycam|away
- # [07:36] * Joins: Ankheg (~Ankheg@91.224.77.4)
- # [07:37] * Joins: othermaciej (~mjs@c-24-6-209-6.hsd1.ca.comcast.net)
- # [07:40] * Quits: boaz (~boaz@li326-230.members.linode.com) (Excess Flood)
- # [07:40] * Joins: boaz (~boaz@li326-230.members.linode.com)
- # [07:43] <Hixie> i'm all for experimental implementations of css features getting prefixes
- # [07:43] <Hixie> but when EVERYONE implements the feature, can we move on already?
- # [07:43] * Joins: simplicity- (~simpli@unaffiliated/simplicity-)
- # [07:43] * Joins: maikmerten (~merten@ls5dhcp197.cs.uni-dortmund.de)
- # [07:43] <Hixie> https://developer.mozilla.org/en/CSS/-moz-linear-gradient#Cross-browser_gradients is just ridiculous.
- # [07:43] * Quits: ezoe (~ezoe@203-140-91-172f1.kyt1.eonet.ne.jp) (Ping timeout: 255 seconds)
- # [07:44] <zewt> on the other hand, everyone's probably afraid of being That Guy that releases something unprefixed and ends up preventing some fix or another...
- # [07:54] * Parts: robman (~robman@eth4584.nsw.adsl.internode.on.net) ("Leaving")
- # [07:54] * Joins: robman (~robman@eth4584.nsw.adsl.internode.on.net)
- # [08:05] * Quits: simplicity- (~simpli@unaffiliated/simplicity-) (Quit: simplicity-)
- # [08:10] <Hixie> zewt: imho, the experimental prefixes should only be used with experimental features, not specced things.
- # [08:10] <Hixie> zewt: the problem is the csswg iterate for far too long instead of freezing fast like we do with the html spec
- # [08:11] <Hixie> they probably end up with more well-thought-out APIs eventually
- # [08:11] <Hixie> but in the meantime, we have to suffer through years of silliness :-)
- # [08:11] * Joins: rimantas (~rimliu@93.93.57.193)
- # [08:12] <Hixie> in other news, webkit has much prettier 'inset' and 'outset' border colours than firefox and opera
- # [08:12] <zewt> well, i've seen plenty of complaining on the lists about releasing APIs unprefixed too soon
- # [08:14] <zewt> with the way specs are developed these days, it might be worth clarifying somehow when the editor considers a spec stable enough for unprefixed implementations
- # [08:14] <zewt> seems like that's very fuzzy currently
- # [08:15] <zewt> the websocket thread a week ago comes to mind
- # [08:15] <Hixie> websocket had the worst of both worlds
- # [08:15] <Hixie> it didn't have prefixes, _and_ it wasn't fast-freeze
- # [08:15] <Hixie> the ietf really screwed that one over
- # [08:16] <zewt> i remember grumbling about blobs during the blob.slice thread, though to me the blob api seemed stable enough by then that it's hard to blame people for not prefixing it
- # [08:32] * Joins: brucel (~brucel@cpc3-smal11-2-0-cust48.perr.cable.virginmedia.com)
- # [08:35] * toyoshiAw is now known as toyoshim
- # [08:41] * Joins: virtuelv (~virtuelv_@pat-tdc.opera.com)
- # [08:49] * Quits: nessy (~Adium@74.125.56.18) (Quit: Leaving.)
- # [09:09] * Quits: mven (~mven__@169.241.49.57) (Ping timeout: 246 seconds)
- # [09:16] * Joins: mven (~mven__@169.241.49.57)
- # [09:17] <janv_> hixie: I think textContent should be changed to text in "4.11.5.4 Using the option element to define a command"
- # [09:21] * Joins: sicking (~chatzilla@c-98-210-155-80.hsd1.ca.comcast.net)
- # [09:22] * Joins: zcorpan (~zcorpan@pat.se.opera.com)
- # [09:39] * Joins: stalled (~stalled@unaffiliated/stalled)
- # [09:44] * Joins: MikeSmith (~MikeSmith@50.27.208.218)
- # [09:44] * Quits: MikeSmith_ (~MikeSmith@50.27.208.218) (Read error: Connection reset by peer)
- # [09:51] * Joins: Maurice (copyman@5ED573FA.cm-7-6b.dynamic.ziggo.nl)
- # [09:51] * Quits: hober (~ted@unaffiliated/hober) (Read error: Connection reset by peer)
- # [09:52] * Joins: hober (~ted@unaffiliated/hober)
- # [10:09] * Joins: espadrine (~thaddee_t@LNeuilly-152-22-27-243.w193-251.abo.wanadoo.fr)
- # [10:31] * Joins: fishd_ (~darin@nat/google/x-euntexeysylhpkgy)
- # [10:32] * Joins: TabAtkins_ (~tabatkins@nat/google/x-xsvipbcuaujkomty)
- # [10:32] * Joins: ezoe (~ezoe@203-140-90-135f1.kyt1.eonet.ne.jp)
- # [10:33] * Joins: Ms2ger (~Ms2ger@91.181.200.6)
- # [10:33] * Joins: tndH (~Rob@adsl-83-100-253-226.karoo.KCOM.COM)
- # [10:34] * Joins: MrOpposite (~mropposit@unaffiliated/mropposite)
- # [10:35] * Quits: fishd (~darin@nat/google/x-uvcyzucuzoiyftlc) (Ping timeout: 246 seconds)
- # [10:36] * Quits: TabAtkins (~tabatkins@nat/google/x-ohobdlistqdvccyh) (Ping timeout: 276 seconds)
- # [10:43] * Joins: darin__ (~darin@nat/google/x-inzxlouoonbagdmq)
- # [10:46] * Quits: fishd_ (~darin@nat/google/x-euntexeysylhpkgy) (Ping timeout: 255 seconds)
- # [10:47] * Quits: TabAtkins_ (~tabatkins@nat/google/x-xsvipbcuaujkomty) (Ping timeout: 258 seconds)
- # [10:48] * Joins: tbassetto (~tbassetto@LRouen-151-71-49-64.w80-11.abo.wanadoo.fr)
- # [10:48] * Joins: TabAtkins (~tabatkins@nat/google/x-ufxxcnbvmvchxazp)
- # [10:51] * Quits: sicking (~chatzilla@c-98-210-155-80.hsd1.ca.comcast.net) (Ping timeout: 240 seconds)
- # [11:00] * Joins: smaug____ (~chatzilla@a91-154-41-96.elisa-laajakaista.fi)
- # [11:05] * Joins: tomasf (~tom@c-5ed9e555.024-204-6c6b7012.cust.bredbandsbolaget.se)
- # [11:07] * Joins: rtuin (~rtuin@dsl-087-195-129-241.solcon.nl)
- # [11:31] * Quits: nonge (~nonge@p50829E1C.dip.t-dialin.net) (Quit: Verlassend)
- # [11:36] * Joins: FireyFly (~firefly@unaffiliated/firefly)
- # [11:37] * Joins: nessy (~Adium@124-169-135-125.dyn.iinet.net.au)
- # [11:40] * Quits: FireyFly (~firefly@unaffiliated/firefly) (Client Quit)
- # [11:41] * Joins: webben (~benjamin@173-203-84-17.static.cloud-ips.com)
- # [11:43] * Joins: erlehmann (~erlehmann@dslb-092-078-139-136.pools.arcor-ip.net)
- # [11:44] * Joins: FireyFly (~firefly@unaffiliated/firefly)
- # [11:46] * Quits: Amorphous (jan@unaffiliated/amorphous) (Ping timeout: 260 seconds)
- # [12:01] * Quits: darin__ (~darin@nat/google/x-inzxlouoonbagdmq) (Read error: Connection reset by peer)
- # [12:01] * Joins: darin__ (~darin@nat/google/x-iftmrxvhcjkbmeqv)
- # [12:01] * Joins: Amorphous (jan@unaffiliated/amorphous)
- # [12:07] * Quits: jochen__ (~jochen@nat/google/x-hyoqzbvdacczazmh) (Remote host closed the connection)
- # [12:07] * Joins: jochen__ (~jochen@nat/google/x-pdeakevudqbolsat)
- # [12:09] * Quits: jacobolus (~jacobolus@c-71-198-169-213.hsd1.ca.comcast.net) (Remote host closed the connection)
- # [12:18] * Quits: Rik` (~Rik`@2a01:e34:ec0f:1570:4db8:1bc5:a00c:83eb) (Remote host closed the connection)
- # [12:20] * Joins: Lachy (~Lachy@pat-tdc.opera.com)
- # [12:29] * Quits: annevk5 (u2483@gateway/web/irccloud.com/x-pzbhuhboztzxednw) (Quit: Connection closed for inactivity)
- # [12:39] * Quits: wakaba_1 (~wakaba_@122x221x184x68.ap122.ftth.ucom.ne.jp) (Quit: Leaving...)
- # [12:41] * Joins: Rik` (~Rik`@mozilla-paris-253-98.cnt.nerim.net)
- # [12:59] <jgraham> http://software.hixie.ch/utilities/js/live-dom-viewer/saved/1098 <-- anyone want to explain the behaviour of that in Gecko/WebKit to me?
- # [13:01] <zcorpan> jgraham: the "2" script is async?
- # [13:02] <jgraham> Hmm was this the big thread a while ago?
- # [13:03] * jgraham concludes that hsivonen should not be allowed to take vacation :)
- # [13:03] <zcorpan> the thread with LABjs?
- # [13:04] <jgraham> Yeah
- # [13:05] <zcorpan> i think gecko had the same behavior for this case before that thread, that appendChilded scripts with src are async
- # [13:05] <jgraham> I thought it was the other way around, that WebKit had this behaviour first and gecko copied it. But maybe I am wrong
- # [13:05] <zcorpan> could be
- # [13:06] <jgraham> Either way it doesn't seem to match the spec afaict
- # [13:06] <jgraham> But I could easilly be missing something
- # [13:07] <jgraham> Hmm, maybe the force-async flag is relevant
- # [13:09] <Ms2ger> Yes, it would be
- # [13:13] <jgraham> So it would fall into the 5th clause of step 15 of the "prepare a script" algorithm. It's not really clear to me why there would be a big difference between the 4th and 5th clauses here though
- # [13:15] <jgraham> (the difference seems to be that the 4th clause ensures the relative order of appendChild inserted scripts, but the 5th does not)
- # [13:15] <jgraham> +external
- # [13:16] <Ms2ger> That's what @async means, no
- # [13:16] <Ms2ger> ?
- # [13:17] <zcorpan> it wouldn't make any difference for this case since there's only one appendChilded script, right?
- # [13:17] <jgraham> Right. But if one didn't have force-async set in this case, you might expect the appendChilded script to execute before the following parser-inserted script
- # [13:18] <Ms2ger> Expect based on what?
- # [13:18] <Ms2ger> Locig? See the topic :)
- # [13:18] <Ms2ger> Locig, really?
- # [13:19] * Ms2ger blames his keyboard
- # [13:19] <jgraham> Expect based on the idea that people want a way to control the order of script execution
- # [13:20] <matjas> .async = false
- # [13:20] <Ms2ger> And not block the parser
- # [13:20] <jgraham> Well you can have one or the other
- # [13:21] <jgraham> Setting .async to false doesn't seem to have an effect
- # [13:21] <jgraham> Similarly clearing the force-async flag doesn't seem to have an effect in this case
- # [13:21] <jgraham> (it appears that setting and unsetting the async content attribute will do that)
- # [13:29] * Quits: stalled (~stalled@unaffiliated/stalled) (Ping timeout: 252 seconds)
- # [13:30] * Joins: micheil (~micheil@109.231.193.164)
- # [13:34] * Joins: stefan-_ (~music@hiwi0.wi2.uni-trier.de)
- # [13:36] * Quits: remy_|away (~remy@cpc2-brig17-2-0-cust448.3-3.cable.virginmedia.com) (Ping timeout: 250 seconds)
- # [13:36] * Quits: remy|away (~remy@cpc2-brig17-2-0-cust448.3-3.cable.virginmedia.com) (Ping timeout: 252 seconds)
- # [13:41] * Joins: stalled (~stalled@unaffiliated/stalled)
- # [13:51] * Joins: remysharp (~remysharp@cpc2-brig17-2-0-cust448.3-3.cable.virginmedia.com)
- # [14:04] * Quits: remysharp (~remysharp@cpc2-brig17-2-0-cust448.3-3.cable.virginmedia.com) (Quit: Shazam)
- # [14:14] <matjas> jgraham: IIRC setting .async = false on a dynamically inserted script makes sure that the source order is respected as far as dynamically inserted scripts go
- # [14:15] <jgraham> matjas: Possibly. If that is the case I am missing the spec text that ensures it
- # [14:15] <Ms2ger> But not relative to parser-inserted scripts
- # [14:16] <matjas> Ms2ger: exactly
- # [14:16] <matjas> jgraham: http://hsivonen.iki.fi/script-execution/
- # [14:17] <jgraham> Oh, yeah, sorry I misread you
- # [14:19] <MikeSmith> cool to see janv_ working on the HTML5 context-menu feature
- # [14:19] <MikeSmith> http://hg.mozilla.org/mozilla-central/rev/561821863607
- # [14:22] <jgraham> matjas: Yeah, I have read that blog entry before, but this kind of thing is easy to not fully understand until you actually need to solve a problem
- # [14:22] <jgraham> At least for me
- # [14:22] <matjas> MikeSmith: what’s with the `data://www.mozilla.org/favicon.ico`?
- # [14:22] <MikeSmith> hmm
- # [14:22] <MikeSmith> matjas: no idea
- # [14:24] <Ms2ger> Just something invalid to test error handling?
- # [14:25] <matjas> Ms2ger: ah, duh
- # [14:31] * matjas would’ve used data:lolwut
- # [14:31] <MikeSmith> heh
- # [14:32] <Ms2ger> lolwut
- # [14:33] <MikeSmith> so I wonder how well Google Swiffy works
- # [14:34] <MikeSmith> http://swiffy.googlelabs.com/faq.html says "Swiffy supports most of the features in Flash 5" but does that mean you can take most Flash 5 content and generate usable output from it?
- # [14:35] <MikeSmith> being able to author with Flash dev tools and generate Web-platform output is a pretty powerful thing, if it actually works
- # [14:35] * Joins: erlehmann_ (~erlehmann@dslb-178-005-215-172.pools.arcor-ip.net)
- # [14:37] * Quits: erlehmann (~erlehmann@dslb-092-078-139-136.pools.arcor-ip.net) (Ping timeout: 260 seconds)
- # [14:37] <robman> wouldn't being able to author using the Web-platform to generate Web-platform be even betterer MikeSmith? 8)
- # [14:38] * Joins: ttepasse (~ttepasse@ip-109-90-161-169.unitymediagroup.de)
- # [14:38] <MikeSmith> robman: no, not necessarily
- # [14:38] <MikeSmith> not at all, really
- # [14:39] <robman> really...i hate having to run windows/macosx to run adobe tools
- # [14:39] <MikeSmith> I hate using windows/macosx to do anything
- # [14:39] <MikeSmith> linux too
- # [14:40] <MikeSmith> OSes suck
- # [14:40] <MikeSmith> all of them
- # [14:40] <jgraham> MikeSmith: Presumably the flash tools will produce output that is no better than flash in many ways
- # [14:40] <robman> 8)
- # [14:40] <robman> MikeSmith - well you got me there
- # [14:41] * Quits: rimantas (~rimliu@93.93.57.193) (Quit: Leaving)
- # [14:41] * Joins: hta (~hta@62-20-124-50.customer.telia.com)
- # [14:41] <MikeSmith> jgraham: well, the point is the tools make things much easier for devs, they are very good tools in terms of the usability, user-friendliness, ease-of-use or however you want to term it
- # [14:42] <jgraham> Having nice tools is of course good
- # [14:42] <jgraham> But I imagine it will be easy to produce content that is inaccessible to search engines, screenreaders, etc. and hard to do the reverse
- # [14:42] <MikeSmith> in comparison as far as similar tools for producing Web-platform output natively, we are at the level of caveman rubbing sticks together to make fire
- # [14:43] <MikeSmith> jgraham: yeah, point taken
- # [14:43] <MikeSmith> the platform is full of tradeoffs
- # [14:43] * robman like fire
- # [14:43] * robman grunts
- # [14:43] <MikeSmith> heh
- # [14:44] * Joins: JanV (~varga@195.91.87.57)
- # [14:44] * MikeSmith is reminded of the "Fire bad!" scene in Young Frankenstein
- # [14:44] <robman> 8)
- # [14:45] * Quits: janv_ (~varga@195.91.87.57) (Ping timeout: 240 seconds)
- # [14:45] * JanV is now known as janv_
- # [14:46] <MikeSmith> "Ladies and gentlemen of the jury, I'm just a caveman. I fell on some ice and later got thawed out by some of your scientists. Your platform frightens and confuses me"
- # [14:50] * Quits: erlehmann_ (~erlehmann@dslb-178-005-215-172.pools.arcor-ip.net) (Quit: Ex-Chat)
- # [14:53] * Joins: jonatasnona (~jonatas@lba.inpa.gov.br)
- # [14:53] * Quits: tbassetto (~tbassetto@LRouen-151-71-49-64.w80-11.abo.wanadoo.fr) (Quit: Linkinus - http://linkinus.com)
- # [15:03] * Joins: miketaylr (~miketaylr@206.217.92.186)
- # [15:04] * Joins: roc (~chatzilla@121.98.230.221)
- # [15:10] * Quits: agektmr (~Adium@220.109.219.244) (Quit: Leaving.)
- # [15:17] * Quits: boaz (~boaz@li326-230.members.linode.com) (Excess Flood)
- # [15:18] * Joins: tjay_ (~tjay_@ip51ccc57d.adsl-surfen.hetnet.nl)
- # [15:18] * Joins: boaz (~boaz@li326-230.members.linode.com)
- # [15:19] * Joins: mpilgrim (~pilgrim@rrcs-24-206-36-125.midsouth.biz.rr.com)
- # [15:25] * Joins: CvP (~CvP@123.49.21.41)
- # [15:33] * Quits: nessy (~Adium@124-169-135-125.dyn.iinet.net.au) (Quit: Leaving.)
- # [15:44] * Quits: virtuelv (~virtuelv_@pat-tdc.opera.com) (Read error: Operation timed out)
- # [15:45] * Joins: Zeddy (~Zeddy@cable-prv-fe9cdc00-246.dhcp.inet.fi)
- # [15:51] * Quits: hober (~ted@unaffiliated/hober) (Ping timeout: 276 seconds)
- # [15:53] * Joins: woef (~woef@79.232-136-217.adsl-static.isp.belgacom.be)
- # [15:54] * Joins: MacTed (~Thud@63.119.36.36)
- # [15:56] * Joins: hober (~ted@unaffiliated/hober)
- # [16:00] * Quits: Ankheg (~Ankheg@91.224.77.4) (Read error: Connection reset by peer)
- # [16:01] * Quits: micheil (~micheil@109.231.193.164) (Quit: micheil)
- # [16:01] * Joins: mamund (mamund@obsidian.nullshells.net)
- # [16:01] * Joins: simplicity- (~simpli@unaffiliated/simplicity-)
- # [16:02] * Parts: mamund (mamund@obsidian.nullshells.net)
- # [16:19] * Quits: simplicity- (~simpli@unaffiliated/simplicity-) (Quit: simplicity-)
- # [16:24] * FireyFly is now known as FireFly
- # [16:35] * Quits: Lachy (~Lachy@pat-tdc.opera.com) (Quit: Textual IRC Client: http://www.textualapp.com/)
- # [16:41] * Joins: Lachy (~Lachy@pat-tdc.opera.com)
- # [16:42] * Joins: tbassetto (~tbassetto@LRouen-151-71-49-64.w80-11.abo.wanadoo.fr)
- # [17:03] * Quits: roc (~chatzilla@121.98.230.221) (Ping timeout: 250 seconds)
- # [17:04] * Quits: maikmerten (~merten@ls5dhcp197.cs.uni-dortmund.de) (Remote host closed the connection)
- # [17:05] * Joins: simplicity- (~simpli@unaffiliated/simplicity-)
- # [17:12] * Quits: rtuin (~rtuin@dsl-087-195-129-241.solcon.nl) (Quit: Leaving)
- # [17:13] * Joins: saba (~foo@unaffiliated/saba)
- # [17:15] <zcorpan> Ms2ger: you read www-archive?
- # [17:15] <Ms2ger> I skim it sometimes
- # [17:15] <zcorpan> i saw an email from björn with tests for XMLSerializer/DOMParser
- # [17:17] <Ms2ger> Saw those
- # [17:18] <Ms2ger> Those are somewhere near the bottom of my todo list
- # [17:18] <zcorpan> k
- # [17:21] * Joins: sicking (~chatzilla@c-98-210-155-80.hsd1.ca.comcast.net)
- # [17:29] * ericc|away is now known as eric_carlson
- # [17:37] * Joins: mhausenblas (~mhausenbl@wg1-nat.fwgal01.deri.ie)
- # [17:38] * Quits: tbassetto (~tbassetto@LRouen-151-71-49-64.w80-11.abo.wanadoo.fr) (Quit: Linkinus - http://linkinus.com)
- # [17:43] * Quits: Lachy (~Lachy@pat-tdc.opera.com) (Quit: Computer has gone to sleep.)
- # [17:48] * Joins: MikeSmith_ (~MikeSmith@50.27.208.218)
- # [17:51] * Joins: ap (~ap@c-98-248-236-36.hsd1.ca.comcast.net)
- # [17:51] * Quits: sicking (~chatzilla@c-98-210-155-80.hsd1.ca.comcast.net) (Ping timeout: 264 seconds)
- # [17:51] * Quits: MikeSmith (~MikeSmith@50.27.208.218) (Ping timeout: 260 seconds)
- # [17:51] * MikeSmith_ is now known as MikeSmith
- # [17:52] * Quits: zcorpan (~zcorpan@pat.se.opera.com) (Quit: zcorpan)
- # [17:58] * Joins: cryptopsy (~cryptopsy@CPE000d88c30c46-CM00407b862c36.cpe.net.cable.rogers.com)
- # [17:58] <cryptopsy> is there a printable reference for html5 on whatwg.org ?
- # [17:58] * Quits: simplicity- (~simpli@unaffiliated/simplicity-) (Quit: simplicity-)
- # [17:59] <Ms2ger> cryptopsy, whatwg.org/html has a link hidden in the header, IIRC
- # [18:00] <cryptopsy> news, specs, demo, charter ...
- # [18:01] <Ms2ger> Did you miss the /html?
- # [18:02] <Ms2ger> PDF print versions:
- # [18:02] <Ms2ger> A4: http://www.whatwg.org/specs/web-apps/current-work/html-a4.pdf
- # [18:02] <Ms2ger> Letter: http://www.whatwg.org/specs/web-apps/current-work/html-letter.pdf
- # [18:03] * Quits: ap (~ap@c-98-248-236-36.hsd1.ca.comcast.net) (Quit: ap)
- # [18:03] <cryptopsy> how did you find that?
- # [18:04] <Philip`> By going to http://whatwg.org/html then reading it, I expect :-)
- # [18:04] <Ms2ger> And knowing where it was
- # [18:04] * Joins: jacobolus (~jacobolus@c-71-198-169-213.hsd1.ca.comcast.net)
- # [18:04] <Philip`> I suppose that helps too
- # [18:07] <jgraham> cryptopsy: Basically there are three stages: 1) Become a Hixie fanboi and hang on his every edit b) Get asked question about the spec c) Use knowledge gained from a) to answer b) and so impress girls/boys (depending on preference)
- # [18:07] <cryptopsy> i looked at the header for whatwg.org
- # [18:08] <cryptopsy> jgraham: i'm new to webdev, don't the html people publish a reference or spec for people to base on?
- # [18:08] <cryptopsy> thanks
- # [18:08] <cryptopsy> Ms2ger: ^
- # [18:08] <jgraham> cryptopsy: Base what on?
- # [18:09] <Ms2ger> whatwg.org/html
- # [18:09] <cryptopsy> some sort of document that lists all the possible tags and their usage, like how LaTeX has?
- # [18:09] <jgraham> The spec is big and complex and user unfriendly because browsers are big and complex and their codebases are unfriendly
- # [18:09] <cryptopsy> jgraham: where is this spec? i need those additional details
- # [18:09] <zewt> friendly enough to me
- # [18:09] <cryptopsy> zewt: now you're just teasing me ..
- # [18:09] <zewt> perhaps in part due to years of reading specs from ietf and friends
- # [18:09] <jgraham> And the spec is designed to allow different big unfriendly browsers to get on without having an all out war and destroying all the little people
- # [18:10] <jgraham> cryptopsy: But for authors all the complexity isn't usually needed
- # [18:10] <zewt> jgraham: depends heavily on what part of the system you're looking at, though
- # [18:10] * Joins: simplicity- (~simpli@unaffiliated/simplicity-)
- # [18:10] <zewt> some parts are easier to understand clearly from the spec than other docs
- # [18:10] <jgraham> There is a stylesheet you can apply that will remove implementation requirments from the spec
- # [18:11] * dglazkov|away is now known as dglazkov
- # [18:11] <dglazkov> good morning, Whatwg!
- # [18:11] <jgraham> Or you can look at http://dev.w3.org/html5/markup/
- # [18:11] <zewt> in one limited slice of the planet, i suppose
- # [18:12] <cryptopsy> jgraham: true
- # [18:12] <jgraham> zewt: "i'm new to webdev" does suggest that the finer points of how to schedule scripts might be a few orders of magnitude too complex at this stage
- # [18:13] <cryptopsy> not new to browsers and encoding though
- # [18:13] <zewt> someone new to web development probably wants any 101 documentation and some code to squint at, anyway
- # [18:13] <cryptopsy> im not using this to make a blog or post pictures of cats and my 95 year old grandmother
- # [18:13] <zewt> poor cats/grandmothers
- # [18:14] <cryptopsy> so where's this super detailed doc at?
- # [18:14] * Quits: hij1nx (~hij1nx@cpe-98-14-168-178.nyc.res.rr.com) (Quit: hij1nx)
- # [18:15] <zewt> i'm not sure we know what you're asking for
- # [18:16] <zewt> if you want a list of tags, jgraham's link gives that
- # [18:19] <zewt> the actual spec for html elements is at http://www.whatwg.org/specs/web-apps/current-work/complete/#auto-toc-4
- # [18:21] <zewt> the stuff in there is really not all that scary, IMO
- # [18:21] <Ms2ger> zewt, that section does include many of the finer points of script timing ;)
- # [18:22] <zewt> as with any detailed documentation, you do have to recognize when to skip a section you don't care about :)
- # [18:28] * Quits: simplicity- (~simpli@unaffiliated/simplicity-) (Quit: simplicity-)
- # [18:29] * Joins: simplicity-- (~simplicit@80-71-135-15.u.parknet.dk)
- # [18:30] * Quits: woef (~woef@79.232-136-217.adsl-static.isp.belgacom.be) (Ping timeout: 240 seconds)
- # [18:31] * simplicity-- is now known as simplicity-
- # [18:31] * Quits: simplicity- (~simplicit@80-71-135-15.u.parknet.dk) (Changing host)
- # [18:31] * Joins: simplicity- (~simplicit@unaffiliated/simplicity-)
- # [18:36] * Joins: micheil (~micheil@93-97-176-250.zone5.bethere.co.uk)
- # [18:38] * Joins: hij1nx (~hij1nx@207.239.107.3)
- # [18:57] * Joins: ap (~ap@2620:149:4:401:14ef:e1b2:a19b:dd60)
- # [19:00] * Quits: jcranmer (~jcranmer@ltsp2.csl.tjhsst.edu) (Ping timeout: 240 seconds)
- # [19:05] * Quits: espadrine (~thaddee_t@LNeuilly-152-22-27-243.w193-251.abo.wanadoo.fr) (Quit: espadrine)
- # [19:06] * Joins: sicking (~chatzilla@nat/mozilla/x-peupvbalbkjoupfk)
- # [19:07] * Joins: jcranmer (~jcranmer@ltsp2.csl.tjhsst.edu)
- # [19:13] * Joins: maikmerten (~maikmerte@port-92-201-95-149.dynamic.qsc.de)
- # [19:14] <TabAtkins> telnet towel.blinkenlights.nl
- # [19:14] <TabAtkins> do it now
- # [19:14] <TabAtkins> NOW
- # [19:14] * Quits: tjay_ (~tjay_@ip51ccc57d.adsl-surfen.hetnet.nl) (Quit: tjay_)
- # [19:16] * Quits: jcranmer (~jcranmer@ltsp2.csl.tjhsst.edu) (Ping timeout: 258 seconds)
- # [19:17] * Joins: jwalden (~waldo@nat/mozilla/x-nnwzfnqqnvakpvkw)
- # [19:17] * Joins: jcranmer (~jcranmer@ltsp2.csl.tjhsst.edu)
- # [19:19] * Quits: abarth (~abarth@173-164-128-209-SFBA.hfc.comcastbusiness.net) (Quit: abarth)
- # [19:20] * Quits: jonatasnona (~jonatas@lba.inpa.gov.br) (Quit: Saindo)
- # [19:22] * Quits: jcranmer (~jcranmer@ltsp2.csl.tjhsst.edu) (Ping timeout: 252 seconds)
- # [19:25] * Quits: othermaciej (~mjs@c-24-6-209-6.hsd1.ca.comcast.net) (Quit: othermaciej)
- # [19:34] * Joins: rniwa (~rniwa@nat/google/x-dyxmnlrzzorlkaui)
- # [19:36] * Joins: nonge (~nonge@p50829E1C.dip.t-dialin.net)
- # [19:41] * Joins: astearns (~anonymous@192.150.22.5)
- # [19:42] * Joins: othermaciej (~mjs@67.218.109.46)
- # [19:44] * Joins: espadrine (~thaddee_t@acces0186.res.insa-lyon.fr)
- # [19:45] <hober> classic
- # [19:49] * Quits: mhausenblas (~mhausenbl@wg1-nat.fwgal01.deri.ie) (Quit: brb)
- # [19:50] * Joins: zdobersek (~zan@cpe-46-164-3-230.dynamic.amis.net)
- # [19:50] * Joins: swarren08 (~swarren08@173.218.169.72)
- # [19:53] * Joins: Bass10 (Bass10@c-76-113-194-7.hsd1.mn.comcast.net)
- # [19:54] * Quits: maikmerten (~maikmerte@port-92-201-95-149.dynamic.qsc.de) (Remote host closed the connection)
- # [19:58] * Quits: Rik` (~Rik`@mozilla-paris-253-98.cnt.nerim.net) (Remote host closed the connection)
- # [20:04] * Joins: dbaron (~dbaron@173-228-28-196.dsl.dynamic.sonic.net)
- # [20:14] * Quits: stefan-_ (~music@hiwi0.wi2.uni-trier.de) (Quit: Verlassend)
- # [20:14] * Joins: stefan-_ (~music@hiwi0.wi2.uni-trier.de)
- # [20:22] * Joins: jcranmer (~jcranmer@ltsp2.csl.tjhsst.edu)
- # [20:27] * Quits: jcranmer (~jcranmer@ltsp2.csl.tjhsst.edu) (Ping timeout: 252 seconds)
- # [20:28] * Joins: jcranmer (~jcranmer@ltsp2.csl.tjhsst.edu)
- # [20:32] * Quits: jcranmer (~jcranmer@ltsp2.csl.tjhsst.edu) (Ping timeout: 246 seconds)
- # [20:32] * Joins: Rik` (~Rik`@mozilla-paris-253-98.cnt.nerim.net)
- # [20:33] * Quits: Rik` (~Rik`@mozilla-paris-253-98.cnt.nerim.net) (Remote host closed the connection)
- # [20:44] * Quits: eric_carlson (~eric_carl@2620:149:4:401:217:f2ff:fe03:a2e) (Quit: eric_carlson)
- # [20:45] * Quits: othermaciej (~mjs@67.218.109.46) (Quit: othermaciej)
- # [20:48] * Joins: erlehmann (~erlehmann@89.204.137.69)
- # [20:49] * Joins: nimbu (~Adium@c-24-18-47-160.hsd1.wa.comcast.net)
- # [20:53] * Joins: eric_carlson (~eric_carl@2620:149:4:401:217:f2ff:fe03:a2e)
- # [20:55] * Quits: micheil (~micheil@93-97-176-250.zone5.bethere.co.uk) (Quit: micheil)
- # [21:03] * Joins: othermaciej (~mjs@17.246.18.126)
- # [21:04] * Joins: scor (~scor@drupal.org/user/52142/view)
- # [21:04] * Quits: scor (~scor@drupal.org/user/52142/view) (Excess Flood)
- # [21:05] * Joins: jcranmer (~jcranmer@ltsp2.csl.tjhsst.edu)
- # [21:07] * Joins: jarek (~jarek@83.27.242.38)
- # [21:07] * Quits: jarek (~jarek@83.27.242.38) (Changing host)
- # [21:07] * Joins: jarek (~jarek@unaffiliated/jarek)
- # [21:09] * Quits: hta (~hta@62-20-124-50.customer.telia.com) (Quit: Leaving.)
- # [21:10] * Quits: erlehmann (~erlehmann@89.204.137.69) (Quit: Ex-Chat)
- # [21:11] * Joins: erlehmann (~erlehmann@89.204.137.69)
- # [21:14] * Quits: jcranmer (~jcranmer@ltsp2.csl.tjhsst.edu) (Ping timeout: 252 seconds)
- # [21:20] <Hixie> janv_: agreed; can you file a bug or send e-mail? (filing a bug is really easy; just use the little text field in the bottom right of the spec)
- # [21:25] * Quits: jer|afk (~jernoble@17.203.12.89) (Ping timeout: 264 seconds)
- # [21:25] * Joins: jcranmer (~jcranmer@ltsp2.csl.tjhsst.edu)
- # [21:28] * Joins: Lachy (~Lachy@cm-84.215.59.50.getinternet.no)
- # [21:28] * Quits: erlehmann (~erlehmann@89.204.137.69) (Quit: Ex-Chat)
- # [21:30] * Quits: Lachy (~Lachy@cm-84.215.59.50.getinternet.no) (Client Quit)
- # [21:31] * Joins: scor (~scor@drupal.org/user/52142/view)
- # [21:31] * Quits: scor (~scor@drupal.org/user/52142/view) (Excess Flood)
- # [21:35] <jarek> Hi
- # [21:36] <Ms2ger> Evening
- # [21:36] <jarek> Let's say there is an iframe that is 1000px wide and that was scaled down with CSS3 transforms by half with '-webkit-transform: scale(0.5)'
- # [21:36] <jarek> should the media queries inside the iframe assume that its width is 1000px or 500px?
- # [21:37] <jarek> on Safari they assume that the width is 500px, on Chrome they assume 500px
- # [21:37] <jarek> no, I mean the opposite
- # [21:38] <jarek> On Chrome scalling an iframe does not change the behavior of media queries
- # [21:38] <jarek> is this a bug?
- # [21:39] <jarek> s/ on Safari they assume that the width is 500px, on Chrome they assume 500px/ on Safari they assume that the width is 500px, on Chrome they assume 1000px
- # [21:39] * Joins: zcorpan (~zcorpan@pat.se.opera.com)
- # [21:40] <espadrine> The spec states that in a <script> with a src="", the content of <script>...</script> can only be comments.
- # [21:40] <espadrine> Is this implemented in major browsers?
- # [21:40] * Quits: nimbu (~Adium@c-24-18-47-160.hsd1.wa.comcast.net) (Remote host closed the connection)
- # [21:40] <Philip`> espadrine: That is purely an authoring conformance requirement, it doesn't affect browsers
- # [21:41] * Quits: jcranmer (~jcranmer@ltsp2.csl.tjhsst.edu) (Ping timeout: 276 seconds)
- # [21:41] <Philip`> (Browsers don't run the content of the script element at all, regardless of what's in there, if it has a src attribute)
- # [21:41] * Quits: swarren08 (~swarren08@173.218.169.72) (Read error: Connection reset by peer)
- # [21:42] <espadrine> Philip`: ok. Makes sense.
- # [21:42] <Philip`> (The requirement is there as a way of warning authors when they think they've written script code that will get executed but won't)
- # [21:42] * Joins: swarren08 (~swarren08@173.218.169.72)
- # [21:42] <espadrine> Do you still get it through script.text though?
- # [21:42] <Philip`> (without making loads of existing pages that put comments inside scripts non-conforming)
- # [21:42] <Ms2ger> Yep
- # [21:43] <smaug____> hmm, probably too late to change message channels :(
- # [21:44] <espadrine> ok
- # [21:44] <smaug____> though, they are not yet implemented everywhere, so web doesn't really depend on them
- # [21:45] * Parts: brucel (~brucel@cpc3-smal11-2-0-cust48.perr.cable.virginmedia.com)
- # [21:45] * Quits: ezoe (~ezoe@203-140-90-135f1.kyt1.eonet.ne.jp) (Ping timeout: 255 seconds)
- # [21:46] * Joins: jcranmer (~jcranmer@ltsp2.csl.tjhsst.edu)
- # [21:48] * Joins: ttepasse- (~ttepasse@ip-109-90-161-169.unitymediagroup.de)
- # [21:48] * Quits: jacobolus (~jacobolus@c-71-198-169-213.hsd1.ca.comcast.net) (Remote host closed the connection)
- # [21:48] * Quits: sicking (~chatzilla@nat/mozilla/x-peupvbalbkjoupfk) (Ping timeout: 258 seconds)
- # [21:49] * Joins: ezoe (~ezoe@203-140-89-234f1.kyt1.eonet.ne.jp)
- # [21:50] * Quits: ttepasse (~ttepasse@ip-109-90-161-169.unitymediagroup.de) (Read error: Operation timed out)
- # [21:51] * Quits: eric_carlson (~eric_carl@2620:149:4:401:217:f2ff:fe03:a2e) (Quit: eric_carlson)
- # [21:51] * Quits: jcranmer (~jcranmer@ltsp2.csl.tjhsst.edu) (Ping timeout: 264 seconds)
- # [21:55] * Joins: KillerX (~anant@nat/mozilla/x-ukiifcgxmawughub)
- # [21:56] * Joins: eric_carlson (~eric_carl@2620:149:4:401:217:f2ff:fe03:a2e)
- # [21:59] * Joins: hta (~hta@c213-89-141-213.bredband.comhem.se)
- # [22:00] * Quits: jarek (~jarek@unaffiliated/jarek) (Ping timeout: 276 seconds)
- # [22:01] * Quits: othermaciej (~mjs@17.246.18.126) (Quit: othermaciej)
- # [22:02] * Joins: jcranmer (~jcranmer@ltsp2.csl.tjhsst.edu)
- # [22:06] * Quits: jcranmer (~jcranmer@ltsp2.csl.tjhsst.edu) (Ping timeout: 258 seconds)
- # [22:07] * Joins: jcranmer (~jcranmer@ltsp2.csl.tjhsst.edu)
- # [22:08] * Joins: micheil (~micheil@2001:470:92f1:0:fa1e:dfff:feda:a04e)
- # [22:08] * Joins: othermaciej (~mjs@17.245.18.14)
- # [22:09] * Quits: zdobersek (~zan@cpe-46-164-3-230.dynamic.amis.net) (Ping timeout: 252 seconds)
- # [22:11] * Quits: jcranmer (~jcranmer@ltsp2.csl.tjhsst.edu) (Ping timeout: 258 seconds)
- # [22:14] <zcorpan> smaug____: what would you want to change with message channels?
- # [22:16] <smaug____> still reviewing all the stuff, but I think I'd like to remove MessageChannel :)
- # [22:17] <smaug____> I guess it would be quite hard to convince others to do that.
- # [22:18] <zcorpan> why remove?
- # [22:18] <smaug____> there is no real use for it
- # [22:20] <zcorpan> hmm
- # [22:20] <smaug____> I'd rather do something like var newPort = otherWindow.createPort("portName"); newPort.postMessage("foobardata");
- # [22:22] * Joins: jcranmer (~jcranmer@ltsp2.csl.tjhsst.edu)
- # [22:22] * Quits: miketaylr (~miketaylr@206.217.92.186) (Quit: miketaylr)
- # [22:25] * Quits: Ms2ger (~Ms2ger@91.181.200.6) (Quit: nn)
- # [22:26] <smaug____> the whole port transfer is quite awkward
- # [22:26] <zcorpan> yeah i must say i get confused by the ports thingies
- # [22:27] <zcorpan> but i don't know what a better api would be
- # [22:27] <zcorpan> i look forward to your conclusions and proposals
- # [22:27] <smaug____> well, just create a new port and the other end could get "connect" event which had .port as a property
- # [22:28] * Joins: davidb_ (~davidb@bas4-kitchener06-1128762161.dsl.bell.ca)
- # [22:34] * Joins: sicking (~chatzilla@nat/mozilla/x-stipxjwypownearv)
- # [22:37] * Quits: jcranmer (~jcranmer@ltsp2.csl.tjhsst.edu) (Ping timeout: 276 seconds)
- # [22:39] <smaug____> Hixie: ping
- # [22:51] * Quits: MacTed (~Thud@63.119.36.36)
- # [22:52] * Quits: ezoe (~ezoe@203-140-89-234f1.kyt1.eonet.ne.jp) (Quit: And Now for Something Completely Different.)
- # [22:52] * Joins: jcranmer (~jcranmer@ltsp2.csl.tjhsst.edu)
- # [22:57] * Quits: jcranmer (~jcranmer@ltsp2.csl.tjhsst.edu) (Ping timeout: 258 seconds)
- # [23:00] * Joins: cpearce (~chatzilla@ip-118-90-75-31.xdsl.xnet.co.nz)
- # [23:00] * Quits: hta (~hta@c213-89-141-213.bredband.comhem.se) (Ping timeout: 264 seconds)
- # [23:02] <Hixie> smaug____: pong
- # [23:03] <smaug____> Hixie: what is the use case for MessageChannel?
- # [23:03] * Joins: jcranmer (~jcranmer@ltsp2.csl.tjhsst.edu)
- # [23:03] <smaug____> why not just create ports on both sides
- # [23:03] <Hixie> both sides of what?
- # [23:03] <Hixie> the use case is the capabilities model. bascially the ability to send someone an API endpoint.
- # [23:03] <smaug____> but why?
- # [23:04] <Hixie> why what?
- # [23:04] <smaug____> why you need the ability to send API endpoint
- # [23:04] <smaug____> why couldn't you just create end point on both sides
- # [23:04] <Hixie> both sides of what??
- # [23:04] <smaug____> say, you have two windows...
- # [23:04] * Quits: othermaciej (~mjs@17.245.18.14) (Quit: othermaciej)
- # [23:05] <smaug____> var port = otherWindow.createPort("name-of-the-port"); // this would cause "connect" event in the otherWindow
- # [23:05] <smaug____> similar could work with workers
- # [23:05] <Hixie> you don't know how you've got on the other end, that's the whole point
- # [23:05] <Hixie> say you are providing an API to, I dunno, add someone to a contact list
- # [23:06] <Hixie> say you're a webmail app
- # [23:06] <Hixie> and you have a contact list
- # [23:06] <Hixie> and the contact list has an API, and one of the operations is "add someone to the contact list"
- # [23:06] <smaug____> and?
- # [23:06] <Hixie> if another part of the app wants to add someone to the contact list, they could get the local contacts API object, and then ask it to add to the contac tlist
- # [23:07] <Hixie> but what if the contact list wants to be implemented in another thread?
- # [23:07] <Hixie> now the contact API has to proxy everything though
- # [23:07] <Hixie> what if it's in another domain? now you have to proxy through to an iframe and then from there to the worker, etc
- # [23:08] <Hixie> now say that the contact list wants to grant the original user of this API the right to delete the user they added, but no other
- # [23:08] * Quits: jcranmer (~jcranmer@ltsp2.csl.tjhsst.edu) (Ping timeout: 250 seconds)
- # [23:08] <Hixie> how would you do it?
- # [23:08] <Hixie> with message channels, you can do all this trivially.
- # [23:08] <Hixie> there's no need to proxy anything -- the messages just end up at the right end point
- # [23:08] <smaug____> ah, you want to move the port first via window level postMessage and then post it to a worker?
- # [23:09] <Hixie> there's no need to worry about permissions, you just give back a port and then whoever has that port can just delete that one contact.
- # [23:09] <Hixie> etc.
- # [23:09] * heycam|away is now known as heycam
- # [23:09] <Hixie> for example, yeah
- # [23:09] <Hixie> this is just a specific example of the capabilities programming model
- # [23:09] <Hixie> it's like functional programming, it's just a style
- # [23:09] <Hixie> i mean it's like saying "what's the use case for functions being first-class objects"
- # [23:09] <Hixie> or "what's the use case for object-orientated programming"
- # [23:10] <smaug____> it is just quite awkward
- # [23:10] <Hixie> it's just another tool
- # [23:10] * Quits: davidb_ (~davidb@bas4-kitchener06-1128762161.dsl.bell.ca) (Quit: davidb_)
- # [23:11] <Hixie> (a very powerful one, much like oop and lambdas)
- # [23:11] <Hixie> how is it awkward?
- # [23:11] <smaug____> when for common cases creating ports could be enough
- # [23:11] <smaug____> no need to transfer anything
- # [23:11] <Hixie> ?
- # [23:11] <smaug____> but ok, what you explained is something which isn't clear when reading the drafts
- # [23:12] * Joins: othermaciej (~mjs@17.246.17.189)
- # [23:12] <Hixie> yeah the drafts assume you know this programming style and that you'll recognise it :-)
- # [23:12] <Hixie> i should probably have an intro section that explains it or something
- # [23:12] <Hixie> but i'm not good at explaining it
- # [23:12] <smaug____> Also, "objects listed in transfer have already been transfered once before, then throw a DATA_CLONE_ERR exception and abort these steps" is easy to misread
- # [23:13] <smaug____> since I wasn't sure whether one can re-transfer a port
- # [23:13] <Hixie> that refers to the objects, not the underlying port, but yeah, i see what you mean
- # [23:14] <smaug____> I still don't see the need to MessageChannel
- # [23:14] <smaug____> for
- # [23:14] * Joins: jcranmer (~jcranmer@ltsp2.csl.tjhsst.edu)
- # [23:14] <smaug____> If one could create ports using createPort or such
- # [23:14] <Hixie> createPort === MessageChannel
- # [23:14] <smaug____> very much so
- # [23:14] <Hixie> MessageChannel is nothing but a port constructor
- # [23:15] <smaug____> and a bit strange one
- # [23:15] <smaug____> since I the idea is that the other port is sent to somewhere
- # [23:15] <Hixie> are you familiar with unix socket programming?
- # [23:15] <smaug____> yes
- # [23:15] <Hixie> think of ports as pipes.
- # [23:15] <Hixie> or rather, sockets
- # [23:16] <Hixie> when you create a pipe (two sockets) you get both end points
- # [23:16] <smaug____> sure
- # [23:16] <Hixie> in exactly the way MessageChannel gives you two ports
- # [23:16] <Hixie> this is just trying to bring that programming model to JS authors
- # [23:16] <smaug____> but why do you need both ends
- # [23:16] <smaug____> when you're going to use one end in one context and the other some other context
- # [23:19] <Hixie> i don't understand the question
- # [23:19] <smaug____> MessageChannel creates two ports in the same context
- # [23:19] <smaug____> and then usually, I assume, the other port is sent to otherWindow or worker or whatever
- # [23:19] * Joins: roc (~chatzilla@203-97-204-82.dsl.clear.net.nz)
- # [23:19] <smaug____> right?
- # [23:19] <Hixie> it can be, doesn't have to be
- # [23:19] <smaug____> but that is the basic use case, right?
- # [23:19] <Hixie> just like when you create a pipe you often pass one socket to somewhere else
- # [23:19] * Quits: saba (~foo@unaffiliated/saba) (Quit: leaving)
- # [23:20] * Joins: tjay_ (~tjay_@ip51ccc57d.adsl-surfen.hetnet.nl)
- # [23:20] <smaug____> Why couldn't you just call otherWindow.createPort() which would create one end in the executing context and one port in otherWindow
- # [23:20] <smaug____> if you really want to, you could call window.createPort()
- # [23:20] <Hixie> so you'd have otherWindow.createPort, worker.createPort, port.createPort, etc?
- # [23:20] <smaug____> yes
- # [23:21] <Hixie> that would be like having Object.addFunction, Array.addFunction, String.addFunction, etc, instead of having a Function constructor
- # [23:21] <Hixie> i mean i guess it's fine, but it's certainly not what i would describe as neat orthogonal api design
- # [23:21] <smaug____> that would be like having addEventListener in all the EventTarget objects
- # [23:22] <Hixie> no, addEventListener() doesn't create anything
- # [23:23] <smaug____> actually, window, worker and port should all inherit, if possible, some comment base interface
- # [23:23] <smaug____> s/comment/common/
- # [23:23] <Hixie> well they all inherit from EventTarget now so that's not an option anymore
- # [23:23] <smaug____> you could add something between eventtarget and the current interface :)
- # [23:23] <Hixie> anyway sometimes you just want a standalone message channel because you're goign to be passing it to a callback
- # [23:24] <Hixie> the fact that you're going to send the port to someone else is not something you should need to care about when you're creating the port
- # [23:24] <Hixie> the port itself is just a capability endpoint
- # [23:24] <Hixie> you might keep it in your context, or you might not
- # [23:24] <Hixie> that's besides the point
- # [23:25] <zewt> passing them around with structured clone also means you're passing them around with an existing communications interface, rather than defining a separate event
- # [23:26] <smaug____> I thought the point is to create communication channels between different "contexts"
- # [23:26] <zewt> eg. so you can receive a message { type: "email", target: "user@example.com", portForThisInterface: aMessagePort }
- # [23:27] <Hixie> smaug____: no, the point is to create a capability token.
- # [23:27] <smaug____> huh
- # [23:27] <Hixie> smaug____: it just so happens that many times, this will be used in a different context, because in the same context you could get the same effect with a simple function reference
- # [23:27] <smaug____> anyway, as of now, I don't think we have plans to implement MessageChannels
- # [23:28] <Hixie> the capability programming people will be sad
- # [23:31] <smaug____> and, for the common case createPort would make more sense
- # [23:31] <Hixie> common case of what?
- # [23:31] <zewt> smaug: not really
- # [23:31] <smaug____> that you want to enable communication between two different contexts
- # [23:31] <Hixie> no
- # [23:31] <Hixie> capability tokens aren't about communicating between different contexts
- # [23:32] <zewt> it'd separate port creation from other messages, so if you want to create a port with other information attached to it (a description of the port so the other side knows what to do with it), you'd end up duplicating messaging functionality
- # [23:32] <Hixie> any more than object orientated programming is about, say, allocating memory. or function dispatch.
- # [23:32] <Hixie> they're related, but that's no the point of the feature.
- # [23:32] <smaug____> in practice port is all about communication, like sockets
- # [23:33] <Hixie> i would imagine that most people writing code that creates capability tokens have the code creating the token quite separate from the communication bootstrapping code
- # [23:37] * smaug____ disagrees, but knew that trying get rid of MessageChannel would be hard :)
- # [23:37] <Hixie> you didn't even know what capability tokens were an hour ago, i don't think you have much credibility in terms of opinions on how caps programming is done :-P
- # [23:38] <smaug____> that is not the point
- # [23:38] <smaug____> the point is to have easy to use APIs for web devs
- # [23:41] <Hixie> i'm sure we can all agree on that point
- # [23:45] * Joins: KillerX_ (~anant@nat/mozilla/x-mlztibwlebbjfkfe)
- # [23:47] * Quits: janv_ (~varga@195.91.87.57) (Quit: This computer has gone to sleep)
- # [23:47] <Hixie> if anyone has opinions on http://www.w3.org/Bugs/Public/show_bug.cgi?id=12306 it would be helpful if you could put them in the bug. Right now I'm leaning towards leaving the MUST in, which makes a lot of <canvas>-based apps non-conforming currently (especially games).
- # [23:49] <Hixie> hober: any chance we can get the csswg to use bugzilla?
- # [23:49] * Quits: KillerX (~anant@nat/mozilla/x-ukiifcgxmawughub) (Read error: Operation timed out)
- # [23:49] * KillerX_ is now known as KillerX
- # [23:51] <jgraham> Hixie: I think that bug is angels on the head os a pin stuff that will have no effect on any part of the real world. So I wouldn't spend any time on it
- # [23:51] <jgraham> I also agree that having to pass around message ports seems weirdly cumbersome, but it does sound quite powerful
- # [23:52] * Joins: davidb_ (~davidb@bas4-kitchener06-1128762161.dsl.bell.ca)
- # [23:53] * Quits: micheil (~micheil@2001:470:92f1:0:fa1e:dfff:feda:a04e) (Ping timeout: 260 seconds)
- # [23:54] <Hixie> unless you're using their power, you're really not going to need to send them over at all, as far as i can tell. for example workers create them implicitly.
- # [23:54] <jgraham> (it might alos be nice if the spec used the word "connected" rather than "entangled" since afaict that is the concept that you are expressing)
- # [23:54] <Hixie> i try to use different words so that you can more easily search for them
- # [23:54] <Hixie> "connect" is used for far too many concepts already
- # [23:55] <jgraham> In this case it sounds like you chose a difficult sounding word at random from a physcs textbook :)
- # [23:55] <jgraham> "Coupled" would have worked too
- # [23:55] <jgraham> Anyway it is not important
- # [23:56] <jgraham> There was already some big debate about the order of arguments in 3 argument postMessage wasn't there?
- # [23:57] <Hixie> well "entangled" in the quantum sense does rather describe what's going on here
- # [23:57] <jgraham> So it would be unwise of me to say that the current spec seems very strange
- # [23:57] * Joins: davidwalsh (~davidwals@75-135-74-55.dhcp.mdsn.wi.charter.com)
- # [23:57] <Hixie> i do not recall one way or the other
- # [23:57] * Quits: davidwalsh (~davidwals@75-135-74-55.dhcp.mdsn.wi.charter.com) (Client Quit)
- # [23:57] <Hixie> if it's implemented i don't intend to change it
- # [23:58] <jgraham> Sure.
- # [23:58] <jgraham> I have no idea if this is implemented
- # [23:58] <jgraham> Presumably it is webkit-only if it is
- # [23:59] * Quits: davidb_ (~davidb@bas4-kitchener06-1128762161.dsl.bell.ca) (Quit: davidb_)
- # [23:59] <Hixie> what's the order and what do you want it to do?
- # Session Close: Wed Aug 10 00:00:00 2011
The end :)