| 09:37 | <annevk> | I remember we had a discussion about "then" following "Otherwise". I vaguely recall we wanted to change towards including it. Does anyone else have a recollection of this and maybe a pointer? jmdyck? |
| 11:42 | <hsivonen> | sideshowbarker: I don't see anything about selectedcontent handling in the Tree Construction part of the spec. Is there an in-flight spec PR that I should be looking at, or have the cloning effects of parsing been specced in a way that's not visible in the parsing spec? |
| 11:54 | <sideshowbarker> | See the hook to the “maybe clone an option into selectedcontent” algorithm here: https://html.spec.whatwg.org/multipage/form-elements.html#the-option-element:maybe-clone-an-option-into-selectedcontent And see the “maybe clone an option into selectedcontent” algorithm itself here: https://html.spec.whatwg.org/multipage/form-elements.html#maybe-clone-an-option-into-selectedcontent |
| 11:57 | <hsivonen> | sideshowbarker: Thanks. I can see why the text would end up there in order to cover XML, but it's not good that the HTML parsing algorithm is silent about this. |
| 12:00 | <sideshowbarker> | Yeah, I vaguely recall a mention of that having come up during review of the PR. Regardless, I feel the same as you and I probably should have chimed in to say so myself on the PR review at the time. But at that point, I had no intention of implementing it myself. I only took a shot at implementing it for Gecko because nobody else had yet, and I wanted it in part so that I could resolve the open checker issue at https://github.com/validator/validator/issues/1854 |
| 12:04 | <hsivonen> | sideshowbarker: It seems to me that the spec expects cloning to happen on what's in the DOM at cloning time and not on what the parser has seen. Am I missing something? |
| 12:04 | <sideshowbarker> | hsivonen: And also on that subject, I have some reservations about what implementing the whole “Out of order HTML streaming ("patching")” thing is going to be like, and I guess I should probably speak up about those. But I hope to god I don’t end up needing to try to implement that one. It’d be much better if you did — or at least somebody else with more chops than me. |
| 12:06 | <sideshowbarker> | (not that it’s even been written up yet — I’m just anticipating the shape) |
| 12:11 | <sideshowbarker> | I think you’re not missing something. I’d need to go back and look. But I will confess that in part what I did there was, implement against the tests. And I think I did get all the WPT tests for this fully passing. In other words, I did the bad thing of not raising some spec issues that I probably should have when I was implementing — I mean, about possible gaps in the spec relative to getting what the expected results for the tests seemed to require. |
| 12:12 | <hsivonen> | sideshowbarker: The difference would be visible only with a network stall and setTimeout, right? |
| 12:14 | <sideshowbarker> | Yeah, I reckon so. And so we should rightly have a WPT test for that — for the setTimeout case at least. |
| 12:14 | <sideshowbarker> | I will also confess that I didn’t try to audit the tests for coverage against the spec requirements. |
| 12:44 | <annevk> | hsivonen: there's quite a few unresolved issues with selectedcontent still: https://github.com/whatwg/html/issues?q=state%3Aopen%20selectedcontent |
| 12:45 | <annevk> | Not really sure why the parser should say something about it though. I kinda like that it's all handled at the node tree layer. |
| 12:46 | <hsivonen> | annevk: It's pretty unfriendly to have an action triggered when a node is popped off the parser's stack without any hint in the parsing algorithm that popping option off the stack is connected to further action. |
| 12:49 | <annevk> | hsivonen: oh that bit. That's a pre-existing issue. I agree we should refactor that. https://github.com/whatwg/html/issues/11781 tracks that. |
| 12:52 | <hsivonen> | annevk: Thanks |
| 12:53 | <jmdyck> | You mean following immediately, like "If [condition], then [do thing 1], otherwise then [do thing 2]." ? |
| 12:58 | <annevk> | jmdyck: 1. If X, then Y. \n 2. Otherwise, then Z. |
| 13:21 | <jmdyck> | Hm, you might be thinking of https://matrix.to/#/!AGetWbsMpFPdSgUrbs:matrix.org/$Uyrjmx4h9XHM_gqQug19615xegSjjwzkaBN5-NLoeY0 almost a year ago. |
| 13:21 | <jmdyck> | To me, "otherwise, then" sounds ungrammatical. |
| 13:52 | <annevk> | I don't think that's it, but maybe it's just "Otherwise, if X," where we considered using "then" as well. I agree that for a lone "Otherwise" it looks weird. |
| 14:09 | <Luke Warlow> | https://html.spec.whatwg.org/multipage/links.html#dom-hyperlink-href For something like step 4 here I think putting a then before "return this's href"... is fine. Not sure it's needed. But yeah just "otherwise, then" seems wrong to me. |
| 14:26 | <jgraham> | So we want to add stream support in WebDriver BiDi so that e.g. you can access large network responses without having to buffer the entire response and pass in in a single message. So API-wise the way this will work is that some WebDriver operation that exposes a stream will return a WebDriver message with a UUID to that stream and you'll get protocol operations like My question is: what's the best way to specify that? From a WebDriver point of view there isn't really a JS reader object involved; for
And then it needs the equivalent of This is all doable, and honestly seems fairly easy to follow, but I'm somewhat worried that the Streams spec is going to turn out to depend on the assumption that all readers are actually IDL objects, and we're going to end up violating some invariants. The other option is to write the WebDriver spec to obtain an actual |
| 17:24 | <cateru> | hi |
| 17:25 | <cateru> | is it possible to let form autosubmit on change without js ? |
| 17:27 | <cateru> | i know i can do it js. but shouldn't be possible without js |
| 17:30 | <cateru> | <form autosubmit></form> |
| 17:31 | <cateru> | im using it to filter products it opens another page but with view transitions looks like its the same page |
| 17:33 | <cateru> | is this something that could be added. considering the move to use as less of js as possible? |
| 17:38 | <annevk> | jgraham: I recommend trying to get Mattias Buelens involved somehow. |
| 17:39 | <annevk> | cateru: with a lot more context it'd at least be something that could be considered. See the new feature template for GitHub whatwg/html. |
| 17:41 | <Noam Rosenthal> | cateru: incubating something like this at https://github.com/WICG/declarative-partial-updates/issues/32 |
| 17:42 | <cateru> | thank you so much |