Update attribute-behavior fixture (#22522)
* Fix missing key warning * Add build instructions * Update interpretation now that React 17 is latest stable and 18 is next * Ignore ReactDOM.render deprecation warning * Ensure a server implementation with `renderToString` is used * Update AttributeTableSnapshot * Ensure Popover doesn't overflow
Sebastian Silbermann committed
Nov 25, 2021 at 01:37 UTC
cbc484b5ae8cb683aef5ee61fac468679e9bb2aa
5 files changed
+282
-230
fixtures/attribute-behavior/.gitignore
+1
-1
@@ -10,7 +10,7 @@
10
/build
11
/public/react.development.js
12
/public/react-dom.development.js
13
-/public/react-dom-server.browser.development.js
13
+/public/react-dom-server-legacy.browser.development.js
14
15
# misc
16
.DS_Store
fixtures/attribute-behavior/AttributeTableSnapshot.md
+270
-220
@@ -526,23 +526,23 @@
526
## `amplitude` (on `<feFuncA>` inside `<svg>`)
527
| Test Case | Flags | Result |
528
| --- | --- | --- |
529
-| `amplitude=(string)`| (changed)| `<number: 0>` |
529
+| `amplitude=(string)`| (initial)| `<number: 1>` |
530
| `amplitude=(empty string)`| (changed)| `<number: 0>` |
531
-| `amplitude=(array with string)`| (changed)| `<number: 0>` |
531
+| `amplitude=(array with string)`| (initial)| `<number: 1>` |
532
| `amplitude=(empty array)`| (changed)| `<number: 0>` |
533
-| `amplitude=(object)`| (changed)| `<number: 0>` |
533
+| `amplitude=(object)`| (initial)| `<number: 1>` |
534
| `amplitude=(numeric string)`| (changed)| `<number: 42>` |
535
| `amplitude=(-1)`| (changed)| `<number: -1>` |
536
| `amplitude=(0)`| (changed)| `<number: 0>` |
537
| `amplitude=(integer)`| (initial)| `<number: 1>` |
538
-| `amplitude=(NaN)`| (changed, warning)| `<number: 0>` |
538
+| `amplitude=(NaN)`| (initial, warning)| `<number: 1>` |
539
| `amplitude=(float)`| (changed)| `<number: 99.98999786376953>` |
540
| `amplitude=(true)`| (initial, warning)| `<number: 1>` |
541
| `amplitude=(false)`| (initial, warning)| `<number: 1>` |
542
-| `amplitude=(string 'true')`| (changed)| `<number: 0>` |
543
-| `amplitude=(string 'false')`| (changed)| `<number: 0>` |
544
-| `amplitude=(string 'on')`| (changed)| `<number: 0>` |
545
-| `amplitude=(string 'off')`| (changed)| `<number: 0>` |
542
+| `amplitude=(string 'true')`| (initial)| `<number: 1>` |
543
+| `amplitude=(string 'false')`| (initial)| `<number: 1>` |
544
+| `amplitude=(string 'on')`| (initial)| `<number: 1>` |
545
+| `amplitude=(string 'off')`| (initial)| `<number: 1>` |
546
| `amplitude=(symbol)`| (initial, warning)| `<number: 1>` |
547
| `amplitude=(function)`| (initial, warning)| `<number: 1>` |
548
| `amplitude=(null)`| (initial)| `<number: 1>` |
@@ -830,17 +830,17 @@
830
| `autoComplete=(empty string)`| (initial)| `<empty string>` |
831
| `autoComplete=(array with string)`| (changed)| `"email"` |
832
| `autoComplete=(empty array)`| (initial)| `<empty string>` |
833
-| `autoComplete=(object)`| (changed)| `"result of toString()"` |
834
-| `autoComplete=(numeric string)`| (changed)| `"42"` |
835
-| `autoComplete=(-1)`| (changed)| `"-1"` |
836
-| `autoComplete=(0)`| (changed)| `"0"` |
837
-| `autoComplete=(integer)`| (changed)| `"1"` |
838
-| `autoComplete=(NaN)`| (changed, warning)| `"NaN"` |
839
-| `autoComplete=(float)`| (changed)| `"99.99"` |
833
+| `autoComplete=(object)`| (initial)| `<empty string>` |
834
+| `autoComplete=(numeric string)`| (initial)| `<empty string>` |
835
+| `autoComplete=(-1)`| (initial)| `<empty string>` |
836
+| `autoComplete=(0)`| (initial)| `<empty string>` |
837
+| `autoComplete=(integer)`| (initial)| `<empty string>` |
838
+| `autoComplete=(NaN)`| (initial, warning)| `<empty string>` |
839
+| `autoComplete=(float)`| (initial)| `<empty string>` |
840
| `autoComplete=(true)`| (initial, warning)| `<empty string>` |
841
| `autoComplete=(false)`| (initial, warning)| `<empty string>` |
842
-| `autoComplete=(string 'true')`| (changed)| `"true"` |
843
-| `autoComplete=(string 'false')`| (changed)| `"false"` |
842
+| `autoComplete=(string 'true')`| (initial)| `<empty string>` |
843
+| `autoComplete=(string 'false')`| (initial)| `<empty string>` |
844
| `autoComplete=(string 'on')`| (changed)| `"on"` |
845
| `autoComplete=(string 'off')`| (changed)| `"off"` |
846
| `autoComplete=(symbol)`| (initial, warning)| `<empty string>` |
@@ -1469,16 +1469,16 @@
1469
| `children=(string 'on')`| (initial)| `[]` |
1470
| `children=(string 'off')`| (initial)| `[]` |
1471
| `children=(symbol)`| (initial)| `[]` |
1472
-| `children=(function)`| (initial, warning, ssr warning)| `[]` |
1472
+| `children=(function)`| (initial, warning)| `[]` |
1473
| `children=(null)`| (initial)| `[]` |
1474
| `children=(undefined)`| (initial)| `[]` |
1475
1476
## `cite` (on `<blockquote>` inside `<div>`)
1477
| Test Case | Flags | Result |
1478
| --- | --- | --- |
1479
-| `cite=(string)`| (changed)| `"http://reactjs.com/"` |
1479
+| `cite=(string)`| (changed)| `"https://reactjs.com/"` |
1480
| `cite=(empty string)`| (changed)| `"http://localhost:3000/"` |
1481
-| `cite=(array with string)`| (changed)| `"http://reactjs.com/"` |
1481
+| `cite=(array with string)`| (changed)| `"https://reactjs.com/"` |
1482
| `cite=(empty array)`| (changed)| `"http://localhost:3000/"` |
1483
| `cite=(object)`| (changed)| `"http://localhost:3000/result%20of%20toString()"` |
1484
| `cite=(numeric string)`| (changed)| `"http://localhost:3000/42"` |
@@ -2560,7 +2560,7 @@
2560
| `defaultChecked=(-1)`| (changed)| `<boolean: true>` |
2561
| `defaultChecked=(0)`| (initial)| `<boolean: false>` |
2562
| `defaultChecked=(integer)`| (changed)| `<boolean: true>` |
2563
-| `defaultChecked=(NaN)`| (initial, warning, ssr warning)| `<boolean: false>` |
2563
+| `defaultChecked=(NaN)`| (initial, warning)| `<boolean: false>` |
2564
| `defaultChecked=(float)`| (changed)| `<boolean: true>` |
2565
| `defaultChecked=(true)`| (changed)| `<boolean: true>` |
2566
| `defaultChecked=(false)`| (initial)| `<boolean: false>` |
@@ -2593,9 +2593,9 @@
2593
| `defaultValue=(string 'false')`| (changed)| `"false"` |
2594
| `defaultValue=(string 'on')`| (changed)| `"on"` |
2595
| `defaultValue=(string 'off')`| (changed)| `"off"` |
2596
-| `defaultValue=(symbol)`| (initial, ssr warning)| `<empty string>` |
2597
-| `defaultValue=(function)`| (initial, ssr warning)| `<empty string>` |
2598
-| `defaultValue=(null)`| (initial, ssr warning)| `<empty string>` |
2596
+| `defaultValue=(symbol)`| (initial)| `<empty string>` |
2597
+| `defaultValue=(function)`| (initial)| `<empty string>` |
2598
+| `defaultValue=(null)`| (initial)| `<empty string>` |
2599
| `defaultValue=(undefined)`| (initial)| `<empty string>` |
2600
2601
## `defaultValuE` (on `<input>` inside `<div>`)
@@ -2676,23 +2676,23 @@
2676
## `diffuseConstant` (on `<feDiffuseLighting>` inside `<svg>`)
2677
| Test Case | Flags | Result |
2678
| --- | --- | --- |
2679
-| `diffuseConstant=(string)`| (changed)| `<number: 0>` |
2679
+| `diffuseConstant=(string)`| (initial)| `<number: 1>` |
2680
| `diffuseConstant=(empty string)`| (changed)| `<number: 0>` |
2681
-| `diffuseConstant=(array with string)`| (changed)| `<number: 0>` |
2681
+| `diffuseConstant=(array with string)`| (initial)| `<number: 1>` |
2682
| `diffuseConstant=(empty array)`| (changed)| `<number: 0>` |
2683
-| `diffuseConstant=(object)`| (changed)| `<number: 0>` |
2683
+| `diffuseConstant=(object)`| (initial)| `<number: 1>` |
2684
| `diffuseConstant=(numeric string)`| (changed)| `<number: 42>` |
2685
| `diffuseConstant=(-1)`| (changed)| `<number: -1>` |
2686
| `diffuseConstant=(0)`| (changed)| `<number: 0>` |
2687
| `diffuseConstant=(integer)`| (initial)| `<number: 1>` |
2688
-| `diffuseConstant=(NaN)`| (changed, warning)| `<number: 0>` |
2688
+| `diffuseConstant=(NaN)`| (initial, warning)| `<number: 1>` |
2689
| `diffuseConstant=(float)`| (changed)| `<number: 99.98999786376953>` |
2690
| `diffuseConstant=(true)`| (initial, warning)| `<number: 1>` |
2691
| `diffuseConstant=(false)`| (initial, warning)| `<number: 1>` |
2692
-| `diffuseConstant=(string 'true')`| (changed)| `<number: 0>` |
2693
-| `diffuseConstant=(string 'false')`| (changed)| `<number: 0>` |
2694
-| `diffuseConstant=(string 'on')`| (changed)| `<number: 0>` |
2695
-| `diffuseConstant=(string 'off')`| (changed)| `<number: 0>` |
2692
+| `diffuseConstant=(string 'true')`| (initial)| `<number: 1>` |
2693
+| `diffuseConstant=(string 'false')`| (initial)| `<number: 1>` |
2694
+| `diffuseConstant=(string 'on')`| (initial)| `<number: 1>` |
2695
+| `diffuseConstant=(string 'off')`| (initial)| `<number: 1>` |
2696
| `diffuseConstant=(symbol)`| (initial, warning)| `<number: 1>` |
2697
| `diffuseConstant=(function)`| (initial, warning)| `<number: 1>` |
2698
| `diffuseConstant=(null)`| (initial)| `<number: 1>` |
@@ -2773,6 +2773,56 @@
2773
| `disabled=(null)`| (initial)| `<boolean: false>` |
2774
| `disabled=(undefined)`| (initial)| `<boolean: false>` |
2775
2776
+## `disablePictureInPicture` (on `<video>` inside `<div>`)
2777
+| Test Case | Flags | Result |
2778
+| --- | --- | --- |
2779
+| `disablePictureInPicture=(string)`| (initial)| `<undefined>` |
2780
+| `disablePictureInPicture=(empty string)`| (initial)| `<undefined>` |
2781
+| `disablePictureInPicture=(array with string)`| (initial)| `<undefined>` |
2782
+| `disablePictureInPicture=(empty array)`| (initial)| `<undefined>` |
2783
+| `disablePictureInPicture=(object)`| (initial)| `<undefined>` |
2784
+| `disablePictureInPicture=(numeric string)`| (initial)| `<undefined>` |
2785
+| `disablePictureInPicture=(-1)`| (initial)| `<undefined>` |
2786
+| `disablePictureInPicture=(0)`| (initial)| `<undefined>` |
2787
+| `disablePictureInPicture=(integer)`| (initial)| `<undefined>` |
2788
+| `disablePictureInPicture=(NaN)`| (initial, warning)| `<undefined>` |
2789
+| `disablePictureInPicture=(float)`| (initial)| `<undefined>` |
2790
+| `disablePictureInPicture=(true)`| (initial)| `<undefined>` |
2791
+| `disablePictureInPicture=(false)`| (initial)| `<undefined>` |
2792
+| `disablePictureInPicture=(string 'true')`| (initial, warning)| `<undefined>` |
2793
+| `disablePictureInPicture=(string 'false')`| (initial, warning)| `<undefined>` |
2794
+| `disablePictureInPicture=(string 'on')`| (initial)| `<undefined>` |
2795
+| `disablePictureInPicture=(string 'off')`| (initial)| `<undefined>` |
2796
+| `disablePictureInPicture=(symbol)`| (initial, warning)| `<undefined>` |
2797
+| `disablePictureInPicture=(function)`| (initial, warning)| `<undefined>` |
2798
+| `disablePictureInPicture=(null)`| (initial)| `<undefined>` |
2799
+| `disablePictureInPicture=(undefined)`| (initial)| `<undefined>` |
2800
+
2801
+## `disableRemotePlayback` (on `<video>` inside `<div>`)
2802
+| Test Case | Flags | Result |
2803
+| --- | --- | --- |
2804
+| `disableRemotePlayback=(string)`| (initial)| `<undefined>` |
2805
+| `disableRemotePlayback=(empty string)`| (initial)| `<undefined>` |
2806
+| `disableRemotePlayback=(array with string)`| (initial)| `<undefined>` |
2807
+| `disableRemotePlayback=(empty array)`| (initial)| `<undefined>` |
2808
+| `disableRemotePlayback=(object)`| (initial)| `<undefined>` |
2809
+| `disableRemotePlayback=(numeric string)`| (initial)| `<undefined>` |
2810
+| `disableRemotePlayback=(-1)`| (initial)| `<undefined>` |
2811
+| `disableRemotePlayback=(0)`| (initial)| `<undefined>` |
2812
+| `disableRemotePlayback=(integer)`| (initial)| `<undefined>` |
2813
+| `disableRemotePlayback=(NaN)`| (initial, warning)| `<undefined>` |
2814
+| `disableRemotePlayback=(float)`| (initial)| `<undefined>` |
2815
+| `disableRemotePlayback=(true)`| (initial)| `<undefined>` |
2816
+| `disableRemotePlayback=(false)`| (initial)| `<undefined>` |
2817
+| `disableRemotePlayback=(string 'true')`| (initial, warning)| `<undefined>` |
2818
+| `disableRemotePlayback=(string 'false')`| (initial, warning)| `<undefined>` |
2819
+| `disableRemotePlayback=(string 'on')`| (initial)| `<undefined>` |
2820
+| `disableRemotePlayback=(string 'off')`| (initial)| `<undefined>` |
2821
+| `disableRemotePlayback=(symbol)`| (initial, warning)| `<undefined>` |
2822
+| `disableRemotePlayback=(function)`| (initial, warning)| `<undefined>` |
2823
+| `disableRemotePlayback=(null)`| (initial)| `<undefined>` |
2824
+| `disableRemotePlayback=(undefined)`| (initial)| `<undefined>` |
2825
+
2826
## `display` (on `<svg>` inside `<div>`)
2827
| Test Case | Flags | Result |
2828
| --- | --- | --- |
@@ -2801,27 +2851,27 @@
2851
## `divisor` (on `<feConvolveMatrix>` inside `<svg>`)
2852
| Test Case | Flags | Result |
2853
| --- | --- | --- |
2804
-| `divisor=(string)`| (initial)| `<number: 0>` |
2805
-| `divisor=(empty string)`| (initial)| `<number: 0>` |
2806
-| `divisor=(array with string)`| (initial)| `<number: 0>` |
2807
-| `divisor=(empty array)`| (initial)| `<number: 0>` |
2808
-| `divisor=(object)`| (initial)| `<number: 0>` |
2854
+| `divisor=(string)`| (initial)| `<number: 1>` |
2855
+| `divisor=(empty string)`| (changed)| `<number: 0>` |
2856
+| `divisor=(array with string)`| (initial)| `<number: 1>` |
2857
+| `divisor=(empty array)`| (changed)| `<number: 0>` |
2858
+| `divisor=(object)`| (initial)| `<number: 1>` |
2859
| `divisor=(numeric string)`| (changed)| `<number: 42>` |
2860
| `divisor=(-1)`| (changed)| `<number: -1>` |
2811
-| `divisor=(0)`| (initial)| `<number: 0>` |
2812
-| `divisor=(integer)`| (changed)| `<number: 1>` |
2813
-| `divisor=(NaN)`| (initial, warning)| `<number: 0>` |
2861
+| `divisor=(0)`| (changed)| `<number: 0>` |
2862
+| `divisor=(integer)`| (initial)| `<number: 1>` |
2863
+| `divisor=(NaN)`| (initial, warning)| `<number: 1>` |
2864
| `divisor=(float)`| (changed)| `<number: 99.98999786376953>` |
2815
-| `divisor=(true)`| (initial, warning)| `<number: 0>` |
2816
-| `divisor=(false)`| (initial, warning)| `<number: 0>` |
2817
-| `divisor=(string 'true')`| (initial)| `<number: 0>` |
2818
-| `divisor=(string 'false')`| (initial)| `<number: 0>` |
2819
-| `divisor=(string 'on')`| (initial)| `<number: 0>` |
2820
-| `divisor=(string 'off')`| (initial)| `<number: 0>` |
2821
-| `divisor=(symbol)`| (initial, warning)| `<number: 0>` |
2822
-| `divisor=(function)`| (initial, warning)| `<number: 0>` |
2823
-| `divisor=(null)`| (initial)| `<number: 0>` |
2824
-| `divisor=(undefined)`| (initial)| `<number: 0>` |
2865
+| `divisor=(true)`| (initial, warning)| `<number: 1>` |
2866
+| `divisor=(false)`| (initial, warning)| `<number: 1>` |
2867
+| `divisor=(string 'true')`| (initial)| `<number: 1>` |
2868
+| `divisor=(string 'false')`| (initial)| `<number: 1>` |
2869
+| `divisor=(string 'on')`| (initial)| `<number: 1>` |
2870
+| `divisor=(string 'off')`| (initial)| `<number: 1>` |
2871
+| `divisor=(symbol)`| (initial, warning)| `<number: 1>` |
2872
+| `divisor=(function)`| (initial, warning)| `<number: 1>` |
2873
+| `divisor=(null)`| (initial)| `<number: 1>` |
2874
+| `divisor=(undefined)`| (initial)| `<number: 1>` |
2875
2876
## `dominant-baseline` (on `<text>` inside `<svg>`)
2877
| Test Case | Flags | Result |
@@ -3251,23 +3301,23 @@
3301
## `exponent` (on `<feFuncA>` inside `<svg>`)
3302
| Test Case | Flags | Result |
3303
| --- | --- | --- |
3254
-| `exponent=(string)`| (changed)| `<number: 0>` |
3304
+| `exponent=(string)`| (initial)| `<number: 1>` |
3305
| `exponent=(empty string)`| (changed)| `<number: 0>` |
3256
-| `exponent=(array with string)`| (changed)| `<number: 0>` |
3306
+| `exponent=(array with string)`| (initial)| `<number: 1>` |
3307
| `exponent=(empty array)`| (changed)| `<number: 0>` |
3258
-| `exponent=(object)`| (changed)| `<number: 0>` |
3308
+| `exponent=(object)`| (initial)| `<number: 1>` |
3309
| `exponent=(numeric string)`| (changed)| `<number: 42>` |
3310
| `exponent=(-1)`| (changed)| `<number: -1>` |
3311
| `exponent=(0)`| (changed)| `<number: 0>` |
3312
| `exponent=(integer)`| (initial)| `<number: 1>` |
3263
-| `exponent=(NaN)`| (changed, warning)| `<number: 0>` |
3313
+| `exponent=(NaN)`| (initial, warning)| `<number: 1>` |
3314
| `exponent=(float)`| (changed)| `<number: 99.98999786376953>` |
3315
| `exponent=(true)`| (initial, warning)| `<number: 1>` |
3316
| `exponent=(false)`| (initial, warning)| `<number: 1>` |
3267
-| `exponent=(string 'true')`| (changed)| `<number: 0>` |
3268
-| `exponent=(string 'false')`| (changed)| `<number: 0>` |
3269
-| `exponent=(string 'on')`| (changed)| `<number: 0>` |
3270
-| `exponent=(string 'off')`| (changed)| `<number: 0>` |
3317
+| `exponent=(string 'true')`| (initial)| `<number: 1>` |
3318
+| `exponent=(string 'false')`| (initial)| `<number: 1>` |
3319
+| `exponent=(string 'on')`| (initial)| `<number: 1>` |
3320
+| `exponent=(string 'off')`| (initial)| `<number: 1>` |
3321
| `exponent=(symbol)`| (initial, warning)| `<number: 1>` |
3322
| `exponent=(function)`| (initial, warning)| `<number: 1>` |
3323
| `exponent=(null)`| (initial)| `<number: 1>` |
@@ -4252,101 +4302,101 @@
4302
| Test Case | Flags | Result |
4303
| --- | --- | --- |
4304
| `fx=(string)`| (changed)| `<SVGLength: 10px>` |
4255
-| `fx=(empty string)`| (initial)| `<SVGLength: 0>` |
4305
+| `fx=(empty string)`| (initial)| `<SVGLength: 50%>` |
4306
| `fx=(array with string)`| (changed)| `<SVGLength: 10px>` |
4257
-| `fx=(empty array)`| (initial)| `<SVGLength: 0>` |
4258
-| `fx=(object)`| (initial)| `<SVGLength: 0>` |
4307
+| `fx=(empty array)`| (initial)| `<SVGLength: 50%>` |
4308
+| `fx=(object)`| (initial)| `<SVGLength: 50%>` |
4309
| `fx=(numeric string)`| (changed)| `<SVGLength: 42>` |
4310
| `fx=(-1)`| (changed)| `<SVGLength: -1>` |
4261
-| `fx=(0)`| (initial)| `<SVGLength: 0>` |
4311
+| `fx=(0)`| (changed)| `<SVGLength: 0>` |
4312
| `fx=(integer)`| (changed)| `<SVGLength: 1>` |
4263
-| `fx=(NaN)`| (initial, warning)| `<SVGLength: 0>` |
4313
+| `fx=(NaN)`| (initial, warning)| `<SVGLength: 50%>` |
4314
| `fx=(float)`| (changed)| `<SVGLength: 99.99>` |
4265
-| `fx=(true)`| (initial, warning)| `<SVGLength: 0>` |
4266
-| `fx=(false)`| (initial, warning)| `<SVGLength: 0>` |
4267
-| `fx=(string 'true')`| (initial)| `<SVGLength: 0>` |
4268
-| `fx=(string 'false')`| (initial)| `<SVGLength: 0>` |
4269
-| `fx=(string 'on')`| (initial)| `<SVGLength: 0>` |
4270
-| `fx=(string 'off')`| (initial)| `<SVGLength: 0>` |
4271
-| `fx=(symbol)`| (initial, warning)| `<SVGLength: 0>` |
4272
-| `fx=(function)`| (initial, warning)| `<SVGLength: 0>` |
4273
-| `fx=(null)`| (initial)| `<SVGLength: 0>` |
4274
-| `fx=(undefined)`| (initial)| `<SVGLength: 0>` |
4315
+| `fx=(true)`| (initial, warning)| `<SVGLength: 50%>` |
4316
+| `fx=(false)`| (initial, warning)| `<SVGLength: 50%>` |
4317
+| `fx=(string 'true')`| (initial)| `<SVGLength: 50%>` |
4318
+| `fx=(string 'false')`| (initial)| `<SVGLength: 50%>` |
4319
+| `fx=(string 'on')`| (initial)| `<SVGLength: 50%>` |
4320
+| `fx=(string 'off')`| (initial)| `<SVGLength: 50%>` |
4321
+| `fx=(symbol)`| (initial, warning)| `<SVGLength: 50%>` |
4322
+| `fx=(function)`| (initial, warning)| `<SVGLength: 50%>` |
4323
+| `fx=(null)`| (initial)| `<SVGLength: 50%>` |
4324
+| `fx=(undefined)`| (initial)| `<SVGLength: 50%>` |
4325
4326
## `fX` (on `<radialGradient>` inside `<svg>`)
4327
| Test Case | Flags | Result |
4328
| --- | --- | --- |
4279
-| `fX=(string)`| (initial, warning, ssr mismatch)| `<SVGLength: 0>` |
4280
-| `fX=(empty string)`| (initial, warning)| `<SVGLength: 0>` |
4281
-| `fX=(array with string)`| (initial, warning, ssr mismatch)| `<SVGLength: 0>` |
4282
-| `fX=(empty array)`| (initial, warning)| `<SVGLength: 0>` |
4283
-| `fX=(object)`| (initial, warning)| `<SVGLength: 0>` |
4284
-| `fX=(numeric string)`| (initial, warning, ssr mismatch)| `<SVGLength: 0>` |
4285
-| `fX=(-1)`| (initial, warning, ssr mismatch)| `<SVGLength: 0>` |
4286
-| `fX=(0)`| (initial, warning)| `<SVGLength: 0>` |
4287
-| `fX=(integer)`| (initial, warning, ssr mismatch)| `<SVGLength: 0>` |
4288
-| `fX=(NaN)`| (initial, warning)| `<SVGLength: 0>` |
4289
-| `fX=(float)`| (initial, warning, ssr mismatch)| `<SVGLength: 0>` |
4290
-| `fX=(true)`| (initial, warning)| `<SVGLength: 0>` |
4291
-| `fX=(false)`| (initial, warning)| `<SVGLength: 0>` |
4292
-| `fX=(string 'true')`| (initial, warning)| `<SVGLength: 0>` |
4293
-| `fX=(string 'false')`| (initial, warning)| `<SVGLength: 0>` |
4294
-| `fX=(string 'on')`| (initial, warning)| `<SVGLength: 0>` |
4295
-| `fX=(string 'off')`| (initial, warning)| `<SVGLength: 0>` |
4296
-| `fX=(symbol)`| (initial, warning)| `<SVGLength: 0>` |
4297
-| `fX=(function)`| (initial, warning)| `<SVGLength: 0>` |
4298
-| `fX=(null)`| (initial, warning)| `<SVGLength: 0>` |
4299
-| `fX=(undefined)`| (initial, warning)| `<SVGLength: 0>` |
4329
+| `fX=(string)`| (initial, warning, ssr mismatch)| `<SVGLength: 50%>` |
4330
+| `fX=(empty string)`| (initial, warning)| `<SVGLength: 50%>` |
4331
+| `fX=(array with string)`| (initial, warning, ssr mismatch)| `<SVGLength: 50%>` |
4332
+| `fX=(empty array)`| (initial, warning)| `<SVGLength: 50%>` |
4333
+| `fX=(object)`| (initial, warning)| `<SVGLength: 50%>` |
4334
+| `fX=(numeric string)`| (initial, warning, ssr mismatch)| `<SVGLength: 50%>` |
4335
+| `fX=(-1)`| (initial, warning, ssr mismatch)| `<SVGLength: 50%>` |
4336
+| `fX=(0)`| (initial, warning, ssr mismatch)| `<SVGLength: 50%>` |
4337
+| `fX=(integer)`| (initial, warning, ssr mismatch)| `<SVGLength: 50%>` |
4338
+| `fX=(NaN)`| (initial, warning)| `<SVGLength: 50%>` |
4339
+| `fX=(float)`| (initial, warning, ssr mismatch)| `<SVGLength: 50%>` |
4340
+| `fX=(true)`| (initial, warning)| `<SVGLength: 50%>` |
4341
+| `fX=(false)`| (initial, warning)| `<SVGLength: 50%>` |
4342
+| `fX=(string 'true')`| (initial, warning)| `<SVGLength: 50%>` |
4343
+| `fX=(string 'false')`| (initial, warning)| `<SVGLength: 50%>` |
4344
+| `fX=(string 'on')`| (initial, warning)| `<SVGLength: 50%>` |
4345
+| `fX=(string 'off')`| (initial, warning)| `<SVGLength: 50%>` |
4346
+| `fX=(symbol)`| (initial, warning)| `<SVGLength: 50%>` |
4347
+| `fX=(function)`| (initial, warning)| `<SVGLength: 50%>` |
4348
+| `fX=(null)`| (initial, warning)| `<SVGLength: 50%>` |
4349
+| `fX=(undefined)`| (initial, warning)| `<SVGLength: 50%>` |
4350
4351
## `fY` (on `<radialGradient>` inside `<svg>`)
4352
| Test Case | Flags | Result |
4353
| --- | --- | --- |
4304
-| `fY=(string)`| (initial, warning, ssr mismatch)| `<SVGLength: 0>` |
4305
-| `fY=(empty string)`| (initial, warning)| `<SVGLength: 0>` |
4306
-| `fY=(array with string)`| (initial, warning, ssr mismatch)| `<SVGLength: 0>` |
4307
-| `fY=(empty array)`| (initial, warning)| `<SVGLength: 0>` |
4308
-| `fY=(object)`| (initial, warning)| `<SVGLength: 0>` |
4309
-| `fY=(numeric string)`| (initial, warning, ssr mismatch)| `<SVGLength: 0>` |
4310
-| `fY=(-1)`| (initial, warning, ssr mismatch)| `<SVGLength: 0>` |
4311
-| `fY=(0)`| (initial, warning)| `<SVGLength: 0>` |
4312
-| `fY=(integer)`| (initial, warning, ssr mismatch)| `<SVGLength: 0>` |
4313
-| `fY=(NaN)`| (initial, warning)| `<SVGLength: 0>` |
4314
-| `fY=(float)`| (initial, warning, ssr mismatch)| `<SVGLength: 0>` |
4315
-| `fY=(true)`| (initial, warning)| `<SVGLength: 0>` |
4316
-| `fY=(false)`| (initial, warning)| `<SVGLength: 0>` |
4317
-| `fY=(string 'true')`| (initial, warning)| `<SVGLength: 0>` |
4318
-| `fY=(string 'false')`| (initial, warning)| `<SVGLength: 0>` |
4319
-| `fY=(string 'on')`| (initial, warning)| `<SVGLength: 0>` |
4320
-| `fY=(string 'off')`| (initial, warning)| `<SVGLength: 0>` |
4321
-| `fY=(symbol)`| (initial, warning)| `<SVGLength: 0>` |
4322
-| `fY=(function)`| (initial, warning)| `<SVGLength: 0>` |
4323
-| `fY=(null)`| (initial, warning)| `<SVGLength: 0>` |
4324
-| `fY=(undefined)`| (initial, warning)| `<SVGLength: 0>` |
4354
+| `fY=(string)`| (initial, warning, ssr mismatch)| `<SVGLength: 50%>` |
4355
+| `fY=(empty string)`| (initial, warning)| `<SVGLength: 50%>` |
4356
+| `fY=(array with string)`| (initial, warning, ssr mismatch)| `<SVGLength: 50%>` |
4357
+| `fY=(empty array)`| (initial, warning)| `<SVGLength: 50%>` |
4358
+| `fY=(object)`| (initial, warning)| `<SVGLength: 50%>` |
4359
+| `fY=(numeric string)`| (initial, warning, ssr mismatch)| `<SVGLength: 50%>` |
4360
+| `fY=(-1)`| (initial, warning, ssr mismatch)| `<SVGLength: 50%>` |
4361
+| `fY=(0)`| (initial, warning, ssr mismatch)| `<SVGLength: 50%>` |
4362
+| `fY=(integer)`| (initial, warning, ssr mismatch)| `<SVGLength: 50%>` |
4363
+| `fY=(NaN)`| (initial, warning)| `<SVGLength: 50%>` |
4364
+| `fY=(float)`| (initial, warning, ssr mismatch)| `<SVGLength: 50%>` |
4365
+| `fY=(true)`| (initial, warning)| `<SVGLength: 50%>` |
4366
+| `fY=(false)`| (initial, warning)| `<SVGLength: 50%>` |
4367
+| `fY=(string 'true')`| (initial, warning)| `<SVGLength: 50%>` |
4368
+| `fY=(string 'false')`| (initial, warning)| `<SVGLength: 50%>` |
4369
+| `fY=(string 'on')`| (initial, warning)| `<SVGLength: 50%>` |
4370
+| `fY=(string 'off')`| (initial, warning)| `<SVGLength: 50%>` |
4371
+| `fY=(symbol)`| (initial, warning)| `<SVGLength: 50%>` |
4372
+| `fY=(function)`| (initial, warning)| `<SVGLength: 50%>` |
4373
+| `fY=(null)`| (initial, warning)| `<SVGLength: 50%>` |
4374
+| `fY=(undefined)`| (initial, warning)| `<SVGLength: 50%>` |
4375
4376
## `fy` (on `<radialGradient>` inside `<svg>`)
4377
| Test Case | Flags | Result |
4378
| --- | --- | --- |
4379
| `fy=(string)`| (changed)| `<SVGLength: 20em>` |
4330
-| `fy=(empty string)`| (initial)| `<SVGLength: 0>` |
4380
+| `fy=(empty string)`| (initial)| `<SVGLength: 50%>` |
4381
| `fy=(array with string)`| (changed)| `<SVGLength: 20em>` |
4332
-| `fy=(empty array)`| (initial)| `<SVGLength: 0>` |
4333
-| `fy=(object)`| (initial)| `<SVGLength: 0>` |
4382
+| `fy=(empty array)`| (initial)| `<SVGLength: 50%>` |
4383
+| `fy=(object)`| (initial)| `<SVGLength: 50%>` |
4384
| `fy=(numeric string)`| (changed)| `<SVGLength: 42>` |
4385
| `fy=(-1)`| (changed)| `<SVGLength: -1>` |
4336
-| `fy=(0)`| (initial)| `<SVGLength: 0>` |
4386
+| `fy=(0)`| (changed)| `<SVGLength: 0>` |
4387
| `fy=(integer)`| (changed)| `<SVGLength: 1>` |
4338
-| `fy=(NaN)`| (initial, warning)| `<SVGLength: 0>` |
4388
+| `fy=(NaN)`| (initial, warning)| `<SVGLength: 50%>` |
4389
| `fy=(float)`| (changed)| `<SVGLength: 99.99>` |
4340
-| `fy=(true)`| (initial, warning)| `<SVGLength: 0>` |
4341
-| `fy=(false)`| (initial, warning)| `<SVGLength: 0>` |
4342
-| `fy=(string 'true')`| (initial)| `<SVGLength: 0>` |
4343
-| `fy=(string 'false')`| (initial)| `<SVGLength: 0>` |
4344
-| `fy=(string 'on')`| (initial)| `<SVGLength: 0>` |
4345
-| `fy=(string 'off')`| (initial)| `<SVGLength: 0>` |
4346
-| `fy=(symbol)`| (initial, warning)| `<SVGLength: 0>` |
4347
-| `fy=(function)`| (initial, warning)| `<SVGLength: 0>` |
4348
-| `fy=(null)`| (initial)| `<SVGLength: 0>` |
4349
-| `fy=(undefined)`| (initial)| `<SVGLength: 0>` |
4390
+| `fy=(true)`| (initial, warning)| `<SVGLength: 50%>` |
4391
+| `fy=(false)`| (initial, warning)| `<SVGLength: 50%>` |
4392
+| `fy=(string 'true')`| (initial)| `<SVGLength: 50%>` |
4393
+| `fy=(string 'false')`| (initial)| `<SVGLength: 50%>` |
4394
+| `fy=(string 'on')`| (initial)| `<SVGLength: 50%>` |
4395
+| `fy=(string 'off')`| (initial)| `<SVGLength: 50%>` |
4396
+| `fy=(symbol)`| (initial, warning)| `<SVGLength: 50%>` |
4397
+| `fy=(function)`| (initial, warning)| `<SVGLength: 50%>` |
4398
+| `fy=(null)`| (initial)| `<SVGLength: 50%>` |
4399
+| `fy=(undefined)`| (initial)| `<SVGLength: 50%>` |
4400
4401
## `G1` (on `<hkern>` inside `<svg>`)
4402
| Test Case | Flags | Result |
@@ -6326,27 +6376,27 @@
6376
## `marginHeight` (on `<frame>` inside `<frameset>`)
6377
| Test Case | Flags | Result |
6378
| --- | --- | --- |
6329
-| `marginHeight=(string)`| (changed, warning, ssr error, ssr mismatch)| `"a string"` |
6330
-| `marginHeight=(empty string)`| (initial, warning, ssr error, ssr mismatch)| `<empty string>` |
6331
-| `marginHeight=(array with string)`| (changed, warning, ssr error, ssr mismatch)| `"string"` |
6332
-| `marginHeight=(empty array)`| (initial, warning, ssr error, ssr mismatch)| `<empty string>` |
6333
-| `marginHeight=(object)`| (changed, warning, ssr error, ssr mismatch)| `"result of toString()"` |
6334
-| `marginHeight=(numeric string)`| (changed, warning, ssr error, ssr mismatch)| `"42"` |
6335
-| `marginHeight=(-1)`| (changed, warning, ssr error, ssr mismatch)| `"-1"` |
6336
-| `marginHeight=(0)`| (changed, warning, ssr error, ssr mismatch)| `"0"` |
6337
-| `marginHeight=(integer)`| (changed, warning, ssr error, ssr mismatch)| `"1"` |
6379
+| `marginHeight=(string)`| (changed, ssr error, ssr mismatch)| `"a string"` |
6380
+| `marginHeight=(empty string)`| (initial, ssr error, ssr mismatch)| `<empty string>` |
6381
+| `marginHeight=(array with string)`| (changed, ssr error, ssr mismatch)| `"string"` |
6382
+| `marginHeight=(empty array)`| (initial, ssr error, ssr mismatch)| `<empty string>` |
6383
+| `marginHeight=(object)`| (changed, ssr error, ssr mismatch)| `"result of toString()"` |
6384
+| `marginHeight=(numeric string)`| (changed, ssr error, ssr mismatch)| `"42"` |
6385
+| `marginHeight=(-1)`| (changed, ssr error, ssr mismatch)| `"-1"` |
6386
+| `marginHeight=(0)`| (changed, ssr error, ssr mismatch)| `"0"` |
6387
+| `marginHeight=(integer)`| (changed, ssr error, ssr mismatch)| `"1"` |
6388
| `marginHeight=(NaN)`| (changed, warning, ssr error, ssr mismatch)| `"NaN"` |
6339
-| `marginHeight=(float)`| (changed, warning, ssr error, ssr mismatch)| `"99.99"` |
6389
+| `marginHeight=(float)`| (changed, ssr error, ssr mismatch)| `"99.99"` |
6390
| `marginHeight=(true)`| (initial, warning, ssr error, ssr mismatch)| `<empty string>` |
6391
| `marginHeight=(false)`| (initial, warning, ssr error, ssr mismatch)| `<empty string>` |
6342
-| `marginHeight=(string 'true')`| (changed, warning, ssr error, ssr mismatch)| `"true"` |
6343
-| `marginHeight=(string 'false')`| (changed, warning, ssr error, ssr mismatch)| `"false"` |
6344
-| `marginHeight=(string 'on')`| (changed, warning, ssr error, ssr mismatch)| `"on"` |
6345
-| `marginHeight=(string 'off')`| (changed, warning, ssr error, ssr mismatch)| `"off"` |
6392
+| `marginHeight=(string 'true')`| (changed, ssr error, ssr mismatch)| `"true"` |
6393
+| `marginHeight=(string 'false')`| (changed, ssr error, ssr mismatch)| `"false"` |
6394
+| `marginHeight=(string 'on')`| (changed, ssr error, ssr mismatch)| `"on"` |
6395
+| `marginHeight=(string 'off')`| (changed, ssr error, ssr mismatch)| `"off"` |
6396
| `marginHeight=(symbol)`| (initial, warning, ssr error, ssr mismatch)| `<empty string>` |
6397
| `marginHeight=(function)`| (initial, warning, ssr error, ssr mismatch)| `<empty string>` |
6348
-| `marginHeight=(null)`| (initial, warning, ssr error, ssr mismatch)| `<empty string>` |
6349
-| `marginHeight=(undefined)`| (initial, warning, ssr error, ssr mismatch)| `<empty string>` |
6398
+| `marginHeight=(null)`| (initial, ssr error, ssr mismatch)| `<empty string>` |
6399
+| `marginHeight=(undefined)`| (initial, ssr error, ssr mismatch)| `<empty string>` |
6400
6401
## `marginWidth` (on `<frame>` inside `<frameset>`)
6402
| Test Case | Flags | Result |
@@ -6476,23 +6526,23 @@
6526
## `markerHeight` (on `<marker>` inside `<svg>`)
6527
| Test Case | Flags | Result |
6528
| --- | --- | --- |
6479
-| `markerHeight=(string)`| (changed)| `<SVGLength: 0>` |
6480
-| `markerHeight=(empty string)`| (changed)| `<SVGLength: 0>` |
6481
-| `markerHeight=(array with string)`| (changed)| `<SVGLength: 0>` |
6482
-| `markerHeight=(empty array)`| (changed)| `<SVGLength: 0>` |
6483
-| `markerHeight=(object)`| (changed)| `<SVGLength: 0>` |
6529
+| `markerHeight=(string)`| (initial)| `<SVGLength: 3>` |
6530
+| `markerHeight=(empty string)`| (initial)| `<SVGLength: 3>` |
6531
+| `markerHeight=(array with string)`| (initial)| `<SVGLength: 3>` |
6532
+| `markerHeight=(empty array)`| (initial)| `<SVGLength: 3>` |
6533
+| `markerHeight=(object)`| (initial)| `<SVGLength: 3>` |
6534
| `markerHeight=(numeric string)`| (changed)| `<SVGLength: 42>` |
6535
| `markerHeight=(-1)`| (changed)| `<SVGLength: -1>` |
6536
| `markerHeight=(0)`| (changed)| `<SVGLength: 0>` |
6537
| `markerHeight=(integer)`| (changed)| `<SVGLength: 1>` |
6488
-| `markerHeight=(NaN)`| (changed, warning)| `<SVGLength: 0>` |
6538
+| `markerHeight=(NaN)`| (initial, warning)| `<SVGLength: 3>` |
6539
| `markerHeight=(float)`| (changed)| `<SVGLength: 99.99>` |
6540
| `markerHeight=(true)`| (initial, warning)| `<SVGLength: 3>` |
6541
| `markerHeight=(false)`| (initial, warning)| `<SVGLength: 3>` |
6492
-| `markerHeight=(string 'true')`| (changed)| `<SVGLength: 0>` |
6493
-| `markerHeight=(string 'false')`| (changed)| `<SVGLength: 0>` |
6494
-| `markerHeight=(string 'on')`| (changed)| `<SVGLength: 0>` |
6495
-| `markerHeight=(string 'off')`| (changed)| `<SVGLength: 0>` |
6542
+| `markerHeight=(string 'true')`| (initial)| `<SVGLength: 3>` |
6543
+| `markerHeight=(string 'false')`| (initial)| `<SVGLength: 3>` |
6544
+| `markerHeight=(string 'on')`| (initial)| `<SVGLength: 3>` |
6545
+| `markerHeight=(string 'off')`| (initial)| `<SVGLength: 3>` |
6546
| `markerHeight=(symbol)`| (initial, warning)| `<SVGLength: 3>` |
6547
| `markerHeight=(function)`| (initial, warning)| `<SVGLength: 3>` |
6548
| `markerHeight=(null)`| (initial)| `<SVGLength: 3>` |
@@ -6576,23 +6626,23 @@
6626
## `markerWidth` (on `<marker>` inside `<svg>`)
6627
| Test Case | Flags | Result |
6628
| --- | --- | --- |
6579
-| `markerWidth=(string)`| (changed)| `<SVGLength: 0>` |
6580
-| `markerWidth=(empty string)`| (changed)| `<SVGLength: 0>` |
6581
-| `markerWidth=(array with string)`| (changed)| `<SVGLength: 0>` |
6582
-| `markerWidth=(empty array)`| (changed)| `<SVGLength: 0>` |
6583
-| `markerWidth=(object)`| (changed)| `<SVGLength: 0>` |
6629
+| `markerWidth=(string)`| (initial)| `<SVGLength: 3>` |
6630
+| `markerWidth=(empty string)`| (initial)| `<SVGLength: 3>` |
6631
+| `markerWidth=(array with string)`| (initial)| `<SVGLength: 3>` |
6632
+| `markerWidth=(empty array)`| (initial)| `<SVGLength: 3>` |
6633
+| `markerWidth=(object)`| (initial)| `<SVGLength: 3>` |
6634
| `markerWidth=(numeric string)`| (changed)| `<SVGLength: 42>` |
6635
| `markerWidth=(-1)`| (changed)| `<SVGLength: -1>` |
6636
| `markerWidth=(0)`| (changed)| `<SVGLength: 0>` |
6637
| `markerWidth=(integer)`| (changed)| `<SVGLength: 1>` |
6588
-| `markerWidth=(NaN)`| (changed, warning)| `<SVGLength: 0>` |
6638
+| `markerWidth=(NaN)`| (initial, warning)| `<SVGLength: 3>` |
6639
| `markerWidth=(float)`| (changed)| `<SVGLength: 99.99>` |
6640
| `markerWidth=(true)`| (initial, warning)| `<SVGLength: 3>` |
6641
| `markerWidth=(false)`| (initial, warning)| `<SVGLength: 3>` |
6592
-| `markerWidth=(string 'true')`| (changed)| `<SVGLength: 0>` |
6593
-| `markerWidth=(string 'false')`| (changed)| `<SVGLength: 0>` |
6594
-| `markerWidth=(string 'on')`| (changed)| `<SVGLength: 0>` |
6595
-| `markerWidth=(string 'off')`| (changed)| `<SVGLength: 0>` |
6642
+| `markerWidth=(string 'true')`| (initial)| `<SVGLength: 3>` |
6643
+| `markerWidth=(string 'false')`| (initial)| `<SVGLength: 3>` |
6644
+| `markerWidth=(string 'on')`| (initial)| `<SVGLength: 3>` |
6645
+| `markerWidth=(string 'off')`| (initial)| `<SVGLength: 3>` |
6646
| `markerWidth=(symbol)`| (initial, warning)| `<SVGLength: 3>` |
6647
| `markerWidth=(function)`| (initial, warning)| `<SVGLength: 3>` |
6648
| `markerWidth=(null)`| (initial)| `<SVGLength: 3>` |
@@ -7251,23 +7301,23 @@
7301
## `numOctaves` (on `<feTurbulence>` inside `<svg>`)
7302
| Test Case | Flags | Result |
7303
| --- | --- | --- |
7254
-| `numOctaves=(string)`| (changed)| `<number: 0>` |
7304
+| `numOctaves=(string)`| (initial)| `<number: 1>` |
7305
| `numOctaves=(empty string)`| (changed)| `<number: 0>` |
7256
-| `numOctaves=(array with string)`| (changed)| `<number: 0>` |
7306
+| `numOctaves=(array with string)`| (initial)| `<number: 1>` |
7307
| `numOctaves=(empty array)`| (changed)| `<number: 0>` |
7258
-| `numOctaves=(object)`| (changed)| `<number: 0>` |
7308
+| `numOctaves=(object)`| (initial)| `<number: 1>` |
7309
| `numOctaves=(numeric string)`| (changed)| `<number: 42>` |
7310
| `numOctaves=(-1)`| (changed)| `<number: -1>` |
7311
| `numOctaves=(0)`| (changed)| `<number: 0>` |
7312
| `numOctaves=(integer)`| (initial)| `<number: 1>` |
7263
-| `numOctaves=(NaN)`| (changed, warning)| `<number: 0>` |
7264
-| `numOctaves=(float)`| (changed)| `<number: 0>` |
7313
+| `numOctaves=(NaN)`| (initial, warning)| `<number: 1>` |
7314
+| `numOctaves=(float)`| (initial)| `<number: 1>` |
7315
| `numOctaves=(true)`| (initial, warning)| `<number: 1>` |
7316
| `numOctaves=(false)`| (initial, warning)| `<number: 1>` |
7267
-| `numOctaves=(string 'true')`| (changed)| `<number: 0>` |
7268
-| `numOctaves=(string 'false')`| (changed)| `<number: 0>` |
7269
-| `numOctaves=(string 'on')`| (changed)| `<number: 0>` |
7270
-| `numOctaves=(string 'off')`| (changed)| `<number: 0>` |
7317
+| `numOctaves=(string 'true')`| (initial)| `<number: 1>` |
7318
+| `numOctaves=(string 'false')`| (initial)| `<number: 1>` |
7319
+| `numOctaves=(string 'on')`| (initial)| `<number: 1>` |
7320
+| `numOctaves=(string 'off')`| (initial)| `<number: 1>` |
7321
| `numOctaves=(symbol)`| (initial, warning)| `<number: 1>` |
7322
| `numOctaves=(function)`| (initial, warning)| `<number: 1>` |
7323
| `numOctaves=(null)`| (initial)| `<number: 1>` |
@@ -9276,23 +9326,23 @@
9326
## `selected` (on `<option>` inside `<select>`)
9327
| Test Case | Flags | Result |
9328
| --- | --- | --- |
9279
-| `selected=(string)`| (initial, warning, ssr warning)| `<boolean: true>` |
9280
-| `selected=(empty string)`| (initial, warning, ssr warning)| `<boolean: true>` |
9281
-| `selected=(array with string)`| (initial, warning, ssr warning)| `<boolean: true>` |
9282
-| `selected=(empty array)`| (initial, warning, ssr warning)| `<boolean: true>` |
9283
-| `selected=(object)`| (initial, warning, ssr warning)| `<boolean: true>` |
9284
-| `selected=(numeric string)`| (initial, warning, ssr warning)| `<boolean: true>` |
9285
-| `selected=(-1)`| (initial, warning, ssr warning)| `<boolean: true>` |
9286
-| `selected=(0)`| (initial, warning, ssr warning)| `<boolean: true>` |
9287
-| `selected=(integer)`| (initial, warning, ssr warning)| `<boolean: true>` |
9329
+| `selected=(string)`| (initial, warning)| `<boolean: true>` |
9330
+| `selected=(empty string)`| (initial, warning)| `<boolean: true>` |
9331
+| `selected=(array with string)`| (initial, warning)| `<boolean: true>` |
9332
+| `selected=(empty array)`| (initial, warning)| `<boolean: true>` |
9333
+| `selected=(object)`| (initial, warning)| `<boolean: true>` |
9334
+| `selected=(numeric string)`| (initial, warning)| `<boolean: true>` |
9335
+| `selected=(-1)`| (initial, warning)| `<boolean: true>` |
9336
+| `selected=(0)`| (initial, warning)| `<boolean: true>` |
9337
+| `selected=(integer)`| (initial, warning)| `<boolean: true>` |
9338
| `selected=(NaN)`| (initial, warning)| `<boolean: true>` |
9289
-| `selected=(float)`| (initial, warning, ssr warning)| `<boolean: true>` |
9290
-| `selected=(true)`| (initial, warning, ssr warning)| `<boolean: true>` |
9291
-| `selected=(false)`| (initial, warning, ssr warning)| `<boolean: true>` |
9339
+| `selected=(float)`| (initial, warning)| `<boolean: true>` |
9340
+| `selected=(true)`| (initial, warning)| `<boolean: true>` |
9341
+| `selected=(false)`| (initial, warning)| `<boolean: true>` |
9342
| `selected=(string 'true')`| (initial, warning)| `<boolean: true>` |
9343
| `selected=(string 'false')`| (initial, warning)| `<boolean: true>` |
9294
-| `selected=(string 'on')`| (initial, warning, ssr warning)| `<boolean: true>` |
9295
-| `selected=(string 'off')`| (initial, warning, ssr warning)| `<boolean: true>` |
9344
+| `selected=(string 'on')`| (initial, warning)| `<boolean: true>` |
9345
+| `selected=(string 'off')`| (initial, warning)| `<boolean: true>` |
9346
| `selected=(symbol)`| (initial, warning)| `<boolean: true>` |
9347
| `selected=(function)`| (initial, warning)| `<boolean: true>` |
9348
| `selected=(null)`| (initial)| `<boolean: true>` |
@@ -9526,23 +9576,23 @@
9576
## `specularConstant` (on `<feSpecularLighting>` inside `<svg>`)
9577
| Test Case | Flags | Result |
9578
| --- | --- | --- |
9529
-| `specularConstant=(string)`| (changed)| `<number: 0>` |
9579
+| `specularConstant=(string)`| (initial)| `<number: 1>` |
9580
| `specularConstant=(empty string)`| (changed)| `<number: 0>` |
9531
-| `specularConstant=(array with string)`| (changed)| `<number: 0>` |
9581
+| `specularConstant=(array with string)`| (initial)| `<number: 1>` |
9582
| `specularConstant=(empty array)`| (changed)| `<number: 0>` |
9533
-| `specularConstant=(object)`| (changed)| `<number: 0>` |
9583
+| `specularConstant=(object)`| (initial)| `<number: 1>` |
9584
| `specularConstant=(numeric string)`| (changed)| `<number: 42>` |
9585
| `specularConstant=(-1)`| (changed)| `<number: -1>` |
9586
| `specularConstant=(0)`| (changed)| `<number: 0>` |
9587
| `specularConstant=(integer)`| (initial)| `<number: 1>` |
9538
-| `specularConstant=(NaN)`| (changed, warning)| `<number: 0>` |
9588
+| `specularConstant=(NaN)`| (initial, warning)| `<number: 1>` |
9589
| `specularConstant=(float)`| (changed)| `<number: 99.98999786376953>` |
9590
| `specularConstant=(true)`| (initial, warning)| `<number: 1>` |
9591
| `specularConstant=(false)`| (initial, warning)| `<number: 1>` |
9542
-| `specularConstant=(string 'true')`| (changed)| `<number: 0>` |
9543
-| `specularConstant=(string 'false')`| (changed)| `<number: 0>` |
9544
-| `specularConstant=(string 'on')`| (changed)| `<number: 0>` |
9545
-| `specularConstant=(string 'off')`| (changed)| `<number: 0>` |
9592
+| `specularConstant=(string 'true')`| (initial)| `<number: 1>` |
9593
+| `specularConstant=(string 'false')`| (initial)| `<number: 1>` |
9594
+| `specularConstant=(string 'on')`| (initial)| `<number: 1>` |
9595
+| `specularConstant=(string 'off')`| (initial)| `<number: 1>` |
9596
| `specularConstant=(symbol)`| (initial, warning)| `<number: 1>` |
9597
| `specularConstant=(function)`| (initial, warning)| `<number: 1>` |
9598
| `specularConstant=(null)`| (initial)| `<number: 1>` |
@@ -10678,7 +10728,7 @@
10728
| --- | --- | --- |
10729
| `style=(string)`| (changed, error, warning, ssr error)| `` |
10730
| `style=(empty string)`| (changed, error, warning, ssr error)| `` |
10681
-| `style=(array with string)`| (initial)| `[]` |
10731
+| `style=(array with string)`| (changed, error, warning, ssr mismatch)| `` |
10732
| `style=(empty array)`| (initial)| `[]` |
10733
| `style=(object)`| (initial)| `[]` |
10734
| `style=(numeric string)`| (changed, error, warning, ssr error)| `` |
@@ -10751,23 +10801,23 @@
10801
## `surfaceScale` (on `<feDiffuseLighting>` inside `<svg>`)
10802
| Test Case | Flags | Result |
10803
| --- | --- | --- |
10754
-| `surfaceScale=(string)`| (changed)| `<number: 0>` |
10804
+| `surfaceScale=(string)`| (initial)| `<number: 1>` |
10805
| `surfaceScale=(empty string)`| (changed)| `<number: 0>` |
10756
-| `surfaceScale=(array with string)`| (changed)| `<number: 0>` |
10806
+| `surfaceScale=(array with string)`| (initial)| `<number: 1>` |
10807
| `surfaceScale=(empty array)`| (changed)| `<number: 0>` |
10758
-| `surfaceScale=(object)`| (changed)| `<number: 0>` |
10808
+| `surfaceScale=(object)`| (initial)| `<number: 1>` |
10809
| `surfaceScale=(numeric string)`| (changed)| `<number: 42>` |
10810
| `surfaceScale=(-1)`| (changed)| `<number: -1>` |
10811
| `surfaceScale=(0)`| (changed)| `<number: 0>` |
10812
| `surfaceScale=(integer)`| (initial)| `<number: 1>` |
10763
-| `surfaceScale=(NaN)`| (changed, warning)| `<number: 0>` |
10813
+| `surfaceScale=(NaN)`| (initial, warning)| `<number: 1>` |
10814
| `surfaceScale=(float)`| (changed)| `<number: 99.98999786376953>` |
10815
| `surfaceScale=(true)`| (initial, warning)| `<number: 1>` |
10816
| `surfaceScale=(false)`| (initial, warning)| `<number: 1>` |
10767
-| `surfaceScale=(string 'true')`| (changed)| `<number: 0>` |
10768
-| `surfaceScale=(string 'false')`| (changed)| `<number: 0>` |
10769
-| `surfaceScale=(string 'on')`| (changed)| `<number: 0>` |
10770
-| `surfaceScale=(string 'off')`| (changed)| `<number: 0>` |
10817
+| `surfaceScale=(string 'true')`| (initial)| `<number: 1>` |
10818
+| `surfaceScale=(string 'false')`| (initial)| `<number: 1>` |
10819
+| `surfaceScale=(string 'on')`| (initial)| `<number: 1>` |
10820
+| `surfaceScale=(string 'off')`| (initial)| `<number: 1>` |
10821
| `surfaceScale=(symbol)`| (initial, warning)| `<number: 1>` |
10822
| `surfaceScale=(function)`| (initial, warning)| `<number: 1>` |
10823
| `surfaceScale=(null)`| (initial)| `<number: 1>` |
@@ -11810,7 +11860,7 @@
11860
| `value=(-1)`| (changed)| `"-1"` |
11861
| `value=(0)`| (changed)| `"0"` |
11862
| `value=(integer)`| (changed)| `"1"` |
11813
-| `value=(NaN)`| (changed, warning, ssr warning)| `"NaN"` |
11863
+| `value=(NaN)`| (changed, warning)| `"NaN"` |
11864
| `value=(float)`| (changed)| `"99.99"` |
11865
| `value=(true)`| (changed)| `"true"` |
11866
| `value=(false)`| (changed)| `"false"` |
@@ -11818,9 +11868,9 @@
11868
| `value=(string 'false')`| (changed)| `"false"` |
11869
| `value=(string 'on')`| (changed)| `"on"` |
11870
| `value=(string 'off')`| (changed)| `"off"` |
11821
-| `value=(symbol)`| (initial, warning, ssr warning)| `<empty string>` |
11822
-| `value=(function)`| (initial, warning, ssr warning)| `<empty string>` |
11823
-| `value=(null)`| (initial, warning, ssr warning)| `<empty string>` |
11871
+| `value=(symbol)`| (initial, warning)| `<empty string>` |
11872
+| `value=(function)`| (initial, warning)| `<empty string>` |
11873
+| `value=(null)`| (initial, warning)| `<empty string>` |
11874
| `value=(undefined)`| (initial)| `<empty string>` |
11875
11876
## `value` (on `<input>` inside `<div>`)
@@ -11845,7 +11895,7 @@
11895
| `value=(string 'off')`| (changed)| `"off"` |
11896
| `value=(symbol)`| (initial, warning)| `<empty string>` |
11897
| `value=(function)`| (initial, warning)| `<empty string>` |
11848
-| `value=(null)`| (initial, warning, ssr warning)| `<empty string>` |
11898
+| `value=(null)`| (initial, warning)| `<empty string>` |
11899
| `value=(undefined)`| (initial)| `<empty string>` |
11900
11901
## `value` (on `<input>` inside `<div>`)
@@ -11870,7 +11920,7 @@
11920
| `value=(string 'off')`| (initial)| `<empty string>` |
11921
| `value=(symbol)`| (initial, warning)| `<empty string>` |
11922
| `value=(function)`| (initial, warning)| `<empty string>` |
11873
-| `value=(null)`| (initial, warning, ssr warning)| `<empty string>` |
11923
+| `value=(null)`| (initial, warning)| `<empty string>` |
11924
| `value=(undefined)`| (initial)| `<empty string>` |
11925
11926
## `value` (on `<textarea>` inside `<div>`)
@@ -11880,22 +11930,22 @@
11930
| `value=(empty string)`| (initial)| `<empty string>` |
11931
| `value=(array with string)`| (changed)| `"string"` |
11932
| `value=(empty array)`| (initial)| `<empty string>` |
11883
-| `value=(object)`| (changed)| `"result of toString()"` |
11933
+| `value=(object)`| (changed, ssr error, ssr mismatch)| `"result of toString()"` |
11934
| `value=(numeric string)`| (changed)| `"42"` |
11935
| `value=(-1)`| (changed)| `"-1"` |
11936
| `value=(0)`| (changed)| `"0"` |
11937
| `value=(integer)`| (changed)| `"1"` |
11888
-| `value=(NaN)`| (changed, warning, ssr warning)| `"NaN"` |
11938
+| `value=(NaN)`| (changed, warning)| `"NaN"` |
11939
| `value=(float)`| (changed)| `"99.99"` |
11890
-| `value=(true)`| (changed)| `"true"` |
11891
-| `value=(false)`| (changed)| `"false"` |
11940
+| `value=(true)`| (changed, ssr mismatch)| `"true"` |
11941
+| `value=(false)`| (changed, ssr mismatch)| `"false"` |
11942
| `value=(string 'true')`| (changed)| `"true"` |
11943
| `value=(string 'false')`| (changed)| `"false"` |
11944
| `value=(string 'on')`| (changed)| `"on"` |
11945
| `value=(string 'off')`| (changed)| `"off"` |
11896
-| `value=(symbol)`| (initial, warning, ssr error, ssr mismatch)| `<empty string>` |
11897
-| `value=(function)`| (initial, warning, ssr mismatch)| `<empty string>` |
11898
-| `value=(null)`| (initial, warning, ssr warning)| `<empty string>` |
11946
+| `value=(symbol)`| (initial, warning)| `<empty string>` |
11947
+| `value=(function)`| (initial, warning)| `<empty string>` |
11948
+| `value=(null)`| (initial, warning)| `<empty string>` |
11949
| `value=(undefined)`| (initial)| `<empty string>` |
11950
11951
## `value` (on `<option>` inside `<select>`)
@@ -11918,7 +11968,7 @@
11968
| `value=(string 'false')`| (changed)| `"false"` |
11969
| `value=(string 'on')`| (changed)| `"on"` |
11970
| `value=(string 'off')`| (changed)| `"off"` |
11921
-| `value=(symbol)`| (initial, warning)| `<empty string>` |
11971
+| `value=(symbol)`| (initial, warning, ssr error, ssr mismatch)| `<empty string>` |
11972
| `value=(function)`| (initial, warning)| `<empty string>` |
11973
| `value=(null)`| (initial)| `<empty string>` |
11974
| `value=(undefined)`| (initial)| `<empty string>` |
fixtures/attribute-behavior/README.md
+3
-4
@@ -8,7 +8,7 @@
8
9
## Instructions
10
11
-`cd fixtures/attribute-behavior && yarn install && yarn start`
11
+`yarn build --type=UMD_DEV react/index,react-dom && cd fixtures/attribute-behavior && yarn install && yarn start`
12
13
## Interpretation
14
@@ -16,9 +16,8 @@ Each row is an attribute which could be set on some DOM component. Some of
16
them are invalid or mis-capitalized or mixed up versions of real ones.
17
Each column is a value which can be passed to that attribute.
18
Every cell has a box on the left and a box on the right.
19
-The left box shows the property (or attribute) assigned by React 15.\*, and the
20
-right box shows the property (or attribute) assigned by the latest version of
21
-React 16.
19
+The left box shows the property (or attribute) assigned by the latest stable release of React, and the
20
+right box shows the property (or attribute) assigned by the locally built version of React.
21
22
Right now, we use a purple outline to call out cases where the assigned property
23
(or attribute) has changed between React 15 and 16.
fixtures/attribute-behavior/package.json
+1
-1
@@ -12,7 +12,7 @@
12
},
13
"scripts": {
14
"prestart":
15
- "cp ../../build/node_modules/react/umd/react.development.js public/ && cp ../../build/node_modules/react-dom/umd/react-dom.development.js public/ && cp ../../build/node_modules/react-dom/umd/react-dom-server.browser.development.js public/",
15
+ "cp ../../build/node_modules/react/umd/react.development.js public/ && cp ../../build/node_modules/react-dom/umd/react-dom.development.js public/ && cp ../../build/node_modules/react-dom/umd/react-dom-server-legacy.browser.development.js public/",
16
"start": "react-scripts start",
17
"build": "react-scripts build",
18
"test": "react-scripts test --env=jsdom",
fixtures/attribute-behavior/src/App.js
+7
-4
@@ -213,6 +213,9 @@ function getCanonicalizedValue(value) {
213
214
let _didWarn = false;
215
function warn(str) {
216
+ if (str.includes('ReactDOM.render is no longer supported')) {
217
+ return;
218
+ }
219
_didWarn = true;
220
}
221
const UNKNOWN_HTML_TAGS = new Set(['keygen', 'time', 'command']);
@@ -525,7 +528,7 @@ function ResultPopover(props) {
528
<pre
529
css={{
530
padding: '1em',
528
- width: '25em',
531
+ minWidth: '25em',
532
}}>
533
{JSON.stringify(
534
{
@@ -723,9 +726,9 @@ class App extends React.Component {
726
rowPatternHashes: null,
727
};
728
726
- renderCell = props => {
729
+ renderCell = ({key, ...props}) => {
730
return (
728
- <div style={props.style}>
731
+ <div key={key} style={props.style}>
732
<CellContent
733
toggleAttribute={this.toggleAttribute}
734
completedHashes={this.state.completedHashes}
@@ -764,7 +767,7 @@ class App extends React.Component {
767
'https://unpkg.com/react-dom@latest/umd/react-dom-server.browser.development.js',
768
ReactNext: '/react.development.js',
769
ReactDOMNext: '/react-dom.development.js',
767
- ReactDOMServerNext: '/react-dom-server.browser.development.js',
770
+ ReactDOMServerNext: '/react-dom-server-legacy.browser.development.js',
771
};
772
const codePromises = Object.values(sources).map(src =>
773
fetch(src).then(res => res.text())