08:12
<foolip>
annevk: in https://github.com/whatwg/fullscreen/pull/79 do you want me to remove the "type:dfn; for:list; text:for each" default and use for attributes everywhere?
08:12
<annevk>
foolip: oh I didn't spot that
08:12
<annevk>
foolip: I somewhat prefer not relying on that feature if it's not needed
08:13
<annevk>
foolip: but I'm okay with you ignoring those comments
08:13
<annevk>
foolip: since you're doing a bunch of the work now
08:13
<foolip>
annevk: it does somewhat increase the likelihood that the wrong this is used by mistake, but there's just one "for each" right?
08:14
<annevk>
foolip: it's also there for sets and we might get it for strings and such
08:14
<foolip>
oh, actually #map-iterate exists as well
08:14
<annevk>
for=set and for=list prolly point to the same dfn though
08:14
<foolip>
yes, they are
08:15
<annevk>
but still seems good to keep the types correct if we ever get tooling
08:15
<foolip>
I'll remove that final list, and then the spec will have just ordered sets, and can use "type:dfn; for:set; text:for each", or would you prefer to spell it out anyway?
08:16
<annevk>
foolip: you should do your preference since you're mostly editing these days
08:17
<foolip>
ok, will do
08:18
<foolip>
annevk: regarding wording, is there another spec that extensively uses infra that I can cargo cult? Now I'm wondering if "Let x be an empty ordered set" or "new ordered set" is the coolest phrasing.
08:23
<annevk>
foolip: I use a "a new set" personally
08:23
<annevk>
foolip: nothing uses it as much as they should yet
08:23
foolip
wants to be like annevk
08:36
<foolip>
annevk: actually, "To remove an element from a top layer, remove element from top layer." is very silly even if not circular due to the links. WDYT, should HTML just operate on it as an ordered set directly?
08:36
<annevk>
foolip: yeah, if there are no side effects
08:37
<annevk>
foolip: it seems weird that there would be nothing to update though, maybe there's an XXX step in there to do layout?
08:37
<foolip>
annevk: as implemented there actually are, there are flags set on the element so that it can later be quickly tested for "is in top layer"
08:37
<annevk>
foolip: optimizations aren't worth defining
08:37
<annevk>
but layout would be observable possibly
08:38
<foolip>
right, but it does mean that both for adding and removing, we're going through an extra layer
08:38
<foolip>
well, the layout could just as well iterate the top layer and just be slower, so it's an optimization
08:40
<annevk>
yeah true, layout wouldn't be done there, that would be done when someone asks for it (or you hit an animation frame)
08:40
<annevk>
okay, I'm convinced we can just remove it
08:43
<foolip>
annevk: I'll prepare the HTML PR then
08:54
<foolip>
annevk: done, and is there anything else in infra that fullscreen can/should use?
08:55
<annevk>
foolip: probably... I haven't studied it closely
08:56
<foolip>
Looking now, I see while/continue/break, will do those too then
08:59
<foolip>
OK, done, sorry for the quick churn
09:05
<annevk>
foolip: landed both, tweaked commit messages a bit
09:06
<foolip>
annevk: thanks!
09:06
<foolip>
Oh right, forgot Meta on HTML :)
09:06
<foolip>
Oh, am I confused about Editorial: and Meta: still?
09:07
<annevk>
foolip: it seemed more than Meta since it's actually changing text
09:07
<foolip>
Yeah, it did end up bigger than it started out as
09:07
<annevk>
Meta is no-op as far as content goes imo
09:34
<tobie>
Curious if TabAtkins was able to organize markup for arguments names of abstract ops in Bikeshed.
09:37
<tobie>
I've got a recursive algorithm and I'm writing stuff like, "invoke [=operation=], passing it the child of |P| as |P| and |I| as |I|", which I don't think reads very well. :(
13:47
<Domenic>
I still don't name my arguments, just "passing the child of |P| and |I|"
13:52
<annevk>
So navigate goes async at some point, and then uses two tasks to get back in sync
13:52
<annevk>
That is probably bogus?
13:53
<annevk>
Given 1. Dispatch event. 2. Go async. 3. Queue task. | Does that mean that if in 1 I do setTimeout 0 it runs before 3? Must, right?
13:54
<annevk>
So setTimeout during beforeunload will run before unload
13:55
<annevk>
(For those following along. I ended up having to change base URLs yesterday. But in order to change base URLs one has to change how documents are allocated. So that's where we are... Pretty much full circle, but not quite.)
14:13
<tobie>
Domenic: well, the problem is both |P| and |I| are interfaces, so you just distinguish them by order?
14:14
<tobie>
Domenic: this is sort of a dumb question with an obvious answer, so sorry. :)
14:17
<annevk>
Domenic: yes, order!
14:17
<annevk>
Oops, meant that for tobie
14:17
<annevk>
Order all the things
14:20
<tobie>
annevk: thanks, it's just painful to read. I'm descending the inheritance tree and so I have to keep a hold of both the current place in the tree and the end node.
14:21
<tobie>
Inside of a recursive algorithm.
14:21
<tobie>
I'll finish the thing and ask for feedback. I'm sure there's a simpler way to do this.
14:21
<annevk>
tobie: you could try Invoke X with P's child and I.
14:21
<annevk>
tobie: which reads fairly okay to me
14:22
<tobie>
I'll give that a try
15:58
<frivoal_>
present+ Florian
15:59
frivoal_
rossen seems barely audible to me
16:00
frivoal_
much better
16:00
tantek
frivoal_ wrong channel :)
16:01
frivoal_
thanks!
16:01
frivoal_
sorry everyone for the noise
16:20
<vandenoever>
CSS selectors can match on namespaces, e.g. svg|g. Should Element.matches support that? An element has local prefix/namespace mappings.
16:22
<vandenoever>
I see that dom.spec.whatwg.org says 'Support for namespaces within selectors is not planned and will not be added. ' Is there a rationale for that?
16:30
<annevk>
vandenoever: not enough namespaces to go around
16:56
<vandenoever>
annevk: what do you mean? There are plenty of namespaces. In WebODF the namespaces are very important to make it work.
16:57
<annevk>
vandenoever: in terms of what browsers expose there's just SVG and HTML, and MathML if you're lucky
16:57
<annevk>
vandenoever: I'm not familiar with WebODF
17:00
<annevk>
vandenoever: but also, I gotta go, I recommend filing an issue at https://github.com/whatwg/dom/issues/new describing your use case (and if that's WebODF, please explain the basic setup, since unless you're actually serving XML documents to the browser and render those with CSS somehow (and do something weird for links and images and such) it's not really
17:00
<annevk>
clear to me how it's applicable
20:10
<Domenic>
annevk: any reason you assigned mkwst to https://github.com/whatwg/html/pull/2588 ? Seems pretty quick
21:16
<TabAtkins>
annevk: You might wanna actually read over the https://github.com/heycam/webidl/issues/345 thread and try commenting again; right now it looks like you only bothered to read my last comment and threw an offhand rejection, which is pretty rude to me and bz.
22:32
<jugglinmike>
TabAtkins: I'm looking through the Bikeshed docs for a way to label algorithm steps and then link to them elsewhere. Does it have this feature?
22:33
<TabAtkins>
Not yet, but https://github.com/tabatkins/bikeshed/issues/796 is open to track it. If you give them an ID, they'll generate a permalink thing.
22:35
<jugglinmike>
Got it. Thanks!