Options:
- # Session Start: Thu Nov 17 00:00:00 2011
- # Session Ident: #whatwg
- # [00:00] <AryehGregor> I wonder how much the web depends on the details of things like whether properties on prototypes are configurable or not.
- # [00:01] <Ms2ger> It sure depends on awful things about on* properties
- # [00:01] <AryehGregor> Like what?
- # [00:02] <Ms2ger> Being able to set them on the prototype and stuff
- # [00:02] <Ms2ger> Ask heycam :)
- # [00:03] * Joins: MacTed (~Thud@c-71-233-244-175.hsd1.ma.comcast.net)
- # [00:03] * Quits: Ms2ger (~Ms2ger@91.181.155.126) (Quit: nn)
- # [00:03] <heycam> AryehGregor, yeah was on old version of prototype that was being used one some sites
- # [00:03] <heycam> and it was doing something like Interface.prototype.onsomething = null
- # [00:03] <AryehGregor> Whee.
- # [00:04] <heycam> so previously when on* things were on the instance, this was basically just doing nothing
- # [00:04] <heycam> now with on* being accessors on prototype.... throw
- # [00:07] * AryehGregor observes that ES seems to be one case where there are clear versions that browsers actually implement completely in a timely fashion, and it seems to work well
- # [00:07] <heycam> prefix all the things!
- # [00:08] <jamesr_> AryehGregor, really? nobody has ever fully implemented ES3, and nobody can since it's incompatible with the web
- # [00:08] <jamesr_> and there aren't any full implementations of ES5 that i'm aware of (although some folks are getting close)
- # [00:08] <annevk> Opera fails 1 test
- # [00:09] <annevk> but given that ES5 does not include http://wiki.whatwg.org/wiki/Web_ECMAScript it's not really real world compatible :(
- # [00:09] <jamesr_> so we're close to having the first ever implementation of a clear version of an ECMAScript
- # [00:10] * Quits: scor (~scor@drupal.org/user/52142/view) (Quit: scor)
- # [00:11] <jgraham> I think that one test we fail is a likely web compat issue
- # [00:12] * Joins: erlehmann (~erlehmann@82.113.99.40)
- # [00:12] <jgraham> Also, gecko and others implement parts of es.next in an unprefixed (afaik) way
- # [00:12] <jgraham> certianly historically gecko has had a bunch of nonstandard stuff
- # [00:13] <jgraham> So it isn't really clear that this is an example of clear versions that everyone implements in a timely fashion
- # [00:13] * Quits: Morphous (jan@unaffiliated/amorphous) (Read error: Operation timed out)
- # [00:14] <jgraham> (scripting engines are also a bit special because they are very self-contained and typically have dedicated teams working on them)
- # [00:15] <Hixie> for duration values: if "1h", "1min", and "1mo" are conforming, but "1m" is not (ambiguous), should a duration of "1hour" be conforming?
- # [00:15] <jgraham> Are the i18n people not going to cut out your kidneys?
- # [00:16] <annevk> Hixie: I vote for simple first
- # [00:17] <TabAtkins> I'm with annevk. min and mo are the only ambiguous case.
- # [00:17] <TabAtkins> And if you'd just switch to bimonths that ambiguity would disappear. ^_^
- # [00:18] <annevk> Hixie: we can always allow more syntax later; we have use cases for duration, not for lots of different duration syntax
- # [00:19] <dglazkov> annevk: where's the new event constructor syntax doc? linky?
- # [00:20] <dglazkov> http://www.w3.org/TR/domcore/#events
- # [00:21] <dglazkov> annevk: I answer my own questions
- # [00:25] <annevk> great :)
- # [00:25] <annevk> nn
- # [00:28] <gsnedders> jgraham: I've not read the history, FWIW, but for WebIDL testing see <http://suika.fam.cx/www/webidl2tests/readme>
- # [00:28] * Quits: KevinMarks (~KevinMark@c-71-204-145-244.hsd1.ca.comcast.net) (Quit: The computer fell asleep)
- # [00:29] <gsnedders> jgraham: Massively outdated, but tests based upon WebIDL,
- # [00:30] * Joins: Morphous (jan@unaffiliated/amorphous)
- # [00:30] <gsnedders> AryehGregor: JSC supported all of ES5 except Function.prototype.bind for ages, IE9 doesn't support strict mode. It's far from entirely versioned…
- # [00:31] <gsnedders> annevk: Web ECMAScript doesn't actually contradict in ES5.
- # [00:31] <gsnedders> annevk: Something supporting all those variants is still a conforming ES5 impl
- # [00:31] * Quits: TabAtkins (tabatkins@nat/google/x-nbfelbbmqvcekzli) (Quit: leaving)
- # [00:31] * Joins: TabAtkins (tabatkins@nat/google/x-puqsfppbokdglqpv)
- # [00:33] * Joins: gavinc (~gavin@50-0-76-242.dsl.dynamic.sonic.net)
- # [00:33] * Joins: davidwalsh (~davidwals@75-135-74-55.dhcp.mdsn.wi.charter.com)
- # [00:37] * Quits: myakura (~myakura@FL1-211-135-241-47.tky.mesh.ad.jp) (Remote host closed the connection)
- # [00:40] * 13WAAQZXE is now known as jarib_
- # [00:41] <gsnedders> heycam: WebIDL is inconsistent: operator getters and attribute getters should have identical behaviour for checking this.
- # [00:42] * Quits: kennyluck (~kennyluck@114-43-116-150.dynamic.hinet.net) (Quit: kennyluck)
- # [00:45] <gsnedders> heycam: I mentioned that in an email forever ago, but I think you missed it
- # [00:46] * Quits: smedero (~smedero@12.1.203.2) (Quit: smedero)
- # [00:47] * Joins: abarth (~abarth@173-164-128-209-SFBA.hfc.comcastbusiness.net)
- # [00:48] * Quits: astearns (~anonymous@12.1.203.2) (Quit: astearns)
- # [00:48] * Quits: divya (~divyam@12.1.203.2) (Quit: Leaving.)
- # [00:53] * jernoble is now known as jernoble|afk
- # [00:58] * Quits: ollmn (olleman@c80-216-145-34.bredband.comhem.se) (Read error: Connection reset by peer)
- # [00:58] * Quits: MikeSmith (~MikeSmith@218.236.5.3) (Ping timeout: 244 seconds)
- # [01:03] * Quits: Telling (~unknown@80-71-135-15.u.parknet.dk) (Quit: ...)
- # [01:04] * Quits: tantek (~tantek@66-87-0-196.pools.spcsdns.net) (Quit: Colloquy for iPod touch - http://colloquy.mobi)
- # [01:04] * Quits: ap (~ap@17.245.90.47) (Quit: ap)
- # [01:06] * Joins: ap (~ap@17.245.90.47)
- # [01:07] * Quits: davidwalsh (~davidwals@75-135-74-55.dhcp.mdsn.wi.charter.com) (Quit: Reading http://davidwalsh.name)
- # [01:10] * jernoble|afk is now known as jernoble
- # [01:23] * Joins: MikeSmith (~MikeSmith@175.253.179.148)
- # [01:24] * Joins: tantek (~tantek@12.1.203.2)
- # [01:25] * Quits: smaug____ (~chatzilla@GGYYYMMCCLXVII.gprs.sl-laajakaista.fi) (Ping timeout: 240 seconds)
- # [01:26] * wycats_ is now known as wycats
- # [01:31] <heycam> gsnedders, I could well have missed it
- # [01:32] <gsnedders> heycam: Want me to send it again?
- # [01:32] <heycam> gsnedders, yep sure
- # [01:32] * heycam checks the spec now too
- # [01:33] <heycam> so that is something that changed recently, the attribute getter one at least
- # [01:33] <heycam> due to the crazy on* behaviour
- # [01:34] <gsnedders> Oh, I sent the email after the operator getter changed behaviour
- # [01:35] <heycam> by operator getter do you mean operation?
- # [01:35] <gsnedders> So totally not following any emails to spec mailing lists
- # [01:36] <gsnedders> And yes, I do mean operation
- # [01:36] <gsnedders> I'm watching TV shows and not paying attention to what I'm typing.
- # [01:36] <heycam> yeah I haven't replied on public-script-coord for a couple of weeks :p
- # [01:38] <gsnedders> The only thing I read at all nowadays is various testsuite mailing lists.
- # [01:39] * Quits: rillian_ (~rillian@184.71.182.138) (Remote host closed the connection)
- # [01:52] * Quits: ap (~ap@17.245.90.47) (Quit: ap)
- # [01:54] * Joins: ap (~ap@17.212.155.203)
- # [01:58] * Quits: necolas (~necolas@host-92-12-156-249.as43234.net) (Remote host closed the connection)
- # [02:00] * Quits: drublic (~drublic@frbg-4d029b91.pool.mediaWays.net) (Remote host closed the connection)
- # [02:00] * Joins: yuuki (~kobayashi@58x158x182x50.ap58.ftth.ucom.ne.jp)
- # [02:03] * Joins: agektmr (~Adium@220.109.219.244)
- # [02:06] * Joins: rillian_ (~rillian@mist.thaumas.net)
- # [02:08] * Quits: tantek (~tantek@12.1.203.2) (Ping timeout: 252 seconds)
- # [02:09] * Quits: plutoniix (~plutoniix@ppp-124-120-50-73.revip2.asianet.co.th) (Quit: Leaving)
- # [02:11] * Quits: ap (~ap@17.212.155.203) (Quit: ap)
- # [02:12] * Joins: tantek (~tantek@12.1.203.2)
- # [02:14] * Joins: mkanat (mkanat@nat/google/x-ikirszkexbtpkvbv)
- # [02:21] * Joins: scor (~scor@drupal.org/user/52142/view)
- # [02:27] * Quits: sicking (~chatzilla@nat/mozilla/x-bfertykdpnkfijpp) (Ping timeout: 253 seconds)
- # [02:27] * Quits: cgcardona (~cgcardona@unaffiliated/cgcardona) (Quit: cgcardona)
- # [02:28] * Joins: Evanescence (~Evanescen@122.237.23.204)
- # [02:31] * Quits: tndH (~Rob@cpc16-seac19-2-0-cust234.7-2.cable.virginmedia.com) (Ping timeout: 240 seconds)
- # [02:39] * Quits: _bga (~bga@ppp78-37-206-209.pppoe.avangarddsl.ru) (Read error: Connection reset by peer)
- # [02:39] * Quits: ezoe (~ezoe@203-140-89-16f1.kyt1.eonet.ne.jp) (Quit: And Now for Something Completely Different.)
- # [02:43] * Quits: dave_levin (dave_levin@nat/google/x-kzrwngqsusekhjjm) (Quit: dave_levin)
- # [02:43] * Joins: astearns (~anonymous@c-50-132-63-33.hsd1.wa.comcast.net)
- # [02:45] * jernoble is now known as jernoble|afk
- # [02:50] * Quits: tantek (~tantek@12.1.203.2) (Quit: tantek)
- # [02:51] * Quits: KillerX (~anant@nat/mozilla/x-hmfpymivmjsnosmc) (Quit: KillerX)
- # [02:56] * Joins: eae (u4278@gateway/web/irccloud.com/x-dluqzbhejlpwfmac)
- # [03:02] * Quits: scor (~scor@drupal.org/user/52142/view) (Read error: Connection reset by peer)
- # [03:02] * Joins: scor (~scor@drupal.org/user/52142/view)
- # [03:03] * Quits: scor (~scor@drupal.org/user/52142/view) (Client Quit)
- # [03:09] * Quits: Necrathex (~nectop@82-170-160-25.ip.telfort.nl) (Ping timeout: 244 seconds)
- # [03:09] * Joins: agektmr1 (~Adium@220.109.219.244)
- # [03:09] * Quits: agektmr (~Adium@220.109.219.244) (Read error: Connection reset by peer)
- # [03:13] * Joins: KillerX_ (~anant@nat/mozilla/x-ynwygvfnbidsqcfk)
- # [03:13] * Joins: miketaylr (~miketaylr@24.42.93.245)
- # [03:18] * Quits: KillerX_ (~anant@nat/mozilla/x-ynwygvfnbidsqcfk) (Ping timeout: 260 seconds)
- # [03:25] * Quits: LBP (~Mirc@pD9EB1B2E.dip0.t-ipconnect.de) (Ping timeout: 252 seconds)
- # [03:26] * Joins: LBP (~Mirc@pD9EB1B2A.dip0.t-ipconnect.de)
- # [03:31] * Quits: dbaron (~dbaron@60.234.54.74) (Quit: 8403864 bytes have been tenured, next gc will be global.)
- # [03:31] * Quits: roc (~chatzilla@60.234.54.74) (Ping timeout: 240 seconds)
- # [03:33] * Quits: MikeSmith (~MikeSmith@175.253.179.148) (Ping timeout: 240 seconds)
- # [03:36] * Quits: chriseppstein (~chrisepps@209.119.65.162) (Quit: chriseppstein)
- # [03:37] * Joins: MikeSmith (~MikeSmith@125.152.175.74)
- # [03:41] * Joins: andyg (~andyg@eth59-167-156-1.static.internode.on.net)
- # [03:44] * Quits: othermaciej (~mjs@17.245.88.104) (Quit: othermaciej)
- # [03:50] * Quits: rillian_ (~rillian@mist.thaumas.net) (Read error: Connection reset by peer)
- # [03:50] * Joins: rillian_ (~rillian@mist.thaumas.net)
- # [03:57] * Quits: jdaggett (~jdaggett@60.234.54.74) (Ping timeout: 240 seconds)
- # [03:57] * Quits: michaelw (~michaelw@2a01:4f8:131:23c1::5) (Quit: changing servers)
- # [03:58] * Quits: cpearce (~chatzilla@60.234.54.74) (Ping timeout: 244 seconds)
- # [04:02] * Joins: cpearce (~chatzilla@60.234.54.74)
- # [04:05] * Joins: Necrathex (~nectop@82-170-160-25.ip.telfort.nl)
- # [04:10] * Quits: agektmr1 (~Adium@220.109.219.244) (Quit: Leaving.)
- # [04:12] <zewt> ugh
- # [04:12] <zewt> ff8 is doing that horrible "hide the http://" garbage too now
- # [04:12] <zewt> horrible idea
- # [04:14] * Quits: mkanat (mkanat@nat/google/x-ikirszkexbtpkvbv) (Quit: Ex-Chat)
- # [04:16] * Quits: ojan (ojan@nat/google/x-vqjmorbplfpzdafs) (Quit: ojan)
- # [04:19] * Joins: nimbupani (~divyam@c-24-18-47-160.hsd1.wa.comcast.net)
- # [04:19] * nimbupani is now known as divya
- # [04:21] * Quits: erlehmann (~erlehmann@82.113.99.40) (Quit: Ex-Chat)
- # [04:21] <zewt> good, at least i can disable browser.urlbar.trimURLs
- # [04:30] * Quits: Evanescence (~Evanescen@122.237.23.204) (Quit: my website: http://stardiviner.dyndns-blog.com/)
- # [04:31] * Joins: Evanescence (~Evanescen@122.237.23.204)
- # [04:32] * Quits: MikeSmith (~MikeSmith@125.152.175.74) (Ping timeout: 260 seconds)
- # [04:32] * Quits: Evanescence (~Evanescen@122.237.23.204) (Client Quit)
- # [04:33] * Joins: Evanescence (~Evanescen@122.237.23.204)
- # [04:33] * Quits: cpearce (~chatzilla@60.234.54.74) (Ping timeout: 248 seconds)
- # [04:33] * Quits: Evanescence (~Evanescen@122.237.23.204) (Client Quit)
- # [04:37] * Joins: Evanescence (~Evanescen@122.237.23.204)
- # [04:47] * Joins: jamesr (~jamesr@173-164-251-190-SFBA.hfc.comcastbusiness.net)
- # [04:55] * Joins: agektmr (~Adium@220.109.219.244)
- # [04:58] * Quits: boblet (u1921@gateway/web/irccloud.com/x-dimndczibokrkfsf)
- # [05:01] * Quits: rniwa (rniwa@nat/google/x-fhfiagkatrxjbtpq) (Quit: rniwa)
- # [05:01] * Joins: roc (~chatzilla@121.98.230.221)
- # [05:06] * Joins: cpearce (~chatzilla@ip-118-90-36-154.xdsl.xnet.co.nz)
- # [05:06] * Joins: othermaciej (~mjs@c-24-6-209-189.hsd1.ca.comcast.net)
- # [05:06] * Joins: jdaggett (~jdaggett@mail.questnewmarket.co.nz)
- # [05:13] * Joins: dbaron (~dbaron@60.234.54.74)
- # [05:15] * Joins: MikeSmith (~MikeSmith@125.152.243.176)
- # [05:19] * Quits: jamesr (~jamesr@173-164-251-190-SFBA.hfc.comcastbusiness.net) (Quit: jamesr)
- # [05:24] * Joins: nonge_ (~nonge@p5B326524.dip.t-dialin.net)
- # [05:28] * Quits: nonge__ (~nonge@p5B32665A.dip.t-dialin.net) (Ping timeout: 258 seconds)
- # [05:29] * Quits: jacobolus (~jacobolus@75-144-246-6-SFBA.hfc.comcastbusiness.net) (Remote host closed the connection)
- # [05:31] * Joins: jamesr (~jamesr@173-164-251-190-SFBA.hfc.comcastbusiness.net)
- # [05:31] * Quits: MikeSmith (~MikeSmith@125.152.243.176) (Quit: MikeSmith)
- # [05:39] * Joins: erlehmann (~erlehmann@82.113.99.40)
- # [05:59] * Joins: MikeSmith (~MikeSmith@218.236.5.3)
- # [06:03] * Joins: gavin_ (~gavin@76.14.70.183)
- # [06:05] * Quits: gavin__ (~gavin@76.14.70.183) (Ping timeout: 252 seconds)
- # [06:23] * Quits: jamesr (~jamesr@173-164-251-190-SFBA.hfc.comcastbusiness.net) (Quit: jamesr)
- # [06:25] * Quits: miketaylr (~miketaylr@24.42.93.245) (Quit: miketaylr)
- # [06:29] * Joins: jamesr (~jamesr@173-164-251-190-SFBA.hfc.comcastbusiness.net)
- # [06:33] * Joins: Areks (~Areks@rs.gridnine.com)
- # [06:46] * Quits: connrs (~connrs@conners.plus.com) (Ping timeout: 260 seconds)
- # [06:49] * Quits: jamesr (~jamesr@173-164-251-190-SFBA.hfc.comcastbusiness.net) (Quit: jamesr)
- # [06:50] * Quits: rillian_ (~rillian@mist.thaumas.net) (Remote host closed the connection)
- # [06:51] * Joins: connrs (~connrs@conners.plus.com)
- # [06:52] * Quits: temp01 (~temp01@unaffiliated/temp01) (Ping timeout: 240 seconds)
- # [06:56] * Joins: temp01 (~temp01@unaffiliated/temp01)
- # [07:06] * Quits: roc (~chatzilla@121.98.230.221) (Ping timeout: 240 seconds)
- # [07:07] * Quits: nessy (~Adium@124-169-131-96.dyn.iinet.net.au) (Quit: Leaving.)
- # [07:07] * Quits: abarth (~abarth@173-164-128-209-SFBA.hfc.comcastbusiness.net) (Quit: abarth)
- # [07:09] * Joins: shepazu (~shepazu@12.1.203.2)
- # [07:09] * Joins: yaffle (~vic99999@217.19.114.226)
- # [07:11] <yaffle> Hello!
- # [07:11] <yaffle> could somebody help me with event delegation?
- # [07:11] <yaffle> my question is: why DOM API doesn't implement binding of event delegation and "stopPropagation" for this, like jQuery does? It seems, that jQuery makes it very good and this is very cool
- # [07:12] <yaffle> $(document).on('click', '.test', function () { alert(0); return false; });
- # [07:12] <yaffle> $(document).on('click', '.bu', function () { alert(1); return false; });
- # [07:12] <yaffle> $(document).on('click', '.bu', function () { alert(2); return false; });
- # [07:12] <yaffle> <div class="test">
- # [07:12] <yaffle> <div class="bu">
- # [07:12] <yaffle> bu here
- # [07:12] <yaffle> </div>
- # [07:12] <yaffle> </div>
- # [07:13] <yaffle> clicking on ".test > .bu" will alert(1) and alert(2), but not alert(0)
- # [07:13] <yaffle> how to do the same with DOM API ?
- # [07:17] * Quits: jdaggett (~jdaggett@mail.questnewmarket.co.nz) (Quit: jdaggett)
- # [07:24] * Joins: sicking (~chatzilla@c-98-210-155-80.hsd1.ca.comcast.net)
- # [07:29] * Joins: Margle (~Margle@41-133-196-64.dsl.mweb.co.za)
- # [07:30] * Quits: Margle (~Margle@41-133-196-64.dsl.mweb.co.za) (Read error: No route to host)
- # [07:31] * Joins: Margle (~Margle@41-133-196-64.dsl.mweb.co.za)
- # [07:35] * Quits: dbaron (~dbaron@60.234.54.74) (Quit: 8403864 bytes have been tenured, next gc will be global.)
- # [07:38] * Quits: manu` (~chatzilla@pool-74-107-162-72.ronkva.east.verizon.net) (Ping timeout: 240 seconds)
- # [07:44] * Quits: divya (~divyam@c-24-18-47-160.hsd1.wa.comcast.net) (Quit: Leaving.)
- # [07:46] * Quits: shepazu (~shepazu@12.1.203.2) (Ping timeout: 244 seconds)
- # [07:47] * jernoble|afk is now known as jernoble
- # [07:49] * Joins: shepazu (~shepazu@12.1.203.2)
- # [07:56] * Joins: zcorpan (~zcorpan@c-699de355.410-6-64736c14.cust.bredbandsbolaget.se)
- # [07:57] * Parts: zcorpan (~zcorpan@c-699de355.410-6-64736c14.cust.bredbandsbolaget.se)
- # [07:58] * Joins: manu` (~chatzilla@pool-74-107-162-72.ronkva.east.verizon.net)
- # [07:59] * Quits: sicking (~chatzilla@c-98-210-155-80.hsd1.ca.comcast.net) (Ping timeout: 260 seconds)
- # [08:02] * Joins: zcorpan (~zcorpan@c-699de355.410-6-64736c14.cust.bredbandsbolaget.se)
- # [08:04] * Joins: shepazu_ (~shepazu@12.1.203.2)
- # [08:04] * Quits: shepazu (~shepazu@12.1.203.2) (Read error: Connection reset by peer)
- # [08:04] * shepazu_ is now known as shepazu
- # [08:06] * Parts: yaffle (~vic99999@217.19.114.226)
- # [08:08] * jernoble is now known as jernoble|afk
- # [08:10] <hsivonen> looks like the thread about unprefixing has inspired quite a few responses on www-style
- # [08:14] * Joins: sicking (~chatzilla@c-98-210-155-80.hsd1.ca.comcast.net)
- # [08:20] * Margle is now known as margle
- # [08:21] * Quits: neb3000 (~neb3000@115.146.71.1) (Quit: neb3000)
- # [08:24] * Joins: boblet (u1921@gateway/web/irccloud.com/x-pwcpoygogqqpzjpz)
- # [08:26] * Quits: sicking (~chatzilla@c-98-210-155-80.hsd1.ca.comcast.net) (Ping timeout: 240 seconds)
- # [08:28] * Joins: FlorianX (~Dimitri@p4FCF77B9.dip.t-dialin.net)
- # [08:31] * Joins: brucel (~brucel@cpc5-smal11-2-0-cust151.perr.cable.virginmedia.com)
- # [08:38] * Joins: tomasf (~tomasf@77.72.97.5.c.fiberdirekt.net)
- # [08:44] * Joins: woef (~woef@91.183.84.141)
- # [08:59] * Quits: othermaciej (~mjs@c-24-6-209-189.hsd1.ca.comcast.net) (Quit: othermaciej)
- # [09:08] * Joins: othermaciej (~mjs@c-24-6-209-189.hsd1.ca.comcast.net)
- # [09:09] <zcorpan> yaffle: http://software.hixie.ch/utilities/js/live-dom-viewer/saved/1257
- # [09:11] * Quits: andyg (~andyg@eth59-167-156-1.static.internode.on.net) (Quit: andyg)
- # [09:15] * nunnun is now known as nunnun_away
- # [09:16] * Quits: agektmr (~Adium@220.109.219.244) (Quit: Leaving.)
- # [09:19] * Joins: rniwa (~rniwa@70-89-66-218-ca.sfba.hfc.comcastbusiness.net)
- # [09:20] * Joins: agektmr (~Adium@220.109.219.244)
- # [09:22] * Quits: benjoffe_ (~benjoffe_@119-252-71-224.static.highway1.net.au) (Remote host closed the connection)
- # [09:23] * Joins: benjoffe_ (~benjoffe_@119-252-71-224.static.highway1.net.au)
- # [09:24] * Joins: Lachy (~Lachy@cm-84.215.59.50.getinternet.no)
- # [09:24] * Quits: astearns (~anonymous@c-50-132-63-33.hsd1.wa.comcast.net) (Quit: astearns)
- # [09:26] * Quits: shepazu (~shepazu@12.1.203.2) (Ping timeout: 244 seconds)
- # [09:26] * Joins: shepazu_ (~shepazu@12.1.203.2)
- # [09:27] * Quits: benjoffe_ (~benjoffe_@119-252-71-224.static.highway1.net.au) (Ping timeout: 260 seconds)
- # [09:28] * Joins: kennyluck (~kennyluck@114-43-116-150.dynamic.hinet.net)
- # [09:30] * Joins: gwicke (~gabriel@212.255.35.101)
- # [09:42] * Joins: jdaggett (~jdaggett@mail.questnewmarket.co.nz)
- # [09:43] * Quits: jdaggett (~jdaggett@mail.questnewmarket.co.nz) (Client Quit)
- # [09:45] * Joins: jacobolus (~jacobolus@c-24-5-85-179.hsd1.ca.comcast.net)
- # [09:49] * Quits: jacobolus (~jacobolus@c-24-5-85-179.hsd1.ca.comcast.net) (Read error: Connection reset by peer)
- # [09:51] * Joins: jacobolus (~jacobolus@c-24-5-85-179.hsd1.ca.comcast.net)
- # [10:00] <krijn> TabAtkins: http://vimeo.com/32135328
- # [10:00] <krijn> (Sorry about that intro title :()
- # [10:05] * Joins: yaffle (~vic99999@217.19.114.226)
- # [10:06] * Quits: Druide_ (~Druid@p5B136BB2.dip.t-dialin.net) (Ping timeout: 252 seconds)
- # [10:09] <yaffle> zcorpan: no, it's not what i need: let's change markup to:
- # [10:09] <yaffle> <div class="test">
- # [10:09] <yaffle> <div class="bu">
- # [10:09] <yaffle> <a>
- # [10:09] <yaffle> bu here
- # [10:09] <yaffle> </a>
- # [10:09] <yaffle> </div>
- # [10:09] <yaffle> </div>
- # [10:10] <yaffle> jQuery implements their own "dispatch", so it can "stopPropagation" even with event-delegation
- # [10:12] * Quits: agektmr (~Adium@220.109.219.244) (Quit: Leaving.)
- # [10:12] * Joins: Druide_ (~Druid@p5B05D880.dip.t-dialin.net)
- # [10:12] * Joins: akamike (~akamike@94-193-106-14.zone7.bethere.co.uk)
- # [10:17] * Joins: agektmr (~Adium@220.109.219.244)
- # [10:26] * Joins: smaug____ (~chatzilla@GGYXXXV.gprs.sl-laajakaista.fi)
- # [10:27] * Quits: rniwa (~rniwa@70-89-66-218-ca.sfba.hfc.comcastbusiness.net) (Quit: rniwa)
- # [10:29] * Quits: jacobolus (~jacobolus@c-24-5-85-179.hsd1.ca.comcast.net) (Read error: Connection reset by peer)
- # [10:29] * Joins: jacobolus (~jacobolus@c-24-5-85-179.hsd1.ca.comcast.net)
- # [10:32] * heycam is now known as heycam|away
- # [10:34] * Joins: drublic (~drublic@frbg-5f732382.pool.mediaWays.net)
- # [10:35] <zcorpan> yaffle: ok. then, *shrug*
- # [10:38] * Quits: Lachy (~Lachy@cm-84.215.59.50.getinternet.no) (Quit: Computer has gone to sleep.)
- # [10:38] <hsivonen> not the best for truth but probably good for advocacy that Firefox 3.6 no longer shows up on caniuse
- # [10:39] * Quits: drublic (~drublic@frbg-5f732382.pool.mediaWays.net) (Remote host closed the connection)
- # [10:39] * Joins: drublic (~drublic@frbg-5f732382.pool.mediaWays.net)
- # [10:42] <hsivonen> oh. there's an option to show old versions
- # [10:52] * Quits: cpearce (~chatzilla@ip-118-90-36-154.xdsl.xnet.co.nz) (Ping timeout: 240 seconds)
- # [10:56] * Joins: myakura (~myakura@FL1-211-135-241-47.tky.mesh.ad.jp)
- # [10:59] * Quits: myakura (~myakura@FL1-211-135-241-47.tky.mesh.ad.jp) (Remote host closed the connection)
- # [11:04] * Joins: danielfilho_ (~daniel@187.31.77.7)
- # [11:05] * Quits: danielfilho (~daniel@187.31.77.7) (Ping timeout: 245 seconds)
- # [11:05] * danielfilho_ is now known as danielfilho
- # [11:10] * Quits: drublic (~drublic@frbg-5f732382.pool.mediaWays.net) (Remote host closed the connection)
- # [11:11] * Joins: drublic (~drublic@frbg-5f732382.pool.mediaWays.net)
- # [11:12] * Joins: PalleZingmark (~Adium@217.13.228.226)
- # [11:13] * Joins: abarth (~abarth@173-164-128-209-SFBA.hfc.comcastbusiness.net)
- # [11:16] * Quits: zcorpan (~zcorpan@c-699de355.410-6-64736c14.cust.bredbandsbolaget.se) (Remote host closed the connection)
- # [11:16] * Joins: zcorpan (~zcorpan@c-699de355.410-6-64736c14.cust.bredbandsbolaget.se)
- # [11:20] * heycam|away is now known as heycam
- # [11:23] * Quits: drublic (~drublic@frbg-5f732382.pool.mediaWays.net) (Ping timeout: 248 seconds)
- # [11:24] * Joins: drublic (~drublic@frbg-4d0297cf.pool.mediaWays.net)
- # [11:29] * Joins: jarek (~jarek@unaffiliated/jarek)
- # [11:32] * Quits: AryehGregor (~Simetrica@mediawiki/simetrical) (Ping timeout: 240 seconds)
- # [11:33] * Joins: AryehGregor (~Simetrica@cpe-68-175-61-233.nyc.res.rr.com)
- # [11:33] * Quits: AryehGregor (~Simetrica@cpe-68-175-61-233.nyc.res.rr.com) (Changing host)
- # [11:33] * Joins: AryehGregor (~Simetrica@mediawiki/simetrical)
- # [11:37] * Quits: Areks (~Areks@rs.gridnine.com) (Ping timeout: 240 seconds)
- # [11:39] * Quits: Phrogz_ (d8e47015@pdpc/supporter/professional/phrogz) (Ping timeout: 265 seconds)
- # [11:41] <annevk> Is there a bug on WebKit on removing document.width and document.height?
- # [11:50] * Joins: Areks (~Areks@rs.gridnine.com)
- # [11:53] * Joins: Lachy (~Lachy@pat-tdc.opera.com)
- # [11:55] * Quits: Evanescence (~Evanescen@122.237.23.204) (Quit: my website: http://stardiviner.dyndns-blog.com/)
- # [11:57] <jarek> annevk: but those are used all over the place, removing them would break many websites
- # [11:58] * Joins: adactio (~adactio@host213-123-197-180.in-addr.btopenworld.com)
- # [11:58] <jarek> no, wait... Firefox has done that...
- # [11:58] * Quits: akamike (~akamike@94-193-106-14.zone7.bethere.co.uk) (Quit: akamike)
- # [11:58] <jarek> https://developer.mozilla.org/en/DOM/document.width
- # [11:59] * annevk filed https://bugs.webkit.org/show_bug.cgi?id=72591
- # [12:00] <annevk> jarek: only Gecko and WebKit supported them
- # [12:00] <annevk> jarek: some Google-demo is still using them it seems, but not much more than that as far as I know
- # [12:00] * Joins: spacejammin (~spacejamm@host153-72-static.34-79-b.business.telecomitalia.it)
- # [12:03] * heycam is now known as heycam|away
- # [12:06] <abarth> annevk: which demo?
- # [12:07] <annevk> http://studio.html5rocks.com/#Puzzle because of code in http://studio.html5rocks.com/samples/svg-puzzle/jigsaw.js
- # [12:07] * Quits: margle (~Margle@41-133-196-64.dsl.mweb.co.za) (Quit: Computer has gone to sleep.)
- # [12:07] <annevk> instead of document.width it should use document.body.clientWidth and same for height
- # [12:07] <annevk> abarth: ^^
- # [12:07] <abarth> annevk: thanks. i can try to figure out who to nudge
- # [12:08] <abarth> strange, i don't see them in document.idl
- # [12:09] * Quits: tomasf (~tomasf@77.72.97.5.c.fiberdirekt.net) (Read error: Connection reset by peer)
- # [12:09] <annevk> thanks man
- # [12:09] * Joins: tomasf (~tomasf@77.72.97.5.c.fiberdirekt.net)
- # [12:10] <abarth> ah, they're on HTMLDocument
- # [12:11] <annevk> added that to the bug
- # [12:13] <abarth> i've got a patch, but i need to see how many tests it breaks :)
- # [12:13] * Joins: smaug_____ (~chatzilla@GGYGMMMII.gprs.sl-laajakaista.fi)
- # [12:15] * abarth is now known as abarth|zZz
- # [12:15] * Quits: smaug____ (~chatzilla@GGYXXXV.gprs.sl-laajakaista.fi) (Ping timeout: 240 seconds)
- # [12:15] * smaug_____ is now known as smaug____
- # [12:19] * Quits: smaug____ (~chatzilla@GGYGMMMII.gprs.sl-laajakaista.fi) (Quit: Reconnecting…)
- # [12:19] * Joins: smaug____ (~chatzilla@GGYGMMMII.gprs.sl-laajakaista.fi)
- # [12:28] * Joins: margle (~Margle@41-133-196-64.dsl.mweb.co.za)
- # [12:29] * Quits: jarek (~jarek@unaffiliated/jarek) (Quit: Leaving)
- # [12:36] * Joins: danbri (~danbri@cable-146-255-152-114.dynamic.telemach.ba)
- # [12:36] * Joins: necolas (~necolas@host-92-12-156-249.as43234.net)
- # [12:37] * Quits: danbri (~danbri@cable-146-255-152-114.dynamic.telemach.ba) (Remote host closed the connection)
- # [12:39] * Quits: Lachy (~Lachy@pat-tdc.opera.com) (Quit: Textual IRC Client: http://www.textualapp.com/)
- # [12:45] <yaffle> http://stackoverflow.com/questions/8162883/dom-events-api-event-delegation-and-stoppropagation
- # [12:47] <annevk> I am the only one confused by this thread: http://lists.w3.org/Archives/Public/public-html/2011Nov/0157.html
- # [12:49] <annevk> yaffle: use event.stopPropagation()
- # [12:52] <yaffle> annevk: event delegation!
- # [12:52] * Joins: danbri (~danbri@cable-146-255-152-131.dynamic.telemach.ba)
- # [12:54] <annevk> yaffle: not sure how to interpret tha
- # [12:54] <annevk> t
- # [12:54] <smaug____> (what has that to do with delegation?)
- # [12:56] <yaffle> annevk: i want to use "event delegation", so all event listeners are attached to same element, event.stopPropagation() will not help
- # [12:58] <smaug____> stopImmediatePropagation()
- # [12:58] <smaug____> though, I'm not sure what delegation means in this case
- # [12:58] <smaug____> apparently something different than usually
- # [12:59] <annevk> sicking did suggest we should add jQuery-style event handling to the DOM
- # [12:59] <annevk> I haven't had time to look at it yet
- # [12:59] * Joins: Lachy (~Lachy@pat-tdc.opera.com)
- # [13:00] <smaug____> huh
- # [13:01] <yaffle> annevk: wow! sounds good
- # [13:01] * Quits: Lachy (~Lachy@pat-tdc.opera.com) (Client Quit)
- # [13:01] <smaug____> sicking has all these crazy ideas :p
- # [13:01] <smaug____> what is good in jquery event handling?
- # [13:04] * nunnun_away is now known as nunnun
- # [13:05] <yaffle> smaug____: "stopPropagation" support + short syntax for event delegation
- # [13:05] <smaug____> DOM events support stopPropagation
- # [13:05] <smaug____> what is "short syntax for event delegation" ?
- # [13:06] <yaffle> smaug____: but not for "event-delegation" pattern
- # [13:07] <smaug____> do you mean .delegate() method in jQuery ?
- # [13:07] <yaffle> smaug____: $(document).on('click', '.test', function() { alert(123); }); - will alerts clicking on elements with className "test"
- # [13:08] <yaffle> smaug____: yes, in latest jQuery, they move to "on" method, although "delegate" makes the same
- # [13:08] <smaug____> document.documentElement.onclick = function (e) { if (e.target.className.contains("test")) { alert(123); } }
- # [13:09] <yaffle> smaug____: <b class="test"><a> who will be the target "a" or "b"? </a></b>
- # [13:09] <smaug____> depending on the stopPropagation calls ofc
- # [13:09] <smaug____> ah, true
- # [13:10] <smaug____> ok, my example doesn't work
- # [13:10] <smaug____> but something quite similar would
- # [13:10] <yaffle> smaug____: document.addEventListener('click', function (event ) { var target =event.target; while (target && !(target.matchesSelector && target.matchesSelector('.test')) { target=target.parentNode;} if (target) {alert(123)} },false);
- # [13:10] <yaffle> smaug____: this is what we can do with native DOM, but we can't do "stopPropagation"
- # [13:11] <smaug____> I don't understand what you mean with 'can't do "stopPropagation"'?
- # [13:12] <smaug____> ah, you want the first listener to call stopPropagation if there are many listeners
- # [13:12] <smaug____> er, many elements with .test ?
- # [13:13] <yaffle> smaug____: http://jsfiddle.net/sbxBw/3/
- # [13:14] <yaffle> smaug____: many event listeners...
- # [13:15] <smaug____> stopImmediatePropagation() should work
- # [13:16] <smaug____> hmm
- # [13:16] <smaug____> well, that testcase is just about plain normal addEventListener
- # [13:16] <smaug____> and calling stopPropagation
- # [13:17] * Quits: danbri (~danbri@cable-146-255-152-131.dynamic.telemach.ba) (Ping timeout: 260 seconds)
- # [13:19] <smaug____> I can see some use cases for registering same listener to different targets
- # [13:19] <smaug____> but since that is just so trivial to do in scripting, I'm not sure that kind of "delegation" is needed in DOM API
- # [13:19] * Joins: Lachy (~Lachy@pat-tdc.opera.com)
- # [13:21] <yaffle> smaug____: stopImmediatePropagation is not what i need))) stopImmediatePropagatin prevends ALL listeners from execution
- # [13:22] <yaffle> smaug____: http://jsfiddle.net/sbxBw/4/ updated example ))
- # [13:23] <smaug____> in that example you'd just call stopPropagation() in the listener added to element with .bu
- # [13:25] <yaffle> smaug____: if i will add listeners to elements with ".bu" - this wouldn't be "event-delegation" =)
- # [13:25] <smaug____> how is jquery not adding listener to .bu element?
- # [13:25] <smaug____> I must be missing something here
- # [13:26] * Joins: bga_ (~bga@ppp78-37-206-209.pppoe.avangarddsl.ru)
- # [13:26] <smaug____> $(document) is just the context, right? and then everything underneath it with .bu and .test will get the listeners you define
- # [13:28] <yaffle> smaug____: "click" event will bubbles up to document, so we can listen for him on document, then check event.target or event.target.parentElement or ...
- # [13:29] <smaug____> "The .on() method attaches event handlers to the currently selected set of elements in the jQuery object."
- # [13:29] <smaug____> that is from jQuery documentation
- # [13:30] <yaffle> When a selector is provided, the event handler is referred to as delegated.
- # [13:30] <smaug____> so, as far as I see, the example you posted is still just about event propagation and calling stopPropagation
- # [13:30] <yaffle> http://api.jquery.com/on/#direct-and-delegated-events
- # [13:30] * Joins: plutoniix (~plutoniix@ppp-110-168-69-64.revip5.asianet.co.th)
- # [13:33] <smaug____> " The handler is not called when the event occurs directly on the bound element, but only for descendants "
- # [13:33] <smaug____> so, still about normal event propagation
- # [13:33] <smaug____> "runs the handler for any elements along that path matching the selector."
- # [13:34] <smaug____> still reading...
- # [13:34] <smaug____> I assume I'm missing something here..
- # [13:36] <smaug____> but I can't find anything...
- # [13:36] <smaug____> jQuery uses word delegate quite unique way
- # [13:37] <smaug____> ah, now I see
- # [13:40] * Quits: shepazu_ (~shepazu@12.1.203.2) (Ping timeout: 240 seconds)
- # [13:43] <smaug____> one could add the "delegate" listener during capture phase
- # [13:43] * Quits: yuuki (~kobayashi@58x158x182x50.ap58.ftth.ucom.ne.jp) (Quit: Leaving...)
- # [13:43] <smaug____> and then remove it automatically later
- # [13:43] <smaug____> that should give the jQuery behavior
- # [13:46] * Joins: Evanescence (~Evanescen@122.237.23.204)
- # [13:46] * Joins: akamike (~akamike@94-193-106-14.zone7.bethere.co.uk)
- # [14:04] * Joins: benjoffe_ (~benjoffe_@1.152.102.202)
- # [14:07] * Quits: erlehmann (~erlehmann@82.113.99.40) (Ping timeout: 240 seconds)
- # [14:09] <yaffle> smaug____, hm... thanks, good solution
- # [14:12] * Quits: Evanescence (~Evanescen@122.237.23.204) (Quit: my website: http://stardiviner.dyndns-blog.com/)
- # [14:13] * Joins: richt (~richt@guest.opera.com)
- # [14:22] * Joins: myakura (~myakura@FL1-211-135-241-47.tky.mesh.ad.jp)
- # [14:26] * Parts: yaffle (~vic99999@217.19.114.226)
- # [14:28] * Quits: benjoffe_ (~benjoffe_@1.152.102.202) (Read error: Connection reset by peer)
- # [14:33] * Joins: jochen__ (jochen@nat/google/x-bzulmyfrgdyjktru)
- # [14:38] * Quits: agektmr (~Adium@220.109.219.244) (Quit: Leaving.)
- # [14:40] * Quits: smaug____ (~chatzilla@GGYGMMMII.gprs.sl-laajakaista.fi) (Ping timeout: 244 seconds)
- # [14:43] * Quits: MacTed (~Thud@c-71-233-244-175.hsd1.ma.comcast.net)
- # [14:44] * Joins: yaffle (~vic99999@217.19.114.226)
- # [14:44] * Parts: yaffle (~vic99999@217.19.114.226)
- # [14:44] * Quits: richt (~richt@guest.opera.com) (Read error: No route to host)
- # [14:44] * Joins: richt (~richt@guest.opera.com)
- # [14:47] * Joins: nimbupani (~divyam@c-24-18-47-160.hsd1.wa.comcast.net)
- # [14:47] * nimbupani is now known as divya
- # [14:47] * Quits: divya (~divyam@c-24-18-47-160.hsd1.wa.comcast.net) (Client Quit)
- # [14:47] * Joins: nimbupani (~divyam@c-24-18-47-160.hsd1.wa.comcast.net)
- # [14:47] * nimbupani is now known as divya
- # [15:01] * Joins: miketaylr (~miketaylr@206.217.92.186)
- # [15:05] * Quits: Areks (~Areks@rs.gridnine.com) (Ping timeout: 240 seconds)
- # [15:06] * Quits: richt (~richt@guest.opera.com) (Remote host closed the connection)
- # [15:10] * Joins: davidb_ (~davidb@66.207.208.98)
- # [15:19] * Quits: tomasf (~tomasf@77.72.97.5.c.fiberdirekt.net) (Quit: tomasf)
- # [15:26] * Joins: astearns (~anonymous@c-50-132-63-33.hsd1.wa.comcast.net)
- # [15:27] * Joins: smaug____ (~chatzilla@GGYYYMMCCXXI.gprs.sl-laajakaista.fi)
- # [15:41] * Quits: smaug____ (~chatzilla@GGYYYMMCCXXI.gprs.sl-laajakaista.fi) (Ping timeout: 260 seconds)
- # [15:43] * Joins: MacTed (~Thud@63.119.36.36)
- # [15:52] * Joins: mhausenblas (~mhausenbl@wlan-nat.fwgal01.deri.ie)
- # [16:02] * Joins: tomasf (~tomasf@host-95-199-21-227.mobileonline.telia.com)
- # [16:02] * Joins: J_Voracek (~J_Voracek@71.21.195.70)
- # [16:05] * Quits: plutoniix (~plutoniix@ppp-110-168-69-64.revip5.asianet.co.th) (Ping timeout: 276 seconds)
- # [16:05] * Joins: ben_alman (~cowboy@75-150-66-254-NewEngland.hfc.comcastbusiness.net)
- # [16:08] * Joins: thiagotpc (~contato@186.215.228.170)
- # [16:10] * Joins: plutoniix (~plutoniix@ppp-124-120-69-35.revip2.asianet.co.th)
- # [16:11] * Quits: margle (~Margle@41-133-196-64.dsl.mweb.co.za) (Ping timeout: 244 seconds)
- # [16:11] * Joins: margle (~Margle@41-133-196-64.dsl.mweb.co.za)
- # [16:17] * Quits: margle (~Margle@41-133-196-64.dsl.mweb.co.za) (Quit: Textual IRC Client: http://www.textualapp.com/)
- # [16:17] * Quits: thiagotpc (~contato@186.215.228.170) (Ping timeout: 260 seconds)
- # [16:17] * Joins: Margle (~Margle@41-133-196-64.dsl.mweb.co.za)
- # [16:22] * Joins: neb3000 (~neb3000@115.146.71.1)
- # [16:31] * Quits: zcorpan (~zcorpan@c-699de355.410-6-64736c14.cust.bredbandsbolaget.se) (Quit: zcorpan)
- # [16:37] * Joins: chriseppstein (~chrisepps@209.119.65.162)
- # [16:39] * ericc|away is now known as eric_carlson
- # [16:41] * Joins: scor (~scor@drupal.org/user/52142/view)
- # [16:47] * Joins: oal (u4126@gateway/web/irccloud.com/x-qboyegsrdlnmqjyd)
- # [16:48] <oal> Is it possible to do :after {content: this.alt; } or something simliar with css? I'd like to add a description below images based on their "alt" attribute.
- # [16:49] * Quits: J_Voracek (~J_Voracek@71.21.195.70) (Quit: disconnected: Jace Voracek - Jace@Jace-Place.com)
- # [16:50] <divya> ::after { content: attr(alt); }
- # [16:53] <woef> Not really recommended though.
- # [16:55] <oal> Oh, never thought it would be that simple :)
- # [16:55] <oal> woef: Why?
- # [16:56] <woef> "The caption is to provide information about the image, while the alt text is to provide alternative content _to_ the image; these are not conceptually the same."
- # [16:56] <woef> Basically, there should be a difference in how you use them.
- # [16:58] <oal> Got it. Hmm, the cms I use adds alt and title attributes. Should I use the title instead?
- # [16:59] * Quits: mhausenblas (~mhausenbl@wlan-nat.fwgal01.deri.ie) (Quit: brb)
- # [16:59] * Quits: PalleZingmark (~Adium@217.13.228.226) (Quit: Leaving.)
- # [17:00] <annevk> ::after does not work on <img>
- # [17:00] <annevk> you should use <figure> <img> <figcaption> caption </figcaption> </figure> I think
- # [17:01] <divya> o thats true
- # [17:03] <oal> Ah, thanks, that's why it didn't work! ;)
- # [17:09] * Joins: thiagotpc (~contato@186.215.228.170)
- # [17:10] * Quits: Lachy (~Lachy@pat-tdc.opera.com) (Quit: Computer has gone to sleep.)
- # [17:16] * Joins: jarek (~jarek@unaffiliated/jarek)
- # [17:18] * Quits: Margle (~Margle@41-133-196-64.dsl.mweb.co.za) (Quit: Computer has gone to sleep.)
- # [17:25] * Joins: cgcardona (~cgcardona@69.38.221.130)
- # [17:25] * Quits: cgcardona (~cgcardona@69.38.221.130) (Changing host)
- # [17:25] * Joins: cgcardona (~cgcardona@unaffiliated/cgcardona)
- # [17:27] * Parts: adactio (~adactio@host213-123-197-180.in-addr.btopenworld.com)
- # [17:34] * Joins: Rik` (~Rik`@mozilla.vlan402.asr1.cdg3.gblx.net)
- # [17:35] * Quits: akamike (~akamike@94-193-106-14.zone7.bethere.co.uk) (Quit: akamike)
- # [17:41] * Quits: tomasf (~tomasf@host-95-199-21-227.mobileonline.telia.com) (Quit: tomasf)
- # [17:48] * Joins: Telling (~unknown@80-71-135-15.u.parknet.dk)
- # [17:50] * Quits: astearns (~anonymous@c-50-132-63-33.hsd1.wa.comcast.net) (Quit: astearns)
- # [17:52] * Quits: myakura (~myakura@FL1-211-135-241-47.tky.mesh.ad.jp) (Remote host closed the connection)
- # [17:53] * Joins: thiagotpc2 (~contato@186.215.228.170)
- # [17:57] * Quits: thiagotpc (~contato@186.215.228.170) (Ping timeout: 258 seconds)
- # [18:00] * Quits: thiagotpc2 (~contato@186.215.228.170) (Ping timeout: 245 seconds)
- # [18:01] * _salavas is now known as salavas
- # [18:01] * Joins: smaug____ (~chatzilla@193-64-22-160-nat.elisa-mobile.fi)
- # [18:02] * Joins: thiagotpc (~contato@186.215.228.170)
- # [18:07] * Joins: thiagotpc2 (~contato@186.215.228.170)
- # [18:08] * Joins: sicking (~chatzilla@c-98-210-155-80.hsd1.ca.comcast.net)
- # [18:10] * Joins: hasather_ (~hasather_@84.38.144.96)
- # [18:11] * Quits: thiagotpc (~contato@186.215.228.170) (Ping timeout: 244 seconds)
- # [18:11] * Joins: tomasf (~tom@c-b7dbe555.024-204-6c6b7012.cust.bredbandsbolaget.se)
- # [18:12] * Joins: thiagotpc (~contato@186.215.228.170)
- # [18:16] * Quits: thiagotpc2 (~contato@186.215.228.170) (Ping timeout: 244 seconds)
- # [18:16] * Joins: cygri (~cygri@wlan-nat.fwgal01.deri.ie)
- # [18:18] * Joins: thiagotpc2 (~contato@186.215.228.170)
- # [18:21] * Quits: thiagotpc (~contato@186.215.228.170) (Ping timeout: 252 seconds)
- # [18:21] * Quits: miketaylr (~miketaylr@206.217.92.186) (Ping timeout: 260 seconds)
- # [18:22] * Quits: woef (~woef@91.183.84.141) (Ping timeout: 252 seconds)
- # [18:22] * Joins: KillerX_ (~anant@nat/mozilla/x-ofppbgspqripoxqu)
- # [18:23] * Joins: Ms2ger (~Ms2ger@91.181.0.73)
- # [18:23] * Joins: miketayl_r (~miketaylr@206.217.92.186)
- # [18:23] * miketayl_r is now known as miketaylr
- # [18:24] * Joins: thiagotpc (~contato@186.215.228.170)
- # [18:26] * Quits: thiagotpc2 (~contato@186.215.228.170) (Ping timeout: 240 seconds)
- # [18:26] * Joins: KillerX__ (~anant@nat/mozilla/x-zpkihdldriiissht)
- # [18:27] * KillerX__ is now known as KillerX
- # [18:28] * Joins: thiagotpc2 (~contato@186.215.228.170)
- # [18:28] * Quits: hasather_ (~hasather_@84.38.144.96) (Remote host closed the connection)
- # [18:29] * Quits: KillerX_ (~anant@nat/mozilla/x-ofppbgspqripoxqu) (Ping timeout: 258 seconds)
- # [18:30] * Joins: rniwa (~rniwa@70-89-66-218-ca.sfba.hfc.comcastbusiness.net)
- # [18:30] * Joins: Lachy (~Lachy@cm-84.215.59.50.getinternet.no)
- # [18:31] * Quits: thiagotpc (~contato@186.215.228.170) (Ping timeout: 260 seconds)
- # [18:33] * Joins: thiagotpc (~contato@186.215.228.170)
- # [18:35] * Joins: tantek (~tantek@12.1.203.2)
- # [18:35] * Quits: rniwa (~rniwa@70-89-66-218-ca.sfba.hfc.comcastbusiness.net) (Quit: rniwa)
- # [18:37] * Joins: espadrine (~thaddee_t@acces2064.res.insa-lyon.fr)
- # [18:37] * Parts: espadrine (~thaddee_t@acces2064.res.insa-lyon.fr)
- # [18:38] * Quits: thiagotpc2 (~contato@186.215.228.170) (Ping timeout: 276 seconds)
- # [18:38] * Joins: thiagotpc2 (~contato@186.215.228.170)
- # [18:42] * Quits: thiagotpc (~contato@186.215.228.170) (Ping timeout: 260 seconds)
- # [18:43] * Joins: thiagotpc (~contato@186.215.228.170)
- # [18:45] * Joins: astearns (~anonymous@192.150.22.5)
- # [18:46] * Quits: thiagotpc2 (~contato@186.215.228.170) (Ping timeout: 244 seconds)
- # [18:48] * Joins: thiagotpc2 (~contato@186.215.228.170)
- # [18:50] * Ms2ger is bored of the unprefixing thread already
- # [18:52] * Quits: thiagotpc (~contato@186.215.228.170) (Ping timeout: 260 seconds)
- # [18:53] * Joins: thiagotpc (~contato@186.215.228.170)
- # [18:57] <jgraham> Took a while
- # [18:57] * Quits: thiagotpc2 (~contato@186.215.228.170) (Ping timeout: 260 seconds)
- # [18:58] * Joins: thiagotpc2 (~contato@186.215.228.170)
- # [19:00] * Joins: hasather_ (~hasather_@84.38.144.96)
- # [19:00] * Joins: espadrine (~thaddee_t@acces2064.res.insa-lyon.fr)
- # [19:01] <jgraham> "If [the CSS WG] cannot advance specification to recommendation status much faster than it has for the existing CSS Level 3 recommendations, Spock will be around when the last recommendation is published. Without time travel." - heh. Pity about the rest of the email.
- # [19:01] * Joins: jamesr (jamesr@nat/google/x-jclrdcydmjkqfykt)
- # [19:02] * Joins: svl (~me@ip565744a7.direct-adsl.nl)
- # [19:02] * Quits: thiagotpc (~contato@186.215.228.170) (Ping timeout: 244 seconds)
- # [19:02] <AryehGregor> I want to make a blog post on the progress of my editing specification, preferably somewhere in W3C-land. What blog might I post on?
- # [19:03] <AryehGregor> I can make it on the WHATWG blog, but I'd prefer it to be W3C because of Microsoft.
- # [19:04] * Joins: thiagotpc (~contato@186.215.228.170)
- # [19:04] <jgraham> Microsoft read W3C blogs?
- # [19:04] * Joins: jarek- (~jarek@bcw174.neoplus.adsl.tpnet.pl)
- # [19:05] <tantek> AryehGregor, put it on your own personal blog, tag it HTML5, and get it syndicated into the planet HTML5 aggregator on W3.org
- # [19:05] <tantek> #ownyourdata
- # [19:05] <AryehGregor> tantek, I don't have a personal blog.
- # [19:05] * Quits: jarek (~jarek@unaffiliated/jarek) (Ping timeout: 260 seconds)
- # [19:05] <tantek> personal wiki then? ;)
- # [19:05] <AryehGregor> jgraham, I have no idea, but I'm making an effort to use W3C stuff where possible out of support for CGs.
- # [19:07] * Joins: ap (~ap@2620:149:4:1b01:7173:b38:c64e:8477)
- # [19:07] <jgraham> Doesn't your CG get a blog?
- # [19:07] <AryehGregor> Um, maybe.
- # [19:07] <AryehGregor> I can check.
- # [19:07] <jgraham> I mean it is basically just wordpress
- # [19:08] <AryehGregor> That would be logical.
- # [19:08] * Quits: thiagotpc2 (~contato@186.215.228.170) (Ping timeout: 258 seconds)
- # [19:08] <tantek> Hixie, what was that URL for time duration microsyntaxes where you're gathering examples/data?
- # [19:08] <AryehGregor> Is there some way to configure "hg push" to push to multiple repos?
- # [19:08] * jgraham is pretty sure it does
- # [19:08] <jgraham> AryehGregor: That sounds like it would be very confusing
- # [19:08] <AryehGregor> Why?
- # [19:08] <jgraham> What if the push fails to one repository?
- # [19:08] * Joins: Maurice` (copyman@5ED573FA.cm-7-6b.dynamic.ziggo.nl)
- # [19:09] <Hixie> tantek: http://www.whatwg.org/specs/web-apps/current-work/temp
- # [19:09] <AryehGregor> Then it prints an error for that one and tries another?
- # [19:09] <tantek> thanks
- # [19:09] * Quits: jamesr (jamesr@nat/google/x-jclrdcydmjkqfykt) (Quit: jamesr)
- # [19:09] * Joins: jamesr (~jamesr@216.239.45.21)
- # [19:09] * AryehGregor doesn't know if git allows this either, but it seems useful for mirroring
- # [19:09] <Hixie> tantek: btw, i have one problem with the duration thing separate from the syntax, that i wonder if you could help me with
- # [19:09] <Ms2ger> hg push a && hg push b
- # [19:09] <tantek> Hixie - should I copy/paste that into a wiki page?
- # [19:10] <Hixie> sure
- # [19:10] <tantek> and edit / comment?
- # [19:10] <tantek> ok
- # [19:10] <Hixie> tantek: it seems that a year month day hour minute second duration can be boiled down to a number of months and a number of seconds
- # [19:10] * Quits: thiagotpc (~contato@186.215.228.170) (Ping timeout: 252 seconds)
- # [19:10] <Ms2ger> Aliases are nice for that
- # [19:10] <Hixie> tantek: but how would one expose this in an api in a way that wouldn't be misused all the time?
- # [19:10] <tantek> except that months are not a consistent amount of time :/
- # [19:10] * tantek really dislikes the # of months duration
- # [19:10] <jgraham> Pretty sure you can only push to one repo at a time with git
- # [19:11] <Hixie> tantek: if we exposed durationMonths and durationSeconds, people expecting short times would only look at the seconds
- # [19:11] <jgraham> Because I think practically it would be confusing when it failed and you were left with some repos updated and some not
- # [19:11] <Hixie> tantek: and then if someone ever typos a number of months instead of minutes, they'll find the months are ignored, and will increase the seconds or something and go on their merry way... and later when someone who _does_ handle months and seconds comes along, they'll find the data is bogus
- # [19:11] <tantek> we could define a "month" duration as always being 30 days
- # [19:11] <Hixie> tantek: yeah
- # [19:12] <Hixie> tantek: another option would be to say that you can _either_ give durations of years+months, _or_ days,hours,minutes,seconds
- # [19:12] <Hixie> tantek: but can't mix and match, at least not for now
- # [19:12] <tantek> Hixie, well, ISO8601 let's you mix and match, so...
- # [19:12] <tantek> lets you
- # [19:12] <Hixie> tantek: we're already profiling ISO8601 anyway, *shrug*
- # [19:12] <tantek> agreed, profiling/subsetting is good.
- # [19:12] <tantek> we can at least try to be consistent
- # [19:13] <tantek> can we punt on an API for durations for the moment?
- # [19:13] <tantek> and see if there is sufficient interest in that at all from implementers?
- # [19:13] <AryehGregor> Ms2ger, yeah, I figured that out. Works well enough for me.
- # [19:13] <Hixie> tantek: (another problem with mixing and matching is that what is 1month30days? on feb 1st, yf you add days then months you end up at the start of april, but if you add months then days, you end up at the end of march)
- # [19:14] <Ms2ger> Also, interesting how often people mention HTML4 on www-style
- # [19:14] * tantek needs to reference ISO8601 to answer that :/
- # [19:14] <tantek> or perhaps iCalendar
- # [19:14] <tantek> since iCalendar also has durations
- # [19:14] <tantek> and defines what happens when you have a dtstart and a duration
- # [19:14] <Hixie> tantek: for duration, if we don't add an api, i'm worried people will roll their own
- # [19:14] * Joins: cpearce (~chatzilla@ip-118-90-36-154.xdsl.xnet.co.nz)
- # [19:14] <Hixie> tantek: and that's a non-trivial parser to write
- # [19:14] <tantek> Hixie, if people roll their own, we can then use that as experience to design a good one
- # [19:14] <Hixie> tantek: especially if we add the new syntax
- # [19:15] <tantek> so far people haven't even implemented the *simpler* API of datetime
- # [19:15] <Hixie> tantek: but even if they do roll their own, they'll still have the problem of what to do with months and seconds, so i don't think it would solve the earlier problem
- # [19:15] <Hixie> tantek: this would actually be simpler than the old api
- # [19:15] <tantek> we can define duration canonicalization
- # [19:15] <Hixie> tantek: in practice
- # [19:15] <tantek> as part of the parsing
- # [19:16] <Hixie> tantek: anyway, the advantage of not allowing months and seconds to be mixed is we can always allow it later if we find it's easy or important to deal with after all
- # [19:16] <Hixie> tantek: are there use cases for mixing them that we know of today?
- # [19:16] <tantek> if we're going to split them, I'd prefer days and seconds
- # [19:16] <tantek> since those are much more precisely / universally defined
- # [19:16] <Hixie> not sure what you mean by "split"
- # [19:16] <tantek> as the two granularities
- # [19:16] <Hixie> days is just a multiple of seconds
- # [19:17] <tantek> your distinction of months and seconds
- # [19:17] <tantek> instead use days and seconds
- # [19:17] <Hixie> ?
- # [19:17] <tantek> you speak of months and seconds
- # [19:17] <Hixie> months are the problem, not days
- # [19:17] <tantek> and I'm saying instead, let us speak of days and seconds
- # [19:17] <Hixie> days are trivial
- # [19:17] <tantek> not if we define a month to be 30 days
- # [19:17] <Hixie> 1 day = 86400 seconds
- # [19:17] <Hixie> if we defined 1 month = 30 days then we have no problem
- # [19:18] <Hixie> except that a month isn't 30 days
- # [19:18] * jernoble|afk is now known as jernoble
- # [19:18] * tantek needs to reference iCalendar to determine that
- # [19:18] <Hixie> (feb 1 + 1 month = march 4th? not)
- # [19:19] <Hixie> icalendar doesn't allow years and months anyway
- # [19:19] <tantek> for durations?
- # [19:19] <Hixie> yeah
- # [19:19] <tantek> interesting
- # [19:19] <annevk> wow http://www.reddit.com/r/politics/comments/mfrs2/nypd_are_blocking_a_sidewalk_and_asking_for/
- # [19:19] <tantek> perhaps we should take that path then
- # [19:19] <Hixie> (though tehy do support weeks)
- # [19:20] <Hixie> (which seems to be an iso8601 extension?)
- # [19:20] <jgraham> annevk: DOCUMENT_POSITION_CONTAINED_BY (16, 10 in hexadecimal).
- # [19:20] <tantek> as a week = 7 days ?
- # [19:20] <Hixie> seems that way
- # [19:20] <jgraham> annevk: Either say 16 or 0x10
- # [19:20] <tantek> I'm find with limiting duration to the iCalendar subset
- # [19:20] <tantek> I believe that covers current use-cases
- # [19:20] <Hixie> let me look at the use cases again
- # [19:20] <tantek> and if someone wants to justify months etc. later with other use-cases that we can't do with days or weeks, they can document it
- # [19:21] <tantek> current use cases are around music song lengths, movie lengths, etc. and iCalendar.
- # [19:21] <tantek> let's punt on months
- # [19:21] <Hixie> well, not supporting months at all would certainly be an interesting approach
- # [19:21] <Ms2ger> jgraham, patches welcome :)
- # [19:21] <divya> annevk: these two photos are CLASSIC https://twitter.com/aaronsw/status/137191356778020864
- # [19:21] <Hixie> TabAtkins: does not supporting months at all seem reasonable to you?
- # [19:21] <Hixie> (tab and i were talking about this yesterday)
- # [19:22] <hober> sounds good to me
- # [19:22] <tantek> Hixie, when defining something seems odd/weird, it's often a sign that there aren't sufficient use-cases to constrain it properly
- # [19:22] <Hixie> (and he's the only person to have sent me his opinions on that survey yet! ;-) )
- # [19:22] <tantek> thus I have no problems leaving out months
- # [19:22] <Hixie> tantek: certainly
- # [19:22] <tantek> it's the more design-conservative thing to do
- # [19:22] <tantek> and simply leave it open to being justified by use-cases in the future and adding it then
- # [19:22] <tantek> we can make sure the rest of the syntax is forward/backward compatible
- # [19:23] <tantek> (though I have a feeling that in the decade+ of iCalendar development/usage not needing months, we're not going to need months for duration either)
- # [19:23] * tantek will adjust the Time element whatwg wiki page accordingly for duration
- # [19:24] <Hixie> tantek: btw, since you're going through the htmlwg process for this, do you know if the chairs have a timetable on this issue?
- # [19:25] <tantek> my understanding is that they are open for alternative change proposals, but due to the nature of the consensuses at the F2F, they are willing to move more quickly than usual if there are no objections
- # [19:26] <Hixie> what do they think of as "quickly"?
- # [19:26] * Quits: jarek- (~jarek@bcw174.neoplus.adsl.tpnet.pl) (Ping timeout: 244 seconds)
- # [19:26] <tantek> I'm presuming quickly = weeks rather than months
- # [19:27] <Hixie> oh ok
- # [19:27] <Hixie> so there's no rush on this
- # [19:27] <Hixie> ok
- # [19:27] <tantek> oh wait is the HTML WG call going on right now?
- # [19:28] <tantek> or was it at 9am
- # [19:28] <annevk> an hour earlier
- # [19:28] <tantek> shoot
- # [19:28] <hober> you missed it
- # [19:28] * tantek missed the call.
- # [19:28] <tantek> was time/data discussed at all?
- # [19:28] * hober missed it too
- # [19:28] <tantek> sorry I had meant to attend. don't even have the different time zone excuse.
- # [19:30] <tantek> also, Hixie, for the details of my Time change proposal, other than the syntaxes as documented on the Time element wiki page, I've left the details to be specified by the editor, and from what I can tell, that is acceptable to the group (assuming no objections are raised).
- # [19:30] <annevk> divya: also WTF
- # [19:30] * tantek would rather not overconstrain the editor's job.
- # [19:31] <annevk> divya: unless parody, in which case, funny
- # [19:31] <Hixie> tantek: i expect to have updated the spec long before the chairs get around to a decision, if they're working on the time scale of weeks rather than hours
- # [19:31] <divya> annevk: sadly not
- # [19:31] <tantek> Hixie, ok, I will attempt work with your time scale.
- # [19:31] <annevk> yeah I was wondering why you just wouldn't update the spec
- # [19:31] <Hixie> tantek: i've been making good use of your wiki page :-)
- # [19:31] * Joins: rniwa (rniwa@nat/google/x-kkpkhiguyxxiuorn)
- # [19:31] <annevk> same for <dialog> btw
- # [19:31] <annevk> seems everyone wants it anyway
- # [19:32] <annevk> and pretty much everyone wants the new <time>
- # [19:32] <Hixie> annevk: i've not had many days actual work time on the spec since tpac unfortunately
- # [19:32] <rniwa> annevk: I talked with someone working on accessibility a couple of days ago, and he really liked dialog element 'cause it'll make modal content more accessible
- # [19:32] <Hixie> annevk: for <dialog> i had planned to wait for the chairs, but now it's interfering with fullscreen i might just get on with it
- # [19:33] * Quits: FlorianX (~Dimitri@p4FCF77B9.dip.t-dialin.net) (Quit: Leaving.)
- # [19:33] <Hixie> annevk: (we've been waiting months already)
- # [19:33] <Hixie> annevk: once i'm done with the <time> thing we should talk about how to figure out dialog and fullscreen to make sure they work together
- # [19:34] * Quits: spacejammin (~spacejamm@host153-72-static.34-79-b.business.telecomitalia.it) (Quit: Leaving)
- # [19:35] <annevk> someone needs to figure out the CSS model we want
- # [19:35] <annevk> I don't really care
- # [19:35] <annevk> I think hober was going to ask www-style
- # [19:35] <annevk> hober: will you get that out today?
- # [19:36] <tantek> Hixie, I'm traveling today (from Seattle back to SF) but will try to write-up some more on duration while offline.
- # [19:36] <tantek> Including iterating on the list of examples you posted
- # [19:36] * Joins: KillerX_ (~anant@nat/mozilla/x-rqdwyzyqdoupgwmn)
- # [19:37] <tantek> I'll start with updating the duration addition in the wiki to drop months (and thus presumably years as well). I can add weeks for iCalendar compatibility (that seems reasonable to me).
- # [19:37] <tantek> (re: Time element wiki page on whatwg)
- # [19:37] <Hixie> tantek: i'd be interested in your opinions on those examples (especially, "1h" vs "1 h", and whether to allow any subset of the english word for the unit, as in "1 hou", "1hours"), but no need to worry about things like the dropping months stuff, i have that in hand
- # [19:37] <hober> yeah, it'll go out today
- # [19:38] <Hixie> tantek: i've actually already written much of the spec text for this other than for the extended duration syntax
- # [19:38] <tantek> Hixie, that's great to hear.
- # [19:38] <Hixie> haven't regenned the spec yet though so if you want to see it, you'll have to look in the source of http://www.whatwg.org/specs/web-apps/current-work/working-copy which is rather hard to find stuff in :-)
- # [19:38] <gavinc> the duration syntax is what ISO 8601... and some other stuff?
- # [19:39] <Hixie> (search for "duration" and search for a comment after the <data> element's definition)
- # [19:39] <Hixie> gavinc: a small subset of ISO8601's syntax, and something more readable based on what tantek was proposing
- # [19:39] <Hixie> gavinc: i'm trying to keep the new syntax similar enough to the ISO syntax that one parser can do both without having to have different modes for both syntaxes
- # [19:39] <Hixie> gavinc: while still making the syntax easier to read
- # [19:40] * Quits: KillerX (~anant@nat/mozilla/x-zpkihdldriiissht) (Ping timeout: 258 seconds)
- # [19:40] * KillerX_ is now known as KillerX
- # [19:41] <annevk> Hixie: you need to have a mode because the HTML one has to throw out stuff the other allows
- # [19:41] <Hixie> annevk: like what? (fill out the form and mail it in! :-) )
- # [19:43] <tantek> annevk, the <time> duration microsyntax should be a superset of ISO8601 duration syntax as profiled by iCalendar. If you find / think of an exception to that, please let us know ASAP.
- # [19:43] <Hixie> webkit doesn't support the vw unit? :-(
- # [19:45] <beverloo> No, vh/vm neither.
- # [19:46] <beverloo> (logically)
- # [19:48] <annevk> tantek: the moment you get into superset/profile/subset relationships, using a modeless parser is flawed
- # [19:49] <tantek> I'm not sure I have data either way to assess that statement.
- # [19:50] * Quits: nonge_ (~nonge@p5B326524.dip.t-dialin.net) (Quit: Verlassend)
- # [19:50] <annevk> tantek: a) the parser would be non-conforming because it either accepts more or less than it is supposed to and b) because of that authors might create content outside the restrictions
- # [19:51] <Hixie> annevk: can you give an example? i don't understand what you mean
- # [19:51] <annevk> tantek: e.g. URLs are restricted in HTTP, but because of the way browsers deal with all URLs, a lot of the restrictions HTTP places on them have been removed from wget/curl to be more compatible with browsers
- # [19:51] * Joins: danbri (~danbri@cable-146-255-152-131.dynamic.telemach.ba)
- # [19:52] <annevk> if ISO allows 1hour/1h and HTML just allows 1h; you cannot use an identical parser for that
- # [19:52] <Hixie> ISO allows only 1H, i'm proposing that our syntax also allow "1 h"
- # [19:52] <Hixie> (and maybe "1 hour", depending on what people think should be allowed)
- # [19:53] <Hixie> seems like one parser could pretty easily handle both
- # [19:53] <annevk> so the HTML parser cannot be used for ISO in that instance
- # [19:53] <Hixie> that's certainly the case, yes
- # [19:53] <gavinc> Hixie: Wouldn't ISO have to be prefixed with P? eg P1H?
- # [19:53] <Hixie> nobody is suggesting that the html duration parser would be a good generic ISO8601 parser
- # [19:53] <Hixie> ISO8601, after all, supports about six bazillion variants we have no intention of even mentioning
- # [19:53] <Hixie> same applies to all the date and time formats in the HTML spec in fact
- # [19:53] <Hixie> gavinc: yes
- # [19:54] <annevk> "i'm trying to keep the new syntax similar enough to the ISO syntax that one parser can do both without having to have different modes for both syntaxes"
- # [19:54] <annevk> I guess I'll see what ends up in the spec
- # [19:54] <annevk> I did fill in the survey
- # [19:54] <annevk> btw
- # [19:55] <annevk> just now
- # [19:55] <Hixie> cool!
- # [19:55] <Hixie> thanks
- # [19:55] <Hixie> i meant that one parser could do both syntaxes when used in an html page
- # [19:55] <Hixie> not that you could use the parser for ISO8601-only cases outside HTML
- # [19:55] <Hixie> sorry for the ambiguity
- # [19:56] <tantek> Hixie - I didn't see a form on that page, just text examples
- # [19:56] <gavinc> and I've lost track of the survey
- # [19:56] <Hixie> i was using form in the old fashioned sense
- # [19:56] <Hixie> http://www.whatwg.org/specs/web-apps/current-work/temp
- # [19:57] <Hixie> something that can be filled in
- # [19:58] <annevk> i.e copy/paste, fill in the open questions
- # [19:58] <tantek> got it
- # [19:59] <tantek> good ol' test case driven spec development ;)
- # [20:00] * Quits: danbri (~danbri@cable-146-255-152-131.dynamic.telemach.ba) (Remote host closed the connection)
- # [20:02] <tantek> Hixie, I'm not sure about allowing whitespace
- # [20:03] <gavinc> So, would 1MT1M be uh, something to add? or not considering supporting etc?
- # [20:03] <tantek> between # and unit
- # [20:03] <tantek> gavinc we are currently considering excluding months
- # [20:03] <tantek> per the above discussion
- # [20:03] <Hixie> gavinc: you mean as opposed to P1MT1M? or?
- # [20:03] <tantek> in short, iCalendar doesn't have it, nor do any current use cases need it
- # [20:03] <Hixie> tantek: sadly we still have to think about how to parse it, just in case we add it later
- # [20:04] <tantek> Hixie, agreed.
- # [20:04] <tantek> so currently, 1MT1M would be invalid.
- # [20:04] <gavinc> Hixie: Yeah, cause P1MT1M would be fine, yes?
- # [20:04] <tantek> no, that would also be invalid
- # [20:04] <tantek> since we are not supporting months (the P1M part)
- # [20:04] <Hixie> gavinc: modulo months being invalid in general, P1MT1M would be valid ISO-based syntax
- # [20:05] <Hixie> gavinc: i don't think we'd want to say that "1MT1M" (or "1DT1H" to move away from the ambiguous and controversial cases) would be conforming, though i imagine we'd parse it as if the P was there, since it's unambigous what it means
- # [20:06] <gavinc> Hixie: So not all valid ISO durations would be conforming?
- # [20:06] <tantek> Hixie, agreed with parsing it, but similar to CSS forward compatible parsing, we would ignore values with months as unsupported.
- # [20:06] <tantek> gavinc - no one supports "all valid ISO durations"
- # [20:06] <Hixie> gavinc: definitely not, there's like six bazillion different ISO duration syntaxes
- # [20:06] <gavinc> heh, yes I'm aware
- # [20:06] <tantek> nor does anyone support "all valid ISO dates"
- # [20:07] <annevk> what is the reason why durations and date/time are gobbled together?
- # [20:07] <tantek> so yeah, we're subsetting
- # [20:07] <annevk> s/why//
- # [20:07] <tantek> in the fine tradition of RFC 3339, W3C Date-time-note etc.
- # [20:07] <tantek> annevk - because alternatives are worse?
- # [20:07] * Quits: jamesr (~jamesr@216.239.45.21) (Quit: jamesr)
- # [20:07] <gavinc> and mixing start datetime and duration to form a single interval
- # [20:07] <Hixie> annevk: in reality? i think because schema.org used <time datetime=""> for durations and imdb used schema.org and now we might as well support it, because, why not
- # [20:08] <annevk> Hixie: ah :(
- # [20:08] <annevk> tantek: having separate attributes would have made sense to me
- # [20:08] <tantek> annevk - I think we discussed this in person at TPAC
- # [20:08] <annevk> tantek: putting all kinds of magic into a single attribute that has a different syntax when specified on e.g. <del> or <ins> seems wrong
- # [20:08] <tantek> a duration attribute
- # [20:09] <tantek> yeah that bothers me too
- # [20:09] <annevk> but if schema.org already did it...
- # [20:09] * tantek would be ok with a duration attribute. but also ok with overloading datetime attribute.
- # [20:09] <tantek> well, schema.org already went much further / worse
- # [20:09] <annevk> then again, I hear schema.org is doing RDFa now
- # [20:09] * tantek wants to avoid that rathole.
- # [20:09] <tantek> annevk, if you want to make a case for a duration attribute, I'm open to it.
- # [20:10] * Joins: tantek-ipod (~tantek@12.1.203.2)
- # [20:10] * Quits: tantek (~tantek@12.1.203.2) (Quit: tantek)
- # [20:10] * tantek-ipod is now known as tantek
- # [20:11] <Hixie> jsut make sure to define what happens when both are specified :-)
- # [20:11] <gavinc> Question, looking over the <time> wiki page. Did the conversation around supporting intervals already come up? I only care a little bit
- # [20:11] <tantek> Example of an interval?
- # [20:12] <gavinc> 2011-11-15/2011-11-17
- # [20:13] <Hixie> gavinc: that's just a start time plus a duration
- # [20:13] <Hixie> gavinc: (or, two times)
- # [20:13] <gavinc> Well, that wasn't. That was two times
- # [20:13] <gavinc> yeah
- # [20:13] <gavinc> But can also be a mix of duration and a time
- # [20:13] <tantek> That's an event
- # [20:13] <Hixie> i think composition is better handled in the vocabulary that uses <time>
- # [20:13] <Hixie> though i did look at ISO8601's ideas here
- # [20:14] <tantek> Use two elements
- # [20:14] <Hixie> turns out the syntax is unambiguous enough that we can add it later if there's a use case
- # [20:14] <tantek> Agreed on composition
- # [20:15] <gavinc> That's kinda of the question, to say mark up a meeting, we'd recommend two <time> elements one for the start and one for the end with relations of start and end time, vs a single <time> and an interval
- # [20:17] * Joins: tantek-ipod (~tantek@12.1.203.2)
- # [20:17] * Quits: tantek (~tantek@12.1.203.2) (Read error: Connection reset by peer)
- # [20:17] * tantek-ipod is now known as tantek
- # [20:17] <tantek> Keep time atomic
- # [20:18] <Hixie> gavinc: in practice even vEvents in iCalendar use two times rather than an ISO8601 interval
- # [20:18] <gavinc> Yes, one of the reasons I mentioned I don't care all that much
- # [20:19] * Quits: miketaylr (~miketaylr@206.217.92.186) (*.net *.split)
- # [20:19] * Quits: jgraham (~jgraham@74.53.238.210) (*.net *.split)
- # [20:19] * Quits: slartsa (~slartsa@alpha.pumppumedia.com) (*.net *.split)
- # [20:19] * Quits: nielsle_ (~nielsle@3239059-cl69.boa.fiberby.dk) (*.net *.split)
- # [20:19] * Quits: hamaji (~hamaji@220.109.219.244) (*.net *.split)
- # [20:19] * Quits: gsnedders (~gsnedders@mail.gsnedders.com) (*.net *.split)
- # [20:19] * Quits: jmb (~jmb@mail.parsifal.org.uk) (*.net *.split)
- # [20:19] * Quits: volkmar (~volkmar@gentoo/developer/volkmar) (*.net *.split)
- # [20:19] * Joins: slartsa (~slartsa@alpha.pumppumedia.com)
- # [20:19] * Joins: jgraham (~jgraham@web22.webfaction.com)
- # [20:19] * Joins: gsnedders (~gsnedders@mail.gsnedders.com)
- # [20:19] * Joins: jmb (~jmb@mail.parsifal.org.uk)
- # [20:19] <gavinc> Haven't seen too many intervals in the wild and they can always be decomposed
- # [20:19] * Joins: miketaylr (~miketaylr@206.217.92.186)
- # [20:19] * Joins: hamaji (~hamaji@220.109.219.244)
- # [20:21] <gavinc> also, I think Hixie was saying there are huge number of ISO formats... I don't think there are for duration. For whole datetimes sure.
- # [20:21] <Hixie> there's like 8
- # [20:21] <tantek> Hixie if we add a duration attribute I'd say it's ignored if there is a datetime attribute
- # [20:21] <gavinc> For duration?
- # [20:21] * Joins: jamesr (jamesr@nat/google/x-usvktifcmkmuhwhf)
- # [20:22] * Joins: nielsle_ (~nielsle@3239059-cl69.boa.fiberby.dk)
- # [20:24] * Joins: dave_levin (dave_levin@nat/google/x-gpmddaswedijqmtl)
- # [20:24] * Joins: ojan (ojan@nat/google/x-pscvuxtaadjqqdbb)
- # [20:25] <Hixie> gavinc: ok, three for duration, plus 4 for intervals, of which three include duration, so a total of 9 interval formats
- # [20:25] <tantek> If we're adding a duration attribute to keep datetime consistent across elements, we'd also need to add a timezone attribute for the separate timezone case as well.
- # [20:25] <Hixie> er, 10 interval formats
- # [20:25] <tantek> I'll think about it some more and write something up
- # [20:25] <Hixie> tantek: datetime="" on <time> already has nothing to do with datetime="" on <ins>
- # [20:25] <tantek> Ok
- # [20:25] <Hixie> tantek: even back with the old <time> element they had quite different rules
- # [20:26] <Hixie> and formats
- # [20:26] <tantek> Ok that's good to know
- # [20:26] <tantek> Was there any desire to harmonize them?
- # [20:26] <Hixie> not from me
- # [20:26] <Hixie> but then my desire was to kill <time> so what do i know :-P
- # [20:26] <gavinc> Hixie: but if we throw out intervals... then it's just 3 duration formats
- # [20:27] * Joins: davidwalsh (~davidwals@75-135-74-55.dhcp.mdsn.wi.charter.com)
- # [20:27] <Hixie> gavinc: well technically in ISO8601 the duration formats are just a component of time intervals. But yes, three duration formats.
- # [20:28] <AryehGregor> So using functional methods like .forEach() overrides the value of this. Is there some way to work around this, other than rewriting with C-style for loops or rewriting all uses of "this" to something else?
- # [20:28] <gavinc> gavin: ... oh, yeah it's all in the interval section isn't it. ew
- # [20:28] <gavinc> s/gavin/Hixie/
- # [20:28] <Hixie> AryehGregor: .bind(), iirc
- # [20:29] <AryehGregor> How would that be used?
- # [20:31] * Parts: brucel (~brucel@cpc5-smal11-2-0-cust151.perr.cable.virginmedia.com)
- # [20:31] * tantek going offline for a bit.
- # [20:31] <Hixie> i believe you do func.bind(this) and it returns a function with the right |this|
- # [20:32] * Joins: tantek-ipod (~tantek@66-87-4-91.pools.spcsdns.net)
- # [20:35] * Quits: cygri (~cygri@wlan-nat.fwgal01.deri.ie) (Quit: cygri)
- # [20:35] * Quits: tantek (~tantek@12.1.203.2) (Ping timeout: 252 seconds)
- # [20:35] * tantek-ipod is now known as tantek
- # [20:36] <Hixie> though the spec for bind() looks complicated
- # [20:39] * Quits: necolas (~necolas@host-92-12-156-249.as43234.net) (Remote host closed the connection)
- # [20:40] * Joins: jarek (~jarek@bcs149.neoplus.adsl.tpnet.pl)
- # [20:40] * Quits: jarek (~jarek@bcs149.neoplus.adsl.tpnet.pl) (Changing host)
- # [20:40] * Joins: jarek (~jarek@unaffiliated/jarek)
- # [20:41] * Quits: tantek (~tantek@66-87-4-91.pools.spcsdns.net) (Quit: Colloquy for iPod touch - http://colloquy.mobi)
- # [20:41] * Quits: bga_ (~bga@ppp78-37-206-209.pppoe.avangarddsl.ru) (Read error: Connection reset by peer)
- # [20:45] * Joins: tndH (~Rob@cpc16-seac19-2-0-cust234.7-2.cable.virginmedia.com)
- # [20:48] * Joins: rillian_ (~rillian@184.71.182.138)
- # [20:51] <annevk> <ins datetime=2004> makes some sense
- # [20:52] <annevk> but I don't really care that strongly
- # [20:52] * Joins: bga_ (~bga@ppp78-37-232-109.pppoe.avangarddsl.ru)
- # [20:52] <annevk> whenever I get around to even using <ins>, I almost never use any of its attributes
- # [20:53] <divya> yeah it needs to be something that tools do
- # [20:53] <divya> not humans
- # [20:53] <Hixie> yeah <ins> is more there out of inertia than real usage
- # [20:53] * Quits: jarek (~jarek@unaffiliated/jarek) (Ping timeout: 240 seconds)
- # [20:54] <Hixie> it has just enough to make it pointless to remove
- # [20:54] <Hixie> like <samp> and others
- # [20:54] <Hixie> anyway. bbiab.
- # [20:55] * Joins: erlehmann (~erlehmann@82.113.99.40)
- # [21:01] * Quits: Lachy (~Lachy@cm-84.215.59.50.getinternet.no) (Quit: Computer has gone to sleep.)
- # [21:02] <AryehGregor> What defines that document.createElement("span") returns something whose prototype is HTMLSpanElement instead of HTMLElement or Element?
- # [21:02] * Quits: cpearce (~chatzilla@ip-118-90-36-154.xdsl.xnet.co.nz) (Ping timeout: 240 seconds)
- # [21:03] <Ms2ger> HTML
- # [21:03] <AryehGregor> Where?
- # [21:03] <Ms2ger> Let's see if I can find it
- # [21:03] * Joins: jarek (~jarek@bcx182.neoplus.adsl.tpnet.pl)
- # [21:03] * Quits: jarek (~jarek@bcx182.neoplus.adsl.tpnet.pl) (Changing host)
- # [21:03] * Joins: jarek (~jarek@unaffiliated/jarek)
- # [21:04] <Ms2ger> http://www.whatwg.org/specs/web-apps/current-work/multipage/elements.html#element-definitions
- # [21:04] <AryehGregor> That seems kind of vague.
- # [21:05] <Ms2ger> Patches welcome :)
- # [21:07] * Joins: Transformer (~Transform@ool-4a59e397.dyn.optonline.net)
- # [21:08] * Quits: Transformer (~Transform@ool-4a59e397.dyn.optonline.net) (Excess Flood)
- # [21:11] * Joins: tantek (~tantek@66-87-4-91.pools.spcsdns.net)
- # [21:15] <tantek> Divya, your point about something that tools do was made about HTML an markup in general, and has been shown historically to be wishful at best. It's a tired argument that continues to be falsified in practice.
- # [21:16] * Joins: benjoffe_ (~benjoffe_@1.152.102.202)
- # [21:16] <divya> tantek: i dont remember dates or times so it would be neat if tools do it for me
- # [21:16] * Quits: jarek (~jarek@unaffiliated/jarek) (Ping timeout: 240 seconds)
- # [21:17] <divya> and with git versioning you could technically mark when every character was inserted/deleted
- # [21:17] <tantek> You can say that about lots of things. "would be neat if"
- # [21:18] <tantek> The other perspective to take is that people in practice will be hand authoring so let's make the syntax as simple easy and reliably predictable as possible.
- # [21:18] <divya> yes i am not sure if html markup is the right place for versioning content.
- # [21:18] <divya> that is my concern.
- # [21:19] <divya> (talking specifically of ins datetime="")
- # [21:19] <divya> nothing more.
- # [21:19] <tantek> Ins and del serve a limited function in practice.
- # [21:19] <Ms2ger> Would be neat if authors didn't do stuput things :)
- # [21:19] * Ms2ger can't tpye
- # [21:19] <Ms2ger> (stuput? Really?)
- # [21:19] * divya thinks it would be neat if Ms2ger could type
- # [21:19] <tantek> Some bloggers / news sites use ins/del for updates etc.
- # [21:20] <Ms2ger> dvyai: mm...
- # [21:20] <divya> definitely
- # [21:20] <divya> hahah
- # [21:20] <divya> i do that myself.
- # [21:20] <tantek> We've already improved ins del in html5 by allowing only dates (it used to require full datetimes)
- # [21:20] <divya> oh good.
- # [21:21] <Ms2ger> Pff, html5
- # [21:21] <Ms2ger> That's so last decade
- # [21:21] <tantek> We could further improve it by permitting year only and year month only as well just as we are improving the time element
- # [21:22] <tantek> So you could write as annevk did above
- # [21:22] * Joins: jarek (~jarek@unaffiliated/jarek)
- # [21:26] <annevk> Ms2ger: did Gecko finally remove CDATASection?
- # [21:27] * Quits: benjoffe_ (~benjoffe_@1.152.102.202) (Read error: Connection reset by peer)
- # [21:27] <TabAtkins> Hixie: Not really. For example, using <time> with durations to machine-markup a timeline that you then use script to pass through and provide a visual rendering for.
- # [21:27] <annevk> Ms2ger: I think there might be some kind of bug on that subject already
- # [21:29] * jernoble is now known as jernoble|afk
- # [21:29] * Joins: necolas (~necolas@host-92-12-156-249.as43234.net)
- # [21:31] * abarth|zZz is now known as abarth
- # [21:33] * Quits: tantek (~tantek@66-87-4-91.pools.spcsdns.net) (Quit: Colloquy for iPod touch - http://colloquy.mobi)
- # [21:36] * Joins: tantek (~tantek@66-87-4-91.pools.spcsdns.net)
- # [21:36] <jgraham> AryehGregor: You can pass this to forEach as an additional argument
- # [21:36] <Ms2ger> Hmm, thought that other bug had been fixed already
- # [21:36] <Ms2ger> And Gecko hasn't removed it yet, I need to get around to that
- # [21:36] <AryehGregor> jgraham, oh, cool, thanks.
- # [21:41] * Joins: mkanat (mkanat@nat/google/x-jyfzhmfmrriywavq)
- # [21:44] * Quits: othermaciej (~mjs@c-24-6-209-189.hsd1.ca.comcast.net) (Quit: othermaciej)
- # [21:46] * Joins: volkmar (~volkmar@rps1542.ovh.net)
- # [21:46] * Quits: volkmar (~volkmar@rps1542.ovh.net) (Changing host)
- # [21:46] * Joins: volkmar (~volkmar@gentoo/developer/volkmar)
- # [21:48] * Joins: benjoffe_ (~benjoffe_@119-252-71-224.static.highway1.net.au)
- # [21:49] * Quits: erlehmann (~erlehmann@82.113.99.40) (Quit: Ex-Chat)
- # [21:50] * Joins: KillerX_ (~anant@nat/mozilla/x-rjndbavqlsxhnljp)
- # [21:52] * Quits: KillerX (~anant@nat/mozilla/x-rqdwyzyqdoupgwmn) (Ping timeout: 252 seconds)
- # [21:52] * KillerX_ is now known as KillerX
- # [21:55] * Quits: jarek (~jarek@unaffiliated/jarek) (Ping timeout: 252 seconds)
- # [21:57] * Quits: sicking (~chatzilla@c-98-210-155-80.hsd1.ca.comcast.net) (Ping timeout: 258 seconds)
- # [21:57] * Joins: cpearce (~chatzilla@60.234.54.74)
- # [21:58] * Joins: dbaron (~dbaron@60.234.54.74)
- # [21:59] * heycam|away is now known as heycam
- # [22:03] * Quits: Ms2ger (~Ms2ger@91.181.0.73) (Quit: nn)
- # [22:03] * Quits: jacobolus (~jacobolus@c-24-5-85-179.hsd1.ca.comcast.net) (Remote host closed the connection)
- # [22:12] * Quits: Rik` (~Rik`@mozilla.vlan402.asr1.cdg3.gblx.net) (Remote host closed the connection)
- # [22:15] <kennyluck> AryehGregor, (re What defines that document.createElement("span") returns something whose prototype is HTMLSpanElement instead of HTMLElement or Element?) I think this one is probably what you are looking for → http://www.whatwg.org/specs/web-apps/current-work/multipage/tree-construction.html#create-an-element-for-the-token
- # [22:21] * Joins: shepazu (~shepazu@67-40-204-63.tukw.qwest.net)
- # [22:21] * Quits: rillian_ (~rillian@184.71.182.138) (Remote host closed the connection)
- # [22:21] <Philip`> kennyluck: That's for the parser, which isn't involved in createElement
- # [22:22] <kennyluck> Ah, indeed.
- # [22:22] * Quits: ben_alman (~cowboy@75-150-66-254-NewEngland.hfc.comcastbusiness.net) (Ping timeout: 260 seconds)
- # [22:24] * Quits: tantek (~tantek@66-87-4-91.pools.spcsdns.net) (Quit: Colloquy for iPod touch - http://colloquy.mobi)
- # [22:25] * Joins: tantek (~tantek@nmd.sbx03307.seattwa.wayport.net)
- # [22:28] * Joins: rniwa_ (rniwa@nat/google/x-lgvrrzezfkallbeq)
- # [22:28] * Joins: WeirdAl (~chatzilla@g2spf.ask.info)
- # [22:28] <WeirdAl> annevk: ping, spec question on XHR2
- # [22:29] * jernoble|afk is now known as jernoble
- # [22:29] <WeirdAl> https://bugzilla.mozilla.org/show_bug.cgi?id=525816#c32
- # [22:34] <annevk> your interpretation is correct
- # [22:34] <annevk> they are mutual exclusive events
- # [22:34] <WeirdAl> phew :)
- # [22:34] * Quits: davidb_ (~davidb@66.207.208.98) (Quit: davidb_)
- # [22:34] <WeirdAl> thanks
- # [22:36] <WeirdAl> Does the spec explicitly state that anywhere?
- # [22:39] * Joins: Rik` (~Rik`@2a01:e34:ec0f:1570:c101:c702:74e8:c7fc)
- # [22:39] * Joins: adtykfhyipoh (185b4691@gateway/web/freenode/ip.24.91.70.145)
- # [22:39] * Joins: sicking (~chatzilla@nat/mozilla/x-gvjpbwgviftftles)
- # [22:40] <adtykfhyipoh> sicking I need some help
- # [22:40] <zewt> to descramble his nick
- # [22:41] <adtykfhyipoh> hey can you help me
- # [22:41] <smaug____> better to just ask the question
- # [22:41] <adtykfhyipoh> Oh yeah and I just use this clump of letters as my username it's not cryptic
- # [22:41] <smaug____> someone may help
- # [22:41] <adtykfhyipoh> so I have a form that's action is a php file, but instead of linking to that php file it just downloads it
- # [22:41] <adtykfhyipoh> why is that
- # [22:42] <zewt> (is sicking the designated random-php-question guy? heh)
- # [22:42] <adtykfhyipoh> no but he just joined so I thought he would be online to see my question
- # [22:43] <kennyluck> lol
- # [22:44] <Philip`> I think asking random specific people for help is generally considered rude
- # [22:45] <adtykfhyipoh> yeah I know but I am 9 years old so watcha gonna do. Anyways, can I have help?
- # [22:45] * Quits: drublic (~drublic@frbg-4d0297cf.pool.mediaWays.net) (Ping timeout: 248 seconds)
- # [22:46] <kennyluck> adtykfhyipoh, you should probably ask someone from #php
- # [22:46] <adtykfhyipoh> k
- # [22:46] * Quits: adtykfhyipoh (185b4691@gateway/web/freenode/ip.24.91.70.145) (Quit: Page closed)
- # [22:46] * Joins: fishd (darin@nat/google/x-cqmehzfmjvwwzvtw)
- # [22:46] <Hixie> re tab's use case above, we ran into each other at lunch and realised that that use case is possible to handle using just <time datettime="year-month">, so it's not a strong use case for months in durations after all
- # [22:46] * Joins: othermaciej (~mjs@17.245.89.94)
- # [22:49] <annevk> WeirdAl: Progress Events might say that
- # [22:50] <annevk> WeirdAl: file a bug / email if you think it should be stated somewhere (preferably including a suggestion as to where)
- # [22:50] * Quits: tantek (~tantek@nmd.sbx03307.seattwa.wayport.net) (Quit: tantek)
- # [22:50] <WeirdAl> I'll have to think about where.
- # [22:50] * Joins: bfrohs (~brandon@smtp.forewordinternal.com)
- # [22:51] <WeirdAl> ah ha!
- # [22:51] <WeirdAl> "The error, abort, and load event types are mutually exclusive." - from the progress event spec
- # [22:51] <WeirdAl> of course, it doesn't mention timeout ;)
- # [22:51] <annevk> i guess it could go in the events summary section of XHR
- # [22:51] <WeirdAl> we might just need to define "exclusive progress events" or something like that
- # [22:52] <annevk> well the specs algorithm takes care of the details
- # [22:52] <WeirdAl> in both specs, stating that when an exclusive progress event fires, no other can
- # [22:53] <annevk> it's already stated, just needs an informative note about their mutual exclusiveness I think
- # [22:53] <Hixie> gavinc: oops, i missed one. There are four alternative duration formats, and one of the ones I had mentioned earlier it turns out can take either a comma or a decimal point so it's actually five formats.
- # [22:53] <gavinc> Hixie: Those zany Germans
- # [22:53] <WeirdAl> ok - I'll take a look this weekend, annevk
- # [22:54] <bfrohs> Question about <input type=hidden> -- Are Line Feeds and Carriage Returns allowed in the value? They are specifically disallowed in Text state and Search state, but no mention is made for Hidden state. And, if not, is there an acceptable HTML solution for storing form data from a textarea?
- # [22:54] <annevk> WeirdAl: thanks
- # [22:54] * Quits: Telling (~unknown@80-71-135-15.u.parknet.dk) (Quit: ...)
- # [22:54] <gavinc> Hixie: Anecdotally I don't think I've seen any use of decimals other then in the seconds field
- # [22:55] <Hixie> anecdotally i've not really seen any of these in wide use :-P
- # [22:56] <Hixie> bfrohs: yes, they are allowed
- # [22:56] <Hixie> iirc
- # [22:56] <Hixie> bfrohs: for legacy reasons you may wish to escape them though as some browsers normalise them away
- # [22:56] <Hixie> bfrohs: i forget if we fixed that or not
- # [22:56] <Hixie> in the spec
- # [22:56] <bfrohs> Hixie: Thank ya much
- # [22:57] <zewt> annevk: progress events itself doesn't say anything normative about event sequences, right? (eg. which events must be mutually exclusive)
- # [22:58] <gavinc> Hixie: That's fair. A lot of the time interesting durations have been encoded either with start and end dates, or as a decimal seconds field
- # [23:00] <Hixie> yeah, personally if i was making a machine-readable format i'd just use floating point seconds, and if i was making a human-readable format i'd do something less impenetrable than iso's formats :-)
- # [23:00] * Quits: WeirdAl (~chatzilla@g2spf.ask.info) (Quit: ChatZilla 0.9.87 [Firefox 8.0/20111104165243])
- # [23:01] * Joins: zcorpan (~zcorpan@c-699de355.410-6-64736c14.cust.bredbandsbolaget.se)
- # [23:04] * Joins: tantek (~tantek@66-87-4-91.pools.spcsdns.net)
- # [23:05] * Quits: miketaylr (~miketaylr@206.217.92.186) (Quit: miketaylr)
- # [23:06] * Quits: rniwa_ (rniwa@nat/google/x-lgvrrzezfkallbeq) (Quit: rniwa_)
- # [23:07] <gavinc> Python time deltas work rather nicely. They don't have months either. http://docs.python.org/library/datetime.html#timedelta-objects
- # [23:08] * Quits: MacTed (~Thud@63.119.36.36)
- # [23:10] * Joins: rniwa_ (rniwa@nat/google/x-zjpddtyqubltsiah)
- # [23:10] * Quits: rniwa_ (rniwa@nat/google/x-zjpddtyqubltsiah) (Client Quit)
- # [23:10] * Quits: smaug____ (~chatzilla@193-64-22-160-nat.elisa-mobile.fi) (Ping timeout: 244 seconds)
- # [23:11] * Joins: drublic (~drublic@frbg-4d029437.pool.mediaWays.net)
- # [23:14] * Quits: tantek (~tantek@66-87-4-91.pools.spcsdns.net) (Quit: Colloquy for iPod touch - http://colloquy.mobi)
- # [23:22] <bfrohs> Hixie: About escaping CR/LF, did you mean to use and , or to use another escaping mechanism that's recognized server-side?
- # [23:22] <Hixie> as this is for working around browser limitations, i'm not sure, you'd have to test the browsers to find out what is necessary
- # [23:23] <bfrohs> Gotcha, thanks again
- # [23:25] <TabAtkins> Yeah, given the lunchtime discussion, and the fact that multiple other well-known timedelta formats don't allow months or higher, I say just drop them.
- # [23:25] <Hixie> anyone know if tantek put up his opinions on that "survey" i had put out earlier?
- # [23:25] * Quits: hasather_ (~hasather_@84.38.144.96) (Remote host closed the connection)
- # [23:25] <TabAtkins> Unless it's hidden on the wiki, no.
- # [23:25] <Hixie> i'm still torn on supporting "1ho" "1hour" and "1hours"
- # [23:25] <TabAtkins> But not "1hou"?
- # [23:25] <Hixie> i'm leaning towards not conforming, and probably not supported in the parser either
- # [23:26] <Hixie> i mean the whole question of supporting any suffixes longer than the minimum required for disambiguating
- # [23:26] <Hixie> the difficulting is really with "1mi" vs "1min"
- # [23:26] <TabAtkins> Well, now that we don't even need "min" and "mo" to disambiguate, I think it's fine to stick with single-letter prefixes.
- # [23:27] * Quits: Maurice` (copyman@5ED573FA.cm-7-6b.dynamic.ziggo.nl)
- # [23:27] <Hixie> yeah, maybe that's the best way to go
- # [23:28] * Quits: plutoniix (~plutoniix@ppp-124-120-69-35.revip2.asianet.co.th) (Ping timeout: 240 seconds)
- # [23:28] <Hixie> should datetime="1h " be conforming? (trailing whitespace)
- # [23:29] <TabAtkins> Yes.
- # [23:29] <Hixie> note that datetime="PT1H " is not (the ISO8601 equivalent)
- # [23:29] <TabAtkins> Trailing whitespace in unambiguous formats should always be ignored.
- # [23:29] <Hixie> the question is about conformance, not parsing
- # [23:29] <TabAtkins> Yeah, I don't see a reason to make it non-conforming.
- # [23:30] <TabAtkins> Makes some authoring patterns easier if it's allowed.
- # [23:30] <TabAtkins> Similar to allowing a trailing comma in object literals.
- # [23:30] <Hixie> k
- # [23:30] <Hixie> note that for integers (e.g.) min="1 " is not conforming
- # [23:31] <Hixie> but then those formats don't have internal whitespace either
- # [23:31] <Hixie> so that's not a big deal
- # [23:31] <Hixie> ok, agreed that the extended form for durations can have leading and trailing whitespace
- # [23:31] <TabAtkins> Yes, exactly. The authoring pattern I'm referring to isn't relevant there.
- # [23:32] <TabAtkins> (Where you're mapping an array or object directly into a string and each component ahs a space put after it.)
- # [23:32] * Joins: plutoniix (~plutoniix@ppp-124-120-69-35.revip2.asianet.co.th)
- # [23:34] <Hixie> should 1.1h be allowed?
- # [23:34] <Hixie> (fractional units that aren't seconds)
- # [23:34] * Quits: jamesr (jamesr@nat/google/x-usvktifcmkmuhwhf) (Ping timeout: 244 seconds)
- # [23:34] * Joins: jamesr (jamesr@nat/google/x-pdiiqbirbcligvgq)
- # [23:34] <Hixie> if we support fractional seconds, it provides no additional difficulty as far as i can tell to support fractional everything else
- # [23:34] <TabAtkins> I don't think there's much need, but I don't think it's problematic either.
- # [23:35] * Quits: tomasf (~tom@c-b7dbe555.024-204-6c6b7012.cust.bredbandsbolaget.se) (Quit: tomasf)
- # [23:35] <zcorpan> the <template> thing, can it parse into a document fragment?
- # [23:35] <TabAtkins> zcorpan: As opposed to a document?
- # [23:36] <zcorpan> yes
- # [23:36] <Hixie> i guess i'll stick to integers for now
- # [23:36] <zcorpan> there was an argument about document being too heavy weight
- # [23:36] <TabAtkins> zcorpan: I don't think there's much difference for the use-cases either way.
- # [23:36] <TabAtkins> If any.
- # [23:37] <slightlyoff> document fragment doesn't imply new intercepters, new script context, etc.
- # [23:37] <slightlyoff> which is nice
- # [23:38] <zcorpan> feel free to suggest it on the list. i'm off to bed
- # [23:39] * Quits: zcorpan (~zcorpan@c-699de355.410-6-64736c14.cust.bredbandsbolaget.se) (Quit: zcorpan)
- # [23:39] <astearns> 1.5h seems much more likely than 1.1h
- # [23:40] * Quits: svl (~me@ip565744a7.direct-adsl.nl) (Quit: And back he spurred like a madman, shrieking a curse to the sky.)
- # [23:43] <TabAtkins> But 1.5h20m seems... weird.
- # [23:46] * Quits: plutoniix (~plutoniix@ppp-124-120-69-35.revip2.asianet.co.th) (Quit: Leaving)
- # [23:46] * Joins: rillian_ (~rillian@mist.thaumas.net)
- # [23:48] * Quits: ojan (ojan@nat/google/x-pscvuxtaadjqqdbb) (Ping timeout: 240 seconds)
- # [23:50] * Quits: rniwa (rniwa@nat/google/x-kkpkhiguyxxiuorn) (Ping timeout: 244 seconds)
- # [23:50] * Joins: smaug____ (~chatzilla@GGYGKMMDLIV.gprs.sl-laajakaista.fi)
- # [23:54] <AryehGregor> New and much spiffier idlharness.js, comments appreciated: view-source:http://w3c-test.org/webapps/DOMCore/tests/submissions/AryehGregor/interfaces.html
- # [23:54] <AryehGregor> Er: http://w3c-test.org/webapps/DOMCore/tests/submissions/AryehGregor/interfaces.html
- # [23:54] <AryehGregor> (although you'll want to view source also)
- # [23:56] * Parts: bfrohs (~brandon@smtp.forewordinternal.com)
- # [23:56] * Quits: dbaron (~dbaron@60.234.54.74) (Quit: time to reboot)
- # Session Close: Fri Nov 18 00:00:00 2011
The end :)