-
Notifications
You must be signed in to change notification settings - Fork 72
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
HTML selectedcontent
element
#1142
Comments
I believe that invariant is still true here. The <div id=foo>Some content</div>
<script>
foo.innerText = "something else";
</script> That will “round trip”, but #foo will now be “something else”. The new thing here is just that
I’m not sure what you mean here, about one option tag resulting in two option element nodes… can you please clarify? |
Scripts can change the shape of the DOM tree, yes, but that argument could justify all kinds of departures from expectations about the relationship of the HTML source and the tree that the parser generates from it.
AFAICT, "maybe clone an option into selectedcontent" can cause the parser to clone a parser-inserted |
@hsivonen the children of the That can include elements though. |
Request for Mozilla Position on an Emerging Web Specification
selectedcontent
element<selectedcontent>
element whatwg/html#10633@
-mention GitHub accounts): @josepharharOther information
Originally posted by @hsivonen in #1086 (comment)
The text was updated successfully, but these errors were encountered: