File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed
fixtures/attribute-behavior
packages/react-dom/src/shared Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 35873587| `focusable=(integer)`| (changed)| `"1"` |
35883588| `focusable=(NaN)`| (changed, warning)| `"NaN"` |
35893589| `focusable=(float)`| (changed)| `"99.99"` |
3590- | `focusable=(true)`| (initial, warning )| `<null> ` |
3591- | `focusable=(false)`| (initial, warning )| `<null> ` |
3590+ | `focusable=(true)`| (changed )| `"true" ` |
3591+ | `focusable=(false)`| (changed )| `"false" ` |
35923592| `focusable=(string 'true')`| (changed)| `"true"` |
35933593| `focusable=(string 'false')`| (changed)| `"false"` |
35943594| `focusable=(string 'on')`| (changed)| `"on"` |
Original file line number Diff line number Diff line change @@ -260,7 +260,12 @@ const properties = {};
260260// In React, we let users pass `true` and `false` even though technically
261261// these aren't boolean attributes (they are coerced to strings).
262262// Since these are SVG attributes, their attribute names are case-sensitive.
263- [ 'autoReverse' , 'externalResourcesRequired' , 'preserveAlpha' ] . forEach ( name => {
263+ [
264+ 'autoReverse' ,
265+ 'externalResourcesRequired' ,
266+ 'focusable' ,
267+ 'preserveAlpha' ,
268+ ] . forEach ( name => {
264269 properties [ name ] = new PropertyInfoRecord (
265270 name ,
266271 BOOLEANISH_STRING ,
You can’t perform that action at this time.
0 commit comments