| 02:46 | <arai> | is there any way to search through Web API specs for the reference to certain definition? I'm looking into the consumers of incumbent to see when and how it's used in what kind of situations, and now I'm wondering if it's also used from other specs. So far I find some references in the WebIDL spec |
| 04:25 | <Andreu Botella> | there's webdex: https://dontcallmedom.github.io/webdex/i.html#incumbent%20global%20object%40%40html%25%25dfn |
| 04:25 | <arai> | great! thank you! |
| 04:28 | <Andreu Botella> | hm, i wonder if bikeshed/wattsi's dfn panels should link to it as well |
| 05:49 | <annevk> | TabAtkins Domenic ^^ seems like a pretty good idea |
| 05:50 | <TabAtkins> | That does sound good. File an issue on me to look at it later? |
| 06:07 | <Doctor> | The docs here say: https://developer.mozilla.org/en-US/docs/Web/API/ReadableStreamBYOBReader/read
|
| 06:07 | <Doctor> | But for the life of me, I can't seem to produce any code that will actually get the returned value to be undefined. |
| 06:09 | <annevk> | Doctor: usage questions are best asked on StackOverflow. |
| 06:09 | <Doctor> | Okay |
| 11:01 | <annevk> | zcorpan: is there a strong reason for :heading to take <An+B># rather than <An+B> as the equivalent pseudo-classes take? |
| 11:10 | <annevk> | The tests also don't cover the parsing aspect too much. |
| 11:17 | <zcorpan> | keithamus: do you know? |
| 11:19 | <keithamus> | It allows for simpler expressions like :heading(1, 2, 3) which otherwise might require authors to figure out the right an+b expression for (which otomh I can't do). |
| 11:19 | <keithamus> | I guess it would be 3n-2? |
| 11:21 | <annevk> | I spotted it myself, but my initial implementation would have supported odd of * as argument for instance. |
| 11:21 | <keithamus> | Oh, -n+3. Hopefully this serves as suitable demonstration as to why 😆 |
| 11:22 | <keithamus> | I think we should ensure that of expressions are parse errors. Thanks for calling that out. |
| 11:23 | <annevk> | But you also get weird situations like :heading(odd, even) and we lived with <An+B> just fine for the other pseudo-classes... |
| 11:24 | <keithamus> | odd, even doesn't seem too weird. It's effectively "all", no? |
| 11:24 | <keithamus> | It's an odd way to write :heading for sure. |
| 11:49 | <zcorpan> | Maybe because the number of heading levels are not unbounded (like number of children), it's clearer to just list the numbers you want |
| 11:54 | <annevk> | It adds quite a bit of complexity for not that much benefit. It seems we also lack serialization tests. |
| 12:06 | <annevk> | As in, you could also write :heading(1), :heading(2), :heading(3) if you can't be bothered to write -n+3. |
| 12:12 | <annevk> | Filed https://github.com/w3c/csswg-drafts/issues/12599 |
| 15:37 | <TabAtkins> | The "of _" stuff isn't part of an+b, that's a separate grammar term that the :nth-_() pseudos have |
| 15:39 | <annevk> | I don't think anyone said it was part of it. |
| 16:12 | <TabAtkins> | Ah, keithamus said "we should ensure that of expressions are parse errors"; I read that as being a comment about the spec. If it's just a comment about the test suite, then sure. |