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

Options:

  1. # Session Start: Thu Mar 10 00:00:00 2011
  2. # Session Ident: #whatwg
  3. # [00:01] * Quits: Steve^ (~steve@cpc2-hari1-0-0-cust1111.hari.cable.virginmedia.com) (Ping timeout: 246 seconds)
  4. # [00:04] * Quits: mokush_ (~quassel@188.24.45.18) (Read error: Connection reset by peer)
  5. # [00:07] * Joins: doublec (~chris@unaffiliated/doublec)
  6. # [00:07] * Joins: kennyluck (~kennyluck@114-25-240-26.dynamic.hinet.net)
  7. # [00:09] * Joins: smaug____ (~chatzilla@cs181139127.pp.htv.fi)
  8. # [00:09] * Quits: Amorphous (jan@unaffiliated/amorphous) (Ping timeout: 276 seconds)
  9. # [00:18] * Joins: boogyman (~boogy@cpe-173-171-60-41.tampabay.res.rr.com)
  10. # [00:18] * Quits: boogyman (~boogy@cpe-173-171-60-41.tampabay.res.rr.com) (Changing host)
  11. # [00:18] * Joins: boogyman (~boogy@unaffiliated/boogyman)
  12. # [00:23] * Joins: Rik` (~Rik`@pha75-2-81-57-187-57.fbx.proxad.net)
  13. # [00:23] * Joins: Amorphous (jan@unaffiliated/amorphous)
  14. # [00:24] * Joins: sicking (~chatzilla@nat/mozilla/x-ebhbohmamxnfnudn)
  15. # [00:25] <Hixie> heycam: what's the use case for http://dev.w3.org/2006/webapi/WebIDL/#idl-static-operations ?
  16. # [00:25] <Hixie> are there features in the platform (other than URL) that use this?
  17. # [00:25] <zewt> http://zewt.org/~glenn/test-hashchange-ff4.html browser back after a history.pushState doesn't seem to fire onhashchange in ff4rc1 ... anyone feel like double-checking/confirming before I file it?
  18. # [00:26] <heycam> Hixie, sicking is using it for something in indexed db
  19. # [00:26] <Hixie> aw man
  20. # [00:26] <sicking> yes!
  21. # [00:26] <heycam> you don't like it?
  22. # [00:26] <Hixie> it's so... not like the rest of the platform
  23. # [00:26] <sicking> zewt: are you actually changing the hash?
  24. # [00:26] <zewt> yes
  25. # [00:26] <sicking> oh, i see what you mean
  26. # [00:27] <zewt> history.pushState({}, window.title, url + "#1");
  27. # [00:27] * Joins: dave_levin (~dave_levi@74.125.59.65)
  28. # [00:27] <sicking> zewt: are you sure it's supposed to fire?
  29. # [00:27] <heycam> Hixie, JS has built in methods like that... Object.whatever, e.g.
  30. # [00:27] * Quits: JoePeck (~JoePeck@2620:0:1b00:1f08:fa1e:dfff:fed9:b9a) (Remote host closed the connection)
  31. # [00:27] <sicking> zewt: iirc there's some comment in the code specifically stating that we should not fire
  32. # [00:27] <zewt> i think it is (on browser back, not due to the pushState itself), but i'm not positive so i'm asking here
  33. # [00:27] <sicking> zewt: oooh
  34. # [00:27] <Hixie> heycam: i guess
  35. # [00:27] <zewt> noticed since it broke my app that works in c9
  36. # [00:28] <sicking> zewt: you want it to fire when pressing "back". Not when calling pushState
  37. # [00:28] <Hixie> heycam: yeah, ok
  38. # [00:28] <Hixie> heycam: fair enough
  39. # [00:28] * Joins: JoePeck (~JoePeck@2620:0:1b00:1f08:fa1e:dfff:fed9:b9a)
  40. # [00:28] <sicking> zewt: ?
  41. # [00:28] <Hixie> heycam: nevermind :-)
  42. # [00:28] * Quits: kor (~kor@ip146-53-210-87.adsl2.static.versatel.nl) (Quit: kor)
  43. # [00:28] <heycam> Hixie, ok :)
  44. # [00:28] <zewt> right--browser back is a navigation, regardless of how the history entry was created
  45. # [00:29] <sicking> zewt: file a bug, cc me and ":jlebar"
  46. # [00:29] <sicking> zewt: won't get fixed for FF4, but maybe we can fix it for FF4.0.1
  47. # [00:30] <zewt> :|
  48. # [00:30] <zewt> k
  49. # [00:30] * Quits: workmad3 (~workmad3@cpc3-bagu10-0-0-cust651.1-3.cable.virginmedia.com) (Remote host closed the connection)
  50. # [00:31] <Hixie> zewt: that part of the spec changed back and forth a lot unfortunately
  51. # [00:31] <Hixie> zewt: so browser vendors probably had a hard time keeping track
  52. # [00:31] <sicking> zewt: i know. It's just too much risk to take at this point. The code is done FF4RC was just released
  53. # [00:31] <sicking> which reminds me
  54. # [00:31] <zewt> odd, it would be strange not to fire onhashchange depending on how the history entry was changed (which is what seems to be happening, anyway)
  55. # [00:31] <Hixie> (it's the main reason i am so reluctant to change anything, which is why i'm always pushing back ever on somewhat good ideas)
  56. # [00:32] <Hixie> (when they involve changing rather than adding)
  57. # [00:32] * Quits: matijsb (~Adium@5353CD69.cm-6-4d.dynamic.ziggo.nl) (Quit: Leaving.)
  58. # [00:32] <sicking> hear ye, hear ye. Go download FF4RC and let me know if you find any problems. Or file a bug
  59. # [00:32] <sicking> getfirefox.com/beta
  60. # [00:32] <zewt> ... is the about screen supposed to not have the build identifier anywhere? heh
  61. # [00:33] <zewt> (i'm sure that when I type in "ff4rc1" people will know what I mean, but I usually just copy and paste from that dialog)
  62. # [00:35] <smaug____> zewt: about:support should give all sorts of information, like the build identifier
  63. # [00:36] <zewt> odd to move it, fyi the bug tracker still points at help->about
  64. # [00:36] <smaug____> and I was wrong :)
  65. # [00:36] <smaug____> it doesn't have the buildid
  66. # [00:37] <zewt> FF4 does, but FF3.x doesn't
  67. # [00:37] <zewt> (so if it's not in help->about, there's no version-agnostic place to point people to get it)
  68. # [00:37] * smaug____ doesn't use release builds, so about:support gives a bit different information
  69. # [00:44] * Joins: Peter` (~peter@5350A900.cm-6-1c.dynamic.ziggo.nl)
  70. # [00:44] * Joins: Bass10 (~Bass10@c-76-113-194-7.hsd1.mn.comcast.net)
  71. # [00:45] * Quits: Stikki (~lordstich@dsl-pribrasgw1-ff17c300-80.dhcp.inet.fi) (Ping timeout: 248 seconds)
  72. # [00:45] <zewt> sicking: https://bugzilla.mozilla.org/show_bug.cgi?id=640387
  73. # [00:45] * Quits: Bass10 (~Bass10@c-76-113-194-7.hsd1.mn.comcast.net) (Max SendQ exceeded)
  74. # [00:47] <sicking> Hixie: fwiw, I generally much prefer having a bug filed against me that I can fix in an update, than leave major problems in an API in an effort not to change the spec
  75. # [00:48] <Hixie> sicking: yeah if the change is a major problem it's a different matter, and i'll try to fix it
  76. # [00:48] * Quits: Peter` (~peter@5350A900.cm-6-1c.dynamic.ziggo.nl) (Ping timeout: 246 seconds)
  77. # [00:49] <sicking> Hixie: and it's generally not that hard to track the spec if you just file a bug (and ideally attach a testcase) against existing implementations.
  78. # [00:49] <Hixie> (i was referring more to design preferences)
  79. # [00:49] * Joins: Stikki (~lordstich@dsl-pribrasgw1-ff17c300-80.dhcp.inet.fi)
  80. # [00:50] <Hixie> sicking: i wish i had the bandwidth to do that.
  81. # [00:50] <Hixie> speaking of design preferences, why is URL.createObjectURL() called createObjectURL()?
  82. # [00:50] <sicking> Hixie: as opposed to?
  83. # [00:50] <Hixie> dunno
  84. # [00:50] <Hixie> it returns a URL string, not an Object
  85. # [00:50] <Hixie> createURLForObject()?
  86. # [00:50] <zewt> yay for user-agent sniffing for bug workarounds
  87. # [00:51] <Hixie> i don't really mind what it's called, just curious where the name came from
  88. # [00:51] <sicking> Hixie: it started as createFileURL(), but then we realized that we probably want to use it for streams
  89. # [00:51] <Hixie> yeah i'm writing the Stream version as we speak
  90. # [00:51] <sicking> Hixie: hence s/File/Object/ to make it more generic
  91. # [00:51] <Hixie> fair enough
  92. # [00:52] <sicking> Hixie: I would have been fine with createURLForObject too, but it's essentially shipped at this point, renaming doesn't seem worth it
  93. # [00:52] <Hixie> yeah, not suggesting we change it
  94. # [00:53] <Hixie> as far as names go i'm always happy to defer to whoever is writing the relevant spec
  95. # [00:53] <sicking> Hixie: is there a reason you can't just let streams use URL.createObjectURL?
  96. # [00:53] <Hixie> that's what i'm doing
  97. # [00:53] <zewt> heh i coincidentally have code onscreen to workaround the createObjURL/createBlobURL thing in earlier FF builds right now
  98. # [00:53] <sicking> Hixie: i concur
  99. # [00:53] <sicking> Hixie: sweet!
  100. # [00:53] <Hixie> :-)
  101. # [00:53] <zewt> (since I'm in the "work around browser nits" part of my setup code for the pushState workaround)
  102. # [00:54] <Hixie> i wish pushState was better designed
  103. # [00:54] <sicking> Hixie: i doubly concur :(
  104. # [00:54] <Hixie> i mean, i _wrote the spec_ and i'm not sure i understand it
  105. # [00:54] <Hixie> it's sad
  106. # [00:54] <sicking> Hixie: err.. though.. i owe the list a long email
  107. # [00:55] <zewt> (guess I can remove the createBlobURL compatibility at this point)
  108. # [00:55] <sicking> Hixie: we made a number of changes compared to the spec after talking it over with google
  109. # [00:55] <Hixie> oh, good
  110. # [00:55] <Hixie> maybe it can be saved yet
  111. # [00:55] <sicking> IMHO it's much better now, but still confusing. Though *mostly* confusing in name
  112. # [00:55] <zewt> i'm just happy to have replaceState at all, since that's something that's bugged me for a long time (don't expect to actually get away from hashes any time soon)
  113. # [00:55] * Joins: homata (~homata@58x158x182x50.ap58.ftth.ucom.ne.jp)
  114. # [00:56] <Hixie> if you don't have time to write a long e-mail, please send a short one reminding me to reverse engineer it
  115. # [00:56] <zewt> no longer need to carefully choose which things to stash in the URL based on not wanting to spam the history
  116. # [00:56] * Joins: Peter` (~peter@53516E0C.cm-6-2b.dynamic.ziggo.nl)
  117. # [00:56] <sicking> Hixie: http://hacks.mozilla.org/2011/03/history-api-changes-in-firefox-4/
  118. # [00:57] <Hixie> those changes make sense
  119. # [00:57] <Hixie> having popstate delayed until after load was to make sure you didn't miss any sent before your code was ready, but if you add window.history.state that solves that problem
  120. # [00:58] <Hixie> i'll file a bug to update the spec
  121. # [00:58] <erlehmann> hashes break semantics. i rage every single time friends of mine send me hash urls and i cannot read the content.
  122. # [00:58] <sicking> Hixie: sweet, thanks!
  123. # [00:58] <erlehmann> s/hash/hashbang/gi
  124. # [00:58] * Quits: jwalden (~waldo@nat/mozilla/x-crtkfobynfdcyeop) (Quit: ChatZilla 0.9.86-rdmsoft [XULRunner 1.9.2.14/20110301090359])
  125. # [00:58] <sicking> Hixie: i did realize another big flaw though. Which we did not have time to fix, but which *might* be salvagable
  126. # [00:58] <Hixie> sicking: http://www.w3.org/Bugs/Public/show_bug.cgi?id=12277
  127. # [00:59] <zewt> that's irrelevant for totally javascript-based web apps that don't use anchors at all, and hashes are the only way to do what they do until History is widely-deployed, so you'll have to bear with it for a while yet, heh
  128. # [00:59] <erlehmann> ._.
  129. # [00:59] <zewt> ____________
  130. # [01:00] * Quits: Peter` (~peter@53516E0C.cm-6-2b.dynamic.ziggo.nl) (Ping timeout: 248 seconds)
  131. # [01:00] <sicking> Hixie: the problem is that if you have a page which uses the state argument. And the user clicks a <a href="#hash"> somewhere in the page. That doesn't just scroll, it also creates a history entry that doesn't have the state
  132. # [01:01] * Quits: davidwalsh (~davidwals@75-135-74-55.dhcp.mdsn.wi.charter.com) (Quit: Reading http://davidwalsh.name)
  133. # [01:01] <Hixie> sicking: yeah, you can work around that using onhashchange and replaceState()
  134. # [01:01] <Hixie> sicking: not clear what the right solution is in the API though
  135. # [01:02] <sicking> Hixie: ideally all history entries which just represent hash-navigation should share state
  136. # [01:02] <sicking> Hixie: onhashchange and replaceState isn't really enough
  137. # [01:02] * Quits: smaug____ (~chatzilla@cs181139127.pp.htv.fi) (Ping timeout: 276 seconds)
  138. # [01:02] <erlehmann> sicking, in chrome it is difficult to use the address bar when devs are abusing the history (as you may have seen on hacker news) – new URLs tend to overwrite my input as soon as it loses focus. does mozilla have any remedy for that?
  139. # [01:02] <sicking> Hixie: you can add the state on the newly created history entry, but if you later need to change the state (using replaceState), you can only modify the state for the current entry, not the previous one
  140. # [01:03] <Hixie> sicking: ah, yeah. if you need to share the state that's a bigger problem.
  141. # [01:03] <Hixie> sicking: you can work around that too by storing an index instead of the state, but that's lame, granted.
  142. # [01:03] * Quits: ZombieLoffe (~e@unaffiliated/zombieloffe)
  143. # [01:03] <sicking> Hixie: s/share/modify/ ?
  144. # [01:03] <Hixie> sicking: modify shared state
  145. # [01:04] <sicking> erlehmann: first i hear of it. Don't know how our frontend code will behave
  146. # [01:04] <sicking> Hixie: right, the index thing won't work on restarts
  147. # [01:04] <sicking> Hixie: or getting kicked out of bfcache
  148. # [01:05] <Hixie> sicking: it will if it's an index into localStorage, but granted.
  149. # [01:05] * Joins: Peter` (~peter@53516E0C.cm-6-2b.dynamic.ziggo.nl)
  150. # [01:05] <sicking> Hixie: true
  151. # [01:05] <Hixie> sicking: can you file a bug on this? or add a comment to http://www.w3.org/Bugs/Public/show_bug.cgi?id=12277 ?
  152. # [01:05] <erlehmann> sicking, >http://www.webmonkey.com/2011/03/url-hunter-a-cool-game-but-not-html5/<;
  153. # [01:05] <sicking> Hixie: i'll file a separate bug on it
  154. # [01:06] <Hixie> sicking: thanks
  155. # [01:06] * Quits: kal-EL_ (~jor-EL@host162-196-dynamic.21-79-r.retail.telecomitalia.it) (Quit: ChatZilla 0.9.86 [Firefox 3.6.15/20110303024726])
  156. # [01:06] <erlehmann> oh wait. that is using anchors.
  157. # [01:06] <erlehmann> err fragments
  158. # [01:07] <Hixie> sicking: do you know who has implemented this stuff? were you talking to chrome people at google about this? just curious how much of a compat constraint we have here.
  159. # [01:07] <sicking> erlehmann: wow, that's hilarious
  160. # [01:07] * Quits: JoePeck (~JoePeck@2620:0:1b00:1f08:fa1e:dfff:fed9:b9a) (Remote host closed the connection)
  161. # [01:07] <sicking> Hixie: i was talking to darin fisher and another google guy. The safari people still need to buy into it though.
  162. # [01:08] * Joins: jochen___ (~jochen@nat/google/x-wqlvfumzeldfilmi)
  163. # [01:08] <erlehmann> it makes chrome not want to close tabs immediately. :/
  164. # [01:08] <sicking> Hixie: i.e. we haven't talked to them
  165. # [01:08] <zewt> because animated gifs as favicons wasn't annoying enough :)
  166. # [01:08] * Joins: gavin_ (~gavin@firefox/developer/gavin)
  167. # [01:08] * Joins: JoePeck (~JoePeck@17.244.14.92)
  168. # [01:08] <Hixie> sicking: k
  169. # [01:08] <sicking> Hixie: the most backwards-breaking change is removing the after-onload-popstate event
  170. # [01:09] <erlehmann> sicking, wait until people implement text adventures using the history API. or zsh.
  171. # [01:09] <Hixie> sicking: well if the browsers are doing different things anyway i guess the compat story is weaker and it might be a non-issue.
  172. # [01:09] * Quits: ttepasse (~ttepasse@ip-109-90-161-169.unitymediagroup.de) (Quit: Now time for the weather. Tiffany?)
  173. # [01:09] * Quits: FireFly (~firefly@unaffiliated/firefly) (Quit: swatted to death)
  174. # [01:09] <sicking> Hixie: it seems like most people are filtering out that event though
  175. # [01:09] <Hixie> sicking: yeah
  176. # [01:09] <zewt> sigh I hate window methods that break when moved off of window
  177. # [01:10] <sicking> erlehmann: seems like firefox is doing ok on that page for what it's worth
  178. # [01:10] <sicking> zewt: such as?
  179. # [01:10] <erlehmann> still, a rate limiter would help with this kind of history abuse.
  180. # [01:10] <zewt> (tried to do window.URL = { createObjectURL: window.createObjectURL } in Chrome but will need to be a wrapper instead, oh well)
  181. # [01:10] * Quits: gratz|home (~gratz@cpc7-brig16-2-0-cust362.3-3.cable.virginmedia.com) (Remote host closed the connection)
  182. # [01:11] <sicking> zewt: oh, yeah, due to how the DOM is implemented I'd expect that to break in all browsers
  183. # [01:11] <zewt> it's more annoying for console.log than anything else
  184. # [01:11] <sicking> zewt: i.e. due to it being implemented in C++, I'd expect that not to work
  185. # [01:12] * Quits: jochen__ (~jochen@nat/google/x-qerwuhpkzikjktqp) (Ping timeout: 240 seconds)
  186. # [01:12] * jochen___ is now known as jochen__
  187. # [01:15] * Quits: erlehmann (~erlehmann@82.113.99.1) (Quit: Ex-Chat)
  188. # [01:22] * Joins: jwalden (~waldo@2620:101:8003:200:221:6aff:fe6e:d10)
  189. # [01:25] <gsnedders> Yay host objects
  190. # [01:27] * Quits: jwalden (~waldo@2620:101:8003:200:221:6aff:fe6e:d10) (Ping timeout: 264 seconds)
  191. # [01:28] * Joins: jwalden (~waldo@2620:101:8003:200:221:6aff:fe6e:d10)
  192. # [01:29] * Quits: jwalden (~waldo@2620:101:8003:200:221:6aff:fe6e:d10) (Client Quit)
  193. # [01:29] * Joins: jwalden (~waldo@2620:101:8003:200:221:6aff:fe6e:d10)
  194. # [01:30] <zewt> spoiled by python method binding, heh
  195. # [01:31] <TabAtkins> zewt: That's due to binding, right? If not called through 'window', 'this' is bound to undefined.
  196. # [01:31] <zewt> right
  197. # [01:31] <zewt> heh what the
  198. # [01:31] <zewt> okay this one's weird
  199. # [01:31] <TabAtkins> Yeah, we just need to fix the binding behavior of javascript.
  200. # [01:31] <uf0> what exactly does "initial-scale=1.0" do for mobile?
  201. # [01:31] * Quits: sicking (~chatzilla@nat/mozilla/x-ebhbohmamxnfnudn) (Remote host closed the connection)
  202. # [01:32] <zewt> i do window.history.pushState = null, which works ... but five seconds later, it's reset to the method
  203. # [01:33] <zewt> anyone want to see if I'm going insane? http://zewt.org/~glenn/test-ff4rc1-pushState-assignment.html logs four times; after the last, after a long timer, pushState is back from the dead
  204. # [01:33] <zewt> er, ff4rc1
  205. # [01:35] * dglazkov is now known as dglazkov|away
  206. # [01:38] * Quits: Ankheg (~Ankheg@94.158.194.27) (Read error: Connection reset by peer)
  207. # [01:46] * Quits: ben_h (~ben@128.250.195.142) (Ping timeout: 246 seconds)
  208. # [01:48] * Joins: ben_h (~ben@128.250.195.142)
  209. # [01:50] * Joins: davidb (~davidb@bas1-toronto06-2925211478.dsl.bell.ca)
  210. # [01:56] * Joins: wolfman2000 (~wolfman20@rrcs-70-63-208-211.midsouth.biz.rr.com)
  211. # [02:10] * Quits: davidb (~davidb@bas1-toronto06-2925211478.dsl.bell.ca) (Quit: davidb)
  212. # [02:13] * Joins: MikeSmith (~MikeSmith@EM111-188-129-187.pool.e-mobile.ne.jp)
  213. # [02:13] * Joins: agektmr (~Adium@220.109.219.244)
  214. # [02:22] <gsnedders> TabAtkins: What it's called through doesn't matter, Function.prototype.{apply,call,bind} allow functions to be called with any value as the thisArg
  215. # [02:22] <TabAtkins> gsnedders: Yes, of course.
  216. # [02:23] <TabAtkins> gsnedders: zewt's use was just ripping the function off, without binding or explicit calling.
  217. # [02:23] * Joins: alex_mamel (~koalayumy@pool-173-78-40-174.tampfl.fios.verizon.net)
  218. # [02:31] * Joins: wakaba_ (~wakaba_@122x221x184x68.ap122.ftth.ucom.ne.jp)
  219. # [02:33] * Quits: ap (~ap@2620:0:1b00:1191:226:4aff:fe14:aad6) (Quit: ap)
  220. # [02:34] * Quits: Lachy (~Lachlan@cm-84.215.59.50.getinternet.no) (Quit: Leaving)
  221. # [02:35] * Joins: Lachy (~Lachlan@cm-84.215.59.50.getinternet.no)
  222. # [02:38] * Joins: Ankheg (~Ankheg@94.158.194.27)
  223. # [02:41] * Quits: MikeSmith (~MikeSmith@EM111-188-129-187.pool.e-mobile.ne.jp) (Quit: MikeSmith)
  224. # [02:45] * Quits: ben_h (~ben@128.250.195.142) (Read error: Connection reset by peer)
  225. # [02:45] * Joins: tw2113 (~tw2113@fedora/tw2113)
  226. # [02:45] * Joins: ben_h (~ben@128.250.195.142)
  227. # [02:48] * Quits: jwalden (~waldo@2620:101:8003:200:221:6aff:fe6e:d10) (Ping timeout: 248 seconds)
  228. # [02:49] * Quits: jamesr (~jamesr@nat/google/x-nogfcndthzbleovr) (Quit: jamesr)
  229. # [02:53] * Quits: tndH (~Rob@cpc11-seac19-2-0-cust116.7-2.cable.virginmedia.com) (Quit: ChatZilla 0.9.86-rdmsoft [XULRunner 1.9.0.1/2008072406])
  230. # [03:05] * Quits: cgcardona (~cgcardona@c-24-5-146-71.hsd1.ca.comcast.net) (Quit: zzzzz)
  231. # [03:08] * Quits: mloki (~mloki__@x1-6-00-10-a7-28-f3-47.k765.webspeed.dk) (Quit: Leaving)
  232. # [03:09] * Quits: Stikki (~lordstich@dsl-pribrasgw1-ff17c300-80.dhcp.inet.fi) (Read error: Operation timed out)
  233. # [03:09] * Quits: ezoe (~ezoe@203-140-88-186f1.kyt1.eonet.ne.jp) (Read error: Connection reset by peer)
  234. # [03:11] * Quits: Lachy (~Lachlan@cm-84.215.59.50.getinternet.no) (Quit: Leaving)
  235. # [03:15] * Quits: homata (~homata@58x158x182x50.ap58.ftth.ucom.ne.jp) (Quit: Leaving...)
  236. # [03:16] * Quits: Peter` (~peter@53516E0C.cm-6-2b.dynamic.ziggo.nl) (Ping timeout: 248 seconds)
  237. # [03:23] * Quits: homata_ (~homata_@58x158x182x50.ap58.ftth.ucom.ne.jp) (Remote host closed the connection)
  238. # [03:29] * Joins: Peter` (~peter@53516E0C.cm-6-2b.dynamic.ziggo.nl)
  239. # [03:31] * Joins: homata_ (~homata_@58x158x182x50.ap58.ftth.ucom.ne.jp)
  240. # [03:46] * Joins: ezoe (~ezoe@203-140-89-7f1.kyt1.eonet.ne.jp)
  241. # [03:46] * Joins: miketaylr (~miketaylr@user-160vrg5.cable.mindspring.com)
  242. # [03:50] * Quits: dbaron (~dbaron@nat/mozilla/x-zlncdnsjamkifqgg) (Quit: 8403864 bytes have been tenured, next gc will be global.)
  243. # [03:50] * Joins: Stikki (~lordstich@dsl-pribrasgw1-ff17c300-80.dhcp.inet.fi)
  244. # [03:50] * Joins: cgcardona (~cgcardona@c-24-5-146-71.hsd1.ca.comcast.net)
  245. # [03:52] * Quits: TabAtkins (~tabatkins@nat/mozilla/x-oandydhstmkdqrmk) (Read error: Operation timed out)
  246. # [03:53] * Joins: bentruyman (~bentruyma@24-148-24-69.c3-0.prs-ubr2.chi-prs.il.cable.rcn.com)
  247. # [04:17] * Quits: agektmr (~Adium@220.109.219.244) (Quit: Leaving.)
  248. # [04:21] * Quits: tw2113 (~tw2113@fedora/tw2113) (Quit: I was raided by the FBI and all I got to keep was this lousy quit message!)
  249. # [04:30] * abarth is now known as abarth|afk
  250. # [04:36] * Quits: abe (~abe@38.104.129.126) (Quit: Leaving...)
  251. # [04:37] * Joins: hdhoang (~hdhoang@cmalu.zahe.me)
  252. # [04:40] * Quits: aho (~nya@fuld-4d00d19f.pool.mediaWays.net) (Quit: EXEC_over.METHOD_SUBLIMATION)
  253. # [05:04] * Joins: agektmr (~Adium@2401:fa00:4:1012:fa1e:dfff:fee6:d74e)
  254. # [05:05] * Quits: estes (~aestes@2620:0:1b00:1191:d69a:20ff:fed0:8cd2) (Quit: estes)
  255. # [05:06] * Quits: dave_levin (~dave_levi@74.125.59.65) (Quit: dave_levin)
  256. # [05:06] * Joins: boaz_ (~boaz@c-24-128-79-120.hsd1.ma.comcast.net)
  257. # [05:06] * Quits: boaz (~boaz@75-150-66-254-NewEngland.hfc.comcastbusiness.net) (Disconnected by services)
  258. # [05:06] * boaz_ is now known as boaz
  259. # [05:14] * Joins: tw2113 (~tw2113@fedora/tw2113)
  260. # [05:14] * Quits: bentruyman (~bentruyma@24-148-24-69.c3-0.prs-ubr2.chi-prs.il.cable.rcn.com) (Quit: bentruyman)
  261. # [05:17] * Joins: MikeSmith (~MikeSmith@2001:200:1c0:3602:219:e3ff:fe08:8ad3)
  262. # [05:37] * Quits: boaz (~boaz@c-24-128-79-120.hsd1.ma.comcast.net) (Quit: boaz)
  263. # [05:39] * Quits: nessy (~Adium@74.125.56.18) (Quit: Leaving.)
  264. # [05:55] * Joins: nonge_ (~nonge@p5082BE4C.dip.t-dialin.net)
  265. # [05:56] * Joins: jwalden (~waldo@c-71-202-165-226.hsd1.ca.comcast.net)
  266. # [05:56] * Quits: nonge__ (~nonge@p5082A42B.dip.t-dialin.net) (Read error: Operation timed out)
  267. # [06:03] * Quits: miketaylr (~miketaylr@user-160vrg5.cable.mindspring.com) (Quit: miketaylr)
  268. # [06:05] * Quits: Ankheg (~Ankheg@94.158.194.27) (Quit: Leaving.)
  269. # [06:05] * Joins: nessy (~Adium@175.32.169.221)
  270. # [06:05] * Quits: agektmr (~Adium@2401:fa00:4:1012:fa1e:dfff:fee6:d74e) (Quit: Leaving.)
  271. # [06:07] * Joins: agektmr (~Adium@220.109.219.244)
  272. # [06:10] * Quits: kennyluck (~kennyluck@114-25-240-26.dynamic.hinet.net) (Quit: kennyluck)
  273. # [06:11] * Joins: kennyluck (~kennyluck@114-25-240-26.dynamic.hinet.net)
  274. # [06:11] * Quits: kennyluck (~kennyluck@114-25-240-26.dynamic.hinet.net) (Excess Flood)
  275. # [06:11] * Joins: kennyluck (~kennyluck@114-25-240-26.dynamic.hinet.net)
  276. # [06:30] * Joins: kor (~kor@ip146-53-210-87.adsl2.static.versatel.nl)
  277. # [06:30] * Quits: sephr (~Eli@c-98-235-63-240.hsd1.pa.comcast.net) (Quit: Leaving)
  278. # [06:34] * Quits: roc (~chatzilla@203-97-204-82.dsl.clear.net.nz) (Ping timeout: 246 seconds)
  279. # [06:34] * Quits: agektmr (~Adium@220.109.219.244) (Quit: Leaving.)
  280. # [06:38] * Joins: agektmr (~Adium@220.109.219.244)
  281. # [06:42] * Quits: nessy (~Adium@175.32.169.221) (Read error: Connection reset by peer)
  282. # [06:42] * Joins: nessy (~Adium@175.33.97.72)
  283. # [06:45] * Quits: nessy (~Adium@175.33.97.72) (Read error: Connection reset by peer)
  284. # [06:58] * Quits: FastJack (~fastjack@dumpstr.net) (Read error: Operation timed out)
  285. # [07:00] * Joins: alystair (Alystair@bas1-toronto10-1279559041.dsl.bell.ca)
  286. # [07:00] <alystair> is there any reason the whatwg specs pages are able to bring firefox to its knees
  287. # [07:01] <alystair> looks like it froze it
  288. # [07:02] <alystair> pegging my cpu
  289. # [07:02] * Joins: FastJack (~fastjack@dumpstr.net)
  290. # [07:03] <MikeSmith> alystair: multi-page version: http://whatwg.org/C
  291. # [07:03] <doublec> it does that for the single page version, yes
  292. # [07:04] <alystair> firebug should not link
  293. # [07:04] <alystair> <meta charset=utf-8>
  294. # [07:04] <alystair> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  295. # [07:04] <alystair> <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
  296. # [07:04] <alystair> er
  297. # [07:04] <alystair> whoory
  298. # [07:05] <alystair> sorry hotkey fiesta, I'll leave now, too sleep deprived :S
  299. # [07:05] * Parts: alystair (Alystair@bas1-toronto10-1279559041.dsl.bell.ca)
  300. # [07:06] * Joins: Ankheg (~Ankheg@fs91-201-3-30.dubna-net.ru)
  301. # [07:07] * Quits: ezoe (~ezoe@203-140-89-7f1.kyt1.eonet.ne.jp) (Ping timeout: 255 seconds)
  302. # [07:15] * Quits: doublec (~chris@unaffiliated/doublec) (Quit: Leaving)
  303. # [07:19] * Joins: foolip_ (~foolip@h242n6-g-hn-a11.ias.bredband.telia.com)
  304. # [07:28] * Joins: maikmerten (~merten@ls5dhcp197.cs.uni-dortmund.de)
  305. # [07:29] * Quits: MikeSmith (~MikeSmith@2001:200:1c0:3602:219:e3ff:fe08:8ad3) (Remote host closed the connection)
  306. # [07:29] * Joins: MikeSmith (~MikeSmith@2001:200:1c0:3602:219:e3ff:fe62:88a9)
  307. # [07:31] * Quits: MikeSmith (~MikeSmith@2001:200:1c0:3602:219:e3ff:fe62:88a9) (Client Quit)
  308. # [07:31] * Quits: cgcardona (~cgcardona@c-24-5-146-71.hsd1.ca.comcast.net) (Quit: zzzzz)
  309. # [07:35] * Quits: kennyluck (~kennyluck@114-25-240-26.dynamic.hinet.net) (Quit: kennyluck)
  310. # [07:44] * Quits: virtuelv (~virtuelv_@20.74.9.46.customer.cdi.no) (Ping timeout: 250 seconds)
  311. # [07:53] * Joins: tbassetto (~tbassetto@2a01:e35:2eaf:9c60:f2b4:79ff:fe15:3589)
  312. # [07:57] * Quits: ben_h (~ben@128.250.195.142) (Quit: ben_h)
  313. # [08:01] * Quits: foolip_ (~foolip@h242n6-g-hn-a11.ias.bredband.telia.com) (Read error: Operation timed out)
  314. # [08:03] * Quits: rolandsteiner (~rolandste@2401:fa00:4:1000:225:ff:feee:ff2b) (Quit: rolandsteiner)
  315. # [08:08] * Quits: tbassetto (~tbassetto@2a01:e35:2eaf:9c60:f2b4:79ff:fe15:3589) (Quit: tbassetto)
  316. # [08:21] * Joins: kal-EL_ (~jor-EL@host128-13-dynamic.24-79-r.retail.telecomitalia.it)
  317. # [08:24] * Joins: FireFly (~firefly@unaffiliated/firefly)
  318. # [08:26] * Joins: nessy (~Adium@124-169-147-115.dyn.iinet.net.au)
  319. # [08:36] <Hixie> i need an algorithm that has as input an integer in the range 0..N where N is at least 32, and has as output an RGB triple, such that:
  320. # [08:36] <Hixie> * all the outputs are distinguishable colours
  321. # [08:37] <Hixie> * the outputs are deterministic (a given input always gives the same output)
  322. # [08:37] <Hixie> * the colors in the range 0..n where n < N are clearly distinct
  323. # [08:38] <Hixie> * earlier colours are especially distinct, e.g. the colours of the rainbow
  324. # [08:38] * Hixie ponders
  325. # [08:44] * Quits: wolfman2000 (~wolfman20@rrcs-70-63-208-211.midsouth.biz.rr.com) (Remote host closed the connection)
  326. # [08:46] * Joins: pesla (~pesla@188.202.125.121)
  327. # [08:47] * Joins: danbri (~danbri@ip176-48-210-87.adsl2.static.versatel.nl)
  328. # [08:47] * Quits: danbri_ (~danbri@ip176-48-210-87.adsl2.static.versatel.nl) (Ping timeout: 246 seconds)
  329. # [08:50] * Joins: ben_h (~ben@CPE-58-161-40-52.czqd1.win.bigpond.net.au)
  330. # [08:50] * Quits: ben_h (~ben@CPE-58-161-40-52.czqd1.win.bigpond.net.au) (Client Quit)
  331. # [08:52] * Quits: tw2113 (~tw2113@fedora/tw2113) (Quit: IRC is just multiplayer notepad)
  332. # [08:53] * Joins: annevk (~annevk@5355737B.cm-6-6b.dynamic.ziggo.nl)
  333. # [09:02] <nessy> Hixie: map the first #FFFFFF numbers to n numbers and then re-use those n numbers until you have N?
  334. # [09:03] <Hixie> come again?
  335. # [09:03] <Hixie> oh, by "the colors in the range 0..n where n < N are clearly distinct" i just meant that given any subrange starting from 0, the colours have to be distinct
  336. # [09:03] <Hixie> so e.g. it's not the seven colours of the rainbow followed by 8 shades of red
  337. # [09:04] <Hixie> then 8 shades of green, etc
  338. # [09:04] <Hixie> right now my solution is to just have a hard-coded list of colours for 0..N, but that forces me to have a small N (15 in this case).
  339. # [09:06] * Quits: agektmr (~Adium@220.109.219.244) (Quit: Leaving.)
  340. # [09:08] * Joins: agektmr (~Adium@2401:fa00:4:1012:fa1e:dfff:fee6:d74e)
  341. # [09:09] * Joins: richt (~richt@pat-tdc.opera.com)
  342. # [09:10] * Joins: lumely_ (~lumely@dhcp2-186.slis.tsukuba.ac.jp)
  343. # [09:11] * Joins: rolandsteiner (~rolandste@220.109.219.244)
  344. # [09:12] * Quits: lumely (~lumely@dhcp2-186.slis.tsukuba.ac.jp) (Ping timeout: 276 seconds)
  345. # [09:14] * Joins: Maurice (~ano@77.222.73.150)
  346. # [09:15] * Joins: matjas (~matjas@91.182.222.209)
  347. # [09:16] <annevk> Would love an email client that lets you stick emails together
  348. # [09:16] <Hixie> pine
  349. # [09:16] <Hixie> is what i use
  350. # [09:16] <annevk> For when people use email clients that screw up threading
  351. # [09:16] <Hixie> works like a charm
  352. # [09:17] <annevk> :)d
  353. # [09:17] <Hixie> just select multiple e-mails then hit Apply Reply
  354. # [09:17] <Hixie> (a r)
  355. # [09:17] <annevk> that's a pretty nifty feature, but I meant for when going through my inbox later one thread would actually appear as one
  356. # [09:18] <Hixie> pine does that too :-)
  357. # [09:18] <Hixie> sort by thread groups threads with the same subject
  358. # [09:18] <Hixie> we really need to have a better solution for rotated text in table cells than embedded svg
  359. # [09:18] <annevk> can you also group seemingly unrelated emails? like you can do with apps on your iPhone?
  360. # [09:19] <Hixie> no, but mostly because i don't have an iphone
  361. # [09:19] <Hixie> what do you mean, "group seemingly unrelated emails"?
  362. # [09:19] <annevk> that would be kind of neat too, grouping all feedback for one particular spec
  363. # [09:19] <Hixie> specifically what do you mean by "group"
  364. # [09:19] <annevk> i guess you just create folders and such
  365. # [09:20] <Hixie> you can do select by recipient, zoom: ";trpublic-html[ENTER]z" for example will just limit the view to e-mails from the html list
  366. # [09:20] <annevk> hmm, in Opera Mail a thread is "group" of related emails that can be collapsed into one so you can see a lot more emails than just that thread
  367. # [09:20] <Hixie> you can collapse threads, but you can't collapse multiple unthreaded e-mails in pine, no
  368. # [09:21] <Hixie> but you rarely need to, since you just use the zoom feature all the time instead
  369. # [09:24] * Joins: workmad3 (~workmad3@cpc3-bagu10-0-0-cust651.1-3.cable.virginmedia.com)
  370. # [09:26] * Joins: matijsb (~matijsb@188.205.108.18)
  371. # [09:28] <annevk> very much liking it that Jukka is active on the list now
  372. # [09:29] <Hixie> except for him bringing up issues we resolved literally half a decade ago...
  373. # [09:30] <Hixie> svg is hard
  374. # [09:30] <annevk> apparently our resolutions are not very clear then :)
  375. # [09:30] <Hixie> how the heck do i make it so that the x= y= coordinate i give a <text> refers to the bottom left of the bounding box of the em boxes?
  376. # [09:30] <annevk> it's evident from his emails that he has read the spec
  377. # [09:31] <annevk> Hixie, hmm yeah, the coordinate system always bites me too
  378. # [09:31] <Hixie> i'm staring at the svg 1.1 spec's text chapter with very little understanding
  379. # [09:31] * Quits: agektmr (~Adium@2401:fa00:4:1012:fa1e:dfff:fee6:d74e) (Quit: Leaving.)
  380. # [09:31] <Hixie> all i want to do is have the text in a cell of a table be vertical instead of horizontal
  381. # [09:31] <Hixie> that shouldn't be this hard
  382. # [09:32] <Hixie> i'm even willing to give explicit heights and widths, though i shouldn't hav eto
  383. # [09:32] * Quits: everton (~everton@z167.61-125-41.ppp.wakwak.ne.jp) (Ping timeout: 248 seconds)
  384. # [09:33] <annevk> apply a transform/
  385. # [09:33] <annevk> ?
  386. # [09:33] <annevk> i don't think SVG has vertical text
  387. # [09:33] <Hixie> css transforms aren't implement as non-vendor-specific properties by anyone as far as i can tell
  388. # [09:33] <Hixie> also css transforms don't really work for this since they happen after layout as far as i can tell
  389. # [09:34] <annevk> SVG has transforms
  390. # [09:34] <Hixie> oh, sure, that's how i'm rotating the text
  391. # [09:34] <Hixie> but i don't really see how to get the right rotation
  392. # [09:34] * Quits: kor (~kor@ip146-53-210-87.adsl2.static.versatel.nl) (Quit: kor)
  393. # [09:35] <annevk> oh, transforms in SVG are around 0,0
  394. # [09:35] <annevk> I think
  395. # [09:35] <Hixie> you can pass an explicit coordinate to do the transform around
  396. # [09:35] <Hixie> rotate(angle, cx, cy)
  397. # [09:35] <Hixie> but as far as i can tell you can't use units there
  398. # [09:35] <Hixie> you have to use pixels
  399. # [09:35] <Hixie> which means you have to use viewBox to set the coordinate system
  400. # [09:35] <Hixie> except then my coordinate system isn't square
  401. # [09:35] <Hixie> gah
  402. # [09:36] <annevk> good times? :p
  403. # [09:36] <annevk> maybe you should just stick with an HTML table for now and outsource the SVG bit
  404. # [09:37] * Joins: ZombieLoffe (~e@unaffiliated/zombieloffe)
  405. # [09:37] * Joins: msucan (~robod@92.86.254.114)
  406. # [09:37] * Joins: kor (~kor@ip146-53-210-87.adsl2.static.versatel.nl)
  407. # [09:38] * Joins: virtuelv (~virtuelv_@pat-tdc.opera.com)
  408. # [09:38] * Quits: workmad3 (~workmad3@cpc3-bagu10-0-0-cust651.1-3.cable.virginmedia.com) (Remote host closed the connection)
  409. # [09:39] * Joins: zcorpan (~zcorpan@c-8d9ae355.410-6-64736c14.cust.bredbandsbolaget.se)
  410. # [09:40] <Hixie> ok i give up on svg
  411. # [09:40] <Hixie> what else can i use
  412. # [09:40] <Hixie> i guess i could do it with canvas
  413. # [09:40] <Hixie> that would be ridiculous
  414. # [09:40] <Hixie> but i guess it'd work
  415. # [09:42] * Joins: homata (~homata@58x158x182x50.ap58.ftth.ucom.ne.jp)
  416. # [09:43] <annevk> heycam, don't we have the array type for that?
  417. # [09:44] * Joins: agektmr (~Adium@2401:fa00:4:1012:fa1e:dfff:fee6:d74e)
  418. # [09:44] <annevk> heycam, and which specifications are using it then?
  419. # [09:45] <annevk> Hixie, why do care so much about the presentation?
  420. # [09:45] * Joins: erlehmann (~erlehmann@82.113.99.1)
  421. # [09:45] * Quits: FireFly (~firefly@unaffiliated/firefly) (Quit: swatted to death)
  422. # [09:45] <Hixie> annevk: it's for a home project i'm working on
  423. # [09:47] <annevk> so the last two very short blog posts are found way more interesting on twitter than any of the summary blog posts
  424. # [09:47] <annevk> measured by RTs
  425. # [09:48] <annevk> latest WHATWG Weekly: 1 RT; HTML5 for Web Developers: 20 RT; Validator.nu update: 16 RT
  426. # [09:48] <Hixie> what about hits?
  427. # [09:48] * annevk looks
  428. # [09:48] * Joins: davidhund (~davidhund@78-27-27-74.dsl.alice.nl)
  429. # [09:49] <annevk> Hixie, can you add my email to the analytics account for the frontpage btw?
  430. # [09:49] * annevk is curious
  431. # [09:49] * Hixie wonders how to do that
  432. # [09:49] <Hixie> username?
  433. # [09:50] <annevk> annevankesteren@gmail.com
  434. # [09:51] <annevk> in terms of pageviews it's HTML5 for Web Developers; latest WHATWG Weekly; Validator.nu update
  435. # [09:51] <Hixie> done
  436. # [09:52] <annevk> though even more popular even over the last 10 days is the road to contenteditable
  437. # [09:52] <annevk> and just after HTML5 for Web Developers is HTML is the new HTML5
  438. # [09:52] <annevk> still going strong :)
  439. # [09:53] * Joins: tbassetto (~tbassetto@92.103.127.226)
  440. # [09:53] <Hixie> i don't understand why analytics isn't picking up any of the clicks on the home page
  441. # [09:56] * Quits: davidhund (~davidhund@78-27-27-74.dsl.alice.nl) (Ping timeout: 252 seconds)
  442. # [09:57] * Quits: msucan (~robod@92.86.254.114) (Ping timeout: 252 seconds)
  443. # [09:58] * Joins: msucan (~robod@92.86.254.114)
  444. # [09:58] * Joins: davidhund (~davidhund@78-27-27-74.dsl.alice.nl)
  445. # [10:00] <annevk> http://www.pinkbike.com/news/DNS-Prefetching-implications.html
  446. # [10:02] <annevk> I can't find anything about that <meta> in either HTML or the WHATWG Wiki :/
  447. # [10:03] <annevk> https://developer.mozilla.org/en/controlling_dns_prefetching#Controlling_prefetching_from_content
  448. # [10:03] <Hixie> add it :-)
  449. # [10:04] <annevk> the HTTP header is X- prefixed and the rel value is squatted, makes so much sense...
  450. # [10:05] <Hixie> i love when people ship x- http headers on the basis that that's easier than registering them
  451. # [10:05] <Hixie> and then people argue the problem is with them, not the registration system :-)
  452. # [10:06] <annevk> one of the IETF ADs did put out a draft suggesting people no longer do that
  453. # [10:06] <Hixie> ok so using canvas i've been able to actually get the text to display in the right place, but now i am fighting a web font issue
  454. # [10:06] <Hixie> i guess i have to postpone drawing the canvas until after onload
  455. # [10:06] <annevk> maybe I should advertise that draft somewhere so people actually notice
  456. # [10:06] <Hixie> also getting the font size is non-trivial
  457. # [10:07] <Hixie> "parseInt(getComputedStyle(canvas, '')['font-size'], 10)"
  458. # [10:07] <Hixie> there has to be a better way to do that
  459. # [10:07] <Hixie> like canvas.runtimeStyle.fontSize.px or something
  460. # [10:08] <Hixie> (why didn't we support context.font = 'inherit'?)
  461. # [10:08] <annevk> something like canvas.resolvedValue.values.fontSize.px or some such has been proposed
  462. # [10:08] <annevk> euh, resolvedStyle
  463. # [10:09] <annevk> still waiting for some experimental implementations before drafting everything
  464. # [10:09] <annevk> they have been told to be coming, but it looks like it will be a while
  465. # [10:09] <annevk> though I guess at some point I should just write it all out
  466. # [10:09] <annevk> and see if that has better results
  467. # [10:10] <zcorpan> Hixie: http://lists.w3.org/Archives/Public/public-html/2009Jul/0947.html
  468. # [10:10] * Quits: kor (~kor@ip146-53-210-87.adsl2.static.versatel.nl) (Quit: kor)
  469. # [10:11] <Hixie> zcorpan: that ian guy is such a moron. i wish he had just done what i want instead. :-P
  470. # [10:11] <Hixie> i'm getting weirdly unreliable effects even waiting until onload
  471. # [10:11] <Hixie> do fonts not delay onload?
  472. # [10:11] <zcorpan> fonts should delay onload
  473. # [10:12] <zcorpan> at least in impl, don't recall if there's a spec that says so
  474. # [10:12] * Joins: JoePeck_ (~JoePeck@2620:0:1b00:1f08:fa1e:dfff:fed9:b9a)
  475. # [10:12] * Quits: JoePeck (~JoePeck@17.244.14.92) (Read error: Connection reset by peer)
  476. # [10:12] * JoePeck_ is now known as JoePeck
  477. # [10:14] <zcorpan> Hixie: maybe you should learn from the inherit thing and do what i say next time? :)
  478. # [10:15] <Hixie> not if you don't give use cases :-)
  479. # [10:15] <annevk> http://wiki.whatwg.org/wiki/PragmaExtensions added the x-... thingie. dns-prefetch was already registered
  480. # [10:16] <annevk> http://wiki.whatwg.org/wiki/RelExtensions should we remove archives and such now?
  481. # [10:16] <Hixie> i haven't bothered removing anything from RelExtensions yet because i'm waiting for a decision on what the spec should say
  482. # [10:16] <Hixie> about registering values
  483. # [10:17] <annevk> at this point I don't think I want to accept anything but a wiki-based approach
  484. # [10:18] <annevk> the idea of maintaining it in the spec is somewhat nice, but doesn't work well for experimental values
  485. # [10:18] <Hixie> yeah it's pretty clear to me now that the right solution is to have a wiki page where you can register values, the values time out after a year with no proof of implementation, and the good ones get moved into the spec.
  486. # [10:19] <annevk> sounds reasonable
  487. # [10:19] <Hixie> dunno how to get the chairs to go for that since it's a new proporasl
  488. # [10:19] <Hixie> proposal
  489. # [10:20] <Hixie> (seriously, anyone know how to change the baseline alignment for <text> in svg? i want to align something based on the em box and not the alphabetic baseline, but can't work out how to do it. the spec is very confusing.)
  490. # [10:20] <annevk> so you want the coordinates to be from the bottom or something?
  491. # [10:20] <Hixie> or the top, either would work
  492. # [10:21] <annevk> http://stackoverflow.com/questions/56402/aligning-text-in-svg ?
  493. # [10:21] * Quits: Olemiss (~Olemiss@hst000014739um.geology.olemiss.edu)
  494. # [10:22] <Hixie> style="dominant-baseline:top" doesn't seem to do anything in chrome
  495. # [10:23] <Hixie> let's try firefox
  496. # [10:23] <Hixie> nope
  497. # [10:24] <Hixie> ah because apparently it's spelt "text-before-edge"
  498. # [10:24] <Hixie> how intuitive
  499. # [10:24] <annevk> dominant-baseline is rather intuitive too
  500. # [10:24] <Hixie> this seems to be based on the bounding box not the em box
  501. # [10:24] <Hixie> maybe that's a chrome bug
  502. # [10:25] <Hixie> works in firefox
  503. # [10:26] <Hixie> next question, why isn't it rendering in the color i'm specifying
  504. # [10:26] * Joins: david_carlisle (~davidc@86.188.197.189)
  505. # [10:27] <Hixie> oh, right. i have to set fill="currentColor".
  506. # [10:27] <annevk> that seems like a bug
  507. # [10:28] <annevk> oh no
  508. # [10:28] * Quits: annevk (~annevk@5355737B.cm-6-6b.dynamic.ziggo.nl) (Remote host closed the connection)
  509. # [10:28] * Joins: annevk (~annevk@5355737B.cm-6-6b.dynamic.ziggo.nl)
  510. # [10:28] * Joins: ezoe (~ezoe@112-68-244-84f1.kyt1.eonet.ne.jp)
  511. # [10:29] <Hixie> is there an svg test suite?
  512. # [10:29] <annevk> "The ‘color’ property is used to provide a potential indirect value (currentColor) for the ‘fill’, ‘stroke’, ‘stop-color’, ‘flood-color’ and ‘lighting-color’ properties." but the initial value for 'fill' is black...
  513. # [10:29] <annevk> http://www.w3.org/Graphics/SVG/WG/wiki/Test_Suite_Overview
  514. # [10:29] <Hixie> as far as i can tell, none of these tests test dominant-baseline
  515. # [10:30] <Hixie> gotta wonder how they got out of CR
  516. # [10:30] <Hixie> probably the same way HTML5 is gonna hit REC in 2014...
  517. # [10:30] <annevk> with 275 tests it's pretty clear not every feature is tested
  518. # [10:31] <Hixie> ok, well, hardcoding the font size, the shrink-wrap dimensions, and the baseline offset, i was able to make this work using svg.
  519. # [10:31] <Hixie> i'm going to say that as a platform, we've really dropped the ball on this particular feature.
  520. # [10:34] <annevk> SVG is way hard
  521. # [10:34] <Hixie> well to be fair this really should be solved in css
  522. # [10:34] <Hixie> and i guess it will be with vertical text
  523. # [10:35] <Hixie> though that doesn't handle the slight-angle case
  524. # [10:35] <annevk> in retrospect I think SVG should have been part of "XBL" in some way
  525. # [10:35] <annevk> to prettify semantics, but not to describe applications by itself
  526. # [10:36] <Hixie> yeah
  527. # [10:36] <Hixie> but it was originally intended to replace flash, as i understand it
  528. # [10:37] <Hixie> and now it's too late to do it right
  529. # [10:37] <Hixie> the browser vendors (me included) totally dropped the ball on svg because we ignored it until too late
  530. # [10:37] <annevk> yeah, Adobe pushed for it to replace Flash
  531. # [10:37] <annevk> then bought Flash
  532. # [10:37] <annevk> and stopped caring (mostly)
  533. # [10:37] <annevk> and we got stuck with it
  534. # [10:41] <annevk> but yeah, also our own fault
  535. # [10:41] <annevk> cannot really fix something you're not actively involved in
  536. # [10:45] <annevk> AryehGregor, http://weblogs.mozillazine.org/roc/archives/2011/03/the_myth_of_ful.html seems to indicate the IE blog post was indeed misleading
  537. # [10:45] <annevk> AryehGregor, in tradition with their other blog posts
  538. # [10:53] <Hixie> nn
  539. # [10:54] <annevk> g'night
  540. # [10:56] * Joins: tndH (~Rob@cpc11-seac19-2-0-cust116.7-2.cable.virginmedia.com)
  541. # [11:00] <hsivonen> AryehGregor: you may also be interested in https://bugzilla.mozilla.org/show_bug.cgi?id=638241
  542. # [11:00] <hsivonen> AryehGregor: in that case, Firefox lost to IE on the FishTank not because of hardware acceleration flaws but because of same-origin checks
  543. # [11:01] <hsivonen> so basically, one can't really attribute slowness to what the benchmark says it's testing without actually profiling and seeing what's slow
  544. # [11:05] <jgraham> I am told that a peril of hardware acceleration is that you have to be careful not to regress performance in areas where the CPU is relatively fast
  545. # [11:09] * Joins: svl (~me@ip565744a7.direct-adsl.nl)
  546. # [11:16] * Joins: roc (~chatzilla@121.98.230.221)
  547. # [11:16] * Joins: homa_____ (~homata@58x158x182x50.ap58.ftth.ucom.ne.jp)
  548. # [11:19] * Quits: homata (~homata@58x158x182x50.ap58.ftth.ucom.ne.jp) (Ping timeout: 276 seconds)
  549. # [11:19] * Joins: workmad3 (~workmad3@cpc3-bagu10-0-0-cust651.1-3.cable.virginmedia.com)
  550. # [11:27] * Joins: jeremyselier (~Jeremy@92.103.127.226)
  551. # [11:36] <annevk> I'm back on Android again
  552. # [11:36] <annevk> new iPhone broke in the exact same way
  553. # [11:36] <annevk> I'm still using it through (sometimes by enabling tethering on the Android phone to get things working) as getting it repaired before leaving is not going to happen
  554. # [11:36] <annevk> (It's fully functional apart from the microphone...)
  555. # [11:40] <jgraham> Isn't the microphone quite important on a phone?
  556. # [11:41] <annevk> Well, now phones are computers it's less essential, but it started bothering me enough that I switched.
  557. # [11:42] <annevk> Also, some shop will call me to tell my tent has been repaired and I would like to be able to answer them :)
  558. # [11:46] * Joins: Lachy (~Lachlan@pat-tdc.opera.com)
  559. # [11:52] * Quits: jwalden (~waldo@c-71-202-165-226.hsd1.ca.comcast.net) (Quit: ChatZilla 0.9.86-rdmsoft [XULRunner 1.9.2.14/20110301090359])
  560. # [11:59] * Quits: erlehmann (~erlehmann@82.113.99.1) (Quit: Ex-Chat)
  561. # [12:01] * Quits: roc (~chatzilla@121.98.230.221) (Ping timeout: 246 seconds)
  562. # [12:05] * Quits: twisted (~twisted@205.189.73.45) (Ping timeout: 246 seconds)
  563. # [12:05] * Joins: twisted (~twisted@205.189.73.45)
  564. # [12:09] * Quits: wakaba_ (~wakaba_@122x221x184x68.ap122.ftth.ucom.ne.jp) (Quit: Leaving...)
  565. # [12:13] * Joins: smaug____ (~chatzilla@cs181139127.pp.htv.fi)
  566. # [12:15] * Joins: roc (~chatzilla@121.98.230.221)
  567. # [12:24] * Quits: roc (~chatzilla@121.98.230.221) (Ping timeout: 250 seconds)
  568. # [12:24] * Quits: homa_____ (~homata@58x158x182x50.ap58.ftth.ucom.ne.jp) (Ping timeout: 252 seconds)
  569. # [12:37] * Joins: kor (~kor@83.160.149.179)
  570. # [12:45] * Joins: MikeSmith (~MikeSmith@EM114-48-192-61.pool.e-mobile.ne.jp)
  571. # [12:45] * Quits: Lachy (~Lachlan@pat-tdc.opera.com) (Read error: Connection reset by peer)
  572. # [12:47] * Joins: Lachy (~Lachlan@pat-tdc.opera.com)
  573. # [12:48] * Quits: agektmr (~Adium@2401:fa00:4:1012:fa1e:dfff:fee6:d74e) (Quit: Leaving.)
  574. # [13:04] <annevk> Philip`, is isPointInPath() the only method quite different in browsers with respect to transforms?
  575. # [13:05] <annevk> Philip`, and is Firefox correct per current spec or Opera/WebKit?
  576. # [13:05] * annevk thinks it's the former, but isn't quite sure
  577. # [13:05] * Joins: mhausenblas (~mhausenbl@wg1-nat.fwgal01.deri.ie)
  578. # [13:08] <Philip`> http://philip.html5.org/tests/canvas/suite/tests/results.html#2d.path.isPointInPath.transform.1 suggests Firefox is wrong (since I don't think the spec changed since those tests)
  579. # [13:09] * Quits: seventh (seventh@138.199.77.237) (Quit: ...)
  580. # [13:09] <Philip`> I don't remember any other features with a similar problem
  581. # [13:19] <annevk> ooh
  582. # [13:19] <annevk> <800
  583. # [13:19] * Quits: smaug____ (~chatzilla@cs181139127.pp.htv.fi) (Ping timeout: 276 seconds)
  584. # [13:19] <annevk> Philip`, the spec says transforms do not affect isPointInPath()
  585. # [13:20] <annevk> "The isPointInPath(x, y) method must return true if the point given by the x and y coordinates passed to the method, when treated as coordinates in the canvas coordinate space unaffected by the current transformation"
  586. # [13:21] <Philip`> That's what the tests test
  587. # [13:21] <Philip`> (I think)
  588. # [13:21] * Joins: ttepasse (~ttepasse@ip-109-90-161-169.unitymediagroup.de)
  589. # [13:21] <annevk> ok
  590. # [13:22] <Philip`> ctx.translate(50, 0);
  591. # [13:22] <Philip`> ctx.rect(0, 0, 20, 20);
  592. # [13:22] <Philip`> _assertSame(ctx.isPointInPath(51, 10), true, "ctx.isPointInPath(51, 10)", "true");
  593. # [13:22] <Philip`> etc
  594. # [13:23] <Philip`> (The rect() is affected by the transform, at least since that part of the spec got changed)
  595. # [13:23] <annevk> thanks
  596. # [13:37] * Quits: MikeSmith (~MikeSmith@EM114-48-192-61.pool.e-mobile.ne.jp) (Quit: MikeSmith)
  597. # [13:38] * Quits: stalled (~stalled@unaffiliated/stalled) (Quit: ...)
  598. # [13:45] * Joins: MikeSmith (~MikeSmith@EM111-188-29-222.pool.e-mobile.ne.jp)
  599. # [13:49] * Joins: stalled (~stalled@unaffiliated/stalled)
  600. # [13:53] * Joins: jcranmer (~jcranmer@asimov.csl.tjhsst.edu)
  601. # [13:59] * Quits: thiessenp (~thiessenp@changeme.ebuddy.com) (Quit: thiessenp)
  602. # [14:00] * Joins: thiessenp (~thiessenp@changeme.ebuddy.com)
  603. # [14:02] * Quits: stalled (~stalled@unaffiliated/stalled) (Quit: ...)
  604. # [14:03] * Joins: kennyluck (~kennyluck@114-25-240-26.dynamic.hinet.net)
  605. # [14:04] * Quits: kennyluck (~kennyluck@114-25-240-26.dynamic.hinet.net) (Excess Flood)
  606. # [14:04] * Joins: kennyluck (~kennyluck@114-25-240-26.dynamic.hinet.net)
  607. # [14:09] <zcorpan> need to reboot to install firefox 4 rc on windows 7?
  608. # [14:11] <jgraham> zcorpan: I didn't
  609. # [14:21] * Quits: thiessenp (~thiessenp@changeme.ebuddy.com) (Quit: thiessenp)
  610. # [14:21] <Rik`> zcorpan: that's mandatory to get Bing as a default search :)
  611. # [14:22] * Joins: smaug____ (~chatzilla@cs181139127.pp.htv.fi)
  612. # [14:28] * Joins: boaz (~boaz@c-24-128-79-120.hsd1.ma.comcast.net)
  613. # [14:33] * Quits: boaz (~boaz@c-24-128-79-120.hsd1.ma.comcast.net) (Quit: boaz)
  614. # [14:34] * Quits: workmad3 (~workmad3@cpc3-bagu10-0-0-cust651.1-3.cable.virginmedia.com) (Remote host closed the connection)
  615. # [14:35] * Quits: webr3 (~nathan@host217-42-204-43.range217-42.btcentralplus.com) (Ping timeout: 276 seconds)
  616. # [14:38] * Joins: webr3 (~nathan@host86-142-128-126.range86-142.btcentralplus.com)
  617. # [14:38] * Joins: aroben (~aroben@unaffiliated/aroben)
  618. # [14:40] * Joins: karlcow (~karl@nerval.la-grange.net)
  619. # [14:44] * Joins: davidb (~davidb@corp.tor1.mozilla.com)
  620. # [14:46] * Joins: Bass10 (Bass10@c-76-113-194-7.hsd1.mn.comcast.net)
  621. # [14:47] * Quits: Bass10 (Bass10@c-76-113-194-7.hsd1.mn.comcast.net) (Read error: Connection reset by peer)
  622. # [14:50] * Quits: nessy (~Adium@124-169-147-115.dyn.iinet.net.au) (Quit: Leaving.)
  623. # [14:50] * Quits: kor (~kor@83.160.149.179) (Quit: kor)
  624. # [14:52] * Quits: hdhoang (~hdhoang@cmalu.zahe.me) (Quit: Leaving.)
  625. # [14:56] * Quits: aroben (~aroben@unaffiliated/aroben) (Quit: aroben)
  626. # [15:00] * Joins: aroben (~aroben@unaffiliated/aroben)
  627. # [15:04] <annevk> zcorpan, why is the order of Nodes interfaces the way it is?
  628. # [15:05] * Joins: miketaylr (~miketaylr@206.217.92.186)
  629. # [15:07] <annevk> zcorpan, order of sections that is
  630. # [15:07] * Joins: kor (~kor@ip146-53-210-87.adsl2.static.versatel.nl)
  631. # [15:10] <zcorpan> annevk: don't remember, maybe i copied dom3core
  632. # [15:10] * Quits: karlcow (~karl@nerval.la-grange.net) (Quit: Freedom - to walk free and own no superior.)
  633. # [15:12] <annevk> oh yeah, you did
  634. # [15:12] <annevk> but then it got reshuffled somewhat afterwards
  635. # [15:15] * Joins: plainhao (~plainhao@208.75.85.237)
  636. # [15:19] * Quits: tndH (~Rob@cpc11-seac19-2-0-cust116.7-2.cable.virginmedia.com) (Quit: ChatZilla 0.9.86-rdmsoft [XULRunner 1.9.0.1/2008072406])
  637. # [15:22] * Joins: stalled (~stalled@unaffiliated/stalled)
  638. # [15:22] * Joins: bfrohs (~bfrohs@smtp.forewordinternal.com)
  639. # [15:37] * Quits: Ankheg (~Ankheg@fs91-201-3-30.dubna-net.ru) (Read error: Connection reset by peer)
  640. # [15:46] * Quits: plainhao (~plainhao@208.75.85.237) (Remote host closed the connection)
  641. # [15:47] * Joins: plainhao (~plainhao@208.75.85.237)
  642. # [15:49] * Joins: cgcardona (~cgcardona@c-24-5-146-71.hsd1.ca.comcast.net)
  643. # [15:57] * Joins: eric_carlson (~eric_carl@2620:0:1b00:1191:217:f2ff:fe03:a2e)
  644. # [15:57] <annevk> jgraham, is there some reason why assert_equals does not handle \0?
  645. # [15:59] * Joins: boaz (~boaz@75-150-66-254-NewEngland.hfc.comcastbusiness.net)
  646. # [16:00] * Joins: FireFly (~firefly@unaffiliated/firefly)
  647. # [16:01] * Quits: lrvick (~lrvick@66.96.251.117) (Ping timeout: 248 seconds)
  648. # [16:04] * Quits: matijsb (~matijsb@188.205.108.18) (Ping timeout: 255 seconds)
  649. # [16:04] * Joins: erlehmann (~erlehmann@82.113.99.39)
  650. # [16:04] * Joins: miketayl_r (~miketaylr@206.217.92.186)
  651. # [16:07] * Quits: miketaylr (~miketaylr@206.217.92.186) (Read error: Operation timed out)
  652. # [16:08] * Quits: f1lt3r_bocoup (~f1lt3r@75-150-66-254-NewEngland.hfc.comcastbusiness.net) (Remote host closed the connection)
  653. # [16:10] <jgraham> annevk: It doesn't?
  654. # [16:11] * Quits: smaug____ (~chatzilla@cs181139127.pp.htv.fi) (Ping timeout: 276 seconds)
  655. # [16:11] * Joins: matijsb (~matijsb@188.205.108.18)
  656. # [16:13] <annevk> dunno, something seems to fail somewhat
  657. # [16:15] * miketayl_r is now known as miketaylr
  658. # [16:16] * Quits: cgcardona (~cgcardona@c-24-5-146-71.hsd1.ca.comcast.net) (Quit: zzzzz)
  659. # [16:17] * Joins: lrvick (~lrvick@66.96.251.117)
  660. # [16:17] * Joins: smaug____ (~chatzilla@cs181139127.pp.htv.fi)
  661. # [16:26] <jgraham> annevk: Show me an example and I will try to fix
  662. # [16:28] <annevk> gonna upload one soon
  663. # [16:28] <annevk> working on some new EventSource tests based on suggestions Hixie gave
  664. # [16:36] <smaug____> annevk: do you have tests for XHR2 and "progress" event?
  665. # [16:36] <smaug____> something which tests that "progress" doesn't fire too often
  666. # [16:36] <annevk> no tests for XHR2 at all
  667. # [16:36] <smaug____> k
  668. # [16:36] <annevk> I was planning on writing CORS tests, but did not get around to it
  669. # [16:37] <annevk> timing tests are particularly annoying :/
  670. # [16:37] <smaug____> indeed
  671. # [16:38] * Quits: lrvick (~lrvick@66.96.251.117) (Ping timeout: 255 seconds)
  672. # [16:41] <annevk> so far I have found one bug in WebKit
  673. # [16:41] <annevk> it does not parse the retry field correctly
  674. # [16:42] <annevk> not sure this was worth all the trouble
  675. # [16:42] * Quits: jeremyselier (~Jeremy@92.103.127.226) (Quit: jeremyselier)
  676. # [16:43] * Quits: erlehmann (~erlehmann@82.113.99.39) (Quit: Ex-Chat)
  677. # [16:45] * Joins: jeremyselier (~Jeremy@92.103.127.226)
  678. # [16:45] <annevk> jgraham, http://tc.labs.opera.com/apis/EventSource/format-field-parsing.htm
  679. # [16:46] <zewt> heh, opera throws a nice exception if you dispatch without initEvent
  680. # [16:46] <zewt> Error:
  681. # [16:46] <annevk> it's very interoperable I hear
  682. # [16:47] <zewt> are there interoperability concerns with having the null string as an error message? :)
  683. # [16:47] * Quits: zcorpan (~zcorpan@c-8d9ae355.410-6-64736c14.cust.bredbandsbolaget.se) (Quit: zcorpan)
  684. # [16:48] <annevk> well it should at least have a code and such
  685. # [16:48] * Joins: workmad3 (~workmad3@cspool123.cs.man.ac.uk)
  686. # [16:52] <annevk> zewt, where does DOM Events require a non-null event name?
  687. # [16:52] * Quits: _tim (~tim@bacon2.burri.to) (Remote host closed the connection)
  688. # [16:53] <annevk> it's defined as such
  689. # [16:53] <annevk> "The name of the event type. The name must be a DOMString. Specifications that define events, content authors, and authoring tools must use case-sensitive event type names that do not contain whitespace characters."
  690. # [16:53] <annevk> which does not say much at all
  691. # [16:53] <jgraham> annevk: I'm not sure what bug I'm supposed to see
  692. # [16:54] <zewt> i remember that being one of the things you explicitly changed in core
  693. # [16:54] <zewt> here it is, in dispatchEvent
  694. # [16:54] <annevk> jgraham, I think the problem might be that under got it says "\0" rather than using an actual zero byte
  695. # [16:54] <zewt> UNSPECIFIED_EVENT_TYPE_ERR: Raised if the Event.type was not specified by initializing the event before dispatchEvent was called. Specification of the Event.type as null or an empty string must also trigger this exception.
  696. # [16:55] <annevk> but it does allow specifications to define events that are the empty string
  697. # [16:55] <jgraham> annevk: That seems more likely to be either a bug in the browser or a problem with your test, no?
  698. # [16:55] <annevk> anyway, there's a separate thread on that too
  699. # [16:56] <annevk> jgraham, could be a problem with the test I suppose
  700. # [16:56] <zewt> i know
  701. # [16:56] <zewt> just tying the two issues together--they should either both go or both stay
  702. # [16:56] <jgraham> annevk: (I don't think it makes a difference but encodeURIComponent seems more appropriate than encodeURI)
  703. # [16:57] <zewt> (removing the null string restriction and then, as a side-effect of that, having to add a new "initEvent was called" flag would just be silly)
  704. # [16:57] <zewt> well strictly speaking, initEvent("", ...) doesn't actually throw by D3E's rules
  705. # [16:57] <annevk> zewt, well that is what Gecko is doing at the moment
  706. # [16:58] <annevk> zewt, they do not have the dispatchEvent() limitation but do have the requirement to invoke initEvent()
  707. # [16:58] <zewt> yeah I think I saw that
  708. # [16:58] * Quits: maikmerten (~merten@ls5dhcp197.cs.uni-dortmund.de) (Remote host closed the connection)
  709. # [16:58] <zewt> that's the only browser doing that, right?
  710. # [16:58] <annevk> could be
  711. # [16:58] <zewt> whereas webkit has the null-string check (iirc)
  712. # [16:58] <annevk> but they're happy to change
  713. # [16:58] <annevk> and Opera is too
  714. # [16:59] <zewt> yeah since no real webpages actually want to send the null string as an event i'd hope nobody would dig in their heels on this
  715. # [16:59] <smaug____> ok, as I expected, Chrome does fire "progress" occasionally way too often
  716. # [17:00] <smaug____> 3ms, when it should be every 50ms
  717. # [17:00] <zewt> (i mean, there are no compat issues or anything, this is just a straightforward simplification for everyone)
  718. # [17:02] <annevk> except when you believe in the magical DOM Level 3 Events it seems
  719. # [17:02] <annevk> it defies logic
  720. # [17:03] <zewt> still havn't seen any response from the d3e editor to suggest he'll actually budge on anything ever, heh :|
  721. # [17:03] <annevk> he's on vacation I'm told
  722. # [17:03] <zewt> ah fair enough
  723. # [17:03] <annevk> I asked Ms2ger to take care of pushing to publish DOM Core when I'm goen
  724. # [17:03] <smaug____> yeah, shepazu is on vacation
  725. # [17:03] <annevk> gone*
  726. # [17:03] <annevk> Art is not really willing to do it without a green light from Doug, which is fair enough
  727. # [17:05] <zewt> hopefully d3e will eventually just become a spec for the actual events (the major bulk of that spec) and reference dom core for the underlying event model ... but well heh
  728. # [17:06] * Joins: fishd_ (~fishd@nat/google/x-mixqcfmppbssqeae)
  729. # [17:06] <zewt> i mean i agree that having two "parallel" normative specs for the same thing, written completely differently, is ... weird
  730. # [17:06] <smaug____> something like that would be good. Need to just be careful to keep the specs readable
  731. # [17:07] * Joins: Ankheg (~Ankheg@94.158.194.27)
  732. # [17:07] <smaug____> Hmm, though, do events need to be in DOM Web Core
  733. # [17:08] <smaug____> mutation events should be there, if we want to keep supporting them
  734. # [17:08] * Quits: Maurice (~ano@77.222.73.150) (Quit: Disconnected...)
  735. # [17:08] <annevk> it's nice that the event model is there
  736. # [17:08] <smaug____> why?
  737. # [17:09] <annevk> http://annevankesteren.nl/2011/03/dom-core-events (and some emails on a mailing list which I can't find)
  738. # [17:09] * Quits: 13WAAAAA0 (~fishd@nat/google/x-givjmacdngahplys) (Ping timeout: 248 seconds)
  739. # [17:10] <smaug____> .createEvent is a valid reason
  740. # [17:10] * Quits: virtuelv (~virtuelv_@pat-tdc.opera.com) (Ping timeout: 248 seconds)
  741. # [17:10] <smaug____> though if we move to new FooEvent, that reason would be gone
  742. # [17:11] <annevk> the method would still be there...
  743. # [17:11] <smaug____> sure, and DOM Core could just refer to Events spec for the result
  744. # [17:11] <zewt> seems like it'd make more sense to define an interface that exposes createEvent, which document (and hopefully WorkerGlobalScope) is a user of--so the event API doesn't have to know about document
  745. # [17:12] <smaug____> I'm mainly just worried about getting another monster spec which includes everything between earth and sky
  746. # [17:12] <zewt> (don't personally care whether events are in DOM Core or a split out DOM Core Events or whatever)
  747. # [17:13] <jgraham> DOM Core hardly seems to be a monster spec
  748. # [17:13] <smaug____> not yet, at least
  749. # [17:14] <annevk> what do you mean not yet?
  750. # [17:14] <jgraham> How much is missing?
  751. # [17:14] <annevk> goals and issues are pretty clearly identified: http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#goals
  752. # [17:14] <smaug____> well, if there are features creeping in ...
  753. # [17:14] <zewt> well, there's a big difference between a huge spec that defines a single topic (D3E) and one that defines a bunch of very clearly-separated topics (eg. HTML)
  754. # [17:15] * Joins: timb (~tim@bacon2.burri.to)
  755. # [17:15] <smaug____> I said "I'm just worried"
  756. # [17:15] <annevk> D3E is a bunch of different topics too imo
  757. # [17:15] <annevk> more so than Events and Nodes are...
  758. # [17:15] <zewt> d3e seems like two topics: the event model and the element events that use it
  759. # [17:15] <smaug____> D3E has several topics, sure
  760. # [17:15] <zewt> (the latter can be broken down further, of course)
  761. # [17:15] <annevk> mouse events are way different from keyboard events
  762. # [17:15] <smaug____> keyevents could be in a separate document
  763. # [17:16] <annevk> mouse events should be tied with 'pointer-events' and hit testing
  764. # [17:17] <smaug____> possibly. And the DOM Events could contain just the event dispatching, which isn't tied to DOM tree, so it wouldn't need to be in DOM core
  765. # [17:17] <annevk> there's two infrastructure things I'd consider for DOM Core
  766. # [17:17] <annevk> the event loop and event handler attributes
  767. # [17:17] <annevk> so you can avoid depending on HTML5 if you need those
  768. # [17:17] <annevk> smaug____, the event model is very small
  769. # [17:18] <annevk> smaug____, not really worth separating it out and duplicating all the boilerplate, duplicating the references required, cross dependency, etc.
  770. # [17:19] <zewt> well, if you remove all of the event definitions from DOM Events, and give it DOM Core's event model description, then it simply becomes a DOM Core Events :)
  771. # [17:19] <zewt> (remove as in move to relevant sections elsewhere)
  772. # [17:19] <smaug____> yeah, DOM Core Events could make sense
  773. # [17:19] <annevk> the events model is 5 pages out of 50
  774. # [17:19] <smaug____> so
  775. # [17:20] <smaug____> ?
  776. # [17:20] <annevk> so it would just create a bunch of boilerplate and editorial work for no good reason
  777. # [17:20] <annevk> as you always need DOM Core for DOM Events and vice versa
  778. # [17:20] <annevk> exceptions are shared, tree model is shared
  779. # [17:20] <annevk> Node inherits from EventTarget
  780. # [17:20] * Joins: Martijnc (~Martijnc@91.176.24.181)
  781. # [17:20] <annevk> and Document has createEvent()
  782. # [17:21] <annevk> compared with the 500-1000 pages HTML has, I'm really quite pleased it's only 50
  783. # [17:21] <annevk> 46 even
  784. # [17:22] * Joins: erlehmann (~erlehmann@82.113.99.39)
  785. # [17:23] * Quits: erlehmann (~erlehmann@82.113.99.39) (Remote host closed the connection)
  786. # [17:23] <smaug____> the old level 2 specs are/were quite readable (I'm not talking about whether they are good specs).
  787. # [17:23] <zewt> annevk: any reason not to define createEvent as an interface implemented by Document? seems more consistent
  788. # [17:23] <annevk> zewt, that's not how it's implemented
  789. # [17:24] <zewt> don't know what user-visible difference it makes
  790. # [17:24] <annevk> zewt, we could still define it in a separate document and make it behave the same as it does now though
  791. # [17:24] <annevk> I just don't see the point
  792. # [17:24] <smaug____> there is certainly implementations which implement DocumentEvent interface
  793. # [17:25] * Quits: plainhao (~plainhao@208.75.85.237) (Quit: plainhao)
  794. # [17:25] <annevk> sure
  795. # [17:25] <smaug____> s/is/are/
  796. # [17:25] * Joins: plainhao (~plainhao@208.75.85.237)
  797. # [17:25] <zewt> just sort of odd that everything else in there is an interface; that one being different leads to the odd "introduced later ..." note in 4.4, and (although it doesn't really matter yet) means WorkerGlobalScope can't implement it
  798. # [17:26] <zewt> minor thing, just curious
  799. # [17:26] <annevk> WorkerGlobalScope could define a similar method
  800. # [17:27] <annevk> or something similar, no real need to worry about that now
  801. # [17:28] <annevk> but rather than focusing on splitting it out can't we instead focus on the contents for a while?
  802. # [17:28] <annevk> or is it being in the same document the real problem here?
  803. # [17:28] * Quits: matijsb (~matijsb@188.205.108.18) (Quit: Leaving.)
  804. # [17:29] * Joins: myakura (~myakura@p1182-ipbf4006marunouchi.tokyo.ocn.ne.jp)
  805. # [17:29] * Joins: tw2113 (~tw2113@fedora/tw2113)
  806. # [17:31] * Joins: lrvick (~lrvick@66.96.251.117)
  807. # [17:31] <annevk> the equivalent text in DOM Level 3 Events is over fifteen pages
  808. # [17:32] * Quits: Lachy (~Lachlan@pat-tdc.opera.com) (Quit: Leaving)
  809. # [17:32] <annevk> not counting boilerplate, graphs, and definitions
  810. # [17:32] <annevk> if you count those it's over 30
  811. # [17:33] <zewt> nothing discourages reporting bugs quite like a summary zero-discussion wontfix...
  812. # [17:33] * zewt grumbles
  813. # [17:34] <annevk> ?
  814. # [17:34] <zewt> totally off-topic grumbling :)
  815. # [17:34] <annevk> i was already afraid I did something wrong :)
  816. # [17:34] <zewt> sorry :P
  817. # [17:34] * Quits: FastJack (~fastjack@dumpstr.net) (Read error: Operation timed out)
  818. # [17:35] <zewt> seems like the urge to split things into tiny chicklet specs is sort of overcompensation for previous giganto-specs
  819. # [17:36] <zewt> since it's not like specs are python modules and splitting them apart is without cost
  820. # [17:37] <annevk> just http://www.w3.org/TR/DOM-Level-3-Core/core.html is already twice as long as DOM Core is today
  821. # [17:37] * Joins: FastJack (~fastjack@dumpstr.net)
  822. # [17:37] <annevk> so the mega spec concern really seems unjustified
  823. # [17:38] <annevk> that page is 95 pages
  824. # [17:38] <annevk> DOM Core is 46
  825. # [17:38] <annevk> that page is not all of DOM Level 3 Core
  826. # [17:38] <annevk> DOM Core also includes the event model
  827. # [17:38] <zewt> even if dom core defined 10x as many features and was 10x as long, I wouldn't be worried--as long as they remain clearly separated with clear relationships between the features
  828. # [17:38] * Joins: pesla_ (~pesla@188.202.125.121)
  829. # [17:38] * Quits: pesla_ (~pesla@188.202.125.121) (Client Quit)
  830. # [17:39] <annevk> me neither, but that seems unlikely to happen and the criticism is not backed with any facts
  831. # [17:39] * Quits: miketaylr (~miketaylr@206.217.92.186) (Remote host closed the connection)
  832. # [17:39] * Joins: miketaylr (~miketaylr@206.217.92.186)
  833. # [17:40] * Quits: pesla (~pesla@188.202.125.121) (Ping timeout: 255 seconds)
  834. # [17:43] * Joins: TabAtkins (~tabatkins@nat/google/x-nqbgtgvkgjvrtsso)
  835. # [17:43] * Quits: davidhund (~davidhund@78-27-27-74.dsl.alice.nl) (Quit: davidhund)
  836. # [17:49] <smaug____> DOM 2 Core is around 50 pages, and that is still quite readable, especially because that spec doesn't contain too many unrelated features
  837. # [17:50] <jgraham> The main reason DOM 2 Core is readable is that it doesn't really define anything in much detail
  838. # [17:51] * Quits: jochen__ (~jochen@nat/google/x-wqlvfumzeldfilmi) (Remote host closed the connection)
  839. # [17:52] <annevk> I get 48 for DOM Level 2 Core
  840. # [17:53] <annevk> that's still two pages more than DOM Core
  841. # [17:53] <annevk> and it doesn't define the event model and lacks a bunch of detail
  842. # [17:53] <annevk> and that is also not counting all the appendices
  843. # [17:54] <annevk> because the count for DOM Core includes references, glossary, acknowledgments, etc.
  844. # [17:54] <smaug____> ok, if dom web core can be kept the size it is now, then good
  845. # [17:54] <smaug____> although the event model isn't strictly core stuff
  846. # [17:54] <zewt> i really don't think it's the size that's the issue
  847. # [17:55] <annevk> I don't really see the issue with that either
  848. # [17:55] <smaug____> size is part of the readability issue
  849. # [17:55] <smaug____> which html spec has now
  850. # [17:55] <zewt> well that's a presentation issue, splitting specs isn't the only possible way to deal with that
  851. # [17:56] <zewt> really need an html spec rendering that's one-page but doesn't choke every browser, heh
  852. # [17:56] <smaug____> that is true
  853. # [17:56] <smaug____> yeah :)
  854. # [17:56] <zewt> it's also slightly ironic to have an html spec that kills browsers :)
  855. # [17:57] <annevk> I suspect DOM Core will grow somewhat as there are a few missing details and we might want to add a little more advice for authors
  856. # [17:57] <annevk> but I can't see it going from 46 to 800 pages or so
  857. # [17:57] * Quits: richt (~richt@pat-tdc.opera.com) (Remote host closed the connection)
  858. # [17:58] <annevk> and we can always split it then
  859. # [17:58] <annevk> at this point complaining about size is illogical given that it's smaller than pretty much every other spec
  860. # [17:58] <annevk> and contains more
  861. # [18:00] * Joins: jochen__ (~jochen@nat/google/x-jofwbvjuadsecoak)
  862. # [18:01] <smaug____> I didn't complain the size atm
  863. # [18:01] <smaug____> I said "I'm just worried ...."
  864. # [18:02] <smaug____> and also, for me events aren't part of the core
  865. # [18:02] <smaug____> but yet, I'm happy to see web dom core which removes lots of crazy features of DOM 3 Core
  866. # [18:03] <zewt> doesn't really remove anything, right? just makes it ... comprehensible
  867. # [18:03] <annevk> it removes a lot of unimplemented features (and some implemented ones)
  868. # [18:03] <annevk> see the historical section
  869. # [18:04] * Joins: cgcardona (~cgcardona@adsl-99-154-225-102.dsl.pltn13.sbcglobal.net)
  870. # [18:05] <zewt> i have, other than EventException it's just minor changes, not removed features
  871. # [18:05] * Joins: Maurice (copyman@5ED573FA.cm-7-6b.dynamic.ziggo.nl)
  872. # [18:05] <jgraham> Attribute ninodes
  873. # [18:05] <jgraham> s/ni//
  874. # [18:05] <zewt> sounds like a medical condition
  875. # [18:07] <annevk> zewt, DOM 3 Core, not DOM 3 Events
  876. # [18:08] <zewt> http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-events ?
  877. # [18:09] * Joins: nimbupani (~Adium@c-24-18-47-160.hsd1.wa.comcast.net)
  878. # [18:09] <annevk> http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-core
  879. # [18:09] <zewt> only "feature removal" (if it can even be called that) listed there is EventException
  880. # [18:10] <zewt> oh, havn't even looked at that stuff
  881. # [18:11] * Quits: TabAtkins (~tabatkins@nat/google/x-nqbgtgvkgjvrtsso) (Read error: Operation timed out)
  882. # [18:12] * Joins: cying (~cying@c-24-23-135-168.hsd1.ca.comcast.net)
  883. # [18:12] * cying is now known as charlietuna
  884. # [18:14] <zewt> annevk: nitpick on Goals: one of the goals of DOM Core is to "Import bits of HTML5 that ought to be in DOM Core", which is sort of recursive
  885. # [18:16] <TabAtkins_> What the *hell* is bug 12284 going on about?
  886. # [18:19] * Quits: workmad3 (~workmad3@cspool123.cs.man.ac.uk) (Remote host closed the connection)
  887. # [18:20] * Joins: zdobersek (~zan@90.157.245.175)
  888. # [18:20] <miketaylr> you know "C" parsing of ... words :/
  889. # [18:21] <TabAtkins_> I can only guess that he has some fragile/stupid program that tests whether a document is HTML/XML by testing the length of some "word".
  890. # [18:21] <miketaylr> just use .htm, BAM
  891. # [18:22] <miketaylr> assuming that word is a file extension, who knows
  892. # [18:22] <TabAtkins_> If he's using extensions, yeah. But if that would fix his program, then I guess .doc would register as xml?
  893. # [18:22] <TabAtkins_> In any case, it's retarded and I marked it as invalid.
  894. # [18:22] <miketaylr> maybe we need a resolution "RESOLVED RETARDED"
  895. # [18:23] <jgraham> Curiously I was going to suggest the same thing
  896. # [18:23] * Quits: ezoe (~ezoe@112-68-244-84f1.kyt1.eonet.ne.jp) (Ping timeout: 276 seconds)
  897. # [18:23] * Joins: pesla (~pesla@ip51cc03a5.speed.planet.nl)
  898. # [18:24] <jgraham> Although to be fair RESOLEVED: DON'T HIRE REPORTER AS C PROGRAMMER is more accurate
  899. # [18:24] <TabAtkins_> hahaha
  900. # [18:25] <zewt> that's a tag stackoverflow needs badly
  901. # [18:25] <zewt> "unhirable"
  902. # [18:25] <zewt> or at the very least, "doomed"
  903. # [18:31] * Quits: zdobersek (~zan@90.157.245.175) (Ping timeout: 252 seconds)
  904. # [18:34] * Quits: tw2113 (~tw2113@fedora/tw2113) (Quit: Hi, I'm a quit message virus. Please replace your old line with this line and help me take over the world of IRC.)
  905. # [18:34] * Quits: plainhao (~plainhao@208.75.85.237) (Remote host closed the connection)
  906. # [18:37] * Quits: MikeSmith (~MikeSmith@EM111-188-29-222.pool.e-mobile.ne.jp) (Quit: MikeSmith)
  907. # [18:37] * Joins: sw33tlull4by (~sw33t@188-192-160-196-dynip.superkabel.de)
  908. # [18:38] * Parts: sw33tlull4by (~sw33t@188-192-160-196-dynip.superkabel.de)
  909. # [18:39] * Joins: TabAtkins (~tabatkins@nat/google/x-vfjngnwalvklozeb)
  910. # [18:40] * Quits: david_carlisle (~davidc@86.188.197.189) (Ping timeout: 240 seconds)
  911. # [18:41] * Joins: MikeSmith (~MikeSmith@EM111-188-29-222.pool.e-mobile.ne.jp)
  912. # [18:50] * Joins: zdobersek (~zan@cpe-46-164-26-165.dynamic.amis.net)
  913. # [18:50] * Quits: pesla (~pesla@ip51cc03a5.speed.planet.nl) (Quit: Computer has gone to sleep.)
  914. # [18:51] * Joins: saba (~foo@unaffiliated/saba)
  915. # [18:54] * Quits: ttepasse (~ttepasse@ip-109-90-161-169.unitymediagroup.de) (Quit: Now time for the weather. Tiffany?)
  916. # [18:56] * Quits: TabAtkins (~tabatkins@nat/google/x-vfjngnwalvklozeb) (Ping timeout: 246 seconds)
  917. # [19:03] <TabAtkins_> Urgh, tablelayout is such a horrible decisions. >_<
  918. # [19:03] <TabAtkins_> Also: Hixie, I apologize for submitting the winning table example CP.
  919. # [19:09] * Quits: rolandsteiner (~rolandste@220.109.219.244) (Ping timeout: 260 seconds)
  920. # [19:13] * Quits: zdobersek (~zan@cpe-46-164-26-165.dynamic.amis.net) (Read error: Operation timed out)
  921. # [19:13] <TabAtkins_> Hmm, the spec doesnt' seem to define which actions will focus an element, beyond sequential focus navigation.
  922. # [19:13] <TabAtkins_> In specific, there's some incompatibility between browsers over whether clicking an <a href> focuses it.
  923. # [19:14] * Joins: MrOpposite (~mropposit@unaffiliated/mropposite)
  924. # [19:15] * Joins: zdobersek (~zan@cpe-46-164-5-104.dynamic.amis.net)
  925. # [19:15] * Quits: smaug____ (~chatzilla@cs181139127.pp.htv.fi) (Read error: Operation timed out)
  926. # [19:15] * Joins: rolandsteiner (~rolandste@2401:fa00:4:1000:225:ff:feee:ff2b)
  927. # [19:17] * Joins: onar_ (~onar@c-67-161-24-105.hsd1.ca.comcast.net)
  928. # [19:18] <AryehGregor> TabAtkins_, presumably the spec doesn't want to get too heavily into UI stuff.
  929. # [19:20] <TabAtkins_> That's what I suspect as well, but I have an internal developer complaining at me about it. ^_^
  930. # [19:26] * Quits: zdobersek (~zan@cpe-46-164-5-104.dynamic.amis.net) (Quit: Leaving.)
  931. # [19:29] * Joins: pesla (~pesla@ip51cc03a5.speed.planet.nl)
  932. # [19:30] * Joins: weinig (~weinig@17.203.14.176)
  933. # [19:31] * Joins: aho (~nya@fuld-590c74ed.pool.mediaWays.net)
  934. # [19:31] <aho> "FFS, the HTMLWG just decided to allow presentation tables as valid HTML."
  935. # [19:31] <aho> wtf?
  936. # [19:31] * Joins: foolip_ (~foolip@h242n6-g-hn-a11.ias.bredband.telia.com)
  937. # [19:32] <TabAtkins_> See the decision on issue 130
  938. # [19:33] <aho> got a link?
  939. # [19:33] <TabAtkins_> http://lists.w3.org/Archives/Public/public-html/2011Mar/0245.html
  940. # [19:34] <aho> ty
  941. # [19:34] * Quits: drunknbass (~drunknbas@76.91.255.83) (Ping timeout: 246 seconds)
  942. # [19:37] <AryehGregor> Okay, so am I correct that when hg tries to merge something, it seems to be starting up vim, and then if I quit vim without saving because I have no interest in using it for merge resolution and just want conflict markers, it does some kind of braindead merge and destroys my work or something like that?
  943. # [19:38] <AryehGregor> Or is this somehow nondefault?
  944. # [19:39] * AryehGregor tries setting merge = internal:merge, but really doesn't appreciate the "do some mysterious and probably destructive merge without actually asking me"
  945. # [19:39] <AryehGregor> I really hate hg.
  946. # [19:39] <AryehGregor> Ah, hg rollback works.
  947. # [19:39] <AryehGregor> Maybe.
  948. # [19:39] <AryehGregor> No, not really.
  949. # [19:39] * AryehGregor restores from backup
  950. # [19:42] * Quits: mhausenblas (~mhausenbl@wg1-nat.fwgal01.deri.ie) (Quit: mhausenblas)
  951. # [19:42] * Joins: MikeSmith_ (~MikeSmith@EM111-188-22-12.pool.e-mobile.ne.jp)
  952. # [19:43] <AryehGregor> Hmm, maybe it was only the output file that conflicted, not the source . . . whatever.
  953. # [19:43] * aroben is now known as aroben|lunch
  954. # [19:45] * Quits: MikeSmith (~MikeSmith@EM111-188-29-222.pool.e-mobile.ne.jp) (Ping timeout: 255 seconds)
  955. # [19:45] * MikeSmith_ is now known as MikeSmith
  956. # [19:46] * Quits: charlietuna (~cying@c-24-23-135-168.hsd1.ca.comcast.net) (Quit: charlietuna)
  957. # [19:47] * Joins: ap (~ap@2620:0:1b00:1191:226:4aff:fe14:aad6)
  958. # [19:54] * Joins: plainhao (~plainhao@208.75.85.237)
  959. # [19:56] * Joins: dave_levin (~dave_levi@74.125.59.73)
  960. # [19:58] * Quits: myakura (~myakura@p1182-ipbf4006marunouchi.tokyo.ocn.ne.jp) (Remote host closed the connection)
  961. # [19:59] * Joins: dbaron (~dbaron@nat/mozilla/x-zklvrhgffcniqqli)
  962. # [20:01] * Quits: tbassetto (~tbassetto@92.103.127.226) (Quit: tbassetto)
  963. # [20:03] * Joins: drunknbass (~drunknbas@76.91.255.83)
  964. # [20:04] <foolip_> jgraham, are you around?
  965. # [20:09] * Joins: Steve^ (~steve@cpc2-hari1-0-0-cust1111.hari.cable.virginmedia.com)
  966. # [20:09] * Joins: erlehmann (~erlehmann@82.113.99.39)
  967. # [20:14] * Joins: maikmerten (~maikmerte@port-92-201-187-173.dynamic.qsc.de)
  968. # [20:15] * Quits: jeremyselier (~Jeremy@92.103.127.226) (Ping timeout: 260 seconds)
  969. # [20:20] * Quits: weinig (~weinig@17.203.14.176) (Quit: weinig)
  970. # [20:21] * Joins: blooberry (~Miranda@198.145.35.12)
  971. # [20:23] * Joins: TabAtkins (~tabatkins@nat/google/x-fryvpkgyrqsihiwo)
  972. # [20:24] * Quits: erlehmann (~erlehmann@82.113.99.39) (Quit: Ex-Chat)
  973. # [20:26] * Joins: cying (~cying@173-13-176-101-sfba.hfc.comcastbusiness.net)
  974. # [20:26] * Joins: Bass10 (~Bass10@c-76-113-194-7.hsd1.mn.comcast.net)
  975. # [20:27] * Quits: JoePeck (~JoePeck@2620:0:1b00:1f08:fa1e:dfff:fed9:b9a) (Remote host closed the connection)
  976. # [20:28] * Quits: Stikki (~lordstich@dsl-pribrasgw1-ff17c300-80.dhcp.inet.fi) (Ping timeout: 250 seconds)
  977. # [20:28] * Joins: JoePeck (~JoePeck@2620:0:1b00:1f08:fa1e:dfff:fed9:b9a)
  978. # [20:29] * Quits: Bass10 (~Bass10@c-76-113-194-7.hsd1.mn.comcast.net) (Max SendQ exceeded)
  979. # [20:31] * Joins: jamesr (~jamesr@nat/google/x-ftklpckuyzdlenuq)
  980. # [20:34] * Joins: Stikki (~lordstich@dsl-pribrasgw1-ff17c300-80.dhcp.inet.fi)
  981. # [20:44] * aroben|lunch is now known as aroben
  982. # [20:47] * dglazkov|away is now known as dglazkov
  983. # [20:47] * Joins: mpt (~mpt@canonical/mpt)
  984. # [20:48] <AryehGregor> Why did I think extractContents() and cloneContents() would be easy to spec after deleteContents()? They're way more complicated.
  985. # [20:48] <AryehGregor> On the bright side, it's improving my understanding of ranges a lot.
  986. # [20:49] <AryehGregor> (Although it's sad that ranges are that hard to understand.)
  987. # [20:51] * Joins: matijsb (~Adium@5353CD69.cm-6-4d.dynamic.ziggo.nl)
  988. # [20:52] * Quits: matjas (~matjas@91.182.222.209) (Quit: zZz)
  989. # [20:54] <hober> just a reminder that http://www.w3.org/2002/09/wbs/40318/issue-56-objection-poll closes tomorrow
  990. # [20:54] <TabAtkins_> I have no idea which one I should care about.
  991. # [20:55] <zewt> secret issues? heh
  992. # [20:55] <Hixie> wow, the chairs finally made a completely wrong decision
  993. # [20:55] <Hixie> wonder what i'm supposed to do now
  994. # [20:55] <TabAtkins_> Fork the spec, finally?
  995. # [20:56] <hober> Hixie: which one? <table role=presentation>?
  996. # [20:57] <Hixie> the change from "Tables must not be used as layout aids" to "Tables should not be used as layout aids"
  997. # [20:58] * Joins: tw2113 (~tw2113@fedora/tw2113)
  998. # [20:58] <zewt> i've never really understood that--it doesn't make sense to me for specs to say what I can use something for, only what the feature does
  999. # [20:59] * Quits: maikmerten (~maikmerte@port-92-201-187-173.dynamic.qsc.de) (Remote host closed the connection)
  1000. # [20:59] <TabAtkins_> Sure it does. If a feature can be fundamentally misused by an author unaware of the issues that make the misuse bad, the most useful path is to just disallow that use.
  1001. # [20:59] * Quits: kor (~kor@ip146-53-210-87.adsl2.static.versatel.nl) (Quit: kor)
  1002. # [21:01] <TabAtkins_> It's like disallowing people from putting important information in the content of a ::before element, except I think that CSS doesn't explicitly say MUST NOT (because we're somewhat allergic to using the word "must").
  1003. # [21:01] <zewt> but what does it even mean, if it's not even objectively testable?
  1004. # [21:02] * Quits: Martijnc (~Martijnc@91.176.24.181) (Quit: Martijnc)
  1005. # [21:02] <zewt> it's fine to say "if you do this, some UAs may do something you don't expect and leave you with something you didn't want", but that should be implied from the requirements placed on the UA
  1006. # [21:02] <TabAtkins_> Authors dont' read UA requirements. ^_^
  1007. # [21:03] <zewt> that's sort of the point, it's going to work, so people are going to do it
  1008. # [21:04] <zewt> eg. it's not something that a validator can flag for people
  1009. # [21:04] <TabAtkins_> Not an automatic validator, no.
  1010. # [21:04] <AryehGregor> Hixie, if this encourages authors to put role=presentational on their presentational tables, I think it will be an excellent change.
  1011. # [21:04] <TabAtkins_> That doesn't mean it can't be flagged manually, though.
  1012. # [21:05] <TabAtkins_> AryehGregor: If this encourages authors to write more pages with presentational tables rather than using current and upcoming CSS layout techniques, it will be a horrible change.
  1013. # [21:05] <AryehGregor> Also true.
  1014. # [21:05] <AryehGregor> Hard to say which is going to be the bigger effect in practice.
  1015. # [21:05] * AryehGregor hasn't read the decision yet, though
  1016. # [21:08] * Quits: JoePeck (~JoePeck@2620:0:1b00:1f08:fa1e:dfff:fed9:b9a) (Remote host closed the connection)
  1017. # [21:08] * Joins: JoePeck (~JoePeck@2620:0:1b00:1f08:fa1e:dfff:fed9:b9a)
  1018. # [21:09] <TabAtkins_> One outcome only affects legacy pages (which aren't, in general, very likely to change), while the other affects pages that have not yet been created. We usually optimize for the latter, precisely because the former are unlikely to change en masse.
  1019. # [21:10] <AryehGregor> I've seen a lot of templates on Wikipedia that use presentational tables.
  1020. # [21:10] <AryehGregor> It'd be a bloody lot easier to add role=presentational than to rewrite them to not use tables.
  1021. # [21:10] <AryehGregor> Particularly if they're protected, so only admins can edit them.
  1022. # [21:11] <AryehGregor> More generally, if some site uses presentational tables, you're a lot more likely to get it fixed to use role=presentational than to get it fixed to not use tables.
  1023. # [21:11] <AryehGregor> How about we say nested tables aren't conforming unless they all have role=presentational?
  1024. # [21:11] <AryehGregor> Or all but the innermost, say.
  1025. # [21:12] <AryehGregor> That would be a nice and concrete improvement, right? You could also just say they're not conforming period, but that would get fewer sites to change.
  1026. # [21:14] <Hixie> (does saying role=presentational on a table even work, per ARIA? don't you have to set it on all the cells and rows and everything?)
  1027. # [21:14] <AryehGregor> If it doesn't, wouldn't that be new information?
  1028. # [21:15] <Hixie> one would assume the chairs actually checked that kind of thing before making this kind of decision
  1029. # [21:15] <Hixie> so presumably not
  1030. # [21:15] <AryehGregor> They only read what's submitted to them, right?
  1031. # [21:16] <Hixie> if they only read what's sumitted, then them making decisions on the spec is irresponsible
  1032. # [21:16] <AryehGregor> I think you're a couple years late in that judgment.
  1033. # [21:16] <Hixie> but i doubt that they limit themselves
  1034. # [21:16] <Hixie> that would be crazy
  1035. # [21:17] * Quits: svl (~me@ip565744a7.direct-adsl.nl) (Quit: And back he spurred like a madman, shrieking a curse to the sky.)
  1036. # [21:17] <AryehGregor> Well, you could ask.
  1037. # [21:19] <Hixie> i'm deep in video-conferencing edits right now
  1038. # [21:19] <Hixie> but when i get to applying their decision, i'm sure i will be talking to them :-)
  1039. # [21:19] <Hixie> i can't believe they just reverted 15 years of advocacy so casually
  1040. # [21:21] * Joins: jeremyselier (~Jeremy@2a01:e35:139f:2c60:fa1e:dfff:feec:469)
  1041. # [21:21] <zewt> if they're making decisions without talking to the spec editor about them first, it's a pretty hopelessly broken system, heh
  1042. # [21:22] <AryehGregor> The spec editor has a chance to comment.
  1043. # [21:23] <zewt> "commenting" isn't the same as discussion, and from the fact that he seems borderline blindsided by this it doesn't seem like there was actual discussion, heh
  1044. # [21:24] <Hixie> i'm not blindsided, they've been due to give a decision on this for months
  1045. # [21:24] <Hixie> i'm just shocked at what they decided
  1046. # [21:24] <pesla> Does that mean that any element with role=presentational can be used for layout purposes? :)
  1047. # [21:24] <Hixie> i'm about to move the forums over from my account to a dedicated role account so zcorpan can manage them, so if they go down it's not hugely unexpected
  1048. # [21:24] <Hixie> if all goes well though it should just transition smoothly
  1049. # [21:25] * Quits: jeremyselier (~Jeremy@2a01:e35:139f:2c60:fa1e:dfff:feec:469) (Ping timeout: 260 seconds)
  1050. # [21:26] * Hixie presses the button
  1051. # [21:26] * Joins: nessy (~Adium@49.186.191.5)
  1052. # [21:27] * Joins: virtuelv (~virtuelv_@20.74.9.46.customer.cdi.no)
  1053. # [21:28] * Quits: JoePeck (~JoePeck@2620:0:1b00:1f08:fa1e:dfff:fed9:b9a) (Remote host closed the connection)
  1054. # [21:28] * Joins: sephr (~Eli@c-98-235-63-240.hsd1.pa.comcast.net)
  1055. # [21:29] * Joins: JoePeck (~JoePeck@2620:0:1b00:1f08:fa1e:dfff:fed9:b9a)
  1056. # [21:33] * Joins: jeremyselier (~Jeremy@2a01:e35:139f:2c60:fa1e:dfff:feec:469)
  1057. # [21:33] <Hixie> holy cow
  1058. # [21:33] <Hixie> i moved the forums to another user and NOTHING BROKE as far as i can tell
  1059. # [21:33] <Hixie> sweet!
  1060. # [21:34] <zewt> when nothing seems to break, that's when you start to get worried
  1061. # [21:34] <zewt> the big, obvious breaks--those are the easy ones
  1062. # [21:34] <Hixie> well i'm going offline for a few hours now, so expect the forums to catch fire momentarily! :-)
  1063. # [21:34] <Hixie> bbl
  1064. # [21:51] * Quits: cgcardona (~cgcardona@adsl-99-154-225-102.dsl.pltn13.sbcglobal.net) (Quit: zzzzz)
  1065. # [21:53] * Joins: cgcardona (~cgcardona@adsl-99-154-225-102.dsl.pltn13.sbcglobal.net)
  1066. # [21:53] * Quits: cgcardona (~cgcardona@adsl-99-154-225-102.dsl.pltn13.sbcglobal.net) (Client Quit)
  1067. # [22:00] <cying> dear WG: what is the vendor prefix syntax for CSS *classnames*?
  1068. # [22:00] <cying> is it ... -vendor-* ?
  1069. # [22:00] * Quits: sephr (~Eli@c-98-235-63-240.hsd1.pa.comcast.net) (Read error: Connection reset by peer)
  1070. # [22:00] <cying> i thought that's only for CSS properties...
  1071. # [22:01] <AryehGregor> "classnames"?
  1072. # [22:01] <cying> yeah
  1073. # [22:01] <cying> like if a vendor wanted to have a set of class names for the general web to use... what would they specify that wouldn't clash?
  1074. # [22:01] * abarth|afk is now known as abarth
  1075. # [22:02] * Joins: nessy1 (~Adium@49.185.113.159)
  1076. # [22:03] <AryehGregor> Vendors are not allowed to use class names. Only authors are.
  1077. # [22:04] <AryehGregor> Well, I don't see that stated explicitly in the spec.
  1078. # [22:04] <AryehGregor> But that's the general practice.
  1079. # [22:04] <AryehGregor> Vendors who want to introduce features typically introduce attributes, they don't reuse the class attribute.
  1080. # [22:05] <AryehGregor> Does this crash Opera 11 for everyone else too? http://aryeh.name/spec/dom-range/test/Range-extractContents.html
  1081. # [22:06] * Quits: nessy (~Adium@49.186.191.5) (Ping timeout: 250 seconds)
  1082. # [22:06] <zewt> yeah.
  1083. # [22:06] <gsnedders> AryehGregor: yes
  1084. # [22:06] <AryehGregor> Yay.
  1085. # [22:06] <AryehGregor> Want to have someone look into it?
  1086. # [22:07] <gsnedders> Nah, let's just leave the crash bug unfixed!
  1087. # [22:07] <AryehGregor> That would be sad, because then I'd have to figure out myself how to work around it.
  1088. # [22:08] * Quits: matijsb (~Adium@5353CD69.cm-6-4d.dynamic.ziggo.nl) (Quit: Leaving.)
  1089. # [22:09] * Quits: nessy1 (~Adium@49.185.113.159) (Quit: Leaving.)
  1090. # [22:09] <gsnedders> Trying to create a comment, it would seem
  1091. # [22:11] * Quits: danbri (~danbri@ip176-48-210-87.adsl2.static.versatel.nl) (Remote host closed the connection)
  1092. # [22:11] <AryehGregor> createComment() is crashing?
  1093. # [22:12] <gsnedders> No, creating a comment because of some range thing
  1094. # [22:13] * Quits: davidb (~davidb@corp.tor1.mozilla.com) (Quit: davidb)
  1095. # [22:13] * Joins: roc (~chatzilla@203-97-204-82.dsl.clear.net.nz)
  1096. # [22:13] <AryehGregor> Always happy to help you track down crash bugs.
  1097. # [22:13] <gsnedders> extractContents/cloneContents somewhere
  1098. # [22:15] <gsnedders> Whcih is unsurprising with what that is testing :)
  1099. # [22:16] <AryehGregor> It's extractContents().
  1100. # [22:17] <gsnedders> Yeah, so it crashes when creating a comment node because of extractContents is not the most surprising of causes.
  1101. # [22:18] * Joins: danbri (~danbri@ip176-48-210-87.adsl2.static.versatel.nl)
  1102. # [22:18] * Joins: bentruyman (~bentruyma@li159-104.members.linode.com)
  1103. # [22:19] * Quits: pesla (~pesla@ip51cc03a5.speed.planet.nl) (Remote host closed the connection)
  1104. # [22:20] * Quits: danbri (~danbri@ip176-48-210-87.adsl2.static.versatel.nl) (Remote host closed the connection)
  1105. # [22:20] * Quits: msucan (~robod@92.86.254.114) (Quit: .)
  1106. # [22:20] <AryehGregor> Hardly a common case to extractContents() a range including comments, I guess.
  1107. # [22:21] * Joins: shepazu (~schepers@60.234.200.235)
  1108. # [22:21] * Quits: shepazu (~schepers@60.234.200.235) (Client Quit)
  1109. # [22:25] * Joins: jwalden (~waldo@nat/mozilla/x-ecntzribqidopyku)
  1110. # [22:29] * Joins: charlvn (~charlvn@41.0.48.8)
  1111. # [22:29] * Joins: nessy (~Adium@74.125.56.18)
  1112. # [22:30] <TabAtkins_> cying: What Aryeh said. Classes are entirely a user-level extension mechanism. Vendors work in pseudo-classes and similar.
  1113. # [22:31] <cying> TabAtkins_: hmmm i guess we don't want to recommend custom attributes though
  1114. # [22:31] <TabAtkins_> cying: I'm missing context. What you are trying to do?
  1115. # [22:32] <cying> TabAtkins_: i want to recommend additional hints people can add to their web pages, ala Instapaper adding a class "instapaper-ignore" to elements on a web page to ignore those elements
  1116. # [22:32] <TabAtkins_> >
  1117. # [22:32] <cying> TabAtkins_: (when instapaper performs readability on a page, it'll ignore those elements in the web page)
  1118. # [22:32] <TabAtkins_> For what?
  1119. # [22:32] <cying> so that an article's "readable subset" can be extracted out
  1120. # [22:33] <cying> or, in our case:
  1121. # [22:33] <cying> we want to mark an element in a web page that is meant to be the "byline" for an article... so we're considering asking publishers to add "flipboard-byline" to the classes for an element
  1122. # [22:33] <cying> so:
  1123. # [22:34] <dglazkov> what's up with forwarding emails from private lists?
  1124. # [22:34] <TabAtkins_> This should be done through a standardization effort, if it's something that you want to do at the browser level.
  1125. # [22:34] <cying> <span class="myformatting">Charles Ying</span> would become:
  1126. # [22:34] <cying> <span class="myformatting flipboard-byline">Charles Ying</span>
  1127. # [22:34] <AryehGregor> dglazkov, probably shouldn't happen, I guess?
  1128. # [22:34] <dglazkov> cant' the author just resend it? :)
  1129. # [22:34] <zewt> dglazkov: the author may not be on the list--having to subscribe just to repost one message is a pain
  1130. # [22:35] <AryehGregor> (without the author's permission, that is)
  1131. # [22:35] <TabAtkins_> cying: If you're trying to annotate the page with additional semantic information, this should be standardized.
  1132. # [22:35] <cying> TabAtkins_: understood, we don't really need it to be at the browser level, but wanted to try to make something along the same thinking as the spec community
  1133. # [22:35] <TabAtkins_> I dont' necessarily mean through HTML, though - microformats sounds like a good avenue to pursue this in.
  1134. # [22:35] <cying> TabAtkins_: is there an existing effort for annotating pages?
  1135. # [22:35] <cying> i see
  1136. # [22:35] * Joins: danbri (~danbri@ip176-48-210-87.adsl2.static.versatel.nl)
  1137. # [22:35] <cying> microformats can get tricky for some of our publishers, we'll need something simpler
  1138. # [22:36] <TabAtkins_> Annotating a page with hAtom isn't difficult, and it provides pretty good structure for extracting.
  1139. # [22:36] * Quits: danbri (~danbri@ip176-48-210-87.adsl2.static.versatel.nl) (Remote host closed the connection)
  1140. # [22:37] <cying> TabAtkins_: ah! got it, that's more along the lines of what we're looking for
  1141. # [22:37] * Joins: shepazu (~schepers@60.234.200.235)
  1142. # [22:37] <TabAtkins_> The point is that you should *not* unilaterally create an application-specific annotation mechanism that you want to deploy to the web.
  1143. # [22:37] <cying> TabAtkins_: thanks!
  1144. # [22:38] <TabAtkins_> No problem. ^_^
  1145. # [22:38] <cying> TabAtkins_: we're trying very hard not to. we really dislike having to say "flipboard-*" for class names
  1146. # [22:42] * Quits: miketaylr (~miketaylr@206.217.92.186) (Quit: optimize this)
  1147. # [22:45] <dglazkov> is daniel glazman visiting these parts of the world?
  1148. # [22:45] <TabAtkins_> He's gone back to france now.
  1149. # [22:45] <dglazkov> :)
  1150. # [22:45] * Joins: cpearce (~chatzilla@ip-118-90-81-165.xdsl.xnet.co.nz)
  1151. # [22:46] <dglazkov> I mean this channel
  1152. # [22:46] * Joins: gratz|home (~gratz@cpc7-brig16-2-0-cust362.3-3.cable.virginmedia.com)
  1153. # [22:46] <TabAtkins_> Oh, that wasn't obvious. ^_^ No, he doesn't do this channel. You may be able to raise him on irc.w3.org#css
  1154. # [22:46] * Joins: svl (~me@ip565744a7.direct-adsl.nl)
  1155. # [22:48] * Quits: charlvn (~charlvn@41.0.48.8) (Read error: Connection reset by peer)
  1156. # [22:48] * Joins: charlvn (~charlvn@41.0.48.8)
  1157. # [22:51] * Joins: danbri (~danbri@ip176-48-210-87.adsl2.static.versatel.nl)
  1158. # [22:52] * Joins: sicking (~chatzilla@2620:101:8003:200:226:bbff:fe05:3fe1)
  1159. # [22:53] <jgraham> foolip_: I am somewhat around now
  1160. # [22:53] * Quits: shepazu (~schepers@60.234.200.235) (Quit: Core Breach)
  1161. # [22:54] <dglazkov> heycam: great response
  1162. # [22:54] <heycam> dglazkov, thanks
  1163. # [22:54] <heycam> I think people are reasonably happy with things like SVG & MathML having dedicated syntax in text/html, as well as the XML syntax
  1164. # [22:55] <heycam> so I don't think it is unreasonable to do the same with XBL (or whatever the end solution is)
  1165. # [22:56] <dglazkov> heycam: yup
  1166. # [22:57] * Quits: plainhao (~plainhao@208.75.85.237) (Quit: plainhao)
  1167. # [22:57] <dglazkov> heycam: I decided we should call it HTML5 Modularity-enabling Dujibobs, or HTML5MED
  1168. # [22:57] <heycam> ha
  1169. # [22:58] * heycam takes his html5 meds
  1170. # [22:58] <zewt> what the
  1171. # [22:59] <zewt> my xhr progress-events form that works in chrome 9 doesn't work in FF4 :| time to find out why
  1172. # [23:00] <jgraham> "The HTML serialization of a binding won't be usable in a UA not suppporting HTML" well duh...
  1173. # [23:00] <zewt> heh user error ... sort of
  1174. # [23:00] <heycam> "don't do that then"
  1175. # [23:01] <heycam> although if you're thinking of the case where you want to use bindings someone else has written, and they are written in an HTML document...
  1176. # [23:01] <zewt> typing a hostname in the address bar in FF will complete based on title before hostname, so when I typed "foo" to load "foo.com" (real site) it loaded 10.0.0.1 with title "foo site" and I didn't notice :|
  1177. # [23:01] * jgraham isn't thinking of any case
  1178. # [23:01] * jgraham is just finding glazou's argument silly
  1179. # [23:01] <zewt> address bars try to be too clever for anyone's good these days
  1180. # [23:01] <gsnedders> AryehGregor: http://pastebin.com/AgRRbWXJ
  1181. # [23:01] <foolip_> jgraham, just wanted to ask you about http://code.google.com/p/html5lib/issues/detail?id=178 but I guess you've gotten email about it by now
  1182. # [23:02] <gsnedders> AryehGregor: The important point is that the range ends at offset zero into the comment
  1183. # [23:02] <AryehGregor> gsnedders, cool.
  1184. # [23:02] <jgraham> sicking: So what is the state of the hsitory API stuff? Do you have / expect byt-in from WebKit on these changes?
  1185. # [23:03] <TabAtkins_> Okay, I just plain can't watch flash video in Chrome 10 any more. Dammit.
  1186. # [23:03] <jgraham> foolip_: Looking
  1187. # [23:03] <jgraham> TabAtkins_: "feature"
  1188. # [23:03] <zewt> heh
  1189. # [23:04] <TabAtkins_> jgraham: Hah, I wish. If it was a feature it wouldn't crash the renderer.
  1190. # [23:04] <jgraham> TabAtkins_: It's called "being taught a lesson"
  1191. # [23:04] <zewt> teach lessons after html video is feature complete :P
  1192. # [23:05] <AryehGregor> gsnedders, okay, I commented that test out.
  1193. # [23:05] <TabAtkins_> Or at least after Youtube does its total conversion.
  1194. # [23:05] <zewt> until we have programmatic fullscreen, and UAs can actually scale video to fullscreen without dropping to a slideshow
  1195. # [23:05] <zewt> (at least)
  1196. # [23:06] <zewt> maybe the latter has improved lately, havn't checked
  1197. # [23:06] * Quits: FastJack (~fastjack@dumpstr.net) (Read error: Operation timed out)
  1198. # [23:08] * Joins: cgcardona (~cgcardona@c-24-5-146-71.hsd1.ca.comcast.net)
  1199. # [23:10] * Joins: FastJack (~fastjack@dumpstr.net)
  1200. # [23:10] * Quits: gavin (~gavin@firefox/developer/gavin) (Remote host closed the connection)
  1201. # [23:10] * Quits: ivan` (~ivan@unaffiliated/ivan/x-000001) (Read error: Operation timed out)
  1202. # [23:11] * Quits: PrgmrBill (~PrgmrBill@unaffiliated/prgmrbill) (Read error: Operation timed out)
  1203. # [23:11] * Joins: PrgmrBill (~PrgmrBill@prgmrbill.com)
  1204. # [23:11] * Quits: PrgmrBill (~PrgmrBill@prgmrbill.com) (Changing host)
  1205. # [23:11] * Joins: PrgmrBill (~PrgmrBill@unaffiliated/prgmrbill)
  1206. # [23:11] <dglazkov> TabAtkins_: you should totally yell at someone. You're in the right office :)
  1207. # [23:11] <TabAtkins_> Indeed.
  1208. # [23:11] * Joins: ezoe (~ezoe@61-205-124-169f1.kyt1.eonet.ne.jp)
  1209. # [23:12] * Quits: saba (~foo@unaffiliated/saba) (Quit: leaving)
  1210. # [23:12] * Joins: gavin (~gavin@people.mozilla.com)
  1211. # [23:12] * Quits: gavin (~gavin@people.mozilla.com) (Changing host)
  1212. # [23:12] * Joins: gavin (~gavin@firefox/developer/gavin)
  1213. # [23:14] <TabAtkins_> All right, yelling is done.
  1214. # [23:14] <AryehGregor> gsnedders, okay, I sanity-checked Opera's results and now uncommented the line, so Opera crashes on the test again. Not really fair to remove tests just because someone crashes on them. But I left a comment in the source explaining which line you have to comment out for it to work.
  1215. # [23:17] * Joins: ivan` (~ivan@unaffiliated/ivan/x-000001)
  1216. # [23:18] <AryehGregor> Hurrah, extractContents() specced and tested.
  1217. # [23:18] <AryehGregor> Now for cloneContents().
  1218. # [23:18] <AryehGregor> Should be easy after extractContents(). And I mean it this time.
  1219. # [23:19] <AryehGregor> Since its functionality is basically a subset of extractContents()'s.
  1220. # [23:20] <dglazkov> copy/paste time! :)
  1221. # [23:20] * Quits: foolip_ (~foolip@h242n6-g-hn-a11.ias.bredband.telia.com) (Ping timeout: 255 seconds)
  1222. # [23:20] <zewt> itym cloneContents() time
  1223. # [23:21] * Quits: charlvn (~charlvn@41.0.48.8) (Ping timeout: 264 seconds)
  1224. # [23:21] * Joins: charlvn (~charlvn@41.0.48.8)
  1225. # [23:21] * Quits: beowulf (u116@pdpc/supporter/professional/beowulf) (Read error: Operation timed out)
  1226. # [23:22] * Joins: beowulf (u116@gateway/web/irccloud.com/x-cpuemqoenzccjzhw)
  1227. # [23:22] * Quits: beowulf (u116@gateway/web/irccloud.com/x-cpuemqoenzccjzhw) (Changing host)
  1228. # [23:22] * Joins: beowulf (u116@pdpc/supporter/professional/beowulf)
  1229. # [23:23] * Quits: broquaint (6ec24663dd@78.47.79.137) (Ping timeout: 240 seconds)
  1230. # [23:23] * Joins: sephr (~Eli@c-98-235-63-240.hsd1.pa.comcast.net)
  1231. # [23:23] * Joins: broquaint (~dbrook@78.47.79.137)
  1232. # [23:24] <AryehGregor> I considered writing all three methods' specs in the same algorithm with variations called out, but it wound up being too messy.
  1233. # [23:24] * Quits: Maurice (copyman@5ED573FA.cm-7-6b.dynamic.ziggo.nl)
  1234. # [23:28] <gsnedders> AryehGregor: The expected result for what I pastebined is an empty comment, right?
  1235. # [23:29] <AryehGregor> Let's see: http://html5.org/specs/dom-range.html#dom-range-extractcontents
  1236. # [23:29] * aroben is now known as aroben|afk
  1237. # [23:30] <AryehGregor> Contained nodes would be empty, first partially contained child is null, last partially contained child is the comment.
  1238. # [23:30] <AryehGregor> So yeah, you should clone it and set the data to the empty string.
  1239. # [23:30] <AryehGregor> Per spec.
  1240. # [23:31] * Quits: svl (~me@ip565744a7.direct-adsl.nl) (Quit: And back he spurred like a madman, shrieking a curse to the sky.)
  1241. # [23:31] <AryehGregor> Which admittedly I just made up.
  1242. # [23:31] <AryehGregor> But it matches Gecko and WebKit.
  1243. # [23:33] <gsnedders> AryehGregor: And if it started at div.firstChild it should return an empty DocumentFragment?
  1244. # [23:33] <AryehGregor> Yes, that's what Gecko and WebKit do. Opera clones an empty node in this case too.
  1245. # [23:33] <AryehGregor> Which possibly makes more sense.
  1246. # [23:34] <AryehGregor> But too late for making sense.
  1247. # [23:34] <gsnedders> Yeah, I know we make an empty node in that case too… because we crash in that case too :P
  1248. # [23:34] <AryehGregor> Er, well.
  1249. # [23:34] <gsnedders> (Trying to create the empty node)
  1250. # [23:34] <AryehGregor> Ah, I see.
  1251. # [23:34] <AryehGregor> But for text nodes you succeed.
  1252. # [23:34] <AryehGregor> Didn't test PIs.
  1253. # [23:34] <gsnedders> And for CDATASections we do too.
  1254. # [23:35] <AryehGregor> CDATASections don't exist in Web DOM Core-land.
  1255. # [23:35] <AryehGregor> I don't know why, since browsers seem to implement them.
  1256. # [23:35] <gsnedders> I don't understand how we don't crash with CDATASections, but we don't. :P
  1257. # [23:35] <AryehGregor> But the DOM Range spec doesn't consider them, because it depends on DOM Core, and DOM Core says they don't exist.
  1258. # [23:36] <gsnedders> PIs would be interesting to test too, IMO
  1259. # [23:36] <AryehGregor> I do test PIs.
  1260. # [23:36] <gsnedders> Ah, okay, just in our case for this you didn't test PIs.
  1261. # [23:36] * Quits: dglazkov (~dglazkov@nat/google/x-muhekasaselqhldx) (Quit: dglazkov)
  1262. # [23:36] <AryehGregor> I have at least three tests that involve PIs.
  1263. # [23:37] * Quits: aho (~nya@fuld-590c74ed.pool.mediaWays.net) (Quit: EXEC_over.METHOD_SUBLIMATION)
  1264. # [23:38] * Joins: richardschwerdtf (~RichS@99-39-114-91.lightspeed.austtx.sbcglobal.net)
  1265. # [23:38] <AryehGregor> data:application/xhtml+xml,<html xmlns="http://www.w3.org/1999/xhtml"><body><![CDATA[<span>foo</span>]]><script>alert(document.querySelector("body").firstChild);</script></body></html>
  1266. # [23:38] <AryehGregor> That alerts a CDATASection.
  1267. # [23:39] <AryehGregor> Why does DOM Core not acknowledge them?
  1268. # [23:39] <AryehGregor> annevk, ^?
  1269. # [23:39] <TabAtkins_> Hahaha, "Electron Band Structure in Germanium, My Ass": http://pages.cs.wisc.edu/~kovar/hall.html
  1270. # [23:41] <gsnedders> AryehGregor: IIRC, mine/zcorpan's argument was there was no good reason why they can't just be Text nodes
  1271. # [23:41] <charlvn> TabAtkins_: now that's my kind of research! :P
  1272. # [23:41] * Joins: doublec (~chris@203-97-204-82.dsl.clear.net.nz)
  1273. # [23:41] * Quits: doublec (~chris@203-97-204-82.dsl.clear.net.nz) (Changing host)
  1274. # [23:41] * Joins: doublec (~chris@unaffiliated/doublec)
  1275. # [23:46] * Quits: aroben|afk (~aroben@unaffiliated/aroben) (Quit: aroben|afk)
  1276. # [23:50] <jgraham> TabAtkins_: That is the reason to give up experimental physics
  1277. # [23:51] <jgraham> Or rather was my reason
  1278. # [23:51] * Joins: davidb (~davidb@74.13.1.241)
  1279. # [23:51] <jgraham> Well in particular the fact that I sucked at it
  1280. # [23:51] * jgraham is physically incapable of any task involving a soldering iron
  1281. # [23:52] * jgraham is not happy about this as there are many useful things that can be acomplished using a soldering iron
  1282. # [23:52] * Joins: dglazkov|away (~dglazkov@nat/google/x-iwvpcjnolmkklroa)
  1283. # [23:53] * jgraham has no particular evident handicap that should lead to this particular problem, but nevertheless it exists
  1284. # [23:53] <dglazkov|away> at ths point, the appropriate response is MONKEYPANTS
  1285. # [23:53] * Quits: Steve^ (~steve@cpc2-hari1-0-0-cust1111.hari.cable.virginmedia.com) (Quit: Leaving)
  1286. # [23:53] <dglazkov|away> it's appropriately nonsensical
  1287. # [23:53] * Joins: davidwalsh (~davidwals@75-135-74-55.dhcp.mdsn.wi.charter.com)
  1288. # [23:53] * dglazkov|away is now known as dglazkov
  1289. # [23:54] * Quits: MrOpposite (~mropposit@unaffiliated/mropposite) (Quit: OMG, YOU KILLED OPPO!)
  1290. # [23:54] * Quits: PrgmrBill (~PrgmrBill@unaffiliated/prgmrbill) (Quit: Reconnecting)
  1291. # [23:54] * Joins: PrgmrBill (~PrgmrBill@prgmrbill.com)
  1292. # [23:54] * Quits: PrgmrBill (~PrgmrBill@prgmrbill.com) (Changing host)
  1293. # [23:54] * Joins: PrgmrBill (~PrgmrBill@unaffiliated/prgmrbill)
  1294. # Session Close: Fri Mar 11 00:00:00 2011

The end :)