Options:
- # Session Start: Mon Jan 07 00:00:00 2013
- # Session Ident: #whatwg
- # [00:10] * Quits: carbonix (~vcarbune@79.119.87.22) (Ping timeout: 272 seconds)
- # [00:11] * Quits: Smylers1 (~smylers@host86-157-183-117.range86-157.btcentralplus.com) (Quit: Leaving.)
- # [00:34] * Joins: dbaron (~dbaron@173-228-85-58.dsl.dynamic.sonic.net)
- # [00:38] * Quits: tomasf (~tom@c-44dbe555.024-204-6c6b7012.cust.bredbandsbolaget.se) (Quit: tomasf)
- # [00:42] * Quits: jamesr_ (~jamesr@173-164-251-190-SFBA.hfc.comcastbusiness.net) (Quit: jamesr_)
- # [00:44] * Quits: svl (~me@86.87.68.167) (Quit: And back he spurred like a madman, shrieking a curse to the sky.)
- # [01:07] * Quits: annevk (~annevk@a82-161-179-17.adsl.xs4all.nl) (Remote host closed the connection)
- # [01:08] * Joins: annevk (~annevk@a82-161-179-17.adsl.xs4all.nl)
- # [01:09] * Quits: falken (falken@nat/google/x-pzczoevrqgehcqlx) (Quit: leaving)
- # [01:10] * Joins: jamesr_ (~jamesr@173-164-251-190-SFBA.hfc.comcastbusiness.net)
- # [01:11] * Quits: teleject (~christoph@cpe-68-201-93-192.stx.res.rr.com) (Ping timeout: 264 seconds)
- # [01:12] * Quits: annevk (~annevk@a82-161-179-17.adsl.xs4all.nl) (Ping timeout: 264 seconds)
- # [01:23] * Quits: seventh (seventh@216.166.10.132) (Ping timeout: 272 seconds)
- # [01:36] * Joins: plutoniix (~plutoniix@ppp-110-168-237-188.revip5.asianet.co.th)
- # [01:41] * Quits: yorick (~yorick@oftn/member/yorick) (Remote host closed the connection)
- # [01:44] * Quits: jamesr_ (~jamesr@173-164-251-190-SFBA.hfc.comcastbusiness.net) (Quit: jamesr_)
- # [02:14] * Quits: weinig (~weinig@2620:149:4:1b01:501:2ccc:4443:a30) (Quit: weinig)
- # [02:18] * Quits: SimonSapin (~simon@ip-166.net-89-2-153.rev.numericable.fr) (Ping timeout: 260 seconds)
- # [02:20] * Joins: karlcow (~karl@nerval.la-grange.net)
- # [02:21] * heycam is now known as heycam|away
- # [02:22] * Joins: annevk (~annevk@a82-161-179-17.adsl.xs4all.nl)
- # [02:26] * Quits: drdt (~dydz@coffeebar.static.monkeybrains.net) (Quit: drdt)
- # [02:36] * Joins: drdt (~dydz@coffeebar.static.monkeybrains.net)
- # [02:49] * Quits: kinetik (~kinetik@121.99.55.208) (Quit: leaving)
- # [02:55] * Quits: annevk (~annevk@a82-161-179-17.adsl.xs4all.nl) (Remote host closed the connection)
- # [02:55] * Joins: annevk (~annevk@a82-161-179-17.adsl.xs4all.nl)
- # [02:56] * heycam|away is now known as heycam
- # [02:58] <Hixie> man, why is utf-8 so hard for libraries to get right
- # [02:58] * Quits: drdt (~dydz@coffeebar.static.monkeybrains.net) (Quit: drdt)
- # [03:00] * Quits: annevk (~annevk@a82-161-179-17.adsl.xs4all.nl) (Ping timeout: 272 seconds)
- # [03:08] * Joins: kochi_ (~kochi@2401:fa00:4:1004:26be:5ff:fe03:db82)
- # [03:17] * Joins: jsoncorwin (~textual@c-98-210-130-242.hsd1.ca.comcast.net)
- # [03:21] * Joins: weinig (~weinig@24.130.60.35)
- # [03:21] * Joins: xiinotulp (~plutoniix@ppp-115-87-220-230.revip4.asianet.co.th)
- # [03:24] * Quits: plutoniix (~plutoniix@ppp-110-168-237-188.revip5.asianet.co.th) (Ping timeout: 255 seconds)
- # [03:24] * Quits: xiinotulp (~plutoniix@ppp-115-87-220-230.revip4.asianet.co.th) (Read error: Connection reset by peer)
- # [03:26] * Joins: plutoniix (~plutoniix@ppp-58-11-100-125.revip2.asianet.co.th)
- # [03:33] * Joins: mattgifford (~mattgiffo@108.161.20.199)
- # [03:39] * Joins: skcin7 (~skcin7@c-68-38-156-213.hsd1.nj.comcast.net)
- # [03:58] * Joins: dydx (~dydz@76-220-18-65.lightspeed.sntcca.sbcglobal.net)
- # [04:01] * Quits: mattgifford (~mattgiffo@108.161.20.199) (Remote host closed the connection)
- # [04:02] * Joins: mattgifford (~mattgiffo@108.161.20.199)
- # [04:04] * Joins: tantek (~tantek@70-36-139-86.dsl.dynamic.sonic.net)
- # [04:07] * Quits: mattgifford (~mattgiffo@108.161.20.199) (Ping timeout: 264 seconds)
- # [04:09] * Joins: kinetik (~kinetik@121.99.58.216)
- # [04:12] * Joins: nessy (~silviapf@49.176.97.250)
- # [04:18] * Joins: wakaba1 (~wakaba@122x221x184x68.ap122.ftth.ucom.ne.jp)
- # [04:25] * Quits: mbatle (mbatle@pasanda.collabora.co.uk) (Ping timeout: 264 seconds)
- # [04:28] * Joins: mbatle (mbatle@pasanda.collabora.co.uk)
- # [04:28] * Joins: cabanier (~cabanier@c-98-237-137-173.hsd1.wa.comcast.net)
- # [04:33] * Quits: mbatle (mbatle@pasanda.collabora.co.uk) (Ping timeout: 276 seconds)
- # [04:36] * Joins: mbatle (mbatle@pasanda.collabora.co.uk)
- # [04:53] * Joins: mattgifford (~mattgiffo@108.161.20.199)
- # [05:00] * Quits: nessy (~silviapf@49.176.97.250) (Quit: Leaving.)
- # [05:05] * Joins: gavin_ (~gavin@76.14.87.162)
- # [05:11] * Quits: mattgifford (~mattgiffo@108.161.20.199) (Remote host closed the connection)
- # [05:11] * Joins: mattgifford (~mattgiffo@108.161.20.199)
- # [05:16] * Quits: mattgifford (~mattgiffo@108.161.20.199) (Ping timeout: 276 seconds)
- # [05:27] * Joins: mattgifford (~mattgiffo@108.161.20.199)
- # [05:29] * heycam is now known as heycam|away
- # [05:33] * Quits: weinig (~weinig@24.130.60.35) (Quit: weinig)
- # [05:39] * Quits: mattgifford (~mattgiffo@108.161.20.199) (Remote host closed the connection)
- # [05:45] * Quits: boogyman (~boogy@pdpc/supporter/professional/boogyman) (Quit: ChatZilla 0.9.89 [Firefox 17.0.1/20121128204232])
- # [05:48] * heycam|away is now known as heycam
- # [05:56] * Joins: lilmonkey` (~colin@53518387.cm-6-2c.dynamic.ziggo.nl)
- # [05:56] * Quits: lilmonkey` (~colin@53518387.cm-6-2c.dynamic.ziggo.nl) (Changing host)
- # [05:56] * Joins: lilmonkey` (~colin@pdpc/supporter/professional/riven)
- # [05:57] * Quits: Erika_Mustermann (~ident@unaffiliated/erika-mustermann/x-8069748) (Ping timeout: 248 seconds)
- # [05:59] * Quits: lilmonkey (~colin@pdpc/supporter/professional/riven) (Ping timeout: 276 seconds)
- # [06:30] * Quits: cabanier (~cabanier@c-98-237-137-173.hsd1.wa.comcast.net) (Quit: Leaving.)
- # [06:40] * Joins: isherman-book (~Adium@173-167-102-230-sfba.hfc.comcastbusiness.net)
- # [06:53] * heycam is now known as heycam|away
- # [07:02] * Quits: danzik17 (~danzik17@ool-45787007.dyn.optonline.net) (Ping timeout: 272 seconds)
- # [07:04] * Quits: Druide_ (~Druid@ip-178-203-141-163.unitymediagroup.de) (Ping timeout: 248 seconds)
- # [07:21] * Quits: skcin7 (~skcin7@c-68-38-156-213.hsd1.nj.comcast.net)
- # [07:22] * Joins: SimonSapin (~simon@ip-166.net-89-2-153.rev.numericable.fr)
- # [07:26] * Quits: karlcow (~karl@nerval.la-grange.net) (Quit: :tiuQ tiuq sah woclrak)
- # [07:26] * Joins: danzik17 (~danzik17@ool-45787007.dyn.optonline.net)
- # [07:27] * Joins: yoshiki_ (yoshiki@nat/google/x-ovrnvzwxlznrrjku)
- # [07:44] * Quits: dbaron (~dbaron@173-228-85-58.dsl.dynamic.sonic.net) (Ping timeout: 276 seconds)
- # [07:45] * Quits: Zauberfisch (~Zauberfis@2a01:4f8:100:73c3::3) (Ping timeout: 246 seconds)
- # [07:53] * Joins: Zauberfisch (~Zauberfis@2a01:4f8:100:73c3::3)
- # [07:54] * Joins: Smylers (~smylers@host86-157-183-117.range86-157.btcentralplus.com)
- # [07:58] * Joins: maikmerten (~merten@ls5dhcp200.cs.uni-dortmund.de)
- # [07:58] * Quits: danzik17 (~danzik17@ool-45787007.dyn.optonline.net) (Ping timeout: 272 seconds)
- # [08:14] * Quits: Smylers (~smylers@host86-157-183-117.range86-157.btcentralplus.com) (Quit: Leaving.)
- # [08:16] * Quits: eighty4 (~eighty4@unaffiliated/eighty4) (Excess Flood)
- # [08:18] * Joins: eighty4 (~eighty4@unaffiliated/eighty4)
- # [08:18] * Quits: dydx (~dydz@76-220-18-65.lightspeed.sntcca.sbcglobal.net) (Quit: dydx)
- # [08:19] * Joins: [[zzz]] (~q@node-be7.pool-125-25.dynamic.totbb.net)
- # [08:20] * Joins: Ducki (~Ducki@pD9E39D32.dip0.t-ipconnect.de)
- # [08:23] * Quits: [[zz]] (~q@node-mrj.pool-101-108.dynamic.totbb.net) (Ping timeout: 276 seconds)
- # [08:36] * [[zzz]] is now known as [[zz]]
- # [08:37] * Joins: Erika_Mustermann (~ident@unaffiliated/erika-mustermann/x-8069748)
- # [08:51] * Joins: Ducki_ (~Ducki@pD9E386C8.dip0.t-ipconnect.de)
- # [08:54] * Quits: Ducki (~Ducki@pD9E39D32.dip0.t-ipconnect.de) (Ping timeout: 255 seconds)
- # [09:09] * Joins: Ms2ger (~Ms2ger@109.133.41.142)
- # [09:10] * Joins: sedovsek (~robert@89.143.12.238)
- # [09:20] * abstractj|away is now known as abstractj
- # [09:23] * Quits: jonlee (~jonlee@2620:149:4:1b01:2184:ee81:2be8:8c11) (Quit: jonlee)
- # [09:26] * Quits: mbatle (mbatle@pasanda.collabora.co.uk) (Ping timeout: 272 seconds)
- # [09:27] * Joins: henrikkok (~henrikkok@81.27.221.193)
- # [09:31] * Joins: mbatle (mbatle@pasanda.collabora.co.uk)
- # [09:31] * Joins: Kolombiken (~Adium@217.13.228.226)
- # [09:37] * Joins: baku (~baku@217.243.168.51)
- # [09:39] * lilmonkey` is now known as lilmonkey
- # [09:42] * Quits: isherman-book (~Adium@173-167-102-230-sfba.hfc.comcastbusiness.net) (Quit: Leaving.)
- # [09:43] * Joins: carbonix (~vcarbune@79.119.87.22)
- # [09:45] * Quits: SimonSapin (~simon@ip-166.net-89-2-153.rev.numericable.fr) (Ping timeout: 264 seconds)
- # [09:47] * Joins: darobin (~darobin@78.109.80.74)
- # [09:48] * Joins: miketaylr (~miketaylr@pat-tazdevil.opera.com)
- # [09:53] * Joins: Somatt_wrk (~somattwrk@darkstar2.fullsix.com)
- # [09:56] * Joins: hdhoang (~hdhoang@113.190.108.40)
- # [09:57] * Joins: Smylers (~smylers@94.116.66.133)
- # [09:59] * Joins: svl (~me@ip565744a7.direct-adsl.nl)
- # [10:03] * Quits: [[zz]] (~q@node-be7.pool-125-25.dynamic.totbb.net) (Ping timeout: 252 seconds)
- # [10:04] * Joins: [[zz]] (~q@node-be7.pool-125-25.dynamic.totbb.net)
- # [10:05] * Quits: Smylers (~smylers@94.116.66.133) (Ping timeout: 276 seconds)
- # [10:28] * Joins: tomasf (~tomasf@77.72.97.5.c.fiberdirekt.net)
- # [10:28] * Quits: hdhoang (~hdhoang@113.190.108.40) (Quit: Leaving.)
- # [10:32] * Joins: richt (~richt@office.oslo.opera.com)
- # [10:35] * Quits: svl (~me@ip565744a7.direct-adsl.nl) (Quit: And back he spurred like a madman, shrieking a curse to the sky.)
- # [10:37] * Joins: SimonSapin (~simon@2a01:e35:2e8d:b5f0:ea9d:87ff:fe22:e221)
- # [10:40] * Joins: nonge_ (~nonge@p5B326A37.dip.t-dialin.net)
- # [10:42] * Quits: Zauberfisch (~Zauberfis@2a01:4f8:100:73c3::3) (Ping timeout: 246 seconds)
- # [10:44] * Joins: Zauberfisch (~Zauberfis@2a01:4f8:100:73c3::3)
- # [10:44] * Quits: nonge (~nonge@p50829AE1.dip.t-dialin.net) (Ping timeout: 252 seconds)
- # [10:47] * Joins: svl (~me@ip565744a7.direct-adsl.nl)
- # [10:47] * Quits: svl (~me@ip565744a7.direct-adsl.nl) (Client Quit)
- # [10:50] * Quits: maikmerten (~merten@ls5dhcp200.cs.uni-dortmund.de) (Remote host closed the connection)
- # [10:52] * Joins: annevk (~annevk@a82-161-179-17.adsl.xs4all.nl)
- # [10:54] * Joins: maikmerten (~merten@ls5dhcp200.cs.uni-dortmund.de)
- # [10:56] * Quits: plutoniix (~plutoniix@ppp-58-11-100-125.revip2.asianet.co.th) (Quit: จรลี จรลา)
- # [10:57] * Quits: Somatt_wrk (~somattwrk@darkstar2.fullsix.com) (Ping timeout: 255 seconds)
- # [11:13] <annevk> I thinks this API for events is the way to go: https://gist.github.com/4463430
- # [11:14] <annevk> with the second and third argument reversed
- # [11:14] <annevk> and for now just make everything bubble and ignore capture altogether
- # [11:16] * Parts: wakaba1 (~wakaba@122x221x184x68.ap122.ftth.ucom.ne.jp) ("Leaving...")
- # [11:24] * Joins: zdobersek (~zdobersek@cpe-77.38.31.63.cable.t-1.si)
- # [11:24] <jgraham> Is matchesSelector suppoed to be a built-in function on window, or something that a user could do in js?
- # [11:25] <Ms2ger> Builtin on Element, no?
- # [11:25] <jgraham> No, the one in the proposal is different
- # [11:31] * Joins: Somatt_wrk (~somattwrk@darkstar2.fullsix.com)
- # [11:39] * Quits: carbonix (~vcarbune@79.119.87.22) (Ping timeout: 272 seconds)
- # [11:43] <hsivonen> gsnedders: I put the <main> tests in a separate file and checked with jgraham and annevk first
- # [11:44] * Quits: gavin_ (~gavin@76.14.87.162) (Ping timeout: 272 seconds)
- # [11:44] <annevk> jgraham: you would do it in JS
- # [11:44] <annevk> jgraham: as in the proposal
- # [11:45] * Quits: ehsan (~ehsan@24.212.206.174) (Remote host closed the connection)
- # [11:45] <jgraham> annevk: Well it was marked as "syntactic sugar" so I thought you were proposing a built-in equavalent to the following JS
- # [11:46] <jgraham> Since sugar is usually something that you don't have to implement yourself
- # [11:46] <jgraham> hsivonen: I think what you did was fine fwiw
- # [11:47] <annevk> jgraham: ah yeah
- # [11:48] <annevk> jgraham: I think for Element.on we could overload and let the third argument be a string which would be interpreted as that sugar
- # [11:48] <odinho> Getting back a stop() function is a bit strange though?
- # [11:48] <annevk> odinho: why?
- # [11:48] <odinho> No, I just haven't seen it. s/strange/unfamiliar/
- # [11:48] <annevk> I quite like it, seems much more lightweight than returning an object with a method
- # [11:48] <odinho> More used to getting back object I can do moar stuff on.
- # [11:49] <darobin> well, it can also be an object :)
- # [11:49] <odinho> And if we'd even want to do something else with the registered listener than stopping it?
- # [11:50] * Joins: gavin_ (~gavin@76.14.87.162)
- # [11:50] <odinho> Though I guess the jqueryists would actually expect on to return eventTarget itself, so you could chain.
- # [11:51] <Ms2ger> Boo
- # [11:52] <odinho> It'd be nice not having to write addEventListener all the time.
- # [11:52] <annevk> I want to return a function/object as the other pattern of unregistering sucks
- # [11:52] <odinho> annevk: True dat.
- # [11:53] <odinho> (I'm very for the .on it no matter how it's done)
- # [11:53] <annevk> Yeah, I don't want to make addEventListener more complicated
- # [11:54] <annevk> The only other thing I thought of was making the methods exclusive but I think that's too much inconvenience
- # [11:55] <darobin> note that you could return an object and allow for chaining
- # [11:55] * Quits: mpt (~mpt@canonical/mpt) (Read error: Connection reset by peer)
- # [11:55] <darobin> all it takes would be for the returned object to also support .on() and know what event target to send it to (which it ought to)
- # [11:55] <darobin> of course, I'm not saying that's necessarily a good idea :)
- # [11:56] * Joins: yod (~ot@gatec.kw.bbc.co.uk)
- # [11:57] * Joins: darfia (~darfia@187.106.41.21)
- # [11:58] <annevk> I thought it was just element.matches() these days btw?
- # [11:58] * Joins: mpt (~mpt@nat/canonical/x-pipvhzhruczsnhci)
- # [11:58] * Quits: mpt (~mpt@nat/canonical/x-pipvhzhruczsnhci) (Changing host)
- # [11:58] * Joins: mpt (~mpt@canonical/mpt)
- # [11:58] <annevk> darobin: sounds like a bit too much magic
- # [12:00] <darobin> annevk: what bothers me more than the magic is that it actually only chains .on()
- # [12:01] <darobin> whereas in chaining I'd expect to be able to call whatever is callable on the original event target
- # [12:01] <darobin> $el.on(...).css(...).appendTo(...) etc.
- # [12:02] <Ms2ger> Eww
- # [12:05] <annevk> My new hobby: finding useful return values that break chaining
- # [12:05] * Joins: izhak (~izhak@31.47.122.182)
- # [12:05] <jgraham> Isn't that the normal case?
- # [12:06] <jgraham> I mean typically you expect a function (or method) to return a value
- # [12:06] <jgraham> Returning the object that you first thought of is a rather strange idea
- # [12:10] * Joins: malydok (~marek@156.17.232.82)
- # [12:12] <annevk> It was a joke :)
- # [12:13] * Quits: Somatt_wrk (~somattwrk@darkstar2.fullsix.com) (Ping timeout: 255 seconds)
- # [12:16] <annevk> Minutes are so bad... http://www.w3.org/2012/05/02-webapps-minutes.html#item04 "[ Bike shedding about name ]"
- # [12:16] <annevk> Pretty sure we actually made a decision there
- # [12:19] <hsivonen> btw, has anyone tested if IE10 has an “IE9 XML” mode in addition to an “IE10 XML” mode?
- # [12:20] <hsivonen> I guess that’s something I need to test
- # [12:20] <hsivonen> Also: Modes in mobile edition of IE9 and IE10
- # [12:22] <hsivonen> hmm. Google Maps for desktop renders in the IE10 Standard mode, so they don’t even have the excuse of that mode not existing on mobile
- # [12:23] <annevk> http://programmingisterrible.com/post/39812339693/are-16-bits-providing-at-most-65-536-distinct beautiful
- # [12:24] <hsivonen> hah
- # [12:24] <darobin> beautiful
- # [12:25] * darobin \u2665 chaining
- # [12:28] * abstractj is now known as abstractj|brb
- # [12:32] * Quits: izhak (~izhak@31.47.122.182) (Remote host closed the connection)
- # [12:32] <annevk> also from that blog I learned about https://www.facebook.com/notes/facebook-engineering/xhp-a-new-way-to-write-php/294003943919
- # [12:32] * Quits: miketaylr (~miketaylr@pat-tazdevil.opera.com) (Quit: Leaving...)
- # [12:38] * Joins: izhak (~izhak@31.47.122.182)
- # [12:39] * Quits: sedovsek (~robert@89.143.12.238) (Quit: sedovsek)
- # [12:42] * Joins: gavin__ (~gavin@76.14.87.162)
- # [12:43] * Quits: gavin_ (~gavin@76.14.87.162) (Read error: Connection reset by peer)
- # [12:49] * remysharp_ is now known as remysharp
- # [12:49] <darobin> "The correct solution is to pass this input through htmlspecialchars() before displaying it to the user."
- # [12:49] <darobin> dude, the correct solution is to not use PHP in the first place
- # [12:57] * Joins: miketaylr (~miketaylr@pat-tazdevil.opera.com)
- # [12:57] * Joins: richt_ (~richt@pat-tazdevil.opera.com)
- # [13:00] * Quits: richt (~richt@office.oslo.opera.com) (Ping timeout: 248 seconds)
- # [13:01] * Quits: miketaylr (~miketaylr@pat-tazdevil.opera.com) (Client Quit)
- # [13:01] <annevk> http://programmingisterrible.com/post/39590933826/the-ghost-of-http
- # [13:02] <annevk> this blog is getting better and better
- # [13:02] <annevk> darobin: doesn't matter, every language has the same problem whenever you string concat HTML
- # [13:02] * Joins: benbarnett (~Adium@109.144.200.36)
- # [13:02] <darobin> annevk: it does matter
- # [13:03] <darobin> if you build a templating language specifically for the web and you don't make it so that it escapes HTML by default, don't be surprised that there are so many exploits later
- # [13:03] * Joins: miketaylr (~miketaylr@pat-tazdevil.opera.com)
- # [13:04] * Quits: benbarnett (~Adium@109.144.200.36) (Client Quit)
- # [13:04] <annevk> fair enough I suppose, but I don't really see PHP as a templating language, it's just another language
- # [13:04] * Joins: benbarnett (~Adium@109.144.200.36)
- # [13:13] <hsivonen> annevk: points to the blogger for including Atom on the list of failures. We should have publishes an RSS5 instead.
- # [13:15] * Quits: annevk (~annevk@a82-161-179-17.adsl.xs4all.nl) (Remote host closed the connection)
- # [13:15] * Joins: annevk (~annevk@a82-161-179-17.adsl.xs4all.nl)
- # [13:17] * Joins: JohnAlbin (~JohnAlbin@111-250-148-8.dynamic.hinet.net)
- # [13:20] * Quits: annevk (~annevk@a82-161-179-17.adsl.xs4all.nl) (Ping timeout: 240 seconds)
- # [13:22] * Joins: sedovsek (~robert@89.143.12.238)
- # [13:23] * Joins: jacobolus (~jacobolus@99-127-228-11.lightspeed.sntcca.sbcglobal.net)
- # [13:26] * Joins: Somatt_wrk (~somattwrk@darkstar2.fullsix.com)
- # [13:30] * Quits: beverloo (beverloo@nat/google/x-bvrthkqhihkpwzvf) (Remote host closed the connection)
- # [13:31] * Quits: jacobolus (~jacobolus@99-127-228-11.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection)
- # [13:31] * Quits: kborchers (~kborchers@unaffiliated/kborchers) (Excess Flood)
- # [13:33] * Joins: beverloo (beverloo@nat/google/x-gdqwfwgzdsreblaq)
- # [13:34] * Joins: kborchers (~kborchers@unaffiliated/kborchers)
- # [13:37] * Quits: volkmar (~mounir@gentoo/developer/volkmar) (Ping timeout: 260 seconds)
- # [13:37] * Joins: volkmar (~mounir@oldworld.fr)
- # [13:37] * Quits: volkmar (~mounir@oldworld.fr) (Changing host)
- # [13:37] * Joins: volkmar (~mounir@gentoo/developer/volkmar)
- # [13:42] * Quits: mpt (~mpt@canonical/mpt) (Ping timeout: 248 seconds)
- # [13:48] <odinho> Hmm. HTML6 is XML. Sneaky. Not even backwards compat afics. http://html6spec.com/
- # [13:50] <odinho> ( http://lists.w3.org/Archives/Public/public-html/2013Jan/0016.html )
- # [13:53] <hsivonen> sigh. constant vigilance needed. I thought we agreed not to do stuff like http://html5.org/tools/web-apps-tracker?from=7621&to=7622 back in 2006 after burying the “significant inline content” concept
- # [13:53] * Joins: alrra (~alrra@188.24.74.6)
- # [13:53] * Quits: alrra (~alrra@188.24.74.6) (Changing host)
- # [13:53] * Joins: alrra (~alrra@unaffiliated/alrra)
- # [13:54] * Joins: mpt (~mpt@canonical/mpt)
- # [13:54] * abstractj|brb is now known as abstractj
- # [13:56] <MikeSmith> hsivonen: Hixie seems to be saying he intended it that way all along, for the title element at least
- # [13:57] <hsivonen> I wonder if he pinged glazou first
- # [13:57] <MikeSmith> I don't think he pinged anybody
- # [13:59] <MikeSmith> I think he made that change as a result of a recent IRC discussion
- # [13:59] <MikeSmith> I'll try to find a pointer to the logs
- # [13:59] * Joins: annevk (~annevk@212.238.236.229)
- # [14:02] * Joins: Druide_ (~Druid@ip-178-203-141-163.unitymediagroup.de)
- # [14:05] * Quits: Somatt_wrk (~somattwrk@darkstar2.fullsix.com) (Ping timeout: 260 seconds)
- # [14:18] * Joins: carbonix (~vcarbune@79.119.87.22)
- # [14:20] * Joins: yoshiki__ (yoshiki@nat/google/x-qilltpjtvpqqxybg)
- # [14:20] <MikeSmith> hsivonen: http://logbot.glob.com.au/?c=freenode%23whatwg&s=20+Dec+2012&e=21+Dec+2012#c756715 and http://logbot.glob.com.au/?c=freenode%23whatwg&s=21+Dec+2012&e=22+Dec+2012#c757484
- # [14:21] * Quits: yoshiki_ (yoshiki@nat/google/x-ovrnvzwxlznrrjku) (Ping timeout: 276 seconds)
- # [14:21] * Joins: krawchyk (~krawchyk@65.220.49.251)
- # [14:22] * Joins: Somatt_wrk (~somattwrk@darkstar2.fullsix.com)
- # [14:26] <hsivonen> MikeSmith: thanks
- # [14:28] <hsivonen> I think I will end up sending email to the list :-(
- # [14:29] <hsivonen> do we have a wiki page that explains why conneg is bad and you should not try to solve things by saying “I know! Let’s use conneg!”S
- # [14:29] <hsivonen> s/S/?/
- # [14:31] <annevk> slightlyoff: not sure if you're on IRC, but the Event class I pointed to is the same as the DOM has plus WebKit proprietary extensions
- # [14:31] <annevk> slightlyoff: not actually changed for Dart
- # [14:32] * Quits: tantek (~tantek@70-36-139-86.dsl.dynamic.sonic.net) (Quit: tantek)
- # [14:32] <annevk> hsivonen: someone from Google is pushing it again: http://www.igvita.com/2012/12/18/deploying-new-image-formats-on-the-web/
- # [14:33] <annevk> hsivonen: 386'ing conneg is not for me
- # [14:33] <hsivonen> boo. Dart’s “cleaned up” DOM still has live child collections
- # [14:33] <hsivonen> firstChild/nextSibling FTW
- # [14:34] <annevk> Part of it is "cleaned up", lots of it seems a straight copy of the existing classes/interfaces
- # [14:35] <annevk> oh, Eric Lawrence points out some problems with conneg in the comments
- # [14:38] * Joins: pyrsmk (~pyrsmk@27.134.139.88.rev.sfr.net)
- # [14:38] <jgraham> Dart hasn't died yet? How sad
- # [14:39] <annevk> It's not like Google's bleeding money over it
- # [14:39] <jgraham> Well no, but it is keeping bright people from working on better things
- # [14:44] <hsivonen> I ended up writing a short one-off comment about Accept: https://bugzilla.mozilla.org/show_bug.cgi?id=240493#c89
- # [14:45] <annevk> does webarch say anything about conneg?
- # [14:45] <annevk> it does
- # [14:48] * Joins: ehsan (~ehsan@24-212-206-174.cable.teksavvy.com)
- # [14:49] * Joins: Ducki (~Ducki@pD9E39058.dip0.t-ipconnect.de)
- # [14:51] * Quits: Ducki_ (~Ducki@pD9E386C8.dip0.t-ipconnect.de) (Ping timeout: 255 seconds)
- # [14:59] * Quits: Somatt_wrk (~somattwrk@darkstar2.fullsix.com) (Ping timeout: 264 seconds)
- # [15:00] * Joins: Stevef (~chatzilla@cpc20-nmal18-2-0-cust76.19-2.cable.virginmedia.com)
- # [15:05] * Joins: hdhoang (~hdhoang@113.190.108.40)
- # [15:06] * Joins: krawchyk_ (~krawchyk@65.220.49.251)
- # [15:08] * Quits: krawchyk_ (~krawchyk@65.220.49.251) (Remote host closed the connection)
- # [15:08] * Quits: tomasf (~tomasf@77.72.97.5.c.fiberdirekt.net) (Quit: tomasf)
- # [15:10] * Quits: krawchyk (~krawchyk@65.220.49.251) (Ping timeout: 240 seconds)
- # [15:11] * Quits: miketaylr (~miketaylr@pat-tazdevil.opera.com) (Quit: Leaving...)
- # [15:11] * Quits: yod (~ot@gatec.kw.bbc.co.uk) (Quit: Leaving.)
- # [15:13] * Joins: miketaylr (~miketaylr@pat-tazdevil.opera.com)
- # [15:14] * Quits: izhak (~izhak@31.47.122.182) (Read error: Operation timed out)
- # [15:21] * Quits: ehsan (~ehsan@24-212-206-174.cable.teksavvy.com) (Remote host closed the connection)
- # [15:24] * Joins: karlcow (~karl@nerval.la-grange.net)
- # [15:26] * Quits: jochen__ (jochen@nat/google/x-bxnpjrkmlajjafnr) (Remote host closed the connection)
- # [15:29] * Quits: alrra (~alrra@unaffiliated/alrra) (Quit: This computer has gone to sleep)
- # [15:30] * Joins: danzik17 (~danzik17@164.55.254.106)
- # [15:30] * Joins: MacTed (~Thud@63.119.36.36)
- # [15:36] * Quits: miketaylr (~miketaylr@pat-tazdevil.opera.com) (Quit: Leaving...)
- # [15:38] * Quits: Ducki (~Ducki@pD9E39058.dip0.t-ipconnect.de) (Quit: Leaving)
- # [15:43] * Joins: Somatt_wrk (~somattwrk@darkstar2.fullsix.com)
- # [15:43] * Joins: ehsan (~ehsan@24-212-206-174.cable.teksavvy.com)
- # [15:45] * Joins: jochen__ (jochen@nat/google/x-ikbdhnmgaustbisy)
- # [15:45] <annevk> https://gist.github.com/4475457
- # [15:46] <annevk> That includes all the syntax sugar libraries have...
- # [15:46] <annevk> heycam|away: are you there? I wonder if the above overloading thingie actually works... Maybe Ms2ger knows?
- # [15:47] <Ms2ger> dictionary<EventCallback>?
- # [15:47] <annevk> {click: callback1, resize: callback2}
- # [15:48] <Ms2ger> Hrm
- # [15:49] <Ms2ger> A dictionary with an open-ended set of keys?
- # [15:49] <Ms2ger> Because that doesn't exist
- # [15:49] <annevk> Yes, with string keys and values of type between < and >
- # [15:49] <annevk> Ms2ger: well there's a bug for that
- # [15:49] <Ms2ger> Oh?
- # [15:49] <darobin> Ms2ger: that doesn't exist but there's a bug for it
- # [15:50] <Ms2ger> Has someone specced iteration order?
- # [15:50] * Quits: ehsan (~ehsan@24-212-206-174.cable.teksavvy.com) (Remote host closed the connection)
- # [15:50] <annevk> Ms2ger: https://mail.mozilla.org/pipermail/es-discuss/2013-January/027842.html
- # [15:50] <annevk> Ms2ger: anything else? :)
- # [15:51] <Ms2ger> But most likely, those wouldn't be distinguishable, no
- # [15:55] * Joins: isherman (isherman@nat/google/x-srlvsnnzowjrebeq)
- # [15:57] <zewt> annevk: don't know what the point of the weird dictionary thing is; not sure what "EventFilter" is but if it's the "filter based on keys for keypress" or whatever, like I said before that seems like a complex optimization for something having no need of optimization
- # [15:58] * Quits: isherman1 (isherman@nat/google/x-dphkayeqrppqqlzy) (Ping timeout: 260 seconds)
- # [15:58] <annevk> zewt: it's so you can implement your own delegation
- # [15:58] <annevk> zewt: e.g. based on a selector, or something else
- # [15:59] <zewt> you can already do it manually now within the function if you want to do it yourself
- # [16:00] <annevk> sure but that's less reusable
- # [16:00] * Quits: Zauberfisch (~Zauberfis@2a01:4f8:100:73c3::3) (Ping timeout: 246 seconds)
- # [16:00] <zewt> if(!event.target.matchesSelector("whatever")) return;
- # [16:03] <zewt> also, an options dictionary seems natural, instead of an infrequently-used optional parameter
- # [16:03] * Joins: reinaldob (~reinaldob@201.74.207.56)
- # [16:04] <hsivonen> OK. I started the wiki page: http://wiki.whatwg.org/wiki/Why_not_conneg
- # [16:04] <annevk> hsivonen: heh
- # [16:04] <annevk> zewt: I believe it's quite frequently used actually
- # [16:04] <zewt> not to channel a hixie, but are there use cases for making up your own filters other than selectors? in my experience selectors are a pretty good fit
- # [16:05] * Quits: NimeshNeema (uid2689@gateway/web/irccloud.com/x-ivdxjuqlraesnegb)
- # [16:07] <zewt> elem.addEventListener("click", this.onClick, { filter: ".button" }); seems nice and clean and clear to me
- # [16:07] <darobin> to back up zewt's point, is there a library that filters on something other than selectors?
- # [16:08] * Joins: sicking (~sicking@217.243.168.51)
- # [16:09] <zewt> can always start with string selectors, and make it a (DOMString or EventFilter) later if wanted
- # [16:09] <annevk> well selectors don't make sense for non-RootNode nodes
- # [16:09] <zewt> what's a RootNode?
- # [16:09] <annevk> see DOM
- # [16:09] <zewt> if that means "document" then that's wrong
- # [16:10] <annevk> why? if you register on a document you want to filter on its elemetn descendants, same for documentfragment
- # [16:10] * Joins: Zauberfisch (~Zauberfis@2a01:4f8:100:73c3::3)
- # [16:10] <zewt> if you register on an element you want to filter on its descendants too, why wouldn't that make sense? that's how it's used
- # [16:11] <darobin> yeah, that's how it's used
- # [16:11] <annevk> sure, RootNode includes Element
- # [16:11] <annevk> again, see DOM
- # [16:11] <zewt> then that's not what I said :P and that's a pretty broken name
- # [16:12] <zewt> gotta head to work, later
- # [16:12] <annevk> well it means Document
- # [16:12] <annevk> just as much as it means Element
- # [16:12] <annevk> and DocumentFragment
- # [16:12] <annevk> those can all be roots
- # [16:12] <zewt> it doesn't mean the root node of a document, which is what it sounds like--it doesn't make sense for every node in a tree to be called a "root node", heh
- # [16:12] <darobin> yeah it's not the best name ever
- # [16:13] <annevk> it can be renamed if you have a suggestion
- # [16:13] <darobin> TreeNode?
- # [16:13] <annevk> it doesn't really matter
- # [16:13] <zewt> but anyway selectors inside a document are the overwhelming majority of use cases, makes sense to me to optimize for that
- # [16:13] <annevk> Comment is a TreeNode too
- # [16:13] <darobin> not really, no, but it's very confusing
- # [16:14] <annevk> zewt: the proposal optimizes for that
- # [16:14] <zewt> but afk work for real
- # [16:14] <darobin> comments have children?
- # [16:14] <annevk> a comment is part of a Tree
- # [16:15] <darobin> sure, everything is :)
- # [16:15] <darobin> BranchNode
- # [16:15] <darobin> ?
- # [16:15] <annevk> right, that's why it's super confusing
- # [16:15] <darobin> NonLeafNode?
- # [16:15] <darobin> TrunkNode
- # [16:15] <Ms2ger> BlahNode
- # [16:15] <darobin> ContainerNode
- # [16:15] <annevk> ah
- # [16:15] <darobin> yeah, what Ms2ger said
- # [16:15] <darobin> anything that doesn't imply it's a root when it's not :)
- # [16:15] <annevk> Wikipedia suggests InternalNode and ExternalNode
- # [16:15] <Ms2ger> darobin, heya
- # [16:16] <Ms2ger> Feel like reviewing some tests? :)
- # [16:16] <annevk> http://en.wikipedia.org/wiki/Tree_(data_structure)#Terminology
- # [16:16] <darobin> Ms2ger: I will
- # [16:16] <annevk> oh but that doesn't work
- # [16:16] <darobin> annevk: don't use wikipedia for that, you'll get some computer science terminology out of it
- # [16:17] <annevk> yeah and it'd be wrong anyway
- # [16:17] <annevk> it should indicate it has the potential to have child nodes
- # [16:17] <darobin> MotherNode
- # [16:18] <annevk> uhuh
- # [16:18] * Joins: izhak (~izhak@31.47.122.182)
- # [16:18] <darobin> ParentNode
- # [16:18] <annevk> I guess that could work
- # [16:18] <annevk> the other one is named ChildNode at the moment
- # [16:18] <annevk> and element is in both
- # [16:18] * darobin likes MotherNode better, but hey :)
- # [16:18] <darobin> "I found it and it's the MotherNode!"
- # [16:19] * Joins: yorick (~yorick@vredebest.xs4all.nl)
- # [16:19] * Quits: yorick (~yorick@vredebest.xs4all.nl) (Changing host)
- # [16:19] * Joins: yorick (~yorick@oftn/member/yorick)
- # [16:19] <annevk> looks like your first contribution to the DOM spec
- # [16:20] <annevk> at least from this generation
- # [16:22] <annevk> committed
The end :)