[Fizz] Implement all the DOM attributes and special cases (#21153)

* Implement DOM format config structure

* Styles

* Input warnings

* Textarea special cases

* Select special cases

* Option special cases

We read the currently selected value from the FormatContext.

* Warning for non-lower case HTML

We don't change to lower case at runtime anymore but keep the warning.

* Pre tags innerHTML needs to be prefixed

This is because if you do the equivalent on the client using innerHTML,
this is the effect you'd get.

* Extract errors
This commit is contained in:
Sebastian Markbåge
2021-03-31 20:39:38 -04:00
committed by GitHub
parent 0e96bdd4ee
commit b9e4c10e99
6 changed files with 1144 additions and 46 deletions

View File

@@ -385,5 +385,8 @@
"394": "startTransition cannot be called during server rendering.",
"395": "An ID must have been assigned before we can complete the boundary.",
"396": "More boundaries or placeholders than we expected to ever emit.",
"397": "Unknown insertion mode. This is a bug in React."
"397": "Unknown insertion mode. This is a bug in React.",
"398": "`dangerouslySetInnerHTML` does not work on <option>.",
"399": "%s is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.",
"400": "menuitems cannot have `children` nor `dangerouslySetInnerHTML`."
}