05:02
<frewsxcv>
nice job Domenic :)
05:02
<Domenic>
kudos go to terinjokes and robertkowalski; I'm just kind of shepherding them through it :)
05:03
<terinjokes>
i don't usually meme, but when I do.
05:03
<terinjokes>
http://i2.kym-cdn.com/photos/images/original/000/234/739/fa5.jpg
05:54
<MikeSmith>
heh
10:30
<nox>
annevk, Domenic: Any pointer as to where is the spec related to the tree building of an <svg> element in a <mathml annotation-xml> element in HTML?
10:32
<nox>
Never mind, can't read.
11:50
<rits>
annevk: hello, could you review this https://github.com/whatwg/html/pull/485
12:35
<Ms2ger>
annevk, can you add (webidl arrays) to the summary in https://github.com/whatwg/html/issues/11 ?
12:56
<smaug____>
Isn't Client.id in serviceworkers a bit too vaguely spec'ed. I could easily see some web page starting to rely on the id types of some browser, but id being some other kind of string in some other browser
12:56
<smaug____>
(not that I understand the need for id at all)
13:09
<annevk>
Ms2ger: done
13:09
<Ms2ger>
Thanks\
13:09
<annevk>
rits: not sure what zcorpan means either
13:10
<annevk>
rits: zcorpan should probably review it though
13:10
<annevk>
rits: he's more familiar with that section
13:11
<rits>
annevk: sent you the wrong link actually i am asking for this one https://github.com/whatwg/html/pull/484
13:11
<zcorpan>
rits: the step below my comment should be merged into the step above my comment, so those things are in the same "queue a task"
13:12
<zcorpan>
rits: except "abort these steps" at the end which can be its own step
13:13
<rits>
zcorpan: okay, thanks!
13:13
<zcorpan>
Ms2ger: btw, about wrapping, the img section should move towards 100-col wrapping like the rest of the spec
13:14
<nox>
Ms2ger: Is anyone working on fixing WebIDL.py wrt to #11?
13:15
<zcorpan>
rits: https://github.com/whatwg/html/commit/16eb8bb254dde2d0ab5617c410d46a87485065c8 is similar
13:15
<zcorpan>
rits: possibly you should add some more linebreaks also to have consistent style
13:15
<Ms2ger>
nox, I have no idea what the status is
13:16
<Ms2ger>
zcorpan, okay (though I kinda feel like semantic wrapping was a good idea)
13:16
<annevk>
rits: I think it would be great if in the seamless="" removal commit message you list the sets of commits that are being reverted
13:17
<annevk>
rits: that would also make it easier to review if anything was missed
13:17
<nox>
Ms2ger: Ok.
13:17
<rits>
zcorpan: yeah i saw that, i'll do the fix
13:21
<rits>
annevk: you mean those previous commits right like these one's https://github.com/whatwg/html/commit/dfa3f22b5278113cba689c3cf6e358f17e334311
13:21
<zcorpan>
Ms2ger: i don't disagree in principle though i didn't get used to it when working on <picture>. but if everyone prefers semantic linebreaks over 100-col i'd be cool with that
13:22
<annevk>
rits: yeah
13:23
<rits>
annevk: sure will do that :)
13:23
<annevk>
Ms2ger: semantic wrapping?
13:23
<annevk>
zcorpan: ^
13:23
<Ms2ger>
http://rhodesmill.org/brandon/2012/one-sentence-per-line/
13:26
<annevk>
Ah, let's not do that, that's a lot more work
13:28
<zcorpan>
i'm not sure it's really a lot more work, but it does need some getting used to
13:30
<zcorpan>
it also makes searching text simpler because you can search for things with just spaces instead of doing \s+ to catch things that are split over lines
13:31
<annevk>
That's true, I do try to keep terms on a single line
13:31
<annevk>
Although not in HTML since we weren't using that convention there
13:56
<frewsxcv>
https://html.spec.whatwg.org/multipage/forms.html#dom-form-item
13:56
<frewsxcv>
https://html.spec.whatwg.org/multipage/forms.html#htmlformelement
13:56
<frewsxcv>
instead of "getter Element (unsigned long index);", should it be "getter Element? (unsigned long index);"
13:57
<frewsxcv>
e.g. if formelement.elements is an empty collection, what element should formelements[100] return?
14:00
<zcorpan>
frewsxcv: i think that is covered by webidl (returns undefined)
14:01
<annevk>
if that is true we should have a note explaining that since the definition entirely defers to item() from HTMLCollection which can return null
14:01
<nox>
frewsxcv: That matters only for getters with a name.
14:02
<nox>
That getter doesn't have one.
14:02
<nox>
The one getter with a name and no optional type, IIRC, is in CSStyleDeclaration.
14:02
<nox>
For undefined properties, item() returns the empty string, while the getter returns undefined as usual.
14:08
<Ms2ger>
frewsxcv, logically, it returns Result<T, ()>
14:08
<Ms2ger>
Where Err(()) => undefined
14:11
<zcorpan>
http://heycam.github.io/webidl/#idl-indexed-properties has a note covering this
14:30
<annevk>
jgraham: under "Handle redirects" the navigate algorithm talks about a same-origin check, but I cannot think of any platform features that warrant that check being there
14:30
<annevk>
jgraham: is that perhaps a leftover from the old <form> submission methods (PUT/DELETE)
14:30
<annevk>
jgraham: that's the only thing I can think of that would warrant all that text there
14:35
<jgraham>
annevk: Not sure. I can't think of a way to navigate using a non GET/POST method either but it at least makes sense that if such a thing existed then you would want that check, so it could also be futureproofing
14:45
<annevk>
wanderview: I've been thinking about how to handle redirects and navigate
14:45
<annevk>
wanderview: I think I have a good one but it changes the processing model a bit...
14:46
<wanderview>
annevk: ok... process model of navigate or serviceworker/fetch?
14:47
<annevk>
wanderview: basically in HTTP fetch under "redirect status" we directly return when request's redirect mode is either "error" (with a network error) or "manual" (with a wrapped response), and all other processing of the response and modifying of the request only happens for "follow", which basically ends up invoking a "HTTP redirect fetch" algorithm for
14:47
<annevk>
that, that HTML will also invoke in order to follow the manual redirect it got back
14:47
<frewsxcv>
zcorpan: can you point me to the line in that link which talks about that behavior?
14:47
<annevk>
wanderview: I have to run an errand now, but I think I should have time to prepare a PR for this so you can review when I get back, if it doesn't sound totally crazy
14:48
<wanderview>
annevk: sounds reasonable... but I am also still waking up
15:09
<zcorpan>
i just realised the irony of <meta http-equiv="x-ua-compatible" content="IE=edge">
15:12
<zcorpan>
Domenic: can you test https://github.com/whatwg/html-build/issues/42#issuecomment-168966903 (and edit the comment) ?
15:14
<Domenic>
zcorpan: how do I translate the test output into table rows
15:15
<Domenic>
I get HTML: no space between: ȃ / HTML: with space between: a ̑ / XHTML: no space between: a / XHTML: with space between: a
15:15
<Domenic>
i.e. hat-on-top, hat-to-the-side, no hat, no hat
15:16
<zcorpan>
Domenic: woah, no hat? i don't know how to explain that
15:16
<Domenic>
good times
15:17
<zcorpan>
maybe Edge doesn't support that FPI and expands unknown entities to the empty string
15:17
<Domenic>
in XHTML only though
15:17
<Domenic>
Isn't XHTML supposed to only have like two named character entities
15:18
<zcorpan>
Domenic: can you check http://software.hixie.ch/utilities/js/live-dom-viewer/saved/3819 instead?
15:18
<zcorpan>
Domenic: the set can be extended with a DTD, and browsers have built-in DTDs that get enabled by the public identifier in the doctype
15:19
<Domenic>
zcorpan: same result
15:19
<zcorpan>
Domenic: ok thx. i can edit the comment
16:01
<rits_>
zcorpan: could you review https://github.com/whatwg/html/pull/456 , thanks!
16:14
<zcorpan>
rits_: done, thank *you*
16:15
<rits_>
zcorpan: \o/
16:15
<annevk>
wanderview: I wish you had stated your make all combinations work together preference a little earlier
16:15
<wanderview>
annevk: thats how I started the issue, no?
16:15
<annevk>
wanderview: your last comment was "either way"
16:16
<annevk>
wanderview: anyway, I'm glad I created a PR now
16:16
<wanderview>
annevk: I'm ok with blocking them... but not if it means fetch(url, { mode: 'no-cors' }) throws
16:16
<rits_>
annevk: the "same-origin data-URL flag" has to be added here https://fetch.spec.whatwg.org/#requests , right?
16:18
<annevk>
rits_: no, it is specified there
16:19
<rits_>
annevk: yeah :)
16:19
<annevk>
rits_: section 2.2.2 of HTML lists dependencies and terms imported from dependencies
16:19
<annevk>
rits_: under Fetch, that flag is not listed currently, but needs to be if we start using it
16:21
<rits_>
annevk: yes, thanks for the information
16:56
<annevk>
wanderview: https://github.com/whatwg/fetch/pull/194
16:57
<annevk>
wanderview: your comment in https://github.com/whatwg/fetch/issues/169#issuecomment-170612532 confuses me; my PR made omit/include work, but not same-origin
17:05
<annevk>
Domenic: what tweak did you make in https://github.com/whatwg/html/pull/492#issuecomment-170608046? I cannot figure it out
17:06
<annevk>
Probably doesn't matter, but since you mentioned it...
17:07
<Domenic>
annevk: changed back to plural "form elements"
17:10
<annevk>
Domenic: oh I see, I had been comparing identical commits
17:19
<annevk>
wanderview: either time for a third cup of coffee or perhaps a different strategy :p
17:19
<Domenic>
zcorpan: how's https://github.com/whatwg/html/pull/441 doing? Been open for a while
17:19
<annevk>
wanderview: also, to be clear, I didn't try to set you up, I'm likewise not very sharp at the moment
17:19
<wanderview>
I've gotten this set of logic wrong in the spec a number of times
17:19
<wanderview>
I don't trust myself
17:20
<annevk>
Domenic: seems to be waiting for davve to review
17:20
<wanderview>
annevk: my confusion is compounded by gecko using a reversed logic flag... we have an "exclude credentials" flag which we set in the reverse logic condition
17:20
<zcorpan>
Domenic: yeah, i think it's a-OK. i could ask davve if he would like to check again though
17:21
<annevk>
wanderview: ah, I moved towards include because the safe default is to not include them
17:21
<wanderview>
yea, makes sense
17:21
<annevk>
wanderview: though the web-compatible default is often unsafe of course :/
19:24
<jyasskin>
I had a reference to https://html.spec.whatwg.org/multipage/webappapis.html#script-execution-environment, which has now disappeared. Is that now https://tc39.github.io/ecma262/#sec-execution-contexts?
19:28
<Domenic>
jyasskin: it depends on what you are doing with that reference... it was never a well-defined concept in HTML, to be honest :-/
19:30
<jyasskin>
I'm using it to say when navigator.bluetooth.requestDevice() will return the same BluetoothDevice instance. Maybe the global object is the right thing to attach that to? Should we share objects across any wider scope than a global object?
19:32
<Domenic>
jyasskin: yeah the global object = current Realm = environment settings object (pick one, probably entry) is the right thing to do there. You should not share objects across any wider scope in general, since different realms have different Object.prototype etc.
19:33
<Domenic>
jyasskin: maybe you can just use the Bluetooth interface though; there should only be one of those per global, right?
19:35
<jyasskin>
Yeah, I can use that. Should I want realm1.navigator.bluetooth.requestDevice() to return objects from window1, even if it's called from realm2?
19:35
<jyasskin>
s/window1/realm1
19:36
<Domenic>
oof i hate these sort of questions
19:37
<Domenic>
Maybe good to check with bz who generally has opinions on this, but my provisional thoughts would be: treat it like instance state. So window1.navigator.bluetooth.requestDevice.call(window2.navigator.bluetooth) will look it up on the "this" value, i.e. on window2
19:37
<Domenic>
or on window2's Bluetooth instance, rather
19:39
<jyasskin>
Yes, that's what I was suggesting. window2.navigator.bluetooth would be the Bluetooth instance. Then we'd attach each object to its Bluetooth instance so it could look up the right objects too.
19:41
<jyasskin>
I'll cc bz on the change that fixes this, so he can comment.
19:41
<Domenic>
awesome yeah sounds like a good plan to me
19:41
<Domenic>
sorry about messing up the link
19:42
<rits_>
Domenic: for wrapping only wrap to 100 characters is necessary for the whatwg spec, because when i set to 100 it goess like this http://pastebin.com/yLZFaDpQ
19:43
<Domenic>
rits_: that doesn't seem like correct wrapping; whatever tool you are using is not doing a good job
19:44
<rits_>
Domenic: sublime, but i have tried every option to set it's wrapping
19:44
<caitp>
aren't tools just the worst
19:44
<Domenic>
rits_: in general I just make sublime put a line at 100 characters and make sure to never go over it
19:45
<rits_>
Domenic: ok from ruler right?
19:45
<Domenic>
rits_: yeah
19:45
<caitp>
do they let you hire interns Domenic
19:45
<caitp>
if you get the chance you should get an intern to make a clang-format plugin for bikeshed et al
19:46
<jyasskin>
Domenic: No problem; it pointed out that I wasn't precisely specifying what happens.
19:47
<rits_>
Domenic: ok i did that too but sometimes i kind of cross that and it starts looking weird, thanks!, i'll try to be more specific now :)
20:28
<zcorpan>
wow... running firefox 2 feels like running netscape 4
20:29
<zcorpan>
everything is blurry, i suppose it doesn't do subpixel stuff. and it crashes trying the thing i want to test
20:30
<caitp>
isn't that like a 10 year old browser now?
20:30
<zcorpan>
<iframe src=" -> * IFRAME src="</HTML" hahaha i had forgotten about this pre-html5-parser gecko bug
20:32
<zcorpan>
caitp: i somehow hadn't expected that testing a 10 year old browser now would give the same vibes as testing a 10 year old browser 10 years ago
20:32
<zcorpan>
because i remember using firefox 2 and it didn't suck
20:33
<gsnedders>
caitp: more, no?
20:33
<caitp>
idk, I'm thinking somewhere around 2005
20:34
<gsnedders>
2006, apparently
20:34
<gsnedders>
less than 10
20:39
<caitp>
displays were smaller, had different aspect ratios, and were still CRTs more often than not
20:43
<zcorpan>
the mathml.dtd thing apparently doesn't work for data: url documents in firefox 2.
20:44
<zcorpan>
it resolves the system identifier and checks if the last part of the path is "mathml.dtd", case-insensitively
21:03
<zcorpan>
annevk: https://github.com/w3c/web-platform-tests/issues/2466 - is there a hook for when a node changes its node document? maybe just say "the node document is changed"?