| 02:20 | <frewsxcv> | https://html.spec.whatwg.org/multipage/#htmldocument |
| 02:20 | <frewsxcv> | should that be part of the IDL spec? or is it not an IDL property? |
| 02:22 | <frewsxcv> | *part of the IDL interface |
| 04:28 | <Domenic> | frewsxcv: it is not an IDL property. IDL properties can only be getters. |
| 04:29 | <frewsxcv> | roger |
| 09:35 | <annevk> | rbyers: thanks for raising that, updated the README to point out the tests |
| 10:08 | <nox> | Domenic: It could be [Alias=HTMLDocument] interface Document { … }. |
| 10:09 | <nox> | Extending https://developer.mozilla.org/en-US/docs/Mozilla/WebIDL_bindings#Alias to interfaces. |
| 10:16 | <annevk> | Oh, [Alias] would be great to have for some features, though perhaps a bit overkill |
| 10:40 | <Ms2ger> | nox, that's a completely different alias, though |
| 10:41 | <nox> | Ms2ger: Oh? So Document shouldn't be equal to HTMLDocument? |
| 10:41 | <nox> | annevk: Where? |
| 10:42 | <Ms2ger> | nox, I mean, [Alias] in Gecko webidl is a perf optimization |
| 10:42 | <nox> | Ms2ger: Oh yeah I know. |
| 10:43 | <nox> | Ms2ger: Where is it used btw? Invisible stuff? |
| 10:43 | <Ms2ger> | nox, it's an extension of [Constant] and [Pure] |
| 10:43 | <nox> | Weird. |
| 10:47 | <nox> | Ms2ger: Do you have an example? |
| 10:49 | <Ms2ger> | Wait |
| 10:49 | <Ms2ger> | Ignore everything I just said |
| 10:49 | <Ms2ger> | What I was talking about was [Affects] |
| 10:49 | <Ms2ger> | [Alias] is what you thought it was |
| 11:01 | <annevk> | nox: e.g. matches / webkitMatchesSelector |
| 11:01 | <annevk> | nox: or the various names of inputEncoding |
| 11:21 | <jochen__> | is there somewhere a spec that talks about what line number to use for inline scripts? |
| 11:26 | <Ms2ger> | HTML probably hand-waves a bit |
| 11:27 | <Ms2ger> | <script> |
| 11:27 | <Ms2ger> | var dcl = false; |
| 11:27 | <Ms2ger> | document.addEventListener("DOMContentLoaded", function(e) { dcl = true; }); |
| 11:27 | <Ms2ger> | </script> |
| 11:27 | <Ms2ger> | <script defer>setTimeout(function() { w(dcl) }, 0);</script> |
| 11:27 | <Ms2ger> | Anyone have an opinion on what that logs? |
| 11:29 | <Ms2ger> | Domenic, ^ |
| 11:29 | <Ms2ger> | (I *think* it's well-defined) |
| 11:31 | <nox> | annevk: Is matches supposed to be equal to webkitMatchesSelector? |
| 11:31 | <nox> | I guess it would make sense in fact. |
| 11:31 | <Ms2ger> | Yep |
| 11:32 | <nox> | LGTM? :P |
| 11:32 | <nox> | Ms2ger: Try to ping me a bit this weekend. |
| 11:33 | <nox> | I want to make LegacyUnenumerable and Alias reality. |
| 11:33 | <Ms2ger> | I try to avoid getting on IRC on my days off |
| 11:33 | <nox> | Oh right. |
| 11:33 | <nox> | Well then, chide me on Monday if I did nothing. :) |
| 11:34 | <annevk> | Oh I can help out with the Monday thing |
| 11:34 | <annevk> | That'll be fun |
| 11:35 | <nox> | annevk: Ah ah. :) |
| 11:36 | <Ms2ger> | Anyone know where defer scripts are executed in Chrome? |
| 11:45 | <Ms2ger> | annevk, you got IE on hand? |
| 11:45 | <annevk> | Ms2ger: only 11 |
| 11:45 | <Ms2ger> | I'll take it :) |
| 11:45 | <Ms2ger> | http://software.hixie.ch/utilities/js/live-dom-viewer/saved/3830 |
| 11:46 | <annevk> | Ms2ger: defer false; defer sT: true; defer sT*2: true |
| 11:47 | <Ms2ger> | Thanks |
| 11:47 | <Ms2ger> | That matches Chrome, but not Gecko or the spec (as I read it) |
| 11:54 | <Ms2ger> | https://github.com/w3c/web-platform-tests/pull/2479 |
| 12:06 | <zcorpan> | https://www.w3.org/Bugs/Public/show_bug.cgi?id=29378 intredasting. wonder if webkit/blink have always used floats for width/height. (sci-not seems not supported though) |
| 13:34 | <Domenic> | Ms2ger: I am pretty sure the spec ignores defer for inline scripts |
| 13:34 | <Ms2ger> | Domenic, you make a good point |
| 13:34 | <Ms2ger> | At least I have the consolation that zcorpan missed that too :) |
| 13:35 | <zcorpan> | hah |
| 13:36 | <zcorpan> | Ms2ger: follow-up PR? :-) |
| 13:36 | <Ms2ger> | Results don't change |
| 13:38 | <Ms2ger> | https://github.com/w3c/web-platform-tests/pull/2480 |
| 13:38 | <Ms2ger> | frivoal, so is it your birthday? |
| 13:39 | <frivoal> | Ms2ger: Yes indeed. |
| 13:39 | <Ms2ger> | Have a happy one, then :) |
| 14:30 | <JakeA> | Domenic: If I create a readable stream, pull is called straight away. Is this intentional? |
| 14:30 | <JakeA> | If so, https://streams.spec.whatwg.org/#rs-constructor seems misleading |
| 14:31 | <Domenic> | JakeA: step 12.a.ii? |
| 14:31 | <zcorpan> | blink and webkit apparently have a fancy <area shape> missing value default/invalid value default that depends on how many numbers are present in coords |
| 14:31 | <Domenic> | JakeA: as long as current queue size < high water mark it will try to pull to fill the queue |
| 14:31 | <JakeA> | Domenic: ahh ok, so "[pull] is called when the stream’s internal queue of chunks is depleted, and the consumer has signaled that they wish to consume more data" is misleading |
| 14:32 | <Domenic> | Ah I see |
| 14:32 | <Domenic> | "depleted" is not correct, yeah, thanks. File an issue? |
| 14:32 | <JakeA> | Shall do |
| 14:32 | <Ms2ger> | zcorpan, I wonder who came up with that |
| 14:32 | <Ms2ger> | zcorpan, I don't think Gecko has that, or anyone ever asked for it |
| 14:33 | <zcorpan> | Ms2ger: right gecko defaults to rect like the spec |
| 14:33 | <Ms2ger> | I think it used to be that Gecko did nothing when the attribute was missingf |
| 14:34 | <Ms2ger> | Can't find a bug now, though |
| 14:39 | <Ms2ger> | zcorpan, https://bugzilla.mozilla.org/show_bug.cgi?id=290397 |
| 14:48 | <zcorpan> | in webdevdata all the ones that have a missing/invalid shape use 4 values in coords. (but some do have missing shape and seem to expect a rect) |
| 16:17 | <Ms2ger> | annevk, so what's the story for direct cross-spec links in html? |
| 16:45 | <annevk> | Ms2ger: how or why? |
| 16:47 | <Ms2ger> | annevk, they exist for some specs but not others, or did I misremember that? |
| 16:48 | <annevk> | Ms2ger: ah yeah, it depends on whether or not the introduction of the term has a data-x-href attribute |
| 16:49 | <Ms2ger> | Aha |
| 16:49 | <Ms2ger> | Are there plans to add those for url/fetch/dom/...? |
| 16:53 | <annevk> | Ms2ger: there's a soft review requirement that we add it for new terms |
| 16:53 | <annevk> | Ms2ger: we'd accept patches, I think most of Fetch has it already |
| 16:53 | <Ms2ger> | Okay |
| 16:53 | <Ms2ger> | I might do that at some point, then |
| 17:50 | <Domenic> | I am actually not a huge fan of the cross spec link behavior... I don't like having the singlepage open then suddenly jumping to fetch and going "argh I lost my place now I'll have to reload the singlepage" |
| 17:50 | <Domenic> | But probably best to just stick with what other specs are doing |
| 17:51 | <Domenic> | I think ideally for me though it would jump to the HTML references section, and from _there_ you would get a link to fetch. So two clicks before you lose your singlepage tab. |
| 18:31 | <Domenic> | annevk: why do yo uthink "Restrictions for contents of script elements" needs to be changed? It doesn't seem to have anything to do with whether ES allows HTML comments or not |
| 18:31 | <Domenic> | Oh, I found the sentence... the very last sentence. |
| 18:46 | <yoav> | annevk: CORS question. Can a browser reuse resource fetched in different CORS modes from the same origin as the page? e.g. should <img src=foo> and <img src=foo crossorigin> on the same page trigger 2 requests? |
| 18:54 | <wanderview> | yoav: I believe those should be separate requests... they could get different headers/credentials right? |
| 18:55 | <yoav> | not sure, which is why I'm asking :) |
| 18:55 | <wanderview> | not sure about the spec, but implementation stuff leads me to believe these should be treated different for different cors modes |
| 18:56 | <yoav> | wanderview: what's the reason for that? I see the same in Blink, which threw me off |
| 18:57 | <annevk> | yoav: yes they should, very different semantics |
| 18:59 | <yoav> | OK. any pointers where I can read more about it? |
| 18:59 | <annevk> | Fetch |
| 19:00 | <yoav> | ok |
| 19:00 | annevk | goes back to not being around |
| 19:10 | <Domenic> | Who wants to come up with a good example for <script type="module"> |
| 19:26 | <nox> | Domenic: That deep silence. |
| 19:27 | <Domenic> | It's OK. I'm starting to feel inspired. This is my chance to inject some fun into the spec like Hixie does. I'm thinking a Star Wars example somehow. |
| 19:28 | <nox> | Domenic: My examples and tests are mostly about French cheese. |
| 20:25 | <Domenic> | OK examples at https://dl.dropboxusercontent.com/u/20140634/script-type-module/index.html#dom-script-text I am pretty happy with these |
| 21:15 | <nox> | Domenic: Cool. |