2016-12-01
[19:37:53.0000]
Can anyone remember where http://testthewebforward.org/docs/test-style-guidelines.html came from? Was it some internal Opera wiki page, or where?
[19:38:42.0000]
oh, no, https://www.w3.org/Style/CSS/Test/guidelines.html
[19:48:35.0000]
gsnedders: https://github.com/w3c/testtwf-website-src/commit/7af6bd8baa83f9498591aa60a06ce70822faf828#diff-0a2966d4916281397a795ab14e6ade3f
[19:49:08.0000]
I expect it was Rebecca compiling from sources available at the time
[20:01:59.0000]
astearns: I didn't even bother looking in the git history! It definitely long predates TTWF.
[20:02:55.0000]
e.g., https://www.w3.org/Style/CSS/Test/guidelines.html is dated as 2003
[20:03:40.0000]
that I have memories of it somewhere internal to Opera is likely just legacy of hixie being involved in writing it
[00:31:27.0000]
maybe there should be an opt-in to https://github.com/whatwg/html/issues/2047 to prevent navigation but still allow postMessage?
[02:44:08.0000]
Hixie's back?
[04:54:08.0000]
hsivonen: interesting read, pretty dramatic differences in both directions in some cases. the "<" at the end got me curious, https://checker.html5.org/?doc=https%3A%2F%2Fhsivonen.fi%2Fencoding-perf-2016-11%2F :-)
[06:03:45.0000]
Is there any precedent for some sort of async creation mechanism on a DOM object?
[06:04:45.0000]
That is, instead of `var x = new AmazingThing()`, something like `var x; AmazingThing.create().then(thing => { x = thing; });` (or something even prettier that I didn't think of)?
[06:06:11.0000]
`var x = await AmazingThing.create()` I suppose?
[06:07:26.0000]
mkwst: search for "Promise<" in the html spec
[06:08:28.0000]
convertToBlob, createImageBitmap
[06:12:07.0000]
Ok, great. Thanks. :)
[06:48:35.0000]
annevk: is there a way for a server or ServiceWorker to tell if a navigation network request was initiated with an opener or not?
[06:48:48.0000]
is there a header or something that is sent?
[11:50:10.0000]
For the as attribute is used to set headers and for CSP, anything else?
[11:50:29.0000]
If those are the only two things, what would be the difference between "script" and "worker"?
[14:40:15.0000]
Another silly "should this be optional?" question...
[14:40:44.0000]
https://html.spec.whatwg.org/multipage/browsers.html#dom-window says "The window, frames, and self IDL attributes, on getting, must all return this Window object's browsing context's WindowProxy object.".
[14:41:06.0000]
what should they return if the Window has no browsing context?
[14:42:19.0000]
annevk: Domenic: thoughts? ^
[14:42:34.0000]
ajeffrey_: how do you create a Window object without a browsing context?
[14:43:03.0000]
create an iframe, stash away the contentDocument, then detatch the iframe.
[14:43:26.0000]
It still has a browsing context; the browsing context has just been discarded.
[14:43:52.0000]
hmm, that's a subtle distinction :)
[14:44:04.0000]
indeed :-/
[14:44:27.0000]
so when a document is discarded https://html.spec.whatwg.org/multipage/browsers.html#discard-a-document
[14:44:49.0000]
"it still has a browsing context, it's just been discarded" doesn't make a whole lot of sense to an english speaker :l
[14:44:49.0000]
we lose the reference from the browsing context to the document,
[14:45:13.0000]
but not the reference from the document to the browsing context?
[14:45:54.0000]
That sounds right. https://html.spec.whatwg.org/multipage/browsers.html#garbage-collection-and-browsing-contexts may clarify.
[14:46:29.0000]
oh we were already in that section, nevermind, i am silly
[14:48:05.0000]
OK, so the document should always keep the reference to its browsing context, even if that context has been discarded.
[14:48:12.0000]
Domenic: thanks!
[14:48:27.0000]
I wish I could find somewhere that stated that clearly...
[14:48:31.0000]
At least Window should, I guess?
[14:49:06.0000]
It's caught by the catch-all that if there's a field, then there's a strong reference.
[14:49:50.0000]
Yeah, to WindowProxy though, not necessarily the browsing context :-/
[14:49:54.0000]
oh hang on a moment, that's a strong reference to the WindowProxy, not to the browsing context :/
[14:50:00.0000]
Domenic: jinx
[14:50:44.0000]
It would probably be nicer if the graph here was purely between the objects (Document/Window/WindowProxy)
[14:50:53.0000]
Then had some additional edges for browsing context as necessary
[14:51:01.0000]
It's really unclear who owns what
[14:51:16.0000]
I feel like I already tried to fix this once :-/
[14:52:00.0000]
it doesn't help matters that browsing context is a concept, not a WebIDL interface :/
[14:52:53.0000]
Yes, that's why it'd be nicer to shuffle it off to the side and minimize the number of edges into it
[14:53:07.0000]
indeed.
[14:54:40.0000]
I'll file an issue on myself at least...
[14:54:46.0000]
What's your GitHub username again, ajeffrey_ ?
[14:55:05.0000]
Domenic: asajeffrey
[14:56:59.0000]
MikeSmith: yt?
[15:03:00.0000]
Domenic: I filed a servo issue https://github.com/servo/servo/issues/14434.
[15:06:56.0000]
This will be a fun one
[15:10:55.0000]
Domenic: hmm, "And the Document originally created for an iframe element, which has since been removed from the document, has no associated browsing context, since that browsing context was discarded."
[15:11:04.0000]
(2nd note in https://html.spec.whatwg.org/multipage/browsers.html#windows)
[15:16:23.0000]
@_@
[15:21:23.0000]
"When an iframe element is removed from a document, the user agent must discard the element's nested browsing context, if it is not null, and then set the element's nested browsing context to null."
[15:21:36.0000]
https://html.spec.whatwg.org/multipage/embedded-content.html#the-iframe-element
[15:23:15.0000]
sure but "discard" is a term of art
[15:23:19.0000]
Someone else might have a reference to it
[15:29:38.0000]
ah, yes. read scrollback more carefully now
2016-12-02
[06:57:45.0000]
well, someone seems to not want to stick around :)
[12:26:44.0000]
cwilso, yoav: Steve requested moving Scroll Anchoring to WICG back in Oct 10, but that hasn't happened yet. Was there anything blocking the move, or did it just slip thru the net?
[12:53:19.0000]
TabAtkins: I just missed it (sorry - run up to CDS). I just invited Steve to WICG GH group, will work with him to xfer.
[12:59:19.0000]
Danke.
[13:13:28.0000]
http://www.udd.cl/ is interesting. is used for physical location for upcoming event, and applies to enclosing
[14:38:43.0000]
TabAtkins: https://github.com/WICG/ScrollAnchoring is now a thing.
2016-12-03
[21:32:23.0000]
Annevk: meant to mention that I succeeded in figuring who exactly is responsible for URL interop in blink (https://crbug.com/660384), but do not have the data to argue it's higher priority than the other things on that team's plate (Streams-related stuff). Maybe this awesome post will help: https://webkit.org/blog/7086/url-parsing-in-webkit/
2016-12-04
[21:27:01.0000]
any #whatwg folks at Mozilla AllHands and not had dinner yet?
[21:50:58.0000]
hsivonen, i recommend you contact nox
2016-12-05
[18:38:32.0000]
don't suppose there's anyone building firefox with the bogus extension signing thing removed? otherwise i'm probably just going to stop updating firefox, heh
[18:40:20.0000]
(mozilla doesn't get to be a gatekeeper for add-ons, nobody should be tolerating that)
[18:59:47.0000]
Ah ah.
[23:53:30.0000]
hmm, IE 10/11 had just rp { display:none }. IE 8..9 and Edge 13 have ruby rp { display:none }
[23:54:10.0000]
did they decide to be compatible with Firefox for IE 8, and then decide to be compatible with Chrome in Edge 13?
[23:57:41.0000]
MikeSmith: do you have an idea about the usefulness of "not mappable to XML 1.0" warnings? i suppose they are useful for some people but not at all for the majority, but would be good to have some kind of data
[01:56:19.0000]
zcorpan: as far as real XML usage, data we have consistently shows that at most 0.1% of HTML documents are served with an XML MIME type
[01:57:22.0000]
see the “XML input” line at https://validator.w3.org/nu/stats.html
[01:58:26.0000]
and there is Opera MAMA data that indicates the same 0.1%
[01:58:30.0000]
lemme find it
[01:58:58.0000]
MikeSmith: ok. but that stat doesn't say so much about whether XML warnings in text/html are useful, right?
[01:59:33.0000]
MikeSmith: such warnings would be useful if one tries to parse the HTML and serialize as XML for something other than serving the page to the browser
[02:00:54.0000]
well I don’t know how we could get figures for that
[02:01:12.0000]
or, for some cases, try to generate an equivalent DOM using DOM core APIs (which often but not always reject things that are not allowed in XML)
[02:01:36.0000]
yeah I don’t think we want to encourage people to try to do stuff like that anyway
[02:02:06.0000]
if they do they are likely to run into more problems than the subset of what we warn about, I htink
[02:02:28.0000]
so I think we should drop those "not mappable to XML 1.0" warnings
[02:03:01.0000]
I think they are just noise to the vast majority of users
[02:03:37.0000]
ok. yeah, i think so too. for element and attribute names we give an error anyway for names that can't be used in XML
[02:03:49.0000]
yeah
[02:04:44.0000]
and anyone trying to serialize text/html as XML will be better off doing infoset coersion than trying to warn the Internet into behaving
[02:04:46.0000]
I think that 0.1% figure does probably also roughly align with the data for number of users who want to do that other XMLish stuff
[02:05:15.0000]
as maybe does the “Doctype with「SYSTEM "about:legacy-compat"」found” figure at https://validator.w3.org/nu/stats.html
[02:05:30.0000]
which is 0.06%
[02:05:40.0000]
Yeah
[02:06:10.0000]
OK so dropping the warnings is an htmlparser change
[02:06:43.0000]
I’m happy to make them directly but also happy to merge them if you make a PR
[02:07:05.0000]
btw for htmlparser changes make sure to use the validator-nu branch as the base
[02:07:20.0000]
for https://github.com/validator/htmlparser I mean
[02:07:32.0000]
I think that is what should automatically happen now
[02:08:02.0000]
because I recently switched it so that validator-nu branch is the default for that github repo
[02:21:33.0000]
hmm htmlparser is a submodule. i don't know what to do. :-D
[02:43:53.0000]
cd htmlparser && git checkout validator-nu && git pull
[03:41:22.0000]
MikeSmith: should the warning still be there for ALTER_INFOSET?
[03:45:47.0000]
i suppose the warning can be useful there
[04:08:58.0000]
zcorpan: yeah agreed
[04:12:24.0000]
MikeSmith: https://github.com/validator/htmlparser/pull/3
[04:13:19.0000]
MikeSmith: Trailing whitespace got trimmed. I've built and tested manually and run tests
[04:13:39.0000]
but not written new automated tests
[04:48:16.0000]
hm, this is a specced behavior? https://jsfiddle.net/2xy87m6z/
[04:48:26.0000]
(not getting checked even if explicitely requested)
[15:29:39.0000]
rniwa, at 2016-11-23 23:00 UTC, Domenic said: for a repro file for https://github.com/whatwg/html/issues/2058
2016-12-06
[07:01:18.0000]
hmmmm. per https://www.chromestatus.com/metrics/feature/popularity 'datetime' is used more often than 'datetime-local'
[15:53:35.0000]
XHR spec issue, shepherd issue or bikeshed issue: I can link to {{XMLHttpRequest/send()}} just fine, but {{XMLHttpRequest/getAllResponse Headers()}} doesn't work (instead seems to be indexed as XMLHttpRequest/dom-XMLHttpRequest-getAllResponseHeaders)
2016-12-07
[16:29:15.0000]
Mek: prolly XHR
[16:29:25.0000]
Mek: XHR has yet to migrate to Bikeshed
[16:29:37.0000]
Mek: the problem with doing that is that it requires IDL changes and I don't want to make IDL changes...
[16:44:28.0000]
(To be specific, it requires changing the name of one of the arguments of two overloaded methods.)
[16:44:49.0000]
(And avoiding that change is a very complicated and fraught Bikeshed change, so I'm not planning on doing it any time soon.)
[17:01:04.0000]
I see... The odd part is that in the XHR spec I don't see anything obviously different between the various methods, but then I have no idea what magic/heuristics shepherd is doing to index things
[23:40:18.0000]
wat. "A database query error has occurred. This may indicate a bug in the software." https://wiki.whatwg.org/wiki/FAQ
[23:40:37.0000]
who can fix this?
[23:45:02.0000]
clearing cookies made it work
[00:03:21.0000]
zcorpan: I ran into that before too
[00:03:37.0000]
for me it cleared up on its own after a day or so
[00:04:11.0000]
maybe that error message should suggest clearing cookies
[00:04:34.0000]
yeah that would be nice
[00:04:47.0000]
otherwise it’s just kind of baffling
[00:04:49.0000]
or, you know, someone(TM) fix the bug in the software
[00:07:40.0000]
good luck to us on that
[00:08:10.0000]
the irony that https://google.github.io/styleguide/htmlcssguide.xml?showone=Optional_Tags#Optional_Tags is itself using xml+xslt
[00:08:22.0000]
when I talked to Hixie about it he said he didn’t know who among us is responsible for keeping the wiki running
[00:09:11.0000]
haha XSLT will be with us forever
[00:09:30.0000]
like a guest who long overstays their welcome
[00:09:36.0000]
drinking all your beer
[00:10:42.0000]
XSLT, you're drunk, go home
[00:13:52.0000]
haha
[01:28:09.0000]
zcorpan: While drunk, I'm definitely funnier than XSLT.
[06:25:58.0000]
annevk: Is there a way to find all the specs that depend on fetch? I'm looking at which APIs should skip the service worker when used in a service worker
[06:26:02.0000]
https://github.com/whatwg/fetch/issues/303
[06:26:42.0000]
Want to do a sweep of as many APIs as possible & work out which things should be on the allow/deny list
[08:12:50.0000]
JakeA: anything you can think of that does networking; not keeping a list at the moment
[08:13:40.0000]
annevk: no worries. Still settled on the opt-out-of SW list.
[10:25:51.0000]
hi. I forgot how to report bugs on the html spec. can anyone help? (or I can just report it here)
[10:31:47.0000]
salty-horse: you can go to whatwg.org/html, select a piece of text related to the bug, click the "file an issue" link at the bottom right
[10:34:01.0000]
thanks!
[10:34:32.0000]
oh I totally missed that link
[10:42:34.0000]
I find it very odd that the ImageSmoothingQuality enum is explained separately from the imageSmoothingQuality attribute
[13:55:08.0000]
JakeA: if anybody has a good answer for “Is there a way to find all the specs that depend on fetch”, it would be tobie I think
[13:55:52.0000]
I mean not specifically about fetch for the general question of find all specs that depend on some particular spec
[14:13:59.0000]
MikeSmith: cheers! Feels like something the bikeshed database might know
[14:29:30.0000]
for Android Chrome is there some way I can save a bookmark to my homescreen without it suppressing the browser chrome
[14:30:44.0000]
I need the address bar, but the Add to Homescreen thing makes that get suppressed, along with all the other browser controls
2016-12-08
[16:01:00.0000]
kochi: yt?
[16:01:07.0000]
hayato: ping
[16:14:09.0000]
https://github.com/w3c/browser-payment-api/issues/307#issuecomment-265511874
[16:14:46.0000]
“I'd like to think that the implementation follows the spirit of the spec.”
[17:06:58.0000]
annevk: yt?
[17:07:00.0000]
Domenic: yt?
[17:11:12.0000]
rniwa: sorta
[17:11:33.0000]
annevk: do you recall know why fullscreenElement: https://fullscreen.spec.whatwg.org/#dom-document-fullscreenelement
[17:11:50.0000]
annevk: needs to check whether candidate & context object are in the same tree after retargeting the lement?
[17:11:58.0000]
that seems odd because retargeting should guarantee that
[17:12:21.0000]
oh I guess it's not necessary true if the retargeted node is in another shadow tree...
[17:12:36.0000]
wait, retargeting should fix that
[17:13:16.0000]
oh, i guess if we called fullscreenElement on a shadow tree and fullscreenElement is in the document, we'd hit this...
[17:14:52.0000]
rniwa: sounds plausible, foolip and kochi might know more
[17:32:46.0000]
rniwa: annevk: does sound like worth adding an example to the spec for
[17:39:48.0000]
Yeah, makes sense
[17:40:05.0000]
Is there a combined term for the GET and HEAD methods?
[18:34:05.0000]
Domenic, annevk: an example for what?
[18:34:24.0000]
rniwa: the fullscreenElement thing you mentioned
[18:34:42.0000]
ah, I see
[18:56:30.0000]
slightlyoff, here?
[18:59:04.0000]
Ish. Whaddup?
[19:00:12.0000]
slightlyoff, I'm failing to make sense of the definition of origin in https://w3c.github.io/ServiceWorker/#run-service-worker
[19:02:14.0000]
Send mail? On Indian 2G, won't be able to answer quickly
[19:03:29.0000]
Oh, okay
[19:03:34.0000]
Thanks anyway :)
[22:22:36.0000]
annevk, hayato : should fullscreenchange be composed?
[22:22:56.0000]
oh, I guess this fires on document so no need
[22:40:00.0000]
annevk, hayato: on the other hand, that seems to indicate that we should be firing these events on shadow root as well...
[22:40:25.0000]
otherwise we get into a weird situation where in order to listen to a fullscreen state change, you need to attach your event listener to document
[22:49:57.0000]
/me filed https://github.com/w3c/webcomponents/issues/614
[23:55:31.0000]
how can I compile the "source" file into HTML? is the post-processor proprietary and therefore not provided?
[00:01:37.0000]
Ms2ger: we could probably replace that with the script's origin. Is that what you mean?
[00:07:25.0000]
salty-horse: https://github.com/whatwg/html-build/
[00:08:33.0000]
MikeSmith, thanks. I looked in README instead of CONTRIBUTING.
[00:08:42.0000]
ah
[00:09:13.0000]
hmm yeah we used to have that info in teh README but we moved it to CONTRIBUTING a few months ago
[00:09:44.0000]
because of the fact CONTRIBUTING is what the GH issue tracker auto-links to
[00:10:16.0000]
but it seems we should maybe mention it in the README still as well
[00:10:24.0000]
is it ok if my fix breaks the 100 column width rule? (I have to, to prevent any newlines from appearing in the output)
[00:10:39.0000]
yeah it is OK
[00:10:45.0000]
if there is a reason for it
[00:11:07.0000]
that 100 column width rule is not a hard requirement for the processor or anything
[00:11:18.0000]
it is just a policy, style rule
[00:12:14.0000]
salty-horse: if you have any problems with the build please report them
[00:12:22.0000]
trying..
[00:12:40.0000]
even if they are just frustrations and not show stoppers
[00:12:53.0000]
we have tried hard to make the build as easy to use as possible
[00:13:19.0000]
but I think it probably still has a lot of room for improvement
[00:17:11.0000]
MikeSmith, have you considered making "html-build" a git submodule of "html"? I don't see a reason why I would want one and not the other
[00:41:24.0000]
We have but decided intentionally to not make it a submodule
[00:42:02.0000]
because submodules are one of those "now you have two problems" things
[00:50:59.0000]
salty-horse: https://github.com/whatwg/html/pull/2151
[00:52:38.0000]
MikeSmith, looks good!
[00:54:59.0000]
rniwa: sorry for being late, I was busy for other things today. As you may have understood, the "retargeting" algorithm does not guarantee that the context object and the retargeted node is in the same node tree. The "retargeting" algorithm was originally for event retargeting, but as most part can be reused, the algorithm is used for fullscreenElement.
[00:55:16.0000]
salty-horse: so actually waht we normally do for cases like that line is wrap the “ data-x="dom-context-2d-imageSmoothingQuality-low">low".
” part to the next line
[00:55:22.0000]
rniwa: also pointerLockElement uses the retargeting algorithm. https://w3c.github.io/pointerlock/#dom-documentorshadowroot-pointerlockelement
[00:55:35.0000]
salty-horse: that is, break it before the attribute name
[00:55:55.0000]
Looks like Safari TP supports PointerLock!! http://caniuse.com/#search=pointerlock
[00:56:06.0000]
hmm ok. yes the docs mentioned it, but I thought this was more readable.
[00:57:16.0000]
yeah we do it even if it is less reabable
[00:57:20.0000]
kochi: it looks like fullscreenchange event is still broken: https://github.com/w3c/webcomponents/issues/614
[00:57:38.0000]
kochi: as things stand, you have to listen to the event on document level if one of the elements in a shadow tree is full screen'ed
[00:57:59.0000]
salty-horse: actually it is more that we go with whatever our text editors do when given a 100-column limite
[00:59:06.0000]
fixing nw
[01:00:51.0000]
/me sigh... one of these days, i'd go home before midnight
[03:29:04.0000]
so, is there an "official" way of making html/css tables with a fixed header and a scrollable body?
[03:30:02.0000]
This isn't really a support channel, but what do you mean by "official"
[03:31:49.0000]
where does webidl say to "perform a security check" for constructors? or does it not? heycam|away tobie annevk Domenic - context https://github.com/w3c/browser-payment-api/issues/361#issuecomment-265719019
[03:41:53.0000]
boogyman: such as "there is a dedicated attribute for this" or "the cannot really overflow, so you need to use display:block or wrap it" ... something more worthy than a random crappy SO search
[03:42:20.0000]
no looking for a solution to be copypasted. looking for a right direction (or a statement about no direction being available at all)
[03:46:03.0000]
position: fixed is the most likely, but I have not tried to use it in the context of
...
[03:46:51.0000]
okay, thanks
[04:19:34.0000]
zcorpan: afaik it doesn't
[04:19:40.0000]
zcorpan: see: https://heycam.github.io/webidl/#es-constructible-interfaces
[04:21:00.0000]
tobie: shouldn't it, somewhere before step 6?
[04:21:37.0000]
zcorpan: instantiation being neither done by an operation nor a getter/setter, we'd need to modify https://heycam.github.io/webidl/#dfn-perform-a-security-check
[04:23:02.0000]
zcorpan: it seems like a reasonable thing to do, but I'm no authority in this topic. Can you file a ticket?
[04:25:18.0000]
sure
[04:28:26.0000]
filed https://github.com/heycam/webidl/issues/249
[04:38:34.0000]
zcorpan: ty
[04:40:02.0000]
ondras: afaik, that is still an unsolved issue in css, but display:block "works"
[04:40:47.0000]
zcorpan: I would say that display:block totally f*cks up the width computation of the tbody cells, so having absolutely positioned might work better. gave it only a rough try though.
[04:41:25.0000]
zcorpan: https://jsfiddle.net/zo1tg7L7/1/
[04:41:39.0000]
ondras: yeah maybe positioning the thead is less painful
[04:41:56.0000]
(but still painful)
[04:42:33.0000]
you'd need to display:block the thead as well, and then specify widths for the cells so they hopefully line up
[04:43:49.0000]
zcorpan: I would like to retain the automatic column width computation algorithm
[04:44:34.0000]
/me thinking about the css grid for this particular case...
[05:01:34.0000]
zcorpan: isn't the security check done by step 9 (Assert: O.[[Realm]] is equal to F.[[Realm]])?
[05:04:30.0000]
tobie: no? that happens after the constructor's algorithm has run (step 6), and isn't "Assert" meant for things that should be impossible to be false if the spec is implemented correctly?
[05:05:26.0000]
i.e. strictly non-normative
[05:05:51.0000]
zcorpan: yeah, you're right on both counts.
[05:15:17.0000]
MikeSmith, JakeA: sorry forgot to get back to you this morning. I unfortunately don't have a good answer to this. TabAtkins might have this data ("Is there a way to find all the specs that depend on fetch") from shepherd.
[05:15:45.0000]
tobie: OK
[05:16:19.0000]
/me watches hot potato get passed to TabAtkins
[05:17:42.0000]
MikeSmith: I do have a bunch of code written specifically to get this data out, but the project was put on the back burner, unfortunately.
[05:18:02.0000]
ah yeah
[05:18:21.0000]
I thought you had done some work back some time ago
[05:18:42.0000]
so my memory is not as bad as I imagined
[05:20:32.0000]
iirc shepherd doesn't know which specs reference which. i needed this when switching html to en-US but ended up greping various repos and googling
[05:22:26.0000]
So... "secure context" cannot change during the lifetime of a document, correct?
[05:22:45.0000]
TabAtkins just needs to write a replacement for shepherd
[05:23:43.0000]
zcorpan: dunno the answer but you thinking about that in the context of future-proofing “allowed to use” for Feature Policy compat?
[05:24:50.0000]
MikeSmith: that is related yeah. i'm trying to wrap my head around how these things work.
[05:25:33.0000]
MikeSmith: i found [SecureContext] in webidl means the thing is not exposed at all in non-secure contexts, but that's not how it's implemented in chromium for PaymentRequest at least
[05:26:32.0000]
instead it throws early in the constructor https://chromium.googlesource.com/chromium/src/+blame/master/third_party/WebKit/Source/modules/payments/PaymentRequest.cpp#682
[05:32:18.0000]
zcorpan: I guess I have ceased being surprised by cases where blink+chromium+v8 doesn’t conform to webidl
[05:32:41.0000]
seems to be the rule rather than the exception
[05:33:23.0000]
well that’s overstating things but… it’s frustrating
[05:35:19.0000]
especially when I take time to report it and end up getting ’splained to, that well actually, the blink+chromium+v8 is right and wontfix
[06:17:00.0000]
Figure Content model:
[06:17:00.0000]
Either: One figcaption element followed by flow content.
[06:17:00.0000]
Or: Flow content followed by one figcaption element.
[06:17:17.0000]
flow content... but can be more than 1?
[06:17:37.0000]
like
[06:17:51.0000]
is that valid?
[06:25:28.0000]
felixjet: yes
[06:26:33.0000]
and the example of figure + code shows this figcaption: Listing 4. The primary core interface API declaration.
[06:26:53.0000]
so, its a caption, and the flow content associated is
[06:27:08.0000]
thats ok, but what if the figcaption is used like javascript
[06:27:19.0000]
is that semantically still correct and good use?
[06:27:45.0000]
because thats not a caption at all, it's not describing the content of the code
[06:30:10.0000]
felixjet: why is it not a caption?
[06:30:50.0000]
because it's not describing whats inside the tag
[06:30:52.0000]
it's more like a label
[06:30:56.0000]
label != caption
[06:32:40.0000]
"The figcaption element represents a caption or legend"
[06:38:24.0000]
I guess "javascript" is arguably not correct use of figcaption, given dictionary definitions of the these words
[06:38:50.0000]
maybe you want
[06:40:03.0000]
https://html.spec.whatwg.org/#the-code-element
[06:40:28.0000]
or class on the
[07:07:44.0000]
the language-javascript is a class that specifies the language of the code
[07:08:06.0000]
i'm talking about showing that language label
[07:08:21.0000]
if it should be figcaption or not
[07:08:42.0000]
the class doesn't show, it just style the
[11:04:10.0000]
annevk: ping :) .. https://github.com/whatwg/fetch/pull/419 - anything I can do to help land that?
[11:04:10.0000]
will do
[11:05:15.0000]
igrigorik: yeah I was looking for WPT
[11:05:40.0000]
igrigorik: sorry for the delay in replying, some vacation plus now it's Mozilla week
[11:06:08.0000]
igrigorik: we're slowly moving to a world where specification changes require corresponding WPT changes
[11:07:03.0000]
annevk: np! re, WPT: as in, merge failing tests showing that update hasn't been implemented anywhere.. yet? =/
[11:07:27.0000]
igrigorik: heh, yeah, that would do
[11:07:49.0000]
igrigorik: preferably with a pointer to the Fetch PR
[11:08:03.0000]
igrigorik: and then when I land the Fetch PR I'll point to the tests
[12:11:17.0000]
gsnedders: jgraham: the formatting in http://testthewebforward.org/docs/test-format-guidelines.html#tests-involving-multiple-origins seems wrong
[12:12:04.0000]
annevk: You mean there is text missing?
[12:12:11.0000]
jgraham: yeah
[12:12:25.0000]
jgraham: also, what can I assume location.host to return when a test is normally run?
[12:12:35.0000]
jgraham: would that include a subdomain or not?
[12:12:59.0000]
jgraham: that is, I'm wondering how to construct a request to a different domain given location.host as input
[12:13:58.0000]
annevk: https://github.com/w3c/web-platform-tests/blob/master/docs/test-format-guidelines.md has the unbroken documentation
[12:15:48.0000]
jgraham: okay, but it doesn't really say much about how to do any of that from script
[12:16:21.0000]
It's a text substitution feature. Script doesn't really come into it
[12:17:14.0000]
I mean you can write `var host = "{{location[host]}}"` and put it in foo.sub.js for example
[12:19:51.0000]
jgraham: I was trying to avoid substitution since I was just modifying an existing JS file used by several tests
[12:20:10.0000]
jgraham: but I think I'm going to skip writing the test I was wanting to write since it's a little more involved than I want
[12:52:16.0000]
annevk: oh, yeah, I noticed that a few days ago
[12:52:48.0000]
annevk, jgraham: it's basically impossible to fix on ttwf without making it use non-standard Markdown stuff which breaks it on github :\
[13:28:55.0000]
gsnedders: ttwf must die
[13:35:07.0000]
jgraham: I agree.
[13:35:18.0000]
jgraham: OTOH, Github Pages is still Jekyll so we hit the same issue
[13:36:07.0000]
see which fixes that, if anyone wants to cherry-pick it and break the Github view :\
[14:00:06.0000]
Domenic: are you doing Starting Strength?
[14:05:12.0000]
Is that something people do? Why?
[14:34:13.0000]
Ms2ger: to get stronger typically
[14:41:11.0000]
zcorpan: modified Stronglifts 5x5; clean and snatch scare me
[14:45:01.0000]
Domenic: ok. but just 1 set for deadlift?
[14:45:12.0000]
zcorpan: ya
[14:47:37.0000]
Domenic: i did that too for many years. this year i upped the volume for deadlift. 5x5 two times a week with linear progression, then a 5x5 "light" day and a heavier day with 2-3 sets of 3-5 reps. seems like it paid off
[14:48:23.0000]
oh wow, yeah
[14:49:30.0000]
now time to sleep :-) nn
[14:54:32.0000]
what does "paid off" entail though
[14:57:37.0000]
can lift, bro
[15:02:23.0000]
Can probably also lift things that aren't bros
[15:04:39.0000]
"it paid off so much that now the inlaws are calling me over whenever they need to move heavy furniture it's great"
[15:13:33.0000]
http://stackoverflow.com/questions/41047773/service-workers-fetch-event-never-fires
[15:29:31.0000]
http://stackoverflow.com/questions/16824661/cors-request-not-working-in-safari/22924272#22924272 seems to indicate that Safari adds “Origin” to Access-Control-Request-Headers
[15:29:40.0000]
which seems non-conforming
2016-12-09
[16:11:25.0000]
Is @import loading sync?
[16:11:51.0000]
https://github.com/w3c/csswg-drafts/issues/453 (re @import)
[18:00:57.0000]
MikeSmith: https://travis-ci.org/whatwg/fetch/builds/181216088 something goes wrong with Java
[18:01:10.0000]
/me looks
[18:01:58.0000]
annevk: it’s not calling the Java8 `java`
[18:02:17.0000]
need to do the thign of giving it the full path to the right `java` binary
[18:02:26.0000]
I thought we changed that we for fetch already
[18:03:12.0000]
that PR branch need to be rebased maybe?
[18:04:40.0000]
Ah okay, rebasing it would probably fix it I guess
[18:04:40.0000]
MikeSmith: thanks
[23:15:44.0000]
morning
[23:15:56.0000]
chrome behaves rather strangely in the first case: https://jsfiddle.net/5xzp876y/
[23:16:05.0000]
is this known/specced?
[23:46:09.0000]
rbyers: ping for https://github.com/whatwg/dom/issues/334
[23:46:10.0000]
will do
[23:46:25.0000]
miketaylr: that's also the issue you want to look at /\
[23:46:43.0000]
miketaylr: and we should maybe discuss tomorrow afternoon if we find the time
[01:39:04.0000]
zcorpan: about character references at this point in time I wonder what problems they are actually solving for anybody
[01:39:28.0000]
I wonder why anybody still intentionally chooses to use them
[01:41:25.0000]
so as far as guidance, maybe what we really should be having the spec start out by say is: Don't use character references. They’re a legacy of another era. But if you choose to use them anyway, here are the rules about how they work.
[01:42:02.0000]
MikeSmith: maybe for invisibles that don't have named charrefs, or to hide their emails from email scrapers, or because they're still in an environment that's not all-utf-8
[01:42:59.0000]
yeah those seem all seem like problems that are better fixed with other solutions
[01:43:31.0000]
like, don’t use non-ut8 environments
[01:43:57.0000]
and use a text editor that lets you show invisibles in some way
[01:45:04.0000]
anway in general I think we should be having the spec say more “don’t use this” language about crufty old stuff like this
[01:45:31.0000]
otherwise, unless the spec says something, it is kind of enshrining that stuff
[01:45:42.0000]
as far as how readers perceive it
[01:46:03.0000]
it is like the spec is blessing it, unless it clearly says otherwise
[01:46:32.0000]
anyway, maybe it is just me who sees it that way
[01:46:36.0000]
pet peeve
[01:46:43.0000]
MikeSmith: are they causing harm?
[01:46:49.0000]
yes
[01:47:12.0000]
because people use them when they should be fixing their environments, and learning how to do that
[01:47:19.0000]
modernizing
[01:48:20.0000]
and also their docs may get handed off to somebody else to deal with
[01:49:17.0000]
and that new person has a non-broken authoring environment and gets handed some doc riddled with character refs where they should be real unicode and they are rightly gonna feel, wtf
[01:51:14.0000]
i don't feel strongly about it, but i wouldn't object to opinionated non-normative text in the spec
[02:21:29.0000]
botie: tell caitp being strong improves quality of life throughout life, and it will make a much bigger difference when getting old
[02:21:30.0000]
will do
[02:21:49.0000]
oh caitp was here already
[05:01:24.0000]
Crazy idea: "TypeShed" - something that takes typescript and converts it into spec prose
[05:04:29.0000]
Annevk: Sorry I missed that. Replied. On vacation without a laptop, but dtapuska and tkent are the right people for this area anyway.
[05:47:11.0000]
Is there anything wrong, faulty or bad with using a character reference like this in HTML?
http://example.com/foo&bar
[05:47:28.0000]
Compared to
http://example.com/foo&bar
[05:47:52.0000]
Its not an ambiguous ampersand. So should it be encoded like that?
[05:51:20.0000]
I'm just checking my sanity here.
[07:15:12.0000]
saba: either is OK. if unsure, use &
[07:40:55.0000]
so yesterday i asked something but everyone was afk xD let's try again
[07:41:05.0000]
while wrapping