diff --git a/fixtures/attribute-behavior/.gitignore b/fixtures/attribute-behavior/.gitignore index 9190def2d174c..49c5a75db9401 100644 --- a/fixtures/attribute-behavior/.gitignore +++ b/fixtures/attribute-behavior/.gitignore @@ -10,7 +10,7 @@ /build /public/react.development.js /public/react-dom.development.js -/public/react-dom-server-legacy.browser.development.js +/public/react-dom-server.browser.development.js # misc .DS_Store diff --git a/fixtures/attribute-behavior/AttributeTableSnapshot.md b/fixtures/attribute-behavior/AttributeTableSnapshot.md index 89e126ba234cf..0adb07ad60e82 100644 --- a/fixtures/attribute-behavior/AttributeTableSnapshot.md +++ b/fixtures/attribute-behavior/AttributeTableSnapshot.md @@ -294,7 +294,7 @@ | `action=(string 'on')`| (changed)| `"http://localhost:3000/on"` | | `action=(string 'off')`| (changed)| `"http://localhost:3000/off"` | | `action=(symbol)`| (initial, warning)| `"http://localhost:3000/"` | -| `action=(function)`| (initial, warning)| `"http://localhost:3000/"` | +| `action=(function)`| (changed, ssr error, ssr mismatch)| `"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')"` | | `action=(null)`| (initial)| `"http://localhost:3000/"` | | `action=(undefined)`| (initial)| `"http://localhost:3000/"` | @@ -648,6 +648,31 @@ | `aria-=(null)`| (initial, warning)| `` | | `aria-=(undefined)`| (initial, warning)| `` | +## `aria-hidden` (on `
` inside `
`) +| Test Case | Flags | Result | +| --- | --- | --- | +| `aria-hidden=(string)`| (changed)| `"a string"` | +| `aria-hidden=(empty string)`| (changed)| `` | +| `aria-hidden=(array with string)`| (changed)| `"string"` | +| `aria-hidden=(empty array)`| (changed)| `` | +| `aria-hidden=(object)`| (changed)| `"result of toString()"` | +| `aria-hidden=(numeric string)`| (changed)| `"42"` | +| `aria-hidden=(-1)`| (changed)| `"-1"` | +| `aria-hidden=(0)`| (changed)| `"0"` | +| `aria-hidden=(integer)`| (changed)| `"1"` | +| `aria-hidden=(NaN)`| (changed)| `"NaN"` | +| `aria-hidden=(float)`| (changed)| `"99.99"` | +| `aria-hidden=(true)`| (changed)| `"true"` | +| `aria-hidden=(false)`| (changed)| `"false"` | +| `aria-hidden=(string 'true')`| (changed)| `"true"` | +| `aria-hidden=(string 'false')`| (changed)| `"false"` | +| `aria-hidden=(string 'on')`| (changed)| `"on"` | +| `aria-hidden=(string 'off')`| (changed)| `"off"` | +| `aria-hidden=(symbol)`| (initial)| `` | +| `aria-hidden=(function)`| (initial)| `` | +| `aria-hidden=(null)`| (initial)| `` | +| `aria-hidden=(undefined)`| (initial)| `` | + ## `aria-invalidattribute` (on `
` inside `
`) | Test Case | Flags | Result | | --- | --- | --- | @@ -2568,8 +2593,8 @@ | `defaultChecked=(string 'false')`| (changed)| `` | | `defaultChecked=(string 'on')`| (changed)| `` | | `defaultChecked=(string 'off')`| (changed)| `` | -| `defaultChecked=(symbol)`| (changed, ssr mismatch)| `` | -| `defaultChecked=(function)`| (changed, ssr mismatch)| `` | +| `defaultChecked=(symbol)`| (initial)| `` | +| `defaultChecked=(function)`| (initial)| `` | | `defaultChecked=(null)`| (initial)| `` | | `defaultChecked=(undefined)`| (initial)| `` | @@ -4176,25 +4201,25 @@ ## `formAction` (on `` inside `
`) | Test Case | Flags | Result | | --- | --- | --- | -| `formAction=(string)`| (changed)| `"https://reactjs.com/"` | -| `formAction=(empty string)`| (initial)| `"http://localhost:3000/"` | -| `formAction=(array with string)`| (changed)| `"https://reactjs.com/"` | -| `formAction=(empty array)`| (initial)| `"http://localhost:3000/"` | -| `formAction=(object)`| (changed)| `"http://localhost:3000/result%20of%20toString()"` | -| `formAction=(numeric string)`| (changed)| `"http://localhost:3000/42"` | -| `formAction=(-1)`| (changed)| `"http://localhost:3000/-1"` | -| `formAction=(0)`| (changed)| `"http://localhost:3000/0"` | -| `formAction=(integer)`| (changed)| `"http://localhost:3000/1"` | +| `formAction=(string)`| (changed, warning)| `"https://reactjs.com/"` | +| `formAction=(empty string)`| (initial, warning)| `"http://localhost:3000/"` | +| `formAction=(array with string)`| (changed, warning)| `"https://reactjs.com/"` | +| `formAction=(empty array)`| (initial, warning)| `"http://localhost:3000/"` | +| `formAction=(object)`| (changed, warning)| `"http://localhost:3000/result%20of%20toString()"` | +| `formAction=(numeric string)`| (changed, warning)| `"http://localhost:3000/42"` | +| `formAction=(-1)`| (changed, warning)| `"http://localhost:3000/-1"` | +| `formAction=(0)`| (changed, warning)| `"http://localhost:3000/0"` | +| `formAction=(integer)`| (changed, warning)| `"http://localhost:3000/1"` | | `formAction=(NaN)`| (changed, warning)| `"http://localhost:3000/NaN"` | -| `formAction=(float)`| (changed)| `"http://localhost:3000/99.99"` | +| `formAction=(float)`| (changed, warning)| `"http://localhost:3000/99.99"` | | `formAction=(true)`| (initial, warning)| `"http://localhost:3000/"` | | `formAction=(false)`| (initial, warning)| `"http://localhost:3000/"` | -| `formAction=(string 'true')`| (changed)| `"http://localhost:3000/true"` | -| `formAction=(string 'false')`| (changed)| `"http://localhost:3000/false"` | -| `formAction=(string 'on')`| (changed)| `"http://localhost:3000/on"` | -| `formAction=(string 'off')`| (changed)| `"http://localhost:3000/off"` | +| `formAction=(string 'true')`| (changed, warning)| `"http://localhost:3000/true"` | +| `formAction=(string 'false')`| (changed, warning)| `"http://localhost:3000/false"` | +| `formAction=(string 'on')`| (changed, warning)| `"http://localhost:3000/on"` | +| `formAction=(string 'off')`| (changed, warning)| `"http://localhost:3000/off"` | | `formAction=(symbol)`| (initial, warning)| `"http://localhost:3000/"` | -| `formAction=(function)`| (initial, warning)| `"http://localhost:3000/"` | +| `formAction=(function)`| (changed, warning, ssr error, ssr mismatch)| `"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')"` | | `formAction=(null)`| (initial)| `"http://localhost:3000/"` | | `formAction=(undefined)`| (initial)| `"http://localhost:3000/"` | @@ -5052,7 +5077,7 @@ | Test Case | Flags | Result | | --- | --- | --- | | `href=(string)`| (changed)| `"https://reactjs.com/"` | -| `href=(empty string)`| (changed)| `"http://localhost:3000/"` | +| `href=(empty string)`| (initial, warning)| `` | | `href=(array with string)`| (changed)| `"https://reactjs.com/"` | | `href=(empty array)`| (changed)| `"http://localhost:3000/"` | | `href=(object)`| (changed)| `"http://localhost:3000/result%20of%20toString()"` | @@ -5398,6 +5423,31 @@ | `in=(null)`| (initial)| `` | | `in=(undefined)`| (initial)| `` | +## `inert` (on `
` inside `
`) +| Test Case | Flags | Result | +| --- | --- | --- | +| `inert=(string)`| (changed)| `` | +| `inert=(empty string)`| (changed)| `` | +| `inert=(array with string)`| (changed)| `` | +| `inert=(empty array)`| (changed)| `` | +| `inert=(object)`| (changed)| `` | +| `inert=(numeric string)`| (changed)| `` | +| `inert=(-1)`| (changed)| `` | +| `inert=(0)`| (changed)| `` | +| `inert=(integer)`| (changed)| `` | +| `inert=(NaN)`| (changed, warning)| `` | +| `inert=(float)`| (changed)| `` | +| `inert=(true)`| (initial, warning)| `` | +| `inert=(false)`| (initial, warning)| `` | +| `inert=(string 'true')`| (changed)| `` | +| `inert=(string 'false')`| (changed)| `` | +| `inert=(string 'on')`| (changed)| `` | +| `inert=(string 'off')`| (changed)| `` | +| `inert=(symbol)`| (initial, warning)| `` | +| `inert=(function)`| (initial, warning)| `` | +| `inert=(null)`| (initial)| `` | +| `inert=(undefined)`| (initial)| `` | + ## `in2` (on `` inside ``) | Test Case | Flags | Result | | --- | --- | --- | @@ -5501,27 +5551,27 @@ ## `inputMode` (on `
`) | Test Case | Flags | Result | | --- | --- | --- | -| `inputMode=(string)`| (changed)| `"a string"` | -| `inputMode=(empty string)`| (changed)| `` | -| `inputMode=(array with string)`| (changed)| `"string"` | -| `inputMode=(empty array)`| (changed)| `` | -| `inputMode=(object)`| (changed)| `"result of toString()"` | -| `inputMode=(numeric string)`| (changed)| `"42"` | -| `inputMode=(-1)`| (changed)| `"-1"` | -| `inputMode=(0)`| (changed)| `"0"` | -| `inputMode=(integer)`| (changed)| `"1"` | -| `inputMode=(NaN)`| (changed, warning)| `"NaN"` | -| `inputMode=(float)`| (changed)| `"99.99"` | -| `inputMode=(true)`| (initial, warning)| `` | -| `inputMode=(false)`| (initial, warning)| `` | -| `inputMode=(string 'true')`| (changed)| `"true"` | -| `inputMode=(string 'false')`| (changed)| `"false"` | -| `inputMode=(string 'on')`| (changed)| `"on"` | -| `inputMode=(string 'off')`| (changed)| `"off"` | -| `inputMode=(symbol)`| (initial, warning)| `` | -| `inputMode=(function)`| (initial, warning)| `` | -| `inputMode=(null)`| (initial)| `` | -| `inputMode=(undefined)`| (initial)| `` | +| `inputMode=(string)`| (initial)| `` | +| `inputMode=(empty string)`| (initial)| `` | +| `inputMode=(array with string)`| (initial)| `` | +| `inputMode=(empty array)`| (initial)| `` | +| `inputMode=(object)`| (initial)| `` | +| `inputMode=(numeric string)`| (initial)| `` | +| `inputMode=(-1)`| (initial)| `` | +| `inputMode=(0)`| (initial)| `` | +| `inputMode=(integer)`| (initial)| `` | +| `inputMode=(NaN)`| (initial, warning)| `` | +| `inputMode=(float)`| (initial)| `` | +| `inputMode=(true)`| (initial, warning)| `` | +| `inputMode=(false)`| (initial, warning)| `` | +| `inputMode=(string 'true')`| (initial)| `` | +| `inputMode=(string 'false')`| (initial)| `` | +| `inputMode=(string 'on')`| (initial)| `` | +| `inputMode=(string 'off')`| (initial)| `` | +| `inputMode=(symbol)`| (initial, warning)| `` | +| `inputMode=(function)`| (initial, warning)| `` | +| `inputMode=(null)`| (initial)| `` | +| `inputMode=(undefined)`| (initial)| `` | ## `integrity` (on `