Options:
- # Session Start: Fri Jan 11 00:00:00 2013
- # Session Ident: #whatwg
- # [00:00] <csuwldcat> I am
- # [00:00] <csuwldcat> im just weighing them against the majority of use-cases
- # [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"
- # [00:00] <csuwldcat> I don't think it rises to a level that warrents complicating the ergonomics
- # [00:00] <Hixie> you keep referring to this "majority of use cases". are the use cases documented somewhere?
- # [00:00] <sjmiles> this is one crucial disagreement
- # [00:00] <csuwldcat> warrants*
- # [00:01] <sjmiles> I posted a link to a page of 'components', did you see those?
- # [00:01] <Hixie> (thank you for writing full sentences btw, it's making it much easier to follow)
- # [00:01] <csuwldcat> https://github.com/mozilla/x-tag-elements
- # [00:01] * Quits: karlcow (~karl@nerval.la-grange.net) (Quit: :tiuQ tiuq sah woclrak)
- # [00:01] <csuwldcat> half of those elements don't extend semantic ones
- # [00:01] * Quits: nimbu (~nimbu@sjfw1-a.adobe.com) (Quit: Leaving.)
- # [00:01] <csuwldcat> Hixie: do be mindful of what sjmiles mentioned about decorators
- # [00:02] <csuwldcat> if your "compontent" is that close to a native element
- # [00:02] <csuwldcat> you are likely writing a decorator
- # [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>.
- # [00:02] * Quits: dcherman (~dcherman@164.55.254.106) (Ping timeout: 246 seconds)
- # [00:02] <csuwldcat> which acts precisely the way you want
- # [00:02] <sjmiles> I don't understand 'applicable to the web'
- # [00:02] * Quits: vcarbune (~vcarbune@86.121.18.229) (Ping timeout: 256 seconds)
- # [00:02] <sjmiles> all those components are in use in applications that use web technology, is this the problem?
- # [00:02] <sjmiles> the classic 'page vs app' debate?
- # [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
- # [00:04] <csuwldcat> aka, the way and cases this API will be used en mass
- # [00:04] * Quits: dbaron (~dbaron@v-1045.fw1.sfo1.mozilla.net) (Quit: 8403864 bytes have been tenured, next gc will be global.)
- # [00:04] <csuwldcat> Is that not of primary importance?
- # [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.
- # [00:04] <csuwldcat> Hixie: I really think the decorators thing is the seperation point
- # [00:05] <csuwldcat> I love the idea that they can bridge this gap
- # [00:05] <Hixie> most of them on https://github.com/mozilla/x-tag-elements also extend existing elemeents
- # [00:05] <csuwldcat> sjmiles: thank you for bringing that up
- # [00:05] * Quits: tomasf (~tom@c-44dbe555.024-204-6c6b7012.cust.bredbandsbolaget.se) (Ping timeout: 248 seconds)
- # [00:05] <Hixie> this all seems to suggest that "the majority of use-cases" do not extend <div>
- # [00:05] <Hixie> they extend existing elements
- # [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.
- # [00:06] <csuwldcat> dragbox, alert, dialog, flipbox, indexed scroller, map, mediaquery, modal, panel, shiftbox, slidebox, template - all do not
- # [00:07] <csuwldcat> Hixie: the ones that do, would be decorators
- # [00:07] <csuwldcat> We just don't have the polyfill for that yet
- # [00:07] <csuwldcat> so they are in there
- # [00:07] <Hixie> dragbox is a <select> or <menu> extension (not entirely clear to me).
- # [00:07] <csuwldcat> an example would be autocomplete, that would be a decorator
- # [00:07] <Hixie> alert-popup is a <dialog> extension
- # [00:08] <Hixie> dialog-toast is a <dialog> extension
- # [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
- # [00:08] <csuwldcat> sure, they would be decorators
- # [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
- # [00:09] <Hixie> index-scroller seems to be nothing currently, so can't tell
- # [00:09] <csuwldcat> but some of those have proto methods
- # [00:09] <csuwldcat> which point to custom elements
- # [00:09] <csuwldcat> so that's is not true for most of the ones I listed
- # [00:10] <csuwldcat> flipbox could be, slidebox would not be
- # [00:10] * Quits: Zauberfisch (~Zauberfis@2a01:4f8:100:73c3::3) (Ping timeout: 246 seconds)
- # [00:10] <csuwldcat> because that needs a template, proto props, and extended methods
- # [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).
- # [00:11] <csuwldcat> it shows a Leaflet interactive map
- # [00:11] <csuwldcat> not an img
- # [00:11] <Hixie> anyway, this clearly doesn't demonstrate that <div> is what the majority will be derived from
- # [00:11] <csuwldcat> and not a country picker, just a map that can be used for any purpose
- # [00:11] <Hixie> so, let's put that to rest, please
- # [00:12] <csuwldcat> that is not accurate, and I don't agree
- # [00:12] <Hixie> !
- # [00:12] <Hixie> we just went through a bunch of them!
- # [00:12] <csuwldcat> most of those need proto extension
- # [00:12] <Hixie> what does that mean?
- # [00:13] <Hixie> that they define an externally visible API?
- # [00:13] <csuwldcat> they need to extend the type and provide new functions/accessors
- # [00:13] <csuwldcat> correct, one that goes beyond attributes
- # [00:13] <Hixie> what does that have to do with whether they are equivalent to an <input> or a <div>?
- # [00:13] <csuwldcat> it is the delineation between a decorator and a custom element
- # [00:15] * heycam is now known as heycam|away
- # [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
- # [00:15] <csuwldcat> you'are map could be svg or canvas
- # [00:16] <csuwldcat> just because you believe a developer should take on a tag, doesn't mean their use-case is so narrowly defined
- # [00:16] <csuwldcat> your*
- # [00:17] <Hixie> i don't see why decorators are relevant here
- # [00:17] <csuwldcat> Hixie: a intense discussion, but necessary, thank you for having it
- # [00:17] * Joins: Zauberfisch (~Zauberfis@2a01:4f8:100:73c3::3)
- # [00:17] <csuwldcat> an intense*
- # [00:17] * Parts: csuwldcat (~dbuchner@nat/mozilla/x-ofmbxcdgqlbedrdl)
- # [00:19] * Quits: Areks_home (~Areks@95-26-66-229.broadband.corbina.ru) (Ping timeout: 256 seconds)
- # [00:19] * Quits: ap (~ap@2620:149:4:1b01:1b4:275a:291e:d332) (Quit: ap)
- # [00:21] * Quits: weinig (~weinig@2620:149:4:1b01:64d1:f6f6:2995:e7f1) (Quit: weinig)
- # [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"?
- # [00:22] * Quits: lilmonkey (~colin@pdpc/supporter/professional/riven) (Read error: Connection reset by peer)
- # [00:22] * Joins: lilmonkey (~colin@53518387.cm-6-2c.dynamic.ziggo.nl)
- # [00:22] * Quits: lilmonkey (~colin@53518387.cm-6-2c.dynamic.ziggo.nl) (Changing host)
- # [00:22] * Joins: lilmonkey (~colin@pdpc/supporter/professional/riven)
- # [00:23] * Quits: bkardell (~AndChat14@rb-sip2-122.greenmountainaccess.net) (Ping timeout: 252 seconds)
- # [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?
- # [00:27] * Joins: bkardell (~AndChat14@rb-sip2-122.greenmountainaccess.net)
- # [00:27] <sjmiles> Right, Sgt. Major. Marching up and down the square!
- # [00:27] * Quits: WeirdAl (~chatzilla@g2spf.ask.info) (Quit: ChatZilla 0.9.89 [Firefox 18.0/20130104151925])
- # [00:28] * Joins: dcherman (~dcherman@ool-45787007.dyn.optonline.net)
- # [00:28] * Quits: scor (~scor@drupal.org/user/52142/view) (Quit: scor)
- # [00:31] * Quits: necolas (~necolas@8.25.197.25) (Read error: Connection reset by peer)
- # [00:31] * Joins: necolas (~necolas@8.25.197.25)
- # [00:31] * Quits: sorvell (480ee551@gateway/web/freenode/ip.72.14.229.81) (Quit: Page closed)
- # [00:33] <Hixie> sjmiles: my concern is for the case of the UA that doesn't implement components
- # [00:33] <Hixie> sjmiles: and for those, the UA needs to know what element to treat the component element as
- # [00:36] * Joins: jsoncorwin (~textual@208.106.28.36)
- # [00:37] * Quits: SimonSapin (~simon@ip-166.net-89-2-153.rev.numericable.fr) (Ping timeout: 260 seconds)
- # [00:39] <bkardell> Sorry catching up
- # [00:39] <bkardell> Wait ... hixie, you keep saying "not select/x-map" but your who point was that legacy read that as attr
- # [00:40] <bkardell> Now you are advocating willynilly attributes in the global space?
- # [00:40] <bkardell> What am I missing?
- # [00:41] <Hixie> not just legacy, any UA that doesn't implement web components
- # [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
- # [00:41] <Hixie> the parser would be changed so that <foo/bar> wouldn't treat "bar" as an attribute.
- # [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.
- # [00:42] <Hixie> sjmiles: in the case of the map, i agree, img wouldn't be particularly useful for fallback. Nothing really would be.
- # [00:42] * linclark|afk is now known as linclark
- # [00:42] <Hixie> dglazkov: the former is an issue too
- # [00:42] * dglazkov throws a line into the crowd and runs away
- # [00:42] * Quits: linclark (~clark@c-67-186-35-246.hsd1.pa.comcast.net) (Quit: linclark)
- # [00:43] <bkardell> Right but you can't change legacy
- # [00:43] <bkardell> Why is the former not an issue?
- # [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 :)
- # [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.
- # [00:43] <bkardell> Input/type
- # [00:43] <Hixie> sjmiles: hm?
- # [00:44] * Joins: nimbu (~nimbu@sjfw1-a.adobe.com)
- # [00:44] <bkardell> You would effectively reserve every valid attr of the base tag instead of just saying x-??
- # [00:44] <bkardell> Hixie...shame
- # [00:44] * Quits: nimbu (~nimbu@sjfw1-a.adobe.com) (Client Quit)
- # [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
- # [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
- # [00:46] <Hixie> bkardell: no, i'm saying don't use attributes at all
- # [00:46] <sjmiles> sorry "existing components" was supposed to be "existing semantics"
- # [00:46] <bkardell> In legacy it _is_ an attr
- # [00:47] <bkardell> Isn't that why you suggested in the first? We tried it, it is
- # [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.
- # [00:47] <Hixie> bkardell: i don't understand the relevance of legacy parsers here.
- # [00:47] * Quits: smaug____ (~chatzilla@cs181151161.pp.htv.fi) (Remote host closed the connection)
- # [00:48] <bkardell> Doesn't it defeat the whole pupose if we jump hoops to make legacy work only to kill it
- # [00:48] * Joins: smaug____ (~chatzilla@cs181151161.pp.htv.fi)
- # [00:48] * Quits: sedovsek (~robert@BSN-176-193-164.dial-up.dsl.siol.net) (Quit: sedovsek)
- # [00:48] <bkardell> I am gonna have to go read that thread again
- # [00:48] * Joins: nimbu (~nimbu@sjfw1-a.adobe.com)
- # [00:48] <nimbu> OMG
- # [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?
- # [00:49] <nimbu> AHEM w3cmemes creator
- # [00:49] <nimbu> there is one waiting to be created on today's news
- # [00:49] <Hixie> bkardell: how does this kill something?
- # [00:49] <sjmiles> hixie: well, this is the distinction I was asking about in the lull ... the difference between 'machine semantics' and 'fallback'
- # [00:50] <sjmiles> that's why I wanted to consider some kind of 'machine semantic hint'
- # [00:50] * Quits: yorick (~yorick@oftn/member/yorick) (Remote host closed the connection)
- # [00:50] <sjmiles> but ultimately that falls in the category of 'make it optional'
- # [00:51] <bkardell> Ok... today select/map is parsed as select map
- # [00:51] <Hixie> sure but today browsers don't do web components either, so...
- # [00:52] <Hixie> that's kind of a non-issue
- # [00:52] <bkardell> Anything that is not legacy is by definition new
- # [00:52] <zewt> (well, no)
- # [00:53] <bkardell> So what part of the new is problematic with the fallback approach I suggested
- # [00:53] <bkardell> Did I miss it?
- # [00:53] <Hixie> the <foo><bar> thing?
- # [00:53] <Hixie> well it's two elements, and it doesn't fail if you don't give the <bar>
- # [00:53] <Hixie> so it kinda misses the whole point of keeping semantics
- # [00:54] <Hixie> i gotta go, meeting. bbl
- # [00:54] * heycam|away is now known as heycam
- # [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
- # [00:55] <bkardell> Esp if someone can explain what hixie just said right there :)
- # [00:59] * Joins: nonge (~nonge@p5B326372.dip.t-dialin.net)
- # [01:00] * Quits: bkardell (~AndChat14@rb-sip2-122.greenmountainaccess.net) (Ping timeout: 248 seconds)
- # [01:00] * Quits: baku (~baku@62.50.252.84) (Quit: Leaving)
- # [01:03] * Quits: nimbu (~nimbu@sjfw1-a.adobe.com) (Quit: Leaving.)
- # [01:11] * Joins: bkardell (~AndChat14@rb-sip2-122.greenmountainaccess.net)
- # [01:11] <bkardell> :x|
- # [01:11] * Quits: necolas (~necolas@8.25.197.25) (Remote host closed the connection)
- # [01:14] * Quits: bkardell (~AndChat14@rb-sip2-122.greenmountainaccess.net) (Client Quit)
- # [01:18] * Joins: nimbu (~nimbu@sjfw1-a.adobe.com)
- # [01:23] * Quits: sjmiles (480ee551@gateway/web/freenode/ip.72.14.229.81) (Quit: Page closed)
- # [01:25] * Quits: decotii (~decotii@hq.croscon.com) (Quit: Leaving)
- # [01:26] * Quits: ginger (~Adium@2401:fa00::dc45:b676:e664:32fe) (Quit: Leaving.)
- # [01:32] * Quits: Kolombiken (~Adium@c80-216-10-244.bredband.comhem.se) (Quit: Leaving.)
- # [01:34] * Joins: scor (~scor@c-98-216-39-127.hsd1.ma.comcast.net)
- # [01:34] * Quits: scor (~scor@c-98-216-39-127.hsd1.ma.comcast.net) (Changing host)
- # [01:34] * Joins: scor (~scor@drupal.org/user/52142/view)
- # [01:37] * Joins: dbaron (~dbaron@v-1045.fw1.sfo1.mozilla.net)
- # [01:40] * Quits: tantek (~tantek@70-36-139-86.dsl.dynamic.sonic.net) (Quit: tantek)
- # [01:40] * Joins: tantek (~tantek@70-36-139-86.dsl.dynamic.sonic.net)
- # [01:47] * Joins: rniwa (~rniwa@2620:149:4:1b01:ac2b:2969:76c5:2558)
- # [01:49] * Quits: ehsan (~ehsan@66.207.208.98) (Remote host closed the connection)
- # [01:49] * Quits: nimbu (~nimbu@sjfw1-a.adobe.com) (Quit: Leaving.)
- # [01:49] * Joins: ehsan (~ehsan@66.207.208.98)
- # [01:54] * Quits: ehsan (~ehsan@66.207.208.98) (Ping timeout: 252 seconds)
- # [01:57] * Joins: karlcow (~karl@nerval.la-grange.net)
- # [01:57] * Quits: dcherman (~dcherman@ool-45787007.dyn.optonline.net) (Ping timeout: 276 seconds)
- # [02:00] * Joins: bkardell (~AndChat14@rb-sip2-122.greenmountainaccess.net)
- # [02:02] * Quits: cabanier (~cabanier@192.150.22.55) (Quit: Leaving.)
- # [02:03] * Quits: smaug____ (~chatzilla@cs181151161.pp.htv.fi) (Ping timeout: 246 seconds)
- # [02:04] * Quits: JonathanNeal (~JonathanN@38.122.109.194) (Quit: JonathanNeal)
- # [02:05] * Quits: jsoncorwin (~textual@208.106.28.36) (Quit: Computer has gone to sleep.)
- # [02:06] * Joins: jsoncorwin (~textual@208.106.28.36)
- # [02:09] * Quits: jsoncorwin (~textual@208.106.28.36) (Client Quit)
- # [02:12] * Quits: jsbell (jsbell@nat/google/x-syolejfauuxguwls) (Quit: There's no place like home...)
- # [02:17] * Quits: rniwa (~rniwa@2620:149:4:1b01:ac2b:2969:76c5:2558) (Quit: rniwa)
- # [02:21] * Joins: rniwa (~rniwa@2620:149:4:1b01:9072:296:35ea:3270)
- # [02:22] * Quits: rniwa (~rniwa@2620:149:4:1b01:9072:296:35ea:3270) (Client Quit)
- # [02:24] * Joins: weinig (~weinig@17.114.107.6)
- # [02:26] * Quits: eresair (~eresair@173.247.199.2) (Remote host closed the connection)
- # [02:27] * Joins: ginger (~Adium@2401:fa00::58db:115c:c060:82c3)
- # [02:28] * Quits: weinig (~weinig@17.114.107.6) (Client Quit)
- # [02:34] * Quits: jwalden (~waldo@2620:101:8003:200:224:d7ff:fef0:8d90) (Ping timeout: 245 seconds)
- # [02:36] * Joins: jwalden (~waldo@2620:101:8003:200:224:d7ff:fef0:8d90)
- # [02:38] * Joins: brian_ (~brian@rb-sip2-122.greenmountainaccess.net)
- # [02:39] * Quits: ginger (~Adium@2401:fa00::58db:115c:c060:82c3) (Quit: Leaving.)
- # [02:41] * Joins: rniwa (~rniwa@17.245.109.0)
- # [02:48] * heycam is now known as heycam|away
- # [02:52] * Joins: weinig (~weinig@17.114.107.6)
- # [02:57] * Quits: weinig (~weinig@17.114.107.6) (Ping timeout: 260 seconds)
- # [03:04] * Joins: ehsan (~ehsan@24.212.206.174)
- # [03:06] * Joins: JonathanNeal (~JonathanN@cpe-142-11-82-156.socal.rr.com)
- # [03:13] <bkardell> Hixie: where you at man?
- # [03:36] * Joins: a-ja (~Instantbi@70.230.165.74)
- # [03:37] * Joins: skcin7 (~skcin7@c-68-38-156-213.hsd1.nj.comcast.net)
- # [03:37] * heycam|away is now known as heycam
- # [03:45] * Quits: Druide_ (~Druid@ip-178-203-141-163.unitymediagroup.de) (Ping timeout: 248 seconds)
- # [03:51] * Quits: jacobolus (~jacobolus@75-144-246-6-SFBA.hfc.comcastbusiness.net) (Read error: Connection reset by peer)
- # [03:51] * Joins: jacobolus (~jacobolus@75-144-246-6-SFBA.hfc.comcastbusiness.net)
- # [03:55] <brian_> dglazkov: you there?
- # [03:57] * Quits: brian_ (~brian@rb-sip2-122.greenmountainaccess.net) (Remote host closed the connection)
- # [03:58] * Joins: brian_ (~brian@rb-sip2-122.greenmountainaccess.net)
- # [03:58] * brian_ is now known as bkardell_
- # [03:59] * Quits: bkardell (~AndChat14@rb-sip2-122.greenmountainaccess.net) (Quit: Bye)
- # [03:59] * Quits: bkardell_ (~brian@rb-sip2-122.greenmountainaccess.net) (Remote host closed the connection)
- # [04:00] * Joins: brian_ (~brian@rb-sip2-122.greenmountainaccess.net)
- # [04:00] * Quits: pablof (~pablof@c-98-207-157-89.hsd1.ca.comcast.net) (Quit: ^z)
- # [04:00] * Joins: Stevef (~chatzilla@cpc20-nmal18-2-0-cust76.19-2.cable.virginmedia.com)
- # [04:01] * Quits: brian_ (~brian@rb-sip2-122.greenmountainaccess.net) (Remote host closed the connection)
- # [04:01] * Joins: bkardell (~bkardell@rb-sip2-122.greenmountainaccess.net)
- # [04:03] <bkardell> ...crickets...
- # [04:06] <bkardell> Hixie: It definitely seems like aside from the fact that it yields two elements, this covers a lot
- # [04:06] <bkardell> and that two elements only has to be in legacy/script unsupported case
- # [04:06] <bkardell> am I way off on that?
- # [04:07] <bkardell> dglazkov: in theory this can provide a plan for both legacy and script not supported
- # [04:08] <bkardell> you can parse them, they have semantic meaning - just a wrapper
- # [04:08] <bkardell> if wrappers are a serious problem then the whole interwebs are borked
- # [04:08] * Quits: Stevef (~chatzilla@cpc20-nmal18-2-0-cust76.19-2.cable.virginmedia.com) (Ping timeout: 248 seconds)
- # [04:10] * Joins: ginger1 (~Adium@2401:fa00::3dd8:1902:f9f6:feee)
- # [04:13] * Quits: tantek (~tantek@70-36-139-86.dsl.dynamic.sonic.net) (Quit: tantek)
- # [04:15] * Parts: Jasper (magcius@unaffiliated/magcius) ("Leaving")
- # [04:30] * Quits: bkardell (~bkardell@rb-sip2-122.greenmountainaccess.net) (Ping timeout: 240 seconds)
- # [04:37] * Joins: jdaggett_ (~jdaggett@wave.mozilla.or.jp)
- # [04:37] * Quits: jdaggett_ (~jdaggett@wave.mozilla.or.jp) (Remote host closed the connection)
- # [04:37] * Joins: jdaggett_ (~jdaggett@wave.mozilla.or.jp)
- # [04:43] * Joins: jonlee (~jonlee@2620:149:4:1b01:9415:b73e:2772:efaf)
- # [04:58] * Quits: dbaron (~dbaron@v-1045.fw1.sfo1.mozilla.net) (Quit: 8403864 bytes have been tenured, next gc will be global.)
- # [05:00] * Quits: jacobolus (~jacobolus@75-144-246-6-SFBA.hfc.comcastbusiness.net) (Remote host closed the connection)
- # [05:07] * Joins: Benvie (~brandon@cpe-174-097-187-248.nc.res.rr.com)
- # [05:08] * jonlee is now known as jonlee|afk
- # [05:20] * Joins: jonlee (~jonlee@67.218.106.83)
- # [05:24] * Quits: jonlee (~jonlee@67.218.106.83) (Client Quit)
- # [05:26] <Hixie> back
- # [05:28] * Joins: jonlee (~jonlee@67.218.106.83)
- # [05:29] * Quits: jonlee (~jonlee@67.218.106.83) (Client Quit)
- # [05:29] * Joins: jonlee (~jonlee@67.218.106.83)
- # [05:32] * Joins: jsoncorwin (~textual@c-98-210-130-242.hsd1.ca.comcast.net)
- # [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])
- # [05:34] * Joins: necolas (~necolas@50.0.205.111)
- # [05:34] * Joins: dcherman (~dcherman@ool-45787007.dyn.optonline.net)
- # [05:35] * Joins: dbaron (~dbaron@173-228-85-58.dsl.dynamic.sonic.net)
- # [05:48] * Joins: marcosc_ (~marcosc@bl11-209-244.dsl.telepac.pt)
- # [05:49] * Quits: jonlee|afk (~jonlee@2620:149:4:1b01:9415:b73e:2772:efaf) (Ping timeout: 245 seconds)
- # [05:49] * Joins: jacobolus (~jacobolus@50-0-133-210.dsl.static.sonic.net)
- # [05:51] * Quits: marcosc (~marcosc@bl9-150-119.dsl.telepac.pt) (Ping timeout: 256 seconds)
- # [05:53] * Joins: jdaggett (~jdaggett@wave.mozilla.or.jp)
- # [05:53] * Quits: jdaggett (~jdaggett@wave.mozilla.or.jp) (Remote host closed the connection)
- # [05:54] * Joins: jdaggett (~jdaggett@rtr.mozilla.or.jp)
- # [05:56] * Quits: jdaggett_ (~jdaggett@wave.mozilla.or.jp) (Ping timeout: 252 seconds)
- # [06:02] * Quits: ginger1 (~Adium@2401:fa00::3dd8:1902:f9f6:feee) (Quit: Leaving.)
- # [06:02] * Joins: plutoniix (~plutoniix@node-xrl.pool-125-25.dynamic.totbb.net)
- # [06:06] * Quits: JonathanNeal (~JonathanN@cpe-142-11-82-156.socal.rr.com) (Quit: JonathanNeal)
- # [06:07] * Quits: karlcow (~karl@nerval.la-grange.net) (Quit: :tiuQ tiuq sah woclrak)
- # [06:08] * Quits: marcosc_ (~marcosc@bl11-209-244.dsl.telepac.pt) (Read error: Connection reset by peer)
- # [06:08] * Quits: aglehg (~aglehg@bl5-100-140.dsl.telepac.pt) (Read error: Connection reset by peer)
- # [06:08] * Joins: marcosc (~marcosc@bl11-209-244.dsl.telepac.pt)
- # [06:09] * Joins: aglehg (~aglehg@bl5-100-140.dsl.telepac.pt)
- # [06:10] * Joins: eminor (~eminor@p548CE94C.dip.t-dialin.net)
- # [06:14] * Joins: WeirdAl (~chatzilla@c-71-198-116-32.hsd1.ca.comcast.net)
- # [06:17] * Quits: dcherman (~dcherman@ool-45787007.dyn.optonline.net) (Ping timeout: 248 seconds)
- # [06:19] * Quits: jonlee (~jonlee@67.218.106.83) (Quit: jonlee)
- # [06:21] * Quits: necolas (~necolas@50.0.205.111) (Remote host closed the connection)
- # [06:27] * Joins: jamesr_ (~jamesr@173-164-251-190-SFBA.hfc.comcastbusiness.net)
- # [06:30] * Joins: jacobolu_ (~jacobolus@50-0-133-210.dsl.static.sonic.net)
- # [06:33] * Quits: jacobolus (~jacobolus@50-0-133-210.dsl.static.sonic.net) (Ping timeout: 264 seconds)
- # [06:35] * Joins: jacobolus (~jacobolus@50-0-133-210.dsl.static.sonic.net)
- # [06:37] * Quits: jacobolu_ (~jacobolus@50-0-133-210.dsl.static.sonic.net) (Ping timeout: 276 seconds)
- # [06:39] * Joins: othermaciej (~mjs@c-24-6-209-189.hsd1.ca.comcast.net)
- # [06:55] * Joins: ginger1 (~Adium@2401:fa00::bd70:cbcd:74f7:5533)
- # [06:59] * Joins: karlcow (~karl@nerval.la-grange.net)
- # [07:04] * Quits: jacobolus (~jacobolus@50-0-133-210.dsl.static.sonic.net) (Quit: Leaving...)
- # [07:07] * Quits: ginger1 (~Adium@2401:fa00::bd70:cbcd:74f7:5533) (Quit: Leaving.)
- # [07:13] * Quits: marcosc (~marcosc@bl11-209-244.dsl.telepac.pt) (Remote host closed the connection)
- # [07:18] * Quits: jamesr_ (~jamesr@173-164-251-190-SFBA.hfc.comcastbusiness.net) (Quit: jamesr_)
- # [07:22] * Joins: eresair (~eresair@c-24-5-78-71.hsd1.ca.comcast.net)
- # [07:22] * Quits: eresair (~eresair@c-24-5-78-71.hsd1.ca.comcast.net) (Remote host closed the connection)
- # [07:24] * Joins: webguynow (~webguynow@c-24-1-222-204.hsd1.il.comcast.net)
- # [07:28] <webguynow> My attempt at Data url's, starting with <img> turned out to be a flop.
- # [07:29] <webguynow> Anyone have an example ?
- # [07:30] <webguynow> actually, There's quite a few around, so I'm not sure what I did wrong
- # [07:31] <odinho> http://software.hixie.ch/utilities/cgi/data/data might help a bit too.
- # [07:32] * Quits: rniwa (~rniwa@17.245.109.0) (Quit: rniwa)
- # [07:34] <webguynow> The PHP examples look pretty darn easy.
- # [07:35] * Quits: othermaciej (~mjs@c-24-6-209-189.hsd1.ca.comcast.net) (Quit: othermaciej)
- # [07:35] <webguynow> I actually encoded with Java. ReadIn the file with IOUtils and encoded with the iHarder Base64
- # [07:36] <webguynow> was originally trying on my work PC, with IE9 as the browser
- # [07:38] <webguynow> did the same thing on another machine, and still the image does not show
- # [07:38] <odinho> That Hixie utility has a quite needlessy big html boilerplate.
- # [07:38] <Hixie> which one?
- # [07:39] <Hixie> oh the data kitchen
- # [07:39] <Hixie> yeah
- # [07:39] <Hixie> that's old
- # [07:39] <odinho> Hixie: The one I pasted :-)
- # [07:39] <odinho> Yeah, I figured :D
- # [07:39] <WeirdAl> hey, I like that data kitchen
- # [07:39] <WeirdAl> it works, so why mess with it?
- # [07:40] <Hixie> hence why it still has the boilerplate :-)
- # [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
- # [07:41] <odinho> It was merely an observation, WeirdAl, not a break the world suggestion :P
- # [07:41] <WeirdAl> :)
- # [07:44] * Joins: maikmerten (~merten@ls5dhcp200.cs.uni-dortmund.de)
- # [07:47] * Quits: Zauberfisch (~Zauberfis@2a01:4f8:100:73c3::3) (Ping timeout: 246 seconds)
- # [07:48] * Joins: Zauberfisch (~Zauberfis@2a01:4f8:100:73c3::3)
- # [07:49] * Joins: rniwa (~rniwa@70-89-66-218-ca.sfba.hfc.comcastbusiness.net)
- # [07:58] * Joins: drdt (~dydz@76-220-18-65.lightspeed.sntcca.sbcglobal.net)
- # [08:00] * Joins: Kolombiken (~Adium@c80-216-10-244.bredband.comhem.se)
- # [08:06] * Joins: othermaciej (~mjs@c-24-6-209-189.hsd1.ca.comcast.net)
- # [08:08] * Joins: dirkpennings (~dirkpenni@82-148-199-218.adsl.unet.nl)
- # [08:18] * Joins: Ducki_ (~Ducki@pD9E39DED.dip0.t-ipconnect.de)
- # [08:19] * Joins: [[zzz]] (~q@node-c50.pool-125-25.dynamic.totbb.net)
- # [08:20] * Joins: drollwit (~drollwit@c-67-183-156-240.hsd1.wa.comcast.net)
- # [08:22] * Joins: stevefaulkner (~stevefaul@cpc20-nmal18-2-0-cust76.19-2.cable.virginmedia.com)
- # [08:23] * Quits: [[zz]] (~q@node-seo.pool-180-180.dynamic.totbb.net) (Ping timeout: 240 seconds)
- # [08:23] * Quits: Bass10 (Bass10@c-76-113-194-7.hsd1.mn.comcast.net) (Read error: Operation timed out)
- # [08:32] * Joins: niloy (~niloy@203.196.177.156)
- # [08:32] * Joins: Stevef (~chatzilla@cpc20-nmal18-2-0-cust76.19-2.cable.virginmedia.com)
- # [08:32] * Quits: stevefaulkner (~stevefaul@cpc20-nmal18-2-0-cust76.19-2.cable.virginmedia.com) (Quit: stevefaulkner)
- # [08:34] * Joins: victor1 (~Adium@AAubervilliers-651-1-337-23.w83-114.abo.wanadoo.fr)
- # [08:34] * Quits: WeirdAl (~chatzilla@c-71-198-116-32.hsd1.ca.comcast.net) (Remote host closed the connection)
- # [08:39] * Joins: ginger1 (~Adium@2401:fa00::f828:5fd:7178:296)
- # [08:40] * Joins: Smylers (~smylers@host86-157-183-117.range86-157.btcentralplus.com)
- # [08:46] * Quits: drollwit (~drollwit@c-67-183-156-240.hsd1.wa.comcast.net) (Remote host closed the connection)
- # [08:50] * Joins: shwetank (~shwetank@122.173.207.225)
- # [08:52] * Quits: dbaron (~dbaron@173-228-85-58.dsl.dynamic.sonic.net) (Quit: g'night)
- # [08:52] * Quits: Smylers (~smylers@host86-157-183-117.range86-157.btcentralplus.com) (Ping timeout: 248 seconds)
- # [08:54] * Joins: RobbertAtWork (~robbertat@212.238.236.229)
- # [08:54] * Quits: RobbertAtWork (~robbertat@212.238.236.229) (Remote host closed the connection)
- # [08:55] * Joins: RobbertAtWork (~robbertat@212.238.236.229)
- # [08:56] * Quits: Kolombiken (~Adium@c80-216-10-244.bredband.comhem.se) (Quit: Leaving.)
- # [08:57] * Quits: ginger1 (~Adium@2401:fa00::f828:5fd:7178:296) (Quit: Leaving.)
- # [08:59] * Joins: ginger1 (Adium@nat/google/x-baxaiiohxmytkwqd)
- # [09:00] * Joins: Smylers (~smylers@host86-176-224-238.range86-176.btcentralplus.com)
- # [09:01] * Quits: Stevef (~chatzilla@cpc20-nmal18-2-0-cust76.19-2.cable.virginmedia.com) (Remote host closed the connection)
- # [09:05] * Quits: Smylers (~smylers@host86-176-224-238.range86-176.btcentralplus.com) (Ping timeout: 264 seconds)
- # [09:05] * Joins: stevefaulkner (~stevefaul@cpc20-nmal18-2-0-cust76.19-2.cable.virginmedia.com)
- # [09:08] * Quits: jdaggett (~jdaggett@rtr.mozilla.or.jp) (Ping timeout: 252 seconds)
- # [09:18] * Parts: victor1 (~Adium@AAubervilliers-651-1-337-23.w83-114.abo.wanadoo.fr)
- # [09:21] * Quits: stevefaulkner (~stevefaul@cpc20-nmal18-2-0-cust76.19-2.cable.virginmedia.com) (Quit: stevefaulkner)
- # [09:22] * Joins: Kolombiken (~Adium@217.13.228.226)
- # [09:24] * Quits: RobbertAtWork (~robbertat@212.238.236.229) (Remote host closed the connection)
- # [09:25] * Quits: maikmerten (~merten@ls5dhcp200.cs.uni-dortmund.de) (Ping timeout: 265 seconds)
- # [09:27] * Quits: ginger1 (Adium@nat/google/x-baxaiiohxmytkwqd) (Quit: Leaving.)
- # [09:28] * Joins: sicking (~sicking@62-50-218-21.client.stsn.net)
- # [09:28] * Joins: RobbertAtWork (~robbertat@212.238.236.229)
- # [09:28] * Quits: RobbertAtWork (~robbertat@212.238.236.229) (Remote host closed the connection)
- # [09:29] * Joins: RobbertAtWork (~robbertat@212.238.236.229)
- # [09:30] * Quits: sicking (~sicking@62-50-218-21.client.stsn.net) (Client Quit)
- # [09:31] * Joins: maikmerten (~merten@ls5dhcp200.cs.uni-dortmund.de)
- # [09:33] * Joins: Ms2ger (~Ms2ger@109.133.36.125)
- # [09:33] * Quits: aglehg (~aglehg@bl5-100-140.dsl.telepac.pt) (Ping timeout: 264 seconds)
- # [09:36] * Joins: sedovsek (~robert@89.143.12.238)
- # [09:36] * heycam is now known as heycam|away
- # [09:44] * Quits: eminor (~eminor@p548CE94C.dip.t-dialin.net) (Quit: eminor)
- # [09:47] * Joins: aglehg (~aglehg@bl11-36-60.dsl.telepac.pt)
- # [09:48] * Joins: RobbertA_ (~robbertat@2001:980:9368:1:dc41:5318:feee:9c3f)
- # [09:48] * Joins: mitemitreski (~mmitresk@212.120.17.179)
- # [09:50] * Joins: ginger (Adium@nat/google/x-mkdrakzwlvebdogs)
- # [09:51] * Quits: RobbertAtWork (~robbertat@212.238.236.229) (Ping timeout: 248 seconds)
- # [09:51] * Joins: sicking (~sicking@217.243.168.51)
- # [09:51] * Joins: vcarbune (~vcarbune@86.121.18.229)
- # [09:54] * Quits: aglehg (~aglehg@bl11-36-60.dsl.telepac.pt) (Ping timeout: 248 seconds)
- # [09:55] * Joins: aglehg (~aglehg@bl9-138-19.dsl.telepac.pt)
- # [09:57] * Quits: othermaciej (~mjs@c-24-6-209-189.hsd1.ca.comcast.net) (Quit: othermaciej)
- # [09:57] * Joins: tantek (~tantek@70-36-139-86.dsl.dynamic.sonic.net)
- # [09:58] * Quits: skcin7 (~skcin7@c-68-38-156-213.hsd1.nj.comcast.net)
- # [09:58] * Quits: RobbertA_ (~robbertat@2001:980:9368:1:dc41:5318:feee:9c3f) (Remote host closed the connection)
- # [10:01] * Joins: hasather_ (~hasather_@cm-84.208.102.9.getinternet.no)
- # [10:01] <Ms2ger> Clearly the data URI kitchen should be renamed
- # [10:04] * Quits: drdt (~dydz@76-220-18-65.lightspeed.sntcca.sbcglobal.net) (Quit: drdt)
- # [10:06] * Joins: RobbertAtWork (~robbertat@212.238.236.229)
- # [10:09] * Joins: henrikkok (~henrikkok@81.27.221.193)
- # [10:09] * Joins: SimonSapin (~simon@ip-166.net-89-2-153.rev.numericable.fr)
- # [10:12] * Joins: tomasf (~tomasf@77.72.97.5.c.fiberdirekt.net)
- # [10:19] * Joins: Smylers (~smylers@94.116.77.27)
- # [10:20] * Quits: karlcow (~karl@nerval.la-grange.net) (Quit: :tiuQ tiuq sah woclrak)
- # [10:30] * Joins: Yudai___ (~Yudai@nttkyo385038.tkyo.nt.ngn2.ppp.infoweb.ne.jp)
- # [10:33] * Quits: Yudai__ (~Yudai@nttkyo221226.tkyo.nt.ngn2.ppp.infoweb.ne.jp) (Ping timeout: 276 seconds)
- # [10:35] * Quits: Smylers (~smylers@94.116.77.27) (Ping timeout: 248 seconds)
- # [10:36] * Quits: RobbertAtWork (~robbertat@212.238.236.229) (Remote host closed the connection)
- # [10:36] * Joins: nonge_ (~nonge@p5B326284.dip.t-dialin.net)
- # [10:39] * Joins: reinaldob (~reinaldob@201.74.207.56)
- # [10:40] * Quits: nonge (~nonge@p5B326372.dip.t-dialin.net) (Ping timeout: 255 seconds)
- # [10:41] * Quits: ginger (Adium@nat/google/x-mkdrakzwlvebdogs) (Quit: Leaving.)
- # [10:41] * Joins: baku (~baku@217.243.168.51)
- # [10:44] * Joins: Stevef (~chatzilla@cpc20-nmal18-2-0-cust76.19-2.cable.virginmedia.com)
- # [10:47] * Quits: SimonSapin (~simon@ip-166.net-89-2-153.rev.numericable.fr) (Ping timeout: 260 seconds)
- # [10:47] * Joins: Smylers (~smylers@host81-143-60-194.in-addr.btopenworld.com)
- # [10:52] * Joins: othermaciej (~mjs@c-24-6-209-189.hsd1.ca.comcast.net)
- # [10:54] * Joins: RobbertAtWork (~robbertat@212.238.236.229)
- # [10:57] * Quits: shwetank (~shwetank@122.173.207.225) (Quit: Leaving...)
- # [10:57] * Joins: annevk (~annevk@a82-161-179-17.adsl.xs4all.nl)
- # [10:59] <annevk> Indeed what is up with that?
- # [11:00] <jgraham> ?
- # [11:02] * Quits: sicking (~sicking@217.243.168.51) (Quit: sicking)
- # [11:03] <annevk> jgraham: just a late reply
- # [11:05] * Joins: shwetank (~shwetank@122.173.207.225)
- # [11:05] * Quits: shwetank (~shwetank@122.173.207.225) (Client Quit)
- # [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 ;-)
- # [11:06] * Joins: darobin (~darobin@78.109.80.74)
- # [11:08] * Quits: tantek (~tantek@70-36-139-86.dsl.dynamic.sonic.net) (Quit: tantek)
- # [11:11] * Quits: annevk (~annevk@a82-161-179-17.adsl.xs4all.nl) (Remote host closed the connection)
- # [11:12] * Joins: annevk (~annevk@a82-161-179-17.adsl.xs4all.nl)
- # [11:12] * Quits: hasather_ (~hasather_@cm-84.208.102.9.getinternet.no) (Remote host closed the connection)
- # [11:16] * Quits: annevk (~annevk@a82-161-179-17.adsl.xs4all.nl) (Ping timeout: 246 seconds)
- # [11:18] * Joins: sicking (~sicking@217.243.168.51)
- # [11:19] * Joins: SimonSapin (~simon@2a01:e35:2e8d:b5f0:ea9d:87ff:fe22:e221)
- # [11:19] * Joins: pyrsmk (~pyrsmk@2a01:e35:2f52:ead0:3d0a:8276:1482:930e)
- # [11:25] * Quits: RobbertAtWork (~robbertat@212.238.236.229) (Remote host closed the connection)
- # [11:26] * Quits: Lachy (~Lachy@cm-84.215.19.229.getinternet.no) (Quit: Computer has gone to sleep.)
- # [11:28] * Joins: JibberJim (~opera@212.58.232.179)
- # [11:29] * Joins: annevk (~annevk@84.241.207.254)
- # [11:33] * Quits: JibberJim (~opera@212.58.232.179) (Ping timeout: 260 seconds)
- # [11:34] * abstractj|away is now known as abstractj
- # [11:37] * Joins: zdobersek (~zdobersek@cpe-77.38.31.63.cable.t-1.si)
- # [11:38] <hsivonen> annevk: I hope the TAG upholds data model compatibility: http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2013-January/038632.html
- # [11:39] * Quits: Stevef (~chatzilla@cpc20-nmal18-2-0-cust76.19-2.cable.virginmedia.com) (Ping timeout: 248 seconds)
- # [11:40] * Joins: smaug____ (~chatzilla@cs181151161.pp.htv.fi)
- # [11:41] * Quits: annevk (~annevk@84.241.207.254) (Remote host closed the connection)
- # [11:45] <darobin> hsivonen: now that annevk's on the TAG he won't be able to hang out with us anymore
- # [11:45] <darobin> they lock up the ivory tower to make sure of that
- # [11:50] <Ms2ger> <object data="../images/blue.png" type="image/gif"
- # [11:53] * Joins: annevk (~annevk@212.238.236.229)
- # [11:54] * Quits: othermaciej (~mjs@c-24-6-209-189.hsd1.ca.comcast.net) (Quit: othermaciej)
- # [11:54] * Joins: Stevef (~chatzilla@cpc20-nmal18-2-0-cust76.19-2.cable.virginmedia.com)
- # [12:02] <annevk> It seems wrong that a lot of component use cases are design-orientated and would require changes to the markup.
- # [12:02] <annevk> That is really quite backwards...
- # [12:03] <annevk> hsivonen: from the newly elected I doubt many care about that strongly, if that's what you mean...
- # [12:04] * Joins: Lachy (~Lachy@office.oslo.opera.com)
- # [12:08] * Joins: yoshiki (yoshiki@nat/google/x-uhrauhuqvzipzamm)
- # [12:09] <Ms2ger> darobin, and next :)
- # [12:09] * Joins: richt (~richt@office.oslo.opera.com)
- # [12:09] * Quits: falken (falken@nat/google/x-xokbndpyxqispeux) (Ping timeout: 260 seconds)
- # [12:09] <Ms2ger> darobin, this one's smaller, though ;)
- # [12:09] <darobin> Ms2ger: :)
- # [12:10] * Joins: falken (falken@nat/google/x-anpdpghgmpqcqmoa)
- # [12:10] <darobin> Ms2ger: some of the Mozilla tests I approved are not very good
- # [12:10] * Quits: ricea (ricea@nat/google/x-afrurfyzmcaaxnze) (Ping timeout: 265 seconds)
- # [12:10] <darobin> they're correct, but not great as tests
- # [12:10] * Quits: yoshiki__ (yoshiki@nat/google/x-qilltpjtvpqqxybg) (Ping timeout: 255 seconds)
- # [12:10] <Ms2ger> Which ones? :)
- # [12:10] <hsivonen> annevk: so is upholding XML stuff now completety off TAG’s list of interests?
- # [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
- # [12:10] <darobin> the ol ones notably
- # [12:10] <Ms2ger> And better or worse than Microsoft's average oles?
- # [12:10] <Ms2ger> ones?
- # [12:11] <annevk> hsivonen: I don't know what the TAG interests are :-)
- # [12:11] * Ms2ger looks
- # [12:11] <darobin> they test useful stuff like ol@reversed and all
- # [12:11] <darobin> but they don't indicate what the pass condition is
- # [12:11] <darobin> (and I wonder if they couldn't be more automated)
- # [12:11] * Joins: boogyman (~boogy@pdpc/supporter/professional/boogyman)
- # [12:11] <Ms2ger> Oh, those are reftests
- # [12:11] <darobin> ah
- # [12:11] <darobin> that wasn't clear
- # [12:12] <darobin> but anyway, we can improve them
- # [12:12] <Ms2ger> Indeed
- # [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)
- # [12:13] <hsivonen> annevk: the thing is that there’s code out there even if you change the XML spec
- # [12:13] <hsivonen> see 5th edition
- # [12:16] * Quits: plutoniix (~plutoniix@node-xrl.pool-125-25.dynamic.totbb.net) (Quit: จรลี จรลา)
- # [12:23] * Joins: hasather_ (~hasather_@cm-84.208.102.9.getinternet.no)
- # [12:25] * Joins: ricea (ricea@nat/google/x-cjqmzzuzejcizrgc)
- # [12:25] <annevk> Is there a browser that even implements the 5th?
- # [12:28] * Quits: hasather_ (~hasather_@cm-84.208.102.9.getinternet.no) (Ping timeout: 265 seconds)
- # [12:29] * Quits: rniwa (~rniwa@70-89-66-218-ca.sfba.hfc.comcastbusiness.net) (Quit: rniwa)
- # [12:30] * Joins: darfia (~darfia@187.106.42.178)
- # [12:30] * Joins: cheron (~cheron@unaffiliated/cheron)
- # [12:33] <hsivonen> annevk: dunno. If you find one, please comment on https://bugzilla.mozilla.org/show_bug.cgi?id=501837
- # [12:35] * Quits: zdobersek (~zdobersek@cpe-77.38.31.63.cable.t-1.si) (Ping timeout: 255 seconds)
- # [12:35] * Parts: a-ja (~Instantbi@70.230.165.74)
- # [12:37] * Joins: tantek (~tantek@70-36-139-86.dsl.dynamic.sonic.net)
- # [12:40] * Joins: zdobersek (~zdobersek@cpe-77.38.31.63.cable.t-1.si)
- # [12:40] * Parts: zdobersek (~zdobersek@cpe-77.38.31.63.cable.t-1.si)
- # [12:42] * Quits: tantek (~tantek@70-36-139-86.dsl.dynamic.sonic.net) (Ping timeout: 264 seconds)
- # [12:46] * Joins: yoshiki_ (yoshiki@nat/google/x-ucpppjuirocytaxo)
- # [12:46] * Quits: ricea (ricea@nat/google/x-cjqmzzuzejcizrgc) (Ping timeout: 265 seconds)
- # [12:47] * Quits: yoshiki (yoshiki@nat/google/x-uhrauhuqvzipzamm) (Ping timeout: 252 seconds)
- # [12:47] * Quits: falken (falken@nat/google/x-anpdpghgmpqcqmoa) (Ping timeout: 244 seconds)
- # [12:48] * Joins: falken (falken@nat/google/x-tbbcihoihaztvfxq)
- # [12:49] * Quits: darfia (~darfia@187.106.42.178) (Ping timeout: 265 seconds)
- # [12:58] * Joins: darfia (~darfia@187.106.42.178)
- # [13:00] * Quits: Ducki_ (~Ducki@pD9E39DED.dip0.t-ipconnect.de) (Read error: Connection reset by peer)
- # [13:02] * Joins: Ducki (~Ducki@pD9E39DED.dip0.t-ipconnect.de)
- # [13:03] * Joins: zdobersek (~zdobersek@cpe-77.38.31.63.cable.t-1.si)
- # [13:05] * Joins: annevk_ (~annevk@212.238.236.229)
- # [13:06] * Quits: annevk (~annevk@212.238.236.229) (Ping timeout: 252 seconds)
- # [13:08] * annevk_ is now known as annevk
- # [13:13] * Quits: henrikkok (~henrikkok@81.27.221.193) (Quit: Leaving.)
- # [13:25] * Joins: henrikkok (~henrikkok@81.27.221.193)
- # [13:33] <Ms2ger> darobin, yt?
- # [13:36] <darobin> Ms2ger: back now
- # [13:37] <Ms2ger> I've got a couple of tests for properties of the window object
- # [13:37] <Ms2ger> Can I just dump those in html/browsers/the-window-object?
- # [13:37] <Ms2ger> None of the subdirs really make sense
- # [13:41] <darobin> Ms2ger: yeah, I reckon that's good enough
- # [13:42] <darobin> we should strive for clarity rather than for being anal, methinks :)
- # [13:42] <Ms2ger> And that's coming from a HTMLWG editor?
- # [13:43] * darobin gives Ms2ger a butterfly kiss
- # [13:43] * Ms2ger gives darobin a pat on the back
- # [13:52] <annevk> still waiting for http://mcc.id.au/2010/novel.html to be released
- # [13:54] <darobin> wah?
- # [13:56] * Quits: boogyman (~boogy@pdpc/supporter/professional/boogyman) (Quit: ChatZilla 0.9.89 [Firefox 17.0.1/20121128204232])
- # [13:59] * Quits: niloy (~niloy@203.196.177.156) (Quit: Leaving)
- # [14:02] * Joins: bkardell (~AndChat14@rb-sip2-122.greenmountainaccess.net)
- # [14:03] <bkardell> Hixie: re: select/map discussion. My question is - do you agree that has warts too?
- # [14:06] * Joins: annevk_ (~annevk@212.238.236.229)
- # [14:06] * Quits: annevk (~annevk@212.238.236.229) (Read error: Connection reset by peer)
- # [14:10] <bkardell> Your slash proposal I mean?
- # [14:10] * [[zzz]] is now known as [[zz]]
- # [14:12] <annevk_> bkardell: he won't be online for at least another four or so hours
- # [14:12] * annevk_ is now known as annevk
- # [14:13] <bkardell> You are following that... why no comment?
- # [14:13] <bkardell> I'd love to hear your thoughts
- # [14:13] <bkardell> Congrats btw!
- # [14:13] * Joins: Druide_ (~Druid@ip-178-203-141-163.unitymediagroup.de)
- # [14:14] <annevk> Because it's not really clear to me what problem we're solving
- # [14:14] <bkardell> That statement alone would have been helpful imo
- # [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...
- # [14:14] <bkardell> Because I agree
- # [14:15] * Joins: RobbertAtWork (~robbertat@212.238.236.229)
- # [14:15] <annevk> And addressing presentational problems with changes in HTML markup...
- # [14:15] <annevk> Yeah well, there's a lot of things to look at, can't be on top of all of them :-)
- # [14:16] <bkardell> Gotta drop.. back in a few hours
- # [14:17] * Quits: annevk (~annevk@212.238.236.229) (Remote host closed the connection)
- # [14:19] * Joins: annevk (~annevk@212.238.236.229)
- # [14:19] * Quits: bkardell (~AndChat14@rb-sip2-122.greenmountainaccess.net) (Quit: Bye)
- # [14:19] * Joins: krawchyk (~krawchyk@65.220.49.251)
- # [14:21] <Ms2ger> Hrm, I thought I had commit access to html5lib
- # [14:26] * Joins: tantek (~tantek@70-36-139-86.dsl.dynamic.sonic.net)
- # [14:30] * Quits: tantek (~tantek@70-36-139-86.dsl.dynamic.sonic.net) (Ping timeout: 252 seconds)
- # [14:31] * Joins: JibberJim (~opera@132.185.151.196)
- # [14:42] * Quits: sedovsek (~robert@89.143.12.238) (Quit: sedovsek)
- # [14:42] * Quits: Smylers (~smylers@host81-143-60-194.in-addr.btopenworld.com) (Remote host closed the connection)
- # [14:46] * Joins: linclark (~clark@c-67-186-35-246.hsd1.pa.comcast.net)
- # [14:47] * Quits: RobbertAtWork (~robbertat@212.238.236.229) (Remote host closed the connection)
- # [14:51] * Joins: Areks (~Areks@rs.gridnine.com)
- # [14:54] * Quits: Areks|2 (~Areks@rs.gridnine.com) (Ping timeout: 264 seconds)
- # [14:55] * Quits: tomasf (~tomasf@77.72.97.5.c.fiberdirekt.net) (Quit: tomasf)
- # [14:55] <annevk> Ms2ger: I can arrange that...
- # [14:56] <annevk> Ms2ger: you need it?
- # [14:56] <Ms2ger> I found a test I apparently never pushed there
- # [14:56] <Ms2ger> So, I guess :)
- # [14:58] <annevk> check again
- # [15:01] * Joins: RobbertAtWork (~robbertat@212.238.236.229)
- # [15:04] * Joins: dcherman (~dcherman@164.55.254.106)
- # [15:07] * Quits: annevk (~annevk@212.238.236.229) (Read error: Connection reset by peer)
- # [15:07] * Joins: annevk (~annevk@2001:980:9368:1:6944:4960:8b9c:9ace)
- # [15:09] <Lachy> annevk, I finished updating the selectors api integration into dom http://lachy.id.au/temp/dom-core.html
- # [15:09] <Lachy> full diff here https://github.com/lachlanhunt/dom/commit/453f2e2457202f49bd2743966a6f2f66f78a771a
- # [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.
- # [15:14] <annevk> Lachy: need-to-resolve does not seem to point anywhere
- # [15:15] <annevk> in 5226
- # [15:15] <Ms2ger> annevk, ta
- # [15:15] <Lachy> oh, that definition was dropped. I must have missed the reference to it.
- # [15:15] <annevk> why is refNodes nullable?
- # [15:16] <annevk> and if it's nullable, it should default to null, but I'm not really sure that's the right approach
- # [15:18] * Quits: dcherman (~dcherman@164.55.254.106) (Ping timeout: 248 seconds)
- # [15:19] * Joins: dcherman (~dcherman@164.55.254.106)
- # [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
- # [15:20] <annevk> shouldn't it be Node... btw rather than sequence<Node>?
- # [15:20] <annevk> hmm
- # [15:20] <Lachy> no
- # [15:20] <annevk> why not?
- # [15:20] <Lachy> sequence<Node> allows for a NodeList to be passed for multiple reference nodes
- # [15:20] <annevk> sure Node... allows for that too
- # [15:20] <annevk> I think anyway
- # [15:21] * Joins: decotii (~decotii@hq.croscon.com)
- # [15:21] <Lachy> Huh?
- # [15:21] <Ms2ger> Eh?
- # [15:21] * Joins: richt_ (~richt@pat-tazdevil.opera.com)
- # [15:21] <annevk> if you pass the argument as ...nodelist
- # [15:21] <Ms2ger> Oh, hmm
- # [15:21] * Lachy checks webidl...
- # [15:21] <annevk> would make sense anyway
- # [15:22] <Ms2ger> That's probably ES6
- # [15:22] <annevk> sure
- # [15:23] <annevk> ah yeah, ...fds won't be in IDL yet
- # [15:23] * Joins: MacTed (~Thud@63.119.36.36)
- # [15:23] <Lachy> what is fds?
- # [15:24] <Ms2ger> annevk's canonical name for a nodelist
- # [15:24] * Quits: richt (~richt@office.oslo.opera.com) (Ping timeout: 264 seconds)
- # [15:24] <Ms2ger> Never seen var fds = document.getElementsByClassName(...?
- # [15:24] <Lachy> never.
- # [15:24] * Quits: scor (~scor@drupal.org/user/52142/view) (Quit: scor)
- # [15:25] <Ms2ger> darobin, ping
- # [15:25] <darobin> yes?
- # [15:25] <annevk> Lachy: in any event, if we do nullable, it needs to be = null as well
- # [15:25] <annevk> Lachy: which means refNodes is always given, but might be null
- # [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? :)
- # [15:26] <annevk> Lachy: the algorithms don't really seem to account for refNodes being null at the moment
- # [15:26] <darobin> Ms2ger: hmmm, is it a CSS test?
- # [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.
- # [15:27] <darobin> Ms2ger: or an <ol> test? Or yet something else?
- # [15:27] <Ms2ger> darobin, it's for <ol> and <ol reversed>'s numbering
- # [15:27] <Lachy> so that might need to be fixed
- # [15:27] <darobin> Ms2ger: well, if it's really ol then I'd put it with the tests for the ol element
- # [15:27] <Ms2ger> Alright
- # [15:27] <darobin> Ms2ger: but if it's CSS, talk to the CSS WG
- # [15:27] <Ms2ger> I try to avoid that :)
- # [15:27] <darobin> which I know is cruel and unusual punishment, but hey
- # [15:27] <annevk> Lachy: not treating undefined and null the same is kinda icky
- # [15:29] <annevk> Lachy: some of your exceptions are missing ""
- # [15:30] <annevk> Lachy: all the stuff related to parsing should also move to Selectors
- # [15:30] <Lachy> I know.
- # [15:30] <Lachy> But it hasn't been put in there yet.
- # [15:30] <Lachy> I can follow up with csswg to get that done, but it should at least be kept somewhere till it is
- # [15:31] * Joins: Bass10 (~Bass10@c-76-113-194-7.hsd1.mn.comcast.net)
- # [15:31] <annevk> a lot of stuff under "Processing selectors" should be moved to that section that should eventually go away
- # [15:31] <annevk> I think
- # [15:31] <annevk> ideally we just define the thin API layer...
- # [15:32] * Joins: erichynds (~ehynds@64.206.121.41)
- # [15:32] <annevk> not that I'm opposed to putting it in the DOM
- # [15:32] <darobin> next you'll be arguing for some modularity
- # [15:32] <annevk> Lachy: use append rather than add
- # [15:33] <annevk> darobin: I usually argue for that
- # [15:33] <annevk> darobin: and I usually argue argainst those that suggest it without having actually explored the options
- # [15:34] <darobin> annevk: I know, I've sort of met you before
- # [15:34] <darobin> (was just teasing)
- # [15:34] * darobin goes back to hating inter element whitespace with a vengeance
- # [15:35] <annevk> firstElementChild :-)
- # [15:35] <Ms2ger> darobin, you can also hate my pull requests instead?
- # [15:35] * Quits: RobbertAtWork (~robbertat@212.238.236.229) (Remote host closed the connection)
- # [15:36] * Quits: erichynds (~ehynds@64.206.121.41) (Client Quit)
- # [15:36] <darobin> annevk: doesn't help me here, sadly
- # [15:37] * Joins: erichynds (~ehynds@64.206.121.41)
- # [15:37] * Quits: erichynds (~ehynds@64.206.121.41) (Excess Flood)
- # [15:37] * Joins: RobbertAtWork (~robbertat@212.238.236.229)
- # [15:37] <darobin> Ms2ger: in a minute, let me give the full of my hatred to IEWS first
- # [15:39] <darobin> Ms2ger: those changes are they submissions or reviewed stuff?
- # [15:40] * Joins: erichynds (~ehynds@64.206.121.41)
- # [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
- # [15:40] * Quits: annevk (~annevk@2001:980:9368:1:6944:4960:8b9c:9ace) (Remote host closed the connection)
- # [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.
- # [15:42] * Joins: annevk (~annevk@2001:980:9368:1:b8bb:2263:49f1:257b)
- # [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.
- # [15:43] * Joins: richt (~richt@office.oslo.opera.com)
- # [15:46] * Joins: yodasw16 (~yodasw16@ql1fwhide1.rockfin.com)
- # [15:46] * Quits: richt_ (~richt@pat-tazdevil.opera.com) (Ping timeout: 260 seconds)
- # [15:49] * annevk hopes Ms2ger can review a bit
- # [15:49] <annevk> Lachy: thanks for the work
- # [15:51] * Quits: Areks (~Areks@rs.gridnine.com) (Ping timeout: 264 seconds)
- # [15:54] * Joins: sedovsek (~robert@89.143.12.238)
- # [15:56] * Joins: Areks (~Areks@rs.gridnine.com)
- # [15:56] * Quits: annevk (~annevk@2001:980:9368:1:b8bb:2263:49f1:257b) (Remote host closed the connection)
- # [15:57] * Joins: annevk (~annevk@2001:980:9368:1:1002:5fa5:1e35:a017)
- # [15:59] * Quits: smaug____ (~chatzilla@cs181151161.pp.htv.fi) (Ping timeout: 246 seconds)
- # [16:00] * Joins: OnlyMax (~OnlyMax@187-126-242-60.user.veloxzone.com.br)
- # [16:05] * Joins: scor (~scor@132.183.243.108)
- # [16:05] * Quits: scor (~scor@132.183.243.108) (Changing host)
- # [16:05] * Joins: scor (~scor@drupal.org/user/52142/view)
- # [16:07] * Quits: RobbertAtWork (~robbertat@212.238.236.229) (Remote host closed the connection)
- # [16:08] * Joins: annevk_ (~annevk@212.238.236.229)
- # [16:11] * Quits: annevk (~annevk@2001:980:9368:1:1002:5fa5:1e35:a017) (Ping timeout: 260 seconds)
- # [16:12] * Quits: charl_ (~charl@charl.eu) (Quit: leaving)
- # [16:14] * Joins: tantek (~tantek@70-36-139-86.dsl.dynamic.sonic.net)
- # [16:18] <annevk_> Lachy: added a bunch of comments
- # [16:18] <Lachy> thanks
- # [16:18] <Ms2ger> darobin, it's stuff from my submission dir, dunno how careful you want to review those
- # [16:19] * Quits: tantek (~tantek@70-36-139-86.dsl.dynamic.sonic.net) (Ping timeout: 264 seconds)
- # [16:19] <Ms2ger> I'll try to review some Selectors later
- # [16:19] * Quits: Ducki (~Ducki@pD9E39DED.dip0.t-ipconnect.de) (Read error: Connection reset by peer)
- # [16:21] * Quits: maikmerten (~merten@ls5dhcp200.cs.uni-dortmund.de) (Remote host closed the connection)
- # [16:22] <darobin> Ms2ger: ok, gotcha
- # [16:24] * Quits: ehsan (~ehsan@24.212.206.174) (Remote host closed the connection)
- # [16:25] * annevk_ is now known as annevk
- # [16:27] <Ms2ger> SimonSapin, French Spacing means exactly what you think it means, no difference between space-after-full-stop and space-everywhere-else
- # [16:28] <annevk> no mushrooms involved?
- # [16:28] <SimonSapin> Ms2ger: oh I may have missed as step in the thread
- # [16:29] <Ms2ger> annevk, no, mushrooms are definitely Dutch
- # [16:36] * Parts: zdobersek (~zdobersek@cpe-77.38.31.63.cable.t-1.si)
- # [16:40] * Quits: annevk (~annevk@212.238.236.229) (Remote host closed the connection)
- # [16:41] * Joins: jacobolus (~jacobolus@50-0-133-210.dsl.static.sonic.net)
- # [16:44] * Quits: sicking (~sicking@217.243.168.51) (Quit: sicking)
- # [16:45] * Joins: marcosc (~marcosc@bl11-209-244.dsl.telepac.pt)
- # [16:45] * Joins: sicking (~sicking@217.243.168.51)
- # [16:45] * Quits: OnlyMax (~OnlyMax@187-126-242-60.user.veloxzone.com.br)
- # [16:46] * Quits: pyrsmk (~pyrsmk@2a01:e35:2f52:ead0:3d0a:8276:1482:930e) (Remote host closed the connection)
- # [16:48] * Joins: ricea (ricea@nat/google/x-nrztsjfwyybfmivq)
- # [16:51] * Joins: ehsan (~ehsan@66.207.208.98)
- # [16:56] * Joins: aglehg_ (~aglehg@bl9-194-28.dsl.telepac.pt)
- # [16:57] * Quits: aglehg (~aglehg@bl9-138-19.dsl.telepac.pt) (Ping timeout: 248 seconds)
- # [17:00] * Quits: vcarbune (~vcarbune@86.121.18.229) (Ping timeout: 248 seconds)
- # [17:00] * Quits: yodasw16 (~yodasw16@ql1fwhide1.rockfin.com) (Quit: yodasw16)
- # [17:02] * Joins: tantek (~tantek@70-36-139-86.dsl.dynamic.sonic.net)
- # [17:03] * Joins: yodasw16 (~yodasw16@ql1fwhide.rockfin.com)
- # [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
- # [17:05] * Quits: sicking (~sicking@217.243.168.51) (Quit: sicking)
- # [17:06] <zewt> (well, if the native call declares that it returns a new object)
- # [17:07] * Joins: bkardell (~bkardell@rb-sip2-122.greenmountainaccess.net)
- # [17:07] * Quits: bkardell (~bkardell@rb-sip2-122.greenmountainaccess.net) (Client Quit)
- # [17:08] * Joins: bkardell (~bkardell@rb-sip2-122.greenmountainaccess.net)
- # [17:08] <bkardell> hixie: ping
- # [17:11] * Quits: darobin (~darobin@78.109.80.74) (Remote host closed the connection)
- # [17:14] * Quits: baku (~baku@217.243.168.51) (Ping timeout: 246 seconds)
- # [17:18] * Quits: gavinc (~gavin@50.0.77.3) (Quit: Konversation terminated!)
- # [17:19] * abstractj is now known as abstractj|lunch
- # [17:22] * Quits: darfia (~darfia@187.106.42.178) (Quit: Leaving)
- # [17:22] * Joins: aglehg (~aglehg@bl8-36-113.dsl.telepac.pt)
- # [17:23] * Quits: aglehg_ (~aglehg@bl9-194-28.dsl.telepac.pt) (Ping timeout: 248 seconds)
- # [17:26] * Joins: dpk (~r00t@obquire.infologie.co)
- # [17:27] <dpk> hello
- # [17:27] <dpk> i think i've found a slight lingustic flaw in the HTML LS
- # [17:27] <dpk> http://www.whatwg.org/specs/web-apps/current-work/multipage/common-microsyntaxes.html#dates-and-times
- # [17:28] <dpk> refers to months and dates as referring to a "specific proleptic Gregorian date"
- # [17:29] * Joins: izhak (~izhak@31.47.112.71)
- # [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
- # [17:29] * Joins: zdobersek (~zdobersek@cpe-77.38.31.63.cable.t-1.si)
- # [17:30] <dpk> but what it actually means is a date that *is* before its introduction
- # [17:30] * Joins: jsbell (jsbell@nat/google/x-gpytslqazclsoqao)
- # [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
- # [17:32] * Joins: Areks_home (~Areks@95-26-66-229.broadband.corbina.ru)
- # [17:35] * Quits: bkardell (~bkardell@rb-sip2-122.greenmountainaccess.net) (Ping timeout: 244 seconds)
- # [17:35] <dglazkov> good morning, Whatwg!
- # [17:37] * Joins: nimbu (~nimbu@sjfw1-a.adobe.com)
- # [17:38] <gsnedders> zewt: That'll be done as a result of inlining and dead-code elimination
- # [17:39] <gsnedders> Anyhow, time for me to vanish for the weekend.
- # [17:39] * Ms2ger waves
- # [17:41] * Joins: annevk (~annevk@2001:980:9368:1:4d70:94c0:3bd6:fc0a)
- # [17:41] * annevk is now known as annevk2
- # [17:41] * annevk2 is now known as annevk
- # [17:42] * linclark is now known as linclark|afk
- # [17:44] <annevk> dpk: best to file a bug
- # [17:44] * Joins: Noah (u5564@couchdb/developer/nslater)
- # [17:45] <dpk> annevk: how do i do that?
- # [17:45] * Joins: sbp (~sbp@pubble.infomesh.net)
- # [17:45] * Quits: marcosc (~marcosc@bl11-209-244.dsl.telepac.pt) (Remote host closed the connection)
- # [17:45] <annevk> dpk: whatwg.org/C has a form at the bottom of the screen which you can use
- # [17:45] * Joins: jwalden (~waldo@v-1045.fw1.sfo1.mozilla.net)
- # [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
- # [17:46] <dpk> oh, do the W3C have a mailing list? i'll CC that, too
- # [17:47] <dpk> html-public, isn't it?
- # [17:47] <Ms2ger> Don't crosspost
- # [17:48] <Noah> Ms2ger: why?
- # [17:48] <dpk> Ms2ger: such level of integration between the two organisations which specify the same thing would be dangerous to society, i suppose
- # [17:49] <annevk> dpk: it's a problem because WHATWG requires subscription so you get broken threads
- # [17:49] * Joins: espadrine (~thaddee_t@85-218-3-146.dclient.lsne.ch)
- # [17:49] <dpk> oh, i have to subscribe? –_–
- # [17:49] <annevk> dpk: not at all
- # [17:49] <dpk> wait
- # [17:49] <dpk> wat
- # [17:49] <annevk> dpk: you can file a bug instead
- # [17:50] <annevk> dpk: if you use the form in the spec you don't have to subscribe or give your email to anything
- # [17:50] <dpk> i'd like to hear back about this, though
- # [17:51] <annevk> then you should either make a bug account or subscribe to the mailing list
- # [17:52] * Quits: yodasw16 (~yodasw16@ql1fwhide.rockfin.com) (Quit: yodasw16)
- # [17:53] <dpk> but… *sigh*
- # [17:54] * dpk makes a bug account
- # [17:56] * Joins: yodasw16 (~yodasw16@ql1fwhide.rockfin.com)
- # [17:57] * Joins: sicking (~sicking@62-50-218-35.client.stsn.net)
- # [17:57] * Quits: richt (~richt@office.oslo.opera.com) (Remote host closed the connection)
- # [17:58] * Parts: sbp (~sbp@pubble.infomesh.net) ("Leaving")
- # [18:00] * Quits: dirkpennings (~dirkpenni@82-148-199-218.adsl.unet.nl) (Ping timeout: 245 seconds)
- # [18:00] * Parts: Noah (u5564@couchdb/developer/nslater)
- # [18:01] <annevk> jgraham: why do you only reply to part of the argument?
- # [18:01] <annevk> zewt did the same, it's not really helping getting anywhere
- # [18:05] * Joins: yroc (~yroc@out-on-177.wireless.telus.com)
- # [18:05] * Quits: tantek (~tantek@70-36-139-86.dsl.dynamic.sonic.net) (Quit: tantek)
- # [18:10] <dpk> k, done: https://www.w3.org/Bugs/Public/show_bug.cgi?id=20649
- # [18:10] * Joins: skcin7 (~skcin7@c-68-38-156-213.hsd1.nj.comcast.net)
- # [18:11] * Joins: weinig (~weinig@2620:149:4:1b01:2d8d:eb56:e2b0:79b2)
- # [18:11] <annevk> thanks
- # [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...
- # [18:14] * Joins: jonlee (~jonlee@67.218.106.83)
- # [18:14] <yroc> annevk: You gave me the appropriate reference here: http://www.w3.org/TR/html401/appendix/notes.html#notes-line-breaks
- # [18:14] * Joins: Maurice (copyman@5ED573FA.cm-7-6b.dynamic.ziggo.nl)
- # [18:15] * Joins: ap (~ap@2620:149:4:1b01:95f0:c805:49a6:a682)
- # [18:15] <yroc> annevk: But I'm trying to relate this now to the case of a <pre> with a child <code>
- # [18:15] * Joins: marcosc (~marcosc@bl11-209-244.dsl.telepac.pt)
- # [18:15] <annevk> yroc: it's just a legacy quirk
- # [18:16] <yroc> The leading and trailing newlines of a child <code> inside a parent <pre> are *not* stripped.
- # [18:16] <Ms2ger> Yep, because browsers never did that
- # [18:16] <Ms2ger> So nobody depends on that happening
- # [18:16] * Quits: mitemitreski (~mmitresk@212.120.17.179) (Read error: Connection reset by peer)
- # [18:16] <Ms2ger> And it's more complicated
- # [18:16] <yroc> annevk: Yes, I know -- the reference you gave me was good, like I said.
- # [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>?
- # [18:18] <zewt> annevk: i sure didn't do that
- # [18:18] * Quits: sedovsek (~robert@89.143.12.238) (Quit: sedovsek)
- # [18:18] * Quits: nonge_ (~nonge@p5B326284.dip.t-dialin.net) (Quit: Verlassend)
- # [18:18] <annevk> yroc: again, it's a quirk
- # [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
- # [18:19] <annevk> I don't think that's what happened
- # [18:19] * Quits: Kolombiken (~Adium@217.13.228.226) (Ping timeout: 240 seconds)
- # [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>?
- # [18:21] * Joins: pablof (~pablof@144.189.150.129)
- # [18:21] <annevk> yes
- # [18:21] <annevk> gotta reboot, in trouble again :/
- # [18:21] <Ms2ger> Well, there is one: stripping it from children is more work
- # [18:22] <yroc> Ms2ger: more work for who? UA implementors?
- # [18:22] <Ms2ger> Yeah
- # [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
- # [18:24] <Ms2ger> You must be new here ;)
- # [18:24] * Joins: annevk_ (~annevk@2001:980:9368:1:2465:6848:50c6:e341)
- # [18:24] <yroc> How'd ya guess?!
- # [18:25] <yroc> New, but learning... slowly ;)
- # [18:25] * Quits: annevk (~annevk@2001:980:9368:1:4d70:94c0:3bd6:fc0a) (Ping timeout: 245 seconds)
- # [18:26] <Ms2ger> This is an important thing to learn, then... Not a lot has been well thought through before implementation :)
- # [18:27] <yroc> Ms2ger: Yes, exactly. I think that's going to be my working assumption from now on until proven otherwise :)
- # [18:27] <Ms2ger> Good idea :)
- # [18:28] <yroc> Lot less head banging that way...
- # [18:29] * Parts: eric_carlson (~eric@2620:149:4:1b01:d058:1f29:1169:cac2)
- # [18:30] * Quits: sicking (~sicking@62-50-218-35.client.stsn.net) (Quit: sicking)
- # [18:33] * Joins: RobbertAtWork (~robbertat@212.238.236.229)
- # [18:33] * Quits: JibberJim (~opera@132.185.151.196) (Quit: JibberJim)
- # [18:34] * abstractj|lunch is now known as abstractj
- # [18:36] * Quits: mpt (~mpt@canonical/mpt) (Ping timeout: 240 seconds)
- # [18:38] <annevk_> dunno zewt, rather not introduce new objects without constructors
- # [18:39] <annevk_> and a constructor here could make sense
- # [18:39] * Joins: mpt (~mpt@nat/canonical/x-rpnkhikveilximgf)
- # [18:39] * Quits: mpt (~mpt@nat/canonical/x-rpnkhikveilximgf) (Changing host)
- # [18:39] * Joins: mpt (~mpt@canonical/mpt)
- # [18:43] * Joins: eresair (~eresair@173.247.199.2)
- # [18:43] * Joins: bkardell (~AndChat14@rb-sip2-122.greenmountainaccess.net)
- # [18:44] * Quits: mpt (~mpt@canonical/mpt) (Ping timeout: 276 seconds)
- # [18:44] * Joins: sedovsek (~robert@BSN-176-130-208.dial-up.dsl.siol.net)
- # [18:48] * Quits: SimonSapin (~simon@2a01:e35:2e8d:b5f0:ea9d:87ff:fe22:e221) (Ping timeout: 276 seconds)
- # [18:51] * Quits: jonlee (~jonlee@67.218.106.83) (Quit: jonlee)
- # [18:52] * Joins: victor3 (~Adium@AAubervilliers-651-1-337-23.w83-114.abo.wanadoo.fr)
- # [18:53] * Joins: stevefaulkner (~stevefaul@cpc20-nmal18-2-0-cust76.19-2.cable.virginmedia.com)
- # [18:54] * Quits: jsoncorwin (~textual@c-98-210-130-242.hsd1.ca.comcast.net) (Quit: Computer has gone to sleep.)
- # [18:55] * Quits: Areks_home (~Areks@95-26-66-229.broadband.corbina.ru) (Ping timeout: 252 seconds)
- # [18:55] * Joins: mpt (~mpt@nat/canonical/x-kdcudrlzivmtqbxi)
- # [18:55] * Quits: mpt (~mpt@nat/canonical/x-kdcudrlzivmtqbxi) (Changing host)
- # [18:55] * Joins: mpt (~mpt@canonical/mpt)
- # [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?
- # [18:56] * Quits: stevefaulkner (~stevefaul@cpc20-nmal18-2-0-cust76.19-2.cable.virginmedia.com) (Client Quit)
- # [18:56] * Quits: sedovsek (~robert@BSN-176-130-208.dial-up.dsl.siol.net) (Quit: sedovsek)
- # [18:56] <Ms2ger> I mean something to implement <ol reversed>
- # [18:56] <Ms2ger> So, I guess?
- # [18:57] <TabAtkins> I'm curious how that would even work, actually.
- # [18:57] <TabAtkins> You still need to establish the counter's scope at the usual starting place.
- # [18:58] <TabAtkins> Maybe an end parameter on counter-reset?
- # [18:58] <Ms2ger> Ask bz :)
- # [19:00] <annevk_> dglazkov: why on both <a> and <b>?
- # [19:00] * Quits: mpt (~mpt@canonical/mpt) (Client Quit)
- # [19:00] * Joins: mpt (~mpt@nat/canonical/x-zoenicbyotszmerp)
- # [19:00] * Quits: mpt (~mpt@nat/canonical/x-zoenicbyotszmerp) (Changing host)
- # [19:00] * Joins: mpt (~mpt@canonical/mpt)
- # [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.
- # [19:00] <annevk_> dglazkov: that seems different from how <a> with a child <b> would normally behave without shadow trees
- # [19:01] <TabAtkins> Argh, though, the syntax of coutner-* is *killer*. Space-separated lists ftl.
- # [19:01] * Joins: dbaron (~dbaron@173-228-85-58.dsl.dynamic.sonic.net)
- # [19:01] * Joins: SimonSapin (~simon@ip-166.net-89-2-153.rev.numericable.fr)
- # [19:01] * Joins: weinig_ (~weinig@17.114.109.231)
- # [19:02] * Joins: maikmerten (~maikmerte@port-92-201-106-200.dynamic.qsc.de)
- # [19:02] * Quits: victor3 (~Adium@AAubervilliers-651-1-337-23.w83-114.abo.wanadoo.fr) (Quit: Leaving.)
- # [19:03] * Quits: weinig (~weinig@2620:149:4:1b01:2d8d:eb56:e2b0:79b2) (Ping timeout: 245 seconds)
- # [19:03] * weinig_ is now known as weinig
- # [19:03] * annevk_ is now known as annevk
- # [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
- # [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
- # [19:05] * Quits: manu-db (~msporny@216.252.204.51) (Ping timeout: 246 seconds)
- # [19:07] * Joins: fr0zenice (~frozenice@unaffiliated/fr0zenice)
- # [19:07] * Quits: bkardell (~AndChat14@rb-sip2-122.greenmountainaccess.net) (Ping timeout: 256 seconds)
- # [19:09] * Krinkle|detached is now known as Krinkle
- # [19:10] * Joins: bkardell (~AndChat14@rb-sip2-122.greenmountainaccess.net)
- # [19:10] <annevk> dglazkov: replied on the list
- # [19:15] * Quits: nimbu (~nimbu@sjfw1-a.adobe.com) (Quit: Leaving.)
- # [19:19] * Quits: izhak (~izhak@31.47.112.71) (Ping timeout: 252 seconds)
- # [19:23] * Joins: nimbu (~nimbu@sjfw1-a.adobe.com)
- # [19:23] * Quits: weinig (~weinig@17.114.109.231) (Quit: weinig)
- # [19:25] * Joins: cabanier (~cabanier@192.150.22.55)
- # [19:27] * Joins: jamesr_ (~jamesr@173-164-251-190-SFBA.hfc.comcastbusiness.net)
- # [19:29] * Joins: rniwa (~rniwa@70-89-66-218-ca.sfba.hfc.comcastbusiness.net)
- # [19:38] * Joins: othermaciej (~mjs@c-24-6-209-189.hsd1.ca.comcast.net)
- # [19:39] * Quits: RobbertAtWork (~robbertat@212.238.236.229) (Remote host closed the connection)
- # [19:43] * Joins: RobbertAtWork (~robbertat@212.238.236.229)
- # [19:43] * Quits: bkardell (~AndChat14@rb-sip2-122.greenmountainaccess.net) (Ping timeout: 255 seconds)
- # [19:45] * Joins: OnlyMax (~OnlyMax@187-126-242-60.user.veloxzone.com.br)
- # [19:45] * Joins: annevk_ (~annevk@2001:980:9368:1:c0cc:a3f8:9b03:49c)
- # [19:46] * Joins: bkardell (~AndChat14@rb-sip2-122.greenmountainaccess.net)
- # [19:47] * Quits: Ms2ger (~Ms2ger@109.133.36.125) (Quit: nn)
- # [19:48] * Quits: annevk (~annevk@2001:980:9368:1:2465:6848:50c6:e341) (Ping timeout: 276 seconds)
- # [19:49] * Joins: jsoncorwin (~textual@c-50-131-117-90.hsd1.ca.comcast.net)
- # [19:49] * Joins: stevefaulkner (~stevefaul@cpc20-nmal18-2-0-cust76.19-2.cable.virginmedia.com)
- # [19:52] * annevk_ is now known as annevk
- # [19:53] * Quits: stevefaulkner (~stevefaul@cpc20-nmal18-2-0-cust76.19-2.cable.virginmedia.com) (Client Quit)
- # [19:53] * Joins: tantek (~tantek@v-1045.fw1.sfo1.mozilla.net)
- # [19:53] * Quits: tantek (~tantek@v-1045.fw1.sfo1.mozilla.net) (Client Quit)
- # [19:53] * Joins: tantek (~tantek@v-1045.fw1.sfo1.mozilla.net)
- # [19:54] * Quits: jamesr_ (~jamesr@173-164-251-190-SFBA.hfc.comcastbusiness.net) (Quit: jamesr_)
- # [19:54] * Quits: reinaldob (~reinaldob@201.74.207.56) (Remote host closed the connection)
- # [19:56] * Joins: stevefaulkner (~stevefaul@cpc20-nmal18-2-0-cust76.19-2.cable.virginmedia.com)
- # [19:57] <dglazkov> annevk: me too! :)
- # [19:58] * Joins: manu-db (~msporny@216.252.204.51)
- # [20:03] * Krinkle is now known as Krinkle|detached
- # [20:03] * Quits: stevefaulkner (~stevefaul@cpc20-nmal18-2-0-cust76.19-2.cable.virginmedia.com) (Quit: stevefaulkner)
- # [20:05] * Joins: stevefaulkner (~stevefaul@cpc20-nmal18-2-0-cust76.19-2.cable.virginmedia.com)
- # [20:06] * Joins: alrra (~alrra@188.24.74.6)
- # [20:06] * Quits: alrra (~alrra@188.24.74.6) (Changing host)
- # [20:06] * Joins: alrra (~alrra@unaffiliated/alrra)
- # [20:10] * Quits: nimbu (~nimbu@sjfw1-a.adobe.com) (Quit: Leaving.)
- # [20:11] * Quits: stevefaulkner (~stevefaul@cpc20-nmal18-2-0-cust76.19-2.cable.virginmedia.com) (Quit: stevefaulkner)
- # [20:12] * Krinkle|detached is now known as Krinkle
- # [20:13] * Quits: marcosc (~marcosc@bl11-209-244.dsl.telepac.pt) (Remote host closed the connection)
- # [20:13] * Quits: othermaciej (~mjs@c-24-6-209-189.hsd1.ca.comcast.net) (Quit: othermaciej)
- # [20:13] * Joins: say2joe (~say2joe@204.56.108.2)
- # [20:16] * Quits: say2joe (~say2joe@204.56.108.2) (Client Quit)
- # [20:16] * Joins: nimbu (~nimbu@sjfw1-a.adobe.com)
- # [20:18] * Quits: KevinMarks (~KevinMark@nat-204-14-239-208-sfo.net.salesforce.com) (Ping timeout: 252 seconds)
- # [20:19] * Quits: nimbu (~nimbu@sjfw1-a.adobe.com) (Client Quit)
- # [20:19] * Quits: Stevef (~chatzilla@cpc20-nmal18-2-0-cust76.19-2.cable.virginmedia.com) (Ping timeout: 248 seconds)
- # [20:26] * Joins: stevefaulkner (~stevefaul@cpc20-nmal18-2-0-cust76.19-2.cable.virginmedia.com)
- # [20:28] * Quits: RobbertAtWork (~robbertat@212.238.236.229) (Remote host closed the connection)
- # [20:31] * Joins: RobbertAtWork (~robbertat@212.238.236.229)
- # [20:32] * Joins: nimbu (~nimbu@sjfw1-a.adobe.com)
- # [20:32] * Quits: rniwa (~rniwa@70-89-66-218-ca.sfba.hfc.comcastbusiness.net) (Quit: rniwa)
- # [20:32] * Joins: darobin (~darobin@78.208.93.24)
- # [20:38] * Quits: stevefaulkner (~stevefaul@cpc20-nmal18-2-0-cust76.19-2.cable.virginmedia.com) (Quit: stevefaulkner)
- # [20:38] * Joins: smaug____ (~chatzilla@cs181151161.pp.htv.fi)
- # [20:38] * Quits: nimbu (~nimbu@sjfw1-a.adobe.com) (Quit: Leaving.)
- # [20:39] * Quits: dbaron (~dbaron@173-228-85-58.dsl.dynamic.sonic.net) (Ping timeout: 260 seconds)
- # [20:41] * Joins: jamesr_ (jamesr@nat/google/x-oqctpowlzkyoedws)
- # [20:42] * Quits: jamesr_ (jamesr@nat/google/x-oqctpowlzkyoedws) (Client Quit)
- # [20:44] <Hixie> annevk: btw, whatwg.org/newbug
- # [20:45] <Hixie> bkardell: here now
- # [20:46] * Joins: nimbu (~nimbu@sjfw1-a.adobe.com)
- # [20:46] * Quits: darobin (~darobin@78.208.93.24) (Remote host closed the connection)
- # [20:47] * Joins: say2joe (~say2joe@cpe-76-94-56-94.socal.res.rr.com)
- # [20:48] <Hixie> hsivonen: yt?
- # [20:48] * Joins: annevk_ (~annevk@2001:980:9368:1:51ee:f4cb:f038:2c24)
- # [20:49] * Quits: annevk (~annevk@2001:980:9368:1:c0cc:a3f8:9b03:49c) (Ping timeout: 276 seconds)
- # [20:52] * Quits: MacTed (~Thud@63.119.36.36)
- # [20:52] * Quits: Lachy (~Lachy@office.oslo.opera.com) (Quit: Computer has gone to sleep.)
- # [20:52] * Joins: XtremeWiz (~user@unaffiliated/xtremewiz)
- # [20:53] <bkardell> Hixie: you agree select/map thing is not without warts/right?
- # [20:53] * Joins: jamesr_ (jamesr@nat/google/x-spmxigswyiiybghi)
- # [20:53] * Joins: rniwa (~rniwa@2620:149:4:1b01:9569:bb11:febb:9a4b)
- # [20:55] * Quits: skcin7 (~skcin7@c-68-38-156-213.hsd1.nj.comcast.net) (Ping timeout: 248 seconds)
- # [20:55] * Joins: csuwldcat (~dbuchner@c-71-202-65-49.hsd1.ca.comcast.net)
- # [20:58] <annevk_> Hixie: cool
- # [20:58] * annevk_ is now known as annevk
- # [20:58] * Joins: a-ja (~Instantbi@70.230.165.74)
- # [20:59] * Parts: dpk (~r00t@obquire.infologie.co) ("Ceci n'est pas une broken pipe.")
- # [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
- # [20:59] <Hixie> bkardell: and angle brackets are kind of pain
- # [20:59] * Quits: nimbu (~nimbu@sjfw1-a.adobe.com) (Quit: Leaving.)
- # [20:59] <Hixie> bkardell: but then i'm not a huge fan of HTML as a whole
- # [20:59] <Hixie> bkardell: so it's not hard for me to admit that something in HTML has warts :-)
- # [21:00] <bkardell> No no... not what I mean
- # [21:01] * Quits: RobbertAtWork (~robbertat@212.238.236.229) (Remote host closed the connection)
- # [21:01] <csuwldcat> new Map(); // which element did that imperitive invocation just resolve to?
- # [21:01] <bkardell> Hixie: both plans have a number of good/bad implications... right?
- # [21:01] <csuwldcat> if --> <element whitelist="input, textarea">
- # [21:01] <csuwldcat> then
- # [21:01] <csuwldcat> new Foo(); gets which one?
- # [21:02] * Parts: XtremeWiz (~user@unaffiliated/xtremewiz) ("Leaving")
- # [21:03] <bkardell> I am just curious if we can just agree to a list to benefits and drawbacks for each one
- # [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>?
- # [21:03] <csuwldcat> do we start throwing parse errors then?
- # [21:03] <Hixie> bkardell: i would be very happy to see such an analysis
- # [21:03] <Hixie> bkardell: and would be happy to review it and offer suggestions
- # [21:03] <Hixie> feel free to use the whatwg wiki if you want
- # [21:04] <Hixie> i can create you an account
- # [21:04] <csuwldcat> <div/foo> ERROR: invalid application of a slash-hacked attribute to a tag
- # [21:04] <csuwldcat> ?
- # [21:04] * Quits: dcherman (~dcherman@164.55.254.106) (Ping timeout: 248 seconds)
- # [21:04] * Quits: annevk (~annevk@2001:980:9368:1:51ee:f4cb:f038:2c24) (Ping timeout: 276 seconds)
- # [21:04] <csuwldcat> do we extend doc.createElement to understand 'div/foo'?
- # [21:05] * abstractj is now known as abstractj|away
- # [21:05] * Joins: dcherman (~dcherman@164.55.254.106)
- # [21:05] <Hixie> personally i wouldn't, but that's up to dglazkov as far as i'm concerned
- # [21:05] <csuwldcat> I figured as much
- # [21:06] <csuwldcat> throw YAOAA (Yet Another One-off API Asterisk) on the pile
- # [21:07] * Joins: smaug (~chatzilla@cs181151161.pp.htv.fi)
- # [21:07] <bkardell> Hixie: sure... if we want. I mean, I see a lot of drawbacks to / but only one benefit
- # [21:07] <csuwldcat> I feel like we're making swiss cheese, not a coherent API
- # [21:07] * Joins: stevefaulkner (~stevefaul@cpc20-nmal18-2-0-cust76.19-2.cable.virginmedia.com)
- # [21:08] <bkardell> Hixie: i'd like someone to just list pro/con implications so we can agree wtf we are even talking abt
- # [21:08] <csuwldcat> ok
- # [21:08] * Quits: smaug____ (~chatzilla@cs181151161.pp.htv.fi) (Ping timeout: 264 seconds)
- # [21:08] <csuwldcat> ***goes to paste
- # [21:08] * smaug is now known as smaug____
- # [21:08] <bkardell> Dispassionately csuwldcat
- # [21:08] <bkardell> :)
- # [21:12] <bkardell> Hixie: because I think we are on too many levels talking past each other...
- # [21:14] <csuwldcat> https://etherpad.mozilla.org/custom-element-pro-con
- # [21:15] * Joins: dbaron (~dbaron@v-1045.fw1.sfo1.mozilla.net)
- # [21:17] * Quits: stevefaulkner (~stevefaul@cpc20-nmal18-2-0-cust76.19-2.cable.virginmedia.com) (Quit: stevefaulkner)
- # [21:17] <Hixie> bkardell: http://wiki.whatwg.org/wiki/Components
- # [21:17] <Hixie> ok, csuwldcat did one too
- # [21:18] * Hixie looks at csuwldcat's
- # [21:18] * Quits: alrra (~alrra@unaffiliated/alrra) (Quit: Leaving)
- # [21:18] * Joins: annevk (~annevk@84.241.207.86)
- # [21:18] <Hixie> i disagree with most of csuwldcat's cons so far
- # [21:18] <Hixie> :-)
- # [21:19] <csuwldcat> Hixie: you can disagree all you want, those are the downstream effects
- # [21:19] <csuwldcat> please, add your dispute under each one
- # [21:19] <csuwldcat> show me how they are invalid
- # [21:19] <csuwldcat> Im not even half way done
- # [21:20] <bkardell> Sorry guys... phone and accessing irc through it :-/
- # [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...
- # [21:25] <dglazkov> annevk: both decorators and custom elements are part of web components.
- # [21:25] <annevk> dglazkov: how do decorators work?
- # [21:25] <annevk> dglazkov: via CSS?
- # [21:25] <dglazkov> annevk: yup
- # [21:25] <annevk> dglazkov: where is that defined?
- # [21:26] <dglazkov> annevk: http://www.w3.org/TR/components-intro/#decorator-section
- # [21:26] <annevk> dglazkov: intro does not sound like a definition
- # [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.
- # [21:27] * Quits: ^esc (~esc_ape@178.115.250.112.wireless.dyn.drei.com) (Ping timeout: 248 seconds)
- # [21:27] * Joins: Lachy (~Lachy@cm-84.215.19.229.getinternet.no)
- # [21:28] <dglazkov> annevk: I haven't written the decorators spec yet.
- # [21:28] <annevk> e.g. http://www.w3.org/2008/webapps/wiki/Component_Model_Use_Cases
- # [21:28] * Quits: aglehg (~aglehg@bl8-36-113.dsl.telepac.pt) (Remote host closed the connection)
- # [21:29] <annevk> a lot of those are either extending an existing form control or a decorator
- # [21:30] <annevk> which kinda argues for the <.../...> design I'd think
- # [21:32] <Hixie> yeah, people posted pages of components yesterday that showed exactly that
- # [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.
- # [21:32] <Hixie> wait, what? the slash-type thing is the least verbose it could possibly be
- # [21:32] <Hixie> it literally has exactly as few characters as you can use
- # [21:32] <annevk> dglazkov: it's not that verbose
- # [21:33] <hober> i still prefer <select is=map> to <select/map>
- # [21:33] <Hixie> you literally cannot get any less verbose without using gzip or something
- # [21:33] * Quits: annevk (~annevk@84.241.207.86) (Remote host closed the connection)
- # [21:33] <dglazkov> Hixie <x-map> is less verbose in that regard. It has better developer egronomics.
- # [21:34] <csuwldcat> dglazkov: that's a #Fact
- # [21:35] * Joins: nimbu (~nimbu@sjfw1-a.adobe.com)
- # [21:36] <Hixie> dglazkov: sure but it doesn't meet the requirements so that's kind of moot
- # [21:36] <Hixie> dglazkov: i mean, <map> is even less verbose
- # [21:36] <Hixie> dglazkov: as is <>
- # [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.
- # [21:37] <Hixie> i don't _want_ slash-type
- # [21:37] <Hixie> i want something that meets the requirements
- # [21:37] <Hixie> foo/bar is the only one people have proposed that does
- # [21:37] <Hixie> i'm certainly open to other proposals
- # [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.
- # [21:38] <Hixie> TabAtkins: i love the "lead" vs "mislead" in http://www.w3.org/mid/CAAWBYDCQ-dmUGJpehYsjZLH9RQbc3F-VFd_um=qGBmK0ws181g@mail.gmail.com
- # [21:38] <Hixie> TabAtkins: you should take that paragraph and put it in the whatwg faq somewhere :-)
- # [21:39] * Quits: dcherman (~dcherman@164.55.254.106) (Ping timeout: 248 seconds)
- # [21:39] * Parts: zdobersek (~zdobersek@cpe-77.38.31.63.cable.t-1.si)
- # [21:39] <csuwldcat> Hixie: dglazkov: verbosity is a subconcern
- # [21:39] * Joins: dcherman (~dcherman@164.55.254.106)
- # [21:39] <csuwldcat> the biggest lame-ness here, is that tags are noun identities with specfic protos
- # [21:40] * Quits: erichynds (~ehynds@64.206.121.41)
- # [21:40] * Joins: zdobersek (~zdobersek@cpe-77.38.31.63.cable.t-1.si)
- # [21:40] <csuwldcat> tags and the HTMLElement constructors they are tied to have always had a strongly tied relationship
- # [21:40] <Hixie> yeah ok that etherpad thing has just devolved into namecalling, i'm out
- # [21:40] <csuwldcat> we are now obliterating that
- # [21:40] <csuwldcat> where
- # [21:40] <csuwldcat> ?
- # [21:41] * Joins: sjmiles (6311e210@gateway/web/freenode/ip.99.17.226.16)
- # [21:41] <TabAtkins> Hixie: I... had no idea I was making such a great pun/parallel.
- # [21:41] <TabAtkins> That's wonderful.
- # [21:41] * Joins: annevk (~annevk@a82-161-179-17.adsl.xs4all.nl)
- # [21:43] <Hixie> hehe
- # [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.
- # [21:43] <csuwldcat> TabAtkins: WORD
- # [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.
- # [21:44] <csuwldcat> Hixie: cited some micro parser used by 4 guys in a basement in Siberia though
- # [21:44] <Hixie> TabAtkins: is even html5lib going to support web components natively?
- # [21:44] <TabAtkins> That's an incorrect assertion.
- # [21:44] <dglazkov> TabAtkins: I agree. I would like to understand whether 5 and 7 are actually requirements or nice-to-haves
- # [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."
- # [21:45] <TabAtkins> s/."/"./
- # [21:45] <csuwldcat> Hixie: what is HTML5lib?
- # [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.
- # [21:45] <TabAtkins> csuwldcat: It's the de facto non-browser impl of the HTML parser.
- # [21:46] <Hixie> TabAtkins: i don't think that is a reasonable requirement. For example, you might not have network at that point.
- # [21:46] <TabAtkins> Written in Python 2/3.
- # [21:46] <csuwldcat> ah
- # [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.
- # [21:46] <csuwldcat> so you had a network to dl the page
- # [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.
- # [21:46] <csuwldcat> but not to get the linked rel?
- # [21:46] <csuwldcat> oh gosh, that sounds absurd
- # [21:47] <sjmiles> re: div/x-foo and 'verbosity is a subconcern' => not for me. From my perspective verbosity is the primary issue.
- # [21:47] <csuwldcat> Hixie: let me rephrase
- # [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.
- # [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?
- # [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. :/
- # [21:48] <Hixie> TabAtkins: fwiw, i agree with that
- # [21:48] <sjmiles> @tabatkins: yes, precisely ... it's a cost I have to pay over and over
- # [21:48] * Quits: krawchyk (~krawchyk@65.220.49.251) (Remote host closed the connection)
- # [21:48] <Hixie> TabAtkins: having said that, we had some interesting cases yesterday that came up where i think this would actually help
- # [21:48] <TabAtkins> Hixie: Then are you just biting the bullet? \
- # [21:49] <csuwldcat> TabAtkins: asinine, and asiten, and asieleven
- # [21:49] <TabAtkins> Hixie: Sorry, I skipped most of the discussion yesterday.
- # [21:49] <csuwldcat> see what I did there ;)
- # [21:49] <Hixie> TabAtkins: for instance, consider a component that wants to add an API for <h1>-<h6>
- # [21:49] <Hixie> TabAtkins: (some <h1>s to <h6>s, that is)
- # [21:49] <Hixie> TabAtkins: do you have to declare 6 components?
- # [21:49] <csuwldcat> No Hixie
- # [21:49] <csuwldcat> that could be a decorator
- # [21:49] <Hixie> not a decorator, it adds an api
- # [21:50] <TabAtkins> If you wanted to mimic the same hierarchy, then probably, yeah.
- # [21:50] <csuwldcat> h1,h2,h3,h4,h5 { decorator: url(#HixieHeadings); }
- # [21:50] <TabAtkins> csuwldcat: API-adding via decorator is in the long future, if ever.
- # [21:50] <annevk> csuwldcat: dude, he just said it wasn't a decorator
- # [21:51] <csuwldcat> TabAtkins: he just added that after we said it
- # [21:51] <TabAtkins> csuwldcat: Yes, but he said it quickly. ^_^
- # [21:51] <csuwldcat> he's tacking on reqs live, this is called moving the goal post
- # [21:51] <csuwldcat> haha
- # [21:51] <csuwldcat> good point
- # [21:51] <TabAtkins> csuwldcat: Dude, don't be like that. This is a fast, casual medium.
- # [21:51] <Hixie> i didn't move the goalpost, I said it added an API in the very first line that mentioned it!
- # [21:51] <Hixie> jesus
- # [21:51] <annevk> TabAtkins: seems weird btw as h1-h6 implement the same interface
- # [21:52] <TabAtkins> You can't work here if you require that everyone state their entire argument and all clarifications in a single line.
- # [21:52] <annevk> TabAtkins: HTMLHeadingelement
- # [21:52] <Hixie> TabAtkins: or alternatively, every phrasing element
- # [21:52] <TabAtkins> annevk: <h1-6> are werid, yes.
- # [21:52] * Joins: tawhuac (~tawhuac@190.71.182.198)
- # [21:52] * Quits: tawhuac (~tawhuac@190.71.182.198) (Client Quit)
- # [21:52] <csuwldcat> but hixiem you did it to present your corner case specifically geared to achieve your narrative
- # [21:52] <Hixie> TabAtkins: or every sectioning element (that one in particular seems quite plausible)
- # [21:52] <csuwldcat> how do you not see that?
- # [21:52] <annevk> TabAtkins: they're not the only elements with a non-unique interface
- # [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)
- # [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.
- # [21:53] <csuwldcat> sjmiles: naw, they'll just rock the X
- # [21:53] <csuwldcat> <x/hoodwinked>
- # [21:53] <csuwldcat> TabAtkins: Hixie: I admit as well, the case is valid
- # [21:53] <Hixie> TabAtkins: what we could do is have an in-page macro mechanism, i suppose
- # [21:54] <sjmiles> csuwldcat: I refer to the notion that will require the extra tag semantic <div/x-whatever>
- # [21:54] <csuwldcat> I would contend that it is fractional and not going to be the norm
- # [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.
- # [21:54] * Quits: yroc (~yroc@out-on-177.wireless.telus.com) (Quit: Leaving)
- # [21:54] * Joins: bkardell_ (~bkardell@rb-sip2-122.greenmountainaccess.net)
- # [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>
- # [21:54] <TabAtkins> Or pursuing something like slash-tag at the same time, as a way to manually override the extends="" attribute.
- # [21:54] <TabAtkins> Yeah, that's what I'm thinking.
- # [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
- # [21:55] <Hixie> that would allow us to even drop the x-
- # [21:55] <bkardell_> Hixie: question - for tab too
- # [21:55] <annevk> that seems even better
- # [21:55] <dglazkov> wait wait
- # [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.
- # [21:55] <annevk> especially if the plan is to express native elements in terms of shadow trees too
- # [21:55] <dglazkov> so declare elements in the doc ahead of time?
- # [21:55] <bkardell_> sorry guys you should have seen me trying to do this on my phone, it was something to behold
- # [21:55] <TabAtkins> dglazkov: Forward declarations!
- # [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
- # [21:55] <dglazkov> yeah. it has terrible developer ergonomics, too
- # [21:55] <Hixie> TabAtkins: well, it has to be in-page because otherwise the parser will just be utterly lost
- # [21:55] <bkardell_> if you do the slash thing - a LOT of tools break
- # [21:55] <annevk> dglazkov: like import in Python
- # [21:55] <Hixie> hsivonen is going to hate this
- # [21:56] <TabAtkins> Hixie: Without an in-band signal that it's something special, sure.
- # [21:56] <csuwldcat> sjmiles: not just that, it has HUGE downstream consequences
- # [21:56] <dglazkov> sjmiles will hate the forward decls
- # [21:56] <csuwldcat> with tag names, every API devs use today works
- # [21:56] <TabAtkins> (Like the x- prefix.)
- # [21:56] <csuwldcat> doc.createElement, querySelector, getElementsByTagName, el.nodeName, etc,
- # [21:56] <Hixie> the x- thing is _so_ ugly though
- # [21:56] <TabAtkins> It's reallyl not. ^_^
- # [21:56] <csuwldcat> with this method, hixie is tossing all of that
- # [21:56] <Hixie> i mean, uglier even than the slash thing
- # [21:56] <Hixie> imho
- # [21:56] <Hixie> anyway, that's clearly subjective
- # [21:56] <csuwldcat> unless we patch that everywhere
- # [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
- # [21:57] <bkardell_> hixie: amen... subjective :)
- # [21:57] <dglazkov> csuwldcat was right that if we have to do slash-type, most libraries will simply flow around with <x/foo>
- # [21:57] <Hixie> i suppose we could require a prefix, that would get around hsivonen's concerns
- # [21:57] <csuwldcat> dglazkov: I will, with x-tag
- # [21:57] <bkardell_> dgazkov: and tools will break
- # [21:57] <bkardell_> that is one of the things hixie wans tot avoid
- # [21:57] <dglazkov> bkardell_: well, that
- # [21:57] <annevk> bkardell_: such as?
- # [21:57] <csuwldcat> you can stamp a money back guarantee on that
- # [21:58] <TabAtkins> Hixie: <x-tag is=h1> ^_^
- # [21:58] <hober> ewwwwh
- # [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
- # [21:58] <Hixie> TabAtkins: yeah but that fails 7
- # [21:58] <bkardell_> just go to your syntax highlighters for example or all of these poste things we use online and start playing
- # [21:58] <csuwldcat> TabAtkins: oh you are a cunning fellow Tag, nay Ninja like
- # [21:58] <TabAtkins> Where were these numbered reqs?
- # [21:58] <Hixie> TabAtkins: people just won't bother with the is=""
- # [21:58] <Hixie> http://wiki.whatwg.org/wiki/Components
- # [21:58] <dglazkov> ... namespaces?
- # [21:58] <TabAtkins> Ah, kk.
- # [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
- # [21:58] <TabAtkins> <x-tag/h1>
- # [21:59] <bkardell_> csuwildcat and I accidentally were getting auto-completed closing tags, things that looked like errors or attributes that look like content
- # [21:59] <TabAtkins> In legacy browsers, tagname is x-tag, like we want, and h1 is an attribute name.
- # [21:59] <Hixie> TabAtkins: <h1/tag> is cleaner than <x-tag/h1>
- # [21:59] <csuwldcat> yeah, we also blast a ton of regexps out in the wild
- # [21:59] <Hixie> TabAtkins: if we're going there
- # [21:59] <csuwldcat> Hixie: can we give everyone your email for the support requests?
- # [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).
- # [21:59] <csuwldcat> I mean that's fair right?
- # [22:00] <bkardell_> this is what I was saying
- # [22:00] <bkardell_> doesn't that violate hixie's #7?
- # [22:00] <Hixie> do we have any idea how many components we're expecting per page?
- # [22:00] <hober> csuwldcat: everyone already has his email address
- # [22:00] <Hixie> bkardell_: not if we do the macro declaration thing
- # [22:00] <csuwldcat> haha hober: good point
- # [22:00] <TabAtkins> Often, a decent number. sjmiles can probably give a good answer.
- # [22:00] <Hixie> like 10? 100?
- # [22:01] <csuwldcat> Hixie: in our experience, it all depends on the app
- # [22:01] <Hixie> trying to work out if it's just out of the question to declare them ahead of time
- # [22:01] <sjmiles> 100s
- # [22:01] <csuwldcat> some it was as few as 10
- # [22:01] * Joins: weinig (~weinig@2620:149:4:1b01:f1cd:6b6e:9dca:71f9)
- # [22:01] <Hixie> ok yeah that won't work then
- # [22:01] <Hixie> bummer
- # [22:01] <csuwldcat> others, that have iterated uses, it was 100s
- # [22:01] <Hixie> sjmiles: in one page?
- # [22:01] <Hixie> man
- # [22:01] <sjmiles> easily
- # [22:01] <csuwldcat> x-responsive-img
- # [22:01] <TabAtkins> Hixie: I know that, just using jQuery components, I've sometimes written pages with *lots* of things.
- # [22:02] <TabAtkins> Counting things that were practically components, just not packaged as such, that number goes up a lot more.
- # [22:02] <Hixie> maybe we should just abandon HTML and just have them all use XML... (not joking)
- # [22:02] <hober> sjmiles: do you mean 100s of instances of a handful of components, or a handful of instances of 100s of components?
- # [22:02] <sjmiles> components support composition, the layering available there allows one to mitigate a complex application structure into numerous small pieces
- # [22:02] <csuwldcat> 100s of instances of a handful of components!!! :)
- # [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
- # [22:02] <sjmiles> 100s of instances of a much smaller # of components
- # [22:02] <Hixie> oh
- # [22:02] <csuwldcat> correct
- # [22:02] <Hixie> oh
- # [22:02] <Hixie> ok
- # [22:02] <sjmiles> my perspective is 'web apps' to be clear
- # [22:02] <Hixie> how many component types per page though?
- # [22:03] <csuwldcat> so maybe 10-20 uniques
- # [22:03] <Hixie> sure
- # [22:03] <csuwldcat> with a few at high iteration
- # [22:03] <sjmiles> component types is more like dozens
- # [22:03] <sjmiles> for serious apps
- # [22:03] <csuwldcat> yeah
- # [22:03] <Hixie> ok that's not so bad then
- # [22:03] <csuwldcat> the only kind hehe
- # [22:03] * Joins: stevefaulkner (~stevefaul@cpc20-nmal18-2-0-cust76.19-2.cable.virginmedia.com)
- # [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.
- # [22:03] <Hixie> we could do something like <script type="parser macro declaration"> foo = <select/foo>; bar = <input/bar> </script>
- # [22:04] <csuwldcat> Hixie: in total though, over the whole of an app, across all pages/views, you could have many more
- # [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
- # [22:04] <dglazkov> iow, you would load chunks of templates or fragments, and replace them as you work
- # [22:04] <Hixie> dglazkov: yeah, in which case you don't even need to define that many macros
- # [22:04] <csuwldcat> im just saying there are like 10-20 uniques per view
- # [22:04] <sjmiles> ulimately, the ice-cream consumers will go to incredible lengths to build pea-removal machines
- # [22:04] <csuwldcat> so the whole app may have 50-60
- # [22:04] <dglazkov> Hixie: what I meant is that in this case requirements 5 and 7 are moot
- # [22:04] <csuwldcat> Hixie: think of it like jQuery plugins, some sides include like 50 js files, each a plugin
- # [22:05] <Hixie> dglazkov: not entirely, but yes, to a large extent i agree
- # [22:05] <Hixie> dglazkov: it's the markup case i'm worried about
- # [22:05] <dglazkov> Hixie: I understand.
- # [22:05] <Hixie> mostly worried about, anyway
- # [22:05] <csuwldcat> I will mourn the loss of doc.createElement for many moons
- # [22:05] <Hixie> sjmiles: sure, just like today they use <div>s only
- # [22:05] <csuwldcat> and all the other DOM APIs we'll either lose or have to patch
- # [22:05] <Hixie> sjmiles: but i don't think that's most people
- # [22:06] <Hixie> sjmiles: and it's widely understood to be poor style
- # [22:06] <csuwldcat> that is what developers will hunt us for
- # [22:06] <dglazkov> Hixie: these two cases are in contradiction then
- # [22:06] <dglazkov> I think both csuwldcat and sjmiles are mostly interested in the former and could care less about the latter
- # [22:06] <csuwldcat> yup
- # [22:07] <Hixie> the former = from script?
- # [22:07] <csuwldcat> the markup is low medium, all the downstream is heartbreaking
- # [22:07] <Hixie> if so, they sure are arguing forcefully about the latter :-)
- # [22:07] <dglazkov> let's call it the "apps" case vs. "document" case.
- # [22:07] <sjmiles> this is why I wanted something optional
- # [22:07] <csuwldcat> Im not sure I can sell a spec that requires patching every DOM interface that works off of a tag/selector
- # [22:07] <Hixie> i disagree with the premise that there's a difference or that apps only use scripts
- # [22:07] <csuwldcat> Boris will probably go into a fit of nerd rage
- # [22:08] <dglazkov> Hixie: okay let's see
- # [22:08] <bkardell_> are we editing a wiki with something new?
- # [22:08] <TabAtkins> Hixie: I've added my proposal to the wiki page. Do you agree with my writeup?
- # [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
- # [22:08] * Quits: stevefaulkner (~stevefaul@cpc20-nmal18-2-0-cust76.19-2.cable.virginmedia.com) (Quit: stevefaulkner)
- # [22:08] <bkardell_> hixie: that was creepy fast
- # [22:09] <dglazkov> Hixie: in "document" case, the requirements 5 and 7 are serious, because the document's semantics are public
- # [22:09] <sjmiles> @dglazkov: yes, this is my belief also
- # [22:09] <csuwldcat> TabAtkins: dglazkov: I think a hard req for us is that you can use existing DOM APIs to query/create elements
- # [22:09] <Hixie> bkardell_: hm?
- # [22:09] <sjmiles> that's when I ask for 'optional'
- # [22:09] <csuwldcat> document.createElement('div/foo')
- # [22:10] <csuwldcat> querySelector('div/foo')
- # [22:10] <sjmiles> document.createElement *must* work
- # [22:10] <bkardell_> hixie: nm.. i just said 'can we edit the wiki' and a microsecond later you said 'i updated the wiki
- # [22:10] <Hixie> TabAtkins: failing any of those requirements imho is a blocker.
- # [22:10] <csuwldcat> sjmiles: correct
- # [22:10] <TabAtkins> csuwldcat: The only thing you might need to change is createElement, I think.
- # [22:10] <TabAtkins> bkardell_: I said that, actually.
- # [22:10] <csuwldcat> uhhh
- # [22:10] <bkardell_> oh
- # [22:10] <bkardell_> hahaha
- # [22:10] <csuwldcat> TabAtkins: what about all the others?
- # [22:10] <TabAtkins> csuwldcat: The tagname in any case would be the component's name.
- # [22:10] <csuwldcat> how do I use querySelector?
- # [22:11] <Hixie> TabAtkins: seems right though. It's basically the same as the earlier x-geomap proposal.
- # [22:11] <csuwldcat> what? how in the...
- # [22:11] <csuwldcat> please explain
- # [22:11] <Hixie> dglazkov: i disagree with the premise that apps are written entirely from script
- # [22:11] <Hixie> dglazkov: but that doesn't seem to affect the argument
- # [22:11] <sjmiles> I would say the premise is that apps are very much less interested in semantic clarity or backward UA compat
- # [22:11] <csuwldcat> Hixie, not entirely, but many recent ones are a panel shell with all other creation done in script
- # [22:11] <Hixie> bkardell_: i wrote that page today, yes
- # [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.
- # [22:12] <Hixie> bkardell_: when the etherpad was started
- # [22:12] <dglazkov> Hixie: I disagree with this premise, too! I did not say anything about them being written entirely from script
- # [22:12] <sjmiles> app frequently do not work at all without the proper requirements and trying to push them into that realm is flawed
- # [22:12] * Quits: darkcypher_bit (~darkcyphe@blackhole.space150.com) (Ping timeout: 252 seconds)
- # [22:12] <Hixie> dglazkov: i don't understand the point you are making then
- # [22:12] <annevk> TabAtkins: can't we use another prefix? E.g. "c-" meaning component?
- # [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.
- # [22:12] <TabAtkins> annevk: I don't care what the prefix is.
- # [22:12] <annevk> TabAtkins: x- is so overused and for something completely different to boot
- # [22:13] <dglazkov> Hixie: okay. When you are writing say, an game app.
- # [22:13] * Joins: eric_carlson (~eric@2620:149:4:1b01:9010:ec1e:3b6:b255)
- # [22:13] * Parts: eric_carlson (~eric@2620:149:4:1b01:9010:ec1e:3b6:b255)
- # [22:13] <dglazkov> you have several screens that appear during the game
- # [22:13] * Quits: bkardell (~AndChat14@rb-sip2-122.greenmountainaccess.net) (Ping timeout: 264 seconds)
- # [22:13] <dglazkov> these screens are implemented as <template> instances in your doc
- # [22:13] * Joins: jonlee (~jonlee@2620:149:4:1b01:a85c:900f:b762:8b32)
- # [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
- # [22:13] <dglazkov> you instantiate them and use them as necessary
- # [22:14] <csuwldcat> bkardell_: please elaborate
- # [22:14] <bkardell_> I think it is a red-herring that it looks like that proposal meets all reqs
- # [22:14] <dglazkov> for anyone but the app, the markup content of these screens is completely uninteresting
- # [22:14] <csuwldcat> which browsers, and where?
- # [22:14] <dglazkov> crawlers will hate this
- # [22:14] <dglazkov> sorry correction
- # [22:14] <dglazkov> crawlers will want to ignore this content
- # [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.
- # [22:14] * Joins: vcarbune (~vcarbune@213.233.85.34)
- # [22:15] <dglazkov> and if they don't, they will produce junk knowledge about this app as a document
- # [22:15] <bkardell_> hixie: I'm not sure I see the distinction
- # [22:15] <sjmiles> (re: wiki, my position is that <select/geomap> fails requirement 4)
- # [22:15] <csuwldcat> just read the wiki
- # [22:15] <Hixie> dglazkov: if your thesis is that we don't care about semantics for games, then i disagree
- # [22:15] <bkardell_> lots of tools parse html that don't
- # [22:15] <bkardell_> and do really well
- # [22:15] <Hixie> dglazkov: though i will grant you that many people will be of that opinion
- # [22:15] <csuwldcat> <x-geomap> doesn't even fail the reqs by your own definitions
- # [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.
- # [22:15] <csuwldcat> if #7 Needs to encourage authors to put a real semantic rather than just skipping that step.
- # [22:16] * Quits: nimbu (~nimbu@sjfw1-a.adobe.com) (Quit: Leaving.)
- # [22:16] * Quits: maikmerten (~maikmerte@port-92-201-106-200.dynamic.qsc.de) (Remote host closed the connection)
- # [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.
- # [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"
- # [22:16] <csuwldcat> then I can agree, it certainly would meet #7
- # [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
- # [22:17] <csuwldcat> Hixie: many devs don't know <x> would be evaluated as Unknow inline element
- # [22:17] <csuwldcat> if they did, they might
- # [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.
- # [22:17] <csuwldcat> hell, most of our web devs didn't realize that
- # [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
- # [22:18] <bkardell_> I think maybe wycats_ has some experience there too :)
- # [22:18] <sjmiles> all wild generalizations by me are IMO :)
- # [22:19] <sjmiles> or, IME (in my experience)
- # [22:19] <csuwldcat> dglazkov: Hixie: I have strong objections to the wording of 5 & 7
- # [22:19] <csuwldcat> 5 assumes there are even semantics applicable, a dubious assertion
- # [22:19] <Hixie> TabAtkins: it has an entry in wiktionary: http://en.wiktionary.org/wiki/divitis
- # [22:19] <csuwldcat> and 7 just askes that it encourges the use of fallback content
- # [22:20] * Joins: carbonix (~vcarbune@213.233.85.34)
- # [22:20] <csuwldcat> which all would, through our extensive developer evangelism networks
- # [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.
- # [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.
- # [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"
- # [22:21] <csuwldcat> Hixie: I can't wait for the next entry after this is released: xitis
- # [22:21] <Hixie> TabAtkins: sure, just like layout tables are still widely used
- # [22:21] <sjmiles> @dglazkov: yes, thank you for again saying what's in my head, but much more clearly :)
- # [22:21] <Hixie> TabAtkins: there's a difference between that and just embracing it and defining it as the best practice in the spec
- # [22:21] <csuwldcat> Hixie: if you relent on the link document thing, I think you'll find devs will tie in the semantics anyway
- # [22:22] <sjmiles> layout tables used to be necessary to get the work done, what's left now are reverberations of that
- # [22:22] <csuwldcat> because it actually benefits them to inherit the correct proto
- # [22:22] <TabAtkins> Hixie: You know it's incorrect to say that we're just rubberstamping div-itis.
- # [22:22] <TabAtkins> Due to the extends="" attribute.
- # [22:22] <TabAtkins> And my proposal for optionally allowing slash-tag as well.
- # [22:22] * Joins: nimbu (~nimbu@sjfw1-a.adobe.com)
- # [22:22] <csuwldcat> TabAtkins: but he is setting up the circular argument that you can't parse that, to the advantage of his narrative
- # [22:23] <bkardell_> TabAtkins: where were you when I was trying to make this argument on the bug that re-opened this?
- # [22:23] <csuwldcat> Hixie, I don't mean anything against you, but that is the case
- # [22:23] <TabAtkins> bkardell_: Ignoring the walls of text. ^_^
- # [22:23] <Hixie> TabAtkins: fair enough
- # [22:23] * Quits: jsoncorwin (~textual@c-50-131-117-90.hsd1.ca.comcast.net) (Read error: Connection reset by peer)
- # [22:24] <TabAtkins> Are there any other non-alphanumeric characters allowed in Name productions besides dash and underscore?
- # [22:24] * TabAtkins is too lazy to look it up.
- # [22:24] <csuwldcat> TabAtkins: slash tags as optional, that's another good compromise
- # [22:24] <csuwldcat> good thinking!
- # [22:24] * Joins: mattsmcnulty (~mmcnulty@c-67-169-68-90.hsd1.ca.comcast.net)
- # [22:24] <dglazkov> I personally like forward defines. I would allow the browser to know which elements are going to be custom in advance.
- # [22:24] <TabAtkins> (Though actually, keeping the slash-tag so that the actual tagname parses equivalently in all browsers is probably a good thing.)
- # [22:24] <bkardell_> I worry about this slash thing brothers
- # [22:25] <bkardell_> have you read my points on it?
- # [22:25] <bkardell_> are they all invalid?
- # [22:25] <dglazkov> but it's untenable in real life (the case where you have multiple libraries of components, one including another, etc.)
- # [22:25] * Quits: carbonix (~vcarbune@213.233.85.34) (Ping timeout: 256 seconds)
- # [22:25] * Quits: Bass10 (~Bass10@c-76-113-194-7.hsd1.mn.comcast.net) (Read error: Connection reset by peer)
- # [22:25] <TabAtkins> bkardell_: Haven't read too much, no.
- # [22:25] <csuwldcat> dglazkov: not only that, but how are you going to throw late parse errors?
- # [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...
- # [22:25] * Joins: jsoncorwin (~textual@c-50-131-117-90.hsd1.ca.comcast.net)
- # [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
- # [22:26] * Quits: cheron (~cheron@unaffiliated/cheron) (Quit: Leaving.)
- # [22:26] * Quits: vcarbune (~vcarbune@213.233.85.34) (Ping timeout: 276 seconds)
- # [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.
- # [22:26] <csuwldcat> beccause you don't know it is invalid yet
- # [22:26] * Joins: alrra (~alrra@unaffiliated/alrra)
- # [22:26] * Quits: alrra (~alrra@unaffiliated/alrra) (Client Quit)
- # [22:26] <csuwldcat> annevk: in our use of the x- compontent tags, we generally have semeantic content as the payload
- # [22:26] <annevk> TabAtkins: I guess otherwise you'd have to tell in advance somehow this is an author-binding...
- # [22:27] <TabAtkins> annevk: And be okay with author-bindings stomping language-bindings when the names collide.
- # [22:27] <annevk> TabAtkins: right
- # [22:28] * Joins: sjmiles_ (~sjmiles@99-17-226-16.lightspeed.vlljca.sbcglobal.net)
- # [22:28] * Quits: sjmiles (6311e210@gateway/web/freenode/ip.99.17.226.16) (Quit: Page closed)
- # [22:28] <annevk> Of course given HTML's silly parser it's not actually tenable
- # [22:28] <sjmiles_> (still here)
- # [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 :)
- # [22:28] <bkardell_> hober: I don't entirely hate that
- # [22:28] <csuwldcat> hober, other than the fact you just infered the prototype inheritance
- # [22:29] <TabAtkins> hober: I hate it. ^_^
- # [22:29] <bkardell_> hober: the main drawback is that you have to know the root element
- # [22:29] <csuwldcat> and doing so will cause devs to think they can add is="map" to non-selects
- # [22:29] <TabAtkins> (For the reasons already stated - it looks mutable, it requires restating the inheritance in every instantiation, etc.)
- # [22:29] <bkardell_> personally, I like my proposal better, but..
- # [22:29] <csuwldcat> even if that would cause internal compontent logic to go haywire
- # [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?
- # [22:30] <csuwldcat> it changes it
- # [22:30] <bkardell_> TabAtkins: the mutability thing is only bothersome until you realize that lots of things in html are like that
- # [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
- # [22:30] <csuwldcat> emits a new proto
- # [22:30] <bkardell_> TabAtkins: you can't change the type of a script tag, for example
- # [22:31] <bkardell_> I think people could overcome it if it really gave all the rest of the benefits right
- # [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
- # [22:31] * Joins: bkardell (~AndChat14@rb-sip2-122.greenmountainaccess.net)
- # [22:31] <TabAtkins> bkardell_: They're rare, though, and those attributes that act like that are little-used, I think.
- # [22:31] <TabAtkins> I mean, @type isn't even a required attribute as long as you're using JS.
- # [22:32] <bkardell_> I've talked to several people who quickly changed their mind - that's all I'm saying
- # [22:32] <sjmiles_> TabAtkins: ah sorry, missed it, I'm +100 on that :)
- # [22:32] <bkardell_> if we dont have to - let's not
- # [22:32] <bkardell_> but... it's not as bad as / in my mind
- # [22:32] <annevk> you can change type="" of <script> and API-wise that's observable
- # [22:32] <bkardell_> TabAtkins: Weigh the pros and cons
- # [22:32] <annevk> all HTML attributes are mutable
- # [22:33] <bkardell_> but they don't necessarily have an effect - yeah?
- # [22:33] <bkardell_> couldnt that be the case here?
- # [22:33] <annevk> it's just that not all mutations have side effects beyond normal DOM changes, but most do
- # [22:33] <bkardell_> annevk: yeah - I'm not saying anything diff... I said that in the email thread I think
- # [22:33] <bkardell_> it has pros that / don't have
- # [22:34] <annevk> I saw someone suggesting <input type> was not mutable, but that certainly is, and will change the widget
- # [22:34] <bkardell_> really?
- # [22:34] <TabAtkins> bkardell_: Definitely.
- # [22:34] <bkardell_> I swear I just tried that yesterday
- # [22:34] * Joins: hasather_ (~hasather_@cm-84.208.102.9.getinternet.no)
- # [22:34] * TabAtkins regularly uses that mutability to change type=password to type=text.
- # [22:34] <bkardell_> hrm
- # [22:35] <annevk> TabAtkins: we should maybe have some kind of API on type=password
- # [22:35] <TabAtkins> annevk: For?
- # [22:35] <annevk> TabAtkins: or get UAs to implement a checkbox like think to show the password
- # [22:35] <dglazkov> attributes are non-starter
- # [22:35] <TabAtkins> annevk: Ah, interesting.
- # [22:35] <csuwldcat> annevk: no, it won't
- # [22:35] <TabAtkins> csuwldcat: What are you contradicting?
- # [22:35] <dglazkov> let's get everyone to agree on that.
- # [22:36] <annevk> TabAtkins: it's all over the place in OS UI, I'd love to have it in browsers :)
- # [22:36] <TabAtkins> annevk: Agreed!
- # [22:36] <csuwldcat> the fact you can change the attribute
- # [22:36] <csuwldcat> oh misread
- # [22:36] <csuwldcat> it was type
- # [22:36] <csuwldcat> thought it was a custom element attr
- # [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.
- # [22:36] <csuwldcat> dglazkov: agreed
- # [22:37] <annevk> yeah
- # [22:37] <csuwldcat> dglazkov: slash is going to be a nightmare to polyfill as well
- # [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 :)
- # [22:38] <csuwldcat> https://github.com/mozilla/web-components/blob/master/document.register.js
- # [22:38] <dglazkov> csuwldcat: I think the key here is to examine requirement 5 and determine if it really is a show-stopper.
- # [22:38] <dglazkov> if it is, then we go back to drawing table
- # [22:38] <bkardell_> so... for everyone here
- # [22:39] <dglazkov> if it isn't then we already have a proper solution with optional slash-type
- # [22:39] <bkardell_> does everyone realize that <select/map today parses with map as an attribute?
- # [22:39] <TabAtkins> bkardell_: Yes, it's been repeatedly explained.
- # [22:39] <dglazkov> ... unless TabAtkins added something new to http://wiki.whatwg.org/wiki/Components in the last secs
- # [22:39] <dglazkov> :)
- # [22:39] <TabAtkins> dglazkov: I have not.
- # [22:39] <csuwldcat> dglazkov: but brian's solution does that
- # [22:39] <csuwldcat> not at the tag level, but via fallback contents
- # [22:40] * jonlee is now known as jonlee|afk
- # [22:40] <dglazkov> oh.
- # [22:40] <dglazkov> why is it not on http://wiki.whatwg.org/wiki/Components?
- # [22:40] <bkardell_> TabAtkins: but the same thing without the / would not be a webcomponent
- # [22:40] * dglazkov pokes bkardell
- # [22:40] <csuwldcat> dglazkov: http://paste.mootools.net/f305b18b7
- # [22:40] <annevk> why doesn't extends define an interface name rather than an element name?
- # [22:41] <annevk> makes much more sense to extend HTMLHeadingElement than h1 or h2
- # [22:41] <csuwldcat> annevk: huh?
- # [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.
- # [22:41] <annevk> or HTMLModElement or HTMLQuoteElement
- # [22:41] <csuwldcat> annevk: it could just as easily map to that
- # [22:41] <sjmiles_> fwiw, my notion of a default semantic type is not actually in the wiki
- # [22:41] <TabAtkins> annevk: Would make sense, I suppose. It does mean putting DOM stuff into HTML, which hasn't happened before.
- # [22:41] <sjmiles_> the last one is close, but it requires a-priori access to element tag, which is no bueno
- # [22:42] <csuwldcat> sjmiles_: unknowns read as spans, right dglazkov?
- # [22:42] <TabAtkins> csuwldcat: More or less, yeah.
- # [22:42] <sjmiles_> HTMLUnknownElement I suppose (is that crazy?)
- # [22:42] <bkardell_> sjimles_ not really
- # [22:42] <csuwldcat> so dglazkov, if you look at that example, let's imagine my map, is a canvas map
- # [22:42] <TabAtkins> annevk: As csuwldcat suggests, having extends="h1" just imply the actual DOM interface rather than the specific tag might work too.
- # [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
- # [22:43] <csuwldcat> that blows up this whole argument
- # [22:43] * Quits: bkardell (~AndChat14@rb-sip2-122.greenmountainaccess.net) (Ping timeout: 260 seconds)
- # [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.
- # [22:43] <dglazkov> I thought there was one more proposal about optional fallback, where <x-map> is same as <span/x-map>
- # [22:43] <annevk> TabAtkins: at least it makes more sense from a JS perspective
- # [22:43] * Joins: seventh (seventh@209.99.2.52)
- # [22:44] <csuwldcat> TabAtkins: I think that's a separate issue
- # [22:44] <csuwldcat> that can be solved with a repurposed is="" on the <element> def
- # [22:44] <csuwldcat> correct?
- # [22:45] <csuwldcat> so Hixie, TabAtkins, dglazkov, what happens when my MAP element is a canvas map?
- # [22:45] <csuwldcat> you still force me to <select/map> ???
- # [22:45] <hober> dglazkov: big surprise; after reviewing that bug thread, i find i'm somewhere between Hixie & hsivonen's positions. :)
- # [22:46] <dglazkov> hober: I think you might be lost, then :P
- # [22:46] <sjmiles_> rofl
- # [22:46] <hober> heh
- # [22:46] <bkardell_> hober: where are you?
- # [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.
- # [22:47] <csuwldcat> TabAtkins: I like that
- # [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"
- # [22:47] <csuwldcat> hober: but attributes are a non-starter for a laundry list of reasons
- # [22:47] * Quits: smaug____ (~chatzilla@cs181151161.pp.htv.fi) (Remote host closed the connection)
- # [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
- # [22:48] <dglazkov> one is select.setAttribute("is", "fun");
- # [22:48] <hober> csuwldcat: i disagree
- # [22:48] * Joins: smaug____ (~chatzilla@cs181151161.pp.htv.fi)
- # [22:48] <csuwldcat> sjmiles_: not so, google can and does parse all sorts of stuff like that
- # [22:48] <bkardell_> hober: can I talk you out of select/map?
- # [22:48] <bkardell_> :)
- # [22:48] <csuwldcat> talk to Matt Cutts
- # [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.
- # [22:49] <hober> bkardell_: select/map isn't my preferred solution, so yeah, you can! :)
- # [22:49] <bkardell_> hober: ok
- # [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.
- # [22:49] <csuwldcat> bkardell_: he likes is=""
- # [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
- # [22:49] <bkardell_> hober: select is=map isn't my original/preferred, but I could likve
- # [22:49] * Parts: zdobersek (~zdobersek@cpe-77.38.31.63.cable.t-1.si)
- # [22:49] <bkardell_> live*
- # [22:49] <csuwldcat> he's one of *those* people...jk hober
- # [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.
- # [22:50] <bkardell_> it has numerous advantages actually, only 2 downs I can see
- # [22:50] * Quits: annevk (~annevk@a82-161-179-17.adsl.xs4all.nl) (Read error: Connection reset by peer)
- # [22:50] <bkardell_> hober: many will likely do <x is="select"
- # [22:50] <sjmiles_> TabAtkins: that's tricky, if we really care about 'apps', the necessity of 5 and 7 is greatly reduced IMO
- # [22:50] <csuwldcat> TabAtkins: great distinction and point, this is of primary concern to us at Mozilla
- # [22:50] <bkardell_> I think anyway
- # [22:50] <TabAtkins> sjmiles_: I agree!
- # [22:50] * Joins: annevk (~annevk@a82-161-179-17.adsl.xs4all.nl)
- # [22:51] <TabAtkins> sjmiles_: I think that documents have little need of Components in the first place.
- # [22:51] <csuwldcat> we are trying to make the web a viable apps platform, and the competition is native platforms
- # [22:51] <TabAtkins> sjmiles_: Whether or not they end up *using* a lot of components is still up in the air, of course.
- # [22:51] <hober> bkardell_: i don't think many people would do that who aren't already doing <x class=map>
- # [22:51] <csuwldcat> if the web seems cumbersome and hard to deal with, we lose, we all lose
- # [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.
- # [22:51] <bkardell_> TabAtkins:don't have to ignore them, but lower priority, right? I agree to that
- # [22:52] <TabAtkins> While the terseness of the prefix doesn't put off apps that do need API-full components.
- # [22:52] <hober> csuwldcat: i don't think that's a universally-held position (that it's native v. web, yadda yadda)
- # [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
- # [22:52] <sjmiles_> optional
- # [22:52] <csuwldcat> hober: im in the trenches talking to all sorts of partner app companies daily bro, it is
- # [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.
- # [22:53] <TabAtkins> And for apps, the things that *do* map decently to native semantics will often just use them anyway.
- # [22:53] * Joins: bkardell (~AndChat14@rb-sip2-122.greenmountainaccess.net)
- # [22:53] <bkardell_> who put "The "x-" prefix is ugly."
- # [22:53] <bkardell_> I call bs
- # [22:53] <csuwldcat> Hixie: another unsung benefit: x-tabbox will light a fire under the standardistas to standardize common tags sooner
- # [22:53] <dglazkov> another thought: _why_ would a non "app" use web components? what would be the motivation?
- # [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.
- # [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
- # [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.
- # [22:54] <dglazkov> the whole point of custom elements is to enable instantiate an object tree given markup
- # [22:54] <TabAtkins> And means that the sematnics are self-contained.
- # [22:54] <dglazkov> if you never use the object tree, what good will <x-foo> be?
- # [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
- # [22:56] * Joins: stevefaulkner (~stevefaul@cpc20-nmal18-2-0-cust76.19-2.cable.virginmedia.com)
- # [22:56] <bkardell_> sjmiles_: it's a hard line to draw though
- # [22:56] <sjmiles_> for people that see a component for x-fancy-input, there is an obvious problem that it obscures the 'input-ness'
- # [22:56] <bkardell_> when does the small thing become big
- # [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
- # [22:56] <annevk> bkardell_: it is ugly
- # [22:56] <sjmiles_> I would argue it's intent not size
- # [22:56] <bkardell_> or when does it become "red"
- # [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
- # [22:57] <sjmiles_> when I make x-report-generator, I much less concerned with losing some obvious native semantic
- # [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.
- # [22:57] <csuwldcat> and that the only difference is that someone wants this to be forced on people from the top tag down
- # [22:57] <hober> TabAtkins: sure.
- # [22:57] <bkardell_> annevk: That's not taste?
- # [22:57] <TabAtkins> csuwldcat: Where you nest the fallback into the element? I don't admit that it could "easily work" here.
- # [22:58] <dglazkov> hober: ... and today, this is already <script> document.write ... chunk, not anything semantic
- # [22:58] <TabAtkins> csuwldcat: Becauset he contents of a component are part of its API.
- # [22:58] <csuwldcat> TabAtkins: do tell?
- # [22:58] <bkardell_> annevk: please pick a better word so I can understand, or we should remove it from the wiki :)
- # [22:58] <sjmiles_> for 'sprinkles' and highly seamantice overrides, we surely need some semantic hinting and perhaps fallback behavior
- # [22:58] <csuwldcat> not if we include a fallback attribute
- # [22:58] <hober> dglazkov: yeah, if we do this right we can improve on the status quo
- # [22:58] <bkardell_> annevk: need facts, not opinions
- # [22:58] <sjmiles_> for giant apps that never will work in ancient browser, or without JS, and so on, the semantic hinting is burdensome
- # [22:58] <csuwldcat> TabAtkins: dglazkov: that would specifically tell the WC code not to use it
- # [22:58] <bkardell_> annevk: too much of this is opinion already :)
- # [22:58] <sjmiles_> IMO neither use case is invalid, so we need an OPTION
- # [22:58] <TabAtkins> annevk: You'll have a hard time arguing that "x-" is particularly uglier than "div/". ^_^
- # [22:58] <dglazkov> hober: yup. This is why we shouldn't have nasty hacks like magic attributes that never change.
- # [22:59] <TabAtkins> csuwldcat: Possible, sure, but ugly in its own way, imo.
- # [22:59] <hober> dglazkov: this is why we shouldn't have nasty hacks like sending custom element names over the wire :)
- # [22:59] <csuwldcat> TabAtkins: in use today
- # [22:59] <csuwldcat> no developer ramp time
- # [22:59] <csuwldcat> easy to understand and completely opt-in, maintaining the optimal interface we know is better
- # [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.
- # [23:00] <csuwldcat> <object>
- # [23:00] <hober> dglazkov: <aside is=adsense> :)
- # [23:00] <csuwldcat> sure
- # [23:00] <csuwldcat> same-ish
- # [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.
- # [23:00] <dglazkov> hober: it's a nice idea. but it's an ugly hack: aside.setAttribute("is", "notAdsense"); // still adsense
- # [23:01] <csuwldcat> TabAtkins: correct, as it will be for the majority of use-cases
- # [23:01] <dglazkov> hober: custom element names, even select/map is better than that -- at least you're call things what they are
- # [23:01] <annevk> dglazkov: seems kinda similar to <script src> to me
- # [23:01] * Quits: hasather_ (~hasather_@cm-84.208.102.9.getinternet.no) (Remote host closed the connection)
- # [23:01] <hober> but then you totally break parity between html and xhtml
- # [23:01] <annevk> dglazkov: that's not too ugly
- # [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
- # [23:02] <csuwldcat> that is Unintuitive, Horse-Cart API Design 101
- # [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
- # [23:02] <csuwldcat> Cart-Horse, rather ;)
- # [23:02] <dglazkov> annevk: well, it's no kinda like src. script.setAttribute("src") will still change the value
- # [23:03] <dglazkov> the whole element becomes numb.
- # [23:03] <bkardell> Annvk: script src, yes...I keep saying
- # [23:04] <bkardell> Gglazkov: I could live with that...easily learnable
- # [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
- # [23:04] <sjmiles_> csuwldcat: hrm? that doesn't sound right
- # [23:05] <annevk> dglazkov: did anyone seriously suggest changing setAttribute() semantics? doubt it
- # [23:05] <bkardell> Csuwldcat: disagree.
- # [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?
- # [23:05] <sjmiles_> most sites have 9,000 scripts for +1 buttons and ad-servers and all kinds of gunk
- # [23:05] <hober> annevk: indeed; i'm not suggesting that we should go anywhere near messing with setAttribute
- # [23:05] <bkardell> Csuwldcat: yes...if it is the best equibrium we can find
- # [23:06] <csuwldcat> but can we think for a second about the word equilibrium?
- # [23:06] <bkardell_> csuwldcat: I can conceed that hixie and annevk and all have a kind of a point there
- # [23:07] <bkardell_> csuwldcat: I think it is all about prioritizing the "requirements"
- # [23:07] <csuwldcat> bkardell: I 100% agree
- # [23:08] <csuwldcat> and I would like to do it according to occurrence, relevance/use-case/total use-cases
- # [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
- # [23:09] <csuwldcat> Can Hixie agree to rewrite the polyfill
- # [23:09] <csuwldcat> I think it would be a great exercise for him to get in touch with the pain points
- # [23:09] <bkardell_> csuwldcat: if you can get an honest fact pro/con of the implications then we can take up prioritization discussion
- # [23:09] <csuwldcat> Can anyone here just write a few of these? and them make their case?
- # [23:10] <dglazkov> The problem with developer ergonmics of "is" attribute become quite obvious once you have an app with 100s of components.
- # [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
- # [23:10] <sjmiles_> all 3
- # [23:10] <sjmiles_> and years prior making custom component solutions
- # [23:10] <csuwldcat> My spidy sense is telling me that the semanticists haven't
- # [23:10] * Quits: yodasw16 (~yodasw16@ql1fwhide.rockfin.com) (Quit: yodasw16)
- # [23:10] <TabAtkins> I suspect the raised hands are two - you, and sjmiles_.
- # [23:11] <csuwldcat> just got a feeling about it
- # [23:11] <sjmiles_> lol :)
- # [23:11] <dglazkov> heey, I have 3 too
- # [23:11] <sjmiles_> so, I see both sides
- # [23:11] <sjmiles_> the problem I have is the requirement to FORCE semantics
- # [23:12] <sjmiles_> seems to me that's really important to Hixie
- # [23:12] <sjmiles_> and is ultimately where we keep getting stuck
- # [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
- # [23:12] <sjmiles_> well yes, but the 'armchair' is just actually a different set of gnarly blood-filled trenches
- # [23:12] <sjmiles_> don't forget :)
- # [23:12] <csuwldcat> sjmiles_: that is squarely the issue, yes
- # [23:12] * Joins: yorick (~yorick@oftn/member/yorick)
- # [23:12] <csuwldcat> forced vs elected
- # [23:13] <csuwldcat> neither of the competing proposals fail to address the issue, there is only the difference between forced and elected
- # [23:14] <dglazkov> hober: btw, <aside><x-adsense> is probably better semantically anyway.
- # [23:14] <dglazkov> but I digress
- # [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
- # [23:15] <bkardell_> I have edited the wiki - feel free to yell at me
- # [23:15] <csuwldcat> if we go Vader on this, someone please own it, wear the mantle
- # [23:15] * Joins: JibberJim (~opera@host-78-146-67-182.as13285.net)
- # [23:15] <dglazkov> TabAtkins: I want to propose a slight alteration of your proposal
- # [23:16] <dglazkov> TabAtkins: not "override", but "indicate".
- # [23:16] <sjmiles_> csuwldcat: we're not done yet, don't go nuclear too soon
- # [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
- # [23:16] <TabAtkins> dglazkov: Same diff. You're ignoring the one specified in <element>.
- # [23:17] * Quits: stevefaulkner (~stevefaul@cpc20-nmal18-2-0-cust76.19-2.cable.virginmedia.com) (Quit: stevefaulkner)
- # [23:17] <TabAtkins> dglazkov: Oh, no, I was supposing that you *could* do exactly that.
- # [23:17] <dglazkov> okay. Can you add this to wikeee
- # [23:17] <TabAtkins> So, for example, a phrasing element component could default-extend <span>, but then you could do /b, /i, /u, whatever.
- # [23:17] <csuwldcat> dglazkov: good point
- # [23:17] <TabAtkins> /em
- # [23:18] <dglazkov> I just want this to be an option for specifying base semantics.
- # [23:18] <TabAtkins> dglazkov: What needs to be added? What I just said is exactly what the wiki indicates. ^_^
- # [23:18] <TabAtkins> dglazkov: If you don't specify any base in <element>, I assume it extends <div> or somesuch.
- # [23:18] <csuwldcat> TabAtkins: the word override has proto smashing implications
- # [23:18] <bkardell_> tabatkins: but not what the wiki overrides
- # [23:18] <csuwldcat> he wants you to scope it tighter
- # [23:18] <bkardell_> :-p
- # [23:18] * Quits: dcherman (~dcherman@164.55.254.106) (Ping timeout: 248 seconds)
- # [23:18] * Joins: Stevef (~chatzilla@cpc20-nmal18-2-0-cust76.19-2.cable.virginmedia.com)
- # [23:18] <bkardell_> indicates/overrides... see what I did there
- # [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.
- # [23:19] <bkardell_> tabatkins: but only if it is more specific?
- # [23:19] <dglazkov> TabAtkins: what if the custom element expects a certain proto (like methods, props)?
- # [23:19] <TabAtkins> bkardell_: No need to care about that. (Anyway, I think the HTML*Element set are all leaf nodes.)
- # [23:20] <TabAtkins> dglazkov: Then you break at runtime, presumably.
- # [23:20] <dglazkov> TabAtkins: that seems bad?
- # [23:20] <sjmiles_> seems like you suys are into something else now
- # [23:20] <TabAtkins> Don't do bad things?
- # [23:20] <sjmiles_> I cant say "an input is now an img'
- # [23:20] <sjmiles_> why would I do that with custom elements?
- # [23:20] * jonlee|afk is now known as jonlee
- # [23:20] <csuwldcat> TabAtkins: can't do that
- # [23:20] <TabAtkins> sjmiles_: native elements don't extend each other. Components can.
- # [23:20] <sjmiles_> I mean, I see there are interesting possibilities there, but adding new abilities seems a bad idea at this point
- # [23:21] <sjmiles_> yes, even more to the point
- # [23:21] <sjmiles_> if I extend x-bar from x-foo, I can't then say "shove x-zot" prototype on it
- # [23:21] <TabAtkins> Where do you get the information about what element you're extending if not from the proto chain?
- # [23:21] <csuwldcat> what if the original proto and the props/methods it offered were materially relied upon in the component logic?
- # [23:21] <TabAtkins> sjmiles_: You certainly can. Just fiddle with __proto__.
- # [23:21] <TabAtkins> csuwldcat: Then it breaks. Again, don't do stupid things.
- # [23:21] <csuwldcat> you smash that, it literally could be a monkey wrench in the gears
- # [23:21] <sjmiles_> yes, it utterly breaks
- # [23:22] * Krinkle is now known as Krinkle|detached
- # [23:22] <sjmiles_> it's nonesensical
- # [23:22] <sjmiles_> but with proper spelling
- # [23:22] <csuwldcat> TabAtkins: the funny thing is, you don't know you're "doing stupid things"
- # [23:22] <TabAtkins> For the situations we've talked about (component for all headings, all phrasing elements, all sectioning elements), it doesn't break.
- # [23:22] <dglazkov> TabAtkins: that's a total foot gun
- # [23:22] <TabAtkins> (Because the prototypes don't actually offer much of anything.)
- # [23:22] <sjmiles_> yes, this is what I'm calling 'new interesting possibilities', which IMO is a mistake to add on
- # [23:22] <csuwldcat> sure, now let's get real about how developers will actually try to use these things
- # [23:23] <csuwldcat> it will be a field of landmies
- # [23:23] <sjmiles_> most of what I'm doing is entirely dependent on a deterministic proto chain
- # [23:23] <csuwldcat> mines
- # [23:23] <TabAtkins> In Javascript you cna already do things like constructor.call(anotherObject).
- # [23:23] <csuwldcat> you just traded a handknife for a footgun
- # [23:23] <sjmiles_> yes, but if you just randomly do that, nothing will work
- # [23:23] <csuwldcat> yeah
- # [23:23] <bkardell_> tabatkins: but you have to at least know significant details of js and dom to do it
- # [23:23] <TabAtkins> sjmiles_: What are you doing that depends on a constant prototype chain?
- # [23:23] <csuwldcat> I just relied on the input's documentURI prop
- # [23:23] * Joins: yroc (~yroc@CPE602ad09304e3-CM602ad09304e0.cpe.net.cable.rogers.com)
- # [23:23] * Joins: stevefaulkner (~stevefaul@cpc20-nmal18-2-0-cust76.19-2.cable.virginmedia.com)
- # [23:24] <csuwldcat> oops, they just smashed it with /button
- # [23:24] <bkardell_> tabatkins: declarative is a little bigger space of people right?
- # [23:24] <csuwldcat> no more documentURI
- # [23:24] <csuwldcat> but shucks, they *looked* just like two buttons
- # [23:24] <sjmiles_> TabAtkins: when I inherit Bar from Foo, Bar expects to use Foo's prototypical implementation
- # [23:24] * Quits: Stevef (~chatzilla@cpc20-nmal18-2-0-cust76.19-2.cable.virginmedia.com) (Ping timeout: 248 seconds)
- # [23:24] <sjmiles_> TabAtkins: if it's not there, Bar will not work
- # [23:24] <csuwldcat> devs will make phenotypical judgements on interop
- # [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.
- # [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>?
- # [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. :)
- # [23:25] * Quits: weinig (~weinig@2620:149:4:1b01:f1cd:6b6e:9dca:71f9) (Quit: weinig)
- # [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
- # [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.
- # [23:26] <dglazkov> astearns: all of these are proposals here: http://wiki.whatwg.org/wiki/Components
- # [23:26] <csuwldcat> sjmiles_: oh I like that
- # [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.
- # [23:26] <csuwldcat> TabAtkins: Hope and Change hasn't worked out hardly as well as advertised in the past...
- # [23:26] <sjmiles_> Ok, I suspect I missed some key bit here and am arguing Quixotically
- # [23:27] <csuwldcat> sjmiles_: no, you're right on
- # [23:27] <csuwldcat> __proto__ setting will infact xfer props, but they will explode if you try to use them
- # [23:27] <csuwldcat> thus your Car/Boat thing was apropreate
- # [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.
- # [23:27] <csuwldcat> btw, I suck at spelling, ftr
- # [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>
- # [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).
- # [23:29] <csuwldcat> TabAtkins: will the rule of the day be defensive self-inspection code inside components?
- # [23:29] <TabAtkins> It seems obviously silly to do something like <x-drawing-surface/select>, though.
- # [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?
- # [23:29] <dglazkov> astearns: no, not that :)
- # [23:29] <csuwldcat> <x-drawing-surface><select fallback></select></x-drawing-surface>
- # [23:29] <TabAtkins> (Alternately, we could define a set of pre-existing categories that you can extend from, which limits you.
- # [23:30] <csuwldcat> TabAtkins: I like that better
- # [23:30] <sjmiles_> TabAtkins: if I make 'x-sjmiles-cool' can I write <x-sjmiles-cool> in my html? that's what I want.
- # [23:30] <dglazkov> TabAtkins: I think the list is simply all tag names that have this prototype
- # [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>.
- # [23:30] <sjmiles_> alternatives, options, and extensions are all fine by me
- # [23:30] <csuwldcat> especially if we're already throwing out the canard requirement that you have to have it operate without the linked doc
- # [23:30] * Quits: bkardell_ (~bkardell@rb-sip2-122.greenmountainaccess.net) (Ping timeout: 248 seconds)
- # [23:30] <TabAtkins> dglazkov: Most tags are direct children of HTMLElement, though, so that's not a useful categorization scheme.
- # [23:31] <dglazkov> the use case where it's necessary is h1..h6 and what else?
- # [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.
- # [23:31] <TabAtkins> dglazkov: Heading elements, phrasing elements, sectioning elements, maybe others?
- # [23:31] <csuwldcat> dglazkov: ol, ul
- # [23:31] <annevk> dglazkov: quote/blockquote ins/del share the interface too
- # [23:31] <TabAtkins> Ah yeah, lists make sense.
- # [23:32] <dglazkov> aha, all these guys.
- # [23:32] <csuwldcat> so, just to be clear
- # [23:32] <csuwldcat> this is a need
- # [23:32] <annevk> dglazkov: prolly a few others
- # [23:32] <sjmiles_> TabAtkins: great, but there is not general agreement on that core point. Once there is, I can go away. :)
- # [23:32] * Krinkle|detached is now known as Krinkle
- # [23:32] <csuwldcat> but not a proto need
- # [23:32] <dglazkov> csuwldcat: prototype never changes, correct.
- # [23:32] <csuwldcat> hmm
- # [23:32] <csuwldcat> well that's not exactely right
- # [23:32] <dglazkov> at least in my head :)
- # [23:32] <TabAtkins> sjmiles_: You dont' have to argue with me on that point, at least.
- # [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
- # [23:33] <csuwldcat> some kind of sort or something
- # [23:33] <TabAtkins> dglazkov: It seems weird if <x-coolspan/b> has HTMLSpanElement in its prototype, rather than HTMLBoldElement.
- # [23:33] <csuwldcat> and then we have the need to be strictly bound
- # [23:33] * Krinkle is now known as Krinkle|detached
- # [23:33] <dglazkov> <element extends="ol" name="x-gar">.. </element> usage: <x-gar/ul> or <x-gar/ol>
- # [23:33] <TabAtkins> (Actually, <b> doesn't even ahve an interface of its own.)
- # [23:33] <csuwldcat> dglazkov: true enough
- # [23:34] <TabAtkins> dglazkov: Now, how do you establish such a restriction, such that <x-gar/input> is not allowed?
- # [23:34] <TabAtkins> (Also, what does "not allowed" mean?)
- # [23:34] <csuwldcat> TabAtkins: how could you?
- # [23:34] <TabAtkins> csuwldcat: I don't understand the question. State it more explicitly?
- # [23:35] <dglazkov> look at slash-tag, and look at tag, if their base prototype is different, then throw away slash-tag
- # [23:35] * jonlee is now known as jonlee|afk
- # [23:35] <TabAtkins> dglazkov: Once again, that doesn't work. <ol> and <ul> have different prototypes.
- # [23:35] <csuwldcat> How could you other than an inferred blacklist based off the diff between an explicit whitelist?
- # [23:35] <dglazkov> TabAtkins: ah, then my example is wrong
- # [23:35] <TabAtkins> *Some* categories of elements have a nice prototype relationship. Definitely not all.
- # [23:36] <TabAtkins> For example, a lot of phrasing element just use HTMLElement directly - they don't even ahve their own unique interface.
- # [23:37] <csuwldcat> Where is the line between this whole debate and role="" (hopefully that isn't a stupid question - ducks)
- # [23:37] <dglazkov> <element name="x-fart"> (extends HTMLElement) usage: <x-fart/b> or any html tag that uses HTMLElement directly
- # [23:37] <dglazkov> <element name="x-burp" extends="HTMLHeadingElement"> usage <x-burp/h1>, <x-burp/h2>, etc.
- # [23:37] <dglazkov> whoa, me wrong
- # [23:38] <TabAtkins> dglazkov: Now you can't use <x-foo/time>?
- # [23:38] <dglazkov> <element name="x-burp" extends="h1">
- # [23:38] <TabAtkins> (Dude, please use standard metasyntactic variables. It's annoying typing fart and burp.)
- # [23:38] <dglazkov> sorry :)
- # [23:38] * Quits: fr0zenice (~frozenice@unaffiliated/fr0zenice) (Remote host closed the connection)
- # [23:38] <csuwldcat> TabAtkins: buzzkill!
- # [23:39] <csuwldcat> :)
- # [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.
- # [23:39] <TabAtkins> But your test (compare prototype grandparents) would fail it.
- # [23:39] <dglazkov> <element name="x-zoot" extends="time"> can only be <x-zoot> and <x-zoot/time>
- # [23:39] <dglazkov> TabAtkins: yup.
- # [23:39] <dglazkov> we're not decorating here.
- # [23:39] <csuwldcat> dglazkov: yes that makes sense
- # [23:39] <csuwldcat> because if we're dling the linked doc
- # [23:40] <dglazkov> all types are deterministic. The optional notation is only to:
- # [23:40] <csuwldcat> we know they are always time
- # [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.
- # [23:40] <csuwldcat> and why would anyone masquerade one truly accurate semantic as another?
- # [23:40] <csuwldcat> other than the Heading case....
- # [23:40] <dglazkov> a) disambiguate tags have the same prototype
- # [23:40] <dglazkov> b) allow painting semantics on custom tags
- # [23:41] <TabAtkins> dglazkov: You didn't answer my objection.
- # [23:41] <dglazkov> TabAtkins: because it stomps on proto and makes a foot gun. Take time element for example
- # [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.
- # [23:42] <dglazkov> suppose the component only uses datetime property on some condition (hover at a certain time)
- # [23:42] <dglazkov> the awesome author Bob takes this component (let's call it x-roo) and sticks it on a b
- # [23:42] <dglazkov> <x-roo/b>
- # [23:42] <dglazkov> everything looks great
- # [23:42] <dglazkov> then Bob ships the site
- # [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>.
- # [23:42] <dglazkov> and it breaks 3 hours later
- # [23:43] <dglazkov> it's a foot gun
- # [23:43] <dglazkov> TabAtkins: sure. that's how you should do it.
- # [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*.
- # [23:43] <csuwldcat> I agree with the footgun eventuality, it will happen, and there will be blood (cinema reference...nvm)
- # [23:43] <TabAtkins> For example, something like <element category=phrasing> could be used with /b and /time.
- # [23:44] <dglazkov> ohhh
- # [23:44] <dglazkov> I see
- # [23:44] <dglazkov> so the author of the component would have to build it knowingly for a category of elements
- # [23:44] <csuwldcat> TabAtkins: this is what I was saying earlier
- # [23:44] <csuwldcat> (2:35:31 PM) csuwldcat: How could you other than an inferred blacklist based off the diff between an explicit whitelist?
- # [23:44] <csuwldcat> category == that whitelist
- # [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.
- # [23:45] <dglazkov> right?
- # [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. ^_^
- # [23:45] <TabAtkins> dglazkov: What does "the browser says no" mean?
- # [23:45] <csuwldcat> TabAtkins: fair -nough
- # [23:46] <dglazkov> throw error, ignore, whatevs
- # [23:46] <dglazkov> TBD
- # [23:46] <csuwldcat> dglazkov: but what does it do in the meantime?
- # [23:46] <csuwldcat> and what does it do once it errors?
- # [23:47] <csuwldcat> disapear the element from render or just leave it with the error thrown?
- # [23:47] <dglazkov> since the override is secondary, I think we could just ignore it
- # [23:47] <csuwldcat> ok
- # [23:47] <TabAtkins> Ignoring the override is an acceptable answer to me.
- # [23:47] <csuwldcat> that makes sense
- # [23:47] <TabAtkins> This requires that we predefine some categories.
- # [23:47] <dglazkov> so if Bob does <x-zoo/input> and x-zoo has category="phrasing", it just defaults to <x-zoo>
- # [23:47] <dglazkov> TabAtkins: yay work!
- # [23:47] <TabAtkins> It also means we should consider whether this is actually worth this effort.
- # [23:48] <sjmiles_> TabAtkins: ^ this
- # [23:48] <dglazkov> TabAtkins: also, this can be done later.
- # [23:48] <dglazkov> TabAtkins: new feature
- # [23:48] <csuwldcat> TabAtkins: ^ yep +1
- # [23:48] <sjmiles_> you are the heavy hitters, resolve [Bug 18669] first please
- # [23:48] <dglazkov> we can start with just making slash-tag an option to paint semantics
- # [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
- # [23:49] * sjmiles_ is stuck in a rut
- # [23:49] * Joins: marcosc (~marcosc@bl11-209-244.dsl.telepac.pt)
- # [23:49] <dglazkov> sorry, sjmiles_
- # [23:49] <dglazkov> look another TAG member!
- # [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 ;)
- # [23:50] * dglazkov is easily distracted
- # [23:50] <sjmiles_> csuwldcat: TabAtkins is particularly good at making things like that actually work, so dont' take it off the table!
- # [23:50] <dglazkov> we have people at various stages of acceptance. This is consensus-driven, so we need have them all
- # [23:50] <csuwldcat> haha, ok, agreed
- # [23:51] <csuwldcat> wellllll
- # [23:51] <dglazkov> 1) Hixie I think is the closest to the finish line
- # [23:51] <sjmiles_> we beat some of the stakeholders into silence (but not submission)
- # [23:51] <dglazkov> 2) annevk is unknown
- # [23:52] <csuwldcat> dglazkov: is the finish line a high precipice of some sort?
- # [23:52] <dglazkov> 3) hober is just starting
- # [23:52] <dglazkov> csuwldcat: I think general understanding of the problem and seeing the spectrum of solutions
- # [23:52] <csuwldcat> dglazkov: do you get the sense he will agree to an optional solution wrt semantics?
- # [23:53] <dglazkov> 4) csuwldcat is way over finish line, far far beyond the horizon. We can only hear his screams
- # [23:53] <csuwldcat> I was not getting that feeling, just saying...
- # [23:53] <csuwldcat> haha, I've already won 7 tour de frances
- # [23:53] * Quits: marcosc (~marcosc@bl11-209-244.dsl.telepac.pt) (Ping timeout: 248 seconds)
- # [23:53] <csuwldcat> no doping either
- # [23:53] * Quits: stevefaulkner (~stevefaul@cpc20-nmal18-2-0-cust76.19-2.cable.virginmedia.com) (Quit: stevefaulkner)
- # [23:54] <dglazkov> I don't take Hixie's opinion lightly. If he has a strong opinion, there's a good reason for it.
- # [23:54] <csuwldcat> dglazkov: I agree it is a completely valid case/desire, never robbed him of that fact
- # [23:54] <csuwldcat> just how product relevant it is to the world large and the on-the-ground rate of applicable occurrence
- # [23:58] <sjmiles_> optional FTW
- # [23:59] * Quits: annevk (~annevk@a82-161-179-17.adsl.xs4all.nl) (Ping timeout: 260 seconds)
- # Session Close: Sat Jan 12 00:00:00 2013
The end :)