[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 preload

DiffTrain build for commit https://github.com/facebook/react/commit/4e3618ae41669c95a3377ae615c727f74f89d141.
This commit is contained in:
gnoff
2023-08-11 18:32:12 +00:00
parent 63048d578e
commit 5f2c352d9b
7 changed files with 9 additions and 9 deletions
@@ -23961,7 +23961,7 @@ function createFiberRoot(
return root;
}
var ReactVersion = "18.3.0-canary-533fc28c1-20230810";
var ReactVersion = "18.3.0-canary-4e3618ae4-20230811";
// Might add PROFILE later.
@@ -8615,7 +8615,7 @@ var devToolsConfig$jscomp$inline_1029 = {
throw Error("TestRenderer does not support findFiberByHostInstance()");
},
bundleType: 0,
version: "18.3.0-canary-533fc28c1-20230810",
version: "18.3.0-canary-4e3618ae4-20230811",
rendererPackageName: "react-test-renderer"
};
var internals$jscomp$inline_1228 = {
@@ -8646,7 +8646,7 @@ var internals$jscomp$inline_1228 = {
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "18.3.0-canary-533fc28c1-20230810"
reconcilerVersion: "18.3.0-canary-4e3618ae4-20230811"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1229 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -9041,7 +9041,7 @@ var devToolsConfig$jscomp$inline_1071 = {
throw Error("TestRenderer does not support findFiberByHostInstance()");
},
bundleType: 0,
version: "18.3.0-canary-533fc28c1-20230810",
version: "18.3.0-canary-4e3618ae4-20230811",
rendererPackageName: "react-test-renderer"
};
var internals$jscomp$inline_1269 = {
@@ -9072,7 +9072,7 @@ var internals$jscomp$inline_1269 = {
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "18.3.0-canary-533fc28c1-20230810"
reconcilerVersion: "18.3.0-canary-4e3618ae4-20230811"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1270 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -27,7 +27,7 @@ if (
}
"use strict";
var ReactVersion = "18.3.0-canary-533fc28c1-20230810";
var ReactVersion = "18.3.0-canary-4e3618ae4-20230811";
// ATTENTION
// When adding new symbols to this file,
@@ -616,4 +616,4 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactCurrentDispatcher.current.useTransition();
};
exports.version = "18.3.0-canary-533fc28c1-20230810";
exports.version = "18.3.0-canary-4e3618ae4-20230811";
@@ -619,7 +619,7 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactCurrentDispatcher.current.useTransition();
};
exports.version = "18.3.0-canary-533fc28c1-20230810";
exports.version = "18.3.0-canary-4e3618ae4-20230811";
/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
if (
@@ -1 +1 @@
533fc28c1b8ea2c6ed459e914849665f497755ff
4e3618ae41669c95a3377ae615c727f74f89d141