Skip to content

Conversation

josepharhar
Copy link
Contributor

Summary

The HTML spec was updated to remove most special parsing rules for select elements: whatwg/html#10548

Chrome shipped these parser changes a while ago, and they have been implemented behind a flag in WebKit.

This PR updates the logic in validateDOMNesting to match the new HTML spec so that authors can use the new parsing rules without getting errors in React.

Fixes #33609

How did you test this change?

I updated the test cases in validateDOMNesting-test.js

The HTML spec was updated to remove most special parsing rules for
select elements. This PR updates the logic in validateDOMNesting to
match the new HTML spec so that authors can use the new parsing rules
without getting errors in React.

Fixes facebook#33609
@react-sizebot
Copy link

The size diff is too large to display in a single comment. The GitHub action for this pull request contains an artifact called 'sizebot-message.md' with the full message.

Generated by 🚫 dangerJS against 55aa9b2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: validateDOMNesting needs to be updated for new customisable form widgets

2 participants