diff --git a/packages/react-dom-bindings/src/client/ReactDOMFloatClient.js b/packages/react-dom-bindings/src/client/ReactDOMFloatClient.js
index 89e7f6bc0ac29..7598f9b64225b 100644
--- a/packages/react-dom-bindings/src/client/ReactDOMFloatClient.js
+++ b/packages/react-dom-bindings/src/client/ReactDOMFloatClient.js
@@ -661,21 +661,34 @@ function styleTagPropsFromRawProps(
}
function getStyleKey(href: string) {
- const limitedEscapedHref =
- escapeSelectorAttributeValueInsideDoubleQuotes(href);
- return `href~="${limitedEscapedHref}"`;
+ return href;
}
function getStyleTagSelectorFromKey(key: string) {
- return `style[data-${key}]`;
+ // Key is actually the href
+ // @TODO refactor. It was convient before when the key being the selector was sufficient
+ // but with the complexities introduced with
+
+
+
+
+