-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
template element declarative shadow tree IDL attributes #10211
Comments
So recall that Given that we already went through all of that, I'd hope we wouldn't decide that now we don't need IDL reflections after all. And I'd hope we'd stick to one concept for all of the I.e. let's just keep the IDL reflections as we've spec'd them, please. |
That link doesn't work for me. And |
Try again - it looks like PR comments have to be "Unresolved" for links to work? @keithamus is that a known issue?
The point was that the name got renamed from |
Thanks! Quite interesting. @rniwa wrote there:
But I don't really see it. I don't think there's ever a case where you interact with a @domenic +1'd rniwa's statement, but also added:
Which is where I'm stuck on. I think these IDL attributes don't have a valid use case. You're correct that |
I agree.
They never had real use cases - that was pretty clear from the prior discussion. They were added for purity reasons - other content attributes have IDL reflections, so these should also. Has that changed? |
Well, |
I think keeping these is the right move.
|
That's somewhat compelling, 2 in particular. Okay, happy to drop this. |
I was looking at this again today and I'm not sure how these make sense. At least historically we never added IDL attributes for parser-only features:
<html manifest>
. Why would we do so here?By the time the
template
element is parsed it's no longer there so the attributes are not useful. And if you create atemplate
element imperatively it's not going to be useful as parser input. Feature testing can be done by running the parser.I suggest we try removing them.
(WebKit only ever shipped
shadowRootMode
.)cc @smaug---- @rniwa @mfreed7 @emilio
The text was updated successfully, but these errors were encountered: