/irc-logs / freenode / #whatwg / 2013-01-11 / end

Options:

  1. # Session Start: Fri Jan 11 00:00:00 2013
  2. # Session Ident: #whatwg
  3. # [00:00] <csuwldcat> I am
  4. # [00:00] <csuwldcat> im just weighing them against the majority of use-cases
  5. # [00:00] <Hixie> i do not think the interface is bad, and i do not think my concern (that we keep conveying semantics) is a "fringe case"
  6. # [00:00] <csuwldcat> I don't think it rises to a level that warrents complicating the ergonomics
  7. # [00:00] <Hixie> you keep referring to this "majority of use cases". are the use cases documented somewhere?
  8. # [00:00] <sjmiles> this is one crucial disagreement
  9. # [00:00] <csuwldcat> warrants*
  10. # [00:01] <sjmiles> I posted a link to a page of 'components', did you see those?
  11. # [00:01] <Hixie> (thank you for writing full sentences btw, it's making it much easier to follow)
  12. # [00:01] <csuwldcat> https://github.com/mozilla/x-tag-elements
  13. # [00:01] * Quits: karlcow (~karl@nerval.la-grange.net) (Quit: :tiuQ tiuq sah woclrak)
  14. # [00:01] <csuwldcat> half of those elements don't extend semantic ones
  15. # [00:01] * Quits: nimbu (~nimbu@sjfw1-a.adobe.com) (Quit: Leaving.)
  16. # [00:01] <csuwldcat> Hixie: do be mindful of what sjmiles mentioned about decorators
  17. # [00:02] <csuwldcat> if your "compontent" is that close to a native element
  18. # [00:02] <csuwldcat> you are likely writing a decorator
  19. # [00:02] <Hixie> sjmiles: yeah, i looked at those. Those of that list that seemed applicable to the Web seemed mostly to be extensions of <input> or <select>.
  20. # [00:02] * Quits: dcherman (~dcherman@164.55.254.106) (Ping timeout: 246 seconds)
  21. # [00:02] <csuwldcat> which acts precisely the way you want
  22. # [00:02] <sjmiles> I don't understand 'applicable to the web'
  23. # [00:02] * Quits: vcarbune (~vcarbune@86.121.18.229) (Ping timeout: 256 seconds)
  24. # [00:02] <sjmiles> all those components are in use in applications that use web technology, is this the problem?
  25. # [00:02] <sjmiles> the classic 'page vs app' debate?
  26. # [00:03] <csuwldcat> Hixie: that's the thing with our two stances, I would contend that sjmiles, I, and the majority who have voiced opinion on the issue are focused on the "applicable to the web" cases
  27. # [00:04] <csuwldcat> aka, the way and cases this API will be used en mass
  28. # [00:04] * Quits: dbaron (~dbaron@v-1045.fw1.sfo1.mozilla.net) (Quit: 8403864 bytes have been tenured, next gc will be global.)
  29. # [00:04] <csuwldcat> Is that not of primary importance?
  30. # [00:04] <Hixie> sjmiles: oh i misunderstood the keyboard one, thought it was for extending the OS on-screen keyboard. YEah, they mostly seem to apply. They mostly are extensions of existing elements, like <iframe>, <input>, <Select>, <applet>, etc.
  31. # [00:04] <csuwldcat> Hixie: I really think the decorators thing is the seperation point
  32. # [00:05] <csuwldcat> I love the idea that they can bridge this gap
  33. # [00:05] <Hixie> most of them on https://github.com/mozilla/x-tag-elements also extend existing elemeents
  34. # [00:05] <csuwldcat> sjmiles: thank you for bringing that up
  35. # [00:05] * Quits: tomasf (~tom@c-44dbe555.024-204-6c6b7012.cust.bredbandsbolaget.se) (Ping timeout: 248 seconds)
  36. # [00:05] <Hixie> this all seems to suggest that "the majority of use-cases" do not extend <div>
  37. # [00:05] <Hixie> they extend existing elements
  38. # [00:05] <Hixie> which is _exactly_ what i thought would be the case and why i am worried about people not giving the full semantics in the page.
  39. # [00:06] <csuwldcat> dragbox, alert, dialog, flipbox, indexed scroller, map, mediaquery, modal, panel, shiftbox, slidebox, template - all do not
  40. # [00:07] <csuwldcat> Hixie: the ones that do, would be decorators
  41. # [00:07] <csuwldcat> We just don't have the polyfill for that yet
  42. # [00:07] <csuwldcat> so they are in there
  43. # [00:07] <Hixie> dragbox is a <select> or <menu> extension (not entirely clear to me).
  44. # [00:07] <csuwldcat> an example would be autocomplete, that would be a decorator
  45. # [00:07] <Hixie> alert-popup is a <dialog> extension
  46. # [00:08] <Hixie> dialog-toast is a <dialog> extension
  47. # [00:08] <csuwldcat> no, dragbox is a container that when applied creates an automatically draggable relationship between its children and drop areas, and other dragboxes
  48. # [00:08] <csuwldcat> sure, they would be decorators
  49. # [00:09] <Hixie> <flipbox> is either a CSS binding (what you call a decorator?) that applies to everything, or probably more likely a <section> extension
  50. # [00:09] <Hixie> index-scroller seems to be nothing currently, so can't tell
  51. # [00:09] <csuwldcat> but some of those have proto methods
  52. # [00:09] <csuwldcat> which point to custom elements
  53. # [00:09] <csuwldcat> so that's is not true for most of the ones I listed
  54. # [00:10] <csuwldcat> flipbox could be, slidebox would not be
  55. # [00:10] * Quits: Zauberfisch (~Zauberfis@2a01:4f8:100:73c3::3) (Ping timeout: 246 seconds)
  56. # [00:10] <csuwldcat> because that needs a template, proto props, and extended methods
  57. # [00:10] <Hixie> not clear what map is; if it's just to show a map, it's probably an <img> extension; if it's a country picker, a <select> extension. If it's an interactive map app like Google Maps, then you might have your first <div> extender (but maybe <article> would be better).
  58. # [00:11] <csuwldcat> it shows a Leaflet interactive map
  59. # [00:11] <csuwldcat> not an img
  60. # [00:11] <Hixie> anyway, this clearly doesn't demonstrate that <div> is what the majority will be derived from
  61. # [00:11] <csuwldcat> and not a country picker, just a map that can be used for any purpose
  62. # [00:11] <Hixie> so, let's put that to rest, please
  63. # [00:12] <csuwldcat> that is not accurate, and I don't agree
  64. # [00:12] <Hixie> !
  65. # [00:12] <Hixie> we just went through a bunch of them!
  66. # [00:12] <csuwldcat> most of those need proto extension
  67. # [00:12] <Hixie> what does that mean?
  68. # [00:13] <Hixie> that they define an externally visible API?
  69. # [00:13] <csuwldcat> they need to extend the type and provide new functions/accessors
  70. # [00:13] <csuwldcat> correct, one that goes beyond attributes
  71. # [00:13] <Hixie> what does that have to do with whether they are equivalent to an <input> or a <div>?
  72. # [00:13] <csuwldcat> it is the delineation between a decorator and a custom element
  73. # [00:15] * heycam is now known as heycam|away
  74. # [00:15] <csuwldcat> I just ran out of time for today, but the API interface choice here is going to be a plague to developers for a long time, ergonomics trump, and <x-map><select fallback><option>US</option></select></x-map> is a good solution
  75. # [00:15] <csuwldcat> you'are map could be svg or canvas
  76. # [00:16] <csuwldcat> just because you believe a developer should take on a tag, doesn't mean their use-case is so narrowly defined
  77. # [00:16] <csuwldcat> your*
  78. # [00:17] <Hixie> i don't see why decorators are relevant here
  79. # [00:17] <csuwldcat> Hixie: a intense discussion, but necessary, thank you for having it
  80. # [00:17] * Joins: Zauberfisch (~Zauberfis@2a01:4f8:100:73c3::3)
  81. # [00:17] <csuwldcat> an intense*
  82. # [00:17] * Parts: csuwldcat (~dbuchner@nat/mozilla/x-ofmbxcdgqlbedrdl)
  83. # [00:19] * Quits: Areks_home (~Areks@95-26-66-229.broadband.corbina.ru) (Ping timeout: 256 seconds)
  84. # [00:19] * Quits: ap (~ap@2620:149:4:1b01:1b4:275a:291e:d332) (Quit: ap)
  85. # [00:21] * Quits: weinig (~weinig@2620:149:4:1b01:64d1:f6f6:2995:e7f1) (Quit: weinig)
  86. # [00:21] <sjmiles> is there a difference between "semantically equivalent to image" and "has image API such that an image elements is a suitable fallback"?
  87. # [00:22] * Quits: lilmonkey (~colin@pdpc/supporter/professional/riven) (Read error: Connection reset by peer)
  88. # [00:22] * Joins: lilmonkey (~colin@53518387.cm-6-2c.dynamic.ziggo.nl)
  89. # [00:22] * Quits: lilmonkey (~colin@53518387.cm-6-2c.dynamic.ziggo.nl) (Changing host)
  90. # [00:22] * Joins: lilmonkey (~colin@pdpc/supporter/professional/riven)
  91. # [00:23] * Quits: bkardell (~AndChat14@rb-sip2-122.greenmountainaccess.net) (Ping timeout: 252 seconds)
  92. # [00:23] <sjmiles> I see hixie's point that many of those components could be conceptually similar to input/img/etc., but does that from an API standpoint, that e.g., map IS an img?
  93. # [00:27] * Joins: bkardell (~AndChat14@rb-sip2-122.greenmountainaccess.net)
  94. # [00:27] <sjmiles> Right, Sgt. Major. Marching up and down the square!
  95. # [00:27] * Quits: WeirdAl (~chatzilla@g2spf.ask.info) (Quit: ChatZilla 0.9.89 [Firefox 18.0/20130104151925])
  96. # [00:28] * Joins: dcherman (~dcherman@ool-45787007.dyn.optonline.net)
  97. # [00:28] * Quits: scor (~scor@drupal.org/user/52142/view) (Quit: scor)
  98. # [00:31] * Quits: necolas (~necolas@8.25.197.25) (Read error: Connection reset by peer)
  99. # [00:31] * Joins: necolas (~necolas@8.25.197.25)
  100. # [00:31] * Quits: sorvell (480ee551@gateway/web/freenode/ip.72.14.229.81) (Quit: Page closed)
  101. # [00:33] <Hixie> sjmiles: my concern is for the case of the UA that doesn't implement components
  102. # [00:33] <Hixie> sjmiles: and for those, the UA needs to know what element to treat the component element as
  103. # [00:36] * Joins: jsoncorwin (~textual@208.106.28.36)
  104. # [00:37] * Quits: SimonSapin (~simon@ip-166.net-89-2-153.rev.numericable.fr) (Ping timeout: 260 seconds)
  105. # [00:39] <bkardell> Sorry catching up
  106. # [00:39] <bkardell> Wait ... hixie, you keep saying "not select/x-map" but your who point was that legacy read that as attr
  107. # [00:40] <bkardell> Now you are advocating willynilly attributes in the global space?
  108. # [00:40] <bkardell> What am I missing?
  109. # [00:41] <Hixie> not just legacy, any UA that doesn't implement web components
  110. # [00:41] <sjmiles> hixie: it's not clear to me that, e.g., getting a IMG is better than getting an HTMLUnknownElement (or a span) ... I understand the usefulness for semantic evaluation (this thing is image-like), but less so for fallback
  111. # [00:41] <Hixie> the parser would be changed so that <foo/bar> wouldn't treat "bar" as an attribute.
  112. # [00:42] <dglazkov> I think there's a distinction between any UA that doesn't implement Web components and any UA that doesn't run JS. The former is not an issue. The latter is.
  113. # [00:42] <Hixie> sjmiles: in the case of the map, i agree, img wouldn't be particularly useful for fallback. Nothing really would be.
  114. # [00:42] * linclark|afk is now known as linclark
  115. # [00:42] <Hixie> dglazkov: the former is an issue too
  116. # [00:42] * dglazkov throws a line into the crowd and runs away
  117. # [00:42] * Quits: linclark (~clark@c-67-186-35-246.hsd1.pa.comcast.net) (Quit: linclark)
  118. # [00:43] <bkardell> Right but you can't change legacy
  119. # [00:43] <bkardell> Why is the former not an issue?
  120. # [00:43] <sjmiles> hixie: to me, that's the '90% of components don't map to semantics properly' argument that you said I couldn't make anymore :)
  121. # [00:43] <Hixie> sure, but that's not a big deal. Who cares if a few pages get some attributes in legacy UAs on random elements.
  122. # [00:43] <bkardell> Input/type
  123. # [00:43] <Hixie> sjmiles: hm?
  124. # [00:44] * Joins: nimbu (~nimbu@sjfw1-a.adobe.com)
  125. # [00:44] <bkardell> You would effectively reserve every valid attr of the base tag instead of just saying x-??
  126. # [00:44] <bkardell> Hixie...shame
  127. # [00:44] * Quits: nimbu (~nimbu@sjfw1-a.adobe.com) (Client Quit)
  128. # [00:45] <sjmiles> sorry, I have been suggesting that 'most' components would be based on DIV, and I thought you said that argument was debunked
  129. # [00:46] <sjmiles> the distinction I'm making is that although many of those components map neatly to existing components conceptually, in terms of actual fallback functionality the payoff is drastically less
  130. # [00:46] <Hixie> bkardell: no, i'm saying don't use attributes at all
  131. # [00:46] <sjmiles> sorry "existing components" was supposed to be "existing semantics"
  132. # [00:46] <bkardell> In legacy it _is_ an attr
  133. # [00:47] <bkardell> Isn't that why you suggested in the first? We tried it, it is
  134. # [00:47] <Hixie> sjmiles: for some, fallback for users in legacy UAs is indeed a lost cause, yes. That's not the primary concern. Just like <div> and CSS could just be used exclusively and you'd still have a usable page for users. The problem in both cases is that the page is meaningless for other tools, like search engines, accessibility tools, data mining tools, etc.
  135. # [00:47] <Hixie> bkardell: i don't understand the relevance of legacy parsers here.
  136. # [00:47] * Quits: smaug____ (~chatzilla@cs181151161.pp.htv.fi) (Remote host closed the connection)
  137. # [00:48] <bkardell> Doesn't it defeat the whole pupose if we jump hoops to make legacy work only to kill it
  138. # [00:48] * Joins: smaug____ (~chatzilla@cs181151161.pp.htv.fi)
  139. # [00:48] * Quits: sedovsek (~robert@BSN-176-193-164.dial-up.dsl.siol.net) (Quit: sedovsek)
  140. # [00:48] <bkardell> I am gonna have to go read that thread again
  141. # [00:48] * Joins: nimbu (~nimbu@sjfw1-a.adobe.com)
  142. # [00:48] <nimbu> OMG
  143. # [00:48] <Hixie> bkardell: as i just said to sjmiles, it's not just about legacy. But even if it was, I don't understand the problem here?
  144. # [00:49] <nimbu> AHEM w3cmemes creator
  145. # [00:49] <nimbu> there is one waiting to be created on today's news
  146. # [00:49] <Hixie> bkardell: how does this kill something?
  147. # [00:49] <sjmiles> hixie: well, this is the distinction I was asking about in the lull ... the difference between 'machine semantics' and 'fallback'
  148. # [00:50] <sjmiles> that's why I wanted to consider some kind of 'machine semantic hint'
  149. # [00:50] * Quits: yorick (~yorick@oftn/member/yorick) (Remote host closed the connection)
  150. # [00:50] <sjmiles> but ultimately that falls in the category of 'make it optional'
  151. # [00:51] <bkardell> Ok... today select/map is parsed as select map
  152. # [00:51] <Hixie> sure but today browsers don't do web components either, so...
  153. # [00:52] <Hixie> that's kind of a non-issue
  154. # [00:52] <bkardell> Anything that is not legacy is by definition new
  155. # [00:52] <zewt> (well, no)
  156. # [00:53] <bkardell> So what part of the new is problematic with the fallback approach I suggested
  157. # [00:53] <bkardell> Did I miss it?
  158. # [00:53] <Hixie> the <foo><bar> thing?
  159. # [00:53] <Hixie> well it's two elements, and it doesn't fail if you don't give the <bar>
  160. # [00:53] <Hixie> so it kinda misses the whole point of keeping semantics
  161. # [00:54] <Hixie> i gotta go, meeting. bbl
  162. # [00:54] * heycam|away is now known as heycam
  163. # [00:55] <bkardell> I will be leaving, if someone wants to post up to the bug where this leaves off it would be helpful imo
  164. # [00:55] <bkardell> Esp if someone can explain what hixie just said right there :)
  165. # [00:59] * Joins: nonge (~nonge@p5B326372.dip.t-dialin.net)
  166. # [01:00] * Quits: bkardell (~AndChat14@rb-sip2-122.greenmountainaccess.net) (Ping timeout: 248 seconds)
  167. # [01:00] * Quits: baku (~baku@62.50.252.84) (Quit: Leaving)
  168. # [01:03] * Quits: nimbu (~nimbu@sjfw1-a.adobe.com) (Quit: Leaving.)
  169. # [01:11] * Joins: bkardell (~AndChat14@rb-sip2-122.greenmountainaccess.net)
  170. # [01:11] <bkardell> :x|
  171. # [01:11] * Quits: necolas (~necolas@8.25.197.25) (Remote host closed the connection)
  172. # [01:14] * Quits: bkardell (~AndChat14@rb-sip2-122.greenmountainaccess.net) (Client Quit)
  173. # [01:18] * Joins: nimbu (~nimbu@sjfw1-a.adobe.com)
  174. # [01:23] * Quits: sjmiles (480ee551@gateway/web/freenode/ip.72.14.229.81) (Quit: Page closed)
  175. # [01:25] * Quits: decotii (~decotii@hq.croscon.com) (Quit: Leaving)
  176. # [01:26] * Quits: ginger (~Adium@2401:fa00::dc45:b676:e664:32fe) (Quit: Leaving.)
  177. # [01:32] * Quits: Kolombiken (~Adium@c80-216-10-244.bredband.comhem.se) (Quit: Leaving.)
  178. # [01:34] * Joins: scor (~scor@c-98-216-39-127.hsd1.ma.comcast.net)
  179. # [01:34] * Quits: scor (~scor@c-98-216-39-127.hsd1.ma.comcast.net) (Changing host)
  180. # [01:34] * Joins: scor (~scor@drupal.org/user/52142/view)
  181. # [01:37] * Joins: dbaron (~dbaron@v-1045.fw1.sfo1.mozilla.net)
  182. # [01:40] * Quits: tantek (~tantek@70-36-139-86.dsl.dynamic.sonic.net) (Quit: tantek)
  183. # [01:40] * Joins: tantek (~tantek@70-36-139-86.dsl.dynamic.sonic.net)
  184. # [01:47] * Joins: rniwa (~rniwa@2620:149:4:1b01:ac2b:2969:76c5:2558)
  185. # [01:49] * Quits: ehsan (~ehsan@66.207.208.98) (Remote host closed the connection)
  186. # [01:49] * Quits: nimbu (~nimbu@sjfw1-a.adobe.com) (Quit: Leaving.)
  187. # [01:49] * Joins: ehsan (~ehsan@66.207.208.98)
  188. # [01:54] * Quits: ehsan (~ehsan@66.207.208.98) (Ping timeout: 252 seconds)
  189. # [01:57] * Joins: karlcow (~karl@nerval.la-grange.net)
  190. # [01:57] * Quits: dcherman (~dcherman@ool-45787007.dyn.optonline.net) (Ping timeout: 276 seconds)
  191. # [02:00] * Joins: bkardell (~AndChat14@rb-sip2-122.greenmountainaccess.net)
  192. # [02:02] * Quits: cabanier (~cabanier@192.150.22.55) (Quit: Leaving.)
  193. # [02:03] * Quits: smaug____ (~chatzilla@cs181151161.pp.htv.fi) (Ping timeout: 246 seconds)
  194. # [02:04] * Quits: JonathanNeal (~JonathanN@38.122.109.194) (Quit: JonathanNeal)
  195. # [02:05] * Quits: jsoncorwin (~textual@208.106.28.36) (Quit: Computer has gone to sleep.)
  196. # [02:06] * Joins: jsoncorwin (~textual@208.106.28.36)
  197. # [02:09] * Quits: jsoncorwin (~textual@208.106.28.36) (Client Quit)
  198. # [02:12] * Quits: jsbell (jsbell@nat/google/x-syolejfauuxguwls) (Quit: There's no place like home...)
  199. # [02:17] * Quits: rniwa (~rniwa@2620:149:4:1b01:ac2b:2969:76c5:2558) (Quit: rniwa)
  200. # [02:21] * Joins: rniwa (~rniwa@2620:149:4:1b01:9072:296:35ea:3270)
  201. # [02:22] * Quits: rniwa (~rniwa@2620:149:4:1b01:9072:296:35ea:3270) (Client Quit)
  202. # [02:24] * Joins: weinig (~weinig@17.114.107.6)
  203. # [02:26] * Quits: eresair (~eresair@173.247.199.2) (Remote host closed the connection)
  204. # [02:27] * Joins: ginger (~Adium@2401:fa00::58db:115c:c060:82c3)
  205. # [02:28] * Quits: weinig (~weinig@17.114.107.6) (Client Quit)
  206. # [02:34] * Quits: jwalden (~waldo@2620:101:8003:200:224:d7ff:fef0:8d90) (Ping timeout: 245 seconds)
  207. # [02:36] * Joins: jwalden (~waldo@2620:101:8003:200:224:d7ff:fef0:8d90)
  208. # [02:38] * Joins: brian_ (~brian@rb-sip2-122.greenmountainaccess.net)
  209. # [02:39] * Quits: ginger (~Adium@2401:fa00::58db:115c:c060:82c3) (Quit: Leaving.)
  210. # [02:41] * Joins: rniwa (~rniwa@17.245.109.0)
  211. # [02:48] * heycam is now known as heycam|away
  212. # [02:52] * Joins: weinig (~weinig@17.114.107.6)
  213. # [02:57] * Quits: weinig (~weinig@17.114.107.6) (Ping timeout: 260 seconds)
  214. # [03:04] * Joins: ehsan (~ehsan@24.212.206.174)
  215. # [03:06] * Joins: JonathanNeal (~JonathanN@cpe-142-11-82-156.socal.rr.com)
  216. # [03:13] <bkardell> Hixie: where you at man?
  217. # [03:36] * Joins: a-ja (~Instantbi@70.230.165.74)
  218. # [03:37] * Joins: skcin7 (~skcin7@c-68-38-156-213.hsd1.nj.comcast.net)
  219. # [03:37] * heycam|away is now known as heycam
  220. # [03:45] * Quits: Druide_ (~Druid@ip-178-203-141-163.unitymediagroup.de) (Ping timeout: 248 seconds)
  221. # [03:51] * Quits: jacobolus (~jacobolus@75-144-246-6-SFBA.hfc.comcastbusiness.net) (Read error: Connection reset by peer)
  222. # [03:51] * Joins: jacobolus (~jacobolus@75-144-246-6-SFBA.hfc.comcastbusiness.net)
  223. # [03:55] <brian_> dglazkov: you there?
  224. # [03:57] * Quits: brian_ (~brian@rb-sip2-122.greenmountainaccess.net) (Remote host closed the connection)
  225. # [03:58] * Joins: brian_ (~brian@rb-sip2-122.greenmountainaccess.net)
  226. # [03:58] * brian_ is now known as bkardell_
  227. # [03:59] * Quits: bkardell (~AndChat14@rb-sip2-122.greenmountainaccess.net) (Quit: Bye)
  228. # [03:59] * Quits: bkardell_ (~brian@rb-sip2-122.greenmountainaccess.net) (Remote host closed the connection)
  229. # [04:00] * Joins: brian_ (~brian@rb-sip2-122.greenmountainaccess.net)
  230. # [04:00] * Quits: pablof (~pablof@c-98-207-157-89.hsd1.ca.comcast.net) (Quit: ^z)
  231. # [04:00] * Joins: Stevef (~chatzilla@cpc20-nmal18-2-0-cust76.19-2.cable.virginmedia.com)
  232. # [04:01] * Quits: brian_ (~brian@rb-sip2-122.greenmountainaccess.net) (Remote host closed the connection)
  233. # [04:01] * Joins: bkardell (~bkardell@rb-sip2-122.greenmountainaccess.net)
  234. # [04:03] <bkardell> ...crickets...
  235. # [04:06] <bkardell> Hixie: It definitely seems like aside from the fact that it yields two elements, this covers a lot
  236. # [04:06] <bkardell> and that two elements only has to be in legacy/script unsupported case
  237. # [04:06] <bkardell> am I way off on that?
  238. # [04:07] <bkardell> dglazkov: in theory this can provide a plan for both legacy and script not supported
  239. # [04:08] <bkardell> you can parse them, they have semantic meaning - just a wrapper
  240. # [04:08] <bkardell> if wrappers are a serious problem then the whole interwebs are borked
  241. # [04:08] * Quits: Stevef (~chatzilla@cpc20-nmal18-2-0-cust76.19-2.cable.virginmedia.com) (Ping timeout: 248 seconds)
  242. # [04:10] * Joins: ginger1 (~Adium@2401:fa00::3dd8:1902:f9f6:feee)
  243. # [04:13] * Quits: tantek (~tantek@70-36-139-86.dsl.dynamic.sonic.net) (Quit: tantek)
  244. # [04:15] * Parts: Jasper (magcius@unaffiliated/magcius) ("Leaving")
  245. # [04:30] * Quits: bkardell (~bkardell@rb-sip2-122.greenmountainaccess.net) (Ping timeout: 240 seconds)
  246. # [04:37] * Joins: jdaggett_ (~jdaggett@wave.mozilla.or.jp)
  247. # [04:37] * Quits: jdaggett_ (~jdaggett@wave.mozilla.or.jp) (Remote host closed the connection)
  248. # [04:37] * Joins: jdaggett_ (~jdaggett@wave.mozilla.or.jp)
  249. # [04:43] * Joins: jonlee (~jonlee@2620:149:4:1b01:9415:b73e:2772:efaf)
  250. # [04:58] * Quits: dbaron (~dbaron@v-1045.fw1.sfo1.mozilla.net) (Quit: 8403864 bytes have been tenured, next gc will be global.)
  251. # [05:00] * Quits: jacobolus (~jacobolus@75-144-246-6-SFBA.hfc.comcastbusiness.net) (Remote host closed the connection)
  252. # [05:07] * Joins: Benvie (~brandon@cpe-174-097-187-248.nc.res.rr.com)
  253. # [05:08] * jonlee is now known as jonlee|afk
  254. # [05:20] * Joins: jonlee (~jonlee@67.218.106.83)
  255. # [05:24] * Quits: jonlee (~jonlee@67.218.106.83) (Client Quit)
  256. # [05:26] <Hixie> back
  257. # [05:28] * Joins: jonlee (~jonlee@67.218.106.83)
  258. # [05:29] * Quits: jonlee (~jonlee@67.218.106.83) (Client Quit)
  259. # [05:29] * Joins: jonlee (~jonlee@67.218.106.83)
  260. # [05:32] * Joins: jsoncorwin (~textual@c-98-210-130-242.hsd1.ca.comcast.net)
  261. # [05:32] * Quits: jwalden (~waldo@2620:101:8003:200:224:d7ff:fef0:8d90) (Quit: ChatZilla 0.9.87-5.1450hg.fc17 [XULRunner 17.0.1/20121129151931])
  262. # [05:34] * Joins: necolas (~necolas@50.0.205.111)
  263. # [05:34] * Joins: dcherman (~dcherman@ool-45787007.dyn.optonline.net)
  264. # [05:35] * Joins: dbaron (~dbaron@173-228-85-58.dsl.dynamic.sonic.net)
  265. # [05:48] * Joins: marcosc_ (~marcosc@bl11-209-244.dsl.telepac.pt)
  266. # [05:49] * Quits: jonlee|afk (~jonlee@2620:149:4:1b01:9415:b73e:2772:efaf) (Ping timeout: 245 seconds)
  267. # [05:49] * Joins: jacobolus (~jacobolus@50-0-133-210.dsl.static.sonic.net)
  268. # [05:51] * Quits: marcosc (~marcosc@bl9-150-119.dsl.telepac.pt) (Ping timeout: 256 seconds)
  269. # [05:53] * Joins: jdaggett (~jdaggett@wave.mozilla.or.jp)
  270. # [05:53] * Quits: jdaggett (~jdaggett@wave.mozilla.or.jp) (Remote host closed the connection)
  271. # [05:54] * Joins: jdaggett (~jdaggett@rtr.mozilla.or.jp)
  272. # [05:56] * Quits: jdaggett_ (~jdaggett@wave.mozilla.or.jp) (Ping timeout: 252 seconds)
  273. # [06:02] * Quits: ginger1 (~Adium@2401:fa00::3dd8:1902:f9f6:feee) (Quit: Leaving.)
  274. # [06:02] * Joins: plutoniix (~plutoniix@node-xrl.pool-125-25.dynamic.totbb.net)
  275. # [06:06] * Quits: JonathanNeal (~JonathanN@cpe-142-11-82-156.socal.rr.com) (Quit: JonathanNeal)
  276. # [06:07] * Quits: karlcow (~karl@nerval.la-grange.net) (Quit: :tiuQ tiuq sah woclrak)
  277. # [06:08] * Quits: marcosc_ (~marcosc@bl11-209-244.dsl.telepac.pt) (Read error: Connection reset by peer)
  278. # [06:08] * Quits: aglehg (~aglehg@bl5-100-140.dsl.telepac.pt) (Read error: Connection reset by peer)
  279. # [06:08] * Joins: marcosc (~marcosc@bl11-209-244.dsl.telepac.pt)
  280. # [06:09] * Joins: aglehg (~aglehg@bl5-100-140.dsl.telepac.pt)
  281. # [06:10] * Joins: eminor (~eminor@p548CE94C.dip.t-dialin.net)
  282. # [06:14] * Joins: WeirdAl (~chatzilla@c-71-198-116-32.hsd1.ca.comcast.net)
  283. # [06:17] * Quits: dcherman (~dcherman@ool-45787007.dyn.optonline.net) (Ping timeout: 248 seconds)
  284. # [06:19] * Quits: jonlee (~jonlee@67.218.106.83) (Quit: jonlee)
  285. # [06:21] * Quits: necolas (~necolas@50.0.205.111) (Remote host closed the connection)
  286. # [06:27] * Joins: jamesr_ (~jamesr@173-164-251-190-SFBA.hfc.comcastbusiness.net)
  287. # [06:30] * Joins: jacobolu_ (~jacobolus@50-0-133-210.dsl.static.sonic.net)
  288. # [06:33] * Quits: jacobolus (~jacobolus@50-0-133-210.dsl.static.sonic.net) (Ping timeout: 264 seconds)
  289. # [06:35] * Joins: jacobolus (~jacobolus@50-0-133-210.dsl.static.sonic.net)
  290. # [06:37] * Quits: jacobolu_ (~jacobolus@50-0-133-210.dsl.static.sonic.net) (Ping timeout: 276 seconds)
  291. # [06:39] * Joins: othermaciej (~mjs@c-24-6-209-189.hsd1.ca.comcast.net)
  292. # [06:55] * Joins: ginger1 (~Adium@2401:fa00::bd70:cbcd:74f7:5533)
  293. # [06:59] * Joins: karlcow (~karl@nerval.la-grange.net)
  294. # [07:04] * Quits: jacobolus (~jacobolus@50-0-133-210.dsl.static.sonic.net) (Quit: Leaving...)
  295. # [07:07] * Quits: ginger1 (~Adium@2401:fa00::bd70:cbcd:74f7:5533) (Quit: Leaving.)
  296. # [07:13] * Quits: marcosc (~marcosc@bl11-209-244.dsl.telepac.pt) (Remote host closed the connection)
  297. # [07:18] * Quits: jamesr_ (~jamesr@173-164-251-190-SFBA.hfc.comcastbusiness.net) (Quit: jamesr_)
  298. # [07:22] * Joins: eresair (~eresair@c-24-5-78-71.hsd1.ca.comcast.net)
  299. # [07:22] * Quits: eresair (~eresair@c-24-5-78-71.hsd1.ca.comcast.net) (Remote host closed the connection)
  300. # [07:24] * Joins: webguynow (~webguynow@c-24-1-222-204.hsd1.il.comcast.net)
  301. # [07:28] <webguynow> My attempt at Data url's, starting with <img> turned out to be a flop.
  302. # [07:29] <webguynow> Anyone have an example ?
  303. # [07:30] <webguynow> actually, There's quite a few around, so I'm not sure what I did wrong
  304. # [07:31] <odinho> http://software.hixie.ch/utilities/cgi/data/data might help a bit too.
  305. # [07:32] * Quits: rniwa (~rniwa@17.245.109.0) (Quit: rniwa)
  306. # [07:34] <webguynow> The PHP examples look pretty darn easy.
  307. # [07:35] * Quits: othermaciej (~mjs@c-24-6-209-189.hsd1.ca.comcast.net) (Quit: othermaciej)
  308. # [07:35] <webguynow> I actually encoded with Java. ReadIn the file with IOUtils and encoded with the iHarder Base64
  309. # [07:36] <webguynow> was originally trying on my work PC, with IE9 as the browser
  310. # [07:38] <webguynow> did the same thing on another machine, and still the image does not show
  311. # [07:38] <odinho> That Hixie utility has a quite needlessy big html boilerplate.
  312. # [07:38] <Hixie> which one?
  313. # [07:39] <Hixie> oh the data kitchen
  314. # [07:39] <Hixie> yeah
  315. # [07:39] <Hixie> that's old
  316. # [07:39] <odinho> Hixie: The one I pasted :-)
  317. # [07:39] <odinho> Yeah, I figured :D
  318. # [07:39] <WeirdAl> hey, I like that data kitchen
  319. # [07:39] <WeirdAl> it works, so why mess with it?
  320. # [07:40] <Hixie> hence why it still has the boilerplate :-)
  321. # [07:41] <odinho> Yeaa, it does. Although smaller boilerplate brings nicer data uri's (if you're lazy and don't change it), data:text/html;charset=utf-8,%3C!DOCTYPE%20HTML%3E%0D%0A%3Ctitle%3ETest%3C%2Ftitle%3E%0D%0A%3Cstyle%20type%3D%22text%2Fcss%22%3E%3C%2Fstyle%3E%0D%0A%3Cp%3Ehelo
  322. # [07:41] <odinho> It was merely an observation, WeirdAl, not a break the world suggestion :P
  323. # [07:41] <WeirdAl> :)
  324. # [07:44] * Joins: maikmerten (~merten@ls5dhcp200.cs.uni-dortmund.de)
  325. # [07:47] * Quits: Zauberfisch (~Zauberfis@2a01:4f8:100:73c3::3) (Ping timeout: 246 seconds)
  326. # [07:48] * Joins: Zauberfisch (~Zauberfis@2a01:4f8:100:73c3::3)
  327. # [07:49] * Joins: rniwa (~rniwa@70-89-66-218-ca.sfba.hfc.comcastbusiness.net)
  328. # [07:58] * Joins: drdt (~dydz@76-220-18-65.lightspeed.sntcca.sbcglobal.net)
  329. # [08:00] * Joins: Kolombiken (~Adium@c80-216-10-244.bredband.comhem.se)
  330. # [08:06] * Joins: othermaciej (~mjs@c-24-6-209-189.hsd1.ca.comcast.net)
  331. # [08:08] * Joins: dirkpennings (~dirkpenni@82-148-199-218.adsl.unet.nl)
  332. # [08:18] * Joins: Ducki_ (~Ducki@pD9E39DED.dip0.t-ipconnect.de)
  333. # [08:19] * Joins: [[zzz]] (~q@node-c50.pool-125-25.dynamic.totbb.net)
  334. # [08:20] * Joins: drollwit (~drollwit@c-67-183-156-240.hsd1.wa.comcast.net)
  335. # [08:22] * Joins: stevefaulkner (~stevefaul@cpc20-nmal18-2-0-cust76.19-2.cable.virginmedia.com)
  336. # [08:23] * Quits: [[zz]] (~q@node-seo.pool-180-180.dynamic.totbb.net) (Ping timeout: 240 seconds)
  337. # [08:23] * Quits: Bass10 (Bass10@c-76-113-194-7.hsd1.mn.comcast.net) (Read error: Operation timed out)
  338. # [08:32] * Joins: niloy (~niloy@203.196.177.156)
  339. # [08:32] * Joins: Stevef (~chatzilla@cpc20-nmal18-2-0-cust76.19-2.cable.virginmedia.com)
  340. # [08:32] * Quits: stevefaulkner (~stevefaul@cpc20-nmal18-2-0-cust76.19-2.cable.virginmedia.com) (Quit: stevefaulkner)
  341. # [08:34] * Joins: victor1 (~Adium@AAubervilliers-651-1-337-23.w83-114.abo.wanadoo.fr)
  342. # [08:34] * Quits: WeirdAl (~chatzilla@c-71-198-116-32.hsd1.ca.comcast.net) (Remote host closed the connection)
  343. # [08:39] * Joins: ginger1 (~Adium@2401:fa00::f828:5fd:7178:296)
  344. # [08:40] * Joins: Smylers (~smylers@host86-157-183-117.range86-157.btcentralplus.com)
  345. # [08:46] * Quits: drollwit (~drollwit@c-67-183-156-240.hsd1.wa.comcast.net) (Remote host closed the connection)
  346. # [08:50] * Joins: shwetank (~shwetank@122.173.207.225)
  347. # [08:52] * Quits: dbaron (~dbaron@173-228-85-58.dsl.dynamic.sonic.net) (Quit: g'night)
  348. # [08:52] * Quits: Smylers (~smylers@host86-157-183-117.range86-157.btcentralplus.com) (Ping timeout: 248 seconds)
  349. # [08:54] * Joins: RobbertAtWork (~robbertat@212.238.236.229)
  350. # [08:54] * Quits: RobbertAtWork (~robbertat@212.238.236.229) (Remote host closed the connection)
  351. # [08:55] * Joins: RobbertAtWork (~robbertat@212.238.236.229)
  352. # [08:56] * Quits: Kolombiken (~Adium@c80-216-10-244.bredband.comhem.se) (Quit: Leaving.)
  353. # [08:57] * Quits: ginger1 (~Adium@2401:fa00::f828:5fd:7178:296) (Quit: Leaving.)
  354. # [08:59] * Joins: ginger1 (Adium@nat/google/x-baxaiiohxmytkwqd)
  355. # [09:00] * Joins: Smylers (~smylers@host86-176-224-238.range86-176.btcentralplus.com)
  356. # [09:01] * Quits: Stevef (~chatzilla@cpc20-nmal18-2-0-cust76.19-2.cable.virginmedia.com) (Remote host closed the connection)
  357. # [09:05] * Quits: Smylers (~smylers@host86-176-224-238.range86-176.btcentralplus.com) (Ping timeout: 264 seconds)
  358. # [09:05] * Joins: stevefaulkner (~stevefaul@cpc20-nmal18-2-0-cust76.19-2.cable.virginmedia.com)
  359. # [09:08] * Quits: jdaggett (~jdaggett@rtr.mozilla.or.jp) (Ping timeout: 252 seconds)
  360. # [09:18] * Parts: victor1 (~Adium@AAubervilliers-651-1-337-23.w83-114.abo.wanadoo.fr)
  361. # [09:21] * Quits: stevefaulkner (~stevefaul@cpc20-nmal18-2-0-cust76.19-2.cable.virginmedia.com) (Quit: stevefaulkner)
  362. # [09:22] * Joins: Kolombiken (~Adium@217.13.228.226)
  363. # [09:24] * Quits: RobbertAtWork (~robbertat@212.238.236.229) (Remote host closed the connection)
  364. # [09:25] * Quits: maikmerten (~merten@ls5dhcp200.cs.uni-dortmund.de) (Ping timeout: 265 seconds)
  365. # [09:27] * Quits: ginger1 (Adium@nat/google/x-baxaiiohxmytkwqd) (Quit: Leaving.)
  366. # [09:28] * Joins: sicking (~sicking@62-50-218-21.client.stsn.net)
  367. # [09:28] * Joins: RobbertAtWork (~robbertat@212.238.236.229)
  368. # [09:28] * Quits: RobbertAtWork (~robbertat@212.238.236.229) (Remote host closed the connection)
  369. # [09:29] * Joins: RobbertAtWork (~robbertat@212.238.236.229)
  370. # [09:30] * Quits: sicking (~sicking@62-50-218-21.client.stsn.net) (Client Quit)
  371. # [09:31] * Joins: maikmerten (~merten@ls5dhcp200.cs.uni-dortmund.de)
  372. # [09:33] * Joins: Ms2ger (~Ms2ger@109.133.36.125)
  373. # [09:33] * Quits: aglehg (~aglehg@bl5-100-140.dsl.telepac.pt) (Ping timeout: 264 seconds)
  374. # [09:36] * Joins: sedovsek (~robert@89.143.12.238)
  375. # [09:36] * heycam is now known as heycam|away
  376. # [09:44] * Quits: eminor (~eminor@p548CE94C.dip.t-dialin.net) (Quit: eminor)
  377. # [09:47] * Joins: aglehg (~aglehg@bl11-36-60.dsl.telepac.pt)
  378. # [09:48] * Joins: RobbertA_ (~robbertat@2001:980:9368:1:dc41:5318:feee:9c3f)
  379. # [09:48] * Joins: mitemitreski (~mmitresk@212.120.17.179)
  380. # [09:50] * Joins: ginger (Adium@nat/google/x-mkdrakzwlvebdogs)
  381. # [09:51] * Quits: RobbertAtWork (~robbertat@212.238.236.229) (Ping timeout: 248 seconds)
  382. # [09:51] * Joins: sicking (~sicking@217.243.168.51)
  383. # [09:51] * Joins: vcarbune (~vcarbune@86.121.18.229)
  384. # [09:54] * Quits: aglehg (~aglehg@bl11-36-60.dsl.telepac.pt) (Ping timeout: 248 seconds)
  385. # [09:55] * Joins: aglehg (~aglehg@bl9-138-19.dsl.telepac.pt)
  386. # [09:57] * Quits: othermaciej (~mjs@c-24-6-209-189.hsd1.ca.comcast.net) (Quit: othermaciej)
  387. # [09:57] * Joins: tantek (~tantek@70-36-139-86.dsl.dynamic.sonic.net)
  388. # [09:58] * Quits: skcin7 (~skcin7@c-68-38-156-213.hsd1.nj.comcast.net)
  389. # [09:58] * Quits: RobbertA_ (~robbertat@2001:980:9368:1:dc41:5318:feee:9c3f) (Remote host closed the connection)
  390. # [10:01] * Joins: hasather_ (~hasather_@cm-84.208.102.9.getinternet.no)
  391. # [10:01] <Ms2ger> Clearly the data URI kitchen should be renamed
  392. # [10:04] * Quits: drdt (~dydz@76-220-18-65.lightspeed.sntcca.sbcglobal.net) (Quit: drdt)
  393. # [10:06] * Joins: RobbertAtWork (~robbertat@212.238.236.229)
  394. # [10:09] * Joins: henrikkok (~henrikkok@81.27.221.193)
  395. # [10:09] * Joins: SimonSapin (~simon@ip-166.net-89-2-153.rev.numericable.fr)
  396. # [10:12] * Joins: tomasf (~tomasf@77.72.97.5.c.fiberdirekt.net)
  397. # [10:19] * Joins: Smylers (~smylers@94.116.77.27)
  398. # [10:20] * Quits: karlcow (~karl@nerval.la-grange.net) (Quit: :tiuQ tiuq sah woclrak)
  399. # [10:30] * Joins: Yudai___ (~Yudai@nttkyo385038.tkyo.nt.ngn2.ppp.infoweb.ne.jp)
  400. # [10:33] * Quits: Yudai__ (~Yudai@nttkyo221226.tkyo.nt.ngn2.ppp.infoweb.ne.jp) (Ping timeout: 276 seconds)
  401. # [10:35] * Quits: Smylers (~smylers@94.116.77.27) (Ping timeout: 248 seconds)
  402. # [10:36] * Quits: RobbertAtWork (~robbertat@212.238.236.229) (Remote host closed the connection)
  403. # [10:36] * Joins: nonge_ (~nonge@p5B326284.dip.t-dialin.net)
  404. # [10:39] * Joins: reinaldob (~reinaldob@201.74.207.56)
  405. # [10:40] * Quits: nonge (~nonge@p5B326372.dip.t-dialin.net) (Ping timeout: 255 seconds)
  406. # [10:41] * Quits: ginger (Adium@nat/google/x-mkdrakzwlvebdogs) (Quit: Leaving.)
  407. # [10:41] * Joins: baku (~baku@217.243.168.51)
  408. # [10:44] * Joins: Stevef (~chatzilla@cpc20-nmal18-2-0-cust76.19-2.cable.virginmedia.com)
  409. # [10:47] * Quits: SimonSapin (~simon@ip-166.net-89-2-153.rev.numericable.fr) (Ping timeout: 260 seconds)
  410. # [10:47] * Joins: Smylers (~smylers@host81-143-60-194.in-addr.btopenworld.com)
  411. # [10:52] * Joins: othermaciej (~mjs@c-24-6-209-189.hsd1.ca.comcast.net)
  412. # [10:54] * Joins: RobbertAtWork (~robbertat@212.238.236.229)
  413. # [10:57] * Quits: shwetank (~shwetank@122.173.207.225) (Quit: Leaving...)
  414. # [10:57] * Joins: annevk (~annevk@a82-161-179-17.adsl.xs4all.nl)
  415. # [10:59] <annevk> Indeed what is up with that?
  416. # [11:00] <jgraham> ?
  417. # [11:02] * Quits: sicking (~sicking@217.243.168.51) (Quit: sicking)
  418. # [11:03] <annevk> jgraham: just a late reply
  419. # [11:05] * Joins: shwetank (~shwetank@122.173.207.225)
  420. # [11:05] * Quits: shwetank (~shwetank@122.173.207.225) (Client Quit)
  421. # [11:05] <annevk> MikeSmith: not sure when I last disrupted myself (maybe during the summer), violated an Internet Standard quite recently, and I believe AWWW means Astronaut ;-)
  422. # [11:06] * Joins: darobin (~darobin@78.109.80.74)
  423. # [11:08] * Quits: tantek (~tantek@70-36-139-86.dsl.dynamic.sonic.net) (Quit: tantek)
  424. # [11:11] * Quits: annevk (~annevk@a82-161-179-17.adsl.xs4all.nl) (Remote host closed the connection)
  425. # [11:12] * Joins: annevk (~annevk@a82-161-179-17.adsl.xs4all.nl)
  426. # [11:12] * Quits: hasather_ (~hasather_@cm-84.208.102.9.getinternet.no) (Remote host closed the connection)
  427. # [11:16] * Quits: annevk (~annevk@a82-161-179-17.adsl.xs4all.nl) (Ping timeout: 246 seconds)
  428. # [11:18] * Joins: sicking (~sicking@217.243.168.51)
  429. # [11:19] * Joins: SimonSapin (~simon@2a01:e35:2e8d:b5f0:ea9d:87ff:fe22:e221)
  430. # [11:19] * Joins: pyrsmk (~pyrsmk@2a01:e35:2f52:ead0:3d0a:8276:1482:930e)
  431. # [11:25] * Quits: RobbertAtWork (~robbertat@212.238.236.229) (Remote host closed the connection)
  432. # [11:26] * Quits: Lachy (~Lachy@cm-84.215.19.229.getinternet.no) (Quit: Computer has gone to sleep.)
  433. # [11:28] * Joins: JibberJim (~opera@212.58.232.179)
  434. # [11:29] * Joins: annevk (~annevk@84.241.207.254)
  435. # [11:33] * Quits: JibberJim (~opera@212.58.232.179) (Ping timeout: 260 seconds)
  436. # [11:34] * abstractj|away is now known as abstractj
  437. # [11:37] * Joins: zdobersek (~zdobersek@cpe-77.38.31.63.cable.t-1.si)
  438. # [11:38] <hsivonen> annevk: I hope the TAG upholds data model compatibility: http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2013-January/038632.html
  439. # [11:39] * Quits: Stevef (~chatzilla@cpc20-nmal18-2-0-cust76.19-2.cable.virginmedia.com) (Ping timeout: 248 seconds)
  440. # [11:40] * Joins: smaug____ (~chatzilla@cs181151161.pp.htv.fi)
  441. # [11:41] * Quits: annevk (~annevk@84.241.207.254) (Remote host closed the connection)
  442. # [11:45] <darobin> hsivonen: now that annevk's on the TAG he won't be able to hang out with us anymore
  443. # [11:45] <darobin> they lock up the ivory tower to make sure of that
  444. # [11:50] <Ms2ger> <object data="../images/blue.png" type="image/gif"
  445. # [11:53] * Joins: annevk (~annevk@212.238.236.229)
  446. # [11:54] * Quits: othermaciej (~mjs@c-24-6-209-189.hsd1.ca.comcast.net) (Quit: othermaciej)
  447. # [11:54] * Joins: Stevef (~chatzilla@cpc20-nmal18-2-0-cust76.19-2.cable.virginmedia.com)
  448. # [12:02] <annevk> It seems wrong that a lot of component use cases are design-orientated and would require changes to the markup.
  449. # [12:02] <annevk> That is really quite backwards...
  450. # [12:03] <annevk> hsivonen: from the newly elected I doubt many care about that strongly, if that's what you mean...
  451. # [12:04] * Joins: Lachy (~Lachy@office.oslo.opera.com)
  452. # [12:08] * Joins: yoshiki (yoshiki@nat/google/x-uhrauhuqvzipzamm)
  453. # [12:09] <Ms2ger> darobin, and next :)
  454. # [12:09] * Joins: richt (~richt@office.oslo.opera.com)
  455. # [12:09] * Quits: falken (falken@nat/google/x-xokbndpyxqispeux) (Ping timeout: 260 seconds)
  456. # [12:09] <Ms2ger> darobin, this one's smaller, though ;)
  457. # [12:09] <darobin> Ms2ger: :)
  458. # [12:10] * Joins: falken (falken@nat/google/x-anpdpghgmpqcqmoa)
  459. # [12:10] <darobin> Ms2ger: some of the Mozilla tests I approved are not very good
  460. # [12:10] * Quits: ricea (ricea@nat/google/x-afrurfyzmcaaxnze) (Ping timeout: 265 seconds)
  461. # [12:10] <darobin> they're correct, but not great as tests
  462. # [12:10] * Quits: yoshiki__ (yoshiki@nat/google/x-qilltpjtvpqqxybg) (Ping timeout: 255 seconds)
  463. # [12:10] <Ms2ger> Which ones? :)
  464. # [12:10] <hsivonen> annevk: so is upholding XML stuff now completety off TAG’s list of interests?
  465. # [12:10] <darobin> I'm accepting them on the grounds that it's better to have a poor correct test that we can improve than nothing at all
  466. # [12:10] <darobin> the ol ones notably
  467. # [12:10] <Ms2ger> And better or worse than Microsoft's average oles?
  468. # [12:10] <Ms2ger> ones?
  469. # [12:11] <annevk> hsivonen: I don't know what the TAG interests are :-)
  470. # [12:11] * Ms2ger looks
  471. # [12:11] <darobin> they test useful stuff like ol@reversed and all
  472. # [12:11] <darobin> but they don't indicate what the pass condition is
  473. # [12:11] <darobin> (and I wonder if they couldn't be more automated)
  474. # [12:11] * Joins: boogyman (~boogy@pdpc/supporter/professional/boogyman)
  475. # [12:11] <Ms2ger> Oh, those are reftests
  476. # [12:11] <darobin> ah
  477. # [12:11] <darobin> that wasn't clear
  478. # [12:12] <darobin> but anyway, we can improve them
  479. # [12:12] <Ms2ger> Indeed
  480. # [12:12] <annevk> hsivonen: I personally care about consistency, but I'm not strictly opposed to changing XML, although that seems like a farfetched idea (and when I tried I failed)
  481. # [12:13] <hsivonen> annevk: the thing is that there’s code out there even if you change the XML spec
  482. # [12:13] <hsivonen> see 5th edition
  483. # [12:16] * Quits: plutoniix (~plutoniix@node-xrl.pool-125-25.dynamic.totbb.net) (Quit: จรลี จรลา)
  484. # [12:23] * Joins: hasather_ (~hasather_@cm-84.208.102.9.getinternet.no)
  485. # [12:25] * Joins: ricea (ricea@nat/google/x-cjqmzzuzejcizrgc)
  486. # [12:25] <annevk> Is there a browser that even implements the 5th?
  487. # [12:28] * Quits: hasather_ (~hasather_@cm-84.208.102.9.getinternet.no) (Ping timeout: 265 seconds)
  488. # [12:29] * Quits: rniwa (~rniwa@70-89-66-218-ca.sfba.hfc.comcastbusiness.net) (Quit: rniwa)
  489. # [12:30] * Joins: darfia (~darfia@187.106.42.178)
  490. # [12:30] * Joins: cheron (~cheron@unaffiliated/cheron)
  491. # [12:33] <hsivonen> annevk: dunno. If you find one, please comment on https://bugzilla.mozilla.org/show_bug.cgi?id=501837
  492. # [12:35] * Quits: zdobersek (~zdobersek@cpe-77.38.31.63.cable.t-1.si) (Ping timeout: 255 seconds)
  493. # [12:35] * Parts: a-ja (~Instantbi@70.230.165.74)
  494. # [12:37] * Joins: tantek (~tantek@70-36-139-86.dsl.dynamic.sonic.net)
  495. # [12:40] * Joins: zdobersek (~zdobersek@cpe-77.38.31.63.cable.t-1.si)
  496. # [12:40] * Parts: zdobersek (~zdobersek@cpe-77.38.31.63.cable.t-1.si)
  497. # [12:42] * Quits: tantek (~tantek@70-36-139-86.dsl.dynamic.sonic.net) (Ping timeout: 264 seconds)
  498. # [12:46] * Joins: yoshiki_ (yoshiki@nat/google/x-ucpppjuirocytaxo)
  499. # [12:46] * Quits: ricea (ricea@nat/google/x-cjqmzzuzejcizrgc) (Ping timeout: 265 seconds)
  500. # [12:47] * Quits: yoshiki (yoshiki@nat/google/x-uhrauhuqvzipzamm) (Ping timeout: 252 seconds)
  501. # [12:47] * Quits: falken (falken@nat/google/x-anpdpghgmpqcqmoa) (Ping timeout: 244 seconds)
  502. # [12:48] * Joins: falken (falken@nat/google/x-tbbcihoihaztvfxq)
  503. # [12:49] * Quits: darfia (~darfia@187.106.42.178) (Ping timeout: 265 seconds)
  504. # [12:58] * Joins: darfia (~darfia@187.106.42.178)
  505. # [13:00] * Quits: Ducki_ (~Ducki@pD9E39DED.dip0.t-ipconnect.de) (Read error: Connection reset by peer)
  506. # [13:02] * Joins: Ducki (~Ducki@pD9E39DED.dip0.t-ipconnect.de)
  507. # [13:03] * Joins: zdobersek (~zdobersek@cpe-77.38.31.63.cable.t-1.si)
  508. # [13:05] * Joins: annevk_ (~annevk@212.238.236.229)
  509. # [13:06] * Quits: annevk (~annevk@212.238.236.229) (Ping timeout: 252 seconds)
  510. # [13:08] * annevk_ is now known as annevk
  511. # [13:13] * Quits: henrikkok (~henrikkok@81.27.221.193) (Quit: Leaving.)
  512. # [13:25] * Joins: henrikkok (~henrikkok@81.27.221.193)
  513. # [13:33] <Ms2ger> darobin, yt?
  514. # [13:36] <darobin> Ms2ger: back now
  515. # [13:37] <Ms2ger> I've got a couple of tests for properties of the window object
  516. # [13:37] <Ms2ger> Can I just dump those in html/browsers/the-window-object?
  517. # [13:37] <Ms2ger> None of the subdirs really make sense
  518. # [13:41] <darobin> Ms2ger: yeah, I reckon that's good enough
  519. # [13:42] <darobin> we should strive for clarity rather than for being anal, methinks :)
  520. # [13:42] <Ms2ger> And that's coming from a HTMLWG editor?
  521. # [13:43] * darobin gives Ms2ger a butterfly kiss
  522. # [13:43] * Ms2ger gives darobin a pat on the back
  523. # [13:52] <annevk> still waiting for http://mcc.id.au/2010/novel.html to be released
  524. # [13:54] <darobin> wah?
  525. # [13:56] * Quits: boogyman (~boogy@pdpc/supporter/professional/boogyman) (Quit: ChatZilla 0.9.89 [Firefox 17.0.1/20121128204232])
  526. # [13:59] * Quits: niloy (~niloy@203.196.177.156) (Quit: Leaving)
  527. # [14:02] * Joins: bkardell (~AndChat14@rb-sip2-122.greenmountainaccess.net)
  528. # [14:03] <bkardell> Hixie: re: select/map discussion. My question is - do you agree that has warts too?
  529. # [14:06] * Joins: annevk_ (~annevk@212.238.236.229)
  530. # [14:06] * Quits: annevk (~annevk@212.238.236.229) (Read error: Connection reset by peer)
  531. # [14:10] <bkardell> Your slash proposal I mean?
  532. # [14:10] * [[zzz]] is now known as [[zz]]
  533. # [14:12] <annevk_> bkardell: he won't be online for at least another four or so hours
  534. # [14:12] * annevk_ is now known as annevk
  535. # [14:13] <bkardell> You are following that... why no comment?
  536. # [14:13] <bkardell> I'd love to hear your thoughts
  537. # [14:13] <bkardell> Congrats btw!
  538. # [14:13] * Joins: Druide_ (~Druid@ip-178-203-141-163.unitymediagroup.de)
  539. # [14:14] <annevk> Because it's not really clear to me what problem we're solving
  540. # [14:14] <bkardell> That statement alone would have been helpful imo
  541. # [14:14] <annevk> I thought it was about components at first. But a lot of the use cases that keep coming up seem presentational in nature...
  542. # [14:14] <bkardell> Because I agree
  543. # [14:15] * Joins: RobbertAtWork (~robbertat@212.238.236.229)
  544. # [14:15] <annevk> And addressing presentational problems with changes in HTML markup...
  545. # [14:15] <annevk> Yeah well, there's a lot of things to look at, can't be on top of all of them :-)
  546. # [14:16] <bkardell> Gotta drop.. back in a few hours
  547. # [14:17] * Quits: annevk (~annevk@212.238.236.229) (Remote host closed the connection)
  548. # [14:19] * Joins: annevk (~annevk@212.238.236.229)
  549. # [14:19] * Quits: bkardell (~AndChat14@rb-sip2-122.greenmountainaccess.net) (Quit: Bye)
  550. # [14:19] * Joins: krawchyk (~krawchyk@65.220.49.251)
  551. # [14:21] <Ms2ger> Hrm, I thought I had commit access to html5lib
  552. # [14:26] * Joins: tantek (~tantek@70-36-139-86.dsl.dynamic.sonic.net)
  553. # [14:30] * Quits: tantek (~tantek@70-36-139-86.dsl.dynamic.sonic.net) (Ping timeout: 252 seconds)
  554. # [14:31] * Joins: JibberJim (~opera@132.185.151.196)
  555. # [14:42] * Quits: sedovsek (~robert@89.143.12.238) (Quit: sedovsek)
  556. # [14:42] * Quits: Smylers (~smylers@host81-143-60-194.in-addr.btopenworld.com) (Remote host closed the connection)
  557. # [14:46] * Joins: linclark (~clark@c-67-186-35-246.hsd1.pa.comcast.net)
  558. # [14:47] * Quits: RobbertAtWork (~robbertat@212.238.236.229) (Remote host closed the connection)
  559. # [14:51] * Joins: Areks (~Areks@rs.gridnine.com)
  560. # [14:54] * Quits: Areks|2 (~Areks@rs.gridnine.com) (Ping timeout: 264 seconds)
  561. # [14:55] * Quits: tomasf (~tomasf@77.72.97.5.c.fiberdirekt.net) (Quit: tomasf)
  562. # [14:55] <annevk> Ms2ger: I can arrange that...
  563. # [14:56] <annevk> Ms2ger: you need it?
  564. # [14:56] <Ms2ger> I found a test I apparently never pushed there
  565. # [14:56] <Ms2ger> So, I guess :)
  566. # [14:58] <annevk> check again
  567. # [15:01] * Joins: RobbertAtWork (~robbertat@212.238.236.229)
  568. # [15:04] * Joins: dcherman (~dcherman@164.55.254.106)
  569. # [15:07] * Quits: annevk (~annevk@212.238.236.229) (Read error: Connection reset by peer)
  570. # [15:07] * Joins: annevk (~annevk@2001:980:9368:1:6944:4960:8b9c:9ace)
  571. # [15:09] <Lachy> annevk, I finished updating the selectors api integration into dom http://lachy.id.au/temp/dom-core.html
  572. # [15:09] <Lachy> full diff here https://github.com/lachlanhunt/dom/commit/453f2e2457202f49bd2743966a6f2f66f78a771a
  573. # [15:10] <Lachy> it's been rebased onto your latest commit, so it's should be ready to pull it in if there's no more problems with it.
  574. # [15:14] <annevk> Lachy: need-to-resolve does not seem to point anywhere
  575. # [15:15] <annevk> in 5226
  576. # [15:15] <Ms2ger> annevk, ta
  577. # [15:15] <Lachy> oh, that definition was dropped. I must have missed the reference to it.
  578. # [15:15] <annevk> why is refNodes nullable?
  579. # [15:16] <annevk> and if it's nullable, it should default to null, but I'm not really sure that's the right approach
  580. # [15:18] * Quits: dcherman (~dcherman@164.55.254.106) (Ping timeout: 248 seconds)
  581. # [15:19] * Joins: dcherman (~dcherman@164.55.254.106)
  582. # [15:19] <Lachy> it's nullable to handle a case where some library function calls it like find(selector, ref), without bothering to check if ref was set to anything
  583. # [15:20] <annevk> shouldn't it be Node... btw rather than sequence<Node>?
  584. # [15:20] <annevk> hmm
  585. # [15:20] <Lachy> no
  586. # [15:20] <annevk> why not?
  587. # [15:20] <Lachy> sequence<Node> allows for a NodeList to be passed for multiple reference nodes
  588. # [15:20] <annevk> sure Node... allows for that too
  589. # [15:20] <annevk> I think anyway
  590. # [15:21] * Joins: decotii (~decotii@hq.croscon.com)
  591. # [15:21] <Lachy> Huh?
  592. # [15:21] <Ms2ger> Eh?
  593. # [15:21] * Joins: richt_ (~richt@pat-tazdevil.opera.com)
  594. # [15:21] <annevk> if you pass the argument as ...nodelist
  595. # [15:21] <Ms2ger> Oh, hmm
  596. # [15:21] * Lachy checks webidl...
  597. # [15:21] <annevk> would make sense anyway
  598. # [15:22] <Ms2ger> That's probably ES6
  599. # [15:22] <annevk> sure
  600. # [15:23] <annevk> ah yeah, ...fds won't be in IDL yet
  601. # [15:23] * Joins: MacTed (~Thud@63.119.36.36)
  602. # [15:23] <Lachy> what is fds?
  603. # [15:24] <Ms2ger> annevk's canonical name for a nodelist
  604. # [15:24] * Quits: richt (~richt@office.oslo.opera.com) (Ping timeout: 264 seconds)
  605. # [15:24] <Ms2ger> Never seen var fds = document.getElementsByClassName(...?
  606. # [15:24] <Lachy> never.
  607. # [15:24] * Quits: scor (~scor@drupal.org/user/52142/view) (Quit: scor)
  608. # [15:25] <Ms2ger> darobin, ping
  609. # [15:25] <darobin> yes?
  610. # [15:25] <annevk> Lachy: in any event, if we do nullable, it needs to be = null as well
  611. # [15:25] <annevk> Lachy: which means refNodes is always given, but might be null
  612. # [15:26] <Ms2ger> darobin, I found a file that I need to turn into a test once CSS defines reversed counters, is there any place I can dump that? :)
  613. # [15:26] <annevk> Lachy: the algorithms don't really seem to account for refNodes being null at the moment
  614. # [15:26] <darobin> Ms2ger: hmmm, is it a CSS test?
  615. # [15:26] <Lachy> annevk, that won't work. That would screw up the algorithm for determining refNodes, where null is treated as an explicit way to say there are no refNodes.
  616. # [15:27] <darobin> Ms2ger: or an <ol> test? Or yet something else?
  617. # [15:27] <Ms2ger> darobin, it's for <ol> and <ol reversed>'s numbering
  618. # [15:27] <Lachy> so that might need to be fixed
  619. # [15:27] <darobin> Ms2ger: well, if it's really ol then I'd put it with the tests for the ol element
  620. # [15:27] <Ms2ger> Alright
  621. # [15:27] <darobin> Ms2ger: but if it's CSS, talk to the CSS WG
  622. # [15:27] <Ms2ger> I try to avoid that :)
  623. # [15:27] <darobin> which I know is cruel and unusual punishment, but hey
  624. # [15:27] <annevk> Lachy: not treating undefined and null the same is kinda icky
  625. # [15:29] <annevk> Lachy: some of your exceptions are missing ""
  626. # [15:30] <annevk> Lachy: all the stuff related to parsing should also move to Selectors
  627. # [15:30] <Lachy> I know.
  628. # [15:30] <Lachy> But it hasn't been put in there yet.
  629. # [15:30] <Lachy> I can follow up with csswg to get that done, but it should at least be kept somewhere till it is
  630. # [15:31] * Joins: Bass10 (~Bass10@c-76-113-194-7.hsd1.mn.comcast.net)
  631. # [15:31] <annevk> a lot of stuff under "Processing selectors" should be moved to that section that should eventually go away
  632. # [15:31] <annevk> I think
  633. # [15:31] <annevk> ideally we just define the thin API layer...
  634. # [15:32] * Joins: erichynds (~ehynds@64.206.121.41)
  635. # [15:32] <annevk> not that I'm opposed to putting it in the DOM
  636. # [15:32] <darobin> next you'll be arguing for some modularity
  637. # [15:32] <annevk> Lachy: use append rather than add
  638. # [15:33] <annevk> darobin: I usually argue for that
  639. # [15:33] <annevk> darobin: and I usually argue argainst those that suggest it without having actually explored the options
  640. # [15:34] <darobin> annevk: I know, I've sort of met you before
  641. # [15:34] <darobin> (was just teasing)
  642. # [15:34] * darobin goes back to hating inter element whitespace with a vengeance
  643. # [15:35] <annevk> firstElementChild :-)
  644. # [15:35] <Ms2ger> darobin, you can also hate my pull requests instead?
  645. # [15:35] * Quits: RobbertAtWork (~robbertat@212.238.236.229) (Remote host closed the connection)
  646. # [15:36] * Quits: erichynds (~ehynds@64.206.121.41) (Client Quit)
  647. # [15:36] <darobin> annevk: doesn't help me here, sadly
  648. # [15:37] * Joins: erichynds (~ehynds@64.206.121.41)
  649. # [15:37] * Quits: erichynds (~ehynds@64.206.121.41) (Excess Flood)
  650. # [15:37] * Joins: RobbertAtWork (~robbertat@212.238.236.229)
  651. # [15:37] <darobin> Ms2ger: in a minute, let me give the full of my hatred to IEWS first
  652. # [15:39] <darobin> Ms2ger: those changes are they submissions or reviewed stuff?
  653. # [15:40] * Joins: erichynds (~ehynds@64.206.121.41)
  654. # [15:40] <darobin> in other words, do I need to go through each file to check them or rather is it stuff you've removed and are pushing into place
  655. # [15:40] * Quits: annevk (~annevk@2001:980:9368:1:6944:4960:8b9c:9ace) (Remote host closed the connection)
  656. # [15:41] <Lachy> annevk, if you find any more issues, post them as a comment on the diff page. I'll get to them later. And I'll see what I can do about shifting as much as I can out of here and into Selectors.
  657. # [15:42] * Joins: annevk (~annevk@2001:980:9368:1:b8bb:2263:49f1:257b)
  658. # [15:42] <Lachy> [2013-01-11 15:41:32] <Lachy> annevk, if you find any more issues, post them as a comment on the diff page. I'll get to them later. And I'll see what I can do about shifting as much as I can out of here and into Selectors.
  659. # [15:43] * Joins: richt (~richt@office.oslo.opera.com)
  660. # [15:46] * Joins: yodasw16 (~yodasw16@ql1fwhide1.rockfin.com)
  661. # [15:46] * Quits: richt_ (~richt@pat-tazdevil.opera.com) (Ping timeout: 260 seconds)
  662. # [15:49] * annevk hopes Ms2ger can review a bit
  663. # [15:49] <annevk> Lachy: thanks for the work
  664. # [15:51] * Quits: Areks (~Areks@rs.gridnine.com) (Ping timeout: 264 seconds)
  665. # [15:54] * Joins: sedovsek (~robert@89.143.12.238)
  666. # [15:56] * Joins: Areks (~Areks@rs.gridnine.com)
  667. # [15:56] * Quits: annevk (~annevk@2001:980:9368:1:b8bb:2263:49f1:257b) (Remote host closed the connection)
  668. # [15:57] * Joins: annevk (~annevk@2001:980:9368:1:1002:5fa5:1e35:a017)
  669. # [15:59] * Quits: smaug____ (~chatzilla@cs181151161.pp.htv.fi) (Ping timeout: 246 seconds)
  670. # [16:00] * Joins: OnlyMax (~OnlyMax@187-126-242-60.user.veloxzone.com.br)
  671. # [16:05] * Joins: scor (~scor@132.183.243.108)
  672. # [16:05] * Quits: scor (~scor@132.183.243.108) (Changing host)
  673. # [16:05] * Joins: scor (~scor@drupal.org/user/52142/view)
  674. # [16:07] * Quits: RobbertAtWork (~robbertat@212.238.236.229) (Remote host closed the connection)
  675. # [16:08] * Joins: annevk_ (~annevk@212.238.236.229)
  676. # [16:11] * Quits: annevk (~annevk@2001:980:9368:1:1002:5fa5:1e35:a017) (Ping timeout: 260 seconds)
  677. # [16:12] * Quits: charl_ (~charl@charl.eu) (Quit: leaving)
  678. # [16:14] * Joins: tantek (~tantek@70-36-139-86.dsl.dynamic.sonic.net)
  679. # [16:18] <annevk_> Lachy: added a bunch of comments
  680. # [16:18] <Lachy> thanks
  681. # [16:18] <Ms2ger> darobin, it's stuff from my submission dir, dunno how careful you want to review those
  682. # [16:19] * Quits: tantek (~tantek@70-36-139-86.dsl.dynamic.sonic.net) (Ping timeout: 264 seconds)
  683. # [16:19] <Ms2ger> I'll try to review some Selectors later
  684. # [16:19] * Quits: Ducki (~Ducki@pD9E39DED.dip0.t-ipconnect.de) (Read error: Connection reset by peer)
  685. # [16:21] * Quits: maikmerten (~merten@ls5dhcp200.cs.uni-dortmund.de) (Remote host closed the connection)
  686. # [16:22] <darobin> Ms2ger: ok, gotcha
  687. # [16:24] * Quits: ehsan (~ehsan@24.212.206.174) (Remote host closed the connection)
  688. # [16:25] * annevk_ is now known as annevk
  689. # [16:27] <Ms2ger> SimonSapin, French Spacing means exactly what you think it means, no difference between space-after-full-stop and space-everywhere-else
  690. # [16:28] <annevk> no mushrooms involved?
  691. # [16:28] <SimonSapin> Ms2ger: oh I may have missed as step in the thread
  692. # [16:29] <Ms2ger> annevk, no, mushrooms are definitely Dutch
  693. # [16:36] * Parts: zdobersek (~zdobersek@cpe-77.38.31.63.cable.t-1.si)
  694. # [16:40] * Quits: annevk (~annevk@212.238.236.229) (Remote host closed the connection)
  695. # [16:41] * Joins: jacobolus (~jacobolus@50-0-133-210.dsl.static.sonic.net)
  696. # [16:44] * Quits: sicking (~sicking@217.243.168.51) (Quit: sicking)
  697. # [16:45] * Joins: marcosc (~marcosc@bl11-209-244.dsl.telepac.pt)
  698. # [16:45] * Joins: sicking (~sicking@217.243.168.51)
  699. # [16:45] * Quits: OnlyMax (~OnlyMax@187-126-242-60.user.veloxzone.com.br)
  700. # [16:46] * Quits: pyrsmk (~pyrsmk@2a01:e35:2f52:ead0:3d0a:8276:1482:930e) (Remote host closed the connection)
  701. # [16:48] * Joins: ricea (ricea@nat/google/x-nrztsjfwyybfmivq)
  702. # [16:51] * Joins: ehsan (~ehsan@66.207.208.98)
  703. # [16:56] * Joins: aglehg_ (~aglehg@bl9-194-28.dsl.telepac.pt)
  704. # [16:57] * Quits: aglehg (~aglehg@bl9-138-19.dsl.telepac.pt) (Ping timeout: 248 seconds)
  705. # [17:00] * Quits: vcarbune (~vcarbune@86.121.18.229) (Ping timeout: 248 seconds)
  706. # [17:00] * Quits: yodasw16 (~yodasw16@ql1fwhide1.rockfin.com) (Quit: yodasw16)
  707. # [17:02] * Joins: tantek (~tantek@70-36-139-86.dsl.dynamic.sonic.net)
  708. # [17:03] * Joins: yodasw16 (~yodasw16@ql1fwhide.rockfin.com)
  709. # [17:05] <zewt> i wonder if JS engines are able to optimize the "make a native function call that returns an object, and discard the result" case: it can know the object has no other references, and collect it immediately
  710. # [17:05] * Quits: sicking (~sicking@217.243.168.51) (Quit: sicking)
  711. # [17:06] <zewt> (well, if the native call declares that it returns a new object)
  712. # [17:07] * Joins: bkardell (~bkardell@rb-sip2-122.greenmountainaccess.net)
  713. # [17:07] * Quits: bkardell (~bkardell@rb-sip2-122.greenmountainaccess.net) (Client Quit)
  714. # [17:08] * Joins: bkardell (~bkardell@rb-sip2-122.greenmountainaccess.net)
  715. # [17:08] <bkardell> hixie: ping
  716. # [17:11] * Quits: darobin (~darobin@78.109.80.74) (Remote host closed the connection)
  717. # [17:14] * Quits: baku (~baku@217.243.168.51) (Ping timeout: 246 seconds)
  718. # [17:18] * Quits: gavinc (~gavin@50.0.77.3) (Quit: Konversation terminated!)
  719. # [17:19] * abstractj is now known as abstractj|lunch
  720. # [17:22] * Quits: darfia (~darfia@187.106.42.178) (Quit: Leaving)
  721. # [17:22] * Joins: aglehg (~aglehg@bl8-36-113.dsl.telepac.pt)
  722. # [17:23] * Quits: aglehg_ (~aglehg@bl9-194-28.dsl.telepac.pt) (Ping timeout: 248 seconds)
  723. # [17:26] * Joins: dpk (~r00t@obquire.infologie.co)
  724. # [17:27] <dpk> hello
  725. # [17:27] <dpk> i think i've found a slight lingustic flaw in the HTML LS
  726. # [17:27] <dpk> http://www.whatwg.org/specs/web-apps/current-work/multipage/common-microsyntaxes.html#dates-and-times
  727. # [17:28] <dpk> refers to months and dates as referring to a "specific proleptic Gregorian date"
  728. # [17:29] * Joins: izhak (~izhak@31.47.112.71)
  729. # [17:29] <dpk> "proleptic" is used as meaning that the Gregorian calendar is used regardless of whether it was actually used at the time; ie. you don't use the Julian calendar before 1582/1752/etc
  730. # [17:29] * Joins: zdobersek (~zdobersek@cpe-77.38.31.63.cable.t-1.si)
  731. # [17:30] <dpk> but what it actually means is a date that *is* before its introduction
  732. # [17:30] * Joins: jsbell (jsbell@nat/google/x-gpytslqazclsoqao)
  733. # [17:31] <dpk> you could fix this by either changing it to say "proleptic for dates before 1582", or by introducing a definition of ‘proleptic’ just for the specification that says that
  734. # [17:32] * Joins: Areks_home (~Areks@95-26-66-229.broadband.corbina.ru)
  735. # [17:35] * Quits: bkardell (~bkardell@rb-sip2-122.greenmountainaccess.net) (Ping timeout: 244 seconds)
  736. # [17:35] <dglazkov> good morning, Whatwg!
  737. # [17:37] * Joins: nimbu (~nimbu@sjfw1-a.adobe.com)
  738. # [17:38] <gsnedders> zewt: That'll be done as a result of inlining and dead-code elimination
  739. # [17:39] <gsnedders> Anyhow, time for me to vanish for the weekend.
  740. # [17:39] * Ms2ger waves
  741. # [17:41] * Joins: annevk (~annevk@2001:980:9368:1:4d70:94c0:3bd6:fc0a)
  742. # [17:41] * annevk is now known as annevk2
  743. # [17:41] * annevk2 is now known as annevk
  744. # [17:42] * linclark is now known as linclark|afk
  745. # [17:44] <annevk> dpk: best to file a bug
  746. # [17:44] * Joins: Noah (u5564@couchdb/developer/nslater)
  747. # [17:45] <dpk> annevk: how do i do that?
  748. # [17:45] * Joins: sbp (~sbp@pubble.infomesh.net)
  749. # [17:45] * Quits: marcosc (~marcosc@bl11-209-244.dsl.telepac.pt) (Remote host closed the connection)
  750. # [17:45] <annevk> dpk: whatwg.org/C has a form at the bottom of the screen which you can use
  751. # [17:45] * Joins: jwalden (~waldo@v-1045.fw1.sfo1.mozilla.net)
  752. # [17:46] <annevk> dpk: you could also email whatwg@whatwg.org or go directly to w3.org/Bugs/Public and file it on WHATWG / HTML
  753. # [17:46] <dpk> oh, do the W3C have a mailing list? i'll CC that, too
  754. # [17:47] <dpk> html-public, isn't it?
  755. # [17:47] <Ms2ger> Don't crosspost
  756. # [17:48] <Noah> Ms2ger: why?
  757. # [17:48] <dpk> Ms2ger: such level of integration between the two organisations which specify the same thing would be dangerous to society, i suppose
  758. # [17:49] <annevk> dpk: it's a problem because WHATWG requires subscription so you get broken threads
  759. # [17:49] * Joins: espadrine (~thaddee_t@85-218-3-146.dclient.lsne.ch)
  760. # [17:49] <dpk> oh, i have to subscribe? –_–
  761. # [17:49] <annevk> dpk: not at all
  762. # [17:49] <dpk> wait
  763. # [17:49] <dpk> wat
  764. # [17:49] <annevk> dpk: you can file a bug instead
  765. # [17:50] <annevk> dpk: if you use the form in the spec you don't have to subscribe or give your email to anything
  766. # [17:50] <dpk> i'd like to hear back about this, though
  767. # [17:51] <annevk> then you should either make a bug account or subscribe to the mailing list
  768. # [17:52] * Quits: yodasw16 (~yodasw16@ql1fwhide.rockfin.com) (Quit: yodasw16)
  769. # [17:53] <dpk> but… *sigh*
  770. # [17:54] * dpk makes a bug account
  771. # [17:56] * Joins: yodasw16 (~yodasw16@ql1fwhide.rockfin.com)
  772. # [17:57] * Joins: sicking (~sicking@62-50-218-35.client.stsn.net)
  773. # [17:57] * Quits: richt (~richt@office.oslo.opera.com) (Remote host closed the connection)
  774. # [17:58] * Parts: sbp (~sbp@pubble.infomesh.net) ("Leaving")
  775. # [18:00] * Quits: dirkpennings (~dirkpenni@82-148-199-218.adsl.unet.nl) (Ping timeout: 245 seconds)
  776. # [18:00] * Parts: Noah (u5564@couchdb/developer/nslater)
  777. # [18:01] <annevk> jgraham: why do you only reply to part of the argument?
  778. # [18:01] <annevk> zewt did the same, it's not really helping getting anywhere
  779. # [18:05] * Joins: yroc (~yroc@out-on-177.wireless.telus.com)
  780. # [18:05] * Quits: tantek (~tantek@70-36-139-86.dsl.dynamic.sonic.net) (Quit: tantek)
  781. # [18:10] <dpk> k, done: https://www.w3.org/Bugs/Public/show_bug.cgi?id=20649
  782. # [18:10] * Joins: skcin7 (~skcin7@c-68-38-156-213.hsd1.nj.comcast.net)
  783. # [18:11] * Joins: weinig (~weinig@2620:149:4:1b01:2d8d:eb56:e2b0:79b2)
  784. # [18:11] <annevk> thanks
  785. # [18:14] <yroc> annevk: A few days ago I asked what the rationale was for the leading and trailing newlines being stripped in <pre> elements...
  786. # [18:14] * Joins: jonlee (~jonlee@67.218.106.83)
  787. # [18:14] <yroc> annevk: You gave me the appropriate reference here: http://www.w3.org/TR/html401/appendix/notes.html#notes-line-breaks
  788. # [18:14] * Joins: Maurice (copyman@5ED573FA.cm-7-6b.dynamic.ziggo.nl)
  789. # [18:15] * Joins: ap (~ap@2620:149:4:1b01:95f0:c805:49a6:a682)
  790. # [18:15] <yroc> annevk: But I'm trying to relate this now to the case of a <pre> with a child <code>
  791. # [18:15] * Joins: marcosc (~marcosc@bl11-209-244.dsl.telepac.pt)
  792. # [18:15] <annevk> yroc: it's just a legacy quirk
  793. # [18:16] <yroc> The leading and trailing newlines of a child <code> inside a parent <pre> are *not* stripped.
  794. # [18:16] <Ms2ger> Yep, because browsers never did that
  795. # [18:16] <Ms2ger> So nobody depends on that happening
  796. # [18:16] * Quits: mitemitreski (~mmitresk@212.120.17.179) (Read error: Connection reset by peer)
  797. # [18:16] <Ms2ger> And it's more complicated
  798. # [18:16] <yroc> annevk: Yes, I know -- the reference you gave me was good, like I said.
  799. # [18:17] <yroc> But why doesn't the line break principle in html 4.01 apply to the case of a child <code> in a parent <pre>?
  800. # [18:18] <zewt> annevk: i sure didn't do that
  801. # [18:18] * Quits: sedovsek (~robert@89.143.12.238) (Quit: sedovsek)
  802. # [18:18] * Quits: nonge_ (~nonge@p5B326284.dip.t-dialin.net) (Quit: Verlassend)
  803. # [18:18] <annevk> yroc: again, it's a quirk
  804. # [18:18] <zewt> if you make the same argument twice, replying to it in one place and deleting the other isn't ignoring the repeat, heh
  805. # [18:19] <annevk> I don't think that's what happened
  806. # [18:19] * Quits: Kolombiken (~Adium@217.13.228.226) (Ping timeout: 240 seconds)
  807. # [18:20] <yroc> annevk: So by "quirk" you mean there's no rational reason why browsers strip leading and trailing newline of <pre> but they don't strip leading and trailing newlines of a <code> child of <pre>?
  808. # [18:21] * Joins: pablof (~pablof@144.189.150.129)
  809. # [18:21] <annevk> yes
  810. # [18:21] <annevk> gotta reboot, in trouble again :/
  811. # [18:21] <Ms2ger> Well, there is one: stripping it from children is more work
  812. # [18:22] <yroc> Ms2ger: more work for who? UA implementors?
  813. # [18:22] <Ms2ger> Yeah
  814. # [18:23] <yroc> Ms2ger: it's so funny when you rack your brain to make sense of something, assuming that there's a well thought out intention to the why, when in some cases (like this one, apparently) there isn't
  815. # [18:24] <Ms2ger> You must be new here ;)
  816. # [18:24] * Joins: annevk_ (~annevk@2001:980:9368:1:2465:6848:50c6:e341)
  817. # [18:24] <yroc> How'd ya guess?!
  818. # [18:25] <yroc> New, but learning... slowly ;)
  819. # [18:25] * Quits: annevk (~annevk@2001:980:9368:1:4d70:94c0:3bd6:fc0a) (Ping timeout: 245 seconds)
  820. # [18:26] <Ms2ger> This is an important thing to learn, then... Not a lot has been well thought through before implementation :)
  821. # [18:27] <yroc> Ms2ger: Yes, exactly. I think that's going to be my working assumption from now on until proven otherwise :)
  822. # [18:27] <Ms2ger> Good idea :)
  823. # [18:28] <yroc> Lot less head banging that way...
  824. # [18:29] * Parts: eric_carlson (~eric@2620:149:4:1b01:d058:1f29:1169:cac2)
  825. # [18:30] * Quits: sicking (~sicking@62-50-218-35.client.stsn.net) (Quit: sicking)
  826. # [18:33] * Joins: RobbertAtWork (~robbertat@212.238.236.229)
  827. # [18:33] * Quits: JibberJim (~opera@132.185.151.196) (Quit: JibberJim)
  828. # [18:34] * abstractj|lunch is now known as abstractj
  829. # [18:36] * Quits: mpt (~mpt@canonical/mpt) (Ping timeout: 240 seconds)
  830. # [18:38] <annevk_> dunno zewt, rather not introduce new objects without constructors
  831. # [18:39] <annevk_> and a constructor here could make sense
  832. # [18:39] * Joins: mpt (~mpt@nat/canonical/x-rpnkhikveilximgf)
  833. # [18:39] * Quits: mpt (~mpt@nat/canonical/x-rpnkhikveilximgf) (Changing host)
  834. # [18:39] * Joins: mpt (~mpt@canonical/mpt)
  835. # [18:43] * Joins: eresair (~eresair@173.247.199.2)
  836. # [18:43] * Joins: bkardell (~AndChat14@rb-sip2-122.greenmountainaccess.net)
  837. # [18:44] * Quits: mpt (~mpt@canonical/mpt) (Ping timeout: 276 seconds)
  838. # [18:44] * Joins: sedovsek (~robert@BSN-176-130-208.dial-up.dsl.siol.net)
  839. # [18:48] * Quits: SimonSapin (~simon@2a01:e35:2e8d:b5f0:ea9d:87ff:fe22:e221) (Ping timeout: 276 seconds)
  840. # [18:51] * Quits: jonlee (~jonlee@67.218.106.83) (Quit: jonlee)
  841. # [18:52] * Joins: victor3 (~Adium@AAubervilliers-651-1-337-23.w83-114.abo.wanadoo.fr)
  842. # [18:53] * Joins: stevefaulkner (~stevefaul@cpc20-nmal18-2-0-cust76.19-2.cable.virginmedia.com)
  843. # [18:54] * Quits: jsoncorwin (~textual@c-98-210-130-242.hsd1.ca.comcast.net) (Quit: Computer has gone to sleep.)
  844. # [18:55] * Quits: Areks_home (~Areks@95-26-66-229.broadband.corbina.ru) (Ping timeout: 252 seconds)
  845. # [18:55] * Joins: mpt (~mpt@nat/canonical/x-kdcudrlzivmtqbxi)
  846. # [18:55] * Quits: mpt (~mpt@nat/canonical/x-kdcudrlzivmtqbxi) (Changing host)
  847. # [18:55] * Joins: mpt (~mpt@canonical/mpt)
  848. # [18:56] <TabAtkins> Ms2ger: Reversed counters? You mean, counters that you have to look forward in the document to see what value they should end up on?
  849. # [18:56] * Quits: stevefaulkner (~stevefaul@cpc20-nmal18-2-0-cust76.19-2.cable.virginmedia.com) (Client Quit)
  850. # [18:56] * Quits: sedovsek (~robert@BSN-176-130-208.dial-up.dsl.siol.net) (Quit: sedovsek)
  851. # [18:56] <Ms2ger> I mean something to implement <ol reversed>
  852. # [18:56] <Ms2ger> So, I guess?
  853. # [18:57] <TabAtkins> I'm curious how that would even work, actually.
  854. # [18:57] <TabAtkins> You still need to establish the counter's scope at the usual starting place.
  855. # [18:58] <TabAtkins> Maybe an end parameter on counter-reset?
  856. # [18:58] <Ms2ger> Ask bz :)
  857. # [19:00] <annevk_> dglazkov: why on both <a> and <b>?
  858. # [19:00] * Quits: mpt (~mpt@canonical/mpt) (Client Quit)
  859. # [19:00] * Joins: mpt (~mpt@nat/canonical/x-zoenicbyotszmerp)
  860. # [19:00] * Quits: mpt (~mpt@nat/canonical/x-zoenicbyotszmerp) (Changing host)
  861. # [19:00] * Joins: mpt (~mpt@canonical/mpt)
  862. # [19:00] <TabAtkins> I see how it would work in my head, actually. I was concerned temporarily about unreachable endpoints, but actually it's always fine - you just keep a running sum of the counter-increments until the scope ends, then reverse them to get your actual starting value.
  863. # [19:00] <annevk_> dglazkov: that seems different from how <a> with a child <b> would normally behave without shadow trees
  864. # [19:01] <TabAtkins> Argh, though, the syntax of coutner-* is *killer*. Space-separated lists ftl.
  865. # [19:01] * Joins: dbaron (~dbaron@173-228-85-58.dsl.dynamic.sonic.net)
  866. # [19:01] * Joins: SimonSapin (~simon@ip-166.net-89-2-153.rev.numericable.fr)
  867. # [19:01] * Joins: weinig_ (~weinig@17.114.109.231)
  868. # [19:02] * Joins: maikmerten (~maikmerte@port-92-201-106-200.dynamic.qsc.de)
  869. # [19:02] * Quits: victor3 (~Adium@AAubervilliers-651-1-337-23.w83-114.abo.wanadoo.fr) (Quit: Leaving.)
  870. # [19:03] * Quits: weinig (~weinig@2620:149:4:1b01:2d8d:eb56:e2b0:79b2) (Ping timeout: 245 seconds)
  871. # [19:03] * weinig_ is now known as weinig
  872. # [19:03] * annevk_ is now known as annevk
  873. # [19:04] <annevk> dglazkov: also note that event listeners can set the target to display:none, can remove it from the tree, etc. so offsetX / offsetY will end up weird
  874. # [19:04] <annevk> dglazkov: and what you're suggesting does not seem compatible with how they're computed today for elements that could reasonably have a shadow tree
  875. # [19:05] * Quits: manu-db (~msporny@216.252.204.51) (Ping timeout: 246 seconds)
  876. # [19:07] * Joins: fr0zenice (~frozenice@unaffiliated/fr0zenice)
  877. # [19:07] * Quits: bkardell (~AndChat14@rb-sip2-122.greenmountainaccess.net) (Ping timeout: 256 seconds)
  878. # [19:09] * Krinkle|detached is now known as Krinkle
  879. # [19:10] * Joins: bkardell (~AndChat14@rb-sip2-122.greenmountainaccess.net)
  880. # [19:10] <annevk> dglazkov: replied on the list
  881. # [19:15] * Quits: nimbu (~nimbu@sjfw1-a.adobe.com) (Quit: Leaving.)
  882. # [19:19] * Quits: izhak (~izhak@31.47.112.71) (Ping timeout: 252 seconds)
  883. # [19:23] * Joins: nimbu (~nimbu@sjfw1-a.adobe.com)
  884. # [19:23] * Quits: weinig (~weinig@17.114.109.231) (Quit: weinig)
  885. # [19:25] * Joins: cabanier (~cabanier@192.150.22.55)
  886. # [19:27] * Joins: jamesr_ (~jamesr@173-164-251-190-SFBA.hfc.comcastbusiness.net)
  887. # [19:29] * Joins: rniwa (~rniwa@70-89-66-218-ca.sfba.hfc.comcastbusiness.net)
  888. # [19:38] * Joins: othermaciej (~mjs@c-24-6-209-189.hsd1.ca.comcast.net)
  889. # [19:39] * Quits: RobbertAtWork (~robbertat@212.238.236.229) (Remote host closed the connection)
  890. # [19:43] * Joins: RobbertAtWork (~robbertat@212.238.236.229)
  891. # [19:43] * Quits: bkardell (~AndChat14@rb-sip2-122.greenmountainaccess.net) (Ping timeout: 255 seconds)
  892. # [19:45] * Joins: OnlyMax (~OnlyMax@187-126-242-60.user.veloxzone.com.br)
  893. # [19:45] * Joins: annevk_ (~annevk@2001:980:9368:1:c0cc:a3f8:9b03:49c)
  894. # [19:46] * Joins: bkardell (~AndChat14@rb-sip2-122.greenmountainaccess.net)
  895. # [19:47] * Quits: Ms2ger (~Ms2ger@109.133.36.125) (Quit: nn)
  896. # [19:48] * Quits: annevk (~annevk@2001:980:9368:1:2465:6848:50c6:e341) (Ping timeout: 276 seconds)
  897. # [19:49] * Joins: jsoncorwin (~textual@c-50-131-117-90.hsd1.ca.comcast.net)
  898. # [19:49] * Joins: stevefaulkner (~stevefaul@cpc20-nmal18-2-0-cust76.19-2.cable.virginmedia.com)
  899. # [19:52] * annevk_ is now known as annevk
  900. # [19:53] * Quits: stevefaulkner (~stevefaul@cpc20-nmal18-2-0-cust76.19-2.cable.virginmedia.com) (Client Quit)
  901. # [19:53] * Joins: tantek (~tantek@v-1045.fw1.sfo1.mozilla.net)
  902. # [19:53] * Quits: tantek (~tantek@v-1045.fw1.sfo1.mozilla.net) (Client Quit)
  903. # [19:53] * Joins: tantek (~tantek@v-1045.fw1.sfo1.mozilla.net)
  904. # [19:54] * Quits: jamesr_ (~jamesr@173-164-251-190-SFBA.hfc.comcastbusiness.net) (Quit: jamesr_)
  905. # [19:54] * Quits: reinaldob (~reinaldob@201.74.207.56) (Remote host closed the connection)
  906. # [19:56] * Joins: stevefaulkner (~stevefaul@cpc20-nmal18-2-0-cust76.19-2.cable.virginmedia.com)
  907. # [19:57] <dglazkov> annevk: me too! :)
  908. # [19:58] * Joins: manu-db (~msporny@216.252.204.51)
  909. # [20:03] * Krinkle is now known as Krinkle|detached
  910. # [20:03] * Quits: stevefaulkner (~stevefaul@cpc20-nmal18-2-0-cust76.19-2.cable.virginmedia.com) (Quit: stevefaulkner)
  911. # [20:05] * Joins: stevefaulkner (~stevefaul@cpc20-nmal18-2-0-cust76.19-2.cable.virginmedia.com)
  912. # [20:06] * Joins: alrra (~alrra@188.24.74.6)
  913. # [20:06] * Quits: alrra (~alrra@188.24.74.6) (Changing host)
  914. # [20:06] * Joins: alrra (~alrra@unaffiliated/alrra)
  915. # [20:10] * Quits: nimbu (~nimbu@sjfw1-a.adobe.com) (Quit: Leaving.)
  916. # [20:11] * Quits: stevefaulkner (~stevefaul@cpc20-nmal18-2-0-cust76.19-2.cable.virginmedia.com) (Quit: stevefaulkner)
  917. # [20:12] * Krinkle|detached is now known as Krinkle
  918. # [20:13] * Quits: marcosc (~marcosc@bl11-209-244.dsl.telepac.pt) (Remote host closed the connection)
  919. # [20:13] * Quits: othermaciej (~mjs@c-24-6-209-189.hsd1.ca.comcast.net) (Quit: othermaciej)
  920. # [20:13] * Joins: say2joe (~say2joe@204.56.108.2)
  921. # [20:16] * Quits: say2joe (~say2joe@204.56.108.2) (Client Quit)
  922. # [20:16] * Joins: nimbu (~nimbu@sjfw1-a.adobe.com)
  923. # [20:18] * Quits: KevinMarks (~KevinMark@nat-204-14-239-208-sfo.net.salesforce.com) (Ping timeout: 252 seconds)
  924. # [20:19] * Quits: nimbu (~nimbu@sjfw1-a.adobe.com) (Client Quit)
  925. # [20:19] * Quits: Stevef (~chatzilla@cpc20-nmal18-2-0-cust76.19-2.cable.virginmedia.com) (Ping timeout: 248 seconds)
  926. # [20:26] * Joins: stevefaulkner (~stevefaul@cpc20-nmal18-2-0-cust76.19-2.cable.virginmedia.com)
  927. # [20:28] * Quits: RobbertAtWork (~robbertat@212.238.236.229) (Remote host closed the connection)
  928. # [20:31] * Joins: RobbertAtWork (~robbertat@212.238.236.229)
  929. # [20:32] * Joins: nimbu (~nimbu@sjfw1-a.adobe.com)
  930. # [20:32] * Quits: rniwa (~rniwa@70-89-66-218-ca.sfba.hfc.comcastbusiness.net) (Quit: rniwa)
  931. # [20:32] * Joins: darobin (~darobin@78.208.93.24)
  932. # [20:38] * Quits: stevefaulkner (~stevefaul@cpc20-nmal18-2-0-cust76.19-2.cable.virginmedia.com) (Quit: stevefaulkner)
  933. # [20:38] * Joins: smaug____ (~chatzilla@cs181151161.pp.htv.fi)
  934. # [20:38] * Quits: nimbu (~nimbu@sjfw1-a.adobe.com) (Quit: Leaving.)
  935. # [20:39] * Quits: dbaron (~dbaron@173-228-85-58.dsl.dynamic.sonic.net) (Ping timeout: 260 seconds)
  936. # [20:41] * Joins: jamesr_ (jamesr@nat/google/x-oqctpowlzkyoedws)
  937. # [20:42] * Quits: jamesr_ (jamesr@nat/google/x-oqctpowlzkyoedws) (Client Quit)
  938. # [20:44] <Hixie> annevk: btw, whatwg.org/newbug
  939. # [20:45] <Hixie> bkardell: here now
  940. # [20:46] * Joins: nimbu (~nimbu@sjfw1-a.adobe.com)
  941. # [20:46] * Quits: darobin (~darobin@78.208.93.24) (Remote host closed the connection)
  942. # [20:47] * Joins: say2joe (~say2joe@cpe-76-94-56-94.socal.res.rr.com)
  943. # [20:48] <Hixie> hsivonen: yt?
  944. # [20:48] * Joins: annevk_ (~annevk@2001:980:9368:1:51ee:f4cb:f038:2c24)
  945. # [20:49] * Quits: annevk (~annevk@2001:980:9368:1:c0cc:a3f8:9b03:49c) (Ping timeout: 276 seconds)
  946. # [20:52] * Quits: MacTed (~Thud@63.119.36.36)
  947. # [20:52] * Quits: Lachy (~Lachy@office.oslo.opera.com) (Quit: Computer has gone to sleep.)
  948. # [20:52] * Joins: XtremeWiz (~user@unaffiliated/xtremewiz)
  949. # [20:53] <bkardell> Hixie: you agree select/map thing is not without warts/right?
  950. # [20:53] * Joins: jamesr_ (jamesr@nat/google/x-spmxigswyiiybghi)
  951. # [20:53] * Joins: rniwa (~rniwa@2620:149:4:1b01:9569:bb11:febb:9a4b)
  952. # [20:55] * Quits: skcin7 (~skcin7@c-68-38-156-213.hsd1.nj.comcast.net) (Ping timeout: 248 seconds)
  953. # [20:55] * Joins: csuwldcat (~dbuchner@c-71-202-65-49.hsd1.ca.comcast.net)
  954. # [20:58] <annevk_> Hixie: cool
  955. # [20:58] * annevk_ is now known as annevk
  956. # [20:58] * Joins: a-ja (~Instantbi@70.230.165.74)
  957. # [20:59] * Parts: dpk (~r00t@obquire.infologie.co) ("Ceci n'est pas une broken pipe.")
  958. # [20:59] <Hixie> bkardell: well it's certainly not as pretty as it would be if we could have the HMTL spec updated to have a true <geomap> element and so not need a component at all, sure
  959. # [20:59] <Hixie> bkardell: and angle brackets are kind of pain
  960. # [20:59] * Quits: nimbu (~nimbu@sjfw1-a.adobe.com) (Quit: Leaving.)
  961. # [20:59] <Hixie> bkardell: but then i'm not a huge fan of HTML as a whole
  962. # [20:59] <Hixie> bkardell: so it's not hard for me to admit that something in HTML has warts :-)
  963. # [21:00] <bkardell> No no... not what I mean
  964. # [21:01] * Quits: RobbertAtWork (~robbertat@212.238.236.229) (Remote host closed the connection)
  965. # [21:01] <csuwldcat> new Map(); // which element did that imperitive invocation just resolve to?
  966. # [21:01] <bkardell> Hixie: both plans have a number of good/bad implications... right?
  967. # [21:01] <csuwldcat> if --> <element whitelist="input, textarea">
  968. # [21:01] <csuwldcat> then
  969. # [21:01] <csuwldcat> new Foo(); gets which one?
  970. # [21:02] * Parts: XtremeWiz (~user@unaffiliated/xtremewiz) ("Leaving")
  971. # [21:03] <bkardell> I am just curious if we can just agree to a list to benefits and drawbacks for each one
  972. # [21:03] <Hixie> bkardell: all options have good and bad points, but i think <select/map> is the only proposal i'm aware of that has no fatal problems currently. Why, are there problems I should know of that are fatal with <select/map>?
  973. # [21:03] <csuwldcat> do we start throwing parse errors then?
  974. # [21:03] <Hixie> bkardell: i would be very happy to see such an analysis
  975. # [21:03] <Hixie> bkardell: and would be happy to review it and offer suggestions
  976. # [21:03] <Hixie> feel free to use the whatwg wiki if you want
  977. # [21:04] <Hixie> i can create you an account
  978. # [21:04] <csuwldcat> <div/foo> ERROR: invalid application of a slash-hacked attribute to a tag
  979. # [21:04] <csuwldcat> ?
  980. # [21:04] * Quits: dcherman (~dcherman@164.55.254.106) (Ping timeout: 248 seconds)
  981. # [21:04] * Quits: annevk (~annevk@2001:980:9368:1:51ee:f4cb:f038:2c24) (Ping timeout: 276 seconds)
  982. # [21:04] <csuwldcat> do we extend doc.createElement to understand 'div/foo'?
  983. # [21:05] * abstractj is now known as abstractj|away
  984. # [21:05] * Joins: dcherman (~dcherman@164.55.254.106)
  985. # [21:05] <Hixie> personally i wouldn't, but that's up to dglazkov as far as i'm concerned
  986. # [21:05] <csuwldcat> I figured as much
  987. # [21:06] <csuwldcat> throw YAOAA (Yet Another One-off API Asterisk) on the pile
  988. # [21:07] * Joins: smaug (~chatzilla@cs181151161.pp.htv.fi)
  989. # [21:07] <bkardell> Hixie: sure... if we want. I mean, I see a lot of drawbacks to / but only one benefit
  990. # [21:07] <csuwldcat> I feel like we're making swiss cheese, not a coherent API
  991. # [21:07] * Joins: stevefaulkner (~stevefaul@cpc20-nmal18-2-0-cust76.19-2.cable.virginmedia.com)
  992. # [21:08] <bkardell> Hixie: i'd like someone to just list pro/con implications so we can agree wtf we are even talking abt
  993. # [21:08] <csuwldcat> ok
  994. # [21:08] * Quits: smaug____ (~chatzilla@cs181151161.pp.htv.fi) (Ping timeout: 264 seconds)
  995. # [21:08] <csuwldcat> ***goes to paste
  996. # [21:08] * smaug is now known as smaug____
  997. # [21:08] <bkardell> Dispassionately csuwldcat
  998. # [21:08] <bkardell> :)
  999. # [21:12] <bkardell> Hixie: because I think we are on too many levels talking past each other...
  1000. # [21:14] <csuwldcat> https://etherpad.mozilla.org/custom-element-pro-con
  1001. # [21:15] * Joins: dbaron (~dbaron@v-1045.fw1.sfo1.mozilla.net)
  1002. # [21:17] * Quits: stevefaulkner (~stevefaul@cpc20-nmal18-2-0-cust76.19-2.cable.virginmedia.com) (Quit: stevefaulkner)
  1003. # [21:17] <Hixie> bkardell: http://wiki.whatwg.org/wiki/Components
  1004. # [21:17] <Hixie> ok, csuwldcat did one too
  1005. # [21:18] * Hixie looks at csuwldcat's
  1006. # [21:18] * Quits: alrra (~alrra@unaffiliated/alrra) (Quit: Leaving)
  1007. # [21:18] * Joins: annevk (~annevk@84.241.207.86)
  1008. # [21:18] <Hixie> i disagree with most of csuwldcat's cons so far
  1009. # [21:18] <Hixie> :-)
  1010. # [21:19] <csuwldcat> Hixie: you can disagree all you want, those are the downstream effects
  1011. # [21:19] <csuwldcat> please, add your dispute under each one
  1012. # [21:19] <csuwldcat> show me how they are invalid
  1013. # [21:19] <csuwldcat> Im not even half way done
  1014. # [21:20] <bkardell> Sorry guys... phone and accessing irc through it :-/
  1015. # [21:24] <annevk> Can't we go back to use case discussion again? Yesterday quite a few people said they wanted decorators. Most of what web components is now is not decorators...
  1016. # [21:25] <dglazkov> annevk: both decorators and custom elements are part of web components.
  1017. # [21:25] <annevk> dglazkov: how do decorators work?
  1018. # [21:25] <annevk> dglazkov: via CSS?
  1019. # [21:25] <dglazkov> annevk: yup
  1020. # [21:25] <annevk> dglazkov: where is that defined?
  1021. # [21:26] <dglazkov> annevk: http://www.w3.org/TR/components-intro/#decorator-section
  1022. # [21:26] <annevk> dglazkov: intro does not sound like a definition
  1023. # [21:26] <dglazkov> annevk: I don't know what you mean by "quite a few people", but I am pretty sure most web devs want custom elements.
  1024. # [21:27] * Quits: ^esc (~esc_ape@178.115.250.112.wireless.dyn.drei.com) (Ping timeout: 248 seconds)
  1025. # [21:27] * Joins: Lachy (~Lachy@cm-84.215.19.229.getinternet.no)
  1026. # [21:28] <dglazkov> annevk: I haven't written the decorators spec yet.
  1027. # [21:28] <annevk> e.g. http://www.w3.org/2008/webapps/wiki/Component_Model_Use_Cases
  1028. # [21:28] * Quits: aglehg (~aglehg@bl8-36-113.dsl.telepac.pt) (Remote host closed the connection)
  1029. # [21:29] <annevk> a lot of those are either extending an existing form control or a decorator
  1030. # [21:30] <annevk> which kinda argues for the <.../...> design I'd think
  1031. # [21:32] <Hixie> yeah, people posted pages of components yesterday that showed exactly that
  1032. # [21:32] <dglazkov> the biggest complaint about slash-type is that it's verbose. The best analogy I heard is having to write out base type for every instance in a normal programming language.
  1033. # [21:32] <Hixie> wait, what? the slash-type thing is the least verbose it could possibly be
  1034. # [21:32] <Hixie> it literally has exactly as few characters as you can use
  1035. # [21:32] <annevk> dglazkov: it's not that verbose
  1036. # [21:33] <hober> i still prefer <select is=map> to <select/map>
  1037. # [21:33] <Hixie> you literally cannot get any less verbose without using gzip or something
  1038. # [21:33] * Quits: annevk (~annevk@84.241.207.86) (Remote host closed the connection)
  1039. # [21:33] <dglazkov> Hixie <x-map> is less verbose in that regard. It has better developer egronomics.
  1040. # [21:34] <csuwldcat> dglazkov: that's a #Fact
  1041. # [21:35] * Joins: nimbu (~nimbu@sjfw1-a.adobe.com)
  1042. # [21:36] <Hixie> dglazkov: sure but it doesn't meet the requirements so that's kind of moot
  1043. # [21:36] <Hixie> dglazkov: i mean, <map> is even less verbose
  1044. # [21:36] <Hixie> dglazkov: as is <>
  1045. # [21:36] <dglazkov> looking through backlog and comments, the main objections from Web developers boils down to ergonomics. So.. Standards guys want slash-type, Web devs want custom tags.
  1046. # [21:37] <Hixie> i don't _want_ slash-type
  1047. # [21:37] <Hixie> i want something that meets the requirements
  1048. # [21:37] <Hixie> foo/bar is the only one people have proposed that does
  1049. # [21:37] <Hixie> i'm certainly open to other proposals
  1050. # [21:37] <hober> whatever the syntax, it needs to convey two pieces of information: the element you're extending, and the component that extends it. <x-map> doesn't do that.
  1051. # [21:38] <Hixie> TabAtkins: i love the "lead" vs "mislead" in http://www.w3.org/mid/CAAWBYDCQ-dmUGJpehYsjZLH9RQbc3F-VFd_um=qGBmK0ws181g@mail.gmail.com
  1052. # [21:38] <Hixie> TabAtkins: you should take that paragraph and put it in the whatwg faq somewhere :-)
  1053. # [21:39] * Quits: dcherman (~dcherman@164.55.254.106) (Ping timeout: 248 seconds)
  1054. # [21:39] * Parts: zdobersek (~zdobersek@cpe-77.38.31.63.cable.t-1.si)
  1055. # [21:39] <csuwldcat> Hixie: dglazkov: verbosity is a subconcern
  1056. # [21:39] * Joins: dcherman (~dcherman@164.55.254.106)
  1057. # [21:39] <csuwldcat> the biggest lame-ness here, is that tags are noun identities with specfic protos
  1058. # [21:40] * Quits: erichynds (~ehynds@64.206.121.41)
  1059. # [21:40] * Joins: zdobersek (~zdobersek@cpe-77.38.31.63.cable.t-1.si)
  1060. # [21:40] <csuwldcat> tags and the HTMLElement constructors they are tied to have always had a strongly tied relationship
  1061. # [21:40] <Hixie> yeah ok that etherpad thing has just devolved into namecalling, i'm out
  1062. # [21:40] <csuwldcat> we are now obliterating that
  1063. # [21:40] <csuwldcat> where
  1064. # [21:40] <csuwldcat> ?
  1065. # [21:41] * Joins: sjmiles (6311e210@gateway/web/freenode/ip.99.17.226.16)
  1066. # [21:41] <TabAtkins> Hixie: I... had no idea I was making such a great pun/parallel.
  1067. # [21:41] <TabAtkins> That's wonderful.
  1068. # [21:41] * Joins: annevk (~annevk@a82-161-179-17.adsl.xs4all.nl)
  1069. # [21:43] <Hixie> hehe
  1070. # [21:43] <TabAtkins> Hixie: If you drop the requirement that "requiring parsers to read linked HTML documents is bad", then the current spec solution hits all the same points that <foo/bar> does, but better.
  1071. # [21:43] <csuwldcat> TabAtkins: WORD
  1072. # [21:44] <Hixie> TabAtkins: sure, if we require all UAs to implement Web Components. But we can't seriously do that. That's a huge amount of work on one of the most complicated aspects of the web platform.
  1073. # [21:44] <csuwldcat> Hixie: cited some micro parser used by 4 guys in a basement in Siberia though
  1074. # [21:44] <Hixie> TabAtkins: is even html5lib going to support web components natively?
  1075. # [21:44] <TabAtkins> That's an incorrect assertion.
  1076. # [21:44] <dglazkov> TabAtkins: I agree. I would like to understand whether 5 and 7 are actually requirements or nice-to-haves
  1077. # [21:44] <TabAtkins> The parser required to understand the fallback tag semantics is a tiny tiny subset of Web Components. It's just "use your HTML parser, and look for <element> elements in the linked document."
  1078. # [21:45] <TabAtkins> s/."/"./
  1079. # [21:45] <csuwldcat> Hixie: what is HTML5lib?
  1080. # [21:45] <TabAtkins> Once you see the <element name="x-bar" extends="foo">, you can parse <x-bar> exactly as easily as <foo/bar>, with the same semantic fallback.
  1081. # [21:45] <TabAtkins> csuwldcat: It's the de facto non-browser impl of the HTML parser.
  1082. # [21:46] <Hixie> TabAtkins: i don't think that is a reasonable requirement. For example, you might not have network at that point.
  1083. # [21:46] <TabAtkins> Written in Python 2/3.
  1084. # [21:46] <csuwldcat> ah
  1085. # [21:46] <csuwldcat> WHAT? (12:46:02 PM) Hixie: TabAtkins: i don't think that is a reasonable requirement. For example, you might not have network at that point.
  1086. # [21:46] <csuwldcat> so you had a network to dl the page
  1087. # [21:46] <Hixie> csuwldcat: "Hixie: cited some micro parser used by 4 guys in a basement in Siberia" is the kind of hyperbolic strawman construction that makes me not enjoy discussing this with you, fwiw.
  1088. # [21:46] <csuwldcat> but not to get the linked rel?
  1089. # [21:46] <csuwldcat> oh gosh, that sounds absurd
  1090. # [21:47] <sjmiles> re: div/x-foo and 'verbosity is a subconcern' => not for me. From my perspective verbosity is the primary issue.
  1091. # [21:47] <csuwldcat> Hixie: let me rephrase
  1092. # [21:47] <Hixie> most of the studies we do of HTML consist of big zipfiles of HTML files where none of the links have been followed, for instance.
  1093. # [21:48] <csuwldcat> what do you think the total usage rates of the cases you cite in relation to the lesser known parsers that are not used by any of today's modern browsers?
  1094. # [21:48] <TabAtkins> sjmiles: I'm not concerned with relative verbosity either, just intent. Having to restate your inheritance structure with every instantiation seems asinine. :/
  1095. # [21:48] <Hixie> TabAtkins: fwiw, i agree with that
  1096. # [21:48] <sjmiles> @tabatkins: yes, precisely ... it's a cost I have to pay over and over
  1097. # [21:48] * Quits: krawchyk (~krawchyk@65.220.49.251) (Remote host closed the connection)
  1098. # [21:48] <Hixie> TabAtkins: having said that, we had some interesting cases yesterday that came up where i think this would actually help
  1099. # [21:48] <TabAtkins> Hixie: Then are you just biting the bullet? \
  1100. # [21:49] <csuwldcat> TabAtkins: asinine, and asiten, and asieleven
  1101. # [21:49] <TabAtkins> Hixie: Sorry, I skipped most of the discussion yesterday.
  1102. # [21:49] <csuwldcat> see what I did there ;)
  1103. # [21:49] <Hixie> TabAtkins: for instance, consider a component that wants to add an API for <h1>-<h6>
  1104. # [21:49] <Hixie> TabAtkins: (some <h1>s to <h6>s, that is)
  1105. # [21:49] <Hixie> TabAtkins: do you have to declare 6 components?
  1106. # [21:49] <csuwldcat> No Hixie
  1107. # [21:49] <csuwldcat> that could be a decorator
  1108. # [21:49] <Hixie> not a decorator, it adds an api
  1109. # [21:50] <TabAtkins> If you wanted to mimic the same hierarchy, then probably, yeah.
  1110. # [21:50] <csuwldcat> h1,h2,h3,h4,h5 { decorator: url(#HixieHeadings); }
  1111. # [21:50] <TabAtkins> csuwldcat: API-adding via decorator is in the long future, if ever.
  1112. # [21:50] <annevk> csuwldcat: dude, he just said it wasn't a decorator
  1113. # [21:51] <csuwldcat> TabAtkins: he just added that after we said it
  1114. # [21:51] <TabAtkins> csuwldcat: Yes, but he said it quickly. ^_^
  1115. # [21:51] <csuwldcat> he's tacking on reqs live, this is called moving the goal post
  1116. # [21:51] <csuwldcat> haha
  1117. # [21:51] <csuwldcat> good point
  1118. # [21:51] <TabAtkins> csuwldcat: Dude, don't be like that. This is a fast, casual medium.
  1119. # [21:51] <Hixie> i didn't move the goalpost, I said it added an API in the very first line that mentioned it!
  1120. # [21:51] <Hixie> jesus
  1121. # [21:51] <annevk> TabAtkins: seems weird btw as h1-h6 implement the same interface
  1122. # [21:52] <TabAtkins> You can't work here if you require that everyone state their entire argument and all clarifications in a single line.
  1123. # [21:52] <annevk> TabAtkins: HTMLHeadingelement
  1124. # [21:52] <Hixie> TabAtkins: or alternatively, every phrasing element
  1125. # [21:52] <TabAtkins> annevk: <h1-6> are werid, yes.
  1126. # [21:52] * Joins: tawhuac (~tawhuac@190.71.182.198)
  1127. # [21:52] * Quits: tawhuac (~tawhuac@190.71.182.198) (Client Quit)
  1128. # [21:52] <csuwldcat> but hixiem you did it to present your corner case specifically geared to achieve your narrative
  1129. # [21:52] <Hixie> TabAtkins: or every sectioning element (that one in particular seems quite plausible)
  1130. # [21:52] <csuwldcat> how do you not see that?
  1131. # [21:52] <annevk> TabAtkins: they're not the only elements with a non-unique interface
  1132. # [21:52] <sjmiles> I realize I'm not getting any traction with the verbosity argument, but I expect web-devs are going to find it extremely off-putting (my team does)
  1133. # [21:53] <TabAtkins> Hixie: Hm, I see. Yes, there are some plausible cases where you could want to apply the same API across several existing HTML elements.
  1134. # [21:53] <csuwldcat> sjmiles: naw, they'll just rock the X
  1135. # [21:53] <csuwldcat> <x/hoodwinked>
  1136. # [21:53] <csuwldcat> TabAtkins: Hixie: I admit as well, the case is valid
  1137. # [21:53] <Hixie> TabAtkins: what we could do is have an in-page macro mechanism, i suppose
  1138. # [21:54] <sjmiles> csuwldcat: I refer to the notion that will require the extra tag semantic <div/x-whatever>
  1139. # [21:54] <csuwldcat> I would contend that it is fractional and not going to be the norm
  1140. # [21:54] <TabAtkins> Hixie: I don't think that overrides in general the argument against restating your base on every element, though. Perhaps argues for a way to address that case specifically.
  1141. # [21:54] * Quits: yroc (~yroc@out-on-177.wireless.telus.com) (Quit: Leaving)
  1142. # [21:54] * Joins: bkardell_ (~bkardell@rb-sip2-122.greenmountainaccess.net)
  1143. # [21:54] <Hixie> TabAtkins: so <foo/bar> is the regular syntax, but you can say <define element="bar" extends="foo" with="binding.html"> and then use <bar>
  1144. # [21:54] <TabAtkins> Or pursuing something like slash-tag at the same time, as a way to manually override the extends="" attribute.
  1145. # [21:54] <TabAtkins> Yeah, that's what I'm thinking.
  1146. # [21:55] <csuwldcat> sjmiles: oh, but I think Hixie said the parser addition that will be required by this will add some magic that means when parsed, the name after the slash is not added as an attribute
  1147. # [21:55] <Hixie> that would allow us to even drop the x-
  1148. # [21:55] <bkardell_> Hixie: question - for tab too
  1149. # [21:55] <annevk> that seems even better
  1150. # [21:55] <dglazkov> wait wait
  1151. # [21:55] <TabAtkins> Hixie: I don't really want to repeat that macro on every page, though - I'd prefer to link it in once.
  1152. # [21:55] <annevk> especially if the plan is to express native elements in terms of shadow trees too
  1153. # [21:55] <dglazkov> so declare elements in the doc ahead of time?
  1154. # [21:55] <bkardell_> sorry guys you should have seen me trying to do this on my phone, it was something to behold
  1155. # [21:55] <TabAtkins> dglazkov: Forward declarations!
  1156. # [21:55] <sjmiles> look, having to put <div/x-foo> instead of just <x-foo> at a very basic level is off-putting to web devs
  1157. # [21:55] <dglazkov> yeah. it has terrible developer ergonomics, too
  1158. # [21:55] <Hixie> TabAtkins: well, it has to be in-page because otherwise the parser will just be utterly lost
  1159. # [21:55] <bkardell_> if you do the slash thing - a LOT of tools break
  1160. # [21:55] <annevk> dglazkov: like import in Python
  1161. # [21:55] <Hixie> hsivonen is going to hate this
  1162. # [21:56] <TabAtkins> Hixie: Without an in-band signal that it's something special, sure.
  1163. # [21:56] <csuwldcat> sjmiles: not just that, it has HUGE downstream consequences
  1164. # [21:56] <dglazkov> sjmiles will hate the forward decls
  1165. # [21:56] <csuwldcat> with tag names, every API devs use today works
  1166. # [21:56] <TabAtkins> (Like the x- prefix.)
  1167. # [21:56] <csuwldcat> doc.createElement, querySelector, getElementsByTagName, el.nodeName, etc,
  1168. # [21:56] <Hixie> the x- thing is _so_ ugly though
  1169. # [21:56] <TabAtkins> It's reallyl not. ^_^
  1170. # [21:56] <csuwldcat> with this method, hixie is tossing all of that
  1171. # [21:56] <Hixie> i mean, uglier even than the slash thing
  1172. # [21:56] <Hixie> imho
  1173. # [21:56] <Hixie> anyway, that's clearly subjective
  1174. # [21:56] <csuwldcat> unless we patch that everywhere
  1175. # [21:57] <sjmiles> at some point we discussed merely requiring '-' ... since devs will want to id their elts anyway (goog-map, yui-button) this I expect to not be alarming to web devs
  1176. # [21:57] <bkardell_> hixie: amen... subjective :)
  1177. # [21:57] <dglazkov> csuwldcat was right that if we have to do slash-type, most libraries will simply flow around with <x/foo>
  1178. # [21:57] <Hixie> i suppose we could require a prefix, that would get around hsivonen's concerns
  1179. # [21:57] <csuwldcat> dglazkov: I will, with x-tag
  1180. # [21:57] <bkardell_> dgazkov: and tools will break
  1181. # [21:57] <bkardell_> that is one of the things hixie wans tot avoid
  1182. # [21:57] <dglazkov> bkardell_: well, that
  1183. # [21:57] <annevk> bkardell_: such as?
  1184. # [21:57] <csuwldcat> you can stamp a money back guarantee on that
  1185. # [21:58] <TabAtkins> Hixie: <x-tag is=h1> ^_^
  1186. # [21:58] <hober> ewwwwh
  1187. # [21:58] <Hixie> the other thing is what is the tag name of an extended element -- i guess y'all want it to be the component, but that means it'd be different for legacy UAs and new UAs in the <foo/bar> case
  1188. # [21:58] <Hixie> TabAtkins: yeah but that fails 7
  1189. # [21:58] <bkardell_> just go to your syntax highlighters for example or all of these poste things we use online and start playing
  1190. # [21:58] <csuwldcat> TabAtkins: oh you are a cunning fellow Tag, nay Ninja like
  1191. # [21:58] <TabAtkins> Where were these numbered reqs?
  1192. # [21:58] <Hixie> TabAtkins: people just won't bother with the is=""
  1193. # [21:58] <Hixie> http://wiki.whatwg.org/wiki/Components
  1194. # [21:58] <dglazkov> ... namespaces?
  1195. # [21:58] <TabAtkins> Ah, kk.
  1196. # [21:58] <hober> the tag name of an element that happes to be bound to a component should be the same as if it weren't bound
  1197. # [21:58] <TabAtkins> <x-tag/h1>
  1198. # [21:59] <bkardell_> csuwildcat and I accidentally were getting auto-completed closing tags, things that looked like errors or attributes that look like content
  1199. # [21:59] <TabAtkins> In legacy browsers, tagname is x-tag, like we want, and h1 is an attribute name.
  1200. # [21:59] <Hixie> TabAtkins: <h1/tag> is cleaner than <x-tag/h1>
  1201. # [21:59] <csuwldcat> yeah, we also blast a ton of regexps out in the wild
  1202. # [21:59] <Hixie> TabAtkins: if we're going there
  1203. # [21:59] <csuwldcat> Hixie: can we give everyone your email for the support requests?
  1204. # [21:59] <TabAtkins> Hixie: Marginally, yes, due tot he prefix loss, but we want to allow components to rely on their default extends (and thus be slash-less).
  1205. # [21:59] <csuwldcat> I mean that's fair right?
  1206. # [22:00] <bkardell_> this is what I was saying
  1207. # [22:00] <bkardell_> doesn't that violate hixie's #7?
  1208. # [22:00] <Hixie> do we have any idea how many components we're expecting per page?
  1209. # [22:00] <hober> csuwldcat: everyone already has his email address
  1210. # [22:00] <Hixie> bkardell_: not if we do the macro declaration thing
  1211. # [22:00] <csuwldcat> haha hober: good point
  1212. # [22:00] <TabAtkins> Often, a decent number. sjmiles can probably give a good answer.
  1213. # [22:00] <Hixie> like 10? 100?
  1214. # [22:01] <csuwldcat> Hixie: in our experience, it all depends on the app
  1215. # [22:01] <Hixie> trying to work out if it's just out of the question to declare them ahead of time
  1216. # [22:01] <sjmiles> 100s
  1217. # [22:01] <csuwldcat> some it was as few as 10
  1218. # [22:01] * Joins: weinig (~weinig@2620:149:4:1b01:f1cd:6b6e:9dca:71f9)
  1219. # [22:01] <Hixie> ok yeah that won't work then
  1220. # [22:01] <Hixie> bummer
  1221. # [22:01] <csuwldcat> others, that have iterated uses, it was 100s
  1222. # [22:01] <Hixie> sjmiles: in one page?
  1223. # [22:01] <Hixie> man
  1224. # [22:01] <sjmiles> easily
  1225. # [22:01] <csuwldcat> x-responsive-img
  1226. # [22:01] <TabAtkins> Hixie: I know that, just using jQuery components, I've sometimes written pages with *lots* of things.
  1227. # [22:02] <TabAtkins> Counting things that were practically components, just not packaged as such, that number goes up a lot more.
  1228. # [22:02] <Hixie> maybe we should just abandon HTML and just have them all use XML... (not joking)
  1229. # [22:02] <hober> sjmiles: do you mean 100s of instances of a handful of components, or a handful of instances of 100s of components?
  1230. # [22:02] <sjmiles> components support composition, the layering available there allows one to mitigate a complex application structure into numerous small pieces
  1231. # [22:02] <csuwldcat> 100s of instances of a handful of components!!! :)
  1232. # [22:02] <Hixie> i mean, if there's 100s of these things, there's no way any software is going to make head or tail of it even if they have the fallback elements
  1233. # [22:02] <sjmiles> 100s of instances of a much smaller # of components
  1234. # [22:02] <Hixie> oh
  1235. # [22:02] <csuwldcat> correct
  1236. # [22:02] <Hixie> oh
  1237. # [22:02] <Hixie> ok
  1238. # [22:02] <sjmiles> my perspective is 'web apps' to be clear
  1239. # [22:02] <Hixie> how many component types per page though?
  1240. # [22:03] <csuwldcat> so maybe 10-20 uniques
  1241. # [22:03] <Hixie> sure
  1242. # [22:03] <csuwldcat> with a few at high iteration
  1243. # [22:03] <sjmiles> component types is more like dozens
  1244. # [22:03] <sjmiles> for serious apps
  1245. # [22:03] <csuwldcat> yeah
  1246. # [22:03] <Hixie> ok that's not so bad then
  1247. # [22:03] <csuwldcat> the only kind hehe
  1248. # [22:03] * Joins: stevefaulkner (~stevefaul@cpc20-nmal18-2-0-cust76.19-2.cable.virginmedia.com)
  1249. # [22:03] <dglazkov> also important, in the cases where 100s of instances are present, the apps are built dynamically and more than likely HTML is only used as the UI configuration medium, not a public document.
  1250. # [22:03] <Hixie> we could do something like <script type="parser macro declaration"> foo = <select/foo>; bar = <input/bar> </script>
  1251. # [22:04] <csuwldcat> Hixie: in total though, over the whole of an app, across all pages/views, you could have many more
  1252. # [22:04] <sjmiles> apologize if I'm repeating, but I'm concerned that rule #5 is more or less like insisting all ice-cream be served with peas on top
  1253. # [22:04] <dglazkov> iow, you would load chunks of templates or fragments, and replace them as you work
  1254. # [22:04] <Hixie> dglazkov: yeah, in which case you don't even need to define that many macros
  1255. # [22:04] <csuwldcat> im just saying there are like 10-20 uniques per view
  1256. # [22:04] <sjmiles> ulimately, the ice-cream consumers will go to incredible lengths to build pea-removal machines
  1257. # [22:04] <csuwldcat> so the whole app may have 50-60
  1258. # [22:04] <dglazkov> Hixie: what I meant is that in this case requirements 5 and 7 are moot
  1259. # [22:04] <csuwldcat> Hixie: think of it like jQuery plugins, some sides include like 50 js files, each a plugin
  1260. # [22:05] <Hixie> dglazkov: not entirely, but yes, to a large extent i agree
  1261. # [22:05] <Hixie> dglazkov: it's the markup case i'm worried about
  1262. # [22:05] <dglazkov> Hixie: I understand.
  1263. # [22:05] <Hixie> mostly worried about, anyway
  1264. # [22:05] <csuwldcat> I will mourn the loss of doc.createElement for many moons
  1265. # [22:05] <Hixie> sjmiles: sure, just like today they use <div>s only
  1266. # [22:05] <csuwldcat> and all the other DOM APIs we'll either lose or have to patch
  1267. # [22:05] <Hixie> sjmiles: but i don't think that's most people
  1268. # [22:06] <Hixie> sjmiles: and it's widely understood to be poor style
  1269. # [22:06] <csuwldcat> that is what developers will hunt us for
  1270. # [22:06] <dglazkov> Hixie: these two cases are in contradiction then
  1271. # [22:06] <dglazkov> I think both csuwldcat and sjmiles are mostly interested in the former and could care less about the latter
  1272. # [22:06] <csuwldcat> yup
  1273. # [22:07] <Hixie> the former = from script?
  1274. # [22:07] <csuwldcat> the markup is low medium, all the downstream is heartbreaking
  1275. # [22:07] <Hixie> if so, they sure are arguing forcefully about the latter :-)
  1276. # [22:07] <dglazkov> let's call it the "apps" case vs. "document" case.
  1277. # [22:07] <sjmiles> this is why I wanted something optional
  1278. # [22:07] <csuwldcat> Im not sure I can sell a spec that requires patching every DOM interface that works off of a tag/selector
  1279. # [22:07] <Hixie> i disagree with the premise that there's a difference or that apps only use scripts
  1280. # [22:07] <csuwldcat> Boris will probably go into a fit of nerd rage
  1281. # [22:08] <dglazkov> Hixie: okay let's see
  1282. # [22:08] <bkardell_> are we editing a wiki with something new?
  1283. # [22:08] <TabAtkins> Hixie: I've added my proposal to the wiki page. Do you agree with my writeup?
  1284. # [22:08] <dglazkov> Hixie: in "apps" case, the requirements 5 and 7 are uninteresting, since the app uses markup as purely UI config serialization/deserialization medium
  1285. # [22:08] * Quits: stevefaulkner (~stevefaul@cpc20-nmal18-2-0-cust76.19-2.cable.virginmedia.com) (Quit: stevefaulkner)
  1286. # [22:08] <bkardell_> hixie: that was creepy fast
  1287. # [22:09] <dglazkov> Hixie: in "document" case, the requirements 5 and 7 are serious, because the document's semantics are public
  1288. # [22:09] <sjmiles> @dglazkov: yes, this is my belief also
  1289. # [22:09] <csuwldcat> TabAtkins: dglazkov: I think a hard req for us is that you can use existing DOM APIs to query/create elements
  1290. # [22:09] <Hixie> bkardell_: hm?
  1291. # [22:09] <sjmiles> that's when I ask for 'optional'
  1292. # [22:09] <csuwldcat> document.createElement('div/foo')
  1293. # [22:10] <csuwldcat> querySelector('div/foo')
  1294. # [22:10] <sjmiles> document.createElement *must* work
  1295. # [22:10] <bkardell_> hixie: nm.. i just said 'can we edit the wiki' and a microsecond later you said 'i updated the wiki
  1296. # [22:10] <Hixie> TabAtkins: failing any of those requirements imho is a blocker.
  1297. # [22:10] <csuwldcat> sjmiles: correct
  1298. # [22:10] <TabAtkins> csuwldcat: The only thing you might need to change is createElement, I think.
  1299. # [22:10] <TabAtkins> bkardell_: I said that, actually.
  1300. # [22:10] <csuwldcat> uhhh
  1301. # [22:10] <bkardell_> oh
  1302. # [22:10] <bkardell_> hahaha
  1303. # [22:10] <csuwldcat> TabAtkins: what about all the others?
  1304. # [22:10] <TabAtkins> csuwldcat: The tagname in any case would be the component's name.
  1305. # [22:10] <csuwldcat> how do I use querySelector?
  1306. # [22:11] <Hixie> TabAtkins: seems right though. It's basically the same as the earlier x-geomap proposal.
  1307. # [22:11] <csuwldcat> what? how in the...
  1308. # [22:11] <csuwldcat> please explain
  1309. # [22:11] <Hixie> dglazkov: i disagree with the premise that apps are written entirely from script
  1310. # [22:11] <Hixie> dglazkov: but that doesn't seem to affect the argument
  1311. # [22:11] <sjmiles> I would say the premise is that apps are very much less interested in semantic clarity or backward UA compat
  1312. # [22:11] <csuwldcat> Hixie, not entirely, but many recent ones are a panel shell with all other creation done in script
  1313. # [22:11] <Hixie> bkardell_: i wrote that page today, yes
  1314. # [22:12] <TabAtkins> csuwldcat: <x-foo/h1> still creates an <x-foo> element. It just changes the default extension, for the purpose of things that care about it, from whatever <element name=x-foo extends="???"> said, to h1.
  1315. # [22:12] <Hixie> bkardell_: when the etherpad was started
  1316. # [22:12] <dglazkov> Hixie: I disagree with this premise, too! I did not say anything about them being written entirely from script
  1317. # [22:12] <sjmiles> app frequently do not work at all without the proper requirements and trying to push them into that realm is flawed
  1318. # [22:12] * Quits: darkcypher_bit (~darkcyphe@blackhole.space150.com) (Ping timeout: 252 seconds)
  1319. # [22:12] <Hixie> dglazkov: i don't understand the point you are making then
  1320. # [22:12] <annevk> TabAtkins: can't we use another prefix? E.g. "c-" meaning component?
  1321. # [22:12] <TabAtkins> Hixie: As a meta-comment, I do find it troublesome to hold apps hostage to documents. I've had to fight against this in CSS land for a long time.
  1322. # [22:12] <TabAtkins> annevk: I don't care what the prefix is.
  1323. # [22:12] <annevk> TabAtkins: x- is so overused and for something completely different to boot
  1324. # [22:13] <dglazkov> Hixie: okay. When you are writing say, an game app.
  1325. # [22:13] * Joins: eric_carlson (~eric@2620:149:4:1b01:9010:ec1e:3b6:b255)
  1326. # [22:13] * Parts: eric_carlson (~eric@2620:149:4:1b01:9010:ec1e:3b6:b255)
  1327. # [22:13] <dglazkov> you have several screens that appear during the game
  1328. # [22:13] * Quits: bkardell (~AndChat14@rb-sip2-122.greenmountainaccess.net) (Ping timeout: 264 seconds)
  1329. # [22:13] <dglazkov> these screens are implemented as <template> instances in your doc
  1330. # [22:13] * Joins: jonlee (~jonlee@2620:149:4:1b01:a85c:900f:b762:8b32)
  1331. # [22:13] <bkardell_> all... did someone comment on my observation that <select/geomap actually does break things that dont have the exact quirks of today's parsers
  1332. # [22:13] <dglazkov> you instantiate them and use them as necessary
  1333. # [22:14] <csuwldcat> bkardell_: please elaborate
  1334. # [22:14] <bkardell_> I think it is a red-herring that it looks like that proposal meets all reqs
  1335. # [22:14] <dglazkov> for anyone but the app, the markup content of these screens is completely uninteresting
  1336. # [22:14] <csuwldcat> which browsers, and where?
  1337. # [22:14] <dglazkov> crawlers will hate this
  1338. # [22:14] <dglazkov> sorry correction
  1339. # [22:14] <dglazkov> crawlers will want to ignore this content
  1340. # [22:14] <Hixie> bkardell_: they're not quirks of today's browsers, today's browsers all implement the html parser spec which is pretty specific about how to parse this.
  1341. # [22:14] * Joins: vcarbune (~vcarbune@213.233.85.34)
  1342. # [22:15] <dglazkov> and if they don't, they will produce junk knowledge about this app as a document
  1343. # [22:15] <bkardell_> hixie: I'm not sure I see the distinction
  1344. # [22:15] <sjmiles> (re: wiki, my position is that <select/geomap> fails requirement 4)
  1345. # [22:15] <csuwldcat> just read the wiki
  1346. # [22:15] <Hixie> dglazkov: if your thesis is that we don't care about semantics for games, then i disagree
  1347. # [22:15] <bkardell_> lots of tools parse html that don't
  1348. # [22:15] <bkardell_> and do really well
  1349. # [22:15] <Hixie> dglazkov: though i will grant you that many people will be of that opinion
  1350. # [22:15] <csuwldcat> <x-geomap> doesn't even fail the reqs by your own definitions
  1351. # [22:15] <TabAtkins> Hixie: Arguably, <select/geomap> fails 7, due to our repeated assertions that it's likely to become common to just extend an <x> element.
  1352. # [22:15] <csuwldcat> if #7 Needs to encourage authors to put a real semantic rather than just skipping that step.
  1353. # [22:16] * Quits: nimbu (~nimbu@sjfw1-a.adobe.com) (Quit: Leaving.)
  1354. # [22:16] * Quits: maikmerten (~maikmerte@port-92-201-106-200.dynamic.qsc.de) (Remote host closed the connection)
  1355. # [22:16] <Hixie> TabAtkins: by the logic of that assertion, people would just use <x class=""> today, and they don't. They at worst use <div class="">, and that is widely considered poor style.
  1356. # [22:16] <csuwldcat> Hixie: you might want to change this to "Needs to strictly force authors to put a real semantic rather than just skipping that step, even when it doesn't apply to their use-case"
  1357. # [22:16] <csuwldcat> then I can agree, it certainly would meet #7
  1358. # [22:17] <sjmiles> the reality of web devs, IMHO, is that you can only 'encourage' people by making things that feel good ... if being semantic has tangible benefits devs will do it, if you try to force it, they will revolt
  1359. # [22:17] <csuwldcat> Hixie: many devs don't know <x> would be evaluated as Unknow inline element
  1360. # [22:17] <csuwldcat> if they did, they might
  1361. # [22:17] <TabAtkins> Hixie: It's really not considered poor style - quite a lot of app frameworks do precisely that (ask sjmiles). There's a worrying number that also just straight-up use custom tagnames, without even a prefix to disambiguate.
  1362. # [22:17] <csuwldcat> hell, most of our web devs didn't realize that
  1363. # [22:18] <sjmiles> people understand the notion of semantic-goodness, but again, without a tangible benefit, the boss yelling at them to meet the deadline is massively more persuasive
  1364. # [22:18] <bkardell_> I think maybe wycats_ has some experience there too :)
  1365. # [22:18] <sjmiles> all wild generalizations by me are IMO :)
  1366. # [22:19] <sjmiles> or, IME (in my experience)
  1367. # [22:19] <csuwldcat> dglazkov: Hixie: I have strong objections to the wording of 5 & 7
  1368. # [22:19] <csuwldcat> 5 assumes there are even semantics applicable, a dubious assertion
  1369. # [22:19] <Hixie> TabAtkins: it has an entry in wiktionary: http://en.wiktionary.org/wiki/divitis
  1370. # [22:19] <csuwldcat> and 7 just askes that it encourges the use of fallback content
  1371. # [22:20] * Joins: carbonix (~vcarbune@213.233.85.34)
  1372. # [22:20] <csuwldcat> which all would, through our extensive developer evangelism networks
  1373. # [22:20] <dglazkov> this is another good point. Restriction breeds perversion. Designing something that will not be palatable to devs, even if with good intentions (see reqs 5 and 7) will just result in more craziness.
  1374. # [22:20] <TabAtkins> Hixie: I'm quite aware of the dislike of the pattern in semantic circles. I'm also aware of the heavy and continuing use of it anyway within app frameworks.
  1375. # [22:20] <Hixie> when you have people like zeldman and allsopp who criticise it so much they have coined a term for it, i think it's "considered poor style"
  1376. # [22:21] <csuwldcat> Hixie: I can't wait for the next entry after this is released: xitis
  1377. # [22:21] <Hixie> TabAtkins: sure, just like layout tables are still widely used
  1378. # [22:21] <sjmiles> @dglazkov: yes, thank you for again saying what's in my head, but much more clearly :)
  1379. # [22:21] <Hixie> TabAtkins: there's a difference between that and just embracing it and defining it as the best practice in the spec
  1380. # [22:21] <csuwldcat> Hixie: if you relent on the link document thing, I think you'll find devs will tie in the semantics anyway
  1381. # [22:22] <sjmiles> layout tables used to be necessary to get the work done, what's left now are reverberations of that
  1382. # [22:22] <csuwldcat> because it actually benefits them to inherit the correct proto
  1383. # [22:22] <TabAtkins> Hixie: You know it's incorrect to say that we're just rubberstamping div-itis.
  1384. # [22:22] <TabAtkins> Due to the extends="" attribute.
  1385. # [22:22] <TabAtkins> And my proposal for optionally allowing slash-tag as well.
  1386. # [22:22] * Joins: nimbu (~nimbu@sjfw1-a.adobe.com)
  1387. # [22:22] <csuwldcat> TabAtkins: but he is setting up the circular argument that you can't parse that, to the advantage of his narrative
  1388. # [22:23] <bkardell_> TabAtkins: where were you when I was trying to make this argument on the bug that re-opened this?
  1389. # [22:23] <csuwldcat> Hixie, I don't mean anything against you, but that is the case
  1390. # [22:23] <TabAtkins> bkardell_: Ignoring the walls of text. ^_^
  1391. # [22:23] <Hixie> TabAtkins: fair enough
  1392. # [22:23] * Quits: jsoncorwin (~textual@c-50-131-117-90.hsd1.ca.comcast.net) (Read error: Connection reset by peer)
  1393. # [22:24] <TabAtkins> Are there any other non-alphanumeric characters allowed in Name productions besides dash and underscore?
  1394. # [22:24] * TabAtkins is too lazy to look it up.
  1395. # [22:24] <csuwldcat> TabAtkins: slash tags as optional, that's another good compromise
  1396. # [22:24] <csuwldcat> good thinking!
  1397. # [22:24] * Joins: mattsmcnulty (~mmcnulty@c-67-169-68-90.hsd1.ca.comcast.net)
  1398. # [22:24] <dglazkov> I personally like forward defines. I would allow the browser to know which elements are going to be custom in advance.
  1399. # [22:24] <TabAtkins> (Though actually, keeping the slash-tag so that the actual tagname parses equivalently in all browsers is probably a good thing.)
  1400. # [22:24] <bkardell_> I worry about this slash thing brothers
  1401. # [22:25] <bkardell_> have you read my points on it?
  1402. # [22:25] <bkardell_> are they all invalid?
  1403. # [22:25] <dglazkov> but it's untenable in real life (the case where you have multiple libraries of components, one including another, etc.)
  1404. # [22:25] * Quits: carbonix (~vcarbune@213.233.85.34) (Ping timeout: 256 seconds)
  1405. # [22:25] * Quits: Bass10 (~Bass10@c-76-113-194-7.hsd1.mn.comcast.net) (Read error: Connection reset by peer)
  1406. # [22:25] <TabAtkins> bkardell_: Haven't read too much, no.
  1407. # [22:25] <csuwldcat> dglazkov: not only that, but how are you going to throw late parse errors?
  1408. # [22:25] <annevk> I'd prefer btw if we could come up with something that's prefixless. Per that talk Hixie referenced the other day on G+ it might actually be nice if native elements could be minted. Of course, we'd have to do it in such a way that new HTML elements can still be created somehow...
  1409. # [22:25] * Joins: jsoncorwin (~textual@c-50-131-117-90.hsd1.ca.comcast.net)
  1410. # [22:26] <csuwldcat> if <input/foo> is invalid, because foo cannot be attached to input, then you have to throw, but you can't do it until the linked compontents file is parsed anyway
  1411. # [22:26] * Quits: cheron (~cheron@unaffiliated/cheron) (Quit: Leaving.)
  1412. # [22:26] * Quits: vcarbune (~vcarbune@213.233.85.34) (Ping timeout: 276 seconds)
  1413. # [22:26] <TabAtkins> annevk: As far as I can tell, the only strategy that's ever worked for combining language-defined and author-defined is (1) prefixing the author-defined stuff, or (2) assuming that author-defined stuff won't happen that often anyway, and just stomping on them when you extend the language.
  1414. # [22:26] <csuwldcat> beccause you don't know it is invalid yet
  1415. # [22:26] * Joins: alrra (~alrra@unaffiliated/alrra)
  1416. # [22:26] * Quits: alrra (~alrra@unaffiliated/alrra) (Client Quit)
  1417. # [22:26] <csuwldcat> annevk: in our use of the x- compontent tags, we generally have semeantic content as the payload
  1418. # [22:26] <annevk> TabAtkins: I guess otherwise you'd have to tell in advance somehow this is an author-binding...
  1419. # [22:27] <TabAtkins> annevk: And be okay with author-bindings stomping language-bindings when the names collide.
  1420. # [22:27] <annevk> TabAtkins: right
  1421. # [22:28] * Joins: sjmiles_ (~sjmiles@99-17-226-16.lightspeed.vlljca.sbcglobal.net)
  1422. # [22:28] * Quits: sjmiles (6311e210@gateway/web/freenode/ip.99.17.226.16) (Quit: Page closed)
  1423. # [22:28] <annevk> Of course given HTML's silly parser it's not actually tenable
  1424. # [22:28] <sjmiles_> (still here)
  1425. # [22:28] <hober> this is, again, one of the reasons i prefer <select is=map> - there's no stomping of language-bindings and author-bindings :)
  1426. # [22:28] <bkardell_> hober: I don't entirely hate that
  1427. # [22:28] <csuwldcat> hober, other than the fact you just infered the prototype inheritance
  1428. # [22:29] <TabAtkins> hober: I hate it. ^_^
  1429. # [22:29] <bkardell_> hober: the main drawback is that you have to know the root element
  1430. # [22:29] <csuwldcat> and doing so will cause devs to think they can add is="map" to non-selects
  1431. # [22:29] <TabAtkins> (For the reasons already stated - it looks mutable, it requires restating the inheritance in every instantiation, etc.)
  1432. # [22:29] <bkardell_> personally, I like my proposal better, but..
  1433. # [22:29] <csuwldcat> even if that would cause internal compontent logic to go haywire
  1434. # [22:30] <TabAtkins> I'm unsure - does the extension of a tag change the prototype chain of the newly-constructed element, or just some other information accessible to a11y stuff and such?
  1435. # [22:30] <csuwldcat> it changes it
  1436. # [22:30] <bkardell_> TabAtkins: the mutability thing is only bothersome until you realize that lots of things in html are like that
  1437. # [22:30] <sjmiles_> the div/x-foo solution is clever, is there anyway we can default to 'div/'? I realize this poses a moral hazard, but it makes my objections go away
  1438. # [22:30] <csuwldcat> emits a new proto
  1439. # [22:30] <bkardell_> TabAtkins: you can't change the type of a script tag, for example
  1440. # [22:31] <bkardell_> I think people could overcome it if it really gave all the rest of the benefits right
  1441. # [22:31] <TabAtkins> sjmiles_: The last proposal on the wiki page now has that - it's the current spec (just <x-tag>, with <element extends=""> defining the extension) + the ability to override the extension with slash-tag: http://wiki.whatwg.org/wiki/Components
  1442. # [22:31] * Joins: bkardell (~AndChat14@rb-sip2-122.greenmountainaccess.net)
  1443. # [22:31] <TabAtkins> bkardell_: They're rare, though, and those attributes that act like that are little-used, I think.
  1444. # [22:31] <TabAtkins> I mean, @type isn't even a required attribute as long as you're using JS.
  1445. # [22:32] <bkardell_> I've talked to several people who quickly changed their mind - that's all I'm saying
  1446. # [22:32] <sjmiles_> TabAtkins: ah sorry, missed it, I'm +100 on that :)
  1447. # [22:32] <bkardell_> if we dont have to - let's not
  1448. # [22:32] <bkardell_> but... it's not as bad as / in my mind
  1449. # [22:32] <annevk> you can change type="" of <script> and API-wise that's observable
  1450. # [22:32] <bkardell_> TabAtkins: Weigh the pros and cons
  1451. # [22:32] <annevk> all HTML attributes are mutable
  1452. # [22:33] <bkardell_> but they don't necessarily have an effect - yeah?
  1453. # [22:33] <bkardell_> couldnt that be the case here?
  1454. # [22:33] <annevk> it's just that not all mutations have side effects beyond normal DOM changes, but most do
  1455. # [22:33] <bkardell_> annevk: yeah - I'm not saying anything diff... I said that in the email thread I think
  1456. # [22:33] <bkardell_> it has pros that / don't have
  1457. # [22:34] <annevk> I saw someone suggesting <input type> was not mutable, but that certainly is, and will change the widget
  1458. # [22:34] <bkardell_> really?
  1459. # [22:34] <TabAtkins> bkardell_: Definitely.
  1460. # [22:34] <bkardell_> I swear I just tried that yesterday
  1461. # [22:34] * Joins: hasather_ (~hasather_@cm-84.208.102.9.getinternet.no)
  1462. # [22:34] * TabAtkins regularly uses that mutability to change type=password to type=text.
  1463. # [22:34] <bkardell_> hrm
  1464. # [22:35] <annevk> TabAtkins: we should maybe have some kind of API on type=password
  1465. # [22:35] <TabAtkins> annevk: For?
  1466. # [22:35] <annevk> TabAtkins: or get UAs to implement a checkbox like think to show the password
  1467. # [22:35] <dglazkov> attributes are non-starter
  1468. # [22:35] <TabAtkins> annevk: Ah, interesting.
  1469. # [22:35] <csuwldcat> annevk: no, it won't
  1470. # [22:35] <TabAtkins> csuwldcat: What are you contradicting?
  1471. # [22:35] <dglazkov> let's get everyone to agree on that.
  1472. # [22:36] <annevk> TabAtkins: it's all over the place in OS UI, I'd love to have it in browsers :)
  1473. # [22:36] <TabAtkins> annevk: Agreed!
  1474. # [22:36] <csuwldcat> the fact you can change the attribute
  1475. # [22:36] <csuwldcat> oh misread
  1476. # [22:36] <csuwldcat> it was type
  1477. # [22:36] <csuwldcat> thought it was a custom element attr
  1478. # [22:36] <TabAtkins> annevk: Since the right side of inputs seems to be okay to place widgety things, maybe the button can just go there.
  1479. # [22:36] <csuwldcat> dglazkov: agreed
  1480. # [22:37] <annevk> yeah
  1481. # [22:37] <csuwldcat> dglazkov: slash is going to be a nightmare to polyfill as well
  1482. # [22:37] <dglazkov> hober: I highly recommend reading https://www.w3.org/Bugs/Public/show_bug.cgi?id=18669 for a good discussion on that. Sorry it's long :)
  1483. # [22:38] <csuwldcat> https://github.com/mozilla/web-components/blob/master/document.register.js
  1484. # [22:38] <dglazkov> csuwldcat: I think the key here is to examine requirement 5 and determine if it really is a show-stopper.
  1485. # [22:38] <dglazkov> if it is, then we go back to drawing table
  1486. # [22:38] <bkardell_> so... for everyone here
  1487. # [22:39] <dglazkov> if it isn't then we already have a proper solution with optional slash-type
  1488. # [22:39] <bkardell_> does everyone realize that <select/map today parses with map as an attribute?
  1489. # [22:39] <TabAtkins> bkardell_: Yes, it's been repeatedly explained.
  1490. # [22:39] <dglazkov> ... unless TabAtkins added something new to http://wiki.whatwg.org/wiki/Components in the last secs
  1491. # [22:39] <dglazkov> :)
  1492. # [22:39] <TabAtkins> dglazkov: I have not.
  1493. # [22:39] <csuwldcat> dglazkov: but brian's solution does that
  1494. # [22:39] <csuwldcat> not at the tag level, but via fallback contents
  1495. # [22:40] * jonlee is now known as jonlee|afk
  1496. # [22:40] <dglazkov> oh.
  1497. # [22:40] <dglazkov> why is it not on http://wiki.whatwg.org/wiki/Components?
  1498. # [22:40] <bkardell_> TabAtkins: but the same thing without the / would not be a webcomponent
  1499. # [22:40] * dglazkov pokes bkardell
  1500. # [22:40] <csuwldcat> dglazkov: http://paste.mootools.net/f305b18b7
  1501. # [22:40] <annevk> why doesn't extends define an interface name rather than an element name?
  1502. # [22:41] <annevk> makes much more sense to extend HTMLHeadingElement than h1 or h2
  1503. # [22:41] <csuwldcat> annevk: huh?
  1504. # [22:41] <TabAtkins> bkardell_: Correct, <select> by itself would not be, in that proposal. In my proposal, <x-...> indicates a component, and the slash just indicates an override extension.
  1505. # [22:41] <annevk> or HTMLModElement or HTMLQuoteElement
  1506. # [22:41] <csuwldcat> annevk: it could just as easily map to that
  1507. # [22:41] <sjmiles_> fwiw, my notion of a default semantic type is not actually in the wiki
  1508. # [22:41] <TabAtkins> annevk: Would make sense, I suppose. It does mean putting DOM stuff into HTML, which hasn't happened before.
  1509. # [22:41] <sjmiles_> the last one is close, but it requires a-priori access to element tag, which is no bueno
  1510. # [22:42] <csuwldcat> sjmiles_: unknowns read as spans, right dglazkov?
  1511. # [22:42] <TabAtkins> csuwldcat: More or less, yeah.
  1512. # [22:42] <sjmiles_> HTMLUnknownElement I suppose (is that crazy?)
  1513. # [22:42] <bkardell_> sjimles_ not really
  1514. # [22:42] <csuwldcat> so dglazkov, if you look at that example, let's imagine my map, is a canvas map
  1515. # [22:42] <TabAtkins> annevk: As csuwldcat suggests, having extends="h1" just imply the actual DOM interface rather than the specific tag might work too.
  1516. # [22:43] <dglazkov> wait wait, the last proposal http://wiki.whatwg.org/wiki/Components#Proposal:_.3Cx-geomap.3E_for_the_default_extension_.28specified_in_.3Celement.3E.29.2C_.3Cx-geomap.2Fselect.3E_to_override is not what I expected
  1517. # [22:43] <csuwldcat> that blows up this whole argument
  1518. # [22:43] * Quits: bkardell (~AndChat14@rb-sip2-122.greenmountainaccess.net) (Ping timeout: 260 seconds)
  1519. # [22:43] <TabAtkins> annevk: That doesn't gain us much, though, as Hixie brings up further examples (all sectioning elements, all phrasing elements) which also make sense, and don't share a reasonable ancestor.
  1520. # [22:43] <dglazkov> I thought there was one more proposal about optional fallback, where <x-map> is same as <span/x-map>
  1521. # [22:43] <annevk> TabAtkins: at least it makes more sense from a JS perspective
  1522. # [22:43] * Joins: seventh (seventh@209.99.2.52)
  1523. # [22:44] <csuwldcat> TabAtkins: I think that's a separate issue
  1524. # [22:44] <csuwldcat> that can be solved with a repurposed is="" on the <element> def
  1525. # [22:44] <csuwldcat> correct?
  1526. # [22:45] <csuwldcat> so Hixie, TabAtkins, dglazkov, what happens when my MAP element is a canvas map?
  1527. # [22:45] <csuwldcat> you still force me to <select/map> ???
  1528. # [22:45] <hober> dglazkov: big surprise; after reviewing that bug thread, i find i'm somewhere between Hixie & hsivonen's positions. :)
  1529. # [22:46] <dglazkov> hober: I think you might be lost, then :P
  1530. # [22:46] <sjmiles_> rofl
  1531. # [22:46] <hober> heh
  1532. # [22:46] <bkardell_> hober: where are you?
  1533. # [22:46] <TabAtkins> csuwldcat: My proposal (last one in the wiki page) doesn't at all. Your <x-map> declares whatever its default native semantics are, and author can override per-instance if necessary.
  1534. # [22:47] <csuwldcat> TabAtkins: I like that
  1535. # [22:47] <hober> bkardell_: I prefer <select is=map> to <select/map> for several reasons, and prefer <select/map> to anything that involves not saying both "select" and "map"
  1536. # [22:47] <csuwldcat> hober: but attributes are a non-starter for a laundry list of reasons
  1537. # [22:47] * Quits: smaug____ (~chatzilla@cs181151161.pp.htv.fi) (Remote host closed the connection)
  1538. # [22:48] <sjmiles_> TabAtkins: my understanding is that some of the semantic meaning is intended for web-crawlers (search engines, and so on), so access to the element definitions can't be a requirement
  1539. # [22:48] <dglazkov> one is select.setAttribute("is", "fun");
  1540. # [22:48] <hober> csuwldcat: i disagree
  1541. # [22:48] * Joins: smaug____ (~chatzilla@cs181151161.pp.htv.fi)
  1542. # [22:48] <csuwldcat> sjmiles_: not so, google can and does parse all sorts of stuff like that
  1543. # [22:48] <bkardell_> hober: can I talk you out of select/map?
  1544. # [22:48] <bkardell_> :)
  1545. # [22:48] <csuwldcat> talk to Matt Cutts
  1546. # [22:48] <TabAtkins> sjmiles_: That's how Hixie states the requirement. More specifically, he feels that guaranteed access to the semantics even when you can't follow links (because you're offline, you've archived the one page, etc.) is required.
  1547. # [22:49] <hober> bkardell_: select/map isn't my preferred solution, so yeah, you can! :)
  1548. # [22:49] <bkardell_> hober: ok
  1549. # [22:49] <TabAtkins> sjmiles_: I am not as hardline. Requiring every page be self-contained seems a non-starter to me, because it means bloat in every page and more work for authors.
  1550. # [22:49] <csuwldcat> bkardell_: he likes is=""
  1551. # [22:49] <sjmiles_> IMO: anything that requires me as a web dev to define 'x-foo' as a select, and then say 'select' again every time they employ x-foo will make devs batshit
  1552. # [22:49] <bkardell_> hober: select is=map isn't my original/preferred, but I could likve
  1553. # [22:49] * Parts: zdobersek (~zdobersek@cpe-77.38.31.63.cable.t-1.si)
  1554. # [22:49] <bkardell_> live*
  1555. # [22:49] <csuwldcat> he's one of *those* people...jk hober
  1556. # [22:50] <TabAtkins> Also, many apps (what we really care about here) make no sense self-contained anyway - they often *need* the additional resources linked in to work at all. This is in contrast to documents, which can often be reasonably self-contained without great effort.
  1557. # [22:50] <bkardell_> it has numerous advantages actually, only 2 downs I can see
  1558. # [22:50] * Quits: annevk (~annevk@a82-161-179-17.adsl.xs4all.nl) (Read error: Connection reset by peer)
  1559. # [22:50] <bkardell_> hober: many will likely do <x is="select"
  1560. # [22:50] <sjmiles_> TabAtkins: that's tricky, if we really care about 'apps', the necessity of 5 and 7 is greatly reduced IMO
  1561. # [22:50] <csuwldcat> TabAtkins: great distinction and point, this is of primary concern to us at Mozilla
  1562. # [22:50] <bkardell_> I think anyway
  1563. # [22:50] <TabAtkins> sjmiles_: I agree!
  1564. # [22:50] * Joins: annevk (~annevk@a82-161-179-17.adsl.xs4all.nl)
  1565. # [22:51] <TabAtkins> sjmiles_: I think that documents have little need of Components in the first place.
  1566. # [22:51] <csuwldcat> we are trying to make the web a viable apps platform, and the competition is native platforms
  1567. # [22:51] <TabAtkins> sjmiles_: Whether or not they end up *using* a lot of components is still up in the air, of course.
  1568. # [22:51] <hober> bkardell_: i don't think many people would do that who aren't already doing <x class=map>
  1569. # [22:51] <csuwldcat> if the web seems cumbersome and hard to deal with, we lose, we all lose
  1570. # [22:51] <TabAtkins> sjmiles_: The hope is that the ugliness of the prefix prevents widespread use of API-free components solely to make "more semantic" names.
  1571. # [22:51] <bkardell_> TabAtkins:don't have to ignore them, but lower priority, right? I agree to that
  1572. # [22:52] <TabAtkins> While the terseness of the prefix doesn't put off apps that do need API-full components.
  1573. # [22:52] <hober> csuwldcat: i don't think that's a universally-held position (that it's native v. web, yadda yadda)
  1574. # [22:52] <sjmiles_> TabAtkins: I agree completely ... that's why I start at "terseness trumps" ... but to not completely remove 'documents' as a use case, I want something options
  1575. # [22:52] <sjmiles_> optional
  1576. # [22:52] <csuwldcat> hober: im in the trenches talking to all sorts of partner app companies daily bro, it is
  1577. # [22:52] <TabAtkins> Thus, hopefully, the current language design means that documents use few components, and only really for app-like things, while the meaningful parts use native elements.
  1578. # [22:53] <TabAtkins> And for apps, the things that *do* map decently to native semantics will often just use them anyway.
  1579. # [22:53] * Joins: bkardell (~AndChat14@rb-sip2-122.greenmountainaccess.net)
  1580. # [22:53] <bkardell_> who put "The "x-" prefix is ugly."
  1581. # [22:53] <bkardell_> I call bs
  1582. # [22:53] <csuwldcat> Hixie: another unsung benefit: x-tabbox will light a fire under the standardistas to standardize common tags sooner
  1583. # [22:53] <dglazkov> another thought: _why_ would a non "app" use web components? what would be the motivation?
  1584. # [22:53] <TabAtkins> The optional slash-tag thing is actually useful there - I find that I agree with Hixie quite a bit in that if you have a component for phrasing-level elements, it'll probably apply for *all* of them.
  1585. # [22:54] <csuwldcat> with the hapless marass of is="", we can go about coining useless document tags that do nothing interesting and simply carry on as usual
  1586. # [22:54] <TabAtkins> Writing <x-foo/i> and <x-foo/b> instead of <x-foo-i> and <x-foo-b> (and having to double/triple/more up your <element> definitions) seems just fine.
  1587. # [22:54] <dglazkov> the whole point of custom elements is to enable instantiate an object tree given markup
  1588. # [22:54] <TabAtkins> And means that the sematnics are self-contained.
  1589. # [22:54] <dglazkov> if you never use the object tree, what good will <x-foo> be?
  1590. # [22:54] <sjmiles_> yes, I've been trying to make these distinctions for a while now: app vs document, semantic HTML vs. application HTML, machine vs human semantics, and fallback vs semantic hinting ... seems like these are all conflated in this discussion
  1591. # [22:56] * Joins: stevefaulkner (~stevefaul@cpc20-nmal18-2-0-cust76.19-2.cable.virginmedia.com)
  1592. # [22:56] <bkardell_> sjmiles_: it's a hard line to draw though
  1593. # [22:56] <sjmiles_> for people that see a component for x-fancy-input, there is an obvious problem that it obscures the 'input-ness'
  1594. # [22:56] <bkardell_> when does the small thing become big
  1595. # [22:56] <hober> dglazkov: "non-app" web pages often sprinkle widgety-things here and there; i assume we'd like such things to be built with components
  1596. # [22:56] <annevk> bkardell_: it is ugly
  1597. # [22:56] <sjmiles_> I would argue it's intent not size
  1598. # [22:56] <bkardell_> or when does it become "red"
  1599. # [22:57] <csuwldcat> can I get at least an admittance from the is="" foo/bar crowd, that the way fallback is done today in things like object could easily work here
  1600. # [22:57] <sjmiles_> when I make x-report-generator, I much less concerned with losing some obvious native semantic
  1601. # [22:57] <TabAtkins> hober: Yes, it's the "here and there" thing that I find important - most of the content *probably* won't be components.
  1602. # [22:57] <csuwldcat> and that the only difference is that someone wants this to be forced on people from the top tag down
  1603. # [22:57] <hober> TabAtkins: sure.
  1604. # [22:57] <bkardell_> annevk: That's not taste?
  1605. # [22:57] <TabAtkins> csuwldcat: Where you nest the fallback into the element? I don't admit that it could "easily work" here.
  1606. # [22:58] <dglazkov> hober: ... and today, this is already <script> document.write ... chunk, not anything semantic
  1607. # [22:58] <TabAtkins> csuwldcat: Becauset he contents of a component are part of its API.
  1608. # [22:58] <csuwldcat> TabAtkins: do tell?
  1609. # [22:58] <bkardell_> annevk: please pick a better word so I can understand, or we should remove it from the wiki :)
  1610. # [22:58] <sjmiles_> for 'sprinkles' and highly seamantice overrides, we surely need some semantic hinting and perhaps fallback behavior
  1611. # [22:58] <csuwldcat> not if we include a fallback attribute
  1612. # [22:58] <hober> dglazkov: yeah, if we do this right we can improve on the status quo
  1613. # [22:58] <bkardell_> annevk: need facts, not opinions
  1614. # [22:58] <sjmiles_> for giant apps that never will work in ancient browser, or without JS, and so on, the semantic hinting is burdensome
  1615. # [22:58] <csuwldcat> TabAtkins: dglazkov: that would specifically tell the WC code not to use it
  1616. # [22:58] <bkardell_> annevk: too much of this is opinion already :)
  1617. # [22:58] <sjmiles_> IMO neither use case is invalid, so we need an OPTION
  1618. # [22:58] <TabAtkins> annevk: You'll have a hard time arguing that "x-" is particularly uglier than "div/". ^_^
  1619. # [22:58] <dglazkov> hober: yup. This is why we shouldn't have nasty hacks like magic attributes that never change.
  1620. # [22:59] <TabAtkins> csuwldcat: Possible, sure, but ugly in its own way, imo.
  1621. # [22:59] <hober> dglazkov: this is why we shouldn't have nasty hacks like sending custom element names over the wire :)
  1622. # [22:59] <csuwldcat> TabAtkins: in use today
  1623. # [22:59] <csuwldcat> no developer ramp time
  1624. # [22:59] <csuwldcat> easy to understand and completely opt-in, maintaining the optimal interface we know is better
  1625. # [22:59] <TabAtkins> csuwldcat: I don't think "fallback as child element" is in use today for component-type things. Only native elements that already have it built in.
  1626. # [23:00] <csuwldcat> <object>
  1627. # [23:00] <hober> dglazkov: <aside is=adsense> :)
  1628. # [23:00] <csuwldcat> sure
  1629. # [23:00] <csuwldcat> same-ish
  1630. # [23:00] <TabAtkins> csuwldcat: Another bad part of it is expressed on the wiki, too - if you don't really need to express fallback, just what it descends from, then it's just a silly talisman.
  1631. # [23:00] <dglazkov> hober: it's a nice idea. but it's an ugly hack: aside.setAttribute("is", "notAdsense"); // still adsense
  1632. # [23:01] <csuwldcat> TabAtkins: correct, as it will be for the majority of use-cases
  1633. # [23:01] <dglazkov> hober: custom element names, even select/map is better than that -- at least you're call things what they are
  1634. # [23:01] <annevk> dglazkov: seems kinda similar to <script src> to me
  1635. # [23:01] * Quits: hasather_ (~hasather_@cm-84.208.102.9.getinternet.no) (Remote host closed the connection)
  1636. # [23:01] <hober> but then you totally break parity between html and xhtml
  1637. # [23:01] <annevk> dglazkov: that's not too ugly
  1638. # [23:01] <csuwldcat> we are letting one concern, that is still addressed via other proposals, dominate the API and the use-cases, when itself is not a majority use-case
  1639. # [23:02] <csuwldcat> that is Unintuitive, Horse-Cart API Design 101
  1640. # [23:02] <sjmiles_> IMO, if HTML5 is ever going to battle native apps (particularly on mobile) we need to at least allow for streamlined syntax ... if you don't, devs will simply build something like it anyway, in Babel-Tower fashion
  1641. # [23:02] <csuwldcat> Cart-Horse, rather ;)
  1642. # [23:02] <dglazkov> annevk: well, it's no kinda like src. script.setAttribute("src") will still change the value
  1643. # [23:03] <dglazkov> the whole element becomes numb.
  1644. # [23:03] <bkardell> Annvk: script src, yes...I keep saying
  1645. # [23:04] <bkardell> Gglazkov: I could live with that...easily learnable
  1646. # [23:04] <csuwldcat> bkardell: but given there is only one use of script on the net today on 99.9% of sites, the argument is laced with obscurity and irrelevance
  1647. # [23:04] <sjmiles_> csuwldcat: hrm? that doesn't sound right
  1648. # [23:05] <annevk> dglazkov: did anyone seriously suggest changing setAttribute() semantics? doubt it
  1649. # [23:05] <bkardell> Csuwldcat: disagree.
  1650. # [23:05] <csuwldcat> bkardell: could you live with people adding is="" to elements that do nothing or throws errors, unless you meticulously inspect a linked document?
  1651. # [23:05] <sjmiles_> most sites have 9,000 scripts for +1 buttons and ad-servers and all kinds of gunk
  1652. # [23:05] <hober> annevk: indeed; i'm not suggesting that we should go anywhere near messing with setAttribute
  1653. # [23:05] <bkardell> Csuwldcat: yes...if it is the best equibrium we can find
  1654. # [23:06] <csuwldcat> but can we think for a second about the word equilibrium?
  1655. # [23:06] <bkardell_> csuwldcat: I can conceed that hixie and annevk and all have a kind of a point there
  1656. # [23:07] <bkardell_> csuwldcat: I think it is all about prioritizing the "requirements"
  1657. # [23:07] <csuwldcat> bkardell: I 100% agree
  1658. # [23:08] <csuwldcat> and I would like to do it according to occurrence, relevance/use-case/total use-cases
  1659. # [23:08] <bkardell_> csuwldcat: I dont know for sure if I think they all are the same value, but if we weigh them out and find select is= yields the best equilbrium... I could learn to cope
  1660. # [23:09] <csuwldcat> Can Hixie agree to rewrite the polyfill
  1661. # [23:09] <csuwldcat> I think it would be a great exercise for him to get in touch with the pain points
  1662. # [23:09] <bkardell_> csuwldcat: if you can get an honest fact pro/con of the implications then we can take up prioritization discussion
  1663. # [23:09] <csuwldcat> Can anyone here just write a few of these? and them make their case?
  1664. # [23:10] <dglazkov> The problem with developer ergonmics of "is" attribute become quite obvious once you have an app with 100s of components.
  1665. # [23:10] <csuwldcat> I'm curious to see a show of hands as to who has A) read the full spec B) tried to polyfill is="" C) written components with it
  1666. # [23:10] <sjmiles_> all 3
  1667. # [23:10] <sjmiles_> and years prior making custom component solutions
  1668. # [23:10] <csuwldcat> My spidy sense is telling me that the semanticists haven't
  1669. # [23:10] * Quits: yodasw16 (~yodasw16@ql1fwhide.rockfin.com) (Quit: yodasw16)
  1670. # [23:10] <TabAtkins> I suspect the raised hands are two - you, and sjmiles_.
  1671. # [23:11] <csuwldcat> just got a feeling about it
  1672. # [23:11] <sjmiles_> lol :)
  1673. # [23:11] <dglazkov> heey, I have 3 too
  1674. # [23:11] <sjmiles_> so, I see both sides
  1675. # [23:11] <sjmiles_> the problem I have is the requirement to FORCE semantics
  1676. # [23:12] <sjmiles_> seems to me that's really important to Hixie
  1677. # [23:12] <sjmiles_> and is ultimately where we keep getting stuck
  1678. # [23:12] <csuwldcat> opining from an armchair, and telling of the truth from the trenches after putting some skin in the game are two very different things
  1679. # [23:12] <sjmiles_> well yes, but the 'armchair' is just actually a different set of gnarly blood-filled trenches
  1680. # [23:12] <sjmiles_> don't forget :)
  1681. # [23:12] <csuwldcat> sjmiles_: that is squarely the issue, yes
  1682. # [23:12] * Joins: yorick (~yorick@oftn/member/yorick)
  1683. # [23:12] <csuwldcat> forced vs elected
  1684. # [23:13] <csuwldcat> neither of the competing proposals fail to address the issue, there is only the difference between forced and elected
  1685. # [23:14] <dglazkov> hober: btw, <aside><x-adsense> is probably better semantically anyway.
  1686. # [23:14] <dglazkov> but I digress
  1687. # [23:14] <csuwldcat> sjmiles_: Im not going to lie to people in the docs we write at mozilla, we're going to be very upfront about why the majority of the time they are playing in a mud pit
  1688. # [23:15] <bkardell_> I have edited the wiki - feel free to yell at me
  1689. # [23:15] <csuwldcat> if we go Vader on this, someone please own it, wear the mantle
  1690. # [23:15] * Joins: JibberJim (~opera@host-78-146-67-182.as13285.net)
  1691. # [23:15] <dglazkov> TabAtkins: I want to propose a slight alteration of your proposal
  1692. # [23:16] <dglazkov> TabAtkins: not "override", but "indicate".
  1693. # [23:16] <sjmiles_> csuwldcat: we're not done yet, don't go nuclear too soon
  1694. # [23:16] <dglazkov> you can't override <x-qux/h1> if x-quz is an HTMLDivElement. Thus, the slash-tag becomes the optional indicator of base semantic element
  1695. # [23:16] <TabAtkins> dglazkov: Same diff. You're ignoring the one specified in <element>.
  1696. # [23:17] * Quits: stevefaulkner (~stevefaul@cpc20-nmal18-2-0-cust76.19-2.cable.virginmedia.com) (Quit: stevefaulkner)
  1697. # [23:17] <TabAtkins> dglazkov: Oh, no, I was supposing that you *could* do exactly that.
  1698. # [23:17] <dglazkov> okay. Can you add this to wikeee
  1699. # [23:17] <TabAtkins> So, for example, a phrasing element component could default-extend <span>, but then you could do /b, /i, /u, whatever.
  1700. # [23:17] <csuwldcat> dglazkov: good point
  1701. # [23:17] <TabAtkins> /em
  1702. # [23:18] <dglazkov> I just want this to be an option for specifying base semantics.
  1703. # [23:18] <TabAtkins> dglazkov: What needs to be added? What I just said is exactly what the wiki indicates. ^_^
  1704. # [23:18] <TabAtkins> dglazkov: If you don't specify any base in <element>, I assume it extends <div> or somesuch.
  1705. # [23:18] <csuwldcat> TabAtkins: the word override has proto smashing implications
  1706. # [23:18] <bkardell_> tabatkins: but not what the wiki overrides
  1707. # [23:18] <csuwldcat> he wants you to scope it tighter
  1708. # [23:18] <bkardell_> :-p
  1709. # [23:18] * Quits: dcherman (~dcherman@164.55.254.106) (Ping timeout: 248 seconds)
  1710. # [23:18] * Joins: Stevef (~chatzilla@cpc20-nmal18-2-0-cust76.19-2.cable.virginmedia.com)
  1711. # [23:18] <bkardell_> indicates/overrides... see what I did there
  1712. # [23:19] <TabAtkins> csuwldcat: It should indeed proto-smash. If the element you're extending shows up in your proto, then doing /em should make HTMLEmElement show up in your proto chain.
  1713. # [23:19] <bkardell_> tabatkins: but only if it is more specific?
  1714. # [23:19] <dglazkov> TabAtkins: what if the custom element expects a certain proto (like methods, props)?
  1715. # [23:19] <TabAtkins> bkardell_: No need to care about that. (Anyway, I think the HTML*Element set are all leaf nodes.)
  1716. # [23:20] <TabAtkins> dglazkov: Then you break at runtime, presumably.
  1717. # [23:20] <dglazkov> TabAtkins: that seems bad?
  1718. # [23:20] <sjmiles_> seems like you suys are into something else now
  1719. # [23:20] <TabAtkins> Don't do bad things?
  1720. # [23:20] <sjmiles_> I cant say "an input is now an img'
  1721. # [23:20] <sjmiles_> why would I do that with custom elements?
  1722. # [23:20] * jonlee|afk is now known as jonlee
  1723. # [23:20] <csuwldcat> TabAtkins: can't do that
  1724. # [23:20] <TabAtkins> sjmiles_: native elements don't extend each other. Components can.
  1725. # [23:20] <sjmiles_> I mean, I see there are interesting possibilities there, but adding new abilities seems a bad idea at this point
  1726. # [23:21] <sjmiles_> yes, even more to the point
  1727. # [23:21] <sjmiles_> if I extend x-bar from x-foo, I can't then say "shove x-zot" prototype on it
  1728. # [23:21] <TabAtkins> Where do you get the information about what element you're extending if not from the proto chain?
  1729. # [23:21] <csuwldcat> what if the original proto and the props/methods it offered were materially relied upon in the component logic?
  1730. # [23:21] <TabAtkins> sjmiles_: You certainly can. Just fiddle with __proto__.
  1731. # [23:21] <TabAtkins> csuwldcat: Then it breaks. Again, don't do stupid things.
  1732. # [23:21] <csuwldcat> you smash that, it literally could be a monkey wrench in the gears
  1733. # [23:21] <sjmiles_> yes, it utterly breaks
  1734. # [23:22] * Krinkle is now known as Krinkle|detached
  1735. # [23:22] <sjmiles_> it's nonesensical
  1736. # [23:22] <sjmiles_> but with proper spelling
  1737. # [23:22] <csuwldcat> TabAtkins: the funny thing is, you don't know you're "doing stupid things"
  1738. # [23:22] <TabAtkins> For the situations we've talked about (component for all headings, all phrasing elements, all sectioning elements), it doesn't break.
  1739. # [23:22] <dglazkov> TabAtkins: that's a total foot gun
  1740. # [23:22] <TabAtkins> (Because the prototypes don't actually offer much of anything.)
  1741. # [23:22] <sjmiles_> yes, this is what I'm calling 'new interesting possibilities', which IMO is a mistake to add on
  1742. # [23:22] <csuwldcat> sure, now let's get real about how developers will actually try to use these things
  1743. # [23:23] <csuwldcat> it will be a field of landmies
  1744. # [23:23] <sjmiles_> most of what I'm doing is entirely dependent on a deterministic proto chain
  1745. # [23:23] <csuwldcat> mines
  1746. # [23:23] <TabAtkins> In Javascript you cna already do things like constructor.call(anotherObject).
  1747. # [23:23] <csuwldcat> you just traded a handknife for a footgun
  1748. # [23:23] <sjmiles_> yes, but if you just randomly do that, nothing will work
  1749. # [23:23] <csuwldcat> yeah
  1750. # [23:23] <bkardell_> tabatkins: but you have to at least know significant details of js and dom to do it
  1751. # [23:23] <TabAtkins> sjmiles_: What are you doing that depends on a constant prototype chain?
  1752. # [23:23] <csuwldcat> I just relied on the input's documentURI prop
  1753. # [23:23] * Joins: yroc (~yroc@CPE602ad09304e3-CM602ad09304e0.cpe.net.cable.rogers.com)
  1754. # [23:23] * Joins: stevefaulkner (~stevefaul@cpc20-nmal18-2-0-cust76.19-2.cable.virginmedia.com)
  1755. # [23:24] <csuwldcat> oops, they just smashed it with /button
  1756. # [23:24] <bkardell_> tabatkins: declarative is a little bigger space of people right?
  1757. # [23:24] <csuwldcat> no more documentURI
  1758. # [23:24] <csuwldcat> but shucks, they *looked* just like two buttons
  1759. # [23:24] <sjmiles_> TabAtkins: when I inherit Bar from Foo, Bar expects to use Foo's prototypical implementation
  1760. # [23:24] * Quits: Stevef (~chatzilla@cpc20-nmal18-2-0-cust76.19-2.cable.virginmedia.com) (Ping timeout: 248 seconds)
  1761. # [23:24] <sjmiles_> TabAtkins: if it's not there, Bar will not work
  1762. # [23:24] <csuwldcat> devs will make phenotypical judgements on interop
  1763. # [23:25] <TabAtkins> sjmiles_: Only some elements have non-trivial prototypes. The examples so-far-given where you want to be able to extend multiple elements identically all ahve trivial prototypes.
  1764. # [23:25] <astearns> dglazkov: are you thinking of removing the optional indication of base semantics in <element> in favor of an optional indication in <x-component/base>?
  1765. # [23:25] <sjmiles_> TabAtkins: I'm confused about this dicussion. In general, although you can call "Boat" constructor on a "Car" object, it doesn't mean it will float. :)
  1766. # [23:25] * Quits: weinig (~weinig@2620:149:4:1b01:f1cd:6b6e:9dca:71f9) (Quit: weinig)
  1767. # [23:25] <csuwldcat> to think that they are going to scan a hundred(s) lines long component definition for any use of a proto prop not to smash is a fairytale
  1768. # [23:26] <TabAtkins> csuwldcat: No, I expect that authors usually won't use /foo at all. When they can do so, hopefully it's documented.
  1769. # [23:26] <dglazkov> astearns: all of these are proposals here: http://wiki.whatwg.org/wiki/Components
  1770. # [23:26] <csuwldcat> sjmiles_: oh I like that
  1771. # [23:26] <TabAtkins> The cases being handled by the override thing are those that I think are minority in the first place, but still interesting enough to be worth addressing.
  1772. # [23:26] <csuwldcat> TabAtkins: Hope and Change hasn't worked out hardly as well as advertised in the past...
  1773. # [23:26] <sjmiles_> Ok, I suspect I missed some key bit here and am arguing Quixotically
  1774. # [23:27] <csuwldcat> sjmiles_: no, you're right on
  1775. # [23:27] <csuwldcat> __proto__ setting will infact xfer props, but they will explode if you try to use them
  1776. # [23:27] <csuwldcat> thus your Car/Boat thing was apropreate
  1777. # [23:27] <TabAtkins> sjmiles_: The arguments I've heard so far for per-element base indication is, say, wanting a common API on all phrasing elements (<a>, <b>, <i>, <em>, <strong>, etc.). In the current spec, you'd need to do this by defining a bunch of identical components.
  1778. # [23:27] <csuwldcat> btw, I suck at spelling, ftr
  1779. # [23:27] <astearns> dglazkov: right - I read into what you were saying above as option 6 *without* the default extension specified in <element> - removing the extends attribute of <element>
  1780. # [23:28] <TabAtkins> My optional /foo thing lets you address this in a more natural way, by defining the component once and then saying which element it's extending per use (with a default extension still available).
  1781. # [23:29] <csuwldcat> TabAtkins: will the rule of the day be defensive self-inspection code inside components?
  1782. # [23:29] <TabAtkins> It seems obviously silly to do something like <x-drawing-surface/select>, though.
  1783. # [23:29] <TabAtkins> csuwldcat: Why do you assume that "oh shit, the page doesn't work, maybe it's because I did something stupid by adding this extra /foo stuff" is insufficient?
  1784. # [23:29] <dglazkov> astearns: no, not that :)
  1785. # [23:29] <csuwldcat> <x-drawing-surface><select fallback></select></x-drawing-surface>
  1786. # [23:29] <TabAtkins> (Alternately, we could define a set of pre-existing categories that you can extend from, which limits you.
  1787. # [23:30] <csuwldcat> TabAtkins: I like that better
  1788. # [23:30] <sjmiles_> TabAtkins: if I make 'x-sjmiles-cool' can I write <x-sjmiles-cool> in my html? that's what I want.
  1789. # [23:30] <dglazkov> TabAtkins: I think the list is simply all tag names that have this prototype
  1790. # [23:30] <TabAtkins> For example, saying <element name=x-foo extends=span category=phrasing> allows <x-foo/b>, but throws an error somewhere if you do <x-foo/input>.
  1791. # [23:30] <sjmiles_> alternatives, options, and extensions are all fine by me
  1792. # [23:30] <csuwldcat> especially if we're already throwing out the canard requirement that you have to have it operate without the linked doc
  1793. # [23:30] * Quits: bkardell_ (~bkardell@rb-sip2-122.greenmountainaccess.net) (Ping timeout: 248 seconds)
  1794. # [23:30] <TabAtkins> dglazkov: Most tags are direct children of HTMLElement, though, so that's not a useful categorization scheme.
  1795. # [23:31] <dglazkov> the use case where it's necessary is h1..h6 and what else?
  1796. # [23:31] <TabAtkins> sjmiles_: Yes, once again, I've always been for that. My proposal is the last entry in the wiki page, like I said before.
  1797. # [23:31] <TabAtkins> dglazkov: Heading elements, phrasing elements, sectioning elements, maybe others?
  1798. # [23:31] <csuwldcat> dglazkov: ol, ul
  1799. # [23:31] <annevk> dglazkov: quote/blockquote ins/del share the interface too
  1800. # [23:31] <TabAtkins> Ah yeah, lists make sense.
  1801. # [23:32] <dglazkov> aha, all these guys.
  1802. # [23:32] <csuwldcat> so, just to be clear
  1803. # [23:32] <csuwldcat> this is a need
  1804. # [23:32] <annevk> dglazkov: prolly a few others
  1805. # [23:32] <sjmiles_> TabAtkins: great, but there is not general agreement on that core point. Once there is, I can go away. :)
  1806. # [23:32] * Krinkle|detached is now known as Krinkle
  1807. # [23:32] <csuwldcat> but not a proto need
  1808. # [23:32] <dglazkov> csuwldcat: prototype never changes, correct.
  1809. # [23:32] <csuwldcat> hmm
  1810. # [23:32] <csuwldcat> well that's not exactely right
  1811. # [23:32] <dglazkov> at least in my head :)
  1812. # [23:32] <TabAtkins> sjmiles_: You dont' have to argue with me on that point, at least.
  1813. # [23:33] <csuwldcat> let's imagine for a sec that some day in the future, we add some thing that only works on a ol
  1814. # [23:33] <csuwldcat> some kind of sort or something
  1815. # [23:33] <TabAtkins> dglazkov: It seems weird if <x-coolspan/b> has HTMLSpanElement in its prototype, rather than HTMLBoldElement.
  1816. # [23:33] <csuwldcat> and then we have the need to be strictly bound
  1817. # [23:33] * Krinkle is now known as Krinkle|detached
  1818. # [23:33] <dglazkov> <element extends="ol" name="x-gar">.. </element> usage: <x-gar/ul> or <x-gar/ol>
  1819. # [23:33] <TabAtkins> (Actually, <b> doesn't even ahve an interface of its own.)
  1820. # [23:33] <csuwldcat> dglazkov: true enough
  1821. # [23:34] <TabAtkins> dglazkov: Now, how do you establish such a restriction, such that <x-gar/input> is not allowed?
  1822. # [23:34] <TabAtkins> (Also, what does "not allowed" mean?)
  1823. # [23:34] <csuwldcat> TabAtkins: how could you?
  1824. # [23:34] <TabAtkins> csuwldcat: I don't understand the question. State it more explicitly?
  1825. # [23:35] <dglazkov> look at slash-tag, and look at tag, if their base prototype is different, then throw away slash-tag
  1826. # [23:35] * jonlee is now known as jonlee|afk
  1827. # [23:35] <TabAtkins> dglazkov: Once again, that doesn't work. <ol> and <ul> have different prototypes.
  1828. # [23:35] <csuwldcat> How could you other than an inferred blacklist based off the diff between an explicit whitelist?
  1829. # [23:35] <dglazkov> TabAtkins: ah, then my example is wrong
  1830. # [23:35] <TabAtkins> *Some* categories of elements have a nice prototype relationship. Definitely not all.
  1831. # [23:36] <TabAtkins> For example, a lot of phrasing element just use HTMLElement directly - they don't even ahve their own unique interface.
  1832. # [23:37] <csuwldcat> Where is the line between this whole debate and role="" (hopefully that isn't a stupid question - ducks)
  1833. # [23:37] <dglazkov> <element name="x-fart"> (extends HTMLElement) usage: <x-fart/b> or any html tag that uses HTMLElement directly
  1834. # [23:37] <dglazkov> <element name="x-burp" extends="HTMLHeadingElement"> usage <x-burp/h1>, <x-burp/h2>, etc.
  1835. # [23:37] <dglazkov> whoa, me wrong
  1836. # [23:38] <TabAtkins> dglazkov: Now you can't use <x-foo/time>?
  1837. # [23:38] <dglazkov> <element name="x-burp" extends="h1">
  1838. # [23:38] <TabAtkins> (Dude, please use standard metasyntactic variables. It's annoying typing fart and burp.)
  1839. # [23:38] <dglazkov> sorry :)
  1840. # [23:38] * Quits: fr0zenice (~frozenice@unaffiliated/fr0zenice) (Remote host closed the connection)
  1841. # [23:38] <csuwldcat> TabAtkins: buzzkill!
  1842. # [23:39] <csuwldcat> :)
  1843. # [23:39] <TabAtkins> Note that <time> is, for most intents and purposes, a standard phrasing element. The only difference is that it additionally has a .datetime property.
  1844. # [23:39] <TabAtkins> But your test (compare prototype grandparents) would fail it.
  1845. # [23:39] <dglazkov> <element name="x-zoot" extends="time"> can only be <x-zoot> and <x-zoot/time>
  1846. # [23:39] <dglazkov> TabAtkins: yup.
  1847. # [23:39] <dglazkov> we're not decorating here.
  1848. # [23:39] <csuwldcat> dglazkov: yes that makes sense
  1849. # [23:39] <csuwldcat> because if we're dling the linked doc
  1850. # [23:40] <dglazkov> all types are deterministic. The optional notation is only to:
  1851. # [23:40] <csuwldcat> we know they are always time
  1852. # [23:40] <TabAtkins> dglazkov: I'm not decorating either. I'm just saying that the difference between <b> and <time> isn't large enought to justify forever barring them from being used with the same component.
  1853. # [23:40] <csuwldcat> and why would anyone masquerade one truly accurate semantic as another?
  1854. # [23:40] <csuwldcat> other than the Heading case....
  1855. # [23:40] <dglazkov> a) disambiguate tags have the same prototype
  1856. # [23:40] <dglazkov> b) allow painting semantics on custom tags
  1857. # [23:41] <TabAtkins> dglazkov: You didn't answer my objection.
  1858. # [23:41] <dglazkov> TabAtkins: because it stomps on proto and makes a foot gun. Take time element for example
  1859. # [23:42] <TabAtkins> The difference between <time> and <b>, or <data> and <b>, or perhaps others, isn't large enough to justify forever barring them from using the same component API.
  1860. # [23:42] <dglazkov> suppose the component only uses datetime property on some condition (hover at a certain time)
  1861. # [23:42] <dglazkov> the awesome author Bob takes this component (let's call it x-roo) and sticks it on a b
  1862. # [23:42] <dglazkov> <x-roo/b>
  1863. # [23:42] <dglazkov> everything looks great
  1864. # [23:42] <dglazkov> then Bob ships the site
  1865. # [23:42] <TabAtkins> It means that I must write two identical components, the only difference being that one is defined with <element name=x-foo extends=span> and the other is <element name=x-foo-data extends=data>.
  1866. # [23:42] <dglazkov> and it breaks 3 hours later
  1867. # [23:43] <dglazkov> it's a foot gun
  1868. # [23:43] <dglazkov> TabAtkins: sure. that's how you should do it.
  1869. # [23:43] <TabAtkins> dglazkov: You're misreading me. If we're talking categories, and we care about possibly different protos, then I'm saying that *your categories are insufficient*, not *fuck categories, let people do whatever*.
  1870. # [23:43] <csuwldcat> I agree with the footgun eventuality, it will happen, and there will be blood (cinema reference...nvm)
  1871. # [23:43] <TabAtkins> For example, something like <element category=phrasing> could be used with /b and /time.
  1872. # [23:44] <dglazkov> ohhh
  1873. # [23:44] <dglazkov> I see
  1874. # [23:44] <dglazkov> so the author of the component would have to build it knowingly for a category of elements
  1875. # [23:44] <csuwldcat> TabAtkins: this is what I was saying earlier
  1876. # [23:44] <csuwldcat> (2:35:31 PM) csuwldcat: How could you other than an inferred blacklist based off the diff between an explicit whitelist?
  1877. # [23:44] <csuwldcat> category == that whitelist
  1878. # [23:45] <dglazkov> TabAtkins: but if Bob the author attempts to use a component that was not built for a specific category, the browser says no.
  1879. # [23:45] <dglazkov> right?
  1880. # [23:45] <TabAtkins> csuwldcat: Since I had explicitly already introduced that as an option before you said that line, I was confused what you were trying to say. ^_^
  1881. # [23:45] <TabAtkins> dglazkov: What does "the browser says no" mean?
  1882. # [23:45] <csuwldcat> TabAtkins: fair -nough
  1883. # [23:46] <dglazkov> throw error, ignore, whatevs
  1884. # [23:46] <dglazkov> TBD
  1885. # [23:46] <csuwldcat> dglazkov: but what does it do in the meantime?
  1886. # [23:46] <csuwldcat> and what does it do once it errors?
  1887. # [23:47] <csuwldcat> disapear the element from render or just leave it with the error thrown?
  1888. # [23:47] <dglazkov> since the override is secondary, I think we could just ignore it
  1889. # [23:47] <csuwldcat> ok
  1890. # [23:47] <TabAtkins> Ignoring the override is an acceptable answer to me.
  1891. # [23:47] <csuwldcat> that makes sense
  1892. # [23:47] <TabAtkins> This requires that we predefine some categories.
  1893. # [23:47] <dglazkov> so if Bob does <x-zoo/input> and x-zoo has category="phrasing", it just defaults to <x-zoo>
  1894. # [23:47] <dglazkov> TabAtkins: yay work!
  1895. # [23:47] <TabAtkins> It also means we should consider whether this is actually worth this effort.
  1896. # [23:48] <sjmiles_> TabAtkins: ^ this
  1897. # [23:48] <dglazkov> TabAtkins: also, this can be done later.
  1898. # [23:48] <dglazkov> TabAtkins: new feature
  1899. # [23:48] <csuwldcat> TabAtkins: ^ yep +1
  1900. # [23:48] <sjmiles_> you are the heavy hitters, resolve [Bug 18669] first please
  1901. # [23:48] <dglazkov> we can start with just making slash-tag an option to paint semantics
  1902. # [23:49] <csuwldcat> I'd want to take a long hard look at the % of real use-cases we expect, and how much more it adds that can confuse
  1903. # [23:49] * sjmiles_ is stuck in a rut
  1904. # [23:49] * Joins: marcosc (~marcosc@bl11-209-244.dsl.telepac.pt)
  1905. # [23:49] <dglazkov> sorry, sjmiles_
  1906. # [23:49] <dglazkov> look another TAG member!
  1907. # [23:50] <csuwldcat> sjmiles_: Call a x-towtruck/winch...but only if the towtruck is compatible, no worries, you'll find out async after the two truck driver already arrives ;)
  1908. # [23:50] * dglazkov is easily distracted
  1909. # [23:50] <sjmiles_> csuwldcat: TabAtkins is particularly good at making things like that actually work, so dont' take it off the table!
  1910. # [23:50] <dglazkov> we have people at various stages of acceptance. This is consensus-driven, so we need have them all
  1911. # [23:50] <csuwldcat> haha, ok, agreed
  1912. # [23:51] <csuwldcat> wellllll
  1913. # [23:51] <dglazkov> 1) Hixie I think is the closest to the finish line
  1914. # [23:51] <sjmiles_> we beat some of the stakeholders into silence (but not submission)
  1915. # [23:51] <dglazkov> 2) annevk is unknown
  1916. # [23:52] <csuwldcat> dglazkov: is the finish line a high precipice of some sort?
  1917. # [23:52] <dglazkov> 3) hober is just starting
  1918. # [23:52] <dglazkov> csuwldcat: I think general understanding of the problem and seeing the spectrum of solutions
  1919. # [23:52] <csuwldcat> dglazkov: do you get the sense he will agree to an optional solution wrt semantics?
  1920. # [23:53] <dglazkov> 4) csuwldcat is way over finish line, far far beyond the horizon. We can only hear his screams
  1921. # [23:53] <csuwldcat> I was not getting that feeling, just saying...
  1922. # [23:53] <csuwldcat> haha, I've already won 7 tour de frances
  1923. # [23:53] * Quits: marcosc (~marcosc@bl11-209-244.dsl.telepac.pt) (Ping timeout: 248 seconds)
  1924. # [23:53] <csuwldcat> no doping either
  1925. # [23:53] * Quits: stevefaulkner (~stevefaul@cpc20-nmal18-2-0-cust76.19-2.cable.virginmedia.com) (Quit: stevefaulkner)
  1926. # [23:54] <dglazkov> I don't take Hixie's opinion lightly. If he has a strong opinion, there's a good reason for it.
  1927. # [23:54] <csuwldcat> dglazkov: I agree it is a completely valid case/desire, never robbed him of that fact
  1928. # [23:54] <csuwldcat> just how product relevant it is to the world large and the on-the-ground rate of applicable occurrence
  1929. # [23:58] <sjmiles_> optional FTW
  1930. # [23:59] * Quits: annevk (~annevk@a82-161-179-17.adsl.xs4all.nl) (Ping timeout: 260 seconds)
  1931. # Session Close: Sat Jan 12 00:00:00 2013

The end :)