-
-
Notifications
You must be signed in to change notification settings - Fork 901
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
Implement the latest select parsing changes #3317
base: main
Are you sure you want to change the base?
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
3cefda2
to
eb62613
Compare
Ugh, sorry about that -- PEBKAC -- I just needed to force-recompile and that particular test is passing. There are other ones that I'll look into now. |
I see that whatwg/html PR has had a bunch of changes since I last looked at it. I can take a look at this PR in more detail next week. |
@stevecheckoway Thanks. Actually, my changes look pretty good! Only two tests are failing for non-error-message reasons, and they're both very similar. (This PR is using a fixed-up version of html5lib/html5lib-tests#178 with appropriate error messages.) Zooming in on the simpler of the two (CI failure here):
This pr results in the following tree:
so I wanted to double check if I've missed something or if these tests are incorrect. |
@stevecheckoway Before you dig in on this, please catch up on the chat I'm having upstream in html5lib/html5lib-tests#178, TLDR I think I'm right and the test (and chromium) are wrong. |
Updated the gumbo tests. Note that these changes break rails-html-sanitizer, I'll need to work a bit upstream before these changes are safe to merge and release. |
What problem is this PR intended to solve?
In whatwg/html#10557 there are some changes being made to how
<select>
tags are parsed.Have you included adequate test coverage?
Tests are under development on a branch at html5lib/html5lib-tests#178
Does this change affect the behavior of either the C or the Java implementations?
HTML5 is only supported by the C impl.