/irc-logs / freenode / #whatwg / 2011-10-21 / end

Options:

  1. # Session Start: Fri Oct 21 00:00:00 2011
  2. # Session Ident: #whatwg
  3. # [00:00] <heycam> heh
  4. # [00:01] * Joins: hasather_ (~hasather_@84.38.144.96)
  5. # [00:01] <heycam> pretty sure we do accessors for attributes tho
  6. # [00:01] * Joins: benschwarz (u2121@gateway/web/irccloud.com/x-ftmgmstwmxlddjvp)
  7. # [00:02] <zcorpan> Hixie: clearer now?
  8. # [00:02] <zcorpan> webkit and opera don't match the spec
  9. # [00:02] <zcorpan> no idea about ie
  10. # [00:03] <heycam> zcorpan, oh I've been meaning to test, what about the new Opera.next release?
  11. # [00:03] <heycam> zcorpan, since they do ES5 now
  12. # [00:03] <zcorpan> same
  13. # [00:03] <heycam> s/they/you/ :)
  14. # [00:03] <heycam> ok
  15. # [00:04] <zcorpan> i don't object to changing the spec to match opera/webkit/ie (?), the only thing is that it makes it a bit harder for authors to do feature detection
  16. # [00:04] <heycam> zcorpan, how so?
  17. # [00:04] <heycam> beacuse you have to create an instance first?
  18. # [00:04] <zcorpan> yes
  19. # [00:04] <heycam> k
  20. # [00:05] <zcorpan> consider WebSocket
  21. # [00:05] <zcorpan> checking the prototype is a one-liner
  22. # [00:05] <zcorpan> var support = 'binaryType' in WebSocket.prototype;
  23. # [00:05] <zcorpan> creating an instance without side effects is harder
  24. # [00:06] <zcorpan> and not a one-liner :)
  25. # [00:06] * Quits: karega|aniasis (~karega@64.124.202.222) (Ping timeout: 260 seconds)
  26. # [00:06] <bga_> not so
  27. # [00:06] <bga_> just small wrapper
  28. # [00:07] <Hixie> zcorpan: yeah, much better. thanks.
  29. # [00:07] <bga_> which do real init if you perform real actions
  30. # [00:07] * Quits: rillian_ (~rillian@mist.thaumas.net) (Remote host closed the connection)
  31. # [00:07] * Joins: Telling (~unknown@80-71-135-15.u.parknet.dk)
  32. # [00:07] <Hixie> zcorpan: looks like the spec is pretty vague about the onerror arguments right now anyway, so i guess i'll use those bugs as an opportunity to clean it up
  33. # [00:08] <zcorpan> var support = (function() {
  34. # [00:08] <zcorpan> var s = new WebSocket('ws://example.invalid/');
  35. # [00:08] <zcorpan> return 'binaryType' in s;
  36. # [00:08] <zcorpan> })();
  37. # [00:08] <zcorpan> ok, not that hard
  38. # [00:08] <heycam> or 'binaryType' in new WebSocket...
  39. # [00:08] <heycam> but yes your point is generally true
  40. # [00:08] <franksalim> zcorpan: does that cause a DNS lookup for invalid?
  41. # [00:08] <bga_> except user will see error in console
  42. # [00:08] <zcorpan> franksalim: yes
  43. # [00:08] <Hixie> you really don't want to be creating a WebSocket just to do feature detection
  44. # [00:08] <franksalim> so it isn't completely side effect free...
  45. # [00:09] <zcorpan> right
  46. # [00:09] * heycam gtg
  47. # [00:09] * heycam is now known as heycam|away
  48. # [00:13] * Quits: ezoe (~ezoe@203-140-89-38f1.kyt1.eonet.ne.jp) (Ping timeout: 260 seconds)
  49. # [00:14] <zcorpan> Hixie: we decided to copy firefox for onerror. webkit always uses empty string as location for setTimeout scripts, otherwise i think they behaved pretty much the same
  50. # [00:15] * Quits: TabAtkins_ (~tabatkins@202.61.222.68.static.rev.eftel.com) (Ping timeout: 276 seconds)
  51. # [00:17] <Hixie> makes sense
  52. # [00:18] <zcorpan> what part makes sense? copying firefox or using empty string for setTimeout? :)
  53. # [00:20] * Parts: bfrohs (~brandon@smtp.forewordinternal.com)
  54. # [00:21] * eric_carlson is now known as ericc|away
  55. # [00:21] * Quits: _pdr_ (anonymous@nat/google/x-kdfxnxojvqomwszy) (Quit: _pdr_)
  56. # [00:23] * Quits: jennb (jennb@nat/google/x-xoosfbebesgauzil) (Quit: jennb)
  57. # [00:30] <Hixie> zcorpan: copying firefox
  58. # [00:35] * Quits: gabe_ (~chatzilla@81-174-24-141.dynamic.ngi.it) (Quit: ChatZilla 0.9.87 [Firefox 7.0.1/20110928224103])
  59. # [00:35] * Joins: davidb_ (~davidb@bas1-toronto06-2925210074.dsl.bell.ca)
  60. # [00:39] * Joins: KillerX_ (~anant@206-15-76-122.static.twtelecom.net)
  61. # [00:39] * Joins: sicking (~chatzilla@206-15-76-122.static.twtelecom.net)
  62. # [00:40] * Quits: Dashiva (Dashiva@wikia/Dashiva) (Remote host closed the connection)
  63. # [00:40] * Joins: Dashiva (Dashiva@84-72-45-52.dclient.hispeed.ch)
  64. # [00:40] * Quits: Dashiva (Dashiva@84-72-45-52.dclient.hispeed.ch) (Changing host)
  65. # [00:40] * Joins: Dashiva (Dashiva@wikia/Dashiva)
  66. # [00:41] * Quits: KillerX (~anant@206-15-76-122.static.twtelecom.net) (Read error: Operation timed out)
  67. # [00:41] * KillerX_ is now known as KillerX
  68. # [00:41] <zcorpan> ok
  69. # [00:44] * Joins: TabAtkins_ (~tabatkins@74.125.56.17)
  70. # [00:45] * Quits: ap (~ap@2620:149:4:1b01:94f2:39f9:bfaa:9a78) (Quit: ap)
  71. # [00:53] <Hixie> heycam|away: advice on the first bullet point of http://www.w3.org/Bugs/Public/show_bug.cgi?id=14037#c29 would be helpful
  72. # [00:56] <smaug____> jgraham: IIRC IE implements most of webidl. at least things like interface.prototype.property handling
  73. # [00:56] <Hixie> annevk5: ping
  74. # [00:57] * Quits: Amorphous (jan@unaffiliated/amorphous) (Read error: Operation timed out)
  75. # [01:00] * Quits: davidb_ (~davidb@bas1-toronto06-2925210074.dsl.bell.ca) (Quit: davidb_)
  76. # [01:03] <karlcow> http://www.amazon.com/gp/feature.html/ref=amb_link_357613442_1?ie=UTF8&docId=1000729901&pf_rd_m=ATVPDKIKX0DER&pf_rd_s=center-5&pf_rd_r=0QAERWX4FF6S17ZXDZRR&pf_rd_t=1401&pf_rd_p=1321300302&pf_rd_i=1000729511
  77. # [01:06] * paul_irish_ is now known as paul_irish
  78. # [01:06] * jernoble is now known as jernoble|afk
  79. # [01:07] <karlcow> "<?xml?> This tag identifies a document as an XML document" ?
  80. # [01:13] * Joins: davidb_ (~davidb@bas1-toronto06-2925210074.dsl.bell.ca)
  81. # [01:14] * Joins: Amorphous (jan@unaffiliated/amorphous)
  82. # [01:16] * Joins: Rik`_ (~Rik`@lag75-1-78-192-241-87.fbxo.proxad.net)
  83. # [01:18] * Joins: Rik`__ (~Rik`@lag75-1-78-192-241-87.fbxo.proxad.net)
  84. # [01:18] * Quits: Rik`_ (~Rik`@lag75-1-78-192-241-87.fbxo.proxad.net) (Read error: Connection reset by peer)
  85. # [01:19] * Quits: Rik` (~Rik`@2a01:e34:ec0f:1570:41e6:cf0c:d8cf:bd2c) (Ping timeout: 244 seconds)
  86. # [01:20] * Joins: Rik` (~Rik`@lag75-1-78-192-241-87.fbxo.proxad.net)
  87. # [01:20] * Quits: Rik`__ (~Rik`@lag75-1-78-192-241-87.fbxo.proxad.net) (Read error: Connection reset by peer)
  88. # [01:22] * Joins: Rik`_ (~Rik`@lag75-1-78-192-241-87.fbxo.proxad.net)
  89. # [01:22] * Quits: Rik` (~Rik`@lag75-1-78-192-241-87.fbxo.proxad.net) (Read error: Connection reset by peer)
  90. # [01:23] <zcorpan> Hixie: +partial interface <a href=#document>Document</a> {
  91. # [01:23] <zcorpan> + readonly attribute <code><a href=#document>Document</a></code> <a href=#htmldocument title=HTMLDocument>HTMLDocument</a>;
  92. # [01:23] <zcorpan> Hixie: that doesn't make sense
  93. # [01:23] <Hixie> nonetheless it is what i intended, I believe
  94. # [01:23] <Hixie> see the bug in question for more details
  95. # [01:23] <zcorpan> Hixie: don't you want that on Window ?
  96. # [01:23] <Hixie> oh, right
  97. # [01:24] <Hixie> oops
  98. # [01:24] <Hixie> good point
  99. # [01:24] <zcorpan> now sleep
  100. # [01:24] <Hixie> also i made it return the document instead of the interface!
  101. # [01:24] <Hixie> man i suck
  102. # [01:25] <zcorpan> heh
  103. # [01:25] * Quits: zcorpan (~zcorpan@c-699de355.410-6-64736c14.cust.bredbandsbolaget.se) (Quit: zcorpan)
  104. # [01:26] * paul_irish is now known as paul_irish_
  105. # [01:36] * Joins: nessy1 (~Adium@124-168-24-196.dyn.iinet.net.au)
  106. # [01:37] * Quits: davidb_ (~davidb@bas1-toronto06-2925210074.dsl.bell.ca) (Quit: davidb_)
  107. # [01:38] * Quits: nessy (~Adium@124-168-52-143.dyn.iinet.net.au) (Ping timeout: 248 seconds)
  108. # [01:45] <Hixie> abarth: http://www.w3.org/Bugs/Public/show_bug.cgi?id=13776 makes my head hurt
  109. # [01:45] <Hixie> er
  110. # [01:45] <Hixie> s/abarth: //
  111. # [01:51] <Hixie> OH MY GOD BROWSERS MAKE NO SENSE
  112. # [01:51] <Hixie> <form> <img name=y><img name=y> </form> form.y == HTMLCollection with length 2, containing two images
  113. # [01:52] <Hixie> <form> <img name=y><img name=y><input name=y> </form> form.y == the <input> element.
  114. # [01:52] <Hixie> WHAT IS THIS I DON'T EVEN
  115. # [01:52] * Quits: KillerX (~anant@206-15-76-122.static.twtelecom.net) (Remote host closed the connection)
  116. # [01:53] * Joins: KillerX (~anant@206-15-76-122.static.twtelecom.net)
  117. # [01:57] * Joins: Rik` (~Rik`@lag75-1-78-192-241-87.fbxo.proxad.net)
  118. # [01:57] * Quits: Rik`_ (~Rik`@lag75-1-78-192-241-87.fbxo.proxad.net) (Read error: Connection reset by peer)
  119. # [02:01] * Quits: KillerX (~anant@206-15-76-122.static.twtelecom.net) (Ping timeout: 240 seconds)
  120. # [02:03] <sicking> Hixie: do they all do the same thing?
  121. # [02:04] <sicking> Hixie: with a lot of edge cases around this I wouldn't expect them to
  122. # [02:05] * Joins: KillerX (~anant@206-15-76-122.static.twtelecom.net)
  123. # [02:08] * Quits: Rik` (~Rik`@lag75-1-78-192-241-87.fbxo.proxad.net) (Read error: Connection reset by peer)
  124. # [02:08] * Joins: Rik`_ (~Rik`@lag75-1-78-192-241-87.fbxo.proxad.net)
  125. # [02:09] <Hixie> sicking: yeah, more or less
  126. # [02:10] <sicking> that's awesome
  127. # [02:10] * Quits: hasather_ (~hasather_@84.38.144.96) (Remote host closed the connection)
  128. # [02:17] * Joins: jarek (~jarek@bdc200.neoplus.adsl.tpnet.pl)
  129. # [02:17] * Quits: jarek (~jarek@bdc200.neoplus.adsl.tpnet.pl) (Changing host)
  130. # [02:17] * Joins: jarek (~jarek@unaffiliated/jarek)
  131. # [02:18] <jarek> Hi
  132. # [02:18] <jarek> the {url} is defined in CSS as follows:
  133. # [02:18] <jarek> ([!#$%&*-~]|{nonascii}|{escape})*
  134. # [02:19] * Quits: cpearce (~chatzilla@60.234.54.74) (Ping timeout: 255 seconds)
  135. # [02:19] <jarek> what does exactly [!#$%&*-~] sequence mean? One char from !,#,$,%,&,*,-,~ ?
  136. # [02:19] <jarek> is so, it doesn't make sense to me
  137. # [02:22] * Quits: Telling (~unknown@80-71-135-15.u.parknet.dk) (Quit: ...)
  138. # [02:22] * Joins: jarek__ (~jarek@aeam61.neoplus.adsl.tpnet.pl)
  139. # [02:22] * jarek is now known as Guest15704
  140. # [02:25] * Quits: Guest15704 (~jarek@unaffiliated/jarek) (Ping timeout: 276 seconds)
  141. # [02:25] * Quits: KillerX (~anant@206-15-76-122.static.twtelecom.net) (Quit: KillerX)
  142. # [02:32] * Quits: nlogax (~nlogax@unaffiliated/nlogax) (Ping timeout: 258 seconds)
  143. # [02:34] <Hixie> sicking: for extra amusement, <form> <img name=y><img name=y><input name=y type=image> </form> form.y == HTMLCollection with length 2, containing the two <img>s
  144. # [02:34] <Hixie> jarek__: it means one char from ,#,$,%,& or any char from * to ~
  145. # [02:34] <sicking> Hixie: yeah, the old type=image bug that we inherited from ancient netscape days is hilarious
  146. # [02:34] <Hixie> yeah
  147. # [02:35] <sicking> i suspect it annoys websites as much as it annoys us
  148. # [02:35] * Joins: nlogax (~nlogax@unaffiliated/nlogax)
  149. # [02:35] <Hixie> also, <form><input name=x></form> form.x == the input; now change form.x.name to 'y' and form.x STILL returns the input
  150. # [02:35] <sicking> but there's just too much old content depending on it to change it
  151. # [02:35] <Hixie> yeah
  152. # [02:35] <sicking> Hixie: the latter might have just changed in Firefox
  153. # [02:35] <sicking> Hixie: try nigtlies
  154. # [02:36] <sicking> Hixie: <3 proxies
  155. # [02:36] <sicking> Hixie: i suspect the web doesn't depend on that
  156. # [02:36] <Hixie> seems to me it still does it
  157. # [02:36] <sicking> Hixie: in general, behavior around mutations is much less depended on since old content didn't do it
  158. # [02:37] <Hixie> so do all the other browsers
  159. # [02:37] <Hixie> my understanding is that this one is required by compat
  160. # [02:37] <sicking> Hixie: ooh, form.x, not form.elements.x
  161. # [02:37] <Hixie> the html spec has required it for some time and that's not the kind of craziness i put in without good reason ;-)
  162. # [02:37] <Hixie> yeah, none of this is .elements.
  163. # [02:37] <Hixie> .elements is somewhat better behaved
  164. # [02:37] <Hixie> at least in non-webkit
  165. # [02:37] <jarek__> Hixie: thanks
  166. # [02:39] * Quits: Peter- (~peter@nishino.lvp-media.com) (Ping timeout: 248 seconds)
  167. # [02:41] * Joins: Peter` (~peter@nishino.lvp-media.com)
  168. # [02:46] * Quits: smaug____ (~chatzilla@GGKMCLX.gprs.sl-laajakaista.fi) (Ping timeout: 252 seconds)
  169. # [02:50] * Quits: necolas (~necolas@5e0c0fc8.bb.sky.com) (Remote host closed the connection)
  170. # [02:51] * Joins: davidb (~davidb@bas1-toronto06-2925210074.dsl.bell.ca)
  171. # [02:55] * Joins: yuuki (~kobayashi@58x158x182x50.ap58.ftth.ucom.ne.jp)
  172. # [03:00] * Joins: _pdr_ (anonymous@nat/google/x-pbjgkojferkgemvy)
  173. # [03:00] * Quits: sicking (~chatzilla@206-15-76-122.static.twtelecom.net) (Ping timeout: 252 seconds)
  174. # [03:09] * Joins: KevinMarks (~KevinMark@204.14.239.221)
  175. # [03:09] * Quits: rniwa (rniwa@nat/google/x-ivpwdtkwkdazdizv) (Quit: rniwa)
  176. # [03:18] * Joins: benjoffe_ (~benjoffe_@CPE-121-218-141-115.lnse3.cht.bigpond.net.au)
  177. # [03:21] * Quits: MikeSmith (~MikeSmith@EM1-112-120-38.pool.e-mobile.ne.jp) (Ping timeout: 248 seconds)
  178. # [03:24] * Joins: agektmr (~Adium@220.109.219.244)
  179. # [03:25] * Quits: tndH (~Rob@cpc16-seac19-2-0-cust234.7-2.cable.virginmedia.com) (Quit: ChatZilla 0.9.87-rdmsoft [XULRunner 1.9.0.1/2008072406])
  180. # [03:26] * Joins: MikeSmith (~MikeSmith@EM114-48-10-228.pool.e-mobile.ne.jp)
  181. # [03:34] * Joins: cpearce (~chatzilla@ip-118-90-78-13.xdsl.xnet.co.nz)
  182. # [03:40] * Quits: jarek__ (~jarek@aeam61.neoplus.adsl.tpnet.pl) (Quit: Leaving)
  183. # [03:46] * Joins: jacobolus (~jacobolus@70-36-215-74.dsl.dynamic.sonic.net)
  184. # [03:53] * Quits: astearns (~anonymous@c-50-132-63-33.hsd1.wa.comcast.net) (Quit: astearns)
  185. # [03:53] * Quits: nessy1 (~Adium@124-168-24-196.dyn.iinet.net.au) (Quit: Leaving.)
  186. # [03:57] * Joins: annevk (~annevk@EM114-48-10-228.pool.e-mobile.ne.jp)
  187. # [03:57] <annevk> Hixie, pong
  188. # [04:00] * Quits: robman (~robman@eth4584.nsw.adsl.internode.on.net) (Ping timeout: 252 seconds)
  189. # [04:02] <annevk> heycam|away, I meant exceptions "thrown by" Web IDL
  190. # [04:09] * Joins: astearns (~anonymous@c-50-132-63-33.hsd1.wa.comcast.net)
  191. # [04:17] * Joins: shepazu (~shepazu@209-6-123-224.c3-0.arl-ubr1.sbo-arl.ma.cable.rcn.com)
  192. # [04:18] * Quits: TabAtkins_ (~tabatkins@74.125.56.17) (Ping timeout: 255 seconds)
  193. # [04:24] * Quits: dave_levin (dave_levin@nat/google/x-yfhfopffkoylzwaz) (Quit: dave_levin)
  194. # [04:28] <Hixie> annevk: XMLDocument thing, see bugmail
  195. # [04:30] <MikeSmith> hmm, http://validator.nu/?doc=https%3A%2F%2Fdvcs.w3.org%2Fhg%2Fwebperf%2Fraw-file%2Ftip%2Fspecs%2FPageVisibility%2FOverview.html&showsource=yes
  196. # [04:31] <annevk> I see, we've been trying to avoid such a dependency
  197. # [04:31] <MikeSmith> «The encoding "utf-8" is not the preferred name of the character encoding in use. The preferred name is utf-8.»
  198. # [04:34] * Quits: _pdr_ (anonymous@nat/google/x-pbjgkojferkgemvy) (Ping timeout: 256 seconds)
  199. # [04:34] <annevk> Maybe HTML should simply define createDocument() as well then
  200. # [04:34] <annevk> if it's for creating XMLDocument
  201. # [04:35] * annevk sighs
  202. # [04:35] <MikeSmith> Content-Type: text/html; charset="UTF-8"
  203. # [04:36] <Hixie> annevk: you should be fine
  204. # [04:36] <Hixie> annevk: no dependency
  205. # [04:36] <Hixie> annevk: just put interface XMLDocument : Document { } after you define Document
  206. # [04:36] * Joins: TabAtkins_ (~tabatkins@74.125.56.17)
  207. # [04:36] <Hixie> annevk: and made createDocument() return an XMLDocument
  208. # [04:37] <Hixie> annevk: that's all
  209. # [04:37] <annevk> aah
  210. # [04:37] <annevk> you made it partial
  211. # [04:37] <annevk> sweet
  212. # [04:37] <Hixie> yup
  213. # [04:37] <annevk> thanks Hixie
  214. # [04:37] <Hixie> np
  215. # [04:37] * Quits: dbaron (~dbaron@66.207.208.98) (Quit: 8403864 bytes have been tenured, next gc will be global.)
  216. # [04:40] * Quits: othermaciej (~mjs@17.245.91.209) (Quit: othermaciej)
  217. # [04:40] * Quits: davidb (~davidb@bas1-toronto06-2925210074.dsl.bell.ca) (Quit: davidb)
  218. # [04:55] * Joins: Dashimon (Dashiva@wikia/Dashiva)
  219. # [04:56] * Quits: Dashiva (Dashiva@wikia/Dashiva) (Ping timeout: 252 seconds)
  220. # [04:56] * Dashimon is now known as Dashiva
  221. # [04:59] * Quits: KevinMarks (~KevinMark@204.14.239.221) (Quit: The computer fell asleep)
  222. # [05:00] * Joins: dbaron (~dbaron@173.243.46.194)
  223. # [05:01] <annevk> Hixie, http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-domimplementation-createdocument
  224. # [05:03] * Joins: Evanescence (~Evanescen@122.237.27.154)
  225. # [05:06] <ojan> annevk: i have yet to respond to the e4x thread, but just fyi, i disagree with alex that quasi's are the right solution to this
  226. # [05:07] <ojan> annevk: we should either move forward with an html-ified e4x variant or with your earlier array based proposal
  227. # [05:07] * Quits: Dashiva (Dashiva@wikia/Dashiva) (Remote host closed the connection)
  228. # [05:07] <ojan> i'll try and compose a proper email response tomorrow
  229. # [05:07] * Joins: Dashiva (~noone@84-72-45-52.dclient.hispeed.ch)
  230. # [05:07] * Quits: Dashiva (~noone@84-72-45-52.dclient.hispeed.ch) (Changing host)
  231. # [05:07] * Joins: Dashiva (~noone@wikia/Dashiva)
  232. # [05:07] <ojan> too many threads going on at once to get any coding done :(
  233. # [05:08] * Quits: ojan (ojan@nat/google/x-olzppowgrwvwmtqq) (Quit: ojan)
  234. # [05:09] <annevk> yay another supporter :)
  235. # [05:10] <annevk> though qfox might have a point that convincing TC39 is beyond the realm of possibility
  236. # [05:12] * Quits: TabAtkins_ (~tabatkins@74.125.56.17) (Ping timeout: 252 seconds)
  237. # [05:16] * Joins: nonge_ (~nonge@p5082918D.dip.t-dialin.net)
  238. # [05:20] * Quits: nonge__ (~nonge@p50829017.dip.t-dialin.net) (Ping timeout: 255 seconds)
  239. # [05:38] * Quits: boblet (u1921@gateway/web/irccloud.com/x-adxibfwsdjuberal)
  240. # [05:38] * Joins: boblet (u1921@gateway/web/irccloud.com/x-lgubuxknftcyzvgx)
  241. # [05:41] * Joins: tomasf (~tom@c-5ed9e555.024-204-6c6b7012.cust.bredbandsbolaget.se)
  242. # [05:44] <annevk> http://stackoverflow.com/questions/6905167/javascript-parser-for-rdf-json-from-webvtt seems like this WebVTT thing is taking off
  243. # [05:49] * Quits: bga_ (~bga@95-55-48-164.dynamic.avangarddsl.ru) (Quit: bga_)
  244. # [05:51] * Quits: dydx (~dydz@adsl-75-36-190-15.dsl.pltn13.sbcglobal.net) (Quit: dydx)
  245. # [05:52] * Joins: dydx (~dydz@adsl-75-36-190-15.dsl.pltn13.sbcglobal.net)
  246. # [05:54] * Quits: tomasf (~tom@c-5ed9e555.024-204-6c6b7012.cust.bredbandsbolaget.se) (Quit: tomasf)
  247. # [05:59] * Quits: dbaron (~dbaron@173.243.46.194) (Quit: 8403864 bytes have been tenured, next gc will be global.)
  248. # [06:00] * Joins: othermaciej (~mjs@c-24-6-209-189.hsd1.ca.comcast.net)
  249. # [06:00] * Quits: shepazu (~shepazu@209-6-123-224.c3-0.arl-ubr1.sbo-arl.ma.cable.rcn.com) (Read error: Connection reset by peer)
  250. # [06:01] * Joins: shepazu (~shepazu@209-6-123-224.c3-0.arl-ubr1.sbo-arl.ma.cable.rcn.com)
  251. # [06:23] * Joins: cgcardona (~cgcardona@unaffiliated/cgcardona)
  252. # [06:23] * Quits: dydx (~dydz@adsl-75-36-190-15.dsl.pltn13.sbcglobal.net) (Quit: dydx)
  253. # [06:26] * Quits: Dashiva (~noone@wikia/Dashiva) (Remote host closed the connection)
  254. # [06:27] * Joins: Dashiva (Dashiva@84-72-45-52.dclient.hispeed.ch)
  255. # [06:27] * Quits: Dashiva (Dashiva@84-72-45-52.dclient.hispeed.ch) (Changing host)
  256. # [06:27] * Joins: Dashiva (Dashiva@wikia/Dashiva)
  257. # [06:28] * Quits: MikeSmith (~MikeSmith@EM114-48-10-228.pool.e-mobile.ne.jp) (Quit: MikeSmith)
  258. # [06:29] * Quits: Stikki (~lordstich@dsl-pribrasgw1-ff17c300-80.dhcp.inet.fi) (Ping timeout: 258 seconds)
  259. # [06:31] * Joins: rniwa (~rniwa@70-89-66-218-ca.sfba.hfc.comcastbusiness.net)
  260. # [06:31] <rniwa> annevk: yt?
  261. # [06:32] <annevk> yeah, just about to go though
  262. # [06:32] <annevk> back in an hour or so
  263. # [06:32] <rniwa> k
  264. # [06:33] * Quits: annevk (~annevk@EM114-48-10-228.pool.e-mobile.ne.jp) (Quit: annevk)
  265. # [06:33] <rniwa> Hixie: yt?
  266. # [06:48] * Quits: jwalden (~waldo@2620:101:8003:200:224:d7ff:fef0:8d90) (Quit: ChatZilla 0.9.87-2.1450hg.fc15 [XULRunner 7.0.1/20110930134335])
  267. # [06:48] * Joins: annevk (~annevk@EM114-48-10-228.pool.e-mobile.ne.jp)
  268. # [06:49] <annevk> rniwa, back
  269. # [06:49] * annevk is bad with estimates
  270. # [06:50] <rniwa> hi
  271. # [06:51] <rniwa> annevk: did you see my email about restoring selection?
  272. # [06:51] <annevk> hadn't read it yet
  273. # [06:51] <rniwa> ok
  274. # [06:52] * Joins: bga_ (~bga@95-55-48-164.dynamic.avangarddsl.ru)
  275. # [06:52] <rniwa> so the thing is that there's a slight difference in the way selection is restored on Mac and IE/Firefox
  276. # [06:52] <rniwa> when undoing deletion
  277. # [06:53] <rniwa> annevk: say you have "hello world" and deleted "world" from the end by repeatedly pressing the backspace key
  278. # [06:53] <rniwa> until you get "hello"
  279. # [06:53] <rniwa> then you undo this on IE/Firefox, you'll get "hello world" with the caret collapsed at the end of "world"
  280. # [06:54] <rniwa> however on Mac's NSTextView, notepad, and WebKit, you'll see "world" being selected.
  281. # [06:54] <annevk> also in Opera
  282. # [06:54] <rniwa> annevk: oh you select the deleted contents?
  283. # [06:55] <annevk> i just tried and it seems like it
  284. # [06:55] <rniwa> I see.
  285. # [06:55] <annevk> not sure if we should standardize one way or the other though
  286. # [06:55] <rniwa> hm... but I think we might want to match the platform convetion
  287. # [06:55] * Joins: MikeSmith (~MikeSmith@EM114-48-10-228.pool.e-mobile.ne.jp)
  288. # [06:55] <rniwa> at least for WebKit, we always try to match NSTextView's behavior whenever possible
  289. # [06:56] <rniwa> given that the feature already works as expected, I'm not sure people would like us to change the behavior.
  290. # [06:56] <rniwa> on the other hand, this gives us a lot of headache with respect to automatic transactions
  291. # [06:56] <rniwa> because when an author creates a DOM transaction group with a bunch of automatic transactions
  292. # [06:57] <rniwa> there's no way for us to delete whether a given DOM transaction is deleting stuff, inserting stuff, or replacing stuff
  293. # [06:57] <rniwa> since just deleting contents may involve inserting new brs, replacing p's and div's to fix up paragraphs :(
  294. # [06:57] <othermaciej> for user actions, it is almost certainly the right thing to follow platform convention
  295. # [06:57] <othermaciej> for programmatically initiated commands, it is a tradeoff
  296. # [06:57] <rniwa> othermaciej: hi maciej!
  297. # [06:58] <rniwa> othermaciej: I think the point of automatic transaction is to replace browser's native editing support
  298. # [06:58] <othermaciej> on the one hand, for a programmatically initiated command, the following JS code may make assumptions about the specific change that was made
  299. # [06:58] <rniwa> othermaciej: or add a custom editing action
  300. # [06:58] <annevk> hey othermaciej, long time!
  301. # [06:58] <othermaciej> on the other hand, ideally you want such code to follow platform conventions
  302. # [06:58] <othermaciej> hello annevk
  303. # [06:58] <othermaciej> I'm here every day, I just usually don't have much to say
  304. # [06:59] <rniwa> othermaciej: yeah, it's quite a dillema :(
  305. # [06:59] <annevk> rniwa, I don't think I really know about this to give useful input, other than that for user initiated actions, we usually don't require much in the spec
  306. # [06:59] <rniwa> annevk: yeah... I should probably talk to AryehGregor about this as well
  307. # [06:59] <othermaciej> if you programatically trigger an undo, it really should do the same thing as a user-level undo command would
  308. # [06:59] <rniwa> but then his spec doesn't really deal with undo/redo at the moment
  309. # [07:00] <rniwa> othermaciej: right. otherwise, it'll be way too confusing
  310. # [07:00] <rniwa> othermaciej: but it seems like the only way to restore selection properly
  311. # [07:01] <rniwa> othermaciej: is if author provided us of some information such as whether a DOM transaction deletes contents or not
  312. # [07:01] <rniwa> othermaciej: or use some heuristics to determine if a given DOM transaction looks like deleting contents
  313. # [07:01] <rniwa> I'd like to avoid the latter because that'll make things unpredictable
  314. # [07:02] <othermaciej> rniwa: are there special cases other than a series of backspace actions?
  315. # [07:02] <rniwa> since selection behavior is quite visible to scripts
  316. # [07:02] <rniwa> othermaciej: well you can insert text then delete
  317. # [07:02] <othermaciej> rniwa: cause if so, the only special case is deleting immediately behind the caret
  318. # [07:02] <rniwa> othermaciej: or you can delete then insert
  319. # [07:02] <othermaciej> does insert then delete collapse into a single undo transaction in normal editing?
  320. # [07:02] <rniwa> othermaciej: yeah but that's almost impossible to detect if the author was to implement it themselves
  321. # [07:02] <rniwa> othermaciej: yes
  322. # [07:03] <rniwa> othermaciej: at least on WebKit & Gecko
  323. # [07:03] <othermaciej> how about paste followed by backspace?
  324. # [07:03] <rniwa> othermaciej: also on MS Word, WordPad and NSTextView but NOT on notepad
  325. # [07:03] * rniwa checks
  326. # [07:03] <rniwa> othermaciej: paste is treated a separate action
  327. # [07:03] <zewt> well, notepad doesn't even have multi-level undo, and its single-level undo is horrid ... safe to ignore it, i think
  328. # [07:04] <rniwa> othermaciej: so undoing paste+deletion will only undoes the deletion
  329. # [07:04] <rniwa> zewt: good point
  330. # [07:04] <othermaciej> rniwa: hmm, so typing a single character is observably different from a one-char paste
  331. # [07:04] <rniwa> othermaciej: yeah
  332. # [07:04] <rniwa> othermaciej: copy & paste (including drag & drop) are very special beasts
  333. # [07:04] <zewt> i don't think windows really has any strong platform-specific undo conventions, most of the platform core stuff has very weak undo
  334. # [07:05] <zewt> (eg. win32 text boxes also don't have multi-level undo)
  335. # [07:05] <rniwa> zewt: RichTextEdit has multi-level undo
  336. # [07:05] * Quits: Rik`_ (~Rik`@lag75-1-78-192-241-87.fbxo.proxad.net) (Read error: Connection reset by peer)
  337. # [07:05] <othermaciej> rniwa: it sounds like, to capture this behavior correctly, you need an indication of author intent
  338. # [07:05] <rniwa> zewt: that's what WordPad uses as far as I know.
  339. # [07:05] <rniwa> othermaciej: yeah
  340. # [07:05] <othermaciej> rniwa: specifically, actions in response to "typing" are a special case
  341. # [07:06] * Joins: Rik` (~Rik`@lag75-1-78-192-241-87.fbxo.proxad.net)
  342. # [07:06] <othermaciej> and you can't tell from the DOM change alone whether it is "typing"
  343. # [07:06] <zewt> (of course, undo particulars are still UA-specific at least, so an undo API should still be able to handle existing browser undo behavior)
  344. # [07:06] * Quits: jacobolus (~jacobolus@70-36-215-74.dsl.dynamic.sonic.net) (Remote host closed the connection)
  345. # [07:06] <rniwa> othermaciej: right
  346. # [07:06] <zewt> (eg. regardless of whether that behavior comes from the UA or the OS)
  347. # [07:07] <rniwa> zewt: yeah, I think we need to have some granularity on how undo/redo is done
  348. # [07:07] <zewt> personally i'd be happy if this fixes undo cursor positions and nothing else, that's the #1 thing that drives me crazy about rich text editors in browsers by a *huge* margin
  349. # [07:07] <rniwa> othermaciej: so maybe isTyping boolean?
  350. # [07:08] <rniwa> othermaciej, annevk: another headache I have is the fact that some automatic transaction may not want to mess with selection at all
  351. # [07:08] <othermaciej> rniwa: I suppose one implicit way to do it is to look at the event being processed, though key events can sometimes trigger non-typing actions (even for keys that would normally just enter text)
  352. # [07:08] * Quits: Rik` (~Rik`@lag75-1-78-192-241-87.fbxo.proxad.net) (Read error: Connection reset by peer)
  353. # [07:08] <rniwa> othermaciej: not sure if that works because authors can do whatever they please to do
  354. # [07:08] * Joins: Rik` (~Rik`@lag75-1-78-192-241-87.fbxo.proxad.net)
  355. # [07:09] <rniwa> othermaciej: e.g. they can decide to insert stuff when delete key is pressed
  356. # [07:09] <zewt> also in theory you could implement a touchscreen keyboard (where mouse events might want to behave like keystrokes)
  357. # [07:10] <rniwa> zewt: yeah
  358. # [07:10] <rniwa> othermaciej: another thing to consider is that authors may want to emulate typing commands without actually receiving user inputs
  359. # [07:11] * Joins: Rik`_ (~Rik`@lag75-1-78-192-241-87.fbxo.proxad.net)
  360. # [07:11] * Quits: Rik` (~Rik`@lag75-1-78-192-241-87.fbxo.proxad.net) (Read error: Connection reset by peer)
  361. # [07:11] <rniwa> also... another problem is that even if authors hinted us that some DOM transaction is deleting stuff or is a typing command
  362. # [07:11] <rniwa> it might be still hard for us to detect exactly what has been deleted
  363. # [07:11] * Quits: lhnz (~lhnz@ip-87-82-211-34.easynet.co.uk) (Ping timeout: 244 seconds)
  364. # [07:12] <rniwa> since deleting a line break for example may end up fixing up the entire paragraph by inserting div's, p's, br's :(
  365. # [07:12] * Joins: lhnz (~lhnz@188-223-83-48.zone14.bethere.co.uk)
  366. # [07:12] <annevk> Man, the way WebVTT is defined makes for a terrible read
  367. # [07:13] * Quits: Rik`_ (~Rik`@lag75-1-78-192-241-87.fbxo.proxad.net) (Read error: Connection reset by peer)
  368. # [07:13] <zewt> havn't really followed this, but the basic idea is being able to coalesce edit transactions, right?
  369. # [07:13] * Joins: Rik` (~Rik`@lag75-1-78-192-241-87.fbxo.proxad.net)
  370. # [07:13] <zewt> three delete-character edits coalescing into a single action, etc
  371. # [07:13] <rniwa> zewt: if author wishes to, yes
  372. # [07:13] <rniwa> zewt: the key issue is that how we restore selection in those cases
  373. # [07:14] <rniwa> zewt: in the case of non-typing commands, it's quite simple
  374. # [07:14] <rniwa> zewt: you just remember what the selection looked like before an automatic transaction
  375. # [07:14] <rniwa> zewt: and restore exactly that
  376. # [07:14] <zewt> btw. how can you delete a character when you have a selection? that normally turns backspace actions into delete-the-whole-selection
  377. # [07:15] <rniwa> when the DOM transaction is undone
  378. # [07:15] <rniwa> zewt: well selection can be either collapsed or uncollapsed
  379. # [07:15] <rniwa> it doesn't really matter
  380. # [07:16] <rniwa> zewt: the problem is when something is deleted and that deletion is undone
  381. # [07:16] * Quits: Rik` (~Rik`@lag75-1-78-192-241-87.fbxo.proxad.net) (Read error: Connection reset by peer)
  382. # [07:16] * Joins: Rik` (~Rik`@2a01:e34:ec0f:1570:b904:2dc6:43c:3a47)
  383. # [07:16] <rniwa> zewt: in that case WebKit and Opera currently select the contents that have been added back to the document
  384. # [07:17] <rniwa> zewt: but when authors implement some automatic transactions, there is no good way for us to tell what has been deleted
  385. # [07:17] <rniwa> zewt: or worse, whether the command was deleting something at all
  386. # [07:17] <rniwa> s/something/anything/
  387. # [07:18] <zewt> yeah i see what you mean
  388. # [07:18] * Joins: Rik`_ (~Rik`@lag75-1-78-192-241-87.fbxo.proxad.net)
  389. # [07:18] <zewt> is the coalescing of transactions under the browser's control?
  390. # [07:18] <rniwa> zewt: it's under author's control 'til it's added to an UndoManager
  391. # [07:18] <zewt> eg. control-backspace two words in firefox is one undo transaction, two in webkit (chrome at least)
  392. # [07:19] <zewt> er, two undos
  393. # [07:19] <zewt> er no that was right (tired/late)
  394. # [07:19] <rniwa> zewt: really? that's surprising to me
  395. # [07:19] <rniwa> zewt: I thought we treat those as one undo item
  396. # [07:19] <zewt> don't know if that's chrome-specific behavior
  397. # [07:19] <zewt> (would have to load a vm to try in safari)
  398. # [07:19] * Quits: Rik`_ (~Rik`@lag75-1-78-192-241-87.fbxo.proxad.net) (Read error: Connection reset by peer)
  399. # [07:19] <rniwa> interesting...
  400. # [07:20] <rniwa> zewt: it's webkit behavior probably copied from Mac
  401. # [07:20] * Joins: Rik`_ (~Rik`@2a01:e34:ec0f:1570:e160:4eeb:9332:1806)
  402. # [07:20] <Hixie> rniwa: here now
  403. # [07:21] <zewt> rniwa: even more fun is multi-selects in firefox, where a single user action might delete noncontiguous text D:
  404. # [07:21] * Joins: Rik`__ (~Rik`@2a01:e34:ec0f:1570:44bd:d7d6:a25d:cab2)
  405. # [07:21] <zewt> (guess the same thing could happen in other browsers, if there's hidden text about)
  406. # [07:22] * Quits: Rik` (~Rik`@2a01:e34:ec0f:1570:b904:2dc6:43c:3a47) (Ping timeout: 244 seconds)
  407. # [07:22] <rniwa> zewt: that, i'm not too worried about because only gecko supports multi-range selection at the moment
  408. # [07:22] <rniwa> zewt: so gecko can do whatever it wants to do
  409. # [07:23] <zewt> i want to see stats on how many people have ever used that :)
  410. # [07:23] <zewt> (manual distinct selections with control-click)
  411. # [07:23] <rniwa> Hixie: hi Hixie, so now that undomanager & dom transaction stuff are getting some traction, I want to propose more crazy ideas LOL
  412. # [07:23] <zewt> probably in the vicinity of: 0
  413. # [07:23] <rniwa> Hixie: namely I want to fix the way key binding works on the web
  414. # [07:23] * Joins: Areks (~Areks@rs.gridnine.com)
  415. # [07:23] <zewt> gooood luck
  416. # [07:24] <Hixie> rniwa: have browsers implemented the last set of improvements to key bindings yet?
  417. # [07:24] <rniwa> zewt: yeah, ehsan told me that there are some gecko users that really love that multi-rage stuff
  418. # [07:24] <rniwa> Hixie: which one?
  419. # [07:24] <Hixie> rniwa: <command>, the new accesskey="", accessKey, accessKeyLabel, etc
  420. # [07:24] <rniwa> Hixie: yes, that's exactly what i'm about to tell you
  421. # [07:25] <rniwa> Hixie: not sure if we had already talked about it on whatwg and elsewhere
  422. # [07:25] * Quits: Rik`_ (~Rik`@2a01:e34:ec0f:1570:e160:4eeb:9332:1806) (Ping timeout: 240 seconds)
  423. # [07:25] <rniwa> Hixie: but we'd like to be able to support ctrl, alt, cmd, and other modifiers
  424. # [07:25] <rniwa> Hixie: in accessKey
  425. # [07:25] <zewt> i'm surprised that opera *way* stepped back the number of keys it eats ... that was endless headaches trying to implement keyboard shortcuts
  426. # [07:25] * rniwa is almost certain there is some bug about this
  427. # [07:25] <Hixie> rniwa: baby steps, we have to get the basics implemented first ;-)
  428. # [07:26] <rniwa> Hixie: yeah, but it's good to think about modifier keys first so that we don't get stuck with the basic ones
  429. # [07:26] <Hixie> rniwa: it's already planned
  430. # [07:26] * Joins: Rik` (~Rik`@2a01:e34:ec0f:1570:9904:a3d4:ca6b:d82a)
  431. # [07:26] <rniwa> Hixie: great.
  432. # [07:26] <rniwa> Hixie: anyway, on top of that, I want to die command element to editing commands
  433. # [07:26] <rniwa> Hixie: and provide a way to define an editing command easily using command elements
  434. # [07:27] <rniwa> Hixie: so that authors can add new editing command like this: <command name="InsertDate" onapply="insertAtSelection(formattedDate())" isautomatic="true" accessKey="accel+d">
  435. # [07:27] <Hixie> rniwa: (namely, http://www.w3.org/Bugs/Public/show_bug.cgi?id=13958 is for modifiers, and http://www.w3.org/Bugs/Public/show_bug.cgi?id=13576 is for specific labeled keys)
  436. # [07:27] * Joins: Rik`_ (~Rik`@lag75-1-78-192-241-87.fbxo.proxad.net)
  437. # [07:27] <rniwa> Hixie: right. this is more stuff on top of that
  438. # [07:28] <Hixie> rniwa: (i expect to support modifiers via something like accesskey="ctrl+a command+a" or something once we've established whether the multiple key thing works at all
  439. # [07:28] <Hixie> rniwa: (hence the way it's specced so far, with all the room for expansion)
  440. # [07:28] <Hixie> rniwa: i don't really understand your proposal for editing commands, but the general idea seems sound
  441. # [07:28] <Hixie> rniwa: i expect we'll add that once browsers actually support <menu>, <command>, etc
  442. # [07:28] * Quits: Rik`_ (~Rik`@lag75-1-78-192-241-87.fbxo.proxad.net) (Read error: Connection reset by peer)
  443. # [07:28] <rniwa> Hixie: so basically it lets you register you execCommand
  444. # [07:29] <Hixie> yeah
  445. # [07:29] <rniwa> new*
  446. # [07:29] * Joins: Rik`_ (~Rik`@2a01:e34:ec0f:1570:5cf7:e849:60c2:5682)
  447. # [07:29] <rniwa> Hixie: but I don't quite get what menu does
  448. # [07:29] <rniwa> given that we don't have any ways to define a toolbar
  449. # [07:29] <rniwa> why do we just support menu?
  450. # [07:29] <Hixie> <menu type=toolbar> is how you define a toolbar
  451. # [07:30] * Quits: Rik`__ (~Rik`@2a01:e34:ec0f:1570:44bd:d7d6:a25d:cab2) (Ping timeout: 244 seconds)
  452. # [07:30] <Hixie> and <menu type=context> defines a context menu
  453. # [07:30] <rniwa> hm...
  454. # [07:30] <Hixie> see the spec :-)
  455. # [07:30] <rniwa> I must have missed it when I skimmed through the spec
  456. # [07:30] * Quits: Rik` (~Rik`@2a01:e34:ec0f:1570:9904:a3d4:ca6b:d82a) (Ping timeout: 240 seconds)
  457. # [07:30] * Joins: Rik` (~Rik`@lag75-1-78-192-241-87.fbxo.proxad.net)
  458. # [07:31] * Joins: Rik`__ (~Rik`@lag75-1-78-192-241-87.fbxo.proxad.net)
  459. # [07:31] * Quits: Rik` (~Rik`@lag75-1-78-192-241-87.fbxo.proxad.net) (Read error: Connection reset by peer)
  460. # [07:33] <rniwa> Hixie: ok, I might look into implementing that for WebKit then
  461. # [07:33] * Joins: Rik` (~Rik`@lag75-1-78-192-241-87.fbxo.proxad.net)
  462. # [07:33] * Quits: Rik`__ (~Rik`@lag75-1-78-192-241-87.fbxo.proxad.net) (Read error: Connection reset by peer)
  463. # [07:34] <Hixie> that'd be great. i've got a ton of improvements in that area that are just waiting for solid implementations of the stuff there so far
  464. # [07:34] <Hixie> one big open question is styling of the toolbars; i think we should have some sort of pseudo-element or something, but i dunno exactly how that would work
  465. # [07:34] * Quits: Rik`_ (~Rik`@2a01:e34:ec0f:1570:5cf7:e849:60c2:5682) (Ping timeout: 244 seconds)
  466. # [07:34] <Hixie> (not an issue for menus since those should just match the platform conventions)
  467. # [07:35] * Quits: roc (~chatzilla@60.234.54.74) (Ping timeout: 276 seconds)
  468. # [07:35] <rniwa> Hixie: what do we need pseudo-elements for?
  469. # [07:35] * Joins: Rik`_ (~Rik`@lag75-1-78-192-241-87.fbxo.proxad.net)
  470. # [07:35] * Quits: Rik` (~Rik`@lag75-1-78-192-241-87.fbxo.proxad.net) (Read error: Connection reset by peer)
  471. # [07:36] <Hixie> well e.g. for <menu type=toolbar> <a href="/">Home</a> <input type=button value=Save> <command type=checkbox label="Enable Spellcheck"> </menu>
  472. # [07:36] <Hixie> how do you style the three buttons to fit your site?
  473. # [07:36] <Hixie> the usual :link, <input> and <command> styles obviously don't apply
  474. # [07:36] * Quits: Rik`_ (~Rik`@lag75-1-78-192-241-87.fbxo.proxad.net) (Read error: Connection reset by peer)
  475. # [07:36] <rniwa> Hixie: can't you just do menu > * {~~} ?
  476. # [07:36] * Joins: Rik` (~Rik`@2a01:e34:ec0f:1570:8129:bbc9:2f76:d87e)
  477. # [07:37] <Hixie> rniwa: not really, the elements involved have such different ways of being represented
  478. # [07:37] * Joins: nielsle (~nielsle@3239059-cl69.boa.fiberby.dk)
  479. # [07:37] <Hixie> rniwa: e.g. <a> has contents, but <input> has a value
  480. # [07:37] <Hixie> rniwa: usual CSS doesn't really work here
  481. # [07:38] <Hixie> rniwa: also, <menu type=toolbar> <hr> <button></button> <hr><hr> <button></button> FOO </menu> only has one separator and shouldn't say "FOO", CSS can't really represent that
  482. # [07:38] <Hixie> rniwa: so you really want to construct the menu, per the spec, and then style the constructed menu, not the DOM directly
  483. # [07:38] <Hixie> rniwa: hence, pseudo-elements
  484. # [07:38] <Hixie> rniwa: but it's not exactly clear how it'd work
  485. # [07:39] <rniwa> hm...
  486. # [07:39] * Joins: Rik`_ (~Rik`@lag75-1-78-192-241-87.fbxo.proxad.net)
  487. # [07:40] <rniwa> Hixie: why don't we restrict things that can appear in menu more?
  488. # [07:40] <Hixie> rniwa: how do you mean?
  489. # [07:40] <rniwa> e.g. only commands and hr can appear inside menu
  490. # [07:40] <Hixie> rniwa: that would be lame
  491. # [07:40] <Hixie> rniwa: e.g. how would you do a command that follows a link?
  492. # [07:41] <Hixie> rniwa: also, the fallback story is terrible
  493. # [07:41] <Hixie> rniwa: we have HTML elements with the semantics we want, it seems to make sense to use them
  494. # [07:41] <Hixie> rniwa: in any case, it still wouldn't really solve our problem
  495. # [07:42] * Quits: Rik`_ (~Rik`@lag75-1-78-192-241-87.fbxo.proxad.net) (Read error: Connection reset by peer)
  496. # [07:42] <Hixie> rniwa: even with just <command> and <hr>, you still have the separator-collapsing logic to handle, and <command> doesn't render as anything (it's display:none) so styling it isn't helpful
  497. # [07:42] * Joins: Rik`_ (~Rik`@2a01:e34:ec0f:1570:85c9:9e67:9ae1:c6d9)
  498. # [07:42] * Quits: Rik` (~Rik`@2a01:e34:ec0f:1570:8129:bbc9:2f76:d87e) (Ping timeout: 240 seconds)
  499. # [07:42] <rniwa> Hixie: that's one thing I don't like about the current spec
  500. # [07:43] <rniwa> Hixie: why can't we just make command element take contents?
  501. # [07:43] <rniwa> Hixie: then you can wrap whatever you want inside command elements
  502. # [07:43] <Hixie> rniwa: three reasons
  503. # [07:43] <rniwa> Hixie: and whatever algorithm we use to generate toolbars and menus can just look at command elements
  504. # [07:44] <Hixie> rniwa: 1. on the long term that will make pages really verbose (<command></command>) which is bad for authoring
  505. # [07:44] <Hixie> rniwa: 2. it doesn't make the algorithms any simpler, really.
  506. # [07:44] <Hixie> rniwa: 3. it means authors would have to implement everything twice to get fallback (once in <command> and once the old way)
  507. # [07:44] <Hixie> more reasons: 4. it would mean having to define what happens to the fallback elements for purposes of form submission
  508. # [07:45] <Hixie> also, the idea long term is to have <command> be able to refer to other elements, e.g. <a href="/" id=home>Home</a> with somewhere else <command ref=home>
  509. # [07:45] <Hixie> so that you only have to disable things or update thinsg once (e.g. only have to update the a.href here once) even if the command is in many menus and toolbars and so on
  510. # [07:46] <Hixie> that's really the only reason <command> exists at all
  511. # [07:46] <rniwa> Hixie: if we're adding ref/for to command, it seems more natural to make it wrap the elements that it refers to.
  512. # [07:46] <Hixie> that and being able to define commands that _don't_ have legacy fallback (which is useful if, e.g., your context menu is completely redundant with some "real" buttons)
  513. # [07:47] <Hixie> no i mean being able to reference the command from multiple places
  514. # [07:47] <rniwa> Hixie: you can define a fallback-less command by omitting the contents, right?
  515. # [07:47] <Hixie> yeah but that's way too verbose
  516. # [07:47] <rniwa> hm...
  517. # [07:47] <rniwa> i disagree > way too verbose
  518. # [07:48] * Quits: MrOpposite (~MrOpposit@unaffiliated/mropposite) (Ping timeout: 245 seconds)
  519. # [07:48] <Hixie> you don't think littering the DOM with </command> end tags is verbose? o_O
  520. # [07:48] <rniwa> no
  521. # [07:48] <rniwa> I think that's much better than having to add random ref/for attributes
  522. # [07:48] <rniwa> I hate having to add id's just so that I can refer from elsewhere
  523. # [07:48] <Hixie> i don't understand how they are related
  524. # [07:49] * Joins: MrOpposite (~MrOpposit@c-84a7e253.5628737--62697410.cust.bredbandsbolaget.se)
  525. # [07:49] * MrOpposite is now known as Guest75060
  526. # [07:51] <rniwa> okay let's take the example in 4.11.4.1 Introduction
  527. # [07:51] * Quits: Dashiva (Dashiva@wikia/Dashiva) (Remote host closed the connection)
  528. # [07:51] <rniwa> http://www.whatwg.org/specs/web-apps/current-work/multipage/interactive-elements.html
  529. # [07:51] * Joins: Dashiva (Dashiva@84-72-45-52.dclient.hispeed.ch)
  530. # [07:51] * Quits: Dashiva (Dashiva@84-72-45-52.dclient.hispeed.ch) (Changing host)
  531. # [07:51] * Joins: Dashiva (Dashiva@wikia/Dashiva)
  532. # [07:51] <rniwa> Hixie: what if I wanted to attach an icon to <button type="button" onclick="fnew()">New...</button> ?
  533. # [07:51] <rniwa> Hixie: how do I do that under the current spec?
  534. # [07:52] <Hixie> you can't, <button> doesn't have icons.
  535. # [07:52] <rniwa> Hixie: right but I want it to have an icon when it's shown in the menu
  536. # [07:52] <rniwa> Hixie: so I'd end up adding a command element anyway to work-around this limiation
  537. # [07:52] <Hixie> oh actually no
  538. # [07:53] <Hixie> the spec does define a way to give an icon
  539. # [07:53] <Hixie> you just put an <img> inside the <button>
  540. # [07:53] <rniwa> :(
  541. # [07:53] <Hixie> see http://www.whatwg.org/specs/web-apps/current-work/#using-the-a-element-to-define-a-command
  542. # [07:53] <Hixie> (the <button> section basically copies the <a> section)
  543. # [07:54] * Quits: bga_ (~bga@95-55-48-164.dynamic.avangarddsl.ru) (Quit: bga_)
  544. # [07:54] <rniwa> Hixie: ok, what if I wanted to disable <li><a href="help.html">Help</a></li> ?
  545. # [07:54] * Joins: bga_ (~bga@95-55-48-164.dynamic.avangarddsl.ru)
  546. # [07:54] <Hixie> rniwa: how would you do that irrespective of menus?
  547. # [07:55] <rniwa> Hixie: well, if it were a menu item
  548. # [07:55] <rniwa> Hixie: then I can always disable it regardless of what it does at least on Windows
  549. # [07:55] <rniwa> to begin with, a link in a context menu shouldn't show up as a link
  550. # [07:55] <rniwa> it should look like any other menu item
  551. # [07:55] <Hixie> exactly
  552. # [07:55] <Hixie> which the spec requires
  553. # [07:55] <rniwa> but I should still be able to disable that
  554. # [07:55] <Hixie> (whence, for toolbars, the styling issue)
  555. # [07:56] <Hixie> why?
  556. # [07:56] <Hixie> what's the use case for disabling a link?
  557. # [07:56] <rniwa> because maybe help doesn't exist for some content
  558. # [07:56] <rniwa> and I don't want users to click that
  559. # [07:56] <Hixie> if there's a use case for disabling a link, we should fix that with <a>, it's not menu-specific
  560. # [07:56] <rniwa> I mean these are just examples
  561. # [07:57] <rniwa> but I feel like the current spec is way too complicated to be adopted
  562. # [07:57] <Hixie> (if help doesn't exist, the right UI is to remove the item from the menu altogether, which you would do by adding a hidden="" attribute)
  563. # [07:57] <rniwa> due to all the fallback consideration
  564. # [07:57] <Hixie> i don't understand what is complicated here
  565. # [07:57] <Hixie> it's really simple
  566. # [07:58] <Hixie> certain elements implement this "command" concept. menus just collect all their commands and render them.
  567. # [07:58] <Hixie> where's the problem?
  568. # [07:58] <Hixie> the fallback just falls out of the design
  569. # [07:58] <Hixie> and doesn't get in the way once it's no longer needed
  570. # [07:58] <Hixie> it's essentially free
  571. # [07:58] <Hixie> plus, in the future, we reuse all the infrastructure to get <command ref=""> essentially for free again
  572. # [07:58] <rniwa> as an author, I don't care about fallbacks
  573. # [07:59] <rniwa> I just want to be able to do everything using command element
  574. # [07:59] <Hixie> and you can, if you want to
  575. # [07:59] <Hixie> meanwhile, authors who _do_ care about fallback, can still do it
  576. # [07:59] <rniwa> hm...
  577. # [07:59] <Hixie> and authors who have links and buttons in parts of their app that do the same as commands in their menus, in the future, once we add <command ref>, get all the indirection magic for free
  578. # [07:59] <Hixie> so they don't have to disable every last menu item that does the same thing
  579. # [08:00] <Hixie> they just disable it once and boom, all the menus and toolbars update
  580. # [08:02] <rniwa> now I see some command-element-only example in the spec
  581. # [08:02] <rniwa> I guess this might work
  582. # [08:02] <rniwa> <command ref> thing definitely sounds useful
  583. # [08:03] <rniwa> alright, let me look into implementing this thing then
  584. # [08:03] <Hixie> cool
  585. # [08:04] <rniwa> then I'll know whether I like or hate the spec :)
  586. # [08:04] <Hixie> :-)
  587. # [08:05] <rniwa> Hixie: btw, I don't quite get what you're seeing in http://www.w3.org/Bugs/Public/show_bug.cgi?id=14337
  588. # [08:05] <rniwa> Hixie: are you referring to DOM changes made by scripts or IE?
  589. # [08:27] <Hixie> both
  590. # [08:28] <Hixie> e.g. do changes from a setInterval()
  591. # [08:28] <Hixie> they get undone
  592. # [08:28] <Hixie> if you undo immediately after the drag
  593. # [08:28] <Hixie> i'm not sure we really want this behaviour; i specced it just cos i was speccing whatever IE did
  594. # [08:28] <Hixie> it's probably better to call it a bug
  595. # [08:30] * Quits: bga_ (~bga@95-55-48-164.dynamic.avangarddsl.ru) (Read error: Connection reset by peer)
  596. # [08:51] * Quits: cgcardona (~cgcardona@unaffiliated/cgcardona) (Quit: cgcardona)
  597. # [08:58] * paul_irish_ is now known as paul_irish
  598. # [08:58] * Quits: annevk (~annevk@EM114-48-10-228.pool.e-mobile.ne.jp) (Quit: annevk)
  599. # [08:58] * Quits: MikeSmith (~MikeSmith@EM114-48-10-228.pool.e-mobile.ne.jp) (Quit: MikeSmith)
  600. # [09:07] * Quits: Guest75060 (~MrOpposit@c-84a7e253.5628737--62697410.cust.bredbandsbolaget.se) (Changing host)
  601. # [09:07] * Joins: Guest75060 (~MrOpposit@unaffiliated/mropposite)
  602. # [09:07] * Guest75060 is now known as MrOpposite
  603. # [09:14] * Joins: annevk (~annevk@EM114-48-10-228.pool.e-mobile.ne.jp)
  604. # [09:15] <annevk> Glenn Adams...
  605. # [09:18] * Joins: dirkpennings (~Vuurbal@90-145-26-140.bbserv.nl)
  606. # [09:18] * abarth is now known as retired-cowboy
  607. # [09:21] * Quits: jdong_ (~quassel@222.126.155.250) (Quit: http://quassel-irc.org - Chat comfortably. Anywhere.)
  608. # [09:21] * Joins: jdong_ (~quassel@222.126.155.250)
  609. # [09:21] * Quits: annevk (~annevk@EM114-48-10-228.pool.e-mobile.ne.jp) (Ping timeout: 252 seconds)
  610. # [09:23] * Quits: jdong_ (~quassel@222.126.155.250) (Client Quit)
  611. # [09:23] * Joins: jdong_ (~quassel@222.126.155.250)
  612. # [09:23] * Joins: jdong__ (~jdong@222.126.155.250)
  613. # [09:24] * Joins: MikeSmith (~MikeSmith@EM114-48-231-93.pool.e-mobile.ne.jp)
  614. # [09:33] * Joins: rtuin (~rtuin@213.125.175.250)
  615. # [09:34] * Joins: annevk (~annevk@EM114-48-231-93.pool.e-mobile.ne.jp)
  616. # [09:34] * Quits: rniwa (~rniwa@70-89-66-218-ca.sfba.hfc.comcastbusiness.net) (Quit: rniwa)
  617. # [09:41] * Joins: FlorianX (~Florian_S@p54B84D18.dip.t-dialin.net)
  618. # [09:46] * Joins: Rich_Clark (~chatzilla@94-193-82-82.zone7.bethere.co.uk)
  619. # [09:53] * Joins: virtuelv (~virtuelv_@pat-tdc.opera.com)
  620. # [09:54] * Joins: foolip (~philip@83.218.67.122)
  621. # [10:00] * Joins: Rik` (~Rik`@2a01:e34:ec0f:1570:5031:d0bf:6832:d737)
  622. # [10:01] * Joins: Rik`__ (~Rik`@lag75-1-78-192-241-87.fbxo.proxad.net)
  623. # [10:03] * Quits: Rik`_ (~Rik`@2a01:e34:ec0f:1570:85c9:9e67:9ae1:c6d9) (Ping timeout: 240 seconds)
  624. # [10:03] * Quits: Rik`__ (~Rik`@lag75-1-78-192-241-87.fbxo.proxad.net) (Read error: Connection reset by peer)
  625. # [10:03] * Joins: Rik`_ (~Rik`@lag75-1-78-192-241-87.fbxo.proxad.net)
  626. # [10:05] * Quits: Rik` (~Rik`@2a01:e34:ec0f:1570:5031:d0bf:6832:d737) (Ping timeout: 244 seconds)
  627. # [10:05] * Quits: Rik`_ (~Rik`@lag75-1-78-192-241-87.fbxo.proxad.net) (Read error: Connection reset by peer)
  628. # [10:05] * Joins: Rik` (~Rik`@lag75-1-78-192-241-87.fbxo.proxad.net)
  629. # [10:06] * Joins: Rik`_ (~Rik`@2a01:e34:ec0f:1570:c08a:2372:aafb:d4dd)
  630. # [10:06] * Quits: Rik` (~Rik`@lag75-1-78-192-241-87.fbxo.proxad.net) (Read error: Connection reset by peer)
  631. # [10:07] * Joins: Rik` (~Rik`@lag75-1-78-192-241-87.fbxo.proxad.net)
  632. # [10:09] * Joins: Rik`__ (~Rik`@lag75-1-78-192-241-87.fbxo.proxad.net)
  633. # [10:09] * Quits: Rik` (~Rik`@lag75-1-78-192-241-87.fbxo.proxad.net) (Read error: Connection reset by peer)
  634. # [10:10] * Quits: jdong__ (~jdong@222.126.155.250) (Remote host closed the connection)
  635. # [10:10] * Quits: Rik`__ (~Rik`@lag75-1-78-192-241-87.fbxo.proxad.net) (Read error: Connection reset by peer)
  636. # [10:10] * Joins: Rik` (~Rik`@lag75-1-78-192-241-87.fbxo.proxad.net)
  637. # [10:11] * Quits: Rik`_ (~Rik`@2a01:e34:ec0f:1570:c08a:2372:aafb:d4dd) (Ping timeout: 240 seconds)
  638. # [10:12] * Joins: Rik`_ (~Rik`@2a01:e34:ec0f:1570:21b9:ece1:366a:d579)
  639. # [10:12] * Quits: Rik` (~Rik`@lag75-1-78-192-241-87.fbxo.proxad.net) (Read error: Connection reset by peer)
  640. # [10:13] * Quits: Evanescence (~Evanescen@122.237.27.154) (Quit: my website: http://stardiviner.dyndns-blog.com/)
  641. # [10:13] * Joins: jacobolus (~jacobolus@c-71-198-169-213.hsd1.ca.comcast.net)
  642. # [10:14] * Joins: Rik` (~Rik`@lag75-1-78-192-241-87.fbxo.proxad.net)
  643. # [10:16] * Joins: Rik`__ (~Rik`@lag75-1-78-192-241-87.fbxo.proxad.net)
  644. # [10:16] * Quits: Rik` (~Rik`@lag75-1-78-192-241-87.fbxo.proxad.net) (Read error: Connection reset by peer)
  645. # [10:17] * Joins: Rik` (~Rik`@lag75-1-78-192-241-87.fbxo.proxad.net)
  646. # [10:17] * Quits: Rik`__ (~Rik`@lag75-1-78-192-241-87.fbxo.proxad.net) (Read error: Connection reset by peer)
  647. # [10:17] * Quits: Rik`_ (~Rik`@2a01:e34:ec0f:1570:21b9:ece1:366a:d579) (Ping timeout: 244 seconds)
  648. # [10:19] * Joins: Rik`_ (~Rik`@2a01:e34:ec0f:1570:895b:6a2f:eeb:5d06)
  649. # [10:19] * Quits: Rik` (~Rik`@lag75-1-78-192-241-87.fbxo.proxad.net) (Read error: Connection reset by peer)
  650. # [10:19] * Joins: tomasf (~tomasf@77.72.97.5.c.fiberdirekt.net)
  651. # [10:20] * Joins: zcorpan (~zcorpan@c-699de355.410-6-64736c14.cust.bredbandsbolaget.se)
  652. # [10:21] * Joins: hasather_ (~hasather_@84.38.144.96)
  653. # [10:23] * Joins: Timz (~Adium@86.89.174.199)
  654. # [10:27] * Quits: Dashiva (Dashiva@wikia/Dashiva) (Ping timeout: 252 seconds)
  655. # [10:28] * Quits: yutak (~yutak@2401:fa00:4:1000:baac:6fff:fe99:adfb) (Quit: Ex-Chat)
  656. # [10:35] <zcorpan> Hixie: so i think it's still not right. :-)
  657. # [10:35] <zcorpan> Hixie: + readonly attribute <code><a href=#document>Document</a></code> <a href=#htmldocument title=HTMLDocument>HTMLDocument</a>;
  658. # [10:35] <zcorpan> Hixie: the Document interface object is not an instance of Document
  659. # [10:35] <zcorpan> Hixie: so the return type should be something else
  660. # [10:37] <annevk> what does interface Document {} expose then?
  661. # [10:40] * Quits: Rik`_ (~Rik`@2a01:e34:ec0f:1570:895b:6a2f:eeb:5d06) (Read error: Connection reset by peer)
  662. # [10:41] * Joins: ezoe (~ezoe@203-140-91-7f1.kyt1.eonet.ne.jp)
  663. # [10:41] * Joins: Rik` (~Rik`@lag75-1-78-192-241-87.fbxo.proxad.net)
  664. # [10:42] * Joins: smaug____ (~chatzilla@GYYMMMCMXL.gprs.sl-laajakaista.fi)
  665. # [10:44] <zcorpan> annevk: i don't understand the question
  666. # [10:45] <annevk> I get what you mean now, I think
  667. # [10:46] * Joins: Telling (~unknown@80-71-135-15.u.parknet.dk)
  668. # [10:48] <annevk> I guess it needs to be defined in terms of http://dev.w3.org/2006/webapi/WebIDL/#dfn-relevant-namespace-object and below
  669. # [10:51] <zcorpan> "Interface objects are always function objects." - i guess s/Document/Function/ then
  670. # [10:51] * Joins: Dashiva (Dashiva@84-72-45-52.dclient.hispeed.ch)
  671. # [10:51] * Quits: Dashiva (Dashiva@84-72-45-52.dclient.hispeed.ch) (Changing host)
  672. # [10:51] * Joins: Dashiva (Dashiva@wikia/Dashiva)
  673. # [10:55] * Quits: cpearce (~chatzilla@ip-118-90-78-13.xdsl.xnet.co.nz) (Ping timeout: 260 seconds)
  674. # [10:58] * Quits: temp01 (~temp01@unaffiliated/temp01) (Disconnected by services)
  675. # [10:59] * Joins: temp01 (~temp01@unaffiliated/temp01)
  676. # [10:59] <danbri> http://www.downforeveryone.com/www.whatwg.org/
  677. # [11:00] <danbri> 'Hey, it's not just you! http://www.whatwg.org/ looks down from here. '
  678. # [11:02] * Quits: smaug____ (~chatzilla@GYYMMMCMXL.gprs.sl-laajakaista.fi) (Ping timeout: 276 seconds)
  679. # [11:04] * nunnun is now known as nunnun_away
  680. # [11:05] * nunnun_away is now known as nunnun
  681. # [11:12] * Joins: mishunov (~spliter@77.88.72.162)
  682. # [11:14] * Quits: foolip (~philip@83.218.67.122) (Quit: Ex-Chat)
  683. # [11:38] * Joins: nessy (~Adium@124-168-24-196.dyn.iinet.net.au)
  684. # [11:47] * Joins: Lachy (~Lachy@pat-tdc.opera.com)
  685. # [11:50] * Joins: foolip (~philip@83.218.67.122)
  686. # [11:52] * Joins: necolas (~necolas@5e041dd3.bb.sky.com)
  687. # [11:53] * Joins: erlehmann (~erlehmann@dslb-084-062-029-250.pools.arcor-ip.net)
  688. # [11:56] * Quits: ezoe (~ezoe@203-140-91-7f1.kyt1.eonet.ne.jp) (Ping timeout: 260 seconds)
  689. # [11:58] * Joins: zdobersek (~zan@BSN-142-43-149.dial-up.dsl.siol.net)
  690. # [12:17] * Quits: hamaji (~hamaji@220.109.219.244) (Remote host closed the connection)
  691. # [12:20] * Joins: agektmr1 (~Adium@220.109.219.244)
  692. # [12:20] * Quits: agektmr (~Adium@220.109.219.244) (Read error: Connection reset by peer)
  693. # [12:25] * Joins: ezoe (~ezoe@203-140-91-168f1.kyt1.eonet.ne.jp)
  694. # [12:38] <annevk> why does WebVTT require decimal separators?
  695. # [12:40] <annevk> I mean milliseconds
  696. # [12:42] <Lachy> Huh? Why shouldn't it? Milliseconds give the required precision.
  697. # [12:45] * Joins: GlitchMr (~glitchmr@178-36-59-85.adsl.inetia.pl)
  698. # [12:45] * Quits: hasather_ (~hasather_@84.38.144.96) (Remote host closed the connection)
  699. # [12:47] <annevk> if they happen to zero
  700. # [12:48] <annevk> I guess it does not matter much
  701. # [13:03] * Joins: myakura (~myakura@FL1-203-136-164-250.tky.mesh.ad.jp)
  702. # [13:04] * Quits: lhnz (~lhnz@188-223-83-48.zone14.bethere.co.uk) (Ping timeout: 240 seconds)
  703. # [13:05] * Joins: lhnz (~lhnz@188-223-83-48.zone14.bethere.co.uk)
  704. # [13:10] * Quits: jdong_ (~quassel@222.126.155.250) (Remote host closed the connection)
  705. # [13:15] <annevk> I don't really get these WebVTT settings
  706. # [13:17] <annevk> e.g. some line ending in "00:13.000 X A:start" has that A:start to discarded with the current parsing algorithm
  707. # [13:17] <annevk> seems wrong
  708. # [13:17] * Quits: yuuki (~kobayashi@58x158x182x50.ap58.ftth.ucom.ne.jp) (Quit: Leaving...)
  709. # [13:23] * Joins: jochen___ (jochen@nat/google/x-xwjntiuuqwfaethi)
  710. # [13:24] * Quits: jochen__ (jochen@nat/google/x-ifefasojikrtgcfh) (Ping timeout: 240 seconds)
  711. # [13:25] * jochen___ is now known as jochen__
  712. # [13:26] * Joins: divya (~divyam@219.64.117.145)
  713. # [13:28] * Quits: zdobersek (~zan@BSN-142-43-149.dial-up.dsl.siol.net) (Read error: Connection reset by peer)
  714. # [13:49] * Joins: Dashimon (Dashiva@84-72-45-52.dclient.hispeed.ch)
  715. # [13:49] * Quits: Dashimon (Dashiva@84-72-45-52.dclient.hispeed.ch) (Changing host)
  716. # [13:49] * Joins: Dashimon (Dashiva@wikia/Dashiva)
  717. # [13:50] * Quits: Dashiva (Dashiva@wikia/Dashiva) (Ping timeout: 252 seconds)
  718. # [13:51] * Dashimon is now known as Dashiva
  719. # [14:09] * Quits: Dashiva (Dashiva@wikia/Dashiva) (Remote host closed the connection)
  720. # [14:10] * Joins: Dashiva (Dashiva@84-72-45-52.dclient.hispeed.ch)
  721. # [14:10] * Quits: Dashiva (Dashiva@84-72-45-52.dclient.hispeed.ch) (Changing host)
  722. # [14:10] * Joins: Dashiva (Dashiva@wikia/Dashiva)
  723. # [14:12] * Joins: karega|aniasis (~karega@64.124.202.222)
  724. # [14:17] * Quits: nessy (~Adium@124-168-24-196.dyn.iinet.net.au) (Quit: Leaving.)
  725. # [14:18] <zcorpan> annevk: why does it seem wrong? that's the same as css decl, basically
  726. # [14:21] <annevk> I'm more confused by e.g. D:vertical followed by two spaces
  727. # [14:21] * Joins: akamike (~akamike@94-193-106-14.zone7.bethere.co.uk)
  728. # [14:21] <annevk> and that followed by A:start or some such
  729. # [14:22] <annevk> afaict "setting will be set to the second "space"
  730. # [14:22] <annevk> or maybe even the first
  731. # [14:22] <annevk> which seems highly undesirable
  732. # [14:23] <annevk> there's some skip.spaces step missing after you consumed a setting
  733. # [14:23] * zcorpan hasn't looked at settings parsing yet
  734. # [14:25] <zcorpan> also D: vertical fails to parse
  735. # [14:26] <annevk> yeah it does in my validator
  736. # [14:26] <annevk> I guess I should upload something so people can teach me how to write code
  737. # [14:26] * zcorpan isn't a fan of single-letter settings
  738. # [14:27] <annevk> guess I'll continue tomorrow
  739. # [14:28] <annevk> will upload something so people can leave comments
  740. # [14:30] <annevk> http://quuz.org/webvtt/
  741. # [14:30] <annevk> http://quuz.org/webvtt/parser.js
  742. # [14:31] <annevk> zcorpan, ^^
  743. # [14:33] <zcorpan> found a bug :-)
  744. # [14:33] <zcorpan> space after signature should be allowed
  745. # [14:33] <divya> zcorpan knows how to crush dreams
  746. # [14:34] <zcorpan> :S
  747. # [14:34] <divya> :))
  748. # [14:34] <annevk> I wonder what's wrong with my SIGNATURE code
  749. # [14:36] <zcorpan> 00::51.000 and 00:0:51.000 validate
  750. # [14:36] <annevk> yeah I noticed that too
  751. # [14:36] * Quits: virtuelv (~virtuelv_@pat-tdc.opera.com) (Quit: Ex-Chat)
  752. # [14:39] <annevk> fixed that bug
  753. # [14:40] <zcorpan> the sig check seems bogus
  754. # [14:42] * Joins: TabAtkins_ (~tabatkins@74.125.56.17)
  755. # [14:43] <annevk> needs to be &&
  756. # [14:43] <zcorpan> you could do line.match(/^WEBVTT(( |\t).*)?/) or some such
  757. # [14:43] <annevk> also fixed
  758. # [14:44] <annevk> could also replace || with &&
  759. # [14:44] <annevk> there's no requirements for anything after that tab or space
  760. # [14:45] <annevk> although I guess "WEBVTT TEST" should maybe not be valid even though it should be processed
  761. # [14:46] * Quits: ukai (ukai@nat/google/x-ncndgybmurbbioch) (Ping timeout: 256 seconds)
  762. # [14:47] * Joins: Ms2ger (~Ms2ger@91.181.39.217)
  763. # [14:47] <zcorpan> it's valid
  764. # [14:48] <hsivonen> Opera Reader is very cool. however, I'd like to have "tap edge for page turn" in addition to swiping
  765. # [14:48] <annevk> zcorpan, not per the syntax section
  766. # [14:48] <hsivonen> swiping a lot isn't very ergonomic
  767. # [14:48] <zcorpan> annevk: yes it is :)
  768. # [14:49] <annevk> oh right
  769. # [14:49] <annevk> bah
  770. # [14:49] <zcorpan> hsivonen: send an email to h&kon :-)
  771. # [14:49] <annevk> don't really think it should be valid though
  772. # [14:49] <annevk> makes no sense
  773. # [14:49] <zcorpan> doesn't manifest do the same thing?
  774. # [14:49] <hsivonen> zcorpan: I'll see if there's a www-style thread I could send email to first
  775. # [14:50] <annevk> zcorpan, dunno, never wrote a validator for that one
  776. # [14:50] <hsivonen> Also, Opera Reader really needs some kind of easy-to-use way of forcing the paged mode on legacy sites
  777. # [14:51] * Joins: davidb_ (~davidb@66.207.208.98)
  778. # [14:52] <zcorpan> i suspect that forcing paged mode on legacy sites would often break in more horrible ways than fit-to-width
  779. # [15:07] * Joins: Stikki (~lordstich@dsl-pribrasgw1-ff17c300-80.dhcp.inet.fi)
  780. # [15:11] * Quits: shepazu (~shepazu@209-6-123-224.c3-0.arl-ubr1.sbo-arl.ma.cable.rcn.com) (Quit: shepazu)
  781. # [15:15] * Joins: ukai (ukai@nat/google/x-sufkgyystqmagdvi)
  782. # [15:16] * Quits: Dashiva (Dashiva@wikia/Dashiva) (Ping timeout: 240 seconds)
  783. # [15:17] * Joins: MacTed (~Thud@63.119.36.36)
  784. # [15:17] * Joins: Dashiva (Dashiva@84-72-45-52.dclient.hispeed.ch)
  785. # [15:18] * Quits: Dashiva (Dashiva@84-72-45-52.dclient.hispeed.ch) (Changing host)
  786. # [15:18] * Joins: Dashiva (Dashiva@wikia/Dashiva)
  787. # [15:18] <hsivonen> zcorpan: I guess sites that would break horrible wouldn't be very printer-friendly either
  788. # [15:18] <hsivonen> maybe the Web isn't printer-friendly in general
  789. # [15:18] * Joins: miketaylr (~miketaylr@24.42.93.245)
  790. # [15:19] * Quits: TabAtkins_ (~tabatkins@74.125.56.17) (Ping timeout: 245 seconds)
  791. # [15:20] * Joins: jonatasnona (~jonatas@lba.inpa.gov.br)
  792. # [15:20] * Quits: annevk (~annevk@EM114-48-231-93.pool.e-mobile.ne.jp) (Ping timeout: 260 seconds)
  793. # [15:21] * Quits: MikeSmith (~MikeSmith@EM114-48-231-93.pool.e-mobile.ne.jp) (Ping timeout: 252 seconds)
  794. # [15:27] * Joins: MikeSmith (~MikeSmith@EM111-191-108-247.pool.e-mobile.ne.jp)
  795. # [15:31] * Joins: dbaron (~dbaron@66.207.208.98)
  796. # [15:31] * Quits: tomasf (~tomasf@77.72.97.5.c.fiberdirekt.net) (Quit: tomasf)
  797. # [15:32] * Quits: miketaylr (~miketaylr@24.42.93.245) (Quit: miketaylr)
  798. # [15:34] * Quits: zcorpan (~zcorpan@c-699de355.410-6-64736c14.cust.bredbandsbolaget.se) (Quit: zcorpan)
  799. # [15:42] <Ms2ger> annevk5, thanks for fixing XMLDocument in DOMPS
  800. # [15:43] * Joins: jochen___ (jochen@nat/google/x-dthievlbpboaiuli)
  801. # [15:44] * Quits: jochen__ (jochen@nat/google/x-xwjntiuuqwfaethi) (Ping timeout: 240 seconds)
  802. # [15:44] * jochen___ is now known as jochen__
  803. # [15:44] * Joins: smaug____ (~chatzilla@GGKMMDCCLXXXVIII.gprs.sl-laajakaista.fi)
  804. # [15:48] * Joins: annevk (~annevk@EM111-191-108-247.pool.e-mobile.ne.jp)
  805. # [15:48] <annevk> Ms2ger, hey no worries
  806. # [15:49] <annevk> Ms2ger, I was wondering though, should that really be XMLDocument?
  807. # [15:49] <annevk> Ms2ger, in that Document == XMLDocument bug people suggested only createDocument should return XMLDocument
  808. # [15:49] * Quits: Telling (~unknown@80-71-135-15.u.parknet.dk) (Quit: ...)
  809. # [15:49] <Ms2ger> I dunno, I just defined what Gecko did
  810. # [15:49] <Ms2ger> It probably doesn't matter
  811. # [15:51] <smaug____> createDocument doesn't always return XMLDocument
  812. # [15:51] <Ms2ger> In Gecko
  813. # [15:51] <smaug____> yes, in Gecko
  814. # [15:51] <smaug____> and I think Acid3 even had some tests for that
  815. # [15:52] <smaug____> at least ACID3 is the reason why Gecko's createDocument behaves the way it does
  816. # [15:52] <annevk> I doubt Acid3 has the DocumentType nonsense
  817. # [15:52] <smaug____> IIRC it does had
  818. # [15:52] <annevk> Ms2ger, guess we'll sort it out later then
  819. # [15:53] <Ms2ger> It had a lot of nonsense, that much is clear
  820. # [15:53] <annevk> trololol
  821. # [15:55] * gsnedders is wondering whether E4H is really a good idea at all
  822. # [15:55] <gsnedders> E4X is too far one way, E4H is too far the other
  823. # [15:55] <annevk> it's H4E man
  824. # [15:55] <gsnedders> w/e
  825. # [15:55] <annevk> for extra confusion
  826. # [15:56] <gsnedders> I care about the semantics of the proposal.
  827. # [15:56] <annevk> the proposal had virtually no details though
  828. # [15:56] * Joins: Telling (~unknown@80-71-135-15.u.parknet.dk)
  829. # [16:00] * Joins: mokush (~quassel@188.24.43.163)
  830. # [16:03] * Quits: Telling (~unknown@80-71-135-15.u.parknet.dk) (Quit: ...)
  831. # [16:03] * Joins: zdobersek (~zan@BSN-142-43-149.dial-up.dsl.siol.net)
  832. # [16:03] * Joins: shepazu (~shepazu@31-33-183.wireless.csail.mit.edu)
  833. # [16:04] * Joins: TabAtkins_ (~tabatkins@202.61.222.68.static.rev.eftel.com)
  834. # [16:10] * Quits: akamike (~akamike@94-193-106-14.zone7.bethere.co.uk) (Quit: akamike)
  835. # [16:15] * Quits: smaug____ (~chatzilla@GGKMMDCCLXXXVIII.gprs.sl-laajakaista.fi) (Ping timeout: 252 seconds)
  836. # [16:22] * Quits: Rich_Clark (~chatzilla@94-193-82-82.zone7.bethere.co.uk) (Ping timeout: 255 seconds)
  837. # [16:25] * Joins: svl (~me@p5DD34E8C.dip.t-dialin.net)
  838. # [16:30] * Quits: MacTed (~Thud@63.119.36.36)
  839. # [16:31] * Quits: mishunov (~spliter@77.88.72.162) (Quit: mishunov)
  840. # [16:32] * Quits: agektmr1 (~Adium@220.109.219.244) (Quit: Leaving.)
  841. # [16:35] * Joins: smaug____ (~chatzilla@YGKMMMDCCLXXIV.gprs.sl-laajakaista.fi)
  842. # [16:36] * Quits: zdobersek (~zan@BSN-142-43-149.dial-up.dsl.siol.net) (Ping timeout: 252 seconds)
  843. # [16:37] * Joins: tomasf (~tomasf@host-90-235-156-209.mobileonline.telia.com)
  844. # [16:43] * Joins: Telling (~unknown@shop3.diku.dk)
  845. # [16:43] * Joins: agektmr (~Adium@220.109.219.244)
  846. # [16:43] * Quits: smaug____ (~chatzilla@YGKMMMDCCLXXIV.gprs.sl-laajakaista.fi) (Ping timeout: 240 seconds)
  847. # [16:43] * Quits: agektmr (~Adium@220.109.219.244) (Client Quit)
  848. # [16:45] * Joins: eric_carlson (~ericc@2620:149:4:1b01:817e:813f:b41c:2c11)
  849. # [16:54] * Joins: akamike (~akamike@94-193-106-14.zone7.bethere.co.uk)
  850. # [16:57] * Quits: svl (~me@p5DD34E8C.dip.t-dialin.net) (Quit: And back he spurred like a madman, shrieking a curse to the sky.)
  851. # [16:57] * Quits: TabAtkins_ (~tabatkins@202.61.222.68.static.rev.eftel.com) (Ping timeout: 255 seconds)
  852. # [16:59] * Joins: davidwalsh (~davidwals@75-135-74-55.dhcp.mdsn.wi.charter.com)
  853. # [16:59] * Quits: eric_carlson (~ericc@2620:149:4:1b01:817e:813f:b41c:2c11) (Quit: eric_carlson)
  854. # [17:06] * Joins: smaug____ (~chatzilla@GZYYYCMLVI.gprs.sl-laajakaista.fi)
  855. # [17:10] * Quits: rtuin (~rtuin@213.125.175.250) (Quit: Leaving)
  856. # [17:12] * Quits: nonge_ (~nonge@p5082918D.dip.t-dialin.net) (Quit: Verlassend)
  857. # [17:12] * Quits: dirkpennings (~Vuurbal@90-145-26-140.bbserv.nl)
  858. # [17:13] * Quits: Lachy (~Lachy@pat-tdc.opera.com) (Quit: Computer has gone to sleep.)
  859. # [17:14] * Quits: Areks (~Areks@rs.gridnine.com) (Ping timeout: 240 seconds)
  860. # [17:17] * Quits: tomasf (~tomasf@host-90-235-156-209.mobileonline.telia.com) (Read error: Connection reset by peer)
  861. # [17:18] * Joins: tomasf (~tomasf@host-90-235-156-209.mobileonline.telia.com)
  862. # [17:20] * Quits: karega|aniasis (~karega@64.124.202.222) (Ping timeout: 248 seconds)
  863. # [17:21] * Joins: karega|aniasis (~karega@64.124.202.222)
  864. # [17:21] * Joins: aniasis|karega (~karega@64.124.202.222)
  865. # [17:25] * Quits: karega|aniasis (~karega@64.124.202.222) (Ping timeout: 258 seconds)
  866. # [17:29] * Quits: temp01 (~temp01@unaffiliated/temp01) (Ping timeout: 256 seconds)
  867. # [17:29] * Joins: Lachy (~Lachy@cm-84.215.59.50.getinternet.no)
  868. # [17:31] * Joins: temp02 (~temp01@unaffiliated/temp01)
  869. # [17:33] * Quits: temp02 (~temp01@unaffiliated/temp01) (Read error: Connection reset by peer)
  870. # [17:34] * Quits: divya (~divyam@219.64.117.145) (Quit: Leaving.)
  871. # [17:36] * Quits: FlorianX (~Florian_S@p54B84D18.dip.t-dialin.net) (Ping timeout: 260 seconds)
  872. # [17:38] * Joins: temp02 (~temp01@unaffiliated/temp01)
  873. # [17:39] * Joins: karega|aniasis (~karega@64.124.202.222)
  874. # [17:40] * Quits: mpt (~mpt@canonical/mpt) (Remote host closed the connection)
  875. # [17:41] * Quits: aniasis|karega (~karega@64.124.202.222) (Ping timeout: 248 seconds)
  876. # [17:41] * Joins: mpt (~mpt@canonical/mpt)
  877. # [17:41] * Quits: tomasf (~tomasf@host-90-235-156-209.mobileonline.telia.com) (Quit: tomasf)
  878. # [17:42] * Joins: tomasf (~tomasf@host-90-235-156-209.mobileonline.telia.com)
  879. # [17:42] * Quits: tomasf (~tomasf@host-90-235-156-209.mobileonline.telia.com) (Read error: Connection reset by peer)
  880. # [17:46] * Joins: FlorianX (~Florian_S@p54B84D18.dip.t-dialin.net)
  881. # [17:53] * Quits: smaug____ (~chatzilla@GZYYYCMLVI.gprs.sl-laajakaista.fi) (Ping timeout: 240 seconds)
  882. # [18:14] * Joins: MacTed (~Thud@63.119.36.36)
  883. # [18:21] * Quits: Necrathex (~nectop@82-170-160-25.ip.telfort.nl) (Quit: Necrathex)
  884. # [18:22] * Joins: miketaylr (~miketaylr@24.42.93.245)
  885. # [18:24] * Joins: dave_levin (dave_levin@nat/google/x-bpxliolugvpyzmaq)
  886. # [18:28] * Joins: ap (~ap@2620:149:4:1b01:4d12:fd74:59c4:f656)
  887. # [18:29] * Quits: karlcow (~karl@nerval.la-grange.net) (Quit: Freedom - to walk free and own no superior.)
  888. # [18:35] * Quits: gkellogg (~gregg@c-98-248-150-91.hsd1.ca.comcast.net) (Quit: gkellogg)
  889. # [18:37] * Quits: ap (~ap@2620:149:4:1b01:4d12:fd74:59c4:f656) (Read error: Connection reset by peer)
  890. # [18:37] * Joins: ap (~ap@17.212.155.203)
  891. # [18:39] * Joins: jochen___ (jochen@nat/google/x-mvuebcnrmofcfngu)
  892. # [18:40] * Quits: jochen__ (jochen@nat/google/x-dthievlbpboaiuli) (Ping timeout: 240 seconds)
  893. # [18:40] * jochen___ is now known as jochen__
  894. # [18:41] * Joins: gkellogg (~gregg@c-98-248-150-91.hsd1.ca.comcast.net)
  895. # [18:41] * Quits: akamike (~akamike@94-193-106-14.zone7.bethere.co.uk) (Quit: akamike)
  896. # [18:42] * Quits: Rik` (~Rik`@lag75-1-78-192-241-87.fbxo.proxad.net) (Remote host closed the connection)
  897. # [18:44] <Hixie> zcorpan: Function is not a function object (possibly confusingly)
  898. # [18:45] <Hixie> zcorpan: Function is just a [Callback=FunctionOnly, NoInterfaceObject] callback interface with one member that takes any any arguments and returns any
  899. # [18:47] * Joins: linclark (~clark@wlan-nat.fwgal01.deri.ie)
  900. # [18:47] <linclark> does anyone know what the current thinking on the time element is?
  901. # [18:47] <linclark> I'm looking at this bug: http://www.w3.org/Bugs/Public/show_bug.cgi?id=13240
  902. # [18:47] * Joins: Maurice (copyman@5ED573FA.cm-7-6b.dynamic.ziggo.nl)
  903. # [18:49] <hsivonen> linclark: I expect different people to have different current thinking
  904. # [18:50] * ericc|away is now known as eric|away
  905. # [18:50] * eric|away is now known as ericc|away
  906. # [18:51] <linclark> hsivonen: right, but are there any discussions that are more current
  907. # [18:51] <linclark> I'm asking because we're working on implementing a theme_time function in Drupal
  908. # [18:56] * heycam|away is now known as heycam
  909. # [18:56] * Joins: Areks (~Areks@176.14.214.163)
  910. # [19:04] * retired-cowboy is now known as abarth
  911. # [19:09] <franksalim> Hixie: that is...quotable...and it reminds me of the "a monad is just a monoid in the category of endofunctors, what's the problem?" joke about Haskell...probably because you said "is just a" and then gave a precise and complicated definition. :)
  912. # [19:10] <dglazkov> good morning, Whatwg!
  913. # [19:10] * Joins: tomasf (~tom@c-5ed9e555.024-204-6c6b7012.cust.bredbandsbolaget.se)
  914. # [19:10] <hsivonen> linclark: I'm not aware of more current discussions, but my mailing list reading isn't up to date
  915. # [19:10] <hsivonen> dglazkov: good evening
  916. # [19:12] <linclark> hsivonen: ok, thanks... as long as it ends up being one of the proposed alternatives, it shouldn't take long for us to update
  917. # [19:13] * Joins: KillerX (~anant@nat/mozilla/x-uzxzxjdrrweitkvr)
  918. # [19:14] * Joins: jarek (~jarek@aean17.neoplus.adsl.tpnet.pl)
  919. # [19:14] * Quits: jarek (~jarek@aean17.neoplus.adsl.tpnet.pl) (Changing host)
  920. # [19:14] * Joins: jarek (~jarek@unaffiliated/jarek)
  921. # [19:15] <jarek> Hello
  922. # [19:15] <jarek> why MEDIA_SYM CSS token is defined like this:
  923. # [19:15] <jarek> @{M}{E}{D}{I}{A}
  924. # [19:16] <jarek> while CHARSET_SYM token is defined this way:
  925. # [19:16] <jarek> "@charset "
  926. # [19:16] * Quits: miketaylr (~miketaylr@24.42.93.245) (Quit: miketaylr)
  927. # [19:16] <jarek> does it mean that "@cha\rset 'utf-8'" is not a valid charset declaration?
  928. # [19:17] <jarek> while something like "@med\ia" would be valid?
  929. # [19:19] <jarek> yup, W3C validator fails on @cha\rset "UTF-8";
  930. # [19:20] * Joins: sicking (~chatzilla@206-15-76-122.static.twtelecom.net)
  931. # [19:24] <jarek> this seems to be rather inconsistent, what is the reason behind not allowing the escapes inside "@charset" or "url("? " or "~="?
  932. # [19:29] <jarek> validator marks @med\ia as error as well, I don't get it
  933. # [19:29] <zewt> "In fact, it's possible to implement ES functionality with better performance then the native implementations."
  934. # [19:29] <zewt> do people realize how silly they sound when they make claims like that
  935. # [19:30] <jarek> ahh... it accepts only hex escapes
  936. # [19:30] <zewt> there's no such thing as faster than native, sorry, next
  937. # [19:31] * Joins: scor (~scor@drupal.org/user/52142/view)
  938. # [19:31] * Quits: scor (~scor@drupal.org/user/52142/view) (Excess Flood)
  939. # [19:32] * Joins: Guest13877 (~scor@drupal.org/user/52142/view)
  940. # [19:32] * Quits: Guest13877 (~scor@drupal.org/user/52142/view) (Client Quit)
  941. # [19:34] * Joins: cpearce (~chatzilla@ip-118-90-78-13.xdsl.xnet.co.nz)
  942. # [19:35] * Quits: jonatasnona (~jonatas@lba.inpa.gov.br) (Ping timeout: 258 seconds)
  943. # [19:35] * Quits: Stikki (~lordstich@dsl-pribrasgw1-ff17c300-80.dhcp.inet.fi) (Ping timeout: 240 seconds)
  944. # [19:36] * Joins: _pdr__ (anonymous@nat/google/x-blfcxmstgyflumvb)
  945. # [19:38] <Hixie> franksalim: heh
  946. # [19:39] <Hixie> jarek: @charset is special
  947. # [19:39] <Hixie> jarek: because we don't want people to have to run a complicated css parser just to get the character encoding which they need to know in order to create a css parser :-)
  948. # [19:39] <Hixie> bbiab
  949. # [19:41] * Joins: Stikki (~lordstich@dsl-pribrasgw1-ff17c300-80.dhcp.inet.fi)
  950. # [19:48] * Joins: jonatasnona (~jonatas@lba.inpa.gov.br)
  951. # [19:54] * Joins: smaug____ (~chatzilla@cs181151161.pp.htv.fi)
  952. # [19:55] * Joins: espadrine (~thaddee_t@acces2281.res.insa-lyon.fr)
  953. # [19:59] * Quits: Timz (~Adium@86.89.174.199) (Quit: Leaving.)
  954. # [20:01] * Quits: sicking (~chatzilla@206-15-76-122.static.twtelecom.net) (Remote host closed the connection)
  955. # [20:01] * Joins: scor (~scor@drupal.org/user/52142/view)
  956. # [20:01] * Quits: scor (~scor@drupal.org/user/52142/view) (Excess Flood)
  957. # [20:01] * Joins: sicking (~chatzilla@206-15-76-122.static.twtelecom.net)
  958. # [20:02] * Joins: scor (~scor@drupal.org/user/52142/view)
  959. # [20:02] * Quits: scor (~scor@drupal.org/user/52142/view) (Excess Flood)
  960. # [20:04] * Quits: mokush (~quassel@188.24.43.163) (Remote host closed the connection)
  961. # [20:04] * Quits: linclark (~clark@wlan-nat.fwgal01.deri.ie) (Quit: linclark)
  962. # [20:08] * Joins: Rik` (~Rik`@212-123-27-210.iFiber.telenet-ops.be)
  963. # [20:08] * Quits: annevk (~annevk@EM111-191-108-247.pool.e-mobile.ne.jp) (Quit: annevk)
  964. # [20:21] * Quits: KillerX (~anant@nat/mozilla/x-uzxzxjdrrweitkvr) (Quit: KillerX)
  965. # [20:26] * Quits: Areks (~Areks@176.14.214.163) (Quit: KVIrc 4.0.2 Insomnia http://www.kvirc.net/)
  966. # [20:26] * Joins: Areks (~Areks@176.14.214.163)
  967. # [20:26] * Quits: Rik` (~Rik`@212-123-27-210.iFiber.telenet-ops.be) (Ping timeout: 252 seconds)
  968. # [20:27] * jernoble|afk is now known as jernoble
  969. # [20:27] * Joins: jwalden (~waldo@2620:101:8003:200:224:d7ff:fef0:8d90)
  970. # [20:29] * Joins: Rik` (~Rik`@212-123-27-210.iFiber.telenet-ops.be)
  971. # [20:38] * Joins: karlcow (~karl@nerval.la-grange.net)
  972. # [20:38] * Joins: eric_carlson (~ericc@2620:149:4:1b01:bd4b:91:4f52:7ed9)
  973. # [20:42] * Quits: Stikki (~lordstich@dsl-pribrasgw1-ff17c300-80.dhcp.inet.fi) (Ping timeout: 258 seconds)
  974. # [20:42] * ericc|away is now known as ericc|afk
  975. # [20:46] * Joins: Stikki (~lordstich@dsl-pribrasgw1-ff17c300-80.dhcp.inet.fi)
  976. # [20:50] * Quits: _pdr__ (anonymous@nat/google/x-blfcxmstgyflumvb) (Quit: _pdr__)
  977. # [20:58] * Joins: nessy (~Adium@124-168-24-196.dyn.iinet.net.au)
  978. # [21:03] * Quits: jarek (~jarek@unaffiliated/jarek) (Ping timeout: 260 seconds)
  979. # [21:05] * Joins: KillerX (~anant@2620:101:8003:200:ddd5:ecac:cd6f:427d)
  980. # [21:07] * Quits: Rik` (~Rik`@212-123-27-210.iFiber.telenet-ops.be) (Remote host closed the connection)
  981. # [21:11] * Joins: scor (~scor@drupal.org/user/52142/view)
  982. # [21:11] * Quits: scor (~scor@drupal.org/user/52142/view) (Excess Flood)
  983. # [21:12] * Joins: scor (~scor@drupal.org/user/52142/view)
  984. # [21:18] * Quits: Telling (~unknown@shop3.diku.dk) (Quit: ...)
  985. # [21:18] * Joins: MikeSmith_ (~MikeSmith@EM114-48-12-234.pool.e-mobile.ne.jp)
  986. # [21:18] * Quits: scor (~scor@drupal.org/user/52142/view) (Quit: scor)
  987. # [21:19] * Quits: FlorianX (~Florian_S@p54B84D18.dip.t-dialin.net) (Quit: Leaving.)
  988. # [21:20] * Joins: miketaylr (~miketaylr@24.42.93.245)
  989. # [21:21] * Quits: Areks (~Areks@176.14.214.163) (Quit: KVIrc 4.0.2 Insomnia http://www.kvirc.net/)
  990. # [21:21] * Joins: Areks (~Areks@176.14.214.163)
  991. # [21:21] * Quits: MikeSmith (~MikeSmith@EM111-191-108-247.pool.e-mobile.ne.jp) (Ping timeout: 258 seconds)
  992. # [21:21] * MikeSmith_ is now known as MikeSmith
  993. # [21:28] * Quits: Lachy (~Lachy@cm-84.215.59.50.getinternet.no) (Quit: Textual IRC Client: http://www.textualapp.com/)
  994. # [21:35] * Quits: jonatasnona (~jonatas@lba.inpa.gov.br) (Quit: Saindo)
  995. # [21:37] * Quits: sicking (~chatzilla@206-15-76-122.static.twtelecom.net) (Ping timeout: 244 seconds)
  996. # [21:37] * Quits: erlehmann (~erlehmann@dslb-084-062-029-250.pools.arcor-ip.net) (Quit: Ex-Chat)
  997. # [21:41] * Quits: othermaciej (~mjs@c-24-6-209-189.hsd1.ca.comcast.net) (Quit: othermaciej)
  998. # [21:49] * jernoble is now known as jernoble|afk
  999. # [21:50] * Quits: davidwalsh (~davidwals@75-135-74-55.dhcp.mdsn.wi.charter.com) (Quit: Reading http://davidwalsh.name)
  1000. # [21:52] * Quits: astearns (~anonymous@c-50-132-63-33.hsd1.wa.comcast.net) (Quit: astearns)
  1001. # [21:57] * Joins: rniwa (rniwa@nat/google/x-cqmssdwuymkolyxj)
  1002. # [22:06] * Quits: GlitchMr (~glitchmr@178-36-59-85.adsl.inetia.pl) (Read error: Connection reset by peer)
  1003. # [22:06] * Quits: Rubennn (~quassel@2a02:348:33:5823::1) (Remote host closed the connection)
  1004. # [22:08] * Quits: eric_carlson (~ericc@2620:149:4:1b01:bd4b:91:4f52:7ed9) (Read error: Connection reset by peer)
  1005. # [22:08] * Joins: eric_carlson (~ericc@17.212.154.205)
  1006. # [22:11] * Joins: Rubennn (~quassel@apher.xlshosting.net)
  1007. # [22:12] * jernoble|afk is now known as jernoble
  1008. # [22:12] * Joins: eric_carlson_ (~ericc@17.245.89.216)
  1009. # [22:13] * Quits: mpt (~mpt@canonical/mpt) (Read error: Connection reset by peer)
  1010. # [22:13] * Quits: eric_carlson (~ericc@17.212.154.205) (Read error: Operation timed out)
  1011. # [22:13] * eric_carlson_ is now known as eric_carlson
  1012. # [22:13] * Quits: karega|aniasis (~karega@64.124.202.222) (Ping timeout: 255 seconds)
  1013. # [22:14] * Joins: mpt (~mpt@canonical/mpt)
  1014. # [22:14] * Quits: eric_carlson (~ericc@17.245.89.216) (Client Quit)
  1015. # [22:14] * Quits: mpt (~mpt@canonical/mpt) (Remote host closed the connection)
  1016. # [22:15] * Joins: mpt (~mpt@nat/canonical/x-qumjjiwhecxjmyys)
  1017. # [22:15] * Quits: mpt (~mpt@nat/canonical/x-qumjjiwhecxjmyys) (Changing host)
  1018. # [22:15] * Joins: mpt (~mpt@canonical/mpt)
  1019. # [22:17] * Joins: jacobolu_ (~jacobolus@c-71-198-169-213.hsd1.ca.comcast.net)
  1020. # [22:19] * Quits: jacobolus (~jacobolus@c-71-198-169-213.hsd1.ca.comcast.net) (Read error: Operation timed out)
  1021. # [22:23] * Joins: ojan (ojan@nat/google/x-pdkmygqhhooqairv)
  1022. # [22:26] * Joins: kennyluck_ (~kennyluck@114-43-119-208.dynamic.hinet.net)
  1023. # [22:27] * Quits: kennyluck (~kennyluck@114-25-210-80.dynamic.hinet.net) (Ping timeout: 260 seconds)
  1024. # [22:27] * kennyluck_ is now known as kennyluck
  1025. # [22:28] * Joins: scor (~scor@drupal.org/user/52142/view)
  1026. # [22:32] * Quits: karlcow (~karl@nerval.la-grange.net) (Quit: Freedom - to walk free and own no superior.)
  1027. # [22:38] * Joins: mkanat (mkanat@nat/google/x-rwpxiudxxlloxemg)
  1028. # [22:39] * Quits: smaug____ (~chatzilla@cs181151161.pp.htv.fi) (Ping timeout: 258 seconds)
  1029. # [22:46] * Quits: davidb_ (~davidb@66.207.208.98) (Quit: davidb_)
  1030. # [22:50] * Quits: Ms2ger (~Ms2ger@91.181.39.217) (Quit: nn)
  1031. # [22:54] * Joins: othermaciej (~mjs@17.245.89.50)
  1032. # [22:56] * Joins: paulgendek (~paulgende@50-88-136-49.res.bhn.net)
  1033. # [22:59] * Joins: smaug____ (~chatzilla@GZYMMMDCLIX.gprs.sl-laajakaista.fi)
  1034. # [22:59] * Quits: Areks (~Areks@176.14.214.163) (Ping timeout: 240 seconds)
  1035. # [23:03] * Quits: dbaron (~dbaron@66.207.208.98) (Read error: Operation timed out)
  1036. # [23:07] * Quits: MacTed (~Thud@63.119.36.36)
  1037. # [23:07] * Joins: TabAtkins_ (~tabatkins@202.61.222.68.static.rev.eftel.com)
  1038. # [23:13] * Joins: eric_carlson (~ericc@17.245.89.216)
  1039. # [23:23] * Joins: sicking (~chatzilla@206-15-76-122.static.twtelecom.net)
  1040. # [23:28] <rniwa> Hixie: yt?
  1041. # [23:28] <rniwa> or anyone else familiar with microdata?
  1042. # [23:29] * Quits: nessy (~Adium@124-168-24-196.dyn.iinet.net.au) (Quit: Leaving.)
  1043. # [23:29] * Joins: karega|aniasis (~karega@cpe-76-184-152-246.tx.res.rr.com)
  1044. # [23:30] * Quits: mpt (~mpt@canonical/mpt) (Remote host closed the connection)
  1045. # [23:31] * Joins: mpt (~mpt@nat/canonical/x-fzbjcgobnvqwoyeo)
  1046. # [23:31] * Quits: mpt (~mpt@nat/canonical/x-fzbjcgobnvqwoyeo) (Changing host)
  1047. # [23:31] * Joins: mpt (~mpt@canonical/mpt)
  1048. # [23:31] * jernoble is now known as jernoble|afk
  1049. # [23:34] * Quits: karega|aniasis (~karega@cpe-76-184-152-246.tx.res.rr.com) (Ping timeout: 276 seconds)
  1050. # [23:37] * Quits: sicking (~chatzilla@206-15-76-122.static.twtelecom.net) (Ping timeout: 276 seconds)
  1051. # [23:37] <Hixie> rniwa: here
  1052. # [23:38] <rniwa> Hixie: I was a bit confused about DOMSettableTokenList
  1053. # [23:38] <rniwa> Hixie: I just filed a bug saying that section 2.8.1 (http://www.whatwg.org/specs/web-apps/current-work/multipage/common-dom-interfaces.html#reflect)
  1054. # [23:38] <rniwa> Hixie: should probably define IDL attributes in terms of content attribute
  1055. # [23:38] <rniwa> instead of defining in terms of types of IDL attributes
  1056. # [23:39] <Hixie> why?
  1057. # [23:39] <Hixie> and what does that have to do with DOMSettableTokenList :-)
  1058. # [23:40] * Joins: sicking (~chatzilla@206-15-76-122.static.twtelecom.net)
  1059. # [23:40] <rniwa> Hixie: e.g. if an idl attribute is reflecting a content attribute of the type "unordered set of unique space-separated tokens" then its type will be http://www.whatwg.org/specs/web-apps/current-work/multipage/infrastructure.html#domsettabletokenlistt or something like
  1060. # [23:40] <rniwa> Hixie: because I usually look for the type of content type.
  1061. # [23:41] <rniwa> Hixie: when an IDL attribute reflects a content attribute
  1062. # [23:41] <rniwa> I usually know the type of content attribute
  1063. # [23:41] <rniwa> but not necessarily of the type of idl attribute
  1064. # [23:41] <rniwa> anyway, it's not that important though
  1065. # [23:41] <Hixie> content attributes don't have a type
  1066. # [23:41] <Hixie> well, i mean, they're all strings
  1067. # [23:42] <Hixie> or am i misunderstanding...?
  1068. # [23:43] <rniwa> Hixie: well but they do have different kinds like space separted tokens, etc...
  1069. # [23:43] <rniwa> separated*
  1070. # [23:43] <Hixie> oh you mean the conformance requirements for what's allowed in them?
  1071. # [23:43] <Hixie> i guess
  1072. # [23:43] <Hixie> not sure how you'd use those to define UA requirements
  1073. # [23:43] <rniwa> Hixie: sort of
  1074. # [23:44] <rniwa> I want a way to lookup the type of idl attribute given a description of content attribute
  1075. # [23:44] <Hixie> there's not a 1:1 mapping
  1076. # [23:44] <rniwa> hm...
  1077. # [23:44] * Quits: Dashiva (Dashiva@wikia/Dashiva) (Remote host closed the connection)
  1078. # [23:44] <rniwa> that explains it but also sucks :(
  1079. # [23:44] * Joins: Dashiva (Dashiva@84-72-45-52.dclient.hispeed.ch)
  1080. # [23:44] * Quits: Dashiva (Dashiva@84-72-45-52.dclient.hispeed.ch) (Changing host)
  1081. # [23:44] * Joins: Dashiva (Dashiva@wikia/Dashiva)
  1082. # [23:46] * Quits: Stikki (~lordstich@dsl-pribrasgw1-ff17c300-80.dhcp.inet.fi) (Ping timeout: 252 seconds)
  1083. # [23:46] * Quits: jacobolu_ (~jacobolus@c-71-198-169-213.hsd1.ca.comcast.net) (Remote host closed the connection)
  1084. # [23:46] <Hixie> welcome to the web
  1085. # [23:47] <Hixie> what are you looking up that makes it easier for you to look things up based on the content attribute than the idl type?
  1086. # [23:47] <rniwa> Hixie: i was looking at microdata API
  1087. # [23:47] * Joins: nonge (~nonge@p5082918D.dip.t-dialin.net)
  1088. # [23:47] <rniwa> Hixie: and in particular itemProp idl attribute
  1089. # [23:49] * Quits: eric_carlson (~ericc@17.245.89.216) (Quit: eric_carlson)
  1090. # [23:50] * Quits: Dashiva (Dashiva@wikia/Dashiva) (Remote host closed the connection)
  1091. # [23:50] * Joins: Dashiva (Dashiva@84-72-45-52.dclient.hispeed.ch)
  1092. # [23:50] * Quits: Dashiva (Dashiva@84-72-45-52.dclient.hispeed.ch) (Changing host)
  1093. # [23:50] * Joins: Dashiva (Dashiva@wikia/Dashiva)
  1094. # [23:50] <jgraham> zewt: I assume they meant "faster than C++", which could be true
  1095. # [23:50] <jgraham> Depending on where the bottlenecks are
  1096. # [23:53] <rniwa> jgraham: talking about some JS engine performance?
  1097. # [23:53] <Hixie> rniwa: i don't understand why that was easier to do using the content attribute than the idl type
  1098. # [23:53] <Hixie> abarth: yt?
  1099. # [23:53] <abarth> hi
  1100. # [23:53] <rniwa> Hixie: yeah, I guess my comment was useless given the definitions aren't bijective
  1101. # [23:53] <Hixie> abarth: the origin spec doesn't have special dispensation for cases where urls with a domain part that are supported by the UA might have per-url origin
  1102. # [23:53] <rniwa> Hixie: thought they were bijective
  1103. # [23:53] <Hixie> abarth: e.g. an NNTP post
  1104. # [23:53] <Hixie> rniwa: k
  1105. # [23:54] <rniwa> Hixie: sorry about the noise
  1106. # [23:54] <Hixie> rniwa: (one example is that class="" and itemprop="" (className and itemProp) have roughly the same definition, but reflect very differently)
  1107. # [23:54] <abarth> Hixie: i see
  1108. # [23:54] <Hixie> rniwa: (and indeed className and classList both reflect class="")
  1109. # [23:54] <Hixie> rniwa: (in different ways)
  1110. # [23:54] <rniwa> :(
  1111. # [23:55] * Quits: Maurice (copyman@5ED573FA.cm-7-6b.dynamic.ziggo.nl)
  1112. # [23:55] <Hixie> abarth: third bullet point of http://www.whatwg.org/specs/web-apps/current-work/#origin
  1113. # [23:55] * rniwa is annoyed by the complexity
  1114. # [23:55] <Hixie> abarth: er, third <li> i should say
  1115. # [23:55] <Hixie> rniwa: dude if you think that's bad, wait til you hear about HTMLFormElement's named property access
  1116. # [23:55] <Hixie> rniwa: (see my public g+ post)
  1117. # [23:55] * jernoble|afk is now known as jernoble
  1118. # [23:55] * Joins: bga_ (~bga@95-55-37-120.dynamic.avangarddsl.ru)
  1119. # [23:56] <rniwa> Hixie: yes, I know the badness in that area
  1120. # [23:56] <rniwa> Hixie: I've worked on fixing selectionStart/selectionEnd in input/textarea :(
  1121. # [23:56] <abarth> Hixie: i guess it boils down to the notion of "support"
  1122. # [23:56] <rniwa> they are the worst properties :(
  1123. # [23:56] <abarth> <t>If the implementation doesn't support the protocol given by
  1124. # [23:56] <abarth> uri-scheme, then return generate a fresh globally unique identifier
  1125. # [23:56] <abarth> and return that value.</t>
  1126. # [23:56] <Hixie> abarth: it has to not be a fresh one, it has to be teh same one each time
  1127. # [23:56] <rniwa> although input.type is pretty bad-ass too
  1128. # [23:57] <Hixie> abarth: so e.g. different documents that are in one multipart/something e-mail all get the same origin, but not the same origin as other e-mails on that same IMAP server
  1129. # [23:57] <Hixie> rniwa: i mean specifically the named property access stuff on <form>
  1130. # [23:57] <rniwa> Hixie: oh, I haven't looked at that one in particular
  1131. # [23:58] <abarth> ok
  1132. # [23:58] <Hixie> rniwa: it makes the reflection stuff look positively mundane
  1133. # [23:58] <jgraham> rniwa: Yeah
  1134. # [23:58] <abarth> that's just a question of when you run the algorithm
  1135. # [23:58] <Hixie> abarth: how so?
  1136. # [23:58] <abarth> you just need to run it once for the whole multi-part package
  1137. # [23:58] <abarth> rather than once for each part of the package
  1138. # [23:58] * Joins: astearns (~anonymous@192.150.22.5)
  1139. # [23:59] <Hixie> abarth: each part has a differnet url
  1140. # [23:59] <Hixie> abarth: so clearly it has to be run for each part
  1141. # [23:59] <abarth> won't they be different origins if you're treating the whole URL as the origin?
  1142. # [23:59] <abarth> maybe i misunderstood
  1143. # Session Close: Sat Oct 22 00:00:00 2011

The end :)