-
Notifications
You must be signed in to change notification settings - Fork 259
Open
Description
There are a few issues with the selectedcontent implementation of html5ever:
- The implementation of "clone an option into selectedcontent" is wrong. It does not create a new documentfragment but reparents options onto the root of the current document. I'm not sure how that could've happened, I guess that since Relax
<select>parser (WHATWG proposal) #560 was opened the spec has been iterated on. - whatwg/html@4ce63af1 removes the
</option>transition, and says that the algorithm for "maybe clone an option" needs to be run everytime any option is popped off the stack of open elements. html5ever is lagging behind here, and it seems that runnign something everytime the stack of open elements is truncated requires a larger refactor.
Metadata
Metadata
Assignees
Labels
No labels