/irc-logs / freenode / #whatwg / 2009-01-13 / end

Options:

  1. # Session Start: Tue Jan 13 00:00:00 2009
  2. # Session Ident: #whatwg
  3. # [00:05] * Quits: mstange (n=markus@buntes215.wohnheim.uni-kl.de) ("ChatZilla 0.9.84-2009010213 [Firefox 3.2a1pre/20090107020423]")
  4. # [00:07] * Joins: starjive (i=beos@213-66-217-32-no30.tbcn.telia.com)
  5. # [00:11] * Quits: jruderman (n=jruderma@corp-241.mountainview.mozilla.com)
  6. # [00:12] * Joins: jruderman (n=jruderma@corp-241.mountainview.mozilla.com)
  7. # [00:19] <Hixie> heycam: yt?
  8. # [00:20] <heycam> hi Hixie
  9. # [00:20] <Hixie> hey
  10. # [00:20] <Hixie> question
  11. # [00:20] <Hixie> how do i make an interface that has an anonymous named getter that returns values for strings that aren't properties of the object?
  12. # [00:20] <Hixie> [NameGetter] seems to be defined only in terms of "supported named properties"
  13. # [00:21] <heycam> hmm, you can't currently. what objects need this?
  14. # [00:21] <Hixie> HTMLDocument
  15. # [00:21] <Hixie> http://www.w3.org/mid/op.tzqg9y2hidj3kv@hp-a0a83fcd39d2.palace.opera.no
  16. # [00:21] <Hixie> i'm trying to emulate Safari's behavior
  17. # [00:22] <Hixie> <img name=x><script> assert(document.x is a [HTMLImageDocument]); assert(not 'x' in document); </script>
  18. # [00:22] <Hixie> er
  19. # [00:22] <Hixie> HTMLImageElement
  20. # [00:22] <heycam> i see
  21. # [00:23] <Hixie> anonymous name-getter, i should say, not "anonymous named getter" which is an oxymoron
  22. # [00:24] <heycam> :)
  23. # [00:24] <heycam> i'll make a note of it
  24. # [00:24] <Hixie> k
  25. # [00:26] * heycam wonders if there's a bot here that will tell me a link to this point in the irc logs
  26. # [00:26] <annevk> nope
  27. # [00:27] * Quits: Amorphous (i=jan@unaffiliated/amorphous) (Read error: 104 (Connection reset by peer))
  28. # [00:27] <Hixie> does "The name of the corresponding named property is N and will have the DontEnum attribute." mean that you can't do "for (i in foo) { }" to get the names out?
  29. # [00:27] <heycam> correct. do you need to have things returned by [[Get]] that will return false when doing (prop in object) but will be enumerated?
  30. # [00:28] <heycam> since that'd be a violation of ecma-262, i think
  31. # [00:28] <Hixie> i think we might need that for document.all
  32. # [00:28] <heycam> hmm
  33. # [00:28] <Hixie> but i haven't looked at that yet
  34. # [00:29] <Hixie> i was wondering more about 'window'
  35. # [00:29] <Hixie> where the subframes get exposed to enumeration iirc
  36. # [00:29] <heycam> oh actually no it wouldn't necessarily be a violation, you can just define [[HasProperty]] appropriately
  37. # [00:29] <heycam> not that web idl allows you to override [[HasProperty]] at all at the moment
  38. # [00:30] <Hixie> hm, no, i'm wrong
  39. # [00:30] <Hixie> about window enumeration
  40. # [00:30] <Hixie> i'm sure i've seen properties exposed before
  41. # [00:30] <Hixie> where would that be
  42. # [00:32] <Hixie> can't find anywhere
  43. # [00:32] <Hixie> oh well
  44. # [00:32] <annevk> I thought document.all required hacks in ECMAScript parsers
  45. # [00:32] <Hixie> d.all is messed up
  46. # [00:32] <Hixie> i don't know what we'll do for it
  47. # [00:33] <annevk> but I don't know the exact details since nobody wrote them down afaik
  48. # [00:33] <Hixie> i wonder if the JS committee would deal with it for us
  49. # [00:34] <annevk> I've been trying to get them to deal with <!-- without much success so far
  50. # [00:34] <annevk> though I haven't paid close attention to see if they made changes either, to be perfectly honest
  51. # [00:35] <Hixie> <!-- is easy to deal with
  52. # [00:35] <Hixie> and they won't do it?
  53. # [00:35] <Hixie> sheesh
  54. # [00:35] <Hixie> heycam: something else that would be useful (regarding the 'any'/DOMObject issue) would be union types for objects
  55. # [00:36] <Hixie> heycam: e.g. sometimes i have to return an HTMLElement or an HTMLCollection
  56. # [00:36] <heycam> mm
  57. # [00:36] * Quits: aroben (n=aroben@unaffiliated/aroben)
  58. # [00:37] <Hixie> oh i see
  59. # [00:37] <Hixie> IE does enumerate
  60. # [00:37] <Hixie> btu safari does not
  61. # [00:37] <Hixie> maybe my request above is not necessary
  62. # [00:37] * Hixie investigates further
  63. # [00:37] <Hixie> yeah
  64. # [00:37] <heycam> such a feature wouldn't be suitable for certain language bindings
  65. # [00:37] <Hixie> i was wrong about 'x' not in document
  66. # [00:37] <heycam> but maybe in those languages it would just map to Object or whatever?
  67. # [00:38] <heycam> Hixie, so i'll remove that feature request?
  68. # [00:38] <Hixie> yeah
  69. # [00:38] <Hixie> sorry abotu that
  70. # [00:38] <heycam> ok
  71. # [00:40] * Quits: jruderman (n=jruderma@corp-241.mountainview.mozilla.com)
  72. # [00:41] * Joins: jruderman (n=jruderma@corp-241.mountainview.mozilla.com)
  73. # [00:42] <Hixie> can someone who has IE up confirm that it says "2" "3" in the logs for this?: http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C!DOCTYPE%20html%3E...%3Cimg%20name%3Da%3E%3Cimg%20name%3Da%3E%3Cscript%3Ex%20%3D%20document.a%3Bw(x.length)%3B%3C%2Fscript%3E%3Cimg%20name%3Da%3E%3Cscript%3Ew(x.length)%3B%3C%2Fscript%3E
  74. # [00:42] <Hixie> nevermind
  75. # [00:42] * Hixie finds it is even more complicated and launches VMWare
  76. # [00:45] <Hixie> wow, IE returns 2/3
  77. # [00:45] <Hixie> nice
  78. # [00:46] <Hixie> my life just became 2018451023 times easier
  79. # [00:46] * Joins: Amorphous (i=jan@unaffiliated/amorphous)
  80. # [00:47] * jcranmer sighs
  81. # [00:47] <jcranmer> what is with these eRDF/RDFa/RDF/whatever-the-hell-all-that-stuff-is people?
  82. # [00:48] <Hixie> now what?
  83. # [00:48] <Hixie> i thought we actually made slight progress towards getting some problems listed
  84. # [00:48] <annevk> Firefox actually says 2/2
  85. # [00:48] <Hixie> yeah firefox is disqualified
  86. # [00:49] <jcranmer> Hixie: from what I read, they're debating over which one to use or something like that
  87. # [00:49] <Hixie> in whatwg?
  88. # [00:49] <jcranmer> yes
  89. # [00:49] <Hixie> yeah i don't know how to direct the conversation towards problems rather than solutions
  90. # [00:49] <webben> jcranmer: That's because Calogero asked them why not eRDF.
  91. # [00:49] <Hixie> i've tried everything i know how to do
  92. # [00:50] <Hixie> i'm just going to delete the e-mails without problems
  93. # [00:50] <jcranmer> webben: well, it doesn't help that one of the people doesn't send emails with References/In-Reply-To
  94. # [00:51] <annevk> I've been reading all those e-mails and I'm not that much wiser, though those of hsivonen usually have good stuff
  95. # [00:51] * Joins: ojan (n=ojan@72.14.224.1)
  96. # [00:52] <Hixie> hey ojan
  97. # [00:54] <Hixie> heycam: do i have to define how to handle named index
  98. # [00:54] <Hixie> er
  99. # [00:55] <Hixie> heycam: do i have to define how to handle name index property access when the name isn't in the list of names, or does webidl define that that returns undefined?
  100. # [00:55] <Hixie> heycam: (or does JS define that)
  101. # [00:55] <heycam> web idl defines that normal object property lookup is done
  102. # [00:56] <heycam> web idl defines a whole [[Get]] to use on the object, which has cases for what to do in the presence of [NamedGetter], etc.
  103. # [00:56] <Hixie> where is that defined?
  104. # [00:56] <heycam> www.w3.org/TR/WebIDL/#Get
  105. # [00:56] <heycam> (or maybe #get?)
  106. # [00:56] <Hixie> i found a [[put]] algorithm, but no [[get]]
  107. # [00:56] <Hixie> #get and #Get return nothing
  108. # [00:56] <heycam> oh right
  109. # [00:56] <heycam> sorry, misremembering
  110. # [00:57] <heycam> since the named/index properties are defined in terms of creating actual properties on the object, the standard [[Get]] is used
  111. # [00:57] * Joins: hallvors (n=hallvord@softbank221089079197.bbtec.net)
  112. # [00:57] <Hixie> k
  113. # [00:57] <Hixie> so i don't have to define that case
  114. # [00:57] <Hixie> ok
  115. # [00:57] <heycam> if overriding [[Get]] to return values for properties that don't exist on the object is needed, then a section defining a [[Get]] will be needed
  116. # [00:58] <Hixie> not needed yet as far as i know
  117. # [01:01] * Quits: starjive (i=beos@213-66-217-32-no30.tbcn.telia.com)
  118. # [01:02] <ojan> hi hixie!
  119. # [01:10] <Hixie> how on earth an i going to spec this: <!DOCTYPE html>...<img name=a><img name=a><script>x = document.a; y= document.a; w(x === y);</script>
  120. # [01:10] <Hixie> in safari and firefox, x !== y
  121. # [01:10] <Hixie> but in IE x === y
  122. # [01:10] <Hixie> wonder what opera does
  123. # [01:11] <Hixie> true in opera too
  124. # [01:11] <Hixie> well bummer
  125. # [01:12] * Quits: aaronlev (n=chatzill@e179060186.adsl.alicedsl.de) (Read error: 110 (Connection timed out))
  126. # [01:15] <Hixie> hsivonen: "http://www.whatwg.org/specs/web-apps/current-work/source-whatwg":-11.40--11.46: error: Required attributes missing on element "label".
  127. # [01:15] <Hixie> hsivonen: the <label> contains an <input>
  128. # [01:15] <Hixie> hsivonen: so that seems like a bug in the validator
  129. # [01:15] <annevk> Hixie, why would it be false?
  130. # [01:16] * annevk also notes that in Firefox it's a NodeList while in Opera an HTMLCollection
  131. # [01:16] <Hixie> yeah Firefox was disqualified a while back
  132. # [01:16] <Hixie> safari just returns a new HTMLCollection each time
  133. # [01:16] <Hixie> but IE and Opera memoise the getter
  134. # [01:16] <Hixie> which requires an annoying sentence to spec
  135. # [01:16] <annevk> it's weird, especially when you compare with e.g. document.images
  136. # [01:17] <Hixie> hm?
  137. # [01:17] <annevk> if you replace the a with images Firefox does return true
  138. # [01:17] <Hixie> well sure
  139. # [01:17] <Hixie> why would it not
  140. # [01:17] <annevk> why would it not for a?
  141. # [01:17] <Hixie> there's only one .images collection
  142. # [01:18] <Hixie> so you can just hardcode an instance internally
  143. # [01:18] <annevk> there's also only one a collection per page...
  144. # [01:18] <Hixie> for .a you have to do all kinds of caching work
  145. # [01:18] <Hixie> no
  146. # [01:18] <Hixie> there might not be an 'a' collection at all
  147. # [01:18] <Hixie> in fact most names don't have a corresponding colleciton
  148. # [01:18] <Hixie> collection
  149. # [01:20] <annevk> I guess that's fair enough, though it seems weird for the two to be different to me
  150. # [01:20] <annevk> anyway, how does "The images attribute must return an HTMLCollection rooted at the Document node, whose filter matches only img elements." ensure that the same object is returned each time?
  151. # [01:20] <Hixie> the spec currently doesn't ensure it
  152. # [01:20] <Hixie> for .images
  153. # [01:20] <Hixie> oh wait
  154. # [01:21] <Hixie> actually it does
  155. # [01:21] <Hixie> An attribute that returns a collection must return the same object every time it is retrieved.
  156. # [01:21] <Hixie> i guess that means i don't have to define it explicitly for the getter either
  157. # [01:35] * Quits: dglazkov (n=dglazkov@nat/google/x-5902736841d23e57)
  158. # [01:42] * Quits: smedero (n=smedero@mdp-nat251.mdp.com)
  159. # [01:52] <rubys> http://intertwingly.net/blog/2009/01/12/IE8-Beta-7000-Bug
  160. # [01:52] * rubys wonders whether or not the IE8 team is aware of his blog, or if they just don't care
  161. # [01:54] <annevk> they have a bug database
  162. # [01:54] <Hixie> IE bugs frighten me
  163. # [01:55] <Hixie> i can't even begin to imagine what their code must look like at this point
  164. # [01:55] <rubys> annevk: how do I access their database?
  165. # [01:58] <annevk> https://connect.microsoft.com/IE/Feedback is it I think
  166. # [01:58] <rubys> oh, and Hixie: I got final approval to travel to MountainView to meet with the ECMAScript folks on the 27th-29th; we could meet on the afternoon/evening of the 27th?
  167. # [01:58] <Hixie> january?
  168. # [01:59] <rubys> yes
  169. # [01:59] <Hixie> hold on
  170. # [01:59] <Hixie> sure
  171. # [01:59] <Hixie> what time?
  172. # [02:00] <rubys> when I make flight arrangements and I'll back to you, but if you can "pencil me in" for now, I'd appreciate it.
  173. # [02:00] * Joins: MikeSmith (n=MikeSmit@EM114-48-42-191.pool.e-mobile.ne.jp)
  174. # [02:00] <Hixie> sure
  175. # [02:00] <annevk> r2645 is weird
  176. # [02:00] <Hixie> rubys: blocked out 3pm to 8pm on the 27th
  177. # [02:00] <rubys> annevk: it requires me to sign in. Once I do so, I get a The content that you requested cannot be found or you do not have permission to view it.
  178. # [02:00] <annevk> I've read the topic, but still
  179. # [02:01] <annevk> rubys, :/
  180. # [02:01] <annevk> rubys, maybe blog that too, they might find it one day or you could tell the other chair ;)
  181. # [02:02] <Hixie> annevk: if you think that's fun you should see the next checkin (same thing, but for Window...)
  182. # [02:02] <Hixie> (might not be the very next one)
  183. # [02:02] * annevk will check tomorrow
  184. # [02:02] <annevk> nn
  185. # [02:02] <Hixie> nn
  186. # [02:04] <Philip`> rubys: The IE8 bug database is invitation-only
  187. # [02:04] <Philip`> rubys: I think I have an invitation code somewhere which you could have
  188. # [02:05] <rubys> *sigh*
  189. # [02:05] <rubys> brb
  190. # [02:05] <Hixie> i have access but i can't say it's ever helped me (or helped me help them)
  191. # [02:06] <Hixie> it makes bugzilla look positively easy to use
  192. # [02:06] * Philip` has reported some bugs which got fixed, though he doesn't know if they got fixed because of his bug report
  193. # [02:06] <Hixie> as far as i can tell the engineers don't interact with that bug database
  194. # [02:07] <Hixie> which makes it pretty pointless to me
  195. # [02:08] * Joins: Dashimon (i=Dashiva@1.84-48-51.nextgentel.com)
  196. # [02:09] * Quits: gavin_ (n=gavin@firefox/developer/gavin)
  197. # [02:09] * Joins: deane (n=opera@121.98.190.61)
  198. # [02:17] * Quits: tndH (n=Rob@james-baillie-pc083-058.student-halls.leeds.ac.uk) ("ChatZilla 0.9.84-rdmsoft [XULRunner 1.9.0.1/2008072406]")
  199. # [02:19] * Quits: Dashiva (i=Dashiva@wikia/Dashiva) (Read error: 113 (No route to host))
  200. # [02:23] * Joins: Dashiva (i=Dashiva@1.84-48-51.nextgentel.com)
  201. # [02:27] * Quits: gavin (n=gavin@firefox/developer/gavin) (Remote closed the connection)
  202. # [02:27] * Joins: BenMillard (n=cerbera@cpc1-flee1-0-0-cust285.glfd.cable.ntl.com)
  203. # [02:30] * Joins: gavin (n=gavin@people.mozilla.com)
  204. # [02:33] * Quits: Dashimon (i=Dashiva@wikia/Dashiva) (Read error: 110 (Connection timed out))
  205. # [02:35] <BenMillard> Philip`, JZWSA sounds like the QA tools I've seen come and go over the past 5+ years. Nothing new and I'm amazed at it costing $50 when it's not even a standalone application.
  206. # [02:35] <BenMillard> krijnh, how about linkifying e-mail addresses and mailto: links? http://krijnhoetmer.nl/irc-logs/whatwg/20090112#l-513
  207. # [02:38] * Quits: hober (n=ted@unaffiliated/hober) (Read error: 104 (Connection reset by peer))
  208. # [02:46] <BenMillard> krijnh, could linkification infer http:// when it's absent? http://krijnhoetmer.nl/irc-logs/whatwg/20090113#l-104
  209. # [02:54] <BenMillard> heycam, there's no bot, but you can go to the web interface and click the # character at the start of the line manually to get this: http://krijnhoetmer.nl/irc-logs/whatwg/20090113#l-25
  210. # [02:59] * Quits: dave_levin (n=dave_lev@72.14.227.1)
  211. # [03:00] * Quits: svl (n=me@ip565744a7.direct-adsl.nl) ("And back he spurred like a madman, shrieking a curse to the sky.")
  212. # [03:00] * Quits: deane (n=opera@121.98.190.61) (Read error: 110 (Connection timed out))
  213. # [03:11] * Joins: webben_ (n=webben@91.85.203.185)
  214. # [03:16] <Hixie> heycam: yt still?
  215. # [03:17] <Hixie> hm wait
  216. # [03:17] <Hixie> nm
  217. # [03:22] * Quits: webben (n=webben@91.85.203.185) (Read error: 110 (Connection timed out))
  218. # [03:28] * hallvors tried googling JZWSA and was asked if I meant JEWS
  219. # [03:28] <Dashiva> Heh. I tried using Japanese characters for labels in a google chartserv request, and it turned everything in the chart into a different font :)
  220. # [03:29] * Quits: ojan (n=ojan@72.14.224.1)
  221. # [03:36] <BenMillard> hallvors, JZWSA is referring to this: http://www.zeldman.com/2009/01/12/jeffrey-zeldmans-web-standards-advisor/
  222. # [03:43] <hallvors> BenMillard: thanks :)
  223. # [03:44] * Parts: BenMillard (n=cerbera@cpc1-flee1-0-0-cust285.glfd.cable.ntl.com)
  224. # [03:48] * Joins: tndH (n=Rob@james-baillie-pc083-058.student-halls.leeds.ac.uk)
  225. # [03:48] * Joins: tantek (n=tantek@ip67-95-206-218.z206-95-67.customer.algx.net)
  226. # [03:54] * Joins: dave_levin (n=dave_lev@c-98-203-247-78.hsd1.wa.comcast.net)
  227. # [04:00] * Quits: dave_levin (n=dave_lev@c-98-203-247-78.hsd1.wa.comcast.net)
  228. # [04:00] * Quits: weinig (n=weinig@17.203.15.177)
  229. # [04:32] * Quits: tantek (n=tantek@ip67-95-206-218.z206-95-67.customer.algx.net)
  230. # [04:39] * Joins: weinig (n=weinig@c-69-181-81-233.hsd1.ca.comcast.net)
  231. # [04:41] * Quits: kingryan (n=kingryan@c-24-5-77-167.hsd1.ca.comcast.net)
  232. # [04:42] * Joins: kingryan (n=kingryan@c-67-164-15-57.hsd1.ca.comcast.net)
  233. # [04:44] * Quits: weinig (n=weinig@c-69-181-81-233.hsd1.ca.comcast.net) (Client Quit)
  234. # [04:51] * Joins: kingryan_ (n=kingryan@c-24-5-77-167.hsd1.ca.comcast.net)
  235. # [05:04] * Quits: dolske (n=dolske@firefox/developer/dolske)
  236. # [05:06] * Quits: kingryan (n=kingryan@c-67-164-15-57.hsd1.ca.comcast.net) (Read error: 110 (Connection timed out))
  237. # [05:10] * Quits: dbaron (n=dbaron@corp-241.mountainview.mozilla.com) ("8403864 bytes have been tenured, next gc will be global.")
  238. # [05:13] * Joins: dglazkov (n=dglazkov@c-24-130-144-56.hsd1.ca.comcast.net)
  239. # [05:16] * Quits: dimich (n=dimich@72.14.227.1) (Read error: 60 (Operation timed out))
  240. # [05:39] * Joins: wakaba_ (n=wakaba@111.164.210.220.dy.bbexcite.jp)
  241. # [05:40] * Joins: dolske (n=dolske@c-76-103-41-195.hsd1.ca.comcast.net)
  242. # [05:45] * Joins: dave_levin (n=dave_lev@c-98-203-247-78.hsd1.wa.comcast.net)
  243. # [05:54] * Quits: wakaba (n=wakaba@189.164.210.220.dy.bbexcite.jp) (Read error: 110 (Connection timed out))
  244. # [06:01] * Quits: hdh (n=hdh@58.187.16.159) (Remote closed the connection)
  245. # [06:14] * Joins: dimich (n=dimich@c-98-203-230-54.hsd1.wa.comcast.net)
  246. # [06:21] * Quits: dimich (n=dimich@c-98-203-230-54.hsd1.wa.comcast.net)
  247. # [06:31] * Quits: dglazkov (n=dglazkov@c-24-130-144-56.hsd1.ca.comcast.net)
  248. # [06:42] * Joins: dimich (n=dimich@c-98-203-230-54.hsd1.wa.comcast.net)
  249. # [06:52] * Quits: heycam (n=cam@clm-laptop.infotech.monash.edu.au) ("bye")
  250. # [07:12] * Quits: dimich (n=dimich@c-98-203-230-54.hsd1.wa.comcast.net)
  251. # [07:21] * Joins: heycam (n=cam@124-168-97-132.dyn.iinet.net.au)
  252. # [07:24] * Quits: MikeSmith (n=MikeSmit@EM114-48-42-191.pool.e-mobile.ne.jp) ("sex break")
  253. # [07:25] * Joins: MikeSmith (n=MikeSmit@EM114-48-196-214.pool.e-mobile.ne.jp)
  254. # [07:35] * Joins: zcorpan (n=zcorpan@pat.se.opera.com)
  255. # [07:37] * Quits: jwalden (n=waldo@corp-241.mountainview.mozilla.com) ("->home")
  256. # [07:37] * Quits: jruderman (n=jruderma@corp-241.mountainview.mozilla.com)
  257. # [07:49] * Joins: jwalden (n=waldo@c-67-180-39-55.hsd1.ca.comcast.net)
  258. # [07:57] * Joins: maikmerten (n=merten@ls5dhcp195.cs.uni-dortmund.de)
  259. # [08:02] * Joins: jruderman (n=jruderma@c-67-180-39-55.hsd1.ca.comcast.net)
  260. # [08:10] * Joins: ap (n=ap@195.239.126.10)
  261. # [08:12] <Hixie> heycam: if you're still here: how do i say that my anonymous [NamedGetter] overrides the other attributes on the interface?
  262. # [08:13] <Hixie> oh wait, i may have decided i didn't need that
  263. # [08:14] * Joins: harig (n=harig_in@59.161.151.57)
  264. # [08:17] * Joins: wakaba (n=wakaba@232.164.210.220.dy.bbexcite.jp)
  265. # [08:17] * Quits: harig (n=harig_in@59.161.151.57) (Read error: 104 (Connection reset by peer))
  266. # [08:17] <Hixie> no, i do need it after all
  267. # [08:17] <Hixie> heycam: i need to be able to say that document.body is overriden by the [NamedGetter] if there is a conflict
  268. # [08:22] * Quits: wakaba_ (n=wakaba@111.164.210.220.dy.bbexcite.jp) (Read error: 60 (Operation timed out))
  269. # [08:24] <heycam> Hixie, no way to do that currently. all interface members take precedence of named properties.
  270. # [08:24] <Hixie> i have a feature request :-)
  271. # [08:24] <heycam> :)
  272. # [08:25] * heycam notes it
  273. # [08:25] <Hixie> thanks
  274. # [08:25] <Hixie> wanna guess a syntax so i can use it now, or should i leave an XXX?
  275. # [08:26] <Hixie> (either is fine by me)
  276. # [08:27] <heycam> if you can think of a good name to put on the attribute
  277. # [08:28] <heycam> [OverridesNamedProperty]? a bit long maybe.
  278. # [08:28] <Hixie> [NamedGetter=OverrideBuiltins]
  279. # [08:28] <Hixie> maybe?
  280. # [08:28] <heycam> but you don't want it to apply to all
  281. # [08:28] <heycam> just to particular members, no?
  282. # [08:29] <Hixie> as far as i can tell, document.foo returns applicable elements with name=foo rather than returning the interface-defined document.foo for all values of foo
  283. # [08:29] <Hixie> but i could be wrong
  284. # [08:29] <heycam> oh, so is that the other way around from what you said first?
  285. # [08:30] <Hixie> maybe, i've been very confused today
  286. # [08:30] <heycam> :)
  287. # [08:30] <Hixie> let me get you an actual testcase
  288. # [08:30] <Hixie> http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C!DOCTYPE%20html%3E%0D%0A...%3Ciframe%20name%3Dbody%3E%3C%2Fiframe%3E%3Cscript%3Ew(document.body)%3C%2Fscript%3E
  289. # [08:30] <Hixie> IE says "[object Window]" in the log
  290. # [08:31] <Hixie> meaning it returned the iframe's contentWindow
  291. # [08:31] <Hixie> rather than the HTMLBodyElement
  292. # [08:31] <Hixie> as one would expect if the channel's topic didn't apply
  293. # [08:31] <Hixie> as far as i can tell that is true for all values of 'body'
  294. # [08:31] <Hixie> e.g. document.links
  295. # [08:32] <Hixie> does that make sense?
  296. # [08:32] <heycam> so for objects that implement HTMLDocument, a named property always overrides something from prototypes?
  297. # [08:32] <Hixie> looks that way
  298. # [08:33] <Hixie> i have not yet found a counter-example at least
  299. # [08:33] <heycam> ok
  300. # [08:33] <heycam> just do [NamedGetter=OverrideBuiltins] for now and i'll think about naming later
  301. # [08:34] <Hixie> k cool thanks
  302. # [08:39] * Joins: Maurice (n=ano@a80-101-46-164.adsl.xs4all.nl)
  303. # [08:49] * Joins: deane (n=opera@121.98.190.61)
  304. # [08:55] <zcorpan> Hixie: hmm, i was going to say that you missed this case <iframe name=x></iframe><embed name=x><script>w(document.x[0])</script> but it seems the spec matches ie, webkit and opera
  305. # [08:55] <Hixie> returns the <iframe> element, right?
  306. # [08:55] <Hixie> not a Window?
  307. # [08:55] <zcorpan> right
  308. # [08:55] <Hixie> good :-)
  309. # [08:55] * Quits: kingryan_ (n=kingryan@c-24-5-77-167.hsd1.ca.comcast.net)
  310. # [08:56] <Hixie> man the stuff i specced today puts the topic to work
  311. # [08:56] * Joins: pesla (n=retep@procurios.xs4all.nl)
  312. # [08:56] * Joins: kingryan (n=kingryan@c-24-5-77-167.hsd1.ca.comcast.net)
  313. # [08:56] <zcorpan> indeed :)
  314. # [08:58] * Quits: kingryan (n=kingryan@c-24-5-77-167.hsd1.ca.comcast.net) (Client Quit)
  315. # [09:00] * Joins: aaronlev (n=chatzill@e179060186.adsl.alicedsl.de)
  316. # [09:02] <MikeSmith> zcorpan: are you in Linköping?
  317. # [09:04] * Quits: sverrej (n=sverrej@cm-84.208.153.202.getinternet.no) (Read error: 113 (No route to host))
  318. # [09:05] <zcorpan> MikeSmith: yes
  319. # [09:06] <MikeSmith> If you could forward the following to Jens or somebody, I'd appreciate it
  320. # [09:06] <MikeSmith> http://www.biglist.com/lists/lists.mulberrytech.com/xsl-list/archives/200901/msg00218.html
  321. # [09:07] <MikeSmith> guy trying to debug an XSLT problem in Opera
  322. # [09:07] * Quits: jruderman (n=jruderma@c-67-180-39-55.hsd1.ca.comcast.net)
  323. # [09:09] <MikeSmith> or maybe to whoever is responsible for QA for XSLT
  324. # [09:09] <MikeSmith> used to be Kaz
  325. # [09:11] * Joins: weinig (n=weinig@c-69-181-81-233.hsd1.ca.comcast.net)
  326. # [09:13] * Joins: roc (n=roc@121-72-177-3.dsl.telstraclear.net)
  327. # [09:14] <Hixie> oooh, WebIDL has [Callable=...]
  328. # [09:14] <Hixie> sweet
  329. # [09:14] <Hixie> weinig: your input on https://bugs.webkit.org/show_bug.cgi?id=23284 would be much appreciated
  330. # [09:15] <weinig> Hixie: sure
  331. # [09:21] * Quits: kinetik (n=kinetik@121.98.132.55) (Read error: 110 (Connection timed out))
  332. # [09:21] <zcorpan> MikeSmith: done
  333. # [09:23] <MikeSmith> zcorpan: thanks
  334. # [09:33] <weinig> Hixie: I think it was just a mistake
  335. # [09:33] <Hixie> has a version shipped with that bug?
  336. # [09:33] <weinig> Hixie: I don't really care which way we go on property name precedence in the window, as long as we can all do the same thing
  337. # [09:33] <weinig> Hixie: I don't think so
  338. # [09:34] <Hixie> ok well then we should probably do what the comment says
  339. # [09:34] <Hixie> though you should fix the spelling of 'toolbar' when you fix it
  340. # [09:34] * weinig nods
  341. # [09:34] <weinig> heh
  342. # [09:34] * Hixie fixes the bug
  343. # [09:34] <Hixie> er
  344. # [09:34] <Hixie> the spec
  345. # [09:34] <Hixie> freudian slip there
  346. # [09:57] * Joins: sverrej (n=sverrej@pat-tdc.opera.com)
  347. # [09:58] * Joins: tantek (n=tantek@adsl-69-107-14-121.dsl.pltn13.pacbell.net)
  348. # [10:02] * Joins: aaronlev_ (n=chatzill@e179060186.adsl.alicedsl.de)
  349. # [10:05] <annevk> heh, http://twitter.com/themadness/statuses/1115257406
  350. # [10:07] <MikeSmith> annevk: I like his previous tweet better:
  351. # [10:07] <MikeSmith> http://twitter.com/theMadness/status/1115207606
  352. # [10:08] <annevk> heh, just found it through a search
  353. # [10:16] * Hixie replies
  354. # [10:16] <Hixie> heycam: if you're still there... Apparently I need a new kind of [Replaceable].
  355. # [10:16] <Hixie> heycam: for event handler DOM attributes
  356. # [10:16] * Joins: kinetik (n=kinetik@121.98.132.55)
  357. # [10:17] <Hixie> heycam: they have to be able to take a string, at which point they do nothing
  358. # [10:17] <Hixie> heycam: but if later they are set back to a function, they work again
  359. # [10:17] <Hixie> heycam: also, if set to anything other than a string or a function, they throw an exception
  360. # [10:17] * Quits: webben_ (n=webben@91.85.203.185) (Read error: 145 (Connection timed out))
  361. # [10:21] * Quits: aaronlev (n=chatzill@e179060186.adsl.alicedsl.de) (Read error: 110 (Connection timed out))
  362. # [10:22] <Hixie> sicking: do you know what the current state of things is w.r.t. [Null] in WebIDL?
  363. # [10:22] <Hixie> sicking: specifically, i seem to recall you raised an objection to the current text
  364. # [10:22] <annevk> that discussion didn't move
  365. # [10:30] <Hixie> bummer
  366. # [10:30] <hsivonen> Hixie: fixed.
  367. # [10:30] <Hixie> heycam: i found an object for which i need enumeration (i.e. for which I don't want [DontEnum]) - Storage
  368. # [10:30] * Quits: weinig (n=weinig@c-69-181-81-233.hsd1.ca.comcast.net)
  369. # [10:30] <Hixie> hsivonen: thanks
  370. # [10:31] <Hixie> heycam: same object also supports indexed properties that I _don't_ want enumerated, fwiw
  371. # [10:32] <annevk> Hixie, what's the use cases for data: URL form submission?
  372. # [10:32] <annevk> Hixie, mostly debugging?
  373. # [10:33] <Hixie> yeah
  374. # [10:33] <annevk> ta
  375. # [10:34] * Parts: zcorpan (n=zcorpan@pat.se.opera.com)
  376. # [10:36] * Joins: zcorpan (n=zcorpan@pat.se.opera.com)
  377. # [10:46] <hsivonen> http://www.joelonsoftware.com/items/2009/01/12.html
  378. # [10:46] <MikeSmith> hsivonen: great to hear that patches are now deployed at validator.nu
  379. # [10:47] <hsivonen> considering how well "power of Java" and "power of RDF" are doing, we should probably avoid advertising "power of HTML5"
  380. # [10:47] <Hixie> lord, i hope nobody says anything about the "power" of HTML
  381. # [10:48] <hsivonen> MikeSmith: now I should probably locate emails about Validator.nu bugs over the last three months or so and reply that the bugs have been fixed...
  382. # [10:48] <MikeSmith> HTML can kick Chuck Norris's ass
  383. # [10:48] <MikeSmith> hsivonen: yup
  384. # [10:48] <Hixie> HTML probably couldn't kick _my_ ass
  385. # [10:49] <Hixie> and i'm no ass-kicker
  386. # [10:49] * Joins: ROBOd (n=robod@89.122.216.38)
  387. # [10:50] <Hixie> our open Web standards platform is like the dictionary definition of "worse is better" or "good enough is good enough" or whatever cliche you want to use that asserts that the most successful technology is usually a disaster :-)
  388. # [10:51] <Hixie> sadly what makes something useful and widely used isn't the same as what makes it aethetically pleasing
  389. # [10:53] <MikeSmith> HTML has the powerful like the Blob -- if you try to punch it, you just stumble and get sucked in and completely covered with goo
  390. # [10:53] <MikeSmith> hmm, hsivonen - having problems building local v.nu from current sources
  391. # [10:54] <MikeSmith> ./syntax/relaxng/datatype/java/src/org/whattf/datatype/Html5DatatypeLibrary.java:146: cannot find symbol
  392. # [10:54] <MikeSmith> symbol : variable Color
  393. # [10:54] <MikeSmith> etc.
  394. # [10:54] <MikeSmith> plus: ./syntax/non-schema/java/src/org/whattf/checker/TextContentChecker.java:85: package DateOrTimeContent does not exist
  395. # [10:55] <MikeSmith> can send you the build log if you want
  396. # [10:56] * Quits: Lachy (n=Lachlan@85.196.122.246) ("This computer has gone to sleep")
  397. # [11:00] <annevk> html5.org so far in January: 31847 200, 165596 403; will that bot ever learn?
  398. # [11:08] <hsivonen> MikeSmith: oops. fixed now. Thanks.
  399. # [11:08] * Joins: Lachy (n=Lachlan@pat-tdc.opera.com)
  400. # [11:17] * Joins: svl (n=me@ip565744a7.direct-adsl.nl)
  401. # [11:21] * annevk sighs
  402. # [11:21] <Hixie> hm?
  403. # [11:21] <annevk> meh, see whatwg@whatwg.org
  404. # [11:21] * annevk hopes it's clear now
  405. # [11:21] * Joins: pauld (n=pauld@host81-130-14-9.in-addr.btopenworld.com)
  406. # [11:22] <annevk> Hixie, since you're still awake, any ETA on a new definition of "scripting context"?
  407. # [11:23] <Hixie> is that test not wrong?
  408. # [11:23] <annevk> no
  409. # [11:23] <Hixie> two things match, but only one is in the expected output?
  410. # [11:23] <Hixie> also the title is very misleading :-)
  411. # [11:23] <Hixie> no ETA on scripting context issue
  412. # [11:23] <annevk> oh wow, fail
  413. # [11:25] * annevk updates test
  414. # [11:25] * annevk somehow missed the second element
  415. # [11:28] <MikeSmith> hsivonen: thanks, synced up and running now
  416. # [11:29] <MikeSmith> but fwiw, some tests are failing with:
  417. # [11:29] <MikeSmith> Element “html” from namespace “http://www.w3.org/1999/xhtml” not allowed in this context. Suppressing further errors from this subtree.
  418. # [11:29] <MikeSmith> File: file:/opt/checker/syntax/relaxng/tests/html5full-html/valid/002.xhtml
  419. # [11:29] <MikeSmith> Line: 1 Col: 43
  420. # [11:29] <MikeSmith> etc.
  421. # [11:37] <Hixie> heycam: i find the text in "3.8.5. [IndexCreator], [IndexDeleter], [IndexGetter] and [IndexSetter]" and "4.4.2. Indexed and named properties" to be confusingly different
  422. # [11:37] <Hixie> heycam: they both have what look like normative conformance criteria and language defining what is should say, but it is defined in different terms
  423. # [11:38] <Hixie> heycam: so i don't know if what i'm doing is right
  424. # [11:38] <Hixie> heycam: i'd prefer to see the JS one defined in terms of the generic one
  425. # [11:40] * Quits: MikeSmith (n=MikeSmit@EM114-48-196-214.pool.e-mobile.ne.jp) ("sex break")
  426. # [12:07] <Hixie> WTF
  427. # [12:07] <Hixie> are you KIDDING ME?
  428. # [12:07] <Hixie> #%&@#(^&@#
  429. # [12:08] <Hixie> <!DOCTYPE html><form><input></form><script>w(typeof document.forms[0].item)</script>
  430. # [12:08] <Hixie> -> string!
  431. # [12:08] <Hixie> specifically, the string "[HTMLFormElement]"
  432. # [12:08] <Hixie> but it's callable!
  433. # [12:08] <Hixie> <!DOCTYPE html><form><input></form><script>w(document.forms[0].item())</script>
  434. # [12:09] <Hixie> -> HTMLInputElement
  435. # [12:09] <Hixie> the object, that is
  436. # [12:09] <annevk> welcome to logicfreezone
  437. # [12:10] <Hixie> i'm guessing this is an IE8 bug
  438. # [12:10] <Hixie> because even for IE, this is crazy land
  439. # [12:10] <Philip`> IE6 says typeof is 'string'
  440. # [12:11] <Philip`> (stringifying to '[object]')
  441. # [12:11] <Hixie> so what exactly is .item then?
  442. # [12:11] <Hixie> i know that form.elements === form
  443. # [12:11] <Hixie> (in IE)
  444. # [12:11] <Hixie> but what is form.item?
  445. # [12:11] <annevk> nice, just like window.frames
  446. # [12:11] <Hixie> since when are strings callable?
  447. # [12:12] <Philip`> It's not a string, it's just an object whose type is string :-)
  448. # [12:12] <Hixie> indeed, it's definitely not a string, you can't index into it for example
  449. # [12:12] <Hixie> <!DOCTYPE html><form><input></form><script>w(document.forms[0].item[0])</script> -> undefined
  450. # [12:12] <annevk> btw, <form><input> without an "x" or something in front of it gives you a fucked up DOM
  451. # [12:13] <Hixie> heh so it does
  452. # [12:13] <Hixie> i don't think this is affecting these results though
  453. # [12:13] <zcorpan> <form><input type=hidden> makes the input be in head
  454. # [12:14] <annevk> hmm, document.forms[0].item == document.forms[0] but not ===
  455. # [12:14] <Hixie> annevk: yeah, you're just stringifying both if you do that
  456. # [12:15] <annevk> I see
  457. # [12:17] * Joins: myakura (n=myakura@p1096-ipbf1904marunouchi.tokyo.ocn.ne.jp)
  458. # [12:17] <annevk> funny, item[0] is undefined ,as you say, but item(0) is object
  459. # [12:19] <annevk> for(x in document.forms[0].item) doesn't reveal anything
  460. # [12:20] <Philip`> Why is that funny? With function f(){return null}, f[0] is undefined and f(0) is object, so it's not particularly unusual behaviour
  461. # [12:20] <annevk> Isn't it just the IE way to denote a function?
  462. # [12:20] <Hixie> <!DOCTYPE html>...<form><select><option>x</select></form><script>w(document.forms[0][0]('0'))</script> -> [object HTMLSelectElement]
  463. # [12:20] <Hixie> ...
  464. # [12:20] <Hixie> what?
  465. # [12:21] <Hixie> in fact, it returns that for any value of the argument
  466. # [12:21] <Hixie> BUT
  467. # [12:21] <Hixie> <!DOCTYPE html>...<form><select><option>x</select></form><script>w(document.forms[0][0]())</script> -> undefined
  468. # [12:21] <Philip`> annevk: Not sure what you mean
  469. # [12:22] * Joins: virtuelv (n=virtuelv@pat-tdc.opera.com)
  470. # [12:23] <annevk> I thought that maybe the weird behavior of item was normal
  471. # [12:23] <annevk> doesn't seem like it
  472. # [12:23] <annevk> funny when you compare .item with .namedItem
  473. # [12:25] <Hixie> i am so confused right now
  474. # [12:28] * jgraham is worried that trying to understand IE may leave Hixie in no state to edit the spec. Or do anything really. Except go with the nice men in their white coats
  475. # [12:29] * annevk lolz
  476. # [12:30] <Hixie> aggnnnnewwwg
  477. # [12:30] <Hixie> <!DOCTYPE html>...<form><input name=a></form><script>var f = document.forms[0]; w(f('a')); w(document.forms[0]('a'))</script>
  478. # [12:30] <Hixie> -> [object HTMLInputElement] [object HTMLFormElement]
  479. # [12:30] <Hixie> !!!!!!!!!!!!!!!!!!!!1111111oneoneoneohenneeohenneegah
  480. # [12:31] * annevk gets worried too now
  481. # [12:32] <jgraham> I think it safe to assume that this bit of IE was implemented by repeatedly getting a cat to walk over the keyboard until something compiled
  482. # [12:34] <Philip`> I don't think cats could design something so perverse
  483. # [12:34] <Hixie> i wonder if heycam would fall for it if i told him i needed something to spec the last thing i pasted here
  484. # [12:35] <annevk> how would that even work?
  485. # [12:35] <Hixie> just like in IE!
  486. # [12:35] <Dashiva> Magic
  487. # [12:35] <annevk> how does it even work, I should say :)
  488. # [12:38] <Hixie> wow
  489. # [12:38] <Hixie> IE doesn't index on <option name="">
  490. # [12:38] <Hixie> only <option id="">
  491. # [12:38] <Lachy> Hixie, shouldn't that be w(f]'a']); (using square brackets, not parentheses)?
  492. # [12:38] <Lachy> oops, I meant w(f([a']);
  493. # [12:38] <Lachy> aargh. you know what I mean.
  494. # [12:38] <Hixie> i'm testing (and speccing) the Callable=namedItem behavior
  495. # [12:39] <Hixie> the NameGetter=namedItem behavior is a separate kettle of rotten fish entirely
  496. # [12:39] <Lachy> oh. I didn't know that you could call it as a function. Does it work in any browser except IE?
  497. # [12:39] * annevk looks forward to this week in HTML5, should be easy to write: "There be dragons."
  498. # [12:40] <Hixie> Lachy: at least one case works in safari
  499. # [12:40] <Hixie> oh jesus
  500. # [12:40] <Hixie> select.item('a') actually returns something
  501. # [12:40] <Hixie> works just like .namedItem('a')
  502. # [12:40] <Hixie> i hope nobody minds if this part of the spec isn't 100% IE compatible
  503. # [12:40] * Quits: pauld (n=pauld@host81-130-14-9.in-addr.btopenworld.com)
  504. # [12:41] <Hixie> but I don't think I can actually spec what IE does without violating some fundamental laws of physics
  505. # [12:41] <annevk> you're saying IE beats physics?
  506. # [12:42] <zcorpan> maybe our understanding of physics is flawed
  507. # [12:42] <zcorpan> and the real world is more like ie
  508. # [12:44] * jgraham hopes Bell's theroem doesn't apply to IE
  509. # [12:45] <Hixie> that would be bad
  510. # [12:46] <Philip`> It's all just spooky action at a distance
  511. # [12:46] * Joins: mpt (n=mpt@canonical/launchpad/mpt)
  512. # [12:47] <Lachy> Hixie, I couldn't get that above script to work in either Firefox, Opera or Safari
  513. # [12:48] <Hixie> i'm actually more worried that the theory expounded upon at the start of the The Restaurant at the End of the Universe is the one that applies here
  514. # [12:48] <Hixie> Lachy: i don't think any of them do this for option and select, no
  515. # [12:49] <Philip`> Did the latest version of IE8's developer tools remove the DOM-properties view? I can't find it anywhere
  516. # [12:49] * Parts: deane (n=opera@121.98.190.61)
  517. # [12:50] <Lachy> Hixie, I meant this one: <form><input name=a></form><script>var f = document.forms[0]; w(f('a')); w(document.forms[0]('a'))</script>
  518. # [12:50] <Lachy> it only works in IE
  519. # [12:50] <Hixie> yeah i don't think callable forms is supported by the others either
  520. # [12:51] <zcorpan> maybe f.elements('a')?
  521. # [12:52] <annevk> that should be identical to f('a')
  522. # [12:52] <annevk> in IE anyway
  523. # [12:53] <annevk> we could copy that in HTML5 I think
  524. # [12:53] <Hixie> it's already in html5
  525. # [12:53] <Hixie> oh actually that one isn't
  526. # [12:54] <annevk> then we could drop HTMLFormControlsCollection
  527. # [12:54] <annevk> I suppose
  528. # [12:54] <Hixie> i don't intend to
  529. # [12:54] <Hixie> but we could
  530. # [12:54] <Hixie> oh actually it is already in html5, sorry
  531. # [12:54] <Hixie> i was confusing it with something else
  532. # [12:55] <annevk> hmm, not in my copy
  533. # [12:55] <annevk> " readonly attribute HTMLFormControlsCollection elements;"
  534. # [12:57] <Hixie> i thought you were saying we should make elements callable
  535. # [12:59] <annevk> no, I meant removing that interface in favor of just having <form>
  536. # [13:00] <annevk> might not be needed though, just an idea
  537. # [13:00] <Hixie> yeah, we could. i don't intend to.
  538. # [13:00] <annevk> it would be nice if [Callable=namedItem] and all were inside the interface def
  539. # [13:01] <annevk> if you link to e.g. HTMLFormElement you won't see it
  540. # [13:01] <Hixie> dunno how to change that
  541. # [13:01] <annevk> alternatively we could do one interface per <pre> and have the linking work differently
  542. # [13:02] <Hixie> that's either heycam's problem or gsnedders'. :-)
  543. # [13:02] <annevk> well, heycam could just move them inside... :)
  544. # [13:02] <Hixie> not without breaking compat with OMG IDL
  545. # [13:02] <annevk> well, one interface per <pre> is also years
  546. # [13:02] <annevk> I see
  547. # [13:06] <Hixie> heycam: it's unfortunate that for the enumeration stuff i have to first list how to get the list of names, then list how to get the mapping of name to value
  548. # [13:06] <Hixie> heycam: since those two operations are so similar
  549. # [13:10] * Quits: rubys (n=rubys@cpe-075-182-092-038.nc.res.rr.com) (Remote closed the connection)
  550. # [13:14] <Hixie> ok i'm taking a break
  551. # [13:14] <Hixie> before i lost my sanity
  552. # [13:14] <Hixie> forms are crazy
  553. # [13:14] <Hixie> dom level 0 is crazy
  554. # [13:14] <Hixie> IE is crazy
  555. # [13:14] <Hixie> all three together = crazitasticness
  556. # [13:16] <Philip`> Does anyone still have IE8b2?
  557. # [13:17] <Philip`> If so: Does <!DOCTYPE html><svg xmlns=x> give an element called 'svg' inside HEAD, or an element called 'SVG' before HTML?
  558. # [13:18] <Philip`> (It gives the former in IE8RC1, and parses elements inside there with its normal XMLish rules rather than its normal HTML ones)
  559. # [13:19] <Philip`> (and it does that for seemingly any unrecognised element, with an xmlns attribute that contains at least one character)
  560. # [13:20] <Hixie> in the dom viewer, "<!DOCTYPE html><svg xmlns=x>s" says:
  561. # [13:20] <Hixie> http://junkyard.damowmow.com/350
  562. # [13:21] <Hixie> ie8b2
  563. # [13:21] <Hixie> Philip`: ^
  564. # [13:21] <Philip`> Thanks
  565. # [13:21] <Philip`> Look like it's changed in RC1, then
  566. # [13:21] <Hixie> what do later beta do?
  567. # [13:21] <Philip`> *Looks
  568. # [13:22] <Philip`> Hixie: They give:
  569. # [13:22] <Philip`> HTML
  570. # [13:22] <Philip`> HEAD
  571. # [13:22] <Philip`> TITLE
  572. # [13:22] <Philip`> svg xmlns="x"
  573. # [13:23] <Philip`> and you can write <svg xmlns=x><foo><bar/><baz/></foo></svg> and it'll parse into the same kind of tree as if it were XML
  574. # [13:23] <Hixie> and without the xmlns?
  575. # [13:24] <Philip`> Without that, it does the same as IE8b2 (which is the same as IE7 and IE6)
  576. # [13:25] <Hixie> so basically they just added xmlns="" as a way to do what used to be only possible with a prefix?
  577. # [13:25] <Philip`> Yes
  578. # [13:25] <Hixie> i wonder how many pages that breaks
  579. # [13:26] <Hixie> given how common xmlns="" attributes are
  580. # [13:26] <Philip`> It's only on unrecognised elements, so it won't affect most
  581. # [13:27] <Hixie> i love how they still support style="", onclick="", etc, on these elements
  582. # [13:28] <Hixie> what happens with things like: <html>...<foo xmlns="">...<input type=submit> ?
  583. # [13:31] * Quits: virtuelv (n=virtuelv@pat-tdc.opera.com) ("Leaving")
  584. # [13:32] <Philip`> You get a submit button
  585. # [13:34] <Hixie> so e.g. <svg xmlns=""> ... <font> ... <script> ... </svg> wouldn't have svg <font> amd <script> elements?
  586. # [13:34] * Joins: virtuelv (n=virtuelv@213.236.208.247)
  587. # [13:35] <Philip`> <svg xmlns=x><font color=red>Hello</font></svg> is rendered as red text
  588. # [13:35] <Philip`> (with the FONT element being a child of the svg element)
  589. # [13:36] <Hixie> good times
  590. # [13:36] <Hixie> ok
  591. # [13:36] <Hixie> bed time
  592. # [13:36] <Hixie> nn
  593. # [13:44] * Quits: hallvors (n=hallvord@softbank221089079197.bbtec.net)
  594. # [13:56] * Joins: pauld (n=pauld@host81-130-14-9.in-addr.btopenworld.com)
  595. # [14:09] * Quits: pauld (n=pauld@host81-130-14-9.in-addr.btopenworld.com) (Connection reset by peer)
  596. # [14:14] * Quits: virtuelv (n=virtuelv@213.236.208.247) ("Leaving")
  597. # [14:21] * Joins: MikeSmith (n=MikeSmit@EM114-48-147-17.pool.e-mobile.ne.jp)
  598. # [14:25] * Joins: virtuelv (n=virtuelv@pat-tdc.opera.com)
  599. # [14:34] * Quits: svl (n=me@ip565744a7.direct-adsl.nl) ("And back he spurred like a madman, shrieking a curse to the sky.")
  600. # [14:36] <MikeSmith> hsivonen: I notice you changed the content model for colgroup
  601. # [14:37] <MikeSmith> how are you having validator.nu enforce the constraint that a colgroup with a col child can't have a span attribute?
  602. # [14:38] * Joins: rubys (n=rubys@cpe-075-182-092-038.nc.res.rr.com)
  603. # [14:42] * Quits: aaronlev_ (n=chatzill@e179060186.adsl.alicedsl.de) ("ChatZilla 0.9.84 [Firefox 3.1b3pre/20090109073009]")
  604. # [14:42] <zcorpan> colgroup = (col* | colgroup.attrs.span?) & colgroup.attrs
  605. # [14:42] <hsivonen> MikeSmith: it's quite possible that I'm not
  606. # [14:42] <MikeSmith> hsivonen: it seems you changed the content model in r371
  607. # [14:42] <MikeSmith> in table.rnc
  608. # [14:43] <hsivonen> I added span, but I forgot about the child restriction in that case
  609. # [14:44] * Joins: aaronlev (n=chatzill@e179060186.adsl.alicedsl.de)
  610. # [14:44] <MikeSmith> hsivonen: I think it worked as expected the way you had it before
  611. # [14:44] <MikeSmith> what zcorpan cited above
  612. # [14:44] <hsivonen> oh.
  613. # [14:54] * Quits: Kuruma (n=Kuruman@h116-000-163-146.catv01.catv-yokohama.ne.jp) (Read error: 54 (Connection reset by peer))
  614. # [14:55] * Joins: hdh (n=hdh@58.187.22.95)
  615. # [14:57] <hsivonen> checked in but my deployment script isn't working reliably
  616. # [14:58] <MikeSmith> OK
  617. # [14:58] * Quits: virtuelv (n=virtuelv@pat-tdc.opera.com) (Remote closed the connection)
  618. # [14:59] * Joins: Kuruma (n=Kuruman@h116-000-163-146.catv01.catv-yokohama.ne.jp)
  619. # [15:09] * Joins: virtuelv (n=virtuelv@213.236.208.247)
  620. # [15:23] * Joins: zdobersek (n=zan@cpe-92-37-71-200.dynamic.amis.net)
  621. # [15:25] <hsivonen> MikeSmith: now deployed.
  622. # [15:25] <MikeSmith> hsivonen: thanks
  623. # [15:32] * Quits: virtuelv (n=virtuelv@213.236.208.247) (Read error: 60 (Operation timed out))
  624. # [15:45] * Quits: Kuruma (n=Kuruman@h116-000-163-146.catv01.catv-yokohama.ne.jp) (Remote closed the connection)
  625. # [15:48] * Joins: Kuruma (n=Kuruman@h116-000-163-146.catv01.catv-yokohama.ne.jp)
  626. # [15:53] * Joins: xydyx (n=hdh@58.187.22.95)
  627. # [16:07] * Quits: ap (n=ap@195.239.126.10)
  628. # [16:10] * Joins: eric_carlson (n=ericc@nat/apple/x-b0dd3c648c8dcb95)
  629. # [16:11] * Joins: aroben (n=aroben@unaffiliated/aroben)
  630. # [16:15] * Quits: hdh (n=hdh@58.187.22.95) (Read error: 110 (Connection timed out))
  631. # [16:17] * Joins: billyjackass (n=MikeSmit@EM114-48-129-12.pool.e-mobile.ne.jp)
  632. # [16:24] * Quits: aroben (n=aroben@unaffiliated/aroben) (Read error: 104 (Connection reset by peer))
  633. # [16:27] * Joins: webben (n=webben@nat/yahoo/x-84cfcdeac6b18447)
  634. # [16:32] * Quits: MikeSmith (n=MikeSmit@EM114-48-147-17.pool.e-mobile.ne.jp) (Read error: 110 (Connection timed out))
  635. # [16:40] * Joins: aroben (n=aroben@c-71-58-73-153.hsd1.pa.comcast.net)
  636. # [16:41] * Quits: maikmerten (n=merten@ls5dhcp195.cs.uni-dortmund.de) (Remote closed the connection)
  637. # [16:47] * Joins: primal1 (n=primal1@pool-72-87-132-196.lsanca.dsl-w.verizon.net)
  638. # [16:51] * Quits: myakura (n=myakura@p1096-ipbf1904marunouchi.tokyo.ocn.ne.jp) ("Leaving...")
  639. # [16:54] * Quits: zdobersek (n=zan@cpe-92-37-71-200.dynamic.amis.net) (Read error: 110 (Connection timed out))
  640. # [16:56] * Joins: zdobersek (n=zan@cpe-92-37-75-121.dynamic.amis.net)
  641. # [16:59] <annevk> namespace without documentation: http://wordpress.org/export/1.0/ :/
  642. # [17:00] <gsnedders> annevk: WXR isn't even XML anyway
  643. # [17:00] <gsnedders> annevk: WP's WXR parser totally ignores namespaces, too.
  644. # [17:00] <annevk> that's all cool, I just need to be able to write it so WordPress can consume all my content
  645. # [17:00] <gsnedders> annevk: It basically uses regexes to parse it
  646. # [17:00] <gsnedders> annevk: OK, make sure you use CDATA blocks where WP does.
  647. # [17:00] <hsivonen> WP seems to have given up on its ideals since it overtook MT as the most popular blogging platform
  648. # [17:00] * Joins: dglazkov (n=dglazkov@nat/google/x-9c2bafe26fd02ef1)
  649. # [17:01] <gsnedders> hsivonen: I'd argue before that, but hey
  650. # [17:01] <hsivonen> annevk: are you migrating from your own system to WP?
  651. # [17:01] <annevk> I was thinking about it, yes
  652. # [17:01] <zcorpan> why?
  653. # [17:01] <Philip`> gsnedders: Would you argue that giving up on its ideals was a necessary factor in its becoming the most popular blogging platform?
  654. # [17:01] <annevk> to more easily get OpenID support and all
  655. # [17:01] <gsnedders> annevk: Take a look at Habari.
  656. # [17:01] <gsnedders> Philip`: No
  657. # [17:01] <Lachy> woah. I wouldn't. Personally, I want to migrate away from WP to my own system. I just don't have time to write it
  658. # [17:01] <Philip`> gsnedders: Oh, okay then
  659. # [17:01] * Quits: Maurice (n=ano@a80-101-46-164.adsl.xs4all.nl) ("Disconnected...")
  660. # [17:02] * gsnedders points towards #habari
  661. # [17:02] <gsnedders> With wonders such as: output as HTML!
  662. # [17:02] <gsnedders> Using a serializer to create XML!
  663. # [17:02] <gsnedders> All these bizarre things.
  664. # [17:03] <annevk> gsnedders, does Habari describe an import format I can generate?
  665. # [17:03] <gsnedders> annevk: Admittedly, no
  666. # [17:03] * annevk doesn't find it in the documentation
  667. # [17:04] <zcorpan> gsnedders: does it use an html5 parser and serializer?
  668. # [17:04] <gsnedders> zcorpan: No
  669. # [17:04] * Joins: svl (n=me@ip565744a7.direct-adsl.nl)
  670. # [17:04] <gsnedders> s9y,wordpress,MT,blogger importers.
  671. # [17:05] <Lachy> Habari looks nice. I might have to give it a try
  672. # [17:06] <annevk> maybe I should just generate a bunch of static pages of all content I have so far and start over...
  673. # [17:06] <gsnedders> annevk: How's it stored currently?
  674. # [17:07] <annevk> table for posts, table for comments, table for tags, some linking between them, iirc
  675. # [17:07] <gsnedders> How much is stored as XML? Comments are, aren't they? Posts too I assume?
  676. # [17:08] <annevk> "XML fragments"
  677. # [17:08] <annevk> they actually don't have a root in the database
  678. # [17:08] <annevk> so I can use string concat in the end :)
  679. # [17:08] <gsnedders> I think that'll probably be the hardest part of moving to any other system: any other system assumes HTML or HTML-compat XHTML :)
  680. # [17:10] <annevk> it stores Atom IDs as well, has two different summary fields, etc.
  681. # [17:10] * Quits: Lachy (n=Lachlan@pat-tdc.opera.com) ("This computer has gone to sleep")
  682. # [17:10] <annevk> two different title fields too
  683. # [17:10] <annevk> one text/plain and one with markup
  684. # [17:11] <annevk> I guess I might lose those features if I switch, hmm :/
  685. # [17:11] <gsnedders> That's not going to be fun moving with.
  686. # [17:12] * Joins: MikeSmith (n=MikeSmit@EM114-48-36-219.pool.e-mobile.ne.jp)
  687. # [17:12] * rubys is perpetually rewriting his own blog engine, this time in Ruby
  688. # [17:12] <gsnedders> annevk: I'd ask in #habari about keeping things like that
  689. # [17:13] * gsnedders has no idea how hard it'd be
  690. # [17:13] * Quits: primal1 (n=primal1@pool-72-87-132-196.lsanca.dsl-w.verizon.net)
  691. # [17:14] * Joins: primal1 (n=primal1@pool-72-87-132-196.lsanca.dsl-w.verizon.net)
  692. # [17:14] <rubys> if you look at blosxom, you can see how easy it can be. And deceptively so.
  693. # [17:15] <zcorpan> annevk: can't the text/plain version be generated from the markup version?
  694. # [17:15] * hsivonen notices that IE8's compat view button affects all *.iki.fi subdomains if activated on one. Not good.
  695. # [17:16] <annevk> zcorpan, I suppose, if you have a good fragment parser in place and some logic
  696. # [17:17] <zcorpan> annevk: what logic is needed?
  697. # [17:18] <annevk> expanding abbreviations maybe, dunno, haven't thought about it or studied what I've done so far
  698. # [17:19] <hsivonen> Hixie: is the "parser pause flag" something that's going to stay around once you take into account the script execution model feedback from Apple and Opera?
  699. # [17:19] <gsnedders> annevk: .textContent?
  700. # [17:19] * zcorpan wonders if Olivier should take email summaries less literally and try reading the spec instead
  701. # [17:19] <annevk> gsnedders, wouldn't expand abbreviations
  702. # [17:19] <gsnedders> Ah
  703. # [17:20] <zcorpan> why would you want to expand abbreviations?
  704. # [17:21] <annevk> to keep the same info in the text/plain version
  705. # [17:21] <annevk> is this really relevant?
  706. # [17:21] * annevk goes back to work
  707. # [17:30] * Quits: billyjackass (n=MikeSmit@EM114-48-129-12.pool.e-mobile.ne.jp) (Read error: 110 (Connection timed out))
  708. # [17:32] <annevk> I suppose I could consider writing a subset of an XML5 parser (one that ignores DOCTYPES and silly things) and serializer and use that to do my blog, but then I'd still have to fix OpenID support somehow and things like that
  709. # [17:33] <rubys> for your application, why an XML5 parser? Why not simply an HTML5 parser?
  710. # [17:34] <annevk> an HTML5 parser is not simple :)
  711. # [17:34] <Philip`> "import html5lib"
  712. # [17:34] <Philip`> That's easy enough :-)
  713. # [17:34] <annevk> in PHP?
  714. # [17:34] <rubys> why PHP? :-)
  715. # [17:34] <zcorpan> aren't there html5 parsers written in php?
  716. # [17:34] <annevk> that's what I have now and it's rather fast :)
  717. # [17:34] <Philip`> Pipe the text from PHP through an external Python process :-)
  718. # [17:35] <Philip`> It's silly to be constrained by only using a single language at once
  719. # [17:36] <jgraham> annevk: Get a less silly web host?
  720. # [17:36] <gsnedders> annevk: Ping @azyang
  721. # [17:36] <hsivonen> Hixie: the WHATWG spec doesn't have 2009 in the copyright notice
  722. # [17:36] <gsnedders> annevk: Also, PHP is really slow
  723. # [17:36] <annevk> jgraham, DreamHost is not that bad, is it?
  724. # [17:36] <annevk> gsnedders, usually when I do something with Python it's much slower, but I think I get the setup wrong
  725. # [17:36] <jgraham> annevk: Dunno but the specgen was much slower for you on dreamhost than for me on webfaction
  726. # [17:37] <annevk> jgraham, I wonder if it was due to way I configured everything
  727. # [17:37] <hsivonen> PHP--the new COBOL? :-)
  728. # [17:37] <jgraham> annevk: Maybe. But Dreamhost is silly because it only provides really outdated python by default
  729. # [17:37] <annevk> anyway, rewriting everything in Python is even more work :)
  730. # [17:38] <annevk> jgraham, true, though you are allowed to install your own, which sort of offsets that when you figure out how
  731. # [17:38] <zcorpan> "If you want to produce application/xhtml+xml, you are free to do so. If you get it right, no one will notice. If you get it wrong, no one will forgive you." - http://wiki.habariproject.org/en/XHTML_vs_HTML
  732. # [17:38] <jgraham> annevk: Yes but that means you have to install your own which introduces the possibility of configuring it badly
  733. # [17:39] <jgraham> (although I did also install my on on webfaction the default of 2.4.3 is not so bad)
  734. # [17:39] <annevk> fair point
  735. # [17:39] <rubys> zcorpan: I got it wrong once, do you forgive me? :-)
  736. # [17:39] <Philip`> annevk: You don't need to rewrite everything in Python, just use it as a tag-soup-to-DOM conversion tool and import the resulting DOM into PHP
  737. # [17:39] <Philip`> and then you don't have to go to all the effort of implementing an XML5 parser in PHP :-)
  738. # [17:40] <gsnedders> jgraham: What version of Anolis does pms use?
  739. # [17:40] * Quits: dglazkov (n=dglazkov@nat/google/x-9c2bafe26fd02ef1)
  740. # [17:42] <zcorpan> rubys: no, you need to learn your lesson and stop doing silly string concat :P
  741. # [17:42] <jgraham> gsnedders: 285:0570e687a80b
  742. # [17:43] * gsnedders has a vague memory of that being 1.0
  743. # [17:43] <gsnedders> However, I am wrong
  744. # [17:43] <jgraham> gsnedders: I just pulled the tip
  745. # [17:43] <gsnedders> There's one commit since
  746. # [17:43] <jgraham> That souds wrong, somehow
  747. # [17:44] <gsnedders> tip should be 286
  748. # [17:44] <gsnedders> 286 changes body to sectioning root from sectioning content (following Hixie's change of HTML 5)
  749. # [17:44] <Philip`> zcorpan: It'd be nice if stopping doing silly string concat let you be certain you were generating well-formed XML, but it never seems to work that well in practice :-(
  750. # [17:45] <jgraham> gsnedders: Yes, that's what I have now
  751. # [17:45] <gsnedders> jgraham: If it breaks the spec, it's Hixie's own fault :)
  752. # [17:46] <rubys> Phillip` +1
  753. # [17:46] <Philip`> (... e.g. the surrogate-character (I think?) bug in Xalan (I think?) that hsivonen encountered)
  754. # [17:47] * Quits: webben (n=webben@nat/yahoo/x-84cfcdeac6b18447) ("Lost terminal")
  755. # [17:47] * hsivonen blames his bozoness on Lotus
  756. # [17:48] <rubys> Meanwhile, I just got http://rails.intertwingly.net/blog/index.html to the point where it renders acceptably on IE8 beta 7000, Opera 9.63, safari 3.2.1, firefox 3.0.5, and chrome 1.0.154.43. WOOT!
  757. # [17:50] * Joins: dglazkov (n=dglazkov@nat/google/x-8a8b6939f7e88b92)
  758. # [17:50] <olliej> rubys: i'd be worried if you got something rendering correctly in safari 3.2, but not chrome
  759. # [17:50] <olliej> rubys: given they're both running off the same webkit branch
  760. # [17:51] * Joins: weinig (n=weinig@c-69-181-81-233.hsd1.ca.comcast.net)
  761. # [17:51] <rubys> I have some javascript on my weblog... and you can actually see the differences in the two if you look at dates
  762. # [17:52] <olliej> rubys: oh, i assumed you were talking about layout
  763. # [17:52] <olliej> rubys: they have a completely different js engine
  764. # [17:52] <rubys> html5 layout without javascript is broken on IE8
  765. # [17:53] <olliej> rubys: so their date logic is likely different... although i find myself wondering how date's could vary at all
  766. # [17:53] <olliej> regardless of browser
  767. # [17:53] <olliej> O_o
  768. # [17:53] <rubys> dates are the same, it is the toString and toLocaleString method that differ
  769. # [17:53] <annevk> oh, we have had our share of dates issues as well
  770. # [17:54] <annevk> e.g. getYear and getFullYear iirc
  771. # [17:54] <olliej> morning annevk
  772. # [17:54] <annevk> good afternoon olliej :p
  773. # [17:54] <Philip`> rubys: The "Explore" box on the right has rounded corners but an ugly rectangular border around them, in Opera 9.6something :-(
  774. # [17:54] * Joins: webben (n=webben@nat/yahoo/x-007390f6bb86c253)
  775. # [17:54] <rubys> safari: Sunday, January 11, 2009 13:52:02; chrome: Sun Jan 11 2009 13:52:02
  776. # [17:55] <annevk> does ECMA allow both?
  777. # [17:55] <olliej> annevk: back in nl?
  778. # [17:55] <olliej> annevk: it's ecma
  779. # [17:55] <Philip`> and the comment boxes with rounded corners have a white background behind the cut-out bit of the corner
  780. # [17:55] <annevk> yes
  781. # [17:55] <rubys> Phillip`: that shows a partial svg experiment that I never completed
  782. # [17:55] <olliej> annevk: why would you expect it to define anything?
  783. # [17:55] <Philip`> (rather than the proper background colour)
  784. # [17:55] <rubys> I'll back that out later today
  785. # [17:56] <annevk> olliej, I guess it's naive to assume specs are useful
  786. # [17:56] <rubys> opera has a cool ability to use svg in css, but its usefulness is limited by the fact that you can't do svg inline in css
  787. # [17:56] <zcorpan> rubys: what if IE9 implements createElementNS but doesn't change the parser?
  788. # [17:56] <olliej> annevk: well, esp. ecma262
  789. # [17:56] <rubys> zcorpan: then I'll react accordingly.
  790. # [17:56] <zcorpan> rubys: but maybe there will be hundreds of people copying your code and won't
  791. # [17:57] <annevk> rubys, E4C? :)
  792. # [17:57] <Philip`> rubys: Konqueror from KDE4 seems to work pretty well too
  793. # [17:57] <annevk> euh, C4X or something
  794. # [17:57] <Philip`> (But I can't test the KDE3 one because somehow it's got totally corrupted)
  795. # [17:57] <rubys> then don't copy my code. :-)
  796. # [18:02] * Joins: gavin_ (n=gavin@CPE001346f5db49-CM0018c0db9a8a.cpe.net.cable.rogers.com)
  797. # [18:03] * Quits: webben (n=webben@nat/yahoo/x-007390f6bb86c253) ("leaving")
  798. # [18:05] * Joins: webben (n=webben@nat/yahoo/x-ab0399c711563af0)
  799. # [18:07] * Joins: hdh0 (n=hdh@58.187.22.95)
  800. # [18:10] * Joins: Lachy (n=Lachlan@85.196.122.246)
  801. # [18:13] * Joins: Maurice (i=copyman@5ED548D4.cable.ziggo.nl)
  802. # [18:21] * Quits: sverrej (n=sverrej@pat-tdc.opera.com) (Read error: 110 (Connection timed out))
  803. # [18:21] * Quits: pesla (n=retep@procurios.xs4all.nl) ("( www.nnscript.com :: NoNameScript 4.21 :: www.esnation.com )")
  804. # [18:22] * Quits: xydyx (n=hdh@58.187.22.95) (Read error: 110 (Connection timed out))
  805. # [18:24] * Quits: dave_levin (n=dave_lev@c-98-203-247-78.hsd1.wa.comcast.net)
  806. # [18:35] * Quits: zcorpan (n=zcorpan@pat.se.opera.com)
  807. # [18:35] * Joins: dbaron (n=dbaron@c-98-234-51-190.hsd1.ca.comcast.net)
  808. # [18:48] * Joins: dave_levin (n=dave_lev@72.14.227.1)
  809. # [18:59] * Joins: sverrej (n=sverrej@cm-84.208.153.202.getinternet.no)
  810. # [19:03] * Joins: hober (n=ted@unaffiliated/hober)
  811. # [19:12] <hsivonen> does Opera 10 have any upcoming CSS features that no other browser has yet?
  812. # [19:13] <annevk> WebKit has SVG as background as well now right?
  813. # [19:14] * annevk isn't really sure what exactly is in Opera 10 to be honest
  814. # [19:14] <rubys> Phillip`: I got rid of the rounded corders with square edges on Opera.
  815. # [19:15] <rubys> not sure if this answers hsivonen's question, but opera 9 supports svg as backgrounds in css
  816. # [19:15] <annevk> true
  817. # [19:15] <annevk> we support SVG fonts referenced from @font-face, but I think WebKit has that too
  818. # [19:18] <annevk> of interest here might be "Removed UTF-32 encoding support"
  819. # [19:18] <olliej> annevk: yup
  820. # [19:18] <olliej> annevk: S3.1 has that :D
  821. # [19:18] * Joins: virtuelv (n=virtuelv@48.80-202-82.nextgentel.com)
  822. # [19:20] * Quits: dolske (n=dolske@firefox/developer/dolske)
  823. # [19:20] <rubys> why remove UTF-32 (other than the obvious: nobody uses it)?
  824. # [19:20] <hsivonen> rubys: implementation and QA cost
  825. # [19:21] <rubys> wouldn't have expected either to be that high for something already implemented...
  826. # [19:22] <annevk> just unneeded complexity
  827. # [19:23] <annevk> no need to support more charsets than necessary :)
  828. # [19:23] * annevk hopes we can bring it down to some fixed list at some point
  829. # [19:23] * Joins: jruderman (n=jruderma@c-67-180-39-55.hsd1.ca.comcast.net)
  830. # [19:23] <annevk> of course, someone might complain about distributed extensibility when that happens, but we can deal with that :p
  831. # [19:25] <Philip`> annevk: I want <meta charset="http://www.example.com/translation-table-for-my-funky-encoding.xml">
  832. # [19:25] <Philip`> The existing values can be interpreted as URIs relative to http://www.w3.org/2009/charsets# and it'll all be fine
  833. # [19:25] <rubys> I want utf-8 to be the default, but we can't all have what we want.
  834. # [19:26] <annevk> just include a BOM
  835. # [19:26] * gsnedders thinks most people here would want UTF-8 to be default
  836. # [19:26] <rubys> annevk: you are kidding, right? (I hope you are kidding...)
  837. # [19:27] <annevk> rubys, you don't like a BOM? you could use HTTP instead, doesn't really matter :)
  838. # [19:27] * annevk wasn't kidding about the fixed list of charsets though
  839. # [19:27] <annevk> and that goal seems sort of realistic
  840. # [19:27] <rubys> I use HTTP's charset.
  841. # [19:27] * Quits: jwalden (n=waldo@c-67-180-39-55.hsd1.ca.comcast.net) ("ChatZilla 0.9.82.1-rdmsoft [XULRunner 1.8.0.9/2006120508]")
  842. # [19:28] <annevk> given enough time to investigate what browsers support and ways to lock it down, separate it from OS charset support, etc.
  843. # [19:28] * Philip` notes that failing to support encodings can be a security issue
  844. # [19:29] <gsnedders> annevk: Why separate it from OS charset support? Surely that's an extra impl. cost?
  845. # [19:29] <annevk> gsnedders, well, at least have some layer in between that limits or extends what is supported so that it is the same everywhere
  846. # [19:30] <gsnedders> annevk: It just seems like an extra layer for bugs
  847. # [19:30] <Philip`> (e.g. some servers let you select what charset the response will be in, and if you choose one that your victim's browser does not support, you can perform an XSS attack by including safe characters which get encoded into bytes that are decoded by the browser as '<')
  848. # [19:31] <annevk> gsnedders, not supporting the same charsets is also a source of bugs
  849. # [19:32] <gsnedders> Inevitably. Which has the greater cost, though?
  850. # [19:32] * Joins: maikmerten (n=maikmert@Lb4b9.l.pppool.de)
  851. # [19:32] <annevk> gsnedders, not supporting the same charsets makes sites unusable...
  852. # [19:33] <annevk> what happened to mr last week btw?
  853. # [19:33] * annevk needs his lastweekinhtml5 fix
  854. # [19:38] * Quits: weinig (n=weinig@c-69-181-81-233.hsd1.ca.comcast.net)
  855. # [19:40] * Quits: tantek (n=tantek@adsl-69-107-14-121.dsl.pltn13.pacbell.net)
  856. # [19:42] * Quits: jruderman (n=jruderma@c-67-180-39-55.hsd1.ca.comcast.net)
  857. # [19:47] <hober> http://jacobian.org/writing/descriptivists-and-prescriptivists/
  858. # [19:49] * Joins: KevinMarks (n=KevinMar@nat/google/x-4f8f162580ddcac2)
  859. # [19:49] * Quits: dbaron (n=dbaron@c-98-234-51-190.hsd1.ca.comcast.net) ("8403864 bytes have been tenured, next gc will be global.")
  860. # [19:51] * Quits: mpt (n=mpt@canonical/launchpad/mpt) ("Leaving")
  861. # [19:51] <annevk> hober, seems we do both, just not fast enough?
  862. # [19:52] <hober> Well, perceived speed and actual speed are probably pretty different in this case... people don't understand what the timeline means.
  863. # [19:53] * Quits: zdobersek (n=zan@cpe-92-37-75-121.dynamic.amis.net) (Connection timed out)
  864. # [19:54] * Joins: zdobersek (n=zan@cpe-92-37-65-176.dynamic.amis.net)
  865. # [19:55] <takkaria> that article says <canvas> is non-standardised
  866. # [19:56] <webben> well that's true, it isn't standardized
  867. # [19:56] <webben> it's just in progress towards standization.
  868. # [19:56] * Joins: dimich (n=dimich@72.14.227.1)
  869. # [19:57] <webben> though "completely-non-standardized" is over emphatic, perhaps
  870. # [19:57] * Joins: dolske (n=dolske@corp-241.mountainview.mozilla.com)
  871. # [19:59] <annevk> "
  872. # [19:59] <annevk> Look, Flash video is a standard. Every browser under the sun will play a YouTube video. A descriptive view of the web would recognize that Flash has won the web video war, and design a <video> container around that. Instead, we get Ogg. Great."
  873. # [19:59] <annevk> "I want specs that encapsulate how the web actually works, not how a group of academics wish it worked."
  874. # [19:59] <annevk> I guess he meant more than what I summarized above judging from this comment on his own article
  875. # [20:00] <rubys> If you could go back a few years, you could replace that with "Look, IE5 is a standard. Every site under the sun will work with it. A descriptive view of the web would recognize that IE5 has won the web war, and would design a HTML5 standard around that. Instead we get WHATWG. Great"
  876. # [20:01] * Joins: kingryan (n=kingryan@c-24-5-77-167.hsd1.ca.comcast.net)
  877. # [20:01] <gavin> heh
  878. # [20:01] <jcranmer> I know a browser that doesn't play YouTube video
  879. # [20:01] <jcranmer> it's called elinks
  880. # [20:01] <gsnedders> NOWAI
  881. # [20:01] <jcranmer> there's also links, lynx, etc...
  882. # [20:01] <jcranmer> links2, IIRC
  883. # [20:02] <rubys> I downloaded safari yesterday on Windows. It didn't either. I had to install something called a 'plug-in'.
  884. # [20:02] <jcranmer> while I'm in a complaining mood, why won't people make websites look decent in text browsers?
  885. # [20:02] <jcranmer> or even usable?
  886. # [20:02] <gavin> because no one uses text browsers
  887. # [20:02] <rubys> jcranmer: I can't speak for all people, but I can say that I have tried to make my website look decent in text browsers.
  888. # [20:03] <jcranmer> gavin: another way of putting the usability aspect
  889. # [20:03] <jcranmer> don't rely on javascript if you don't have to
  890. # [20:03] * jcranmer glares at blackboard
  891. # [20:03] <gavin> "the usability aspect"?
  892. # [20:04] <takkaria> hmm, the author seems to say one needs a balance of prescriptivism and descriptivism, and then in the comments implies that he actually really just wants to be a descriptivist
  893. # [20:04] <jcranmer> making websites usable in text browsers
  894. # [20:05] <gavin> in that case I have no idea what the thing just said to me was supposed to convey
  895. # [20:08] * Joins: jwalden (n=waldo@corp-241.mountainview.mozilla.com)
  896. # [20:09] * Joins: tantek (n=tantek@c-67-161-5-143.hsd1.ca.comcast.net)
  897. # [20:15] * Joins: jruderman (n=jruderma@corp-241.mountainview.mozilla.com)
  898. # [20:26] * Quits: eric_carlson (n=ericc@nat/apple/x-b0dd3c648c8dcb95)
  899. # [20:38] <Philip`> It seems strange to call the WHATWG "a group of academics", since very few members of it are academics
  900. # [20:40] <Philip`> Or is the descriptivist approach to say that the term "academics" simply means "any group of people who I want to insult because they think differently to me"?
  901. # [20:44] <annevk> maybe more like "any group of people who has nice ideas that will never fly in the real world"
  902. # [20:45] * Quits: jruderman (n=jruderma@corp-241.mountainview.mozilla.com)
  903. # [20:46] <Philip`> annevk: I think that's missing the connotations that the people being referred to are clueless about the real world
  904. # [20:46] * Quits: webben (n=webben@nat/yahoo/x-ab0399c711563af0) (Read error: 110 (Connection timed out))
  905. # [20:47] <Philip`> (Obviously "real world" is entirely subjective and means "the way I currently view the world")
  906. # [20:47] <annevk> sure, and obviously not everyone thinks our ideas are nice...
  907. # [20:47] * Joins: jruderman (n=jruderma@corp-241.mountainview.mozilla.com)
  908. # [20:57] * Quits: roc (n=roc@121-72-177-3.dsl.telstraclear.net)
  909. # [21:05] * Quits: MikeSmith (n=MikeSmit@EM114-48-36-219.pool.e-mobile.ne.jp) (Read error: 110 (Connection timed out))
  910. # [21:07] * Quits: maikmerten (n=maikmert@Lb4b9.l.pppool.de) (Read error: 110 (Connection timed out))
  911. # [21:08] * Joins: maikmerten (n=maikmert@L8e7b.l.pppool.de)
  912. # [21:18] * Joins: jruderman_ (n=jruderma@corp-241.mountainview.mozilla.com)
  913. # [21:18] * Quits: jruderman (n=jruderma@corp-241.mountainview.mozilla.com) (Read error: 104 (Connection reset by peer))
  914. # [21:18] <tantek> Philip', "real world" is only entirely subjective if discussed theoretically. if OTOH, one responds to claims of something being (or not being) "real world" with [citation needed] then we can argue based on data/examples/sampling of natural phenomena which tends to better approximate the "real world".
  915. # [21:20] * Joins: sicking_ (n=chatzill@corp-242.mountainview.mozilla.com)
  916. # [21:24] * Quits: primal1 (n=primal1@pool-72-87-132-196.lsanca.dsl-w.verizon.net)
  917. # [21:27] * Joins: tantek_ (n=tantek@c-67-161-5-143.hsd1.ca.comcast.net)
  918. # [21:29] <hsivonen> rubys: for example, Sun's JDK doesn't come with a UTF-32 decoder. It would be silly to require me to write one or to require HTML parsers to require ICU4J to support something no one uses outside of test suites.
  919. # [21:30] <hsivonen> Philip`: supporting encodings is a security issue too. Consider IE and Safari & EBCDIC.
  920. # [21:32] <hsivonen> rubys: I downloaded Windows 7 beta, and IE8 didn't play Flash video out-of-the-box...
  921. # [21:32] <rubys> hsivonen: what you are talking about is subtly different? You are describing what encodings the spec REQUIRES, and the original question was what encodings an implementation choses to implement...
  922. # [21:33] <rubys> I would think that a browser that ran on a mainframe might, for example, support EBCDIC; but I wouldn't mandate that every browser does so.
  923. # [21:33] <hsivonen> rubys: supporting EBCDIC is potentially harmful in a security way. supporting UTF-32 is harmful is an opportunity cost way
  924. # [21:33] <annevk> wouldn't that be bad, because that would mean mainframe content becomes walled gardened
  925. # [21:34] <hsivonen> rubys: I think we should ban all the encoding that we can ban practically
  926. # [21:34] <rubys> good luck with that
  927. # [21:35] <rubys> a parser on a mainframe that can't parse files found on the local hard disk would be only of, ahem, academic interest.
  928. # [21:35] <hsivonen> rubys: why would HTML files on the local drive be EBCDIC rather than e.g. UTF-8?
  929. # [21:36] <hsivonen> rubys: they do have byte-oriented storage, right?
  930. # [21:36] <rubys> because they were produced using ISPF/PDF
  931. # [21:36] <rubys> I programmed on mainframes for over a decade. The short answer to that question is no.
  932. # [21:36] * Quits: sicking (n=chatzill@corp-242.mountainview.mozilla.com) (Read error: 110 (Connection timed out))
  933. # [21:36] <hsivonen> scary
  934. # [21:37] * Quits: jwalden (n=waldo@corp-241.mountainview.mozilla.com) ("Reconnecting…")
  935. # [21:37] <rubys> The dominant format for files was (FB 80) which meant that every line took 80 characters, after that point the next line started.
  936. # [21:37] <annevk> but you can put a proxy between the browser and the content
  937. # [21:37] <annevk> rubys, sweet
  938. # [21:37] * Quits: tantek (n=tantek@c-67-161-5-143.hsd1.ca.comcast.net) (Read error: 110 (Connection timed out))
  939. # [21:38] <rubys> annevk: forget browser for a minute, consider a conforming html5 parser, pointed to a file on a hard disk.
  940. # [21:38] <hsivonen> anyway, it seems to me that it's more up to the mainframe world to interoperate with the rest of the world by developing UTF-8 text editors and byte-oriented storage than up to the rest of the world to complicate stuff to accommodate mainframe peculiarities
  941. # [21:38] * tantek_ is now known as tantek
  942. # [21:38] <annevk> yeah, NEL and XML 1.1 come to mind
  943. # [21:38] <hsivonen> rubys: I'd want that file to be in UTF-8 regardless of platform.
  944. # [21:38] * rubys mutters something about academics and ivory towers
  945. # [21:39] <annevk> rubys, fair enough, but something that fixes the encoding should be possible even on mainframes, right?
  946. # [21:39] <hsivonen> I consider NEL harmful
  947. # [21:39] <hsivonen> rubys: how do mainframes read PNG files?
  948. # [21:39] <rubys> The rest of the world needs to change to accommodate your view of the world. Gotcha.
  949. # [21:40] <annevk> rubys, to a certain extent that is true, yes, people can't write <foo> as root element for HTML documents either, for instance
  950. # [21:40] <gavin> part of the rest of the world needs to change to accommodate the rest of the world
  951. # [21:40] <hsivonen> rubys: like XML changing to accommodate IBM mainframe view of the world? :-)
  952. # [21:41] <annevk> heh
  953. # [21:42] <hsivonen> in retrospect, it wasn't such a great idea to specify SGML in terms of mainframeish "records" and pretend that CRLF magically morphs into record boundaries by fictitious record start/ends getting inserted and immediately removed
  954. # [21:43] <rubys> gavin: a html5 parser on a mainframe reading a text file needs to change to support what? Let's be clear: nobody is arguing that EBCDIC should be REQUIRED. I'm just pushing back on the notion that any encodings can be PROHIBITED.
  955. # [21:44] <hsivonen> rubys: fwiw, I'm OK with an HTML5 parser on a mainframe supporting EBCDIC for local files as long as nothing EBCDIC-encoded ever goes over the HTTP wire
  956. # [21:44] <gavin> I'm suggesting that the mainframe needs to change to support be able to support an html5 user-agent
  957. # [21:44] * Quits: maikmerten (n=maikmert@L8e7b.l.pppool.de) (Remote closed the connection)
  958. # [21:45] * rubys chuckles
  959. # [21:45] <rubys> One can certainly send XHTML as EBCDIC and have it work with parsers that have installed the right encoding support.
  960. # [21:45] <Philip`> I thought the whole point of it being a mainframe was that it hadn't changed since the 1960s :-)
  961. # [21:45] <rubys> HTTP certainly would not prohibit such
  962. # [21:46] <hsivonen> rubys: that's an interop problem
  963. # [21:46] <rubys> yup
  964. # [21:46] <rubys> So is sending PNGs to lynx.
  965. # [21:46] <hsivonen> in fact, the whole encoding thing is a huge interop loophole in XML
  966. # [21:47] <gavin> I am aware that changing mainframes is not exactly trivial!
  967. # [21:47] * Joins: jwalden (n=waldo@corp-241.mountainview.mozilla.com)
  968. # [21:47] <annevk> encoding is a huge interop problem on the Web as well
  969. # [21:47] <annevk> e.g. sites trying to exchange data with each other
  970. # [21:48] <rubys> yup. And I would agree that a BCP (in IETF terms) document describing the set of encodings that are widely supported would be a Good Thing.
  971. # [21:49] <hsivonen> is there a good reason why NEL maps to an Unicode character of its own instead of the EBCDIC to Unicode conversion mapping it to LF?
  972. # [21:49] <rubys> http://feedvalidator.org/docs/warning/ObscureEncoding.html
  973. # [21:49] <rubys> brb
  974. # [21:50] <rubys> back
  975. # [21:52] * Quits: kingryan (n=kingryan@c-24-5-77-167.hsd1.ca.comcast.net)
  976. # [21:52] <rubys> I guessing that NEL is to distinguish between the (uncommonly used but actual) CR and NL characters and the virtual new lines that are inserted between record boundaries.
  977. # [21:53] <hsivonen> how do mainframes deal with the octet-orientedness of IETF protocols?
  978. # [21:55] <rubys> (records consist of octets, but nevermind) Web servers on mainframes certainly support common encodings for interchange. For text files on disk, an EBCDIC to some encoding based on ASCII is performed. For that reason, it would probably be a good idea if HTML5 parsers on a mainframe could process the same files.
  979. # [21:56] <hsivonen> rubys: that's not the kind of area HTML5 tries to be normative about
  980. # [21:57] * hsivonen looks up the answer to a similar issue in the context of a theoretical mobile device
  981. # [21:59] <hsivonen> I located the thread: http://lists.w3.org/Archives/Public/public-html-comments/2008Jan/0071.html
  982. # [21:59] * Joins: ojan (n=ojan@nat/google/x-669b4c3b860d4634)
  983. # [22:01] <rubys> "I don't see how it is practical for HTML 5 to have a blacklist of encodings that should not be supported." +1
  984. # [22:01] <hsivonen> the reply I wanted to reuse is http://lists.w3.org/Archives/Public/public-html-comments/2008Jan/0076.html
  985. # [22:06] * Joins: webben (n=webben@91.85.203.185)
  986. # [22:07] * Joins: kingryan (n=kingryan@adsl-99-189-162-6.dsl.pltn13.sbcglobal.net)
  987. # [22:08] * Joins: hallvors (n=hallvord@softbank221089079197.bbtec.net)
  988. # [22:08] * Quits: kingryan (n=kingryan@adsl-99-189-162-6.dsl.pltn13.sbcglobal.net) (Client Quit)
  989. # [22:09] * Joins: sicking (n=chatzill@corp-242.mountainview.mozilla.com)
  990. # [22:11] * Quits: jruderman_ (n=jruderma@corp-241.mountainview.mozilla.com)
  991. # [22:13] * Joins: jruderman (n=jruderma@corp-241.mountainview.mozilla.com)
  992. # [22:19] * annevk reads http://realtech.burningbird.net/semantic-web/semantic-markup/stop-justifying-rdfa "Otherwise, we wouldn't be able to combine documents found on the web with any degree of confidence." and wonders how you can do that without much additional processing to determine whether either or both resources are in fact not spam
  993. # [22:21] <takkaria> it irritates me that RDF's inate logic of subject-predicate was shown to be inadequate in describing the world back in 1892
  994. # [22:21] <hsivonen> me smiles at 'In other words, begin with the assumption that RDF has value in, and of itself, and does not need to be "justified".'
  995. # [22:23] * Quits: sicking_ (n=chatzill@corp-242.mountainview.mozilla.com) (Read error: 113 (No route to host))
  996. # [22:24] <annevk> yeah, that's quite a cop out
  997. # [22:25] <annevk> if that were true we should add SMIL support to HTML5...
  998. # [22:25] <hsivonen> as usual, her RDFa example omits the ns decls
  999. # [22:25] <hsivonen> with ns decls, RDF becomes like this: http://www.tbray.org/ongoing/When/200x/2003/12/13/-big/XMLporn.jpg
  1000. # [22:27] <annevk> yeah, it's terrible, see e.g. the site linked from http://twitter.com/markbirbeck/status/1112827320
  1001. # [22:27] <annevk> (which also still uses DTDs for some odd reason)
  1002. # [22:28] * Quits: tndH (n=Rob@james-baillie-pc083-058.student-halls.leeds.ac.uk) ("ChatZilla 0.9.84-rdmsoft [XULRunner 1.9.0.1/2008072406]")
  1003. # [22:28] <hsivonen> that's a lot of ontologies minted by one domain holder...
  1004. # [22:29] <takkaria> oh, christ
  1005. # [22:29] <takkaria> the london gazette site is terrible...
  1006. # [22:33] <annevk> the contrast between our efforts to simplify markup and what the XHTML2 WG is up to is striking
  1007. # [22:33] <annevk> and might be worth some blog post to highlight the differences at some point :)
  1008. # [22:34] <Philip`> It's not really a fair comparison unless HTML5 has a mechanism for expressing the same kind of data
  1009. # [22:37] * Quits: heycam (n=cam@124-168-97-132.dyn.iinet.net.au) ("bye")
  1010. # [22:39] <hsivonen> Philip`: shouldn't the comparison be on the use case and syntax levels? after all, the differences in data expression would be the thing to compare
  1011. # [22:40] <hsivonen> that is, presupposing a certain data model defeats the purpose of comparison
  1012. # [22:42] <Philip`> hsivonen: Yes - I just mean it'd be unfair to strip out all the xmlns stuff and all the RDFa attributes, and replace it with <!doctype html> and say "look how simple it is now!"
  1013. # [22:43] <hsivonen> Philip`: isn't that pretty much what Shelley's example is?
  1014. # [22:43] <hsivonen> and RDFa examples in general usually
  1015. # [22:45] * Joins: weinig (n=weinig@17.203.15.230)
  1016. # [22:45] * Quits: ROBOd (n=robod@89.122.216.38) ("http://www.robodesign.ro")
  1017. # [22:46] <Philip`> hsivonen: No idea, I haven't read that blog post
  1018. # [22:48] <Philip`> (I'm just responding to the incredulity at the london-gazette site)
  1019. # [22:50] * Joins: doublec (n=chris@202.0.36.64)
  1020. # [22:51] <hsivonen> 'There is no confusion about what each of us "means", when use use "subject".'
  1021. # [22:51] <takkaria> does anyone know how Google give you the useful links under the first result?
  1022. # [22:51] <hsivonen> is there a controlled vocabulary for the values of subject?
  1023. # [22:52] <hsivonen> takkaria: partly sitemap, I think, but I guess it's not all sitemap
  1024. # [23:13] * Joins: tantek_ (n=tantek@c-67-161-5-143.hsd1.ca.comcast.net)
  1025. # [23:21] * Joins: tndH (n=Rob@james-baillie-pc083-058.student-halls.leeds.ac.uk)
  1026. # [23:27] * Quits: Maurice (i=copyman@5ED548D4.cable.ziggo.nl) ("Disconnected...")
  1027. # [23:28] * Quits: hallvors (n=hallvord@softbank221089079197.bbtec.net) (Read error: 60 (Operation timed out))
  1028. # [23:29] * Quits: tantek (n=tantek@c-67-161-5-143.hsd1.ca.comcast.net) (Read error: 110 (Connection timed out))
  1029. # [23:35] * Joins: dbaron (n=dbaron@corp-241.mountainview.mozilla.com)
  1030. # [23:39] * Joins: roc (n=roc@202.0.36.64)
  1031. # [23:39] * Quits: roc (n=roc@202.0.36.64) (Read error: 104 (Connection reset by peer))
  1032. # [23:40] * Joins: roc (n=roc@202.0.36.64)
  1033. # [23:43] * Quits: roc (n=roc@202.0.36.64) (Client Quit)
  1034. # [23:43] * Joins: roc (n=roc@202.0.36.64)
  1035. # [23:50] * Quits: rubys (n=rubys@cpe-075-182-092-038.nc.res.rr.com) (Remote closed the connection)
  1036. # [23:56] * Quits: zdobersek (n=zan@cpe-92-37-65-176.dynamic.amis.net) (Remote closed the connection)
  1037. # [23:57] * Quits: virtuelv (n=virtuelv@48.80-202-82.nextgentel.com) (Read error: 110 (Connection timed out))
  1038. # Session Close: Wed Jan 14 00:00:00 2009

The end :)