/irc-logs / freenode / #whatwg / 2007-04-09 / end

Options:

  1. # Session Start: Mon Apr 09 00:00:00 2007
  2. # Session Ident: #whatwg
  3. # [00:19] * Quits: hendry (n=hendry@91.84.53.136) ("nn")
  4. # [00:53] * Quits: mpt (n=mpt@121-72-128-156.dsl.telstraclear.net) ("Leaving")
  5. # [00:55] <Lachy> the idea for the generic script data attr is interesting.
  6. # [00:56] <Lachy> I've used class="" in the past for such things
  7. # [00:56] <Dashiva> Yeah, and I predict that if role is ever made common, people will use role for it too
  8. # [00:57] <Lachy> If they did, it would be abuse
  9. # [00:57] <Lachy> but I doubt role will ever become successful
  10. # [00:58] <Dashiva> As long as the validator didn't complain, that's all that would matter
  11. # [00:58] <Lachy> I'd like to know more about the use cases ppk has in mind for it
  12. # [00:59] <Lachy> I'll ask him.
  13. # [00:59] * Quits: dbaron (n=dbaron@c-71-198-189-81.hsd1.ca.comcast.net) ("8403864 bytes have been tenured, next gc will be global.")
  14. # [00:59] <Dashiva> An example would be declarative form validation before wf2
  15. # [00:59] <webben> Lachy, Isn't role already becoming successful for a tech that hasn't even been standardized yet?
  16. # [00:59] <webben> (leaving aside the Q of whether role is well specced)
  17. # [01:00] <Dashiva> You could either make up attributes and face invalidation (scary) or use class
  18. # [01:00] <Lachy> only in a very limited market
  19. # [01:01] <Lachy> I haven't seen it used beyond a few experimental pages so far
  20. # [01:01] <webben> I think Dojo are either using it or planning on using it.
  21. # [01:01] <Lachy> what for?
  22. # [01:02] <webben> Lachy, WAI
  23. # [01:02] <webben> (ARIA support in FF and major screen readers)
  24. # [01:02] <Lachy> for what purpose?
  25. # [01:02] <webben> increased accessibility of weird widgets
  26. # [01:02] <webben> and (I suppose) live regions
  27. # [01:03] <Lachy> I don't understand what it's for. HTML5 elements and form controls seem to cover everything role does, and more
  28. # [01:03] <webben> see e.g. http://dojotoolkit.org/node/549
  29. # [01:03] <webben> Lachy, I'm not sure HTML5 yet has a way of expressing the priority of live updates?
  30. # [01:04] <webben> Lachy, might as well ask what Dojo is for
  31. # [01:04] <webben> the important thing is that Dojo apps if built be made accessible, i think
  32. # [01:06] <webben> Lachy, I suspect at least some of this reflects authors' desire to style form widgets
  33. # [01:06] <webben> but I don't really know
  34. # [01:07] <Lachy> styled form controls are a problem that CSS will solve
  35. # [01:07] <webben> do we have HTML5 tree widgets?
  36. # [01:08] <webben> Lachy, I thought CSS was abstaining from defining how UAs should render form widgets
  37. # [01:09] <Lachy> http://www.w3.org/TR/css3-ui/
  38. # [01:10] <Lachy> and also see Web Controls 1.0
  39. # [01:10] <webben> Is there anything to indicate that Safari is likely to implement those?
  40. # [01:11] <webben> (I single out Safari for being the greatest stickler for native-looking widgets)
  41. # [01:12] <Lachy> no idea
  42. # [01:14] <Dashiva> Safari looks like the OS extension IE is ;)
  43. # [01:15] <webben> because if not ... people are likely to continue to use divs and spans
  44. # [01:15] <webben> especially as those work in IE6-7
  45. # [01:15] <Hixie> safari does a lot of css3-ui already
  46. # [01:16] <webben> really? I'll have to try that out. (not that i particularly like styling widgets to look non-native, but oh well)
  47. # [01:17] * Parts: hasather (n=hasather@81-235-209-174-no62.tbcn.telia.com)
  48. # [01:24] <Lachy> http://www.quirksmode.org/blog/archives/2007/04/html_5.html (see comments 7 and 8)
  49. # [01:26] * Lachy needs to blog about why xhtml2 is not the future
  50. # [02:07] <deltab> Lachy: it's the flying-car future
  51. # [02:17] * Joins: ravenn (n=ravenn@203-206-240-219.dyn.iinet.net.au)
  52. # [02:22] * Joins: karlUshi (n=karl@dhcp-246-23.mag.keio.ac.jp)
  53. # [02:23] * Quits: webben (n=benjamin@91.84.131.217) ("Leaving")
  54. # [02:32] * Quits: bzed (n=bzed@dslb-084-059-121-097.pools.arcor-ip.net) ("Leaving")
  55. # [02:36] * aroben is now known as aroben|food
  56. # [02:53] * Joins: ericcarlson_ (n=ericcarl@adsl-67-115-144-162.dsl.snfc21.pacbell.net)
  57. # [02:53] * Quits: ericcarlson (n=ericcarl@adsl-67-115-144-162.dsl.snfc21.pacbell.net) (Read error: 104 (Connection reset by peer))
  58. # [02:53] * Quits: ravenn (n=ravenn@203-206-240-219.dyn.iinet.net.au)
  59. # [02:55] * Joins: yod (n=ot@dhcp-246-8.mag.keio.ac.jp)
  60. # [03:27] * Joins: tantek (n=tantek@c-71-202-121-218.hsd1.ca.comcast.net)
  61. # [04:20] * Quits: Philip` (n=excors@zaynar.demon.co.uk)
  62. # [04:27] * Quits: tantek (n=tantek@c-71-202-121-218.hsd1.ca.comcast.net)
  63. # [04:48] * aroben|food is now known as aroben
  64. # [04:49] * aroben is now known as aroben|phone
  65. # [05:27] * Quits: gsnedders (n=gsnedder@host86-139-123-225.range86-139.btcentralplus.com) (Connection reset by peer)
  66. # [05:27] * Joins: gsnedders (n=gsnedder@host86-139-123-225.range86-139.btcentralplus.com)
  67. # [05:35] * aroben|phone is now known as aroben
  68. # [06:10] * Quits: kingryan (n=kingryan@dsl081-240-149.sfo1.dsl.speakeasy.net)
  69. # [06:16] * Joins: csarven (n=nevrasc@modemcable081.152-201-24.mc.videotron.ca)
  70. # [07:08] * Quits: csarven (n=nevrasc@modemcable081.152-201-24.mc.videotron.ca)
  71. # [07:45] * Joins: tantek (n=tantek@adsl-63-195-114-133.dsl.snfc21.pacbell.net)
  72. # [08:30] * Joins: met_ (n=Hassman@r5bx220.net.upc.cz)
  73. # [08:34] * Quits: tantek (n=tantek@adsl-63-195-114-133.dsl.snfc21.pacbell.net)
  74. # [08:42] * Quits: aroben (n=adamrobe@adsl-70-231-237-176.dsl.snfc21.sbcglobal.net)
  75. # [08:49] * Joins: MikeSmith (i=mike@tea17.w3.mag.keio.ac.jp)
  76. # [09:30] * Joins: annevk (n=annevk@5352CE6F.cable.casema.nl)
  77. # [09:32] * Joins: peepo (n=Jay@host86-129-175-144.range86-129.btcentralplus.com)
  78. # [09:32] * Parts: peepo (n=Jay@host86-129-175-144.range86-129.btcentralplus.com)
  79. # [09:37] * Quits: yod (n=ot@dhcp-246-8.mag.keio.ac.jp) ("Leaving")
  80. # [09:44] * Quits: karlUshi (n=karl@dhcp-246-23.mag.keio.ac.jp) ("Where dwelt Ymir, or wherein did he find sustenance?")
  81. # [09:45] <annevk> We could have a state= attribute on certain elements like <xbl:div state>
  82. # [09:45] <annevk> for scripts
  83. # [09:46] <hsivonen> would "private" conflict with ECMA reserved words?
  84. # [09:47] <annevk> iirc, yes
  85. # [09:48] <annevk> I'm not entirely convinced it's need though given XBL2
  86. # [09:50] <hsivonen> http://www.w3.org/2007/uwa/
  87. # [09:50] <hsivonen> how (in)applicable is Web Apps 1.0 when it comes to home monitoring and control, home entertainment, office
  88. # [09:50] <hsivonen> equipment, mobile and automotive
  89. # [09:50] <hsivonen> ?
  90. # [09:51] <annevk> I think that group is about putting device specific APIs into a generic framwork or something
  91. # [09:51] * annevk isn't sure how that helps anyone
  92. # [10:05] <hsivonen> made a lot of progress: http://hsivonen.iki.fi/validator/html5/?doc=http%3A%2F%2Fsimon.html5.org%2Ftemp%2Fw3c-home-in-html5.html
  93. # [10:20] * Joins: ROBOd (n=robod@86.34.246.154)
  94. # [10:34] <Hixie> hsivonen: what are we looking for, progress wise?
  95. # [10:35] <hsivonen> Hixie: compared to the time when zcorpan pasted that URL here, there are a lot less incorrect error messages
  96. # [10:35] <Hixie> ah cool!
  97. # [10:35] <hsivonen> Hixie: I updated the schema layer
  98. # [10:50] <MikeSmith> hsivonen, annevk - the UWA WG is basically the Device Independece WG, renamed
  99. # [10:50] <MikeSmith> as far as what part of it might be applicable ...
  100. # [10:51] <MikeSmith> http://www.w3.org/2006/10/uwa-charter.html#dci
  101. # [10:51] <MikeSmith> http://www.w3.org/2006/10/uwa-charter.html#device-coordination
  102. # [10:52] <annevk> I didn't care much for their specs either
  103. # [10:55] <MikeSmith> annevk - some criticize them as being overengineered
  104. # [10:55] <annevk> yeah, though that goes for most of the W3C :)
  105. # [10:56] <hsivonen> http://hsivonen.iki.fi/validator/html5/?doc=http%3A%2F%2Fsimon.html5.org%2Ftemp%2Fw3c-home-in-html5.html
  106. # [10:56] <hsivonen> yay
  107. # [10:57] * Joins: bzed (n=bzed@dslb-084-059-100-245.pools.arcor-ip.net)
  108. # [10:58] <annevk> the "conforming
  109. # [10:58] <annevk> message should be clearer
  110. # [10:59] <MikeSmith> annevk - perhaps so (about W3C). and perhaps more people are learning that or have learned it -- the hard way, by not seeing their specs get implemented more widely
  111. # [10:59] <hsivonen> annevk: intentional weasel words at this point :-)
  112. # [10:59] <hsivonen> annevk: or, rather, intentional in the parentheses
  113. # [11:00] <hsivonen> annevk: what would you suggest before the parentheses?
  114. # [11:00] * Joins: hasather (n=hasather@81-235-209-174-no62.tbcn.telia.com)
  115. # [11:01] <Hixie> i love the "valid html5" icon he made
  116. # [11:01] <Hixie> that's awesome
  117. # [11:01] <annevk> "Congratulations, your document is conforming HTML5"
  118. # [11:01] <annevk> or something
  119. # [11:01] <annevk> with some !!11! following it...
  120. # [11:05] <annevk> hsivonen, http://hsivonen.iki.fi/validator/html5/?doc=http%3A%2F%2Fannevankesteren.nl%2F I don't get the "bad value for attribute href" messages...
  121. # [11:05] <annevk> hsivonen, is that because my href has http:// at the start and @ somewhere in it?
  122. # [11:09] <hsivonen> annevk: the line numbers are weird. do you mix Unix and Windows line breaks?
  123. # [11:09] <annevk> maybe, dunno
  124. # [11:10] <annevk> I'm including some standalone files that may or may not have UNIX line endings...
  125. # [11:10] <hsivonen> anyway, TextWrangler and my parser have a different notion of line numbers
  126. # [11:11] <hsivonen> but yeah, chances are that @ is the problem
  127. # [11:11] <annevk> (use it as a testcase)
  128. # [11:11] <annevk> per HTML5 line endings shouldn't matter
  129. # [11:12] <hsivonen> either @ isn't allowed unescaped in HTTP IRIs or the IRI library has a bug in it
  130. # [11:13] <hsivonen> annevk: my parser should decide the nature of a line break on a line-by-line basis, but TextWrangler sniffs the top and assumes the same kind of line breaks throughout the file
  131. # [11:16] <annevk> time to update HTTP IRIs then :)
  132. # [11:16] <hsivonen> annevk: did you already figure out if it is a library bug or an RFC bug?
  133. # [11:17] <annevk> oh no
  134. # [11:18] <hsivonen> annevk: can't be just @. you have more than two instances of such IRIs
  135. # [11:19] <annevk> ipchar seems to allow a literal @
  136. # [11:19] <annevk> what are the IRIs that trigger it?
  137. # [11:20] <hsivonen> annevk: I don't know, because the line numbers are all weird
  138. # [11:20] <annevk> the line numbers from the validator are correct?
  139. # [11:21] <annevk> ah, it's "irc://irc.w3.org:80/html-wg"
  140. # [11:21] <hsivonen> annevk: hopefully. :-)
  141. # [11:21] <hsivonen> now, *that's* weird
  142. # [11:21] <annevk> and "irc://irc.freenode.net/whatwg"
  143. # [11:22] <hsivonen> the library should apply generic IRI processing to irc: IRIs
  144. # [11:22] <hsivonen> and obviously those should be fine as far as the generic processing goes
  145. # [11:22] <hsivonen> irc on port 80?
  146. # [11:22] <annevk> yeah
  147. # [11:23] <hsivonen> firewall thing?
  148. # [11:23] <Hixie> and people tell _me_ off for misusing port 80. pah.
  149. # [11:23] <annevk> to work around certain firewalls that block on port rather than functionality
  150. # [11:24] <hsivonen> annevk: added to my todo list
  151. # [11:24] * Joins: hendry (n=hendry@91.84.53.136)
  152. # [11:24] <hsivonen> annevk: thanks
  153. # [11:26] <annevk> it also complains about accesskeys and my doctype which apparently triggers quirks in an unused browser
  154. # [11:26] * hsivonen expects a bug report email when the first person hits the transparent content model of <video> inside <figure>
  155. # [11:26] <hsivonen> annevk: are accesskeys in HTML5 already?
  156. # [11:27] <Hixie> hsivonen: yeah that's a bug
  157. # [11:27] <Hixie> in the spec
  158. # [11:27] <annevk> I suppose they aren't
  159. # [11:27] <Hixie> need to rework how <figure> works to allow <ol>s, though, so i'll fix it later
  160. # [11:27] <annevk> and <svg:svg>
  161. # [11:27] <Hixie> accesskeys aren't in because nobody has yet explained how to fix them
  162. # [11:28] <hsivonen> Hixie: <ol>s?
  163. # [11:28] <Hixie> and <ul>s, and <pre>, and whatever else people have argued should be figurable
  164. # [11:28] <Hixie> assuming we want to do that
  165. # [11:28] <hsivonen> oh
  166. # [11:30] <annevk> would <figure> <legend/> <object> <p>test </p> <p> test </p> </object> </figure> be ok?
  167. # [11:30] <Hixie> who are you asking?
  168. # [11:31] <hsivonen> annevk: IIRC, yes, provided that you put a required attribute on <object>
  169. # [11:31] <annevk> k
  170. # [11:32] <hsivonen> annevk: also, I haven't updated the significant inline stuff to deal with legend
  171. # [11:34] <MikeSmith> Hixie - what's broken about accesskey?
  172. # [11:36] <Hixie> what's not broken
  173. # [11:36] <Hixie> it has never been implemented in a usable way
  174. # [11:36] <Hixie> it isn't device independent
  175. # [11:36] <Hixie> it isn't i18n-compatible
  176. # [11:36] <Hixie> it isn't well specified
  177. # [11:37] <annevk> chaals claims Opera now has a somewhat useful impl
  178. # [11:37] <Hixie> shipped?
  179. # [11:37] <Hixie> does he mean the modal toggle?
  180. # [11:37] <annevk> yeah, I believe we expose the access keys of a page in a sidebar the user can invoke in some way
  181. # [11:37] <annevk> maybe
  182. # [11:37] <Hixie> steps to reproduce?
  183. # [11:38] <annevk> maybe later, haven't played with it myself
  184. # [11:40] <Hixie> well in opera 9.00 it isn't usable
  185. # [11:42] <annevk> ah, Shift+Esc
  186. # [11:42] <annevk> try that on my homepage for instance
  187. # [11:43] <MikeSmith> Hixie - I think it's implemented is some mobile browsers, including Openwave's browser, and very widely used in mobile-specific sites
  188. # [11:44] <Hixie> oh it's used
  189. # [11:44] <Hixie> but all uses suffer from the problems i described
  190. # [11:44] <MikeSmith> yeah, true
  191. # [11:44] <Hixie> it's not too bad in walled-garden device-specific scenarios
  192. # [11:44] <Hixie> but of course that's hardly what we care for here
  193. # [11:44] <Hixie> annevk: again, not usable
  194. # [11:45] <Hixie> anyway
  195. # [11:45] <Hixie> bed time
  196. # [11:50] <annevk> g'night
  197. # [12:01] <MikeSmith> unfortunate fact about accesskey as far as mobile users go is that because it is something that's so widely used in mobile sites, if a content provider wants to move his site from being a walled garden/WAP site to being a Web site, lack of accesskey support is basically a regression in application behavior as far as they are concerned
  198. # [12:01] <MikeSmith> or as far as users of their site will be
  199. # [12:02] <MikeSmith> that's true for inputmode too (which most non-WAP browsers don't support)
  200. # [12:05] <MikeSmith> at least here in Japan, sites use accesskey a lot, and users expect it on sites
  201. # [12:06] <MikeSmith> Konqueror has accesskey support
  202. # [12:07] <MikeSmith> if you press and release Ctrl, it shows tooltip text over each link, with letter of corresponding access key
  203. # [12:09] <MikeSmith> I think if a site doesn't provide accesskey info in the markup, Konq actually generates accesskeys for the page
  204. # [12:09] * Quits: met_ (n=Hassman@r5bx220.net.upc.cz) ("Chemists never die, they just stop reacting.")
  205. # [12:10] <hasather> MikeSmith: yea, that seems to be the case
  206. # [12:11] <hasather> wow, that's cool
  207. # [12:17] <MikeSmith> Konqueror has a lot nice features
  208. # [12:21] * Joins: ravenn (n=ravenn@203-206-240-219.dyn.iinet.net.au)
  209. # [12:52] * Joins: Philip` (n=excors@zaynar.demon.co.uk)
  210. # [13:12] * Joins: mpt (n=mpt@121-72-128-156.dsl.telstraclear.net)
  211. # [14:20] * Joins: csarven (n=nevrasc@modemcable081.152-201-24.mc.videotron.ca)
  212. # [14:21] * Quits: ericcarlson_ (n=ericcarl@adsl-67-115-144-162.dsl.snfc21.pacbell.net)
  213. # [14:37] * Parts: ravenn (n=ravenn@203-206-240-219.dyn.iinet.net.au)
  214. # [16:21] * Joins: h3h (n=h3h@66-162-32-234.static.twtelecom.net)
  215. # [16:32] * Joins: ericcarlson (i=ericcarl@nat/apple/x-facfe8654f493f1b)
  216. # [16:32] * Quits: csarven (n=nevrasc@modemcable081.152-201-24.mc.videotron.ca) (Read error: 104 (Connection reset by peer))
  217. # [16:48] * Joins: tantek (n=tantek@adsl-63-195-114-133.dsl.snfc21.pacbell.net)
  218. # [17:08] <annevk> zcorpan, <map> no longer has name=
  219. # [17:17] * Joins: psa (n=yomode@posom.com)
  220. # [17:25] * Quits: tantek (n=tantek@adsl-63-195-114-133.dsl.snfc21.pacbell.net)
  221. # [17:25] * Joins: tantek (n=tantek@adsl-63-195-114-133.dsl.snfc21.pacbell.net)
  222. # [17:29] * Joins: tylerr (n=tylerr@outbound.wa1.ascentium.com)
  223. # [17:46] * Joins: dbaron (n=dbaron@c-71-198-189-81.hsd1.ca.comcast.net)
  224. # [18:03] * Quits: KevinMarks (n=Snak@pdpc/supporter/active/kevinmarks) ("off to work")
  225. # [18:32] * Quits: tantek (n=tantek@adsl-63-195-114-133.dsl.snfc21.pacbell.net)
  226. # [18:52] * Joins: tantek (n=tantek@dsl092-187-033.sfo1.dsl.speakeasy.net)
  227. # [18:54] * Joins: aroben (i=adamrobe@nat/apple/x-4312f51e30858222)
  228. # [19:19] * Quits: ericcarlson (i=ericcarl@nat/apple/x-facfe8654f493f1b)
  229. # [19:20] * Joins: othermaciej (i=mjs@nat/apple/x-8df79b90936a30fd)
  230. # [19:25] * Quits: aroben (i=adamrobe@nat/apple/x-4312f51e30858222) (Read error: 54 (Connection reset by peer))
  231. # [19:26] * Joins: aroben (i=adamrobe@nat/apple/x-0791e4fa6fffbff7)
  232. # [19:30] * Joins: kingryan (n=kingryan@dsl092-187-033.sfo1.dsl.speakeasy.net)
  233. # [19:34] <Philip`> Since someone mentioned setTimeout: Mozilla passes the timeout handlers a ""secret" final argument that indicates timeout lateness in milliseconds". Is that already known, and is it at all relevant/interesting to anything, like whether it contradicts the spec and should be removed, or whether it should be adopted by the spec, or whether it's fine if nothing changes?
  234. # [19:36] * Joins: csarven (n=nevrasc@modemcable081.152-201-24.mc.videotron.ca)
  235. # [19:42] <othermaciej> that's pretty weird
  236. # [19:47] <deltab> it's not mentioned on MDC
  237. # [19:51] * Quits: csarven (n=nevrasc@modemcable081.152-201-24.mc.videotron.ca) (Read error: 104 (Connection reset by peer))
  238. # [19:52] * Joins: csarven (n=nevrasc@modemcable081.152-201-24.mc.videotron.ca)
  239. # [19:52] <Philip`> http://lxr.mozilla.org/mozilla/source/dom/src/base/nsGlobalWindow.cpp#6818 is the only place I've seen it mentioned
  240. # [19:54] <gavin_> I'm sure you'll be interested to know that that "secret argument" was in the original revision of nsGlobalWindow, 1.1 <kipp@netscape.com> 1998-07-15 18:16
  241. # [19:55] <gavin_> good luck on finding the reason why it was added! :)
  242. # [19:55] <othermaciej> does anything actually use it?
  243. # [19:56] <othermaciej> seems like checking the current time will almost always be better than a lateness value
  244. # [19:56] <gavin_> per rule #432, someone surely must :)
  245. # [19:57] <gavin_> it's relatively well hidden, though, so maybe we could remove it
  246. # [19:58] <gavin_> I'm not sure it's very useful
  247. # [20:00] <deltab> oh, it is mentioned on MDC, on a talk page: http://developer.mozilla.org/en/docs/Talk:DOM:window.setTimeout
  248. # [20:01] <gavin_> https://bugzilla.mozilla.org/show_bug.cgi?id=10637 has some background info
  249. # [20:02] <gavin_> "It was very useful to *us* at Netscape in performance testing of animation
  250. # [20:02] <gavin_> using intervals, since a script could detect when the CPU became saturated, i.e.
  251. # [20:02] <gavin_> the timeout lateness was increasing monotonically with each timeout."
  252. # [20:03] <Dashiva> A feature nobody knows about that was last used in NS4?
  253. # [20:04] <deltab> and that complicates bindings to non-JS languages
  254. # [20:09] * Joins: KevinMarks (i=KevinMar@pdpc/supporter/active/kevinmarks)
  255. # [20:09] * Quits: dbaron (n=dbaron@c-71-198-189-81.hsd1.ca.comcast.net) (Read error: 110 (Connection timed out))
  256. # [20:19] * Joins: dbaron (n=dbaron@corp-242.mountainview.mozilla.com)
  257. # [20:32] <Philip`> According to bug 263945 it is "an underdocumented feature", which seems like an understatement since the only documentation is the source code and the comments on two bug reports
  258. # [20:39] * Quits: kingryan (n=kingryan@dsl092-187-033.sfo1.dsl.speakeasy.net)
  259. # [20:45] * Joins: kingryan (n=kingryan@dsl092-187-033.sfo1.dsl.speakeasy.net)
  260. # [20:47] * Quits: kingryan (n=kingryan@dsl092-187-033.sfo1.dsl.speakeasy.net) (Client Quit)
  261. # [20:48] * Joins: kingryan (n=kingryan@dsl092-187-033.sfo1.dsl.speakeasy.net)
  262. # [20:50] * Quits: aroben (i=adamrobe@nat/apple/x-0791e4fa6fffbff7)
  263. # [20:51] * othermaciej is now known as om_food
  264. # [20:52] * Quits: KevinMarks (i=KevinMar@pdpc/supporter/active/kevinmarks) ("The computer fell asleep")
  265. # [20:59] * Joins: KevinMarks (i=KevinMar@nat/google/x-c655862639c15cfa)
  266. # [21:04] * Quits: tylerr (n=tylerr@outbound.wa1.ascentium.com) ("Leaving")
  267. # [21:42] * Joins: jgraham (n=jgraham@81-178-84-187.dsl.pipex.com)
  268. # [21:46] * Quits: ROBOd (n=robod@86.34.246.154) ("http://www.robodesign.ro")
  269. # [22:02] * Joins: aroben (i=adamrobe@nat/apple/x-dbb9c8610eedd3f5)
  270. # [22:03] * Joins: aroben_ (i=adamrobe@nat/apple/x-57f496e78643a168)
  271. # [22:15] * Quits: aroben (i=adamrobe@nat/apple/x-dbb9c8610eedd3f5) (Read error: 104 (Connection reset by peer))
  272. # [22:15] * Joins: aroben (i=adamrobe@nat/apple/x-d0c838f4e9fb7867)
  273. # [22:24] * Joins: mw22 (n=chatzill@guest-228.mountainview.mozilla.com)
  274. # [22:26] * Quits: KevinMarks (i=KevinMar@pdpc/supporter/active/kevinmarks) ("The computer fell asleep")
  275. # [22:30] * Quits: aroben_ (i=adamrobe@nat/apple/x-57f496e78643a168) (Read error: 110 (Connection timed out))
  276. # [22:30] * Joins: KevinMarks (i=KevinMar@nat/google/x-8f9f98d49137a889)
  277. # [22:31] * Joins: ericcarlson (i=ericcarl@nat/apple/x-8328bb595e090460)
  278. # [22:37] * Joins: aroben_ (i=adamrobe@nat/apple/x-acd2bb5f0ade68a4)
  279. # [22:40] <hsivonen> http://wiki.whatwg.org/wiki/Video_type_parameters in case anyone cares to continue
  280. # [22:41] <Hixie> cool, thanks
  281. # [22:42] <annevk> ouch
  282. # [22:42] <annevk> looks amazingly complicated
  283. # [22:43] <Hixie> welcome to video
  284. # [22:43] <annevk> when I was welcomed there was <video>, three methods and a couple of .ogg files :)
  285. # [22:43] <Hixie> hehe
  286. # [22:45] <hsivonen> frankly, I think the codec RFC is way too hard for authors. if the codecs parameters is supposed to work, we need sniffer tools that take a file and print out the appropriate MIME type with the codecs parameter
  287. # [22:46] <hsivonen> annevk: and I'm only covering sane and contemporary container/codec combos...
  288. # [22:46] <annevk> hopefully we just have <video src=blah> for the majority of cases
  289. # [22:47] <annevk> maybe the wiki page should document the signature of the files as well?
  290. # [22:47] <hsivonen> annevk: feel free to edit. I'm never fully grokked how MP4-derived magic numbers are supposed to work
  291. # [22:48] * Joins: SimonW (n=simon@dyn-62-56-54-4.dslaccess.co.uk)
  292. # [22:48] <Hixie> i'm not a fan of the rfc either
  293. # [22:48] <Hixie> but do we have something better?
  294. # [22:49] <annevk> RFC42815
  295. # [22:49] <Hixie> ?
  296. # [22:49] <hsivonen> Hixie: nothing better that all the relevant vendors would agree to, no
  297. # [22:49] <annevk> Hixie, last digit
  298. # [22:49] <Hixie> what do you have that's better which vendors wouldn't agree to?
  299. # [22:49] <Hixie> annevk: ?
  300. # [22:49] <annevk> Hixie, oh, and it's a joke
  301. # [22:50] <hsivonen> Hixie: mandated Ogg :-)
  302. # [22:50] <annevk> and RFC4281 is the current RFC
  303. # [22:50] <Hixie> annevk: oh i see
  304. # [22:50] <Hixie> annevk: well even for that, we'd have to have something better to put _in_ that spec
  305. # [22:50] <annevk> fair enough
  306. # [22:50] <Hixie> hsivonen: no i mean for codec description. even if we mandate codec support, we can't disallow other codecs.
  307. # [22:50] <Hixie> hsivonen: so ogg doesn't solve this problem.
  308. # [22:51] <annevk> and we want authors to be able to provide multiple versions?
  309. # [22:51] <hsivonen> Hixie: I know. but having one true codec would. but not gonna happen
  310. # [22:51] <Hixie> christ, people in the csswg again trying to open new issues in things that aren't problems.
  311. # [22:52] <Hixie> hsivonen: one true codec would not ever be a solution. there's no one codec that solves all problems. e.g. a codec that's good for screencaps isn't going to be good for slow moving video.
  312. # [22:52] <Hixie> if there's a solution that really is better than 4281, i'm open to it
  313. # [22:52] * om_food is now known as othermaciej
  314. # [22:53] <annevk> so the answer to my question is yes?
  315. # [22:53] <Hixie> yes
  316. # [22:53] <othermaciej> hsivonen: now that I know more about it, it does sound way too hard
  317. # [22:53] <Hixie> we'll be adding a media="" attribute to <source> anyway
  318. # [22:53] <Hixie> which takes a media query
  319. # [22:53] <hsivonen> Hixie: well, killing all the ISO profiles and using plain FourCCs in as codec identifiers would make things easier. but not gonna happen, either
  320. # [22:54] <hsivonen> s/in as/as/
  321. # [22:54] <Hixie> hsivonen: why wouldn't it happen? (i have no idea what FourCC is)
  322. # [22:54] <annevk> Hixie, based on the beforeprint discussion?
  323. # [22:54] <othermaciej> hsivonen: the codecs need to have comprehensible names
  324. # [22:54] <Hixie> annevk: ? no
  325. # [22:54] <othermaciej> FourCC is a four-character code
  326. # [22:54] <annevk> Hixie, a use case for that came up there
  327. # [22:54] * Quits: aroben (i=adamrobe@nat/apple/x-d0c838f4e9fb7867) (Read error: 110 (Connection timed out))
  328. # [22:54] <Hixie> annevk: onbeforeprint will be added in due course.
  329. # [22:54] <hsivonen> Hixie: because ISO has gone profile-crazy. too late to undo it, I think
  330. # [22:54] <Hixie> hsivonen: ah
  331. # [22:54] <Hixie> hsivonen: well if you have any solutions that actually would work, let me know :-)
  332. # [22:55] <hsivonen> Hixie: a FourCC is a four-character identifier that you put in a container to identify the type of a data stream
  333. # [22:55] <annevk> actually, if media="" is added to source you might want to add start end, etc. to <source> as well
  334. # [22:55] <annevk> so for non interactive media you can start at a specific location
  335. # [22:55] <Hixie> annevk: we're not trying to encourage different media being seent, if they have different timelines that's bad
  336. # [22:55] <hsivonen> Hixie: so FourCC is kind of like an intra-file magic or HFS type code
  337. # [22:56] <annevk> or show a specific frame, so to say (which is the use case that came up)
  338. # [22:56] <Hixie> annevk: oh you're misunderstanding. this wouldn't be for screen vs print. it would be for highres vs lowres, or b&w vs color, etc
  339. # [22:56] <Hixie> hsivonen: ah
  340. # [22:56] <annevk> Hixie, k
  341. # [22:57] * annevk goes to read the RFC
  342. # [22:57] <hsivonen> If I had the power to fix MPEG-4, I'd have two video codecs: Visual Simple Profile without any levels or subprofiles and H.264 without any levels or subprofiles
  343. # [22:58] <Hixie> hsivonen: so would you also introduce a new version every year as hardware improved?
  344. # [22:59] <hsivonen> Hixie: At least I'd give the new version a different marketing name and FourCC instead of defining it as an Advanced Extended High 10:2:2 profile level 5.2 of something pre-existing
  345. # [23:00] <Hixie> fair enough
  346. # [23:00] <Hixie> so we'd have H.264, H.265, H.266, etc?
  347. # [23:00] <hsivonen> Hixie: for example
  348. # [23:00] <Hixie> makes sense
  349. # [23:00] <Hixie> oh well
  350. # [23:00] <Hixie> sadly we are not the ISO
  351. # [23:02] <gsnedders> MPEG-5 anyone? :P
  352. # [23:02] <Hixie> that's one that i will definitely NOT be ever doing
  353. # [23:03] * gsnedders has absolutely no clue about the technical details of codecs
  354. # [23:04] <annevk> at some point bandwidth will be less of an issue and all the linked files can simply be inspected...
  355. # [23:05] <Hixie> i doubt that point will come any time soon
  356. # [23:05] <Hixie> at least not in the next two or three decades
  357. # [23:07] <annevk> isn't the required data not in the first few KiBs?
  358. # [23:08] <Hixie> now scale that up by a billion and imagine what it would do to a site like youtube.
  359. # [23:09] <Philip`> Would latency still be an issue, even if the bandwidth is insignificant?
  360. # [23:09] * aroben_ is now known as aroben
  361. # [23:09] <Hixie> that too
  362. # [23:10] <hsivonen> what annevk said is more likely to work, though, than requiring authors to write codec identifiers
  363. # [23:10] <Philip`> (unless you had a server-side script that quickly inspected all the files and then told the browser what they all were)
  364. # [23:11] <hsivonen> I wouldn't dismiss magic-based sniffing and HTTP request closing as crazy when type parameters aren't available
  365. # [23:11] <hsivonen> YouTube has staff to figure out RFCs
  366. # [23:11] * Parts: ericcarlson (i=ericcarl@nat/apple/x-8328bb595e090460)
  367. # [23:11] <Hixie> i don't think this will be used much on sites that don't have staff.
  368. # [23:11] <Hixie> if you don't have staff, you'll likely just use one file.
  369. # [23:11] * Joins: ericcarlson (i=ericcarl@nat/apple/x-787288ecc95c227e)
  370. # [23:12] <hsivonen> Hixie: that's true
  371. # [23:12] <hsivonen> though I don't have staff and I've provided dual videos: Theora and H.264
  372. # [23:13] <Hixie> that's an easy one
  373. # [23:13] <Hixie> don't even need codec="" for that
  374. # [23:13] <hsivonen> right
  375. # [23:13] <hsivonen> actually, you do
  376. # [23:13] <Hixie> why? just stick ogg first
  377. # [23:13] <hsivonen> what if Ogg contains Dirac and the UA supports Theora and H.264?
  378. # [23:14] <Hixie> nobody supports dirac. it's not even done yet.
  379. # [23:14] <hsivonen> or, rather, how's the UA going to know that the Ogg file contains Theora, not Theora
  380. # [23:14] <Hixie> and why would you put dirac in an ogg container?
  381. # [23:14] <annevk> because authors are silly?
  382. # [23:14] <hsivonen> Hixie: I thought the plan was to put Dirac in Ogg
  383. # [23:14] <Hixie> oh.
  384. # [23:15] <Hixie> well then you use the codec value
  385. # [23:15] <Philip`> http://wiki.xiph.org/index.php/OggDirac
  386. # [23:15] <ericcarlson> I don't think this will really be such a big issue for authors
  387. # [23:15] <hsivonen> Hixie: does that mean that you are going to define default codecs for containers?
  388. # [23:15] <annevk> can't you have other things inside Ogg as well?
  389. # [23:15] <Hixie> i'm open to better schemes, but requiring the browser to sniff the data stream is simply not a workable solution.
  390. # [23:15] <Hixie> hsivonen: i'll probably put your wiki page in the spec in due course (or refer to it), but i'd rather just have a better solution.
  391. # [23:16] <hsivonen> ericcarlson: I think it will be. How do I even figure out what AVC level QuickTime made when I encode?
  392. # [23:17] <ericcarlson> People compressing media for the web export to a "profile" so they
  393. # [23:17] <ericcarlson> know a class of user/devide will be able receive and decode it
  394. # [23:17] <annevk> another problem with those codec= stuff is that authors will just copy and paste it and change the src= value and sometimes it will work and sometimes it won't (though arguably this is a minor issue)
  395. # [23:17] <ericcarlson> When exporting you choose the profile, and that defines the parameters passed to the encoder
  396. # [23:17] <hsivonen> ericcarlson: OK, if I check Baseline in QuickTime, how do I figure out what to put in the AVC level "xx" placeholder in Dave Singer's email?
  397. # [23:18] <Hixie> for the people arguing that the current type="" codec= RFC4281 solution is bad: i agree. giving more reasons why it's not an optimal solution is not required. What's required is a more optimal solution.
  398. # [23:18] <ericcarlson> and it defines the characteristics of the file that comes out the other end (bitrate, B-frames or not, size, etc)
  399. # [23:19] <hsivonen> Hixie: I'm not arguing why it is bad. I'm trying to discover useful data that authors will need when they use it.
  400. # [23:19] <Hixie> i was mostly talking to anne :-)
  401. # [23:19] * Hixie would like to know the answer to your question too
  402. # [23:19] <hsivonen> ericcarlson: How do I map QuickTime export dialog values to the RFC indentifiers?
  403. # [23:23] <ericcarlson> hsivonen: which dialog values?
  404. # [23:23] <hsivonen> Movie to MPEG-4, Options...
  405. # [23:24] <Hixie> ericcarlson: if he checks Baseline in QuickTime, how can he figure out what to put in the AVC level "xx" placeholder in Dave Singer's email?
  406. # [23:24] <hsivonen> dialog titled MPEG-4 Export Settings
  407. # [23:25] <hsivonen> ericcarlson: there's no setting for AVC level
  408. # [23:25] <ericcarlson> That information has to come out of the encoded file, so someone (me ;-) will have to write a utility
  409. # [23:25] <hsivonen> ericcarlson: ok :-)
  410. # [23:25] <Hixie> ew
  411. # [23:26] <hsivonen> presumably Movie to iPod will lower the AVC level to a magic value (still without telling me)
  412. # [23:27] <ericcarlson> Yes, but the level is chosen for you based on the "dial-able" parameters.
  413. # [23:28] <ericcarlson> hsivonen: Yes, any preset that doesn't allow any parameter tweaking will be fixed.
  414. # [23:31] <Hixie> i'm about to check in a big set of media/video/audio changes, if anyone wants to give it a look-see while i go grab some food to see if there are any mistakes, i'll fix them before checking in
  415. # [23:31] <Hixie> page will be genned in about 60 seconds
  416. # [23:32] <annevk> some of my reported bugs haven't yet been fixed
  417. # [23:32] <annevk> no apparent visual bugs though
  418. # [23:37] <Hixie> oh?
  419. # [23:37] <annevk> HTMLSourceElement member names in the IDL
  420. # [23:37] <annevk> haven't checked others
  421. # [23:37] <Hixie> ooh, good catch
  422. # [23:38] <annevk> attribute float currentLoop -> unsigned long currentLoop
  423. # [23:38] <Hixie> cool
  424. # [23:38] <Hixie> any others?
  425. # [23:39] <annevk> not right away
  426. # [23:39] <Hixie> hm, i forgot to define seekable
  427. # [23:39] <ericcarlson> I don't see anything obvious
  428. # [23:40] <annevk> in that case, you also forgot to define some events such as volumechange
  429. # [23:40] <ericcarlson> Well, "position" still doesn't have the right name.
  430. # [23:40] <Hixie> yeah name changes and events are next
  431. # [23:40] <ericcarlson> OK
  432. # [23:40] * annevk wonders what's wrong with position
  433. # [23:41] * Joins: ajnewbold (n=fax_mach@unaffiliated/chuangtzu)
  434. # [23:41] <Hixie> apple prefers currentTime, and nobody has argued anything else
  435. # [23:41] <annevk> currentTime is hard to type
  436. # [23:41] * annevk misspelled it while typing it in, even!
  437. # [23:41] <Hixie> true, i often type it as currenTTime
  438. # [23:42] <annevk> I forgot the first t
  439. # [23:42] <Hixie> ericcarlson: what were the arguments for currentTime and against position, again?
  440. # [23:43] <ericcarlson> It is a temporal property, and "position" doesn't really have meaning in the time domain.
  441. # [23:43] <othermaciej> Hixie: "position" is more vague and sounds like it would be spacial, not temporal
  442. # [23:43] <Hixie> ah yes, there you go
  443. # [23:44] <annevk> I suppose "location" has the same issues?
  444. # [23:44] <annevk> maybe more
  445. # [23:44] <othermaciej> location sounds like it should be a URL
  446. # [23:44] <Hixie> even worse, yeah
  447. # [23:44] <Hixie> btw did we say that seeking to outside the current loop boundaries should clamp?
  448. # [23:45] <ericcarlson> I think it should
  449. # [23:45] <ericcarlson> For whatever that is worth.
  450. # [23:45] * Joins: aroben_ (i=adamrobe@nat/apple/x-0ad9bde13e1cda01)
  451. # [23:45] <annevk> and how about position -> time, currentLoop -> loop
  452. # [23:46] <Hixie> that might work
  453. # [23:46] <ericcarlson> "loop" sounds like a boolean
  454. # [23:46] * Quits: aroben (i=adamrobe@nat/apple/x-acd2bb5f0ade68a4) (Read error: 104 (Connection reset by peer))
  455. # [23:46] * Joins: aroben (i=adamrobe@nat/apple/x-8ec6a5f27e5b67a0)
  456. # [23:48] <ericcarlson> The video element still fills with black
  457. # [23:49] <Hixie> i haven't done any of the changes from our lunch
  458. # [23:49] <othermaciej> time might be doable though it is a little more vague
  459. # [23:49] <annevk> what should it be? transparent black?
  460. # [23:49] <Hixie> annevk: should just use css background
  461. # [23:49] <annevk> makes sense
  462. # [23:50] <Hixie> though i think we should have video { background: black } in the UA stylesheet
  463. # [23:50] <Hixie> personally
  464. # [23:50] <Hixie> but that might just be me
  465. # [23:51] <ericcarlson> sounds good for a page with a black background :-)
  466. # [23:51] * Quits: hendry (n=hendry@91.84.53.136) ("leaving")
  467. # [23:53] <annevk> I still think .position is a good pick as everybody will understand what it means and it's way easier to remember and type than .currentTime
  468. # [23:53] <Philip`> Is it possible for the video content to be (semi-)transparent, so you'd need that background colour behind the video rather than just in the areas that don't contain the video?
  469. # [23:53] <Hixie> jesus, just this update to use the new states rather than the old state system is a 2000 line patch
  470. # [23:54] <Hixie> Philip`: if you count animated gifs as video, i guess
  471. # [23:54] <othermaciej> Philip`: there are such things as codecs with alpha
  472. # [23:54] <annevk> Philip`, it's possible with Flash
  473. # [23:54] <annevk> prolly also with FLV
  474. # [23:55] <annevk> Hixie, I suppose it's less than 2000 for /source?
  475. # [23:55] <Hixie> no that was /source :-/
  476. # [23:55] <Philip`> Okay - I just saw the currently-online version talks about "Areas of the element's playback area that do not contain the video should be filled with pure black", which doesn't seem to cover that case, though I don't know if that's been changed already
  477. # [23:56] <Hixie> it's going to change
  478. # [23:56] <Hixie> but later
  479. # [23:56] <Hixie> :-)
  480. # [23:56] <othermaciej> compositing onto the (possibly transparent) background seems like the right thing for alpha codecs
  481. # [23:57] <Hixie> yeah
  482. # [23:57] <annevk> HTMLSourceElement is still not changed fwiw
  483. # [23:57] <Hixie> haven't regenned yet
  484. # [23:57] <annevk> (I say this because currentLoop is)
  485. # [23:57] <Hixie> oh
  486. # [23:57] <Hixie> wait, what?
  487. # [23:57] * Hixie looks again
  488. # [23:57] <Hixie> oh, there was more broken than i thought
  489. # [23:57] <Hixie> oops
  490. # [23:58] <Hixie> oh heh
  491. # [23:58] <Hixie> i fixed it the wrong way -_-
  492. # [23:58] <KevinMarks> I've said for a while that Apple needs to invent a marketing name for h264
  493. # [23:58] <KevinMarks> they're good at that
  494. # [23:58] <othermaciej> iCodec
  495. # [23:58] <othermaciej> (or Final Codec Pro?)
  496. # [23:59] <KevinMarks> Pixlet Pro?
  497. # [23:59] <annevk> iVideo
  498. # [23:59] <KevinMarks> AVC/H264 is such a non-Apple name
  499. # [23:59] <SimonW> hi all... I'm putting together a "what the heck is HTML 5" talk for a local geek event here in Oxford... is there anywhere online that explains the implications of the Apple <canvas> patent e-mail?
  500. # [23:59] <KevinMarks> especially as the original QT codec from 1990 was called AVC
  501. # [23:59] <SimonW> or is it safe to just ignore that bit?
  502. # Session Close: Tue Apr 10 00:00:00 2007

The end :)