08:21
<annevk>
Alice: surprised https://alice.pages.igalia.com/blog/how-shadow-dom-and-accessibility-are-in-conflict/ doesn't mention the idea of allowing ElementInternals's element-reflecting attributes to point anywhere as long as the shadow-including root is the same
08:28
<annevk>
Jake Archibald: FWIW, I like some of the suggestions along the lines of "EventTarget's addEventListener() method"; you could have "Response's json() method" and "Response's static json() method"
08:28
<annevk>
Something along those lines is what I often do whenever we add a new method to a spec
08:29
<Jake Archibald>
annevk: when I see both of those examples, I know which is the static method and which is the instance method, but if you just showed me "Response's json() method" I wouldn't be sure
08:30
<annevk>
Jake Archibald: as a first time visitor you might have to look at an example, but as a repeat visitor it'd be clear, no?
08:32
<Jake Archibald>
annevk: yeah, but if you have to learn a pattern anyway, "response.json()" is clearer and matches what you'd search for. "instance method" vs "static method" would make it clearer though
08:32
<Jake Archibald>
maybe search would be fine due to the rest of the content
08:33
<Jake Archibald>
I definitely search for things like mdn formdata.get
08:33
<Jake Archibald>
but maybe others don't
08:34
<Jake Archibald>
(I'd be fine with your suggestion though. Anything that gets us away from FormData.get is an improvement
08:35
<Jake Archibald>
FormData/instance/get was suggested too
10:54
<Alice>
Alice: surprised https://alice.pages.igalia.com/blog/how-shadow-dom-and-accessibility-are-in-conflict/ doesn't mention the idea of allowing ElementInternals's element-reflecting attributes to point anywhere as long as the shadow-including root is the same
You’re right, I should have mentioned that - obviously it won’t address the majority of cases but it is an important piece of the puzzle and something we can ship very quickly.
10:58
<annevk>
Alice: delegatesLabel also seems like something we could do quickly and would help quite a bit with these form cases
11:07
<annevk>
Andreu Botella: thanks for adding a use counter for has/delete; makes me wonder if I should more seriously investigate another request for URLSearchParams, adding something like appendAll()
11:13
<Alice>
Alice: delegatesLabel also seems like something we could do quickly and would help quite a bit with these form cases
I have a fuller set of thoughts on solutions here https://gist.github.com/alice/54108d8037f865876702b07755f771a5
11:13
<Alice>
I have a fuller set of thoughts on solutions here https://gist.github.com/alice/54108d8037f865876702b07755f771a5
(it also fails to mention ElementInternals)
13:38
<annevk>
Alice: nice, I think AOM 192 is a non-starter, but the others are worth exploring further
16:24
<annevk>
Is GitHub really slow?
16:24
<Yagiz Nizipli>
Is GitHub really slow?
Not for me (NY)
22:20
<nolanlawson>
Alice: nice, I think AOM 192 is a non-starter, but the others are worth exploring further

Just to confirm: AOM192 is a non-starter in terms of the proposal to have open and closed shadow roots behave differently, right? https://github.com/WICG/aom/issues/192#issuecomment-1132237093

I know there were similar concerns around getInnerHTML (DSD) and elementtiming:

Today in AOM though we discussed maybe having an API where you can pass in an array of shadow roots. If the API doesn't distinguish between closed and open shadow roots, maybe this has legs?