Relax <select> parser (WHATWG proposal)#560
Conversation
Neither the proposal nor the test changes are merged yet. Also, the tests are still failing. html5lib/html5lib-tests#178 whatwg/html#10557
<select> parser (WHATWG proposal)
|
@untitaker I'm not sure if you still have time to work on this, but spec proposal has now been merged, and we'd love to get I also wanted to notify you that this crate has seen a revival in activity and maintainence in the last few months, and to invite you to collaborate with us if you are interested in doing so. |
|
i'm stumped on how to implement this part of the spec which seems to be part of handling to me this implies that the |
I haven't looked into this deeply, but we already keep track of the currently open
If it is a breaking change then that's probably not a big deal: html5ever makes breaking changes quite frequently |
|
Progress update. Indeed the conflict resolution was trivial, but since I opened the PR, the corresponding spec PR has significantly expanded in scope. So it's not all easy.
Am I missing something? |
|
in order to move forward with updating html5lib-tests i ignored the remaining two tests. they are testing full DOM behavior which html5ever does not care about. |
|
@nicoburns i think this can be reviewed/merged |
jdm
left a comment
There was a problem hiding this comment.
This is great work. Thank you for doing it, and sorry for sitting on it for so long without feedback!
| self.sink | ||
| .reparent_children(selectedcontent, &self.sink.get_document()); |
There was a problem hiding this comment.
I am currently running into issues when trying to bump servo to include this change, since reparent_children internally calls Node::Append and that throws an exception when the new parent is a document node.
Should the old children of the selected content really end up as children of the document? That seems odd.
There was a problem hiding this comment.
yeah I think that's broken, added an issue here #712
Neither the proposal nor the test changes are merged yet.
html5lib/html5lib-tests#178
whatwg/html#10557