Commit 4e3618a
authored
[Float][Fizz] Fix srcSet and sizes handling for suspensey img preloads (#27217)
imageSrcSet should have been srcSet when referencing an img tag.
imageSizes should have been sizes. This caused preloads for img tags
using srcSet and sizes to incorrectly render as having a href only,
dropping the srcSet and sizes part of the preload1 parent 533fc28 commit 4e3618a
File tree
2 files changed
+52
-11
lines changed- packages
- react-dom-bindings/src/server
- react-dom/src/__tests__
2 files changed
+52
-11
lines changedLines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2399 | 2399 | | |
2400 | 2400 | | |
2401 | 2401 | | |
2402 | | - | |
2403 | | - | |
| 2402 | + | |
| 2403 | + | |
2404 | 2404 | | |
2405 | 2405 | | |
2406 | 2406 | | |
| |||
2414 | 2414 | | |
2415 | 2415 | | |
2416 | 2416 | | |
2417 | | - | |
2418 | | - | |
2419 | | - | |
| 2417 | + | |
| 2418 | + | |
| 2419 | + | |
2420 | 2420 | | |
2421 | 2421 | | |
2422 | 2422 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3782 | 3782 | | |
3783 | 3783 | | |
3784 | 3784 | | |
3785 | | - | |
3786 | | - | |
3787 | | - | |
| 3785 | + | |
| 3786 | + | |
| 3787 | + | |
3788 | 3788 | | |
3789 | 3789 | | |
3790 | 3790 | | |
| |||
3819 | 3819 | | |
3820 | 3820 | | |
3821 | 3821 | | |
3822 | | - | |
3823 | | - | |
3824 | | - | |
| 3822 | + | |
| 3823 | + | |
| 3824 | + | |
3825 | 3825 | | |
3826 | 3826 | | |
3827 | 3827 | | |
| |||
3928 | 3928 | | |
3929 | 3929 | | |
3930 | 3930 | | |
| 3931 | + | |
| 3932 | + | |
| 3933 | + | |
| 3934 | + | |
| 3935 | + | |
| 3936 | + | |
| 3937 | + | |
| 3938 | + | |
| 3939 | + | |
| 3940 | + | |
| 3941 | + | |
| 3942 | + | |
| 3943 | + | |
| 3944 | + | |
| 3945 | + | |
| 3946 | + | |
| 3947 | + | |
| 3948 | + | |
| 3949 | + | |
| 3950 | + | |
| 3951 | + | |
| 3952 | + | |
| 3953 | + | |
| 3954 | + | |
| 3955 | + | |
| 3956 | + | |
| 3957 | + | |
| 3958 | + | |
| 3959 | + | |
| 3960 | + | |
| 3961 | + | |
| 3962 | + | |
| 3963 | + | |
| 3964 | + | |
| 3965 | + | |
| 3966 | + | |
| 3967 | + | |
| 3968 | + | |
| 3969 | + | |
| 3970 | + | |
| 3971 | + | |
3931 | 3972 | | |
3932 | 3973 | | |
3933 | 3974 | | |
| |||
0 commit comments