/irc-logs / freenode / #whatwg / 2011-11-17 / end

Options:

  1. # Session Start: Thu Nov 17 00:00:00 2011
  2. # Session Ident: #whatwg
  3. # [00:00] <AryehGregor> I wonder how much the web depends on the details of things like whether properties on prototypes are configurable or not.
  4. # [00:01] <Ms2ger> It sure depends on awful things about on* properties
  5. # [00:01] <AryehGregor> Like what?
  6. # [00:02] <Ms2ger> Being able to set them on the prototype and stuff
  7. # [00:02] <Ms2ger> Ask heycam :)
  8. # [00:03] * Joins: MacTed (~Thud@c-71-233-244-175.hsd1.ma.comcast.net)
  9. # [00:03] * Quits: Ms2ger (~Ms2ger@91.181.155.126) (Quit: nn)
  10. # [00:03] <heycam> AryehGregor, yeah was on old version of prototype that was being used one some sites
  11. # [00:03] <heycam> and it was doing something like Interface.prototype.onsomething = null
  12. # [00:03] <AryehGregor> Whee.
  13. # [00:04] <heycam> so previously when on* things were on the instance, this was basically just doing nothing
  14. # [00:04] <heycam> now with on* being accessors on prototype.... throw
  15. # [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
  16. # [00:07] <heycam> prefix all the things!
  17. # [00:08] <jamesr_> AryehGregor, really? nobody has ever fully implemented ES3, and nobody can since it's incompatible with the web
  18. # [00:08] <jamesr_> and there aren't any full implementations of ES5 that i'm aware of (although some folks are getting close)
  19. # [00:08] <annevk> Opera fails 1 test
  20. # [00:09] <annevk> but given that ES5 does not include http://wiki.whatwg.org/wiki/Web_ECMAScript it's not really real world compatible :(
  21. # [00:09] <jamesr_> so we're close to having the first ever implementation of a clear version of an ECMAScript
  22. # [00:10] * Quits: scor (~scor@drupal.org/user/52142/view) (Quit: scor)
  23. # [00:11] <jgraham> I think that one test we fail is a likely web compat issue
  24. # [00:12] * Joins: erlehmann (~erlehmann@82.113.99.40)
  25. # [00:12] <jgraham> Also, gecko and others implement parts of es.next in an unprefixed (afaik) way
  26. # [00:12] <jgraham> certianly historically gecko has had a bunch of nonstandard stuff
  27. # [00:13] <jgraham> So it isn't really clear that this is an example of clear versions that everyone implements in a timely fashion
  28. # [00:13] * Quits: Morphous (jan@unaffiliated/amorphous) (Read error: Operation timed out)
  29. # [00:14] <jgraham> (scripting engines are also a bit special because they are very self-contained and typically have dedicated teams working on them)
  30. # [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?
  31. # [00:15] <jgraham> Are the i18n people not going to cut out your kidneys?
  32. # [00:16] <annevk> Hixie: I vote for simple first
  33. # [00:17] <TabAtkins> I'm with annevk. min and mo are the only ambiguous case.
  34. # [00:17] <TabAtkins> And if you'd just switch to bimonths that ambiguity would disappear. ^_^
  35. # [00:18] <annevk> Hixie: we can always allow more syntax later; we have use cases for duration, not for lots of different duration syntax
  36. # [00:19] <dglazkov> annevk: where's the new event constructor syntax doc? linky?
  37. # [00:20] <dglazkov> http://www.w3.org/TR/domcore/#events
  38. # [00:21] <dglazkov> annevk: I answer my own questions
  39. # [00:25] <annevk> great :)
  40. # [00:25] <annevk> nn
  41. # [00:28] <gsnedders> jgraham: I've not read the history, FWIW, but for WebIDL testing see <http://suika.fam.cx/www/webidl2tests/readme>
  42. # [00:28] * Quits: KevinMarks (~KevinMark@c-71-204-145-244.hsd1.ca.comcast.net) (Quit: The computer fell asleep)
  43. # [00:29] <gsnedders> jgraham: Massively outdated, but tests based upon WebIDL,
  44. # [00:30] * Joins: Morphous (jan@unaffiliated/amorphous)
  45. # [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…
  46. # [00:31] <gsnedders> annevk: Web ECMAScript doesn't actually contradict in ES5.
  47. # [00:31] <gsnedders> annevk: Something supporting all those variants is still a conforming ES5 impl
  48. # [00:31] * Quits: TabAtkins (tabatkins@nat/google/x-nbfelbbmqvcekzli) (Quit: leaving)
  49. # [00:31] * Joins: TabAtkins (tabatkins@nat/google/x-puqsfppbokdglqpv)
  50. # [00:33] * Joins: gavinc (~gavin@50-0-76-242.dsl.dynamic.sonic.net)
  51. # [00:33] * Joins: davidwalsh (~davidwals@75-135-74-55.dhcp.mdsn.wi.charter.com)
  52. # [00:37] * Quits: myakura (~myakura@FL1-211-135-241-47.tky.mesh.ad.jp) (Remote host closed the connection)
  53. # [00:40] * 13WAAQZXE is now known as jarib_
  54. # [00:41] <gsnedders> heycam: WebIDL is inconsistent: operator getters and attribute getters should have identical behaviour for checking this.
  55. # [00:42] * Quits: kennyluck (~kennyluck@114-43-116-150.dynamic.hinet.net) (Quit: kennyluck)
  56. # [00:45] <gsnedders> heycam: I mentioned that in an email forever ago, but I think you missed it
  57. # [00:46] * Quits: smedero (~smedero@12.1.203.2) (Quit: smedero)
  58. # [00:47] * Joins: abarth (~abarth@173-164-128-209-SFBA.hfc.comcastbusiness.net)
  59. # [00:48] * Quits: astearns (~anonymous@12.1.203.2) (Quit: astearns)
  60. # [00:48] * Quits: divya (~divyam@12.1.203.2) (Quit: Leaving.)
  61. # [00:53] * jernoble is now known as jernoble|afk
  62. # [00:58] * Quits: ollmn (olleman@c80-216-145-34.bredband.comhem.se) (Read error: Connection reset by peer)
  63. # [00:58] * Quits: MikeSmith (~MikeSmith@218.236.5.3) (Ping timeout: 244 seconds)
  64. # [01:03] * Quits: Telling (~unknown@80-71-135-15.u.parknet.dk) (Quit: ...)
  65. # [01:04] * Quits: tantek (~tantek@66-87-0-196.pools.spcsdns.net) (Quit: Colloquy for iPod touch - http://colloquy.mobi)
  66. # [01:04] * Quits: ap (~ap@17.245.90.47) (Quit: ap)
  67. # [01:06] * Joins: ap (~ap@17.245.90.47)
  68. # [01:07] * Quits: davidwalsh (~davidwals@75-135-74-55.dhcp.mdsn.wi.charter.com) (Quit: Reading http://davidwalsh.name)
  69. # [01:10] * jernoble|afk is now known as jernoble
  70. # [01:23] * Joins: MikeSmith (~MikeSmith@175.253.179.148)
  71. # [01:24] * Joins: tantek (~tantek@12.1.203.2)
  72. # [01:25] * Quits: smaug____ (~chatzilla@GGYYYMMCCLXVII.gprs.sl-laajakaista.fi) (Ping timeout: 240 seconds)
  73. # [01:26] * wycats_ is now known as wycats
  74. # [01:31] <heycam> gsnedders, I could well have missed it
  75. # [01:32] <gsnedders> heycam: Want me to send it again?
  76. # [01:32] <heycam> gsnedders, yep sure
  77. # [01:32] * heycam checks the spec now too
  78. # [01:33] <heycam> so that is something that changed recently, the attribute getter one at least
  79. # [01:33] <heycam> due to the crazy on* behaviour
  80. # [01:34] <gsnedders> Oh, I sent the email after the operator getter changed behaviour
  81. # [01:35] <heycam> by operator getter do you mean operation?
  82. # [01:35] <gsnedders> So totally not following any emails to spec mailing lists
  83. # [01:36] <gsnedders> And yes, I do mean operation
  84. # [01:36] <gsnedders> I'm watching TV shows and not paying attention to what I'm typing.
  85. # [01:36] <heycam> yeah I haven't replied on public-script-coord for a couple of weeks :p
  86. # [01:38] <gsnedders> The only thing I read at all nowadays is various testsuite mailing lists.
  87. # [01:39] * Quits: rillian_ (~rillian@184.71.182.138) (Remote host closed the connection)
  88. # [01:52] * Quits: ap (~ap@17.245.90.47) (Quit: ap)
  89. # [01:54] * Joins: ap (~ap@17.212.155.203)
  90. # [01:58] * Quits: necolas (~necolas@host-92-12-156-249.as43234.net) (Remote host closed the connection)
  91. # [02:00] * Quits: drublic (~drublic@frbg-4d029b91.pool.mediaWays.net) (Remote host closed the connection)
  92. # [02:00] * Joins: yuuki (~kobayashi@58x158x182x50.ap58.ftth.ucom.ne.jp)
  93. # [02:03] * Joins: agektmr (~Adium@220.109.219.244)
  94. # [02:06] * Joins: rillian_ (~rillian@mist.thaumas.net)
  95. # [02:08] * Quits: tantek (~tantek@12.1.203.2) (Ping timeout: 252 seconds)
  96. # [02:09] * Quits: plutoniix (~plutoniix@ppp-124-120-50-73.revip2.asianet.co.th) (Quit: Leaving)
  97. # [02:11] * Quits: ap (~ap@17.212.155.203) (Quit: ap)
  98. # [02:12] * Joins: tantek (~tantek@12.1.203.2)
  99. # [02:14] * Joins: mkanat (mkanat@nat/google/x-ikirszkexbtpkvbv)
  100. # [02:21] * Joins: scor (~scor@drupal.org/user/52142/view)
  101. # [02:27] * Quits: sicking (~chatzilla@nat/mozilla/x-bfertykdpnkfijpp) (Ping timeout: 253 seconds)
  102. # [02:27] * Quits: cgcardona (~cgcardona@unaffiliated/cgcardona) (Quit: cgcardona)
  103. # [02:28] * Joins: Evanescence (~Evanescen@122.237.23.204)
  104. # [02:31] * Quits: tndH (~Rob@cpc16-seac19-2-0-cust234.7-2.cable.virginmedia.com) (Ping timeout: 240 seconds)
  105. # [02:39] * Quits: _bga (~bga@ppp78-37-206-209.pppoe.avangarddsl.ru) (Read error: Connection reset by peer)
  106. # [02:39] * Quits: ezoe (~ezoe@203-140-89-16f1.kyt1.eonet.ne.jp) (Quit: And Now for Something Completely Different.)
  107. # [02:43] * Quits: dave_levin (dave_levin@nat/google/x-kzrwngqsusekhjjm) (Quit: dave_levin)
  108. # [02:43] * Joins: astearns (~anonymous@c-50-132-63-33.hsd1.wa.comcast.net)
  109. # [02:45] * jernoble is now known as jernoble|afk
  110. # [02:50] * Quits: tantek (~tantek@12.1.203.2) (Quit: tantek)
  111. # [02:51] * Quits: KillerX (~anant@nat/mozilla/x-hmfpymivmjsnosmc) (Quit: KillerX)
  112. # [02:56] * Joins: eae (u4278@gateway/web/irccloud.com/x-dluqzbhejlpwfmac)
  113. # [03:02] * Quits: scor (~scor@drupal.org/user/52142/view) (Read error: Connection reset by peer)
  114. # [03:02] * Joins: scor (~scor@drupal.org/user/52142/view)
  115. # [03:03] * Quits: scor (~scor@drupal.org/user/52142/view) (Client Quit)
  116. # [03:09] * Quits: Necrathex (~nectop@82-170-160-25.ip.telfort.nl) (Ping timeout: 244 seconds)
  117. # [03:09] * Joins: agektmr1 (~Adium@220.109.219.244)
  118. # [03:09] * Quits: agektmr (~Adium@220.109.219.244) (Read error: Connection reset by peer)
  119. # [03:13] * Joins: KillerX_ (~anant@nat/mozilla/x-ynwygvfnbidsqcfk)
  120. # [03:13] * Joins: miketaylr (~miketaylr@24.42.93.245)
  121. # [03:18] * Quits: KillerX_ (~anant@nat/mozilla/x-ynwygvfnbidsqcfk) (Ping timeout: 260 seconds)
  122. # [03:25] * Quits: LBP (~Mirc@pD9EB1B2E.dip0.t-ipconnect.de) (Ping timeout: 252 seconds)
  123. # [03:26] * Joins: LBP (~Mirc@pD9EB1B2A.dip0.t-ipconnect.de)
  124. # [03:31] * Quits: dbaron (~dbaron@60.234.54.74) (Quit: 8403864 bytes have been tenured, next gc will be global.)
  125. # [03:31] * Quits: roc (~chatzilla@60.234.54.74) (Ping timeout: 240 seconds)
  126. # [03:33] * Quits: MikeSmith (~MikeSmith@175.253.179.148) (Ping timeout: 240 seconds)
  127. # [03:36] * Quits: chriseppstein (~chrisepps@209.119.65.162) (Quit: chriseppstein)
  128. # [03:37] * Joins: MikeSmith (~MikeSmith@125.152.175.74)
  129. # [03:41] * Joins: andyg (~andyg@eth59-167-156-1.static.internode.on.net)
  130. # [03:44] * Quits: othermaciej (~mjs@17.245.88.104) (Quit: othermaciej)
  131. # [03:50] * Quits: rillian_ (~rillian@mist.thaumas.net) (Read error: Connection reset by peer)
  132. # [03:50] * Joins: rillian_ (~rillian@mist.thaumas.net)
  133. # [03:57] * Quits: jdaggett (~jdaggett@60.234.54.74) (Ping timeout: 240 seconds)
  134. # [03:57] * Quits: michaelw (~michaelw@2a01:4f8:131:23c1::5) (Quit: changing servers)
  135. # [03:58] * Quits: cpearce (~chatzilla@60.234.54.74) (Ping timeout: 244 seconds)
  136. # [04:02] * Joins: cpearce (~chatzilla@60.234.54.74)
  137. # [04:05] * Joins: Necrathex (~nectop@82-170-160-25.ip.telfort.nl)
  138. # [04:10] * Quits: agektmr1 (~Adium@220.109.219.244) (Quit: Leaving.)
  139. # [04:12] <zewt> ugh
  140. # [04:12] <zewt> ff8 is doing that horrible "hide the http://" garbage too now
  141. # [04:12] <zewt> horrible idea
  142. # [04:14] * Quits: mkanat (mkanat@nat/google/x-ikirszkexbtpkvbv) (Quit: Ex-Chat)
  143. # [04:16] * Quits: ojan (ojan@nat/google/x-vqjmorbplfpzdafs) (Quit: ojan)
  144. # [04:19] * Joins: nimbupani (~divyam@c-24-18-47-160.hsd1.wa.comcast.net)
  145. # [04:19] * nimbupani is now known as divya
  146. # [04:21] * Quits: erlehmann (~erlehmann@82.113.99.40) (Quit: Ex-Chat)
  147. # [04:21] <zewt> good, at least i can disable browser.urlbar.trimURLs
  148. # [04:30] * Quits: Evanescence (~Evanescen@122.237.23.204) (Quit: my website: http://stardiviner.dyndns-blog.com/)
  149. # [04:31] * Joins: Evanescence (~Evanescen@122.237.23.204)
  150. # [04:32] * Quits: MikeSmith (~MikeSmith@125.152.175.74) (Ping timeout: 260 seconds)
  151. # [04:32] * Quits: Evanescence (~Evanescen@122.237.23.204) (Client Quit)
  152. # [04:33] * Joins: Evanescence (~Evanescen@122.237.23.204)
  153. # [04:33] * Quits: cpearce (~chatzilla@60.234.54.74) (Ping timeout: 248 seconds)
  154. # [04:33] * Quits: Evanescence (~Evanescen@122.237.23.204) (Client Quit)
  155. # [04:37] * Joins: Evanescence (~Evanescen@122.237.23.204)
  156. # [04:47] * Joins: jamesr (~jamesr@173-164-251-190-SFBA.hfc.comcastbusiness.net)
  157. # [04:55] * Joins: agektmr (~Adium@220.109.219.244)
  158. # [04:58] * Quits: boblet (u1921@gateway/web/irccloud.com/x-dimndczibokrkfsf)
  159. # [05:01] * Quits: rniwa (rniwa@nat/google/x-fhfiagkatrxjbtpq) (Quit: rniwa)
  160. # [05:01] * Joins: roc (~chatzilla@121.98.230.221)
  161. # [05:06] * Joins: cpearce (~chatzilla@ip-118-90-36-154.xdsl.xnet.co.nz)
  162. # [05:06] * Joins: othermaciej (~mjs@c-24-6-209-189.hsd1.ca.comcast.net)
  163. # [05:06] * Joins: jdaggett (~jdaggett@mail.questnewmarket.co.nz)
  164. # [05:13] * Joins: dbaron (~dbaron@60.234.54.74)
  165. # [05:15] * Joins: MikeSmith (~MikeSmith@125.152.243.176)
  166. # [05:19] * Quits: jamesr (~jamesr@173-164-251-190-SFBA.hfc.comcastbusiness.net) (Quit: jamesr)
  167. # [05:24] * Joins: nonge_ (~nonge@p5B326524.dip.t-dialin.net)
  168. # [05:28] * Quits: nonge__ (~nonge@p5B32665A.dip.t-dialin.net) (Ping timeout: 258 seconds)
  169. # [05:29] * Quits: jacobolus (~jacobolus@75-144-246-6-SFBA.hfc.comcastbusiness.net) (Remote host closed the connection)
  170. # [05:31] * Joins: jamesr (~jamesr@173-164-251-190-SFBA.hfc.comcastbusiness.net)
  171. # [05:31] * Quits: MikeSmith (~MikeSmith@125.152.243.176) (Quit: MikeSmith)
  172. # [05:39] * Joins: erlehmann (~erlehmann@82.113.99.40)
  173. # [05:59] * Joins: MikeSmith (~MikeSmith@218.236.5.3)
  174. # [06:03] * Joins: gavin_ (~gavin@76.14.70.183)
  175. # [06:05] * Quits: gavin__ (~gavin@76.14.70.183) (Ping timeout: 252 seconds)
  176. # [06:23] * Quits: jamesr (~jamesr@173-164-251-190-SFBA.hfc.comcastbusiness.net) (Quit: jamesr)
  177. # [06:25] * Quits: miketaylr (~miketaylr@24.42.93.245) (Quit: miketaylr)
  178. # [06:29] * Joins: jamesr (~jamesr@173-164-251-190-SFBA.hfc.comcastbusiness.net)
  179. # [06:33] * Joins: Areks (~Areks@rs.gridnine.com)
  180. # [06:46] * Quits: connrs (~connrs@conners.plus.com) (Ping timeout: 260 seconds)
  181. # [06:49] * Quits: jamesr (~jamesr@173-164-251-190-SFBA.hfc.comcastbusiness.net) (Quit: jamesr)
  182. # [06:50] * Quits: rillian_ (~rillian@mist.thaumas.net) (Remote host closed the connection)
  183. # [06:51] * Joins: connrs (~connrs@conners.plus.com)
  184. # [06:52] * Quits: temp01 (~temp01@unaffiliated/temp01) (Ping timeout: 240 seconds)
  185. # [06:56] * Joins: temp01 (~temp01@unaffiliated/temp01)
  186. # [07:06] * Quits: roc (~chatzilla@121.98.230.221) (Ping timeout: 240 seconds)
  187. # [07:07] * Quits: nessy (~Adium@124-169-131-96.dyn.iinet.net.au) (Quit: Leaving.)
  188. # [07:07] * Quits: abarth (~abarth@173-164-128-209-SFBA.hfc.comcastbusiness.net) (Quit: abarth)
  189. # [07:09] * Joins: shepazu (~shepazu@12.1.203.2)
  190. # [07:09] * Joins: yaffle (~vic99999@217.19.114.226)
  191. # [07:11] <yaffle> Hello!
  192. # [07:11] <yaffle> could somebody help me with event delegation?
  193. # [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
  194. # [07:12] <yaffle> $(document).on('click', '.test', function () { alert(0); return false; });
  195. # [07:12] <yaffle> $(document).on('click', '.bu', function () { alert(1); return false; });
  196. # [07:12] <yaffle> $(document).on('click', '.bu', function () { alert(2); return false; });
  197. # [07:12] <yaffle> <div class="test">
  198. # [07:12] <yaffle> <div class="bu">
  199. # [07:12] <yaffle> bu here
  200. # [07:12] <yaffle> </div>
  201. # [07:12] <yaffle> </div>
  202. # [07:13] <yaffle> clicking on ".test > .bu" will alert(1) and alert(2), but not alert(0)
  203. # [07:13] <yaffle> how to do the same with DOM API ?
  204. # [07:17] * Quits: jdaggett (~jdaggett@mail.questnewmarket.co.nz) (Quit: jdaggett)
  205. # [07:24] * Joins: sicking (~chatzilla@c-98-210-155-80.hsd1.ca.comcast.net)
  206. # [07:29] * Joins: Margle (~Margle@41-133-196-64.dsl.mweb.co.za)
  207. # [07:30] * Quits: Margle (~Margle@41-133-196-64.dsl.mweb.co.za) (Read error: No route to host)
  208. # [07:31] * Joins: Margle (~Margle@41-133-196-64.dsl.mweb.co.za)
  209. # [07:35] * Quits: dbaron (~dbaron@60.234.54.74) (Quit: 8403864 bytes have been tenured, next gc will be global.)
  210. # [07:38] * Quits: manu` (~chatzilla@pool-74-107-162-72.ronkva.east.verizon.net) (Ping timeout: 240 seconds)
  211. # [07:44] * Quits: divya (~divyam@c-24-18-47-160.hsd1.wa.comcast.net) (Quit: Leaving.)
  212. # [07:46] * Quits: shepazu (~shepazu@12.1.203.2) (Ping timeout: 244 seconds)
  213. # [07:47] * jernoble|afk is now known as jernoble
  214. # [07:49] * Joins: shepazu (~shepazu@12.1.203.2)
  215. # [07:56] * Joins: zcorpan (~zcorpan@c-699de355.410-6-64736c14.cust.bredbandsbolaget.se)
  216. # [07:57] * Parts: zcorpan (~zcorpan@c-699de355.410-6-64736c14.cust.bredbandsbolaget.se)
  217. # [07:58] * Joins: manu` (~chatzilla@pool-74-107-162-72.ronkva.east.verizon.net)
  218. # [07:59] * Quits: sicking (~chatzilla@c-98-210-155-80.hsd1.ca.comcast.net) (Ping timeout: 260 seconds)
  219. # [08:02] * Joins: zcorpan (~zcorpan@c-699de355.410-6-64736c14.cust.bredbandsbolaget.se)
  220. # [08:04] * Joins: shepazu_ (~shepazu@12.1.203.2)
  221. # [08:04] * Quits: shepazu (~shepazu@12.1.203.2) (Read error: Connection reset by peer)
  222. # [08:04] * shepazu_ is now known as shepazu
  223. # [08:06] * Parts: yaffle (~vic99999@217.19.114.226)
  224. # [08:08] * jernoble is now known as jernoble|afk
  225. # [08:10] <hsivonen> looks like the thread about unprefixing has inspired quite a few responses on www-style
  226. # [08:14] * Joins: sicking (~chatzilla@c-98-210-155-80.hsd1.ca.comcast.net)
  227. # [08:20] * Margle is now known as margle
  228. # [08:21] * Quits: neb3000 (~neb3000@115.146.71.1) (Quit: neb3000)
  229. # [08:24] * Joins: boblet (u1921@gateway/web/irccloud.com/x-pwcpoygogqqpzjpz)
  230. # [08:26] * Quits: sicking (~chatzilla@c-98-210-155-80.hsd1.ca.comcast.net) (Ping timeout: 240 seconds)
  231. # [08:28] * Joins: FlorianX (~Dimitri@p4FCF77B9.dip.t-dialin.net)
  232. # [08:31] * Joins: brucel (~brucel@cpc5-smal11-2-0-cust151.perr.cable.virginmedia.com)
  233. # [08:38] * Joins: tomasf (~tomasf@77.72.97.5.c.fiberdirekt.net)
  234. # [08:44] * Joins: woef (~woef@91.183.84.141)
  235. # [08:59] * Quits: othermaciej (~mjs@c-24-6-209-189.hsd1.ca.comcast.net) (Quit: othermaciej)
  236. # [09:08] * Joins: othermaciej (~mjs@c-24-6-209-189.hsd1.ca.comcast.net)
  237. # [09:09] <zcorpan> yaffle: http://software.hixie.ch/utilities/js/live-dom-viewer/saved/1257
  238. # [09:11] * Quits: andyg (~andyg@eth59-167-156-1.static.internode.on.net) (Quit: andyg)
  239. # [09:15] * nunnun is now known as nunnun_away
  240. # [09:16] * Quits: agektmr (~Adium@220.109.219.244) (Quit: Leaving.)
  241. # [09:19] * Joins: rniwa (~rniwa@70-89-66-218-ca.sfba.hfc.comcastbusiness.net)
  242. # [09:20] * Joins: agektmr (~Adium@220.109.219.244)
  243. # [09:22] * Quits: benjoffe_ (~benjoffe_@119-252-71-224.static.highway1.net.au) (Remote host closed the connection)
  244. # [09:23] * Joins: benjoffe_ (~benjoffe_@119-252-71-224.static.highway1.net.au)
  245. # [09:24] * Joins: Lachy (~Lachy@cm-84.215.59.50.getinternet.no)
  246. # [09:24] * Quits: astearns (~anonymous@c-50-132-63-33.hsd1.wa.comcast.net) (Quit: astearns)
  247. # [09:26] * Quits: shepazu (~shepazu@12.1.203.2) (Ping timeout: 244 seconds)
  248. # [09:26] * Joins: shepazu_ (~shepazu@12.1.203.2)
  249. # [09:27] * Quits: benjoffe_ (~benjoffe_@119-252-71-224.static.highway1.net.au) (Ping timeout: 260 seconds)
  250. # [09:28] * Joins: kennyluck (~kennyluck@114-43-116-150.dynamic.hinet.net)
  251. # [09:30] * Joins: gwicke (~gabriel@212.255.35.101)
  252. # [09:42] * Joins: jdaggett (~jdaggett@mail.questnewmarket.co.nz)
  253. # [09:43] * Quits: jdaggett (~jdaggett@mail.questnewmarket.co.nz) (Client Quit)
  254. # [09:45] * Joins: jacobolus (~jacobolus@c-24-5-85-179.hsd1.ca.comcast.net)
  255. # [09:49] * Quits: jacobolus (~jacobolus@c-24-5-85-179.hsd1.ca.comcast.net) (Read error: Connection reset by peer)
  256. # [09:51] * Joins: jacobolus (~jacobolus@c-24-5-85-179.hsd1.ca.comcast.net)
  257. # [10:00] <krijn> TabAtkins: http://vimeo.com/32135328
  258. # [10:00] <krijn> (Sorry about that intro title :()
  259. # [10:05] * Joins: yaffle (~vic99999@217.19.114.226)
  260. # [10:06] * Quits: Druide_ (~Druid@p5B136BB2.dip.t-dialin.net) (Ping timeout: 252 seconds)
  261. # [10:09] <yaffle> zcorpan: no, it's not what i need: let's change markup to:
  262. # [10:09] <yaffle> <div class="test">
  263. # [10:09] <yaffle> <div class="bu">
  264. # [10:09] <yaffle> <a>
  265. # [10:09] <yaffle> bu here
  266. # [10:09] <yaffle> </a>
  267. # [10:09] <yaffle> </div>
  268. # [10:09] <yaffle> </div>
  269. # [10:10] <yaffle> jQuery implements their own "dispatch", so it can "stopPropagation" even with event-delegation
  270. # [10:12] * Quits: agektmr (~Adium@220.109.219.244) (Quit: Leaving.)
  271. # [10:12] * Joins: Druide_ (~Druid@p5B05D880.dip.t-dialin.net)
  272. # [10:12] * Joins: akamike (~akamike@94-193-106-14.zone7.bethere.co.uk)
  273. # [10:17] * Joins: agektmr (~Adium@220.109.219.244)
  274. # [10:26] * Joins: smaug____ (~chatzilla@GGYXXXV.gprs.sl-laajakaista.fi)
  275. # [10:27] * Quits: rniwa (~rniwa@70-89-66-218-ca.sfba.hfc.comcastbusiness.net) (Quit: rniwa)
  276. # [10:29] * Quits: jacobolus (~jacobolus@c-24-5-85-179.hsd1.ca.comcast.net) (Read error: Connection reset by peer)
  277. # [10:29] * Joins: jacobolus (~jacobolus@c-24-5-85-179.hsd1.ca.comcast.net)
  278. # [10:32] * heycam is now known as heycam|away
  279. # [10:34] * Joins: drublic (~drublic@frbg-5f732382.pool.mediaWays.net)
  280. # [10:35] <zcorpan> yaffle: ok. then, *shrug*
  281. # [10:38] * Quits: Lachy (~Lachy@cm-84.215.59.50.getinternet.no) (Quit: Computer has gone to sleep.)
  282. # [10:38] <hsivonen> not the best for truth but probably good for advocacy that Firefox 3.6 no longer shows up on caniuse
  283. # [10:39] * Quits: drublic (~drublic@frbg-5f732382.pool.mediaWays.net) (Remote host closed the connection)
  284. # [10:39] * Joins: drublic (~drublic@frbg-5f732382.pool.mediaWays.net)
  285. # [10:42] <hsivonen> oh. there's an option to show old versions
  286. # [10:52] * Quits: cpearce (~chatzilla@ip-118-90-36-154.xdsl.xnet.co.nz) (Ping timeout: 240 seconds)
  287. # [10:56] * Joins: myakura (~myakura@FL1-211-135-241-47.tky.mesh.ad.jp)
  288. # [10:59] * Quits: myakura (~myakura@FL1-211-135-241-47.tky.mesh.ad.jp) (Remote host closed the connection)
  289. # [11:04] * Joins: danielfilho_ (~daniel@187.31.77.7)
  290. # [11:05] * Quits: danielfilho (~daniel@187.31.77.7) (Ping timeout: 245 seconds)
  291. # [11:05] * danielfilho_ is now known as danielfilho
  292. # [11:10] * Quits: drublic (~drublic@frbg-5f732382.pool.mediaWays.net) (Remote host closed the connection)
  293. # [11:11] * Joins: drublic (~drublic@frbg-5f732382.pool.mediaWays.net)
  294. # [11:12] * Joins: PalleZingmark (~Adium@217.13.228.226)
  295. # [11:13] * Joins: abarth (~abarth@173-164-128-209-SFBA.hfc.comcastbusiness.net)
  296. # [11:16] * Quits: zcorpan (~zcorpan@c-699de355.410-6-64736c14.cust.bredbandsbolaget.se) (Remote host closed the connection)
  297. # [11:16] * Joins: zcorpan (~zcorpan@c-699de355.410-6-64736c14.cust.bredbandsbolaget.se)
  298. # [11:20] * heycam|away is now known as heycam
  299. # [11:23] * Quits: drublic (~drublic@frbg-5f732382.pool.mediaWays.net) (Ping timeout: 248 seconds)
  300. # [11:24] * Joins: drublic (~drublic@frbg-4d0297cf.pool.mediaWays.net)
  301. # [11:29] * Joins: jarek (~jarek@unaffiliated/jarek)
  302. # [11:32] * Quits: AryehGregor (~Simetrica@mediawiki/simetrical) (Ping timeout: 240 seconds)
  303. # [11:33] * Joins: AryehGregor (~Simetrica@cpe-68-175-61-233.nyc.res.rr.com)
  304. # [11:33] * Quits: AryehGregor (~Simetrica@cpe-68-175-61-233.nyc.res.rr.com) (Changing host)
  305. # [11:33] * Joins: AryehGregor (~Simetrica@mediawiki/simetrical)
  306. # [11:37] * Quits: Areks (~Areks@rs.gridnine.com) (Ping timeout: 240 seconds)
  307. # [11:39] * Quits: Phrogz_ (d8e47015@pdpc/supporter/professional/phrogz) (Ping timeout: 265 seconds)
  308. # [11:41] <annevk> Is there a bug on WebKit on removing document.width and document.height?
  309. # [11:50] * Joins: Areks (~Areks@rs.gridnine.com)
  310. # [11:53] * Joins: Lachy (~Lachy@pat-tdc.opera.com)
  311. # [11:55] * Quits: Evanescence (~Evanescen@122.237.23.204) (Quit: my website: http://stardiviner.dyndns-blog.com/)
  312. # [11:57] <jarek> annevk: but those are used all over the place, removing them would break many websites
  313. # [11:58] * Joins: adactio (~adactio@host213-123-197-180.in-addr.btopenworld.com)
  314. # [11:58] <jarek> no, wait... Firefox has done that...
  315. # [11:58] * Quits: akamike (~akamike@94-193-106-14.zone7.bethere.co.uk) (Quit: akamike)
  316. # [11:58] <jarek> https://developer.mozilla.org/en/DOM/document.width
  317. # [11:59] * annevk filed https://bugs.webkit.org/show_bug.cgi?id=72591
  318. # [12:00] <annevk> jarek: only Gecko and WebKit supported them
  319. # [12:00] <annevk> jarek: some Google-demo is still using them it seems, but not much more than that as far as I know
  320. # [12:00] * Joins: spacejammin (~spacejamm@host153-72-static.34-79-b.business.telecomitalia.it)
  321. # [12:03] * heycam is now known as heycam|away
  322. # [12:06] <abarth> annevk: which demo?
  323. # [12:07] <annevk> http://studio.html5rocks.com/#Puzzle because of code in http://studio.html5rocks.com/samples/svg-puzzle/jigsaw.js
  324. # [12:07] * Quits: margle (~Margle@41-133-196-64.dsl.mweb.co.za) (Quit: Computer has gone to sleep.)
  325. # [12:07] <annevk> instead of document.width it should use document.body.clientWidth and same for height
  326. # [12:07] <annevk> abarth: ^^
  327. # [12:07] <abarth> annevk: thanks. i can try to figure out who to nudge
  328. # [12:08] <abarth> strange, i don't see them in document.idl
  329. # [12:09] * Quits: tomasf (~tomasf@77.72.97.5.c.fiberdirekt.net) (Read error: Connection reset by peer)
  330. # [12:09] <annevk> thanks man
  331. # [12:09] * Joins: tomasf (~tomasf@77.72.97.5.c.fiberdirekt.net)
  332. # [12:10] <abarth> ah, they're on HTMLDocument
  333. # [12:11] <annevk> added that to the bug
  334. # [12:13] <abarth> i've got a patch, but i need to see how many tests it breaks :)
  335. # [12:13] * Joins: smaug_____ (~chatzilla@GGYGMMMII.gprs.sl-laajakaista.fi)
  336. # [12:15] * abarth is now known as abarth|zZz
  337. # [12:15] * Quits: smaug____ (~chatzilla@GGYXXXV.gprs.sl-laajakaista.fi) (Ping timeout: 240 seconds)
  338. # [12:15] * smaug_____ is now known as smaug____
  339. # [12:19] * Quits: smaug____ (~chatzilla@GGYGMMMII.gprs.sl-laajakaista.fi) (Quit: Reconnecting…)
  340. # [12:19] * Joins: smaug____ (~chatzilla@GGYGMMMII.gprs.sl-laajakaista.fi)
  341. # [12:28] * Joins: margle (~Margle@41-133-196-64.dsl.mweb.co.za)
  342. # [12:29] * Quits: jarek (~jarek@unaffiliated/jarek) (Quit: Leaving)
  343. # [12:36] * Joins: danbri (~danbri@cable-146-255-152-114.dynamic.telemach.ba)
  344. # [12:36] * Joins: necolas (~necolas@host-92-12-156-249.as43234.net)
  345. # [12:37] * Quits: danbri (~danbri@cable-146-255-152-114.dynamic.telemach.ba) (Remote host closed the connection)
  346. # [12:39] * Quits: Lachy (~Lachy@pat-tdc.opera.com) (Quit: Textual IRC Client: http://www.textualapp.com/)
  347. # [12:45] <yaffle> http://stackoverflow.com/questions/8162883/dom-events-api-event-delegation-and-stoppropagation
  348. # [12:47] <annevk> I am the only one confused by this thread: http://lists.w3.org/Archives/Public/public-html/2011Nov/0157.html
  349. # [12:49] <annevk> yaffle: use event.stopPropagation()
  350. # [12:52] <yaffle> annevk: event delegation!
  351. # [12:52] * Joins: danbri (~danbri@cable-146-255-152-131.dynamic.telemach.ba)
  352. # [12:54] <annevk> yaffle: not sure how to interpret tha
  353. # [12:54] <annevk> t
  354. # [12:54] <smaug____> (what has that to do with delegation?)
  355. # [12:56] <yaffle> annevk: i want to use "event delegation", so all event listeners are attached to same element, event.stopPropagation() will not help
  356. # [12:58] <smaug____> stopImmediatePropagation()
  357. # [12:58] <smaug____> though, I'm not sure what delegation means in this case
  358. # [12:58] <smaug____> apparently something different than usually
  359. # [12:59] <annevk> sicking did suggest we should add jQuery-style event handling to the DOM
  360. # [12:59] <annevk> I haven't had time to look at it yet
  361. # [12:59] * Joins: Lachy (~Lachy@pat-tdc.opera.com)
  362. # [13:00] <smaug____> huh
  363. # [13:01] <yaffle> annevk: wow! sounds good
  364. # [13:01] * Quits: Lachy (~Lachy@pat-tdc.opera.com) (Client Quit)
  365. # [13:01] <smaug____> sicking has all these crazy ideas :p
  366. # [13:01] <smaug____> what is good in jquery event handling?
  367. # [13:04] * nunnun_away is now known as nunnun
  368. # [13:05] <yaffle> smaug____: "stopPropagation" support + short syntax for event delegation
  369. # [13:05] <smaug____> DOM events support stopPropagation
  370. # [13:05] <smaug____> what is "short syntax for event delegation" ?
  371. # [13:06] <yaffle> smaug____: but not for "event-delegation" pattern
  372. # [13:07] <smaug____> do you mean .delegate() method in jQuery ?
  373. # [13:07] <yaffle> smaug____: $(document).on('click', '.test', function() { alert(123); }); - will alerts clicking on elements with className "test"
  374. # [13:08] <yaffle> smaug____: yes, in latest jQuery, they move to "on" method, although "delegate" makes the same
  375. # [13:08] <smaug____> document.documentElement.onclick = function (e) { if (e.target.className.contains("test")) { alert(123); } }
  376. # [13:09] <yaffle> smaug____: <b class="test"><a> who will be the target "a" or "b"? </a></b>
  377. # [13:09] <smaug____> depending on the stopPropagation calls ofc
  378. # [13:09] <smaug____> ah, true
  379. # [13:10] <smaug____> ok, my example doesn't work
  380. # [13:10] <smaug____> but something quite similar would
  381. # [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);
  382. # [13:10] <yaffle> smaug____: this is what we can do with native DOM, but we can't do "stopPropagation"
  383. # [13:11] <smaug____> I don't understand what you mean with 'can't do "stopPropagation"'?
  384. # [13:12] <smaug____> ah, you want the first listener to call stopPropagation if there are many listeners
  385. # [13:12] <smaug____> er, many elements with .test ?
  386. # [13:13] <yaffle> smaug____: http://jsfiddle.net/sbxBw/3/
  387. # [13:14] <yaffle> smaug____: many event listeners...
  388. # [13:15] <smaug____> stopImmediatePropagation() should work
  389. # [13:16] <smaug____> hmm
  390. # [13:16] <smaug____> well, that testcase is just about plain normal addEventListener
  391. # [13:16] <smaug____> and calling stopPropagation
  392. # [13:17] * Quits: danbri (~danbri@cable-146-255-152-131.dynamic.telemach.ba) (Ping timeout: 260 seconds)
  393. # [13:19] <smaug____> I can see some use cases for registering same listener to different targets
  394. # [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
  395. # [13:19] * Joins: Lachy (~Lachy@pat-tdc.opera.com)
  396. # [13:21] <yaffle> smaug____: stopImmediatePropagation is not what i need))) stopImmediatePropagatin prevends ALL listeners from execution
  397. # [13:22] <yaffle> smaug____: http://jsfiddle.net/sbxBw/4/ updated example ))
  398. # [13:23] <smaug____> in that example you'd just call stopPropagation() in the listener added to element with .bu
  399. # [13:25] <yaffle> smaug____: if i will add listeners to elements with ".bu" - this wouldn't be "event-delegation" =)
  400. # [13:25] <smaug____> how is jquery not adding listener to .bu element?
  401. # [13:25] <smaug____> I must be missing something here
  402. # [13:26] * Joins: bga_ (~bga@ppp78-37-206-209.pppoe.avangarddsl.ru)
  403. # [13:26] <smaug____> $(document) is just the context, right? and then everything underneath it with .bu and .test will get the listeners you define
  404. # [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 ...
  405. # [13:29] <smaug____> "The .on() method attaches event handlers to the currently selected set of elements in the jQuery object."
  406. # [13:29] <smaug____> that is from jQuery documentation
  407. # [13:30] <yaffle> When a selector is provided, the event handler is referred to as delegated.
  408. # [13:30] <smaug____> so, as far as I see, the example you posted is still just about event propagation and calling stopPropagation
  409. # [13:30] <yaffle> http://api.jquery.com/on/#direct-and-delegated-events
  410. # [13:30] * Joins: plutoniix (~plutoniix@ppp-110-168-69-64.revip5.asianet.co.th)
  411. # [13:33] <smaug____> " The handler is not called when the event occurs directly on the bound element, but only for descendants "
  412. # [13:33] <smaug____> so, still about normal event propagation
  413. # [13:33] <smaug____> "runs the handler for any elements along that path matching the selector."
  414. # [13:34] <smaug____> still reading...
  415. # [13:34] <smaug____> I assume I'm missing something here..
  416. # [13:36] <smaug____> but I can't find anything...
  417. # [13:36] <smaug____> jQuery uses word delegate quite unique way
  418. # [13:37] <smaug____> ah, now I see
  419. # [13:40] * Quits: shepazu_ (~shepazu@12.1.203.2) (Ping timeout: 240 seconds)
  420. # [13:43] <smaug____> one could add the "delegate" listener during capture phase
  421. # [13:43] * Quits: yuuki (~kobayashi@58x158x182x50.ap58.ftth.ucom.ne.jp) (Quit: Leaving...)
  422. # [13:43] <smaug____> and then remove it automatically later
  423. # [13:43] <smaug____> that should give the jQuery behavior
  424. # [13:46] * Joins: Evanescence (~Evanescen@122.237.23.204)
  425. # [13:46] * Joins: akamike (~akamike@94-193-106-14.zone7.bethere.co.uk)
  426. # [14:04] * Joins: benjoffe_ (~benjoffe_@1.152.102.202)
  427. # [14:07] * Quits: erlehmann (~erlehmann@82.113.99.40) (Ping timeout: 240 seconds)
  428. # [14:09] <yaffle> smaug____, hm... thanks, good solution
  429. # [14:12] * Quits: Evanescence (~Evanescen@122.237.23.204) (Quit: my website: http://stardiviner.dyndns-blog.com/)
  430. # [14:13] * Joins: richt (~richt@guest.opera.com)
  431. # [14:22] * Joins: myakura (~myakura@FL1-211-135-241-47.tky.mesh.ad.jp)
  432. # [14:26] * Parts: yaffle (~vic99999@217.19.114.226)
  433. # [14:28] * Quits: benjoffe_ (~benjoffe_@1.152.102.202) (Read error: Connection reset by peer)
  434. # [14:33] * Joins: jochen__ (jochen@nat/google/x-bzulmyfrgdyjktru)
  435. # [14:38] * Quits: agektmr (~Adium@220.109.219.244) (Quit: Leaving.)
  436. # [14:40] * Quits: smaug____ (~chatzilla@GGYGMMMII.gprs.sl-laajakaista.fi) (Ping timeout: 244 seconds)
  437. # [14:43] * Quits: MacTed (~Thud@c-71-233-244-175.hsd1.ma.comcast.net)
  438. # [14:44] * Joins: yaffle (~vic99999@217.19.114.226)
  439. # [14:44] * Parts: yaffle (~vic99999@217.19.114.226)
  440. # [14:44] * Quits: richt (~richt@guest.opera.com) (Read error: No route to host)
  441. # [14:44] * Joins: richt (~richt@guest.opera.com)
  442. # [14:47] * Joins: nimbupani (~divyam@c-24-18-47-160.hsd1.wa.comcast.net)
  443. # [14:47] * nimbupani is now known as divya
  444. # [14:47] * Quits: divya (~divyam@c-24-18-47-160.hsd1.wa.comcast.net) (Client Quit)
  445. # [14:47] * Joins: nimbupani (~divyam@c-24-18-47-160.hsd1.wa.comcast.net)
  446. # [14:47] * nimbupani is now known as divya
  447. # [15:01] * Joins: miketaylr (~miketaylr@206.217.92.186)
  448. # [15:05] * Quits: Areks (~Areks@rs.gridnine.com) (Ping timeout: 240 seconds)
  449. # [15:06] * Quits: richt (~richt@guest.opera.com) (Remote host closed the connection)
  450. # [15:10] * Joins: davidb_ (~davidb@66.207.208.98)
  451. # [15:19] * Quits: tomasf (~tomasf@77.72.97.5.c.fiberdirekt.net) (Quit: tomasf)
  452. # [15:26] * Joins: astearns (~anonymous@c-50-132-63-33.hsd1.wa.comcast.net)
  453. # [15:27] * Joins: smaug____ (~chatzilla@GGYYYMMCCXXI.gprs.sl-laajakaista.fi)
  454. # [15:41] * Quits: smaug____ (~chatzilla@GGYYYMMCCXXI.gprs.sl-laajakaista.fi) (Ping timeout: 260 seconds)
  455. # [15:43] * Joins: MacTed (~Thud@63.119.36.36)
  456. # [15:52] * Joins: mhausenblas (~mhausenbl@wlan-nat.fwgal01.deri.ie)
  457. # [16:02] * Joins: tomasf (~tomasf@host-95-199-21-227.mobileonline.telia.com)
  458. # [16:02] * Joins: J_Voracek (~J_Voracek@71.21.195.70)
  459. # [16:05] * Quits: plutoniix (~plutoniix@ppp-110-168-69-64.revip5.asianet.co.th) (Ping timeout: 276 seconds)
  460. # [16:05] * Joins: ben_alman (~cowboy@75-150-66-254-NewEngland.hfc.comcastbusiness.net)
  461. # [16:08] * Joins: thiagotpc (~contato@186.215.228.170)
  462. # [16:10] * Joins: plutoniix (~plutoniix@ppp-124-120-69-35.revip2.asianet.co.th)
  463. # [16:11] * Quits: margle (~Margle@41-133-196-64.dsl.mweb.co.za) (Ping timeout: 244 seconds)
  464. # [16:11] * Joins: margle (~Margle@41-133-196-64.dsl.mweb.co.za)
  465. # [16:17] * Quits: margle (~Margle@41-133-196-64.dsl.mweb.co.za) (Quit: Textual IRC Client: http://www.textualapp.com/)
  466. # [16:17] * Quits: thiagotpc (~contato@186.215.228.170) (Ping timeout: 260 seconds)
  467. # [16:17] * Joins: Margle (~Margle@41-133-196-64.dsl.mweb.co.za)
  468. # [16:22] * Joins: neb3000 (~neb3000@115.146.71.1)
  469. # [16:31] * Quits: zcorpan (~zcorpan@c-699de355.410-6-64736c14.cust.bredbandsbolaget.se) (Quit: zcorpan)
  470. # [16:37] * Joins: chriseppstein (~chrisepps@209.119.65.162)
  471. # [16:39] * ericc|away is now known as eric_carlson
  472. # [16:41] * Joins: scor (~scor@drupal.org/user/52142/view)
  473. # [16:47] * Joins: oal (u4126@gateway/web/irccloud.com/x-qboyegsrdlnmqjyd)
  474. # [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.
  475. # [16:49] * Quits: J_Voracek (~J_Voracek@71.21.195.70) (Quit: disconnected: Jace Voracek - Jace@Jace-Place.com)
  476. # [16:50] <divya> ::after { content: attr(alt); }
  477. # [16:53] <woef> Not really recommended though.
  478. # [16:55] <oal> Oh, never thought it would be that simple :)
  479. # [16:55] <oal> woef: Why?
  480. # [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."
  481. # [16:56] <woef> Basically, there should be a difference in how you use them.
  482. # [16:58] <oal> Got it. Hmm, the cms I use adds alt and title attributes. Should I use the title instead?
  483. # [16:59] * Quits: mhausenblas (~mhausenbl@wlan-nat.fwgal01.deri.ie) (Quit: brb)
  484. # [16:59] * Quits: PalleZingmark (~Adium@217.13.228.226) (Quit: Leaving.)
  485. # [17:00] <annevk> ::after does not work on <img>
  486. # [17:00] <annevk> you should use <figure> <img> <figcaption> caption </figcaption> </figure> I think
  487. # [17:01] <divya> o thats true
  488. # [17:03] <oal> Ah, thanks, that's why it didn't work! ;)
  489. # [17:09] * Joins: thiagotpc (~contato@186.215.228.170)
  490. # [17:10] * Quits: Lachy (~Lachy@pat-tdc.opera.com) (Quit: Computer has gone to sleep.)
  491. # [17:16] * Joins: jarek (~jarek@unaffiliated/jarek)
  492. # [17:18] * Quits: Margle (~Margle@41-133-196-64.dsl.mweb.co.za) (Quit: Computer has gone to sleep.)
  493. # [17:25] * Joins: cgcardona (~cgcardona@69.38.221.130)
  494. # [17:25] * Quits: cgcardona (~cgcardona@69.38.221.130) (Changing host)
  495. # [17:25] * Joins: cgcardona (~cgcardona@unaffiliated/cgcardona)
  496. # [17:27] * Parts: adactio (~adactio@host213-123-197-180.in-addr.btopenworld.com)
  497. # [17:34] * Joins: Rik` (~Rik`@mozilla.vlan402.asr1.cdg3.gblx.net)
  498. # [17:35] * Quits: akamike (~akamike@94-193-106-14.zone7.bethere.co.uk) (Quit: akamike)
  499. # [17:41] * Quits: tomasf (~tomasf@host-95-199-21-227.mobileonline.telia.com) (Quit: tomasf)
  500. # [17:48] * Joins: Telling (~unknown@80-71-135-15.u.parknet.dk)
  501. # [17:50] * Quits: astearns (~anonymous@c-50-132-63-33.hsd1.wa.comcast.net) (Quit: astearns)
  502. # [17:52] * Quits: myakura (~myakura@FL1-211-135-241-47.tky.mesh.ad.jp) (Remote host closed the connection)
  503. # [17:53] * Joins: thiagotpc2 (~contato@186.215.228.170)
  504. # [17:57] * Quits: thiagotpc (~contato@186.215.228.170) (Ping timeout: 258 seconds)
  505. # [18:00] * Quits: thiagotpc2 (~contato@186.215.228.170) (Ping timeout: 245 seconds)
  506. # [18:01] * _salavas is now known as salavas
  507. # [18:01] * Joins: smaug____ (~chatzilla@193-64-22-160-nat.elisa-mobile.fi)
  508. # [18:02] * Joins: thiagotpc (~contato@186.215.228.170)
  509. # [18:07] * Joins: thiagotpc2 (~contato@186.215.228.170)
  510. # [18:08] * Joins: sicking (~chatzilla@c-98-210-155-80.hsd1.ca.comcast.net)
  511. # [18:10] * Joins: hasather_ (~hasather_@84.38.144.96)
  512. # [18:11] * Quits: thiagotpc (~contato@186.215.228.170) (Ping timeout: 244 seconds)
  513. # [18:11] * Joins: tomasf (~tom@c-b7dbe555.024-204-6c6b7012.cust.bredbandsbolaget.se)
  514. # [18:12] * Joins: thiagotpc (~contato@186.215.228.170)
  515. # [18:16] * Quits: thiagotpc2 (~contato@186.215.228.170) (Ping timeout: 244 seconds)
  516. # [18:16] * Joins: cygri (~cygri@wlan-nat.fwgal01.deri.ie)
  517. # [18:18] * Joins: thiagotpc2 (~contato@186.215.228.170)
  518. # [18:21] * Quits: thiagotpc (~contato@186.215.228.170) (Ping timeout: 252 seconds)
  519. # [18:21] * Quits: miketaylr (~miketaylr@206.217.92.186) (Ping timeout: 260 seconds)
  520. # [18:22] * Quits: woef (~woef@91.183.84.141) (Ping timeout: 252 seconds)
  521. # [18:22] * Joins: KillerX_ (~anant@nat/mozilla/x-ofppbgspqripoxqu)
  522. # [18:23] * Joins: Ms2ger (~Ms2ger@91.181.0.73)
  523. # [18:23] * Joins: miketayl_r (~miketaylr@206.217.92.186)
  524. # [18:23] * miketayl_r is now known as miketaylr
  525. # [18:24] * Joins: thiagotpc (~contato@186.215.228.170)
  526. # [18:26] * Quits: thiagotpc2 (~contato@186.215.228.170) (Ping timeout: 240 seconds)
  527. # [18:26] * Joins: KillerX__ (~anant@nat/mozilla/x-zpkihdldriiissht)
  528. # [18:27] * KillerX__ is now known as KillerX
  529. # [18:28] * Joins: thiagotpc2 (~contato@186.215.228.170)
  530. # [18:28] * Quits: hasather_ (~hasather_@84.38.144.96) (Remote host closed the connection)
  531. # [18:29] * Quits: KillerX_ (~anant@nat/mozilla/x-ofppbgspqripoxqu) (Ping timeout: 258 seconds)
  532. # [18:30] * Joins: rniwa (~rniwa@70-89-66-218-ca.sfba.hfc.comcastbusiness.net)
  533. # [18:30] * Joins: Lachy (~Lachy@cm-84.215.59.50.getinternet.no)
  534. # [18:31] * Quits: thiagotpc (~contato@186.215.228.170) (Ping timeout: 260 seconds)
  535. # [18:33] * Joins: thiagotpc (~contato@186.215.228.170)
  536. # [18:35] * Joins: tantek (~tantek@12.1.203.2)
  537. # [18:35] * Quits: rniwa (~rniwa@70-89-66-218-ca.sfba.hfc.comcastbusiness.net) (Quit: rniwa)
  538. # [18:37] * Joins: espadrine (~thaddee_t@acces2064.res.insa-lyon.fr)
  539. # [18:37] * Parts: espadrine (~thaddee_t@acces2064.res.insa-lyon.fr)
  540. # [18:38] * Quits: thiagotpc2 (~contato@186.215.228.170) (Ping timeout: 276 seconds)
  541. # [18:38] * Joins: thiagotpc2 (~contato@186.215.228.170)
  542. # [18:42] * Quits: thiagotpc (~contato@186.215.228.170) (Ping timeout: 260 seconds)
  543. # [18:43] * Joins: thiagotpc (~contato@186.215.228.170)
  544. # [18:45] * Joins: astearns (~anonymous@192.150.22.5)
  545. # [18:46] * Quits: thiagotpc2 (~contato@186.215.228.170) (Ping timeout: 244 seconds)
  546. # [18:48] * Joins: thiagotpc2 (~contato@186.215.228.170)
  547. # [18:50] * Ms2ger is bored of the unprefixing thread already
  548. # [18:52] * Quits: thiagotpc (~contato@186.215.228.170) (Ping timeout: 260 seconds)
  549. # [18:53] * Joins: thiagotpc (~contato@186.215.228.170)
  550. # [18:57] <jgraham> Took a while
  551. # [18:57] * Quits: thiagotpc2 (~contato@186.215.228.170) (Ping timeout: 260 seconds)
  552. # [18:58] * Joins: thiagotpc2 (~contato@186.215.228.170)
  553. # [19:00] * Joins: hasather_ (~hasather_@84.38.144.96)
  554. # [19:00] * Joins: espadrine (~thaddee_t@acces2064.res.insa-lyon.fr)
  555. # [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.
  556. # [19:01] * Joins: jamesr (jamesr@nat/google/x-jclrdcydmjkqfykt)
  557. # [19:02] * Joins: svl (~me@ip565744a7.direct-adsl.nl)
  558. # [19:02] * Quits: thiagotpc (~contato@186.215.228.170) (Ping timeout: 244 seconds)
  559. # [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?
  560. # [19:03] <AryehGregor> I can make it on the WHATWG blog, but I'd prefer it to be W3C because of Microsoft.
  561. # [19:04] * Joins: thiagotpc (~contato@186.215.228.170)
  562. # [19:04] <jgraham> Microsoft read W3C blogs?
  563. # [19:04] * Joins: jarek- (~jarek@bcw174.neoplus.adsl.tpnet.pl)
  564. # [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
  565. # [19:05] <tantek> #ownyourdata
  566. # [19:05] <AryehGregor> tantek, I don't have a personal blog.
  567. # [19:05] * Quits: jarek (~jarek@unaffiliated/jarek) (Ping timeout: 260 seconds)
  568. # [19:05] <tantek> personal wiki then? ;)
  569. # [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.
  570. # [19:07] * Joins: ap (~ap@2620:149:4:1b01:7173:b38:c64e:8477)
  571. # [19:07] <jgraham> Doesn't your CG get a blog?
  572. # [19:07] <AryehGregor> Um, maybe.
  573. # [19:07] <AryehGregor> I can check.
  574. # [19:07] <jgraham> I mean it is basically just wordpress
  575. # [19:08] <AryehGregor> That would be logical.
  576. # [19:08] * Quits: thiagotpc2 (~contato@186.215.228.170) (Ping timeout: 258 seconds)
  577. # [19:08] <tantek> Hixie, what was that URL for time duration microsyntaxes where you're gathering examples/data?
  578. # [19:08] <AryehGregor> Is there some way to configure "hg push" to push to multiple repos?
  579. # [19:08] * jgraham is pretty sure it does
  580. # [19:08] <jgraham> AryehGregor: That sounds like it would be very confusing
  581. # [19:08] <AryehGregor> Why?
  582. # [19:08] <jgraham> What if the push fails to one repository?
  583. # [19:08] * Joins: Maurice` (copyman@5ED573FA.cm-7-6b.dynamic.ziggo.nl)
  584. # [19:09] <Hixie> tantek: http://www.whatwg.org/specs/web-apps/current-work/temp
  585. # [19:09] <AryehGregor> Then it prints an error for that one and tries another?
  586. # [19:09] <tantek> thanks
  587. # [19:09] * Quits: jamesr (jamesr@nat/google/x-jclrdcydmjkqfykt) (Quit: jamesr)
  588. # [19:09] * Joins: jamesr (~jamesr@216.239.45.21)
  589. # [19:09] * AryehGregor doesn't know if git allows this either, but it seems useful for mirroring
  590. # [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
  591. # [19:09] <Ms2ger> hg push a && hg push b
  592. # [19:09] <tantek> Hixie - should I copy/paste that into a wiki page?
  593. # [19:10] <Hixie> sure
  594. # [19:10] <tantek> and edit / comment?
  595. # [19:10] <tantek> ok
  596. # [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
  597. # [19:10] * Quits: thiagotpc (~contato@186.215.228.170) (Ping timeout: 252 seconds)
  598. # [19:10] <Ms2ger> Aliases are nice for that
  599. # [19:10] <Hixie> tantek: but how would one expose this in an api in a way that wouldn't be misused all the time?
  600. # [19:10] <tantek> except that months are not a consistent amount of time :/
  601. # [19:10] * tantek really dislikes the # of months duration
  602. # [19:10] <jgraham> Pretty sure you can only push to one repo at a time with git
  603. # [19:11] <Hixie> tantek: if we exposed durationMonths and durationSeconds, people expecting short times would only look at the seconds
  604. # [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
  605. # [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
  606. # [19:11] <tantek> we could define a "month" duration as always being 30 days
  607. # [19:11] <Hixie> tantek: yeah
  608. # [19:12] <Hixie> tantek: another option would be to say that you can _either_ give durations of years+months, _or_ days,hours,minutes,seconds
  609. # [19:12] <Hixie> tantek: but can't mix and match, at least not for now
  610. # [19:12] <tantek> Hixie, well, ISO8601 let's you mix and match, so...
  611. # [19:12] <tantek> lets you
  612. # [19:12] <Hixie> tantek: we're already profiling ISO8601 anyway, *shrug*
  613. # [19:12] <tantek> agreed, profiling/subsetting is good.
  614. # [19:12] <tantek> we can at least try to be consistent
  615. # [19:13] <tantek> can we punt on an API for durations for the moment?
  616. # [19:13] <tantek> and see if there is sufficient interest in that at all from implementers?
  617. # [19:13] <AryehGregor> Ms2ger, yeah, I figured that out. Works well enough for me.
  618. # [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)
  619. # [19:14] <Ms2ger> Also, interesting how often people mention HTML4 on www-style
  620. # [19:14] * tantek needs to reference ISO8601 to answer that :/
  621. # [19:14] <tantek> or perhaps iCalendar
  622. # [19:14] <tantek> since iCalendar also has durations
  623. # [19:14] <tantek> and defines what happens when you have a dtstart and a duration
  624. # [19:14] <Hixie> tantek: for duration, if we don't add an api, i'm worried people will roll their own
  625. # [19:14] * Joins: cpearce (~chatzilla@ip-118-90-36-154.xdsl.xnet.co.nz)
  626. # [19:14] <Hixie> tantek: and that's a non-trivial parser to write
  627. # [19:14] <tantek> Hixie, if people roll their own, we can then use that as experience to design a good one
  628. # [19:14] <Hixie> tantek: especially if we add the new syntax
  629. # [19:15] <tantek> so far people haven't even implemented the *simpler* API of datetime
  630. # [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
  631. # [19:15] <Hixie> tantek: this would actually be simpler than the old api
  632. # [19:15] <tantek> we can define duration canonicalization
  633. # [19:15] <Hixie> tantek: in practice
  634. # [19:15] <tantek> as part of the parsing
  635. # [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
  636. # [19:16] <Hixie> tantek: are there use cases for mixing them that we know of today?
  637. # [19:16] <tantek> if we're going to split them, I'd prefer days and seconds
  638. # [19:16] <tantek> since those are much more precisely / universally defined
  639. # [19:16] <Hixie> not sure what you mean by "split"
  640. # [19:16] <tantek> as the two granularities
  641. # [19:16] <Hixie> days is just a multiple of seconds
  642. # [19:17] <tantek> your distinction of months and seconds
  643. # [19:17] <tantek> instead use days and seconds
  644. # [19:17] <Hixie> ?
  645. # [19:17] <tantek> you speak of months and seconds
  646. # [19:17] <Hixie> months are the problem, not days
  647. # [19:17] <tantek> and I'm saying instead, let us speak of days and seconds
  648. # [19:17] <Hixie> days are trivial
  649. # [19:17] <tantek> not if we define a month to be 30 days
  650. # [19:17] <Hixie> 1 day = 86400 seconds
  651. # [19:17] <Hixie> if we defined 1 month = 30 days then we have no problem
  652. # [19:18] <Hixie> except that a month isn't 30 days
  653. # [19:18] * jernoble|afk is now known as jernoble
  654. # [19:18] * tantek needs to reference iCalendar to determine that
  655. # [19:18] <Hixie> (feb 1 + 1 month = march 4th? not)
  656. # [19:19] <Hixie> icalendar doesn't allow years and months anyway
  657. # [19:19] <tantek> for durations?
  658. # [19:19] <Hixie> yeah
  659. # [19:19] <tantek> interesting
  660. # [19:19] <annevk> wow http://www.reddit.com/r/politics/comments/mfrs2/nypd_are_blocking_a_sidewalk_and_asking_for/
  661. # [19:19] <tantek> perhaps we should take that path then
  662. # [19:19] <Hixie> (though tehy do support weeks)
  663. # [19:20] <Hixie> (which seems to be an iso8601 extension?)
  664. # [19:20] <jgraham> annevk: DOCUMENT_POSITION_CONTAINED_BY (16, 10 in hexadecimal).
  665. # [19:20] <tantek> as a week = 7 days ?
  666. # [19:20] <Hixie> seems that way
  667. # [19:20] <jgraham> annevk: Either say 16 or 0x10
  668. # [19:20] <tantek> I'm find with limiting duration to the iCalendar subset
  669. # [19:20] <tantek> I believe that covers current use-cases
  670. # [19:20] <Hixie> let me look at the use cases again
  671. # [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
  672. # [19:21] <tantek> current use cases are around music song lengths, movie lengths, etc. and iCalendar.
  673. # [19:21] <tantek> let's punt on months
  674. # [19:21] <Hixie> well, not supporting months at all would certainly be an interesting approach
  675. # [19:21] <Ms2ger> jgraham, patches welcome :)
  676. # [19:21] <divya> annevk: these two photos are CLASSIC https://twitter.com/aaronsw/status/137191356778020864
  677. # [19:21] <Hixie> TabAtkins: does not supporting months at all seem reasonable to you?
  678. # [19:21] <Hixie> (tab and i were talking about this yesterday)
  679. # [19:22] <hober> sounds good to me
  680. # [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
  681. # [19:22] <Hixie> (and he's the only person to have sent me his opinions on that survey yet! ;-) )
  682. # [19:22] <tantek> thus I have no problems leaving out months
  683. # [19:22] <Hixie> tantek: certainly
  684. # [19:22] <tantek> it's the more design-conservative thing to do
  685. # [19:22] <tantek> and simply leave it open to being justified by use-cases in the future and adding it then
  686. # [19:22] <tantek> we can make sure the rest of the syntax is forward/backward compatible
  687. # [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)
  688. # [19:23] * tantek will adjust the Time element whatwg wiki page accordingly for duration
  689. # [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?
  690. # [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
  691. # [19:26] <Hixie> what do they think of as "quickly"?
  692. # [19:26] * Quits: jarek- (~jarek@bcw174.neoplus.adsl.tpnet.pl) (Ping timeout: 244 seconds)
  693. # [19:26] <tantek> I'm presuming quickly = weeks rather than months
  694. # [19:27] <Hixie> oh ok
  695. # [19:27] <Hixie> so there's no rush on this
  696. # [19:27] <Hixie> ok
  697. # [19:27] <tantek> oh wait is the HTML WG call going on right now?
  698. # [19:28] <tantek> or was it at 9am
  699. # [19:28] <annevk> an hour earlier
  700. # [19:28] <tantek> shoot
  701. # [19:28] <hober> you missed it
  702. # [19:28] * tantek missed the call.
  703. # [19:28] <tantek> was time/data discussed at all?
  704. # [19:28] * hober missed it too
  705. # [19:28] <tantek> sorry I had meant to attend. don't even have the different time zone excuse.
  706. # [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).
  707. # [19:30] <annevk> divya: also WTF
  708. # [19:30] * tantek would rather not overconstrain the editor's job.
  709. # [19:31] <annevk> divya: unless parody, in which case, funny
  710. # [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
  711. # [19:31] <divya> annevk: sadly not
  712. # [19:31] <tantek> Hixie, ok, I will attempt work with your time scale.
  713. # [19:31] <annevk> yeah I was wondering why you just wouldn't update the spec
  714. # [19:31] <Hixie> tantek: i've been making good use of your wiki page :-)
  715. # [19:31] * Joins: rniwa (rniwa@nat/google/x-kkpkhiguyxxiuorn)
  716. # [19:31] <annevk> same for <dialog> btw
  717. # [19:31] <annevk> seems everyone wants it anyway
  718. # [19:32] <annevk> and pretty much everyone wants the new <time>
  719. # [19:32] <Hixie> annevk: i've not had many days actual work time on the spec since tpac unfortunately
  720. # [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
  721. # [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
  722. # [19:33] * Quits: FlorianX (~Dimitri@p4FCF77B9.dip.t-dialin.net) (Quit: Leaving.)
  723. # [19:33] <Hixie> annevk: (we've been waiting months already)
  724. # [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
  725. # [19:34] * Quits: spacejammin (~spacejamm@host153-72-static.34-79-b.business.telecomitalia.it) (Quit: Leaving)
  726. # [19:35] <annevk> someone needs to figure out the CSS model we want
  727. # [19:35] <annevk> I don't really care
  728. # [19:35] <annevk> I think hober was going to ask www-style
  729. # [19:35] <annevk> hober: will you get that out today?
  730. # [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.
  731. # [19:36] <tantek> Including iterating on the list of examples you posted
  732. # [19:36] * Joins: KillerX_ (~anant@nat/mozilla/x-rqdwyzyqdoupgwmn)
  733. # [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).
  734. # [19:37] <tantek> (re: Time element wiki page on whatwg)
  735. # [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
  736. # [19:37] <hober> yeah, it'll go out today
  737. # [19:38] <Hixie> tantek: i've actually already written much of the spec text for this other than for the extended duration syntax
  738. # [19:38] <tantek> Hixie, that's great to hear.
  739. # [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 :-)
  740. # [19:38] <gavinc> the duration syntax is what ISO 8601... and some other stuff?
  741. # [19:39] <Hixie> (search for "duration" and search for a comment after the <data> element's definition)
  742. # [19:39] <Hixie> gavinc: a small subset of ISO8601's syntax, and something more readable based on what tantek was proposing
  743. # [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
  744. # [19:39] <Hixie> gavinc: while still making the syntax easier to read
  745. # [19:40] * Quits: KillerX (~anant@nat/mozilla/x-zpkihdldriiissht) (Ping timeout: 258 seconds)
  746. # [19:40] * KillerX_ is now known as KillerX
  747. # [19:41] <annevk> Hixie: you need to have a mode because the HTML one has to throw out stuff the other allows
  748. # [19:41] <Hixie> annevk: like what? (fill out the form and mail it in! :-) )
  749. # [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.
  750. # [19:43] <Hixie> webkit doesn't support the vw unit? :-(
  751. # [19:45] <beverloo> No, vh/vm neither.
  752. # [19:46] <beverloo> (logically)
  753. # [19:48] <annevk> tantek: the moment you get into superset/profile/subset relationships, using a modeless parser is flawed
  754. # [19:49] <tantek> I'm not sure I have data either way to assess that statement.
  755. # [19:50] * Quits: nonge_ (~nonge@p5B326524.dip.t-dialin.net) (Quit: Verlassend)
  756. # [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
  757. # [19:51] <Hixie> annevk: can you give an example? i don't understand what you mean
  758. # [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
  759. # [19:51] * Joins: danbri (~danbri@cable-146-255-152-131.dynamic.telemach.ba)
  760. # [19:52] <annevk> if ISO allows 1hour/1h and HTML just allows 1h; you cannot use an identical parser for that
  761. # [19:52] <Hixie> ISO allows only 1H, i'm proposing that our syntax also allow "1 h"
  762. # [19:52] <Hixie> (and maybe "1 hour", depending on what people think should be allowed)
  763. # [19:53] <Hixie> seems like one parser could pretty easily handle both
  764. # [19:53] <annevk> so the HTML parser cannot be used for ISO in that instance
  765. # [19:53] <Hixie> that's certainly the case, yes
  766. # [19:53] <gavinc> Hixie: Wouldn't ISO have to be prefixed with P? eg P1H?
  767. # [19:53] <Hixie> nobody is suggesting that the html duration parser would be a good generic ISO8601 parser
  768. # [19:53] <Hixie> ISO8601, after all, supports about six bazillion variants we have no intention of even mentioning
  769. # [19:53] <Hixie> same applies to all the date and time formats in the HTML spec in fact
  770. # [19:53] <Hixie> gavinc: yes
  771. # [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"
  772. # [19:54] <annevk> I guess I'll see what ends up in the spec
  773. # [19:54] <annevk> I did fill in the survey
  774. # [19:54] <annevk> btw
  775. # [19:55] <annevk> just now
  776. # [19:55] <Hixie> cool!
  777. # [19:55] <Hixie> thanks
  778. # [19:55] <Hixie> i meant that one parser could do both syntaxes when used in an html page
  779. # [19:55] <Hixie> not that you could use the parser for ISO8601-only cases outside HTML
  780. # [19:55] <Hixie> sorry for the ambiguity
  781. # [19:56] <tantek> Hixie - I didn't see a form on that page, just text examples
  782. # [19:56] <gavinc> and I've lost track of the survey
  783. # [19:56] <Hixie> i was using form in the old fashioned sense
  784. # [19:56] <Hixie> http://www.whatwg.org/specs/web-apps/current-work/temp
  785. # [19:57] <Hixie> something that can be filled in
  786. # [19:58] <annevk> i.e copy/paste, fill in the open questions
  787. # [19:58] <tantek> got it
  788. # [19:59] <tantek> good ol' test case driven spec development ;)
  789. # [20:00] * Quits: danbri (~danbri@cable-146-255-152-131.dynamic.telemach.ba) (Remote host closed the connection)
  790. # [20:02] <tantek> Hixie, I'm not sure about allowing whitespace
  791. # [20:03] <gavinc> So, would 1MT1M be uh, something to add? or not considering supporting etc?
  792. # [20:03] <tantek> between # and unit
  793. # [20:03] <tantek> gavinc we are currently considering excluding months
  794. # [20:03] <tantek> per the above discussion
  795. # [20:03] <Hixie> gavinc: you mean as opposed to P1MT1M? or?
  796. # [20:03] <tantek> in short, iCalendar doesn't have it, nor do any current use cases need it
  797. # [20:03] <Hixie> tantek: sadly we still have to think about how to parse it, just in case we add it later
  798. # [20:04] <tantek> Hixie, agreed.
  799. # [20:04] <tantek> so currently, 1MT1M would be invalid.
  800. # [20:04] <gavinc> Hixie: Yeah, cause P1MT1M would be fine, yes?
  801. # [20:04] <tantek> no, that would also be invalid
  802. # [20:04] <tantek> since we are not supporting months (the P1M part)
  803. # [20:04] <Hixie> gavinc: modulo months being invalid in general, P1MT1M would be valid ISO-based syntax
  804. # [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
  805. # [20:06] <gavinc> Hixie: So not all valid ISO durations would be conforming?
  806. # [20:06] <tantek> Hixie, agreed with parsing it, but similar to CSS forward compatible parsing, we would ignore values with months as unsupported.
  807. # [20:06] <tantek> gavinc - no one supports "all valid ISO durations"
  808. # [20:06] <Hixie> gavinc: definitely not, there's like six bazillion different ISO duration syntaxes
  809. # [20:06] <gavinc> heh, yes I'm aware
  810. # [20:06] <tantek> nor does anyone support "all valid ISO dates"
  811. # [20:07] <annevk> what is the reason why durations and date/time are gobbled together?
  812. # [20:07] <tantek> so yeah, we're subsetting
  813. # [20:07] <annevk> s/why//
  814. # [20:07] <tantek> in the fine tradition of RFC 3339, W3C Date-time-note etc.
  815. # [20:07] <tantek> annevk - because alternatives are worse?
  816. # [20:07] * Quits: jamesr (~jamesr@216.239.45.21) (Quit: jamesr)
  817. # [20:07] <gavinc> and mixing start datetime and duration to form a single interval
  818. # [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
  819. # [20:08] <annevk> Hixie: ah :(
  820. # [20:08] <annevk> tantek: having separate attributes would have made sense to me
  821. # [20:08] <tantek> annevk - I think we discussed this in person at TPAC
  822. # [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
  823. # [20:08] <tantek> a duration attribute
  824. # [20:09] <tantek> yeah that bothers me too
  825. # [20:09] <annevk> but if schema.org already did it...
  826. # [20:09] * tantek would be ok with a duration attribute. but also ok with overloading datetime attribute.
  827. # [20:09] <tantek> well, schema.org already went much further / worse
  828. # [20:09] <annevk> then again, I hear schema.org is doing RDFa now
  829. # [20:09] * tantek wants to avoid that rathole.
  830. # [20:09] <tantek> annevk, if you want to make a case for a duration attribute, I'm open to it.
  831. # [20:10] * Joins: tantek-ipod (~tantek@12.1.203.2)
  832. # [20:10] * Quits: tantek (~tantek@12.1.203.2) (Quit: tantek)
  833. # [20:10] * tantek-ipod is now known as tantek
  834. # [20:11] <Hixie> jsut make sure to define what happens when both are specified :-)
  835. # [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
  836. # [20:11] <tantek> Example of an interval?
  837. # [20:12] <gavinc> 2011-11-15/2011-11-17
  838. # [20:13] <Hixie> gavinc: that's just a start time plus a duration
  839. # [20:13] <Hixie> gavinc: (or, two times)
  840. # [20:13] <gavinc> Well, that wasn't. That was two times
  841. # [20:13] <gavinc> yeah
  842. # [20:13] <gavinc> But can also be a mix of duration and a time
  843. # [20:13] <tantek> That's an event
  844. # [20:13] <Hixie> i think composition is better handled in the vocabulary that uses <time>
  845. # [20:13] <Hixie> though i did look at ISO8601's ideas here
  846. # [20:14] <tantek> Use two elements
  847. # [20:14] <Hixie> turns out the syntax is unambiguous enough that we can add it later if there's a use case
  848. # [20:14] <tantek> Agreed on composition
  849. # [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
  850. # [20:17] * Joins: tantek-ipod (~tantek@12.1.203.2)
  851. # [20:17] * Quits: tantek (~tantek@12.1.203.2) (Read error: Connection reset by peer)
  852. # [20:17] * tantek-ipod is now known as tantek
  853. # [20:17] <tantek> Keep time atomic
  854. # [20:18] <Hixie> gavinc: in practice even vEvents in iCalendar use two times rather than an ISO8601 interval
  855. # [20:18] <gavinc> Yes, one of the reasons I mentioned I don't care all that much
  856. # [20:19] * Quits: miketaylr (~miketaylr@206.217.92.186) (*.net *.split)
  857. # [20:19] * Quits: jgraham (~jgraham@74.53.238.210) (*.net *.split)
  858. # [20:19] * Quits: slartsa (~slartsa@alpha.pumppumedia.com) (*.net *.split)
  859. # [20:19] * Quits: nielsle_ (~nielsle@3239059-cl69.boa.fiberby.dk) (*.net *.split)
  860. # [20:19] * Quits: hamaji (~hamaji@220.109.219.244) (*.net *.split)
  861. # [20:19] * Quits: gsnedders (~gsnedders@mail.gsnedders.com) (*.net *.split)
  862. # [20:19] * Quits: jmb (~jmb@mail.parsifal.org.uk) (*.net *.split)
  863. # [20:19] * Quits: volkmar (~volkmar@gentoo/developer/volkmar) (*.net *.split)
  864. # [20:19] * Joins: slartsa (~slartsa@alpha.pumppumedia.com)
  865. # [20:19] * Joins: jgraham (~jgraham@web22.webfaction.com)
  866. # [20:19] * Joins: gsnedders (~gsnedders@mail.gsnedders.com)
  867. # [20:19] * Joins: jmb (~jmb@mail.parsifal.org.uk)
  868. # [20:19] <gavinc> Haven't seen too many intervals in the wild and they can always be decomposed
  869. # [20:19] * Joins: miketaylr (~miketaylr@206.217.92.186)
  870. # [20:19] * Joins: hamaji (~hamaji@220.109.219.244)
  871. # [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.
  872. # [20:21] <Hixie> there's like 8
  873. # [20:21] <tantek> Hixie if we add a duration attribute I'd say it's ignored if there is a datetime attribute
  874. # [20:21] <gavinc> For duration?
  875. # [20:21] * Joins: jamesr (jamesr@nat/google/x-usvktifcmkmuhwhf)
  876. # [20:22] * Joins: nielsle_ (~nielsle@3239059-cl69.boa.fiberby.dk)
  877. # [20:24] * Joins: dave_levin (dave_levin@nat/google/x-gpmddaswedijqmtl)
  878. # [20:24] * Joins: ojan (ojan@nat/google/x-pscvuxtaadjqqdbb)
  879. # [20:25] <Hixie> gavinc: ok, three for duration, plus 4 for intervals, of which three include duration, so a total of 9 interval formats
  880. # [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.
  881. # [20:25] <Hixie> er, 10 interval formats
  882. # [20:25] <tantek> I'll think about it some more and write something up
  883. # [20:25] <Hixie> tantek: datetime="" on <time> already has nothing to do with datetime="" on <ins>
  884. # [20:25] <tantek> Ok
  885. # [20:25] <Hixie> tantek: even back with the old <time> element they had quite different rules
  886. # [20:26] <Hixie> and formats
  887. # [20:26] <tantek> Ok that's good to know
  888. # [20:26] <tantek> Was there any desire to harmonize them?
  889. # [20:26] <Hixie> not from me
  890. # [20:26] <Hixie> but then my desire was to kill <time> so what do i know :-P
  891. # [20:26] <gavinc> Hixie: but if we throw out intervals... then it's just 3 duration formats
  892. # [20:27] * Joins: davidwalsh (~davidwals@75-135-74-55.dhcp.mdsn.wi.charter.com)
  893. # [20:27] <Hixie> gavinc: well technically in ISO8601 the duration formats are just a component of time intervals. But yes, three duration formats.
  894. # [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?
  895. # [20:28] <gavinc> gavin: ... oh, yeah it's all in the interval section isn't it. ew
  896. # [20:28] <gavinc> s/gavin/Hixie/
  897. # [20:28] <Hixie> AryehGregor: .bind(), iirc
  898. # [20:29] <AryehGregor> How would that be used?
  899. # [20:31] * Parts: brucel (~brucel@cpc5-smal11-2-0-cust151.perr.cable.virginmedia.com)
  900. # [20:31] * tantek going offline for a bit.
  901. # [20:31] <Hixie> i believe you do func.bind(this) and it returns a function with the right |this|
  902. # [20:32] * Joins: tantek-ipod (~tantek@66-87-4-91.pools.spcsdns.net)
  903. # [20:35] * Quits: cygri (~cygri@wlan-nat.fwgal01.deri.ie) (Quit: cygri)
  904. # [20:35] * Quits: tantek (~tantek@12.1.203.2) (Ping timeout: 252 seconds)
  905. # [20:35] * tantek-ipod is now known as tantek
  906. # [20:36] <Hixie> though the spec for bind() looks complicated
  907. # [20:39] * Quits: necolas (~necolas@host-92-12-156-249.as43234.net) (Remote host closed the connection)
  908. # [20:40] * Joins: jarek (~jarek@bcs149.neoplus.adsl.tpnet.pl)
  909. # [20:40] * Quits: jarek (~jarek@bcs149.neoplus.adsl.tpnet.pl) (Changing host)
  910. # [20:40] * Joins: jarek (~jarek@unaffiliated/jarek)
  911. # [20:41] * Quits: tantek (~tantek@66-87-4-91.pools.spcsdns.net) (Quit: Colloquy for iPod touch - http://colloquy.mobi)
  912. # [20:41] * Quits: bga_ (~bga@ppp78-37-206-209.pppoe.avangarddsl.ru) (Read error: Connection reset by peer)
  913. # [20:45] * Joins: tndH (~Rob@cpc16-seac19-2-0-cust234.7-2.cable.virginmedia.com)
  914. # [20:48] * Joins: rillian_ (~rillian@184.71.182.138)
  915. # [20:51] <annevk> <ins datetime=2004> makes some sense
  916. # [20:52] <annevk> but I don't really care that strongly
  917. # [20:52] * Joins: bga_ (~bga@ppp78-37-232-109.pppoe.avangarddsl.ru)
  918. # [20:52] <annevk> whenever I get around to even using <ins>, I almost never use any of its attributes
  919. # [20:53] <divya> yeah it needs to be something that tools do
  920. # [20:53] <divya> not humans
  921. # [20:53] <Hixie> yeah <ins> is more there out of inertia than real usage
  922. # [20:53] * Quits: jarek (~jarek@unaffiliated/jarek) (Ping timeout: 240 seconds)
  923. # [20:54] <Hixie> it has just enough to make it pointless to remove
  924. # [20:54] <Hixie> like <samp> and others
  925. # [20:54] <Hixie> anyway. bbiab.
  926. # [20:55] * Joins: erlehmann (~erlehmann@82.113.99.40)
  927. # [21:01] * Quits: Lachy (~Lachy@cm-84.215.59.50.getinternet.no) (Quit: Computer has gone to sleep.)
  928. # [21:02] <AryehGregor> What defines that document.createElement("span") returns something whose prototype is HTMLSpanElement instead of HTMLElement or Element?
  929. # [21:02] * Quits: cpearce (~chatzilla@ip-118-90-36-154.xdsl.xnet.co.nz) (Ping timeout: 240 seconds)
  930. # [21:03] <Ms2ger> HTML
  931. # [21:03] <AryehGregor> Where?
  932. # [21:03] <Ms2ger> Let's see if I can find it
  933. # [21:03] * Joins: jarek (~jarek@bcx182.neoplus.adsl.tpnet.pl)
  934. # [21:03] * Quits: jarek (~jarek@bcx182.neoplus.adsl.tpnet.pl) (Changing host)
  935. # [21:03] * Joins: jarek (~jarek@unaffiliated/jarek)
  936. # [21:04] <Ms2ger> http://www.whatwg.org/specs/web-apps/current-work/multipage/elements.html#element-definitions
  937. # [21:04] <AryehGregor> That seems kind of vague.
  938. # [21:05] <Ms2ger> Patches welcome :)
  939. # [21:07] * Joins: Transformer (~Transform@ool-4a59e397.dyn.optonline.net)
  940. # [21:08] * Quits: Transformer (~Transform@ool-4a59e397.dyn.optonline.net) (Excess Flood)
  941. # [21:11] * Joins: tantek (~tantek@66-87-4-91.pools.spcsdns.net)
  942. # [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.
  943. # [21:16] * Joins: benjoffe_ (~benjoffe_@1.152.102.202)
  944. # [21:16] <divya> tantek: i dont remember dates or times so it would be neat if tools do it for me
  945. # [21:16] * Quits: jarek (~jarek@unaffiliated/jarek) (Ping timeout: 240 seconds)
  946. # [21:17] <divya> and with git versioning you could technically mark when every character was inserted/deleted
  947. # [21:17] <tantek> You can say that about lots of things. "would be neat if"
  948. # [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.
  949. # [21:18] <divya> yes i am not sure if html markup is the right place for versioning content.
  950. # [21:18] <divya> that is my concern.
  951. # [21:19] <divya> (talking specifically of ins datetime="")
  952. # [21:19] <divya> nothing more.
  953. # [21:19] <tantek> Ins and del serve a limited function in practice.
  954. # [21:19] <Ms2ger> Would be neat if authors didn't do stuput things :)
  955. # [21:19] * Ms2ger can't tpye
  956. # [21:19] <Ms2ger> (stuput? Really?)
  957. # [21:19] * divya thinks it would be neat if Ms2ger could type
  958. # [21:19] <tantek> Some bloggers / news sites use ins/del for updates etc.
  959. # [21:20] <Ms2ger> dvyai: mm...
  960. # [21:20] <divya> definitely
  961. # [21:20] <divya> hahah
  962. # [21:20] <divya> i do that myself.
  963. # [21:20] <tantek> We've already improved ins del in html5 by allowing only dates (it used to require full datetimes)
  964. # [21:20] <divya> oh good.
  965. # [21:21] <Ms2ger> Pff, html5
  966. # [21:21] <Ms2ger> That's so last decade
  967. # [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
  968. # [21:22] <tantek> So you could write as annevk did above
  969. # [21:22] * Joins: jarek (~jarek@unaffiliated/jarek)
  970. # [21:26] <annevk> Ms2ger: did Gecko finally remove CDATASection?
  971. # [21:27] * Quits: benjoffe_ (~benjoffe_@1.152.102.202) (Read error: Connection reset by peer)
  972. # [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.
  973. # [21:27] <annevk> Ms2ger: I think there might be some kind of bug on that subject already
  974. # [21:29] * jernoble is now known as jernoble|afk
  975. # [21:29] * Joins: necolas (~necolas@host-92-12-156-249.as43234.net)
  976. # [21:31] * abarth|zZz is now known as abarth
  977. # [21:33] * Quits: tantek (~tantek@66-87-4-91.pools.spcsdns.net) (Quit: Colloquy for iPod touch - http://colloquy.mobi)
  978. # [21:36] * Joins: tantek (~tantek@66-87-4-91.pools.spcsdns.net)
  979. # [21:36] <jgraham> AryehGregor: You can pass this to forEach as an additional argument
  980. # [21:36] <Ms2ger> Hmm, thought that other bug had been fixed already
  981. # [21:36] <Ms2ger> And Gecko hasn't removed it yet, I need to get around to that
  982. # [21:36] <AryehGregor> jgraham, oh, cool, thanks.
  983. # [21:41] * Joins: mkanat (mkanat@nat/google/x-jyfzhmfmrriywavq)
  984. # [21:44] * Quits: othermaciej (~mjs@c-24-6-209-189.hsd1.ca.comcast.net) (Quit: othermaciej)
  985. # [21:46] * Joins: volkmar (~volkmar@rps1542.ovh.net)
  986. # [21:46] * Quits: volkmar (~volkmar@rps1542.ovh.net) (Changing host)
  987. # [21:46] * Joins: volkmar (~volkmar@gentoo/developer/volkmar)
  988. # [21:48] * Joins: benjoffe_ (~benjoffe_@119-252-71-224.static.highway1.net.au)
  989. # [21:49] * Quits: erlehmann (~erlehmann@82.113.99.40) (Quit: Ex-Chat)
  990. # [21:50] * Joins: KillerX_ (~anant@nat/mozilla/x-rjndbavqlsxhnljp)
  991. # [21:52] * Quits: KillerX (~anant@nat/mozilla/x-rqdwyzyqdoupgwmn) (Ping timeout: 252 seconds)
  992. # [21:52] * KillerX_ is now known as KillerX
  993. # [21:55] * Quits: jarek (~jarek@unaffiliated/jarek) (Ping timeout: 252 seconds)
  994. # [21:57] * Quits: sicking (~chatzilla@c-98-210-155-80.hsd1.ca.comcast.net) (Ping timeout: 258 seconds)
  995. # [21:57] * Joins: cpearce (~chatzilla@60.234.54.74)
  996. # [21:58] * Joins: dbaron (~dbaron@60.234.54.74)
  997. # [21:59] * heycam|away is now known as heycam
  998. # [22:03] * Quits: Ms2ger (~Ms2ger@91.181.0.73) (Quit: nn)
  999. # [22:03] * Quits: jacobolus (~jacobolus@c-24-5-85-179.hsd1.ca.comcast.net) (Remote host closed the connection)
  1000. # [22:12] * Quits: Rik` (~Rik`@mozilla.vlan402.asr1.cdg3.gblx.net) (Remote host closed the connection)
  1001. # [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
  1002. # [22:21] * Joins: shepazu (~shepazu@67-40-204-63.tukw.qwest.net)
  1003. # [22:21] * Quits: rillian_ (~rillian@184.71.182.138) (Remote host closed the connection)
  1004. # [22:21] <Philip`> kennyluck: That's for the parser, which isn't involved in createElement
  1005. # [22:22] <kennyluck> Ah, indeed.
  1006. # [22:22] * Quits: ben_alman (~cowboy@75-150-66-254-NewEngland.hfc.comcastbusiness.net) (Ping timeout: 260 seconds)
  1007. # [22:24] * Quits: tantek (~tantek@66-87-4-91.pools.spcsdns.net) (Quit: Colloquy for iPod touch - http://colloquy.mobi)
  1008. # [22:25] * Joins: tantek (~tantek@nmd.sbx03307.seattwa.wayport.net)
  1009. # [22:28] * Joins: rniwa_ (rniwa@nat/google/x-lgvrrzezfkallbeq)
  1010. # [22:28] * Joins: WeirdAl (~chatzilla@g2spf.ask.info)
  1011. # [22:28] <WeirdAl> annevk: ping, spec question on XHR2
  1012. # [22:29] * jernoble|afk is now known as jernoble
  1013. # [22:29] <WeirdAl> https://bugzilla.mozilla.org/show_bug.cgi?id=525816#c32
  1014. # [22:34] <annevk> your interpretation is correct
  1015. # [22:34] <annevk> they are mutual exclusive events
  1016. # [22:34] <WeirdAl> phew :)
  1017. # [22:34] * Quits: davidb_ (~davidb@66.207.208.98) (Quit: davidb_)
  1018. # [22:34] <WeirdAl> thanks
  1019. # [22:36] <WeirdAl> Does the spec explicitly state that anywhere?
  1020. # [22:39] * Joins: Rik` (~Rik`@2a01:e34:ec0f:1570:c101:c702:74e8:c7fc)
  1021. # [22:39] * Joins: adtykfhyipoh (185b4691@gateway/web/freenode/ip.24.91.70.145)
  1022. # [22:39] * Joins: sicking (~chatzilla@nat/mozilla/x-gvjpbwgviftftles)
  1023. # [22:40] <adtykfhyipoh> sicking I need some help
  1024. # [22:40] <zewt> to descramble his nick
  1025. # [22:41] <adtykfhyipoh> hey can you help me
  1026. # [22:41] <smaug____> better to just ask the question
  1027. # [22:41] <adtykfhyipoh> Oh yeah and I just use this clump of letters as my username it's not cryptic
  1028. # [22:41] <smaug____> someone may help
  1029. # [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
  1030. # [22:41] <adtykfhyipoh> why is that
  1031. # [22:42] <zewt> (is sicking the designated random-php-question guy? heh)
  1032. # [22:42] <adtykfhyipoh> no but he just joined so I thought he would be online to see my question
  1033. # [22:43] <kennyluck> lol
  1034. # [22:44] <Philip`> I think asking random specific people for help is generally considered rude
  1035. # [22:45] <adtykfhyipoh> yeah I know but I am 9 years old so watcha gonna do. Anyways, can I have help?
  1036. # [22:45] * Quits: drublic (~drublic@frbg-4d0297cf.pool.mediaWays.net) (Ping timeout: 248 seconds)
  1037. # [22:46] <kennyluck> adtykfhyipoh, you should probably ask someone from #php
  1038. # [22:46] <adtykfhyipoh> k
  1039. # [22:46] * Quits: adtykfhyipoh (185b4691@gateway/web/freenode/ip.24.91.70.145) (Quit: Page closed)
  1040. # [22:46] * Joins: fishd (darin@nat/google/x-cqmehzfmjvwwzvtw)
  1041. # [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
  1042. # [22:46] * Joins: othermaciej (~mjs@17.245.89.94)
  1043. # [22:49] <annevk> WeirdAl: Progress Events might say that
  1044. # [22:50] <annevk> WeirdAl: file a bug / email if you think it should be stated somewhere (preferably including a suggestion as to where)
  1045. # [22:50] * Quits: tantek (~tantek@nmd.sbx03307.seattwa.wayport.net) (Quit: tantek)
  1046. # [22:50] <WeirdAl> I'll have to think about where.
  1047. # [22:50] * Joins: bfrohs (~brandon@smtp.forewordinternal.com)
  1048. # [22:51] <WeirdAl> ah ha!
  1049. # [22:51] <WeirdAl> "The error, abort, and load event types are mutually exclusive." - from the progress event spec
  1050. # [22:51] <WeirdAl> of course, it doesn't mention timeout ;)
  1051. # [22:51] <annevk> i guess it could go in the events summary section of XHR
  1052. # [22:51] <WeirdAl> we might just need to define "exclusive progress events" or something like that
  1053. # [22:52] <annevk> well the specs algorithm takes care of the details
  1054. # [22:52] <WeirdAl> in both specs, stating that when an exclusive progress event fires, no other can
  1055. # [22:53] <annevk> it's already stated, just needs an informative note about their mutual exclusiveness I think
  1056. # [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.
  1057. # [22:53] <gavinc> Hixie: Those zany Germans
  1058. # [22:53] <WeirdAl> ok - I'll take a look this weekend, annevk
  1059. # [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?
  1060. # [22:54] <annevk> WeirdAl: thanks
  1061. # [22:54] * Quits: Telling (~unknown@80-71-135-15.u.parknet.dk) (Quit: ...)
  1062. # [22:54] <gavinc> Hixie: Anecdotally I don't think I've seen any use of decimals other then in the seconds field
  1063. # [22:55] <Hixie> anecdotally i've not really seen any of these in wide use :-P
  1064. # [22:56] <Hixie> bfrohs: yes, they are allowed
  1065. # [22:56] <Hixie> iirc
  1066. # [22:56] <Hixie> bfrohs: for legacy reasons you may wish to escape them though as some browsers normalise them away
  1067. # [22:56] <Hixie> bfrohs: i forget if we fixed that or not
  1068. # [22:56] <Hixie> in the spec
  1069. # [22:56] <bfrohs> Hixie: Thank ya much
  1070. # [22:57] <zewt> annevk: progress events itself doesn't say anything normative about event sequences, right? (eg. which events must be mutually exclusive)
  1071. # [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
  1072. # [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 :-)
  1073. # [23:00] * Quits: WeirdAl (~chatzilla@g2spf.ask.info) (Quit: ChatZilla 0.9.87 [Firefox 8.0/20111104165243])
  1074. # [23:01] * Joins: zcorpan (~zcorpan@c-699de355.410-6-64736c14.cust.bredbandsbolaget.se)
  1075. # [23:04] * Joins: tantek (~tantek@66-87-4-91.pools.spcsdns.net)
  1076. # [23:05] * Quits: miketaylr (~miketaylr@206.217.92.186) (Quit: miketaylr)
  1077. # [23:06] * Quits: rniwa_ (rniwa@nat/google/x-lgvrrzezfkallbeq) (Quit: rniwa_)
  1078. # [23:07] <gavinc> Python time deltas work rather nicely. They don't have months either. http://docs.python.org/library/datetime.html#timedelta-objects
  1079. # [23:08] * Quits: MacTed (~Thud@63.119.36.36)
  1080. # [23:10] * Joins: rniwa_ (rniwa@nat/google/x-zjpddtyqubltsiah)
  1081. # [23:10] * Quits: rniwa_ (rniwa@nat/google/x-zjpddtyqubltsiah) (Client Quit)
  1082. # [23:10] * Quits: smaug____ (~chatzilla@193-64-22-160-nat.elisa-mobile.fi) (Ping timeout: 244 seconds)
  1083. # [23:11] * Joins: drublic (~drublic@frbg-4d029437.pool.mediaWays.net)
  1084. # [23:14] * Quits: tantek (~tantek@66-87-4-91.pools.spcsdns.net) (Quit: Colloquy for iPod touch - http://colloquy.mobi)
  1085. # [23:22] <bfrohs> Hixie: About escaping CR/LF, did you mean to use &#13; and &#10;, or to use another escaping mechanism that's recognized server-side?
  1086. # [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
  1087. # [23:23] <bfrohs> Gotcha, thanks again
  1088. # [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.
  1089. # [23:25] <Hixie> anyone know if tantek put up his opinions on that "survey" i had put out earlier?
  1090. # [23:25] * Quits: hasather_ (~hasather_@84.38.144.96) (Remote host closed the connection)
  1091. # [23:25] <TabAtkins> Unless it's hidden on the wiki, no.
  1092. # [23:25] <Hixie> i'm still torn on supporting "1ho" "1hour" and "1hours"
  1093. # [23:25] <TabAtkins> But not "1hou"?
  1094. # [23:25] <Hixie> i'm leaning towards not conforming, and probably not supported in the parser either
  1095. # [23:26] <Hixie> i mean the whole question of supporting any suffixes longer than the minimum required for disambiguating
  1096. # [23:26] <Hixie> the difficulting is really with "1mi" vs "1min"
  1097. # [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.
  1098. # [23:27] * Quits: Maurice` (copyman@5ED573FA.cm-7-6b.dynamic.ziggo.nl)
  1099. # [23:27] <Hixie> yeah, maybe that's the best way to go
  1100. # [23:28] * Quits: plutoniix (~plutoniix@ppp-124-120-69-35.revip2.asianet.co.th) (Ping timeout: 240 seconds)
  1101. # [23:28] <Hixie> should datetime="1h " be conforming? (trailing whitespace)
  1102. # [23:29] <TabAtkins> Yes.
  1103. # [23:29] <Hixie> note that datetime="PT1H " is not (the ISO8601 equivalent)
  1104. # [23:29] <TabAtkins> Trailing whitespace in unambiguous formats should always be ignored.
  1105. # [23:29] <Hixie> the question is about conformance, not parsing
  1106. # [23:29] <TabAtkins> Yeah, I don't see a reason to make it non-conforming.
  1107. # [23:30] <TabAtkins> Makes some authoring patterns easier if it's allowed.
  1108. # [23:30] <TabAtkins> Similar to allowing a trailing comma in object literals.
  1109. # [23:30] <Hixie> k
  1110. # [23:30] <Hixie> note that for integers (e.g.) min="1 " is not conforming
  1111. # [23:31] <Hixie> but then those formats don't have internal whitespace either
  1112. # [23:31] <Hixie> so that's not a big deal
  1113. # [23:31] <Hixie> ok, agreed that the extended form for durations can have leading and trailing whitespace
  1114. # [23:31] <TabAtkins> Yes, exactly. The authoring pattern I'm referring to isn't relevant there.
  1115. # [23:32] <TabAtkins> (Where you're mapping an array or object directly into a string and each component ahs a space put after it.)
  1116. # [23:32] * Joins: plutoniix (~plutoniix@ppp-124-120-69-35.revip2.asianet.co.th)
  1117. # [23:34] <Hixie> should 1.1h be allowed?
  1118. # [23:34] <Hixie> (fractional units that aren't seconds)
  1119. # [23:34] * Quits: jamesr (jamesr@nat/google/x-usvktifcmkmuhwhf) (Ping timeout: 244 seconds)
  1120. # [23:34] * Joins: jamesr (jamesr@nat/google/x-pdiiqbirbcligvgq)
  1121. # [23:34] <Hixie> if we support fractional seconds, it provides no additional difficulty as far as i can tell to support fractional everything else
  1122. # [23:34] <TabAtkins> I don't think there's much need, but I don't think it's problematic either.
  1123. # [23:35] * Quits: tomasf (~tom@c-b7dbe555.024-204-6c6b7012.cust.bredbandsbolaget.se) (Quit: tomasf)
  1124. # [23:35] <zcorpan> the <template> thing, can it parse into a document fragment?
  1125. # [23:35] <TabAtkins> zcorpan: As opposed to a document?
  1126. # [23:36] <zcorpan> yes
  1127. # [23:36] <Hixie> i guess i'll stick to integers for now
  1128. # [23:36] <zcorpan> there was an argument about document being too heavy weight
  1129. # [23:36] <TabAtkins> zcorpan: I don't think there's much difference for the use-cases either way.
  1130. # [23:36] <TabAtkins> If any.
  1131. # [23:37] <slightlyoff> document fragment doesn't imply new intercepters, new script context, etc.
  1132. # [23:37] <slightlyoff> which is nice
  1133. # [23:38] <zcorpan> feel free to suggest it on the list. i'm off to bed
  1134. # [23:39] * Quits: zcorpan (~zcorpan@c-699de355.410-6-64736c14.cust.bredbandsbolaget.se) (Quit: zcorpan)
  1135. # [23:39] <astearns> 1.5h seems much more likely than 1.1h
  1136. # [23:40] * Quits: svl (~me@ip565744a7.direct-adsl.nl) (Quit: And back he spurred like a madman, shrieking a curse to the sky.)
  1137. # [23:43] <TabAtkins> But 1.5h20m seems... weird.
  1138. # [23:46] * Quits: plutoniix (~plutoniix@ppp-124-120-69-35.revip2.asianet.co.th) (Quit: Leaving)
  1139. # [23:46] * Joins: rillian_ (~rillian@mist.thaumas.net)
  1140. # [23:48] * Quits: ojan (ojan@nat/google/x-pscvuxtaadjqqdbb) (Ping timeout: 240 seconds)
  1141. # [23:50] * Quits: rniwa (rniwa@nat/google/x-kkpkhiguyxxiuorn) (Ping timeout: 244 seconds)
  1142. # [23:50] * Joins: smaug____ (~chatzilla@GGYGKMMDLIV.gprs.sl-laajakaista.fi)
  1143. # [23:54] <AryehGregor> New and much spiffier idlharness.js, comments appreciated: view-source:http://w3c-test.org/webapps/DOMCore/tests/submissions/AryehGregor/interfaces.html
  1144. # [23:54] <AryehGregor> Er: http://w3c-test.org/webapps/DOMCore/tests/submissions/AryehGregor/interfaces.html
  1145. # [23:54] <AryehGregor> (although you'll want to view source also)
  1146. # [23:56] * Parts: bfrohs (~brandon@smtp.forewordinternal.com)
  1147. # [23:56] * Quits: dbaron (~dbaron@60.234.54.74) (Quit: time to reboot)
  1148. # Session Close: Fri Nov 18 00:00:00 2011

The end :)