Commit 7c86590
[Float] Don't preload images inside
`<noscript>` scopes should be considered inert from the perspective of
Fizz since we assume they'll only be used in rare and adverse
circumstances. When we added preload support for img tags we did not
include the noscript scope check in the opt-out for preloading. This
change adds it in
fixes: #27910<noscript> (#28815)1 parent 4151551 commit 7c86590
2 files changed
Lines changed: 35 additions & 3 deletions
File tree
- packages
- react-dom-bindings/src/server
- react-dom/src/__tests__
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2762 | 2762 | | |
2763 | 2763 | | |
2764 | 2764 | | |
2765 | | - | |
| 2765 | + | |
2766 | 2766 | | |
2767 | 2767 | | |
2768 | 2768 | | |
| |||
2771 | 2771 | | |
2772 | 2772 | | |
2773 | 2773 | | |
2774 | | - | |
| 2774 | + | |
2775 | 2775 | | |
2776 | 2776 | | |
2777 | 2777 | | |
| |||
3599 | 3599 | | |
3600 | 3600 | | |
3601 | 3601 | | |
3602 | | - | |
| 3602 | + | |
3603 | 3603 | | |
3604 | 3604 | | |
3605 | 3605 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4261 | 4261 | | |
4262 | 4262 | | |
4263 | 4263 | | |
| 4264 | + | |
| 4265 | + | |
| 4266 | + | |
| 4267 | + | |
| 4268 | + | |
| 4269 | + | |
| 4270 | + | |
| 4271 | + | |
| 4272 | + | |
| 4273 | + | |
| 4274 | + | |
| 4275 | + | |
| 4276 | + | |
| 4277 | + | |
| 4278 | + | |
| 4279 | + | |
| 4280 | + | |
| 4281 | + | |
| 4282 | + | |
| 4283 | + | |
| 4284 | + | |
| 4285 | + | |
| 4286 | + | |
| 4287 | + | |
| 4288 | + | |
| 4289 | + | |
| 4290 | + | |
| 4291 | + | |
| 4292 | + | |
| 4293 | + | |
| 4294 | + | |
| 4295 | + | |
4264 | 4296 | | |
4265 | 4297 | | |
4266 | 4298 | | |
| |||
0 commit comments