dillon1000/react

Commit

Always toLowerCase when comparing nodeName or tagName

In xml node name casing is exactly the same as the node was originally named.
Make sure to convert node and tag names to lower case before making any node
and tag name checks.

Fixes #3960.
Browse files
Changed paths4 files
First-parent comparison
M src/renderers/dom/client/ReactInputSelection.js ModifiedM src/renderers/dom/client/ReactMount.js ModifiedM src/renderers/dom/client/eventPlugins/ChangeEventPlugin.js ModifiedM src/shared/utils/isTextInputElement.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…