Comparing version 23.0.1 to 23.1.0
@@ -29,3 +29,3 @@ "use strict"; | ||
return Array.from(obj).map(webIDLConversions.DOMString); | ||
return Array.from(obj, webIDLConversions.DOMString); | ||
} | ||
@@ -130,2 +130,3 @@ | ||
let disableInternals = false; | ||
let disableShadow = false; | ||
@@ -172,2 +173,3 @@ let observedAttributes = []; | ||
disableInternals = disabledFeatures.includes("internals"); | ||
disableShadow = disabledFeatures.includes("shadow"); | ||
@@ -192,2 +194,3 @@ } catch (err) { | ||
disableShadow, | ||
disableInternals, | ||
constructionStack: [] | ||
@@ -194,0 +197,0 @@ }; |
@@ -111,3 +111,3 @@ "use strict"; | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "target"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("target"); | ||
return value === null ? "" : value; | ||
@@ -135,3 +135,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "target", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("target", V); | ||
} finally { | ||
@@ -153,3 +153,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "download"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("download"); | ||
return value === null ? "" : value; | ||
@@ -177,3 +177,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "download", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("download", V); | ||
} finally { | ||
@@ -195,3 +195,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "rel"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("rel"); | ||
return value === null ? "" : value; | ||
@@ -219,3 +219,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "rel", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("rel", V); | ||
} finally { | ||
@@ -267,3 +267,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "hreflang"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("hreflang"); | ||
return value === null ? "" : value; | ||
@@ -291,3 +291,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "hreflang", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("hreflang", V); | ||
} finally { | ||
@@ -309,3 +309,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "type"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("type"); | ||
return value === null ? "" : value; | ||
@@ -333,3 +333,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "type", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("type", V); | ||
} finally { | ||
@@ -390,3 +390,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "coords"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("coords"); | ||
return value === null ? "" : value; | ||
@@ -414,3 +414,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "coords", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("coords", V); | ||
} finally { | ||
@@ -432,3 +432,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "charset"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("charset"); | ||
return value === null ? "" : value; | ||
@@ -456,3 +456,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "charset", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("charset", V); | ||
} finally { | ||
@@ -474,3 +474,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "name"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("name"); | ||
return value === null ? "" : value; | ||
@@ -498,3 +498,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "name", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("name", V); | ||
} finally { | ||
@@ -516,3 +516,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "rev"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("rev"); | ||
return value === null ? "" : value; | ||
@@ -540,3 +540,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "rev", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("rev", V); | ||
} finally { | ||
@@ -558,3 +558,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "shape"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("shape"); | ||
return value === null ? "" : value; | ||
@@ -582,3 +582,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "shape", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("shape", V); | ||
} finally { | ||
@@ -585,0 +585,0 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); |
@@ -111,3 +111,3 @@ "use strict"; | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "alt"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("alt"); | ||
return value === null ? "" : value; | ||
@@ -135,3 +135,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "alt", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("alt", V); | ||
} finally { | ||
@@ -153,3 +153,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "coords"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("coords"); | ||
return value === null ? "" : value; | ||
@@ -177,3 +177,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "coords", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("coords", V); | ||
} finally { | ||
@@ -195,3 +195,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "shape"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("shape"); | ||
return value === null ? "" : value; | ||
@@ -219,3 +219,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "shape", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("shape", V); | ||
} finally { | ||
@@ -237,3 +237,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "target"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("target"); | ||
return value === null ? "" : value; | ||
@@ -261,3 +261,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "target", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("target", V); | ||
} finally { | ||
@@ -279,3 +279,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "rel"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("rel"); | ||
return value === null ? "" : value; | ||
@@ -303,3 +303,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "rel", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("rel", V); | ||
} finally { | ||
@@ -351,3 +351,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
return esValue[implSymbol].hasAttributeNS(null, "nohref"); | ||
return esValue[implSymbol]._reflectGetTheContentAttribute("nohref") !== null; | ||
} finally { | ||
@@ -375,5 +375,5 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
if (V) { | ||
esValue[implSymbol].setAttributeNS(null, "nohref", ""); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("nohref", ""); | ||
} else { | ||
esValue[implSymbol].removeAttributeNS(null, "nohref"); | ||
esValue[implSymbol]._reflectDeleteTheContentAttribute("nohref"); | ||
} | ||
@@ -380,0 +380,0 @@ } finally { |
@@ -150,3 +150,3 @@ "use strict"; | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "target"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("target"); | ||
return value === null ? "" : value; | ||
@@ -174,3 +174,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "target", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("target", V); | ||
} finally { | ||
@@ -177,0 +177,0 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); |
@@ -113,3 +113,3 @@ "use strict"; | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "text"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("text"); | ||
return value === null ? "" : value; | ||
@@ -138,3 +138,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "text", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("text", V); | ||
} finally { | ||
@@ -156,3 +156,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "link"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("link"); | ||
return value === null ? "" : value; | ||
@@ -181,3 +181,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "link", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("link", V); | ||
} finally { | ||
@@ -199,3 +199,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "vlink"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("vlink"); | ||
return value === null ? "" : value; | ||
@@ -224,3 +224,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "vlink", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("vlink", V); | ||
} finally { | ||
@@ -242,3 +242,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "alink"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("alink"); | ||
return value === null ? "" : value; | ||
@@ -267,3 +267,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "alink", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("alink", V); | ||
} finally { | ||
@@ -285,3 +285,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "bgcolor"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("bgcolor"); | ||
return value === null ? "" : value; | ||
@@ -310,3 +310,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "bgcolor", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("bgcolor", V); | ||
} finally { | ||
@@ -328,3 +328,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "background"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("background"); | ||
return value === null ? "" : value; | ||
@@ -352,3 +352,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "background", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("background", V); | ||
} finally { | ||
@@ -355,0 +355,0 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); |
@@ -111,3 +111,3 @@ "use strict"; | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "clear"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("clear"); | ||
return value === null ? "" : value; | ||
@@ -135,3 +135,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "clear", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("clear", V); | ||
} finally { | ||
@@ -138,0 +138,0 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); |
@@ -158,3 +158,3 @@ "use strict"; | ||
try { | ||
return esValue[implSymbol].hasAttributeNS(null, "autofocus"); | ||
return esValue[implSymbol]._reflectGetTheContentAttribute("autofocus") !== null; | ||
} finally { | ||
@@ -182,5 +182,5 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
if (V) { | ||
esValue[implSymbol].setAttributeNS(null, "autofocus", ""); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("autofocus", ""); | ||
} else { | ||
esValue[implSymbol].removeAttributeNS(null, "autofocus"); | ||
esValue[implSymbol]._reflectDeleteTheContentAttribute("autofocus"); | ||
} | ||
@@ -203,3 +203,3 @@ } finally { | ||
try { | ||
return esValue[implSymbol].hasAttributeNS(null, "disabled"); | ||
return esValue[implSymbol]._reflectGetTheContentAttribute("disabled") !== null; | ||
} finally { | ||
@@ -227,5 +227,5 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
if (V) { | ||
esValue[implSymbol].setAttributeNS(null, "disabled", ""); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("disabled", ""); | ||
} else { | ||
esValue[implSymbol].removeAttributeNS(null, "disabled"); | ||
esValue[implSymbol]._reflectDeleteTheContentAttribute("disabled"); | ||
} | ||
@@ -260,3 +260,3 @@ } finally { | ||
try { | ||
return esValue[implSymbol].hasAttributeNS(null, "formnovalidate"); | ||
return esValue[implSymbol]._reflectGetTheContentAttribute("formnovalidate") !== null; | ||
} finally { | ||
@@ -284,5 +284,5 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
if (V) { | ||
esValue[implSymbol].setAttributeNS(null, "formnovalidate", ""); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("formnovalidate", ""); | ||
} else { | ||
esValue[implSymbol].removeAttributeNS(null, "formnovalidate"); | ||
esValue[implSymbol]._reflectDeleteTheContentAttribute("formnovalidate"); | ||
} | ||
@@ -305,3 +305,3 @@ } finally { | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "formtarget"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("formtarget"); | ||
return value === null ? "" : value; | ||
@@ -329,3 +329,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "formtarget", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("formtarget", V); | ||
} finally { | ||
@@ -347,3 +347,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "name"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("name"); | ||
return value === null ? "" : value; | ||
@@ -371,3 +371,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "name", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("name", V); | ||
} finally { | ||
@@ -428,3 +428,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "value"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("value"); | ||
return value === null ? "" : value; | ||
@@ -452,3 +452,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "value", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("value", V); | ||
} finally { | ||
@@ -455,0 +455,0 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); |
@@ -111,3 +111,3 @@ "use strict"; | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "value"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("value"); | ||
return value === null ? "" : value; | ||
@@ -135,3 +135,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "value", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("value", V); | ||
} finally { | ||
@@ -138,0 +138,0 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); |
@@ -111,3 +111,3 @@ "use strict"; | ||
try { | ||
return esValue[implSymbol].hasAttributeNS(null, "open"); | ||
return esValue[implSymbol]._reflectGetTheContentAttribute("open") !== null; | ||
} finally { | ||
@@ -135,5 +135,5 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
if (V) { | ||
esValue[implSymbol].setAttributeNS(null, "open", ""); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("open", ""); | ||
} else { | ||
esValue[implSymbol].removeAttributeNS(null, "open"); | ||
esValue[implSymbol]._reflectDeleteTheContentAttribute("open"); | ||
} | ||
@@ -140,0 +140,0 @@ } finally { |
@@ -111,3 +111,3 @@ "use strict"; | ||
try { | ||
return esValue[implSymbol].hasAttributeNS(null, "open"); | ||
return esValue[implSymbol]._reflectGetTheContentAttribute("open") !== null; | ||
} finally { | ||
@@ -135,5 +135,5 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
if (V) { | ||
esValue[implSymbol].setAttributeNS(null, "open", ""); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("open", ""); | ||
} else { | ||
esValue[implSymbol].removeAttributeNS(null, "open"); | ||
esValue[implSymbol]._reflectDeleteTheContentAttribute("open"); | ||
} | ||
@@ -140,0 +140,0 @@ } finally { |
@@ -111,3 +111,3 @@ "use strict"; | ||
try { | ||
return esValue[implSymbol].hasAttributeNS(null, "compact"); | ||
return esValue[implSymbol]._reflectGetTheContentAttribute("compact") !== null; | ||
} finally { | ||
@@ -135,5 +135,5 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
if (V) { | ||
esValue[implSymbol].setAttributeNS(null, "compact", ""); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("compact", ""); | ||
} else { | ||
esValue[implSymbol].removeAttributeNS(null, "compact"); | ||
esValue[implSymbol]._reflectDeleteTheContentAttribute("compact"); | ||
} | ||
@@ -140,0 +140,0 @@ } finally { |
@@ -111,3 +111,3 @@ "use strict"; | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "align"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("align"); | ||
return value === null ? "" : value; | ||
@@ -135,3 +135,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "align", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("align", V); | ||
} finally { | ||
@@ -138,0 +138,0 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); |
@@ -111,3 +111,3 @@ "use strict"; | ||
try { | ||
return esValue[implSymbol].hasAttributeNS(null, "compact"); | ||
return esValue[implSymbol]._reflectGetTheContentAttribute("compact") !== null; | ||
} finally { | ||
@@ -135,5 +135,5 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
if (V) { | ||
esValue[implSymbol].setAttributeNS(null, "compact", ""); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("compact", ""); | ||
} else { | ||
esValue[implSymbol].removeAttributeNS(null, "compact"); | ||
esValue[implSymbol]._reflectDeleteTheContentAttribute("compact"); | ||
} | ||
@@ -140,0 +140,0 @@ } finally { |
@@ -114,3 +114,3 @@ "use strict"; | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "src"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("src"); | ||
if (value === null) { | ||
@@ -148,3 +148,3 @@ return ""; | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "src", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("src", V); | ||
} finally { | ||
@@ -166,3 +166,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "type"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("type"); | ||
return value === null ? "" : value; | ||
@@ -190,3 +190,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "type", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("type", V); | ||
} finally { | ||
@@ -208,3 +208,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "width"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("width"); | ||
return value === null ? "" : value; | ||
@@ -232,3 +232,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "width", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("width", V); | ||
} finally { | ||
@@ -250,3 +250,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "height"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("height"); | ||
return value === null ? "" : value; | ||
@@ -274,3 +274,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "height", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("height", V); | ||
} finally { | ||
@@ -292,3 +292,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "align"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("align"); | ||
return value === null ? "" : value; | ||
@@ -316,3 +316,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "align", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("align", V); | ||
} finally { | ||
@@ -334,3 +334,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "name"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("name"); | ||
return value === null ? "" : value; | ||
@@ -358,3 +358,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "name", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("name", V); | ||
} finally { | ||
@@ -361,0 +361,0 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); |
@@ -158,3 +158,3 @@ "use strict"; | ||
try { | ||
return esValue[implSymbol].hasAttributeNS(null, "disabled"); | ||
return esValue[implSymbol]._reflectGetTheContentAttribute("disabled") !== null; | ||
} finally { | ||
@@ -182,5 +182,5 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
if (V) { | ||
esValue[implSymbol].setAttributeNS(null, "disabled", ""); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("disabled", ""); | ||
} else { | ||
esValue[implSymbol].removeAttributeNS(null, "disabled"); | ||
esValue[implSymbol]._reflectDeleteTheContentAttribute("disabled"); | ||
} | ||
@@ -215,3 +215,3 @@ } finally { | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "name"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("name"); | ||
return value === null ? "" : value; | ||
@@ -239,3 +239,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "name", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("name", V); | ||
} finally { | ||
@@ -242,0 +242,0 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); |
@@ -111,3 +111,3 @@ "use strict"; | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "color"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("color"); | ||
return value === null ? "" : value; | ||
@@ -136,3 +136,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "color", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("color", V); | ||
} finally { | ||
@@ -154,3 +154,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "face"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("face"); | ||
return value === null ? "" : value; | ||
@@ -178,3 +178,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "face", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("face", V); | ||
} finally { | ||
@@ -196,3 +196,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "size"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("size"); | ||
return value === null ? "" : value; | ||
@@ -220,3 +220,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "size", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("size", V); | ||
} finally { | ||
@@ -223,0 +223,0 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); |
@@ -180,3 +180,3 @@ "use strict"; | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "accept-charset"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("accept-charset"); | ||
return value === null ? "" : value; | ||
@@ -204,3 +204,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "accept-charset", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("accept-charset", V); | ||
} finally { | ||
@@ -339,3 +339,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "name"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("name"); | ||
return value === null ? "" : value; | ||
@@ -363,3 +363,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "name", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("name", V); | ||
} finally { | ||
@@ -381,3 +381,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
return esValue[implSymbol].hasAttributeNS(null, "novalidate"); | ||
return esValue[implSymbol]._reflectGetTheContentAttribute("novalidate") !== null; | ||
} finally { | ||
@@ -405,5 +405,5 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
if (V) { | ||
esValue[implSymbol].setAttributeNS(null, "novalidate", ""); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("novalidate", ""); | ||
} else { | ||
esValue[implSymbol].removeAttributeNS(null, "novalidate"); | ||
esValue[implSymbol]._reflectDeleteTheContentAttribute("novalidate"); | ||
} | ||
@@ -426,3 +426,3 @@ } finally { | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "target"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("target"); | ||
return value === null ? "" : value; | ||
@@ -450,3 +450,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "target", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("target", V); | ||
} finally { | ||
@@ -453,0 +453,0 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); |
@@ -114,3 +114,3 @@ "use strict"; | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "name"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("name"); | ||
return value === null ? "" : value; | ||
@@ -138,3 +138,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "name", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("name", V); | ||
} finally { | ||
@@ -156,3 +156,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "scrolling"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("scrolling"); | ||
return value === null ? "" : value; | ||
@@ -180,3 +180,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "scrolling", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("scrolling", V); | ||
} finally { | ||
@@ -198,3 +198,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "src"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("src"); | ||
if (value === null) { | ||
@@ -232,3 +232,3 @@ return ""; | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "src", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("src", V); | ||
} finally { | ||
@@ -250,3 +250,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "frameborder"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("frameborder"); | ||
return value === null ? "" : value; | ||
@@ -274,3 +274,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "frameborder", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("frameborder", V); | ||
} finally { | ||
@@ -292,3 +292,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "longdesc"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("longdesc"); | ||
if (value === null) { | ||
@@ -326,3 +326,3 @@ return ""; | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "longdesc", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("longdesc", V); | ||
} finally { | ||
@@ -344,3 +344,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
return esValue[implSymbol].hasAttributeNS(null, "noresize"); | ||
return esValue[implSymbol]._reflectGetTheContentAttribute("noresize") !== null; | ||
} finally { | ||
@@ -368,5 +368,5 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
if (V) { | ||
esValue[implSymbol].setAttributeNS(null, "noresize", ""); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("noresize", ""); | ||
} else { | ||
esValue[implSymbol].removeAttributeNS(null, "noresize"); | ||
esValue[implSymbol]._reflectDeleteTheContentAttribute("noresize"); | ||
} | ||
@@ -413,3 +413,3 @@ } finally { | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "marginheight"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("marginheight"); | ||
return value === null ? "" : value; | ||
@@ -438,3 +438,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "marginheight", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("marginheight", V); | ||
} finally { | ||
@@ -456,3 +456,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "marginwidth"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("marginwidth"); | ||
return value === null ? "" : value; | ||
@@ -481,3 +481,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "marginwidth", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("marginwidth", V); | ||
} finally { | ||
@@ -484,0 +484,0 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); |
@@ -113,3 +113,3 @@ "use strict"; | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "cols"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("cols"); | ||
return value === null ? "" : value; | ||
@@ -137,3 +137,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "cols", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("cols", V); | ||
} finally { | ||
@@ -155,3 +155,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "rows"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("rows"); | ||
return value === null ? "" : value; | ||
@@ -179,3 +179,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "rows", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("rows", V); | ||
} finally { | ||
@@ -182,0 +182,0 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); |
@@ -111,3 +111,3 @@ "use strict"; | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "align"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("align"); | ||
return value === null ? "" : value; | ||
@@ -135,3 +135,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "align", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("align", V); | ||
} finally { | ||
@@ -138,0 +138,0 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); |
@@ -111,3 +111,3 @@ "use strict"; | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "align"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("align"); | ||
return value === null ? "" : value; | ||
@@ -135,3 +135,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "align", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("align", V); | ||
} finally { | ||
@@ -153,3 +153,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "color"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("color"); | ||
return value === null ? "" : value; | ||
@@ -177,3 +177,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "color", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("color", V); | ||
} finally { | ||
@@ -195,3 +195,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
return esValue[implSymbol].hasAttributeNS(null, "noshade"); | ||
return esValue[implSymbol]._reflectGetTheContentAttribute("noshade") !== null; | ||
} finally { | ||
@@ -219,5 +219,5 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
if (V) { | ||
esValue[implSymbol].setAttributeNS(null, "noshade", ""); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("noshade", ""); | ||
} else { | ||
esValue[implSymbol].removeAttributeNS(null, "noshade"); | ||
esValue[implSymbol]._reflectDeleteTheContentAttribute("noshade"); | ||
} | ||
@@ -240,3 +240,3 @@ } finally { | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "size"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("size"); | ||
return value === null ? "" : value; | ||
@@ -264,3 +264,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "size", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("size", V); | ||
} finally { | ||
@@ -282,3 +282,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "width"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("width"); | ||
return value === null ? "" : value; | ||
@@ -306,3 +306,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "width", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("width", V); | ||
} finally { | ||
@@ -309,0 +309,0 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); |
@@ -111,3 +111,3 @@ "use strict"; | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "version"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("version"); | ||
return value === null ? "" : value; | ||
@@ -135,3 +135,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "version", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("version", V); | ||
} finally { | ||
@@ -138,0 +138,0 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); |
@@ -125,3 +125,3 @@ "use strict"; | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "src"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("src"); | ||
if (value === null) { | ||
@@ -159,3 +159,3 @@ return ""; | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "src", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("src", V); | ||
} finally { | ||
@@ -177,3 +177,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "srcdoc"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("srcdoc"); | ||
return value === null ? "" : value; | ||
@@ -201,3 +201,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "srcdoc", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("srcdoc", V); | ||
} finally { | ||
@@ -219,3 +219,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "name"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("name"); | ||
return value === null ? "" : value; | ||
@@ -243,3 +243,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "name", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("name", V); | ||
} finally { | ||
@@ -261,3 +261,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
return esValue[implSymbol].hasAttributeNS(null, "allowfullscreen"); | ||
return esValue[implSymbol]._reflectGetTheContentAttribute("allowfullscreen") !== null; | ||
} finally { | ||
@@ -285,5 +285,5 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
if (V) { | ||
esValue[implSymbol].setAttributeNS(null, "allowfullscreen", ""); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("allowfullscreen", ""); | ||
} else { | ||
esValue[implSymbol].removeAttributeNS(null, "allowfullscreen"); | ||
esValue[implSymbol]._reflectDeleteTheContentAttribute("allowfullscreen"); | ||
} | ||
@@ -306,3 +306,3 @@ } finally { | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "width"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("width"); | ||
return value === null ? "" : value; | ||
@@ -330,3 +330,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "width", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("width", V); | ||
} finally { | ||
@@ -348,3 +348,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "height"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("height"); | ||
return value === null ? "" : value; | ||
@@ -372,3 +372,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "height", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("height", V); | ||
} finally { | ||
@@ -414,3 +414,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "align"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("align"); | ||
return value === null ? "" : value; | ||
@@ -438,3 +438,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "align", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("align", V); | ||
} finally { | ||
@@ -456,3 +456,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "scrolling"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("scrolling"); | ||
return value === null ? "" : value; | ||
@@ -480,3 +480,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "scrolling", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("scrolling", V); | ||
} finally { | ||
@@ -498,3 +498,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "frameborder"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("frameborder"); | ||
return value === null ? "" : value; | ||
@@ -522,3 +522,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "frameborder", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("frameborder", V); | ||
} finally { | ||
@@ -540,3 +540,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "longdesc"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("longdesc"); | ||
if (value === null) { | ||
@@ -574,3 +574,3 @@ return ""; | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "longdesc", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("longdesc", V); | ||
} finally { | ||
@@ -592,3 +592,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "marginheight"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("marginheight"); | ||
return value === null ? "" : value; | ||
@@ -617,3 +617,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "marginheight", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("marginheight", V); | ||
} finally { | ||
@@ -635,3 +635,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "marginwidth"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("marginwidth"); | ||
return value === null ? "" : value; | ||
@@ -660,3 +660,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "marginwidth", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("marginwidth", V); | ||
} finally { | ||
@@ -663,0 +663,0 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); |
@@ -115,3 +115,3 @@ "use strict"; | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "alt"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("alt"); | ||
return value === null ? "" : value; | ||
@@ -139,3 +139,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "alt", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("alt", V); | ||
} finally { | ||
@@ -157,3 +157,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "src"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("src"); | ||
if (value === null) { | ||
@@ -191,3 +191,3 @@ return ""; | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "src", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("src", V); | ||
} finally { | ||
@@ -209,3 +209,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "srcset"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("srcset"); | ||
return value === null ? "" : conversions.USVString(value); | ||
@@ -233,3 +233,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "srcset", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("srcset", V); | ||
} finally { | ||
@@ -251,3 +251,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "sizes"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("sizes"); | ||
return value === null ? "" : value; | ||
@@ -275,3 +275,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "sizes", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("sizes", V); | ||
} finally { | ||
@@ -293,4 +293,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "crossorigin"); | ||
return value === null ? "" : value; | ||
return esValue[implSymbol]._reflectGetTheContentAttribute("crossorigin"); | ||
} finally { | ||
@@ -321,3 +320,7 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "crossorigin", V); | ||
if (V === null) { | ||
esValue[implSymbol]._reflectDeleteTheContentAttribute("crossorigin"); | ||
} else { | ||
esValue[implSymbol]._reflectSetTheContentAttribute("crossorigin", V); | ||
} | ||
} finally { | ||
@@ -339,3 +342,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "usemap"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("usemap"); | ||
return value === null ? "" : value; | ||
@@ -363,3 +366,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "usemap", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("usemap", V); | ||
} finally { | ||
@@ -381,3 +384,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
return esValue[implSymbol].hasAttributeNS(null, "ismap"); | ||
return esValue[implSymbol]._reflectGetTheContentAttribute("ismap") !== null; | ||
} finally { | ||
@@ -405,5 +408,5 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
if (V) { | ||
esValue[implSymbol].setAttributeNS(null, "ismap", ""); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("ismap", ""); | ||
} else { | ||
esValue[implSymbol].removeAttributeNS(null, "ismap"); | ||
esValue[implSymbol]._reflectDeleteTheContentAttribute("ismap"); | ||
} | ||
@@ -552,3 +555,3 @@ } finally { | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "name"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("name"); | ||
return value === null ? "" : value; | ||
@@ -576,3 +579,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "name", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("name", V); | ||
} finally { | ||
@@ -594,3 +597,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "lowsrc"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("lowsrc"); | ||
if (value === null) { | ||
@@ -628,3 +631,3 @@ return ""; | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "lowsrc", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("lowsrc", V); | ||
} finally { | ||
@@ -646,3 +649,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "align"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("align"); | ||
return value === null ? "" : value; | ||
@@ -670,3 +673,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "align", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("align", V); | ||
} finally { | ||
@@ -688,3 +691,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
let value = esValue[implSymbol].getAttributeNS(null, "hspace"); | ||
let value = esValue[implSymbol]._reflectGetTheContentAttribute("hspace"); | ||
if (value === null) { | ||
@@ -717,3 +720,3 @@ return 0; | ||
const n = V <= 2147483647 ? V : 0; | ||
esValue[implSymbol].setAttributeNS(null, "hspace", String(n)); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("hspace", String(n)); | ||
} finally { | ||
@@ -735,3 +738,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
let value = esValue[implSymbol].getAttributeNS(null, "vspace"); | ||
let value = esValue[implSymbol]._reflectGetTheContentAttribute("vspace"); | ||
if (value === null) { | ||
@@ -764,3 +767,3 @@ return 0; | ||
const n = V <= 2147483647 ? V : 0; | ||
esValue[implSymbol].setAttributeNS(null, "vspace", String(n)); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("vspace", String(n)); | ||
} finally { | ||
@@ -782,3 +785,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "longdesc"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("longdesc"); | ||
if (value === null) { | ||
@@ -816,3 +819,3 @@ return ""; | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "longdesc", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("longdesc", V); | ||
} finally { | ||
@@ -834,3 +837,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "border"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("border"); | ||
return value === null ? "" : value; | ||
@@ -859,3 +862,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "border", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("border", V); | ||
} finally { | ||
@@ -862,0 +865,0 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); |
@@ -359,3 +359,3 @@ "use strict"; | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "accept"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("accept"); | ||
return value === null ? "" : value; | ||
@@ -383,3 +383,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "accept", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("accept", V); | ||
} finally { | ||
@@ -401,3 +401,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "alt"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("alt"); | ||
return value === null ? "" : value; | ||
@@ -425,3 +425,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "alt", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("alt", V); | ||
} finally { | ||
@@ -443,3 +443,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "autocomplete"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("autocomplete"); | ||
return value === null ? "" : value; | ||
@@ -467,3 +467,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "autocomplete", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("autocomplete", V); | ||
} finally { | ||
@@ -485,3 +485,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
return esValue[implSymbol].hasAttributeNS(null, "autofocus"); | ||
return esValue[implSymbol]._reflectGetTheContentAttribute("autofocus") !== null; | ||
} finally { | ||
@@ -509,5 +509,5 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
if (V) { | ||
esValue[implSymbol].setAttributeNS(null, "autofocus", ""); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("autofocus", ""); | ||
} else { | ||
esValue[implSymbol].removeAttributeNS(null, "autofocus"); | ||
esValue[implSymbol]._reflectDeleteTheContentAttribute("autofocus"); | ||
} | ||
@@ -530,3 +530,3 @@ } finally { | ||
try { | ||
return esValue[implSymbol].hasAttributeNS(null, "checked"); | ||
return esValue[implSymbol]._reflectGetTheContentAttribute("checked") !== null; | ||
} finally { | ||
@@ -554,5 +554,5 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
if (V) { | ||
esValue[implSymbol].setAttributeNS(null, "checked", ""); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("checked", ""); | ||
} else { | ||
esValue[implSymbol].removeAttributeNS(null, "checked"); | ||
esValue[implSymbol]._reflectDeleteTheContentAttribute("checked"); | ||
} | ||
@@ -604,3 +604,3 @@ } finally { | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "dirname"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("dirname"); | ||
return value === null ? "" : value; | ||
@@ -628,3 +628,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "dirname", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("dirname", V); | ||
} finally { | ||
@@ -646,3 +646,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
return esValue[implSymbol].hasAttributeNS(null, "disabled"); | ||
return esValue[implSymbol]._reflectGetTheContentAttribute("disabled") !== null; | ||
} finally { | ||
@@ -670,5 +670,5 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
if (V) { | ||
esValue[implSymbol].setAttributeNS(null, "disabled", ""); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("disabled", ""); | ||
} else { | ||
esValue[implSymbol].removeAttributeNS(null, "disabled"); | ||
esValue[implSymbol]._reflectDeleteTheContentAttribute("disabled"); | ||
} | ||
@@ -734,3 +734,3 @@ } finally { | ||
try { | ||
return esValue[implSymbol].hasAttributeNS(null, "formnovalidate"); | ||
return esValue[implSymbol]._reflectGetTheContentAttribute("formnovalidate") !== null; | ||
} finally { | ||
@@ -758,5 +758,5 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
if (V) { | ||
esValue[implSymbol].setAttributeNS(null, "formnovalidate", ""); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("formnovalidate", ""); | ||
} else { | ||
esValue[implSymbol].removeAttributeNS(null, "formnovalidate"); | ||
esValue[implSymbol]._reflectDeleteTheContentAttribute("formnovalidate"); | ||
} | ||
@@ -779,3 +779,3 @@ } finally { | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "formtarget"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("formtarget"); | ||
return value === null ? "" : value; | ||
@@ -803,3 +803,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "formtarget", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("formtarget", V); | ||
} finally { | ||
@@ -850,3 +850,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "inputmode"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("inputmode"); | ||
return value === null ? "" : value; | ||
@@ -874,3 +874,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "inputmode", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("inputmode", V); | ||
} finally { | ||
@@ -904,3 +904,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "max"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("max"); | ||
return value === null ? "" : value; | ||
@@ -928,3 +928,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "max", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("max", V); | ||
} finally { | ||
@@ -985,3 +985,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "min"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("min"); | ||
return value === null ? "" : value; | ||
@@ -1009,3 +1009,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "min", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("min", V); | ||
} finally { | ||
@@ -1066,3 +1066,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
return esValue[implSymbol].hasAttributeNS(null, "multiple"); | ||
return esValue[implSymbol]._reflectGetTheContentAttribute("multiple") !== null; | ||
} finally { | ||
@@ -1090,5 +1090,5 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
if (V) { | ||
esValue[implSymbol].setAttributeNS(null, "multiple", ""); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("multiple", ""); | ||
} else { | ||
esValue[implSymbol].removeAttributeNS(null, "multiple"); | ||
esValue[implSymbol]._reflectDeleteTheContentAttribute("multiple"); | ||
} | ||
@@ -1111,3 +1111,3 @@ } finally { | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "name"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("name"); | ||
return value === null ? "" : value; | ||
@@ -1135,3 +1135,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "name", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("name", V); | ||
} finally { | ||
@@ -1153,3 +1153,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "pattern"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("pattern"); | ||
return value === null ? "" : value; | ||
@@ -1177,3 +1177,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "pattern", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("pattern", V); | ||
} finally { | ||
@@ -1195,3 +1195,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "placeholder"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("placeholder"); | ||
return value === null ? "" : value; | ||
@@ -1219,3 +1219,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "placeholder", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("placeholder", V); | ||
} finally { | ||
@@ -1237,3 +1237,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
return esValue[implSymbol].hasAttributeNS(null, "readonly"); | ||
return esValue[implSymbol]._reflectGetTheContentAttribute("readonly") !== null; | ||
} finally { | ||
@@ -1261,5 +1261,5 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
if (V) { | ||
esValue[implSymbol].setAttributeNS(null, "readonly", ""); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("readonly", ""); | ||
} else { | ||
esValue[implSymbol].removeAttributeNS(null, "readonly"); | ||
esValue[implSymbol]._reflectDeleteTheContentAttribute("readonly"); | ||
} | ||
@@ -1282,3 +1282,3 @@ } finally { | ||
try { | ||
return esValue[implSymbol].hasAttributeNS(null, "required"); | ||
return esValue[implSymbol]._reflectGetTheContentAttribute("required") !== null; | ||
} finally { | ||
@@ -1306,5 +1306,5 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
if (V) { | ||
esValue[implSymbol].setAttributeNS(null, "required", ""); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("required", ""); | ||
} else { | ||
esValue[implSymbol].removeAttributeNS(null, "required"); | ||
esValue[implSymbol]._reflectDeleteTheContentAttribute("required"); | ||
} | ||
@@ -1366,3 +1366,3 @@ } finally { | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "src"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("src"); | ||
if (value === null) { | ||
@@ -1400,3 +1400,3 @@ return ""; | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "src", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("src", V); | ||
} finally { | ||
@@ -1418,3 +1418,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "step"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("step"); | ||
return value === null ? "" : value; | ||
@@ -1442,3 +1442,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "step", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("step", V); | ||
} finally { | ||
@@ -1499,3 +1499,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "value"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("value"); | ||
return value === null ? "" : value; | ||
@@ -1523,3 +1523,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "value", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("value", V); | ||
} finally { | ||
@@ -1786,3 +1786,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "align"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("align"); | ||
return value === null ? "" : value; | ||
@@ -1810,3 +1810,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "align", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("align", V); | ||
} finally { | ||
@@ -1828,3 +1828,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "usemap"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("usemap"); | ||
return value === null ? "" : value; | ||
@@ -1852,3 +1852,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "usemap", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("usemap", V); | ||
} finally { | ||
@@ -1855,0 +1855,0 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); |
@@ -123,3 +123,3 @@ "use strict"; | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "for"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("for"); | ||
return value === null ? "" : value; | ||
@@ -147,3 +147,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "for", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("for", V); | ||
} finally { | ||
@@ -150,0 +150,0 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); |
@@ -123,3 +123,3 @@ "use strict"; | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "align"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("align"); | ||
return value === null ? "" : value; | ||
@@ -147,3 +147,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "align", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("align", V); | ||
} finally { | ||
@@ -150,0 +150,0 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); |
@@ -112,3 +112,3 @@ "use strict"; | ||
try { | ||
let value = esValue[implSymbol].getAttributeNS(null, "value"); | ||
let value = esValue[implSymbol]._reflectGetTheContentAttribute("value"); | ||
if (value === null) { | ||
@@ -140,3 +140,3 @@ return 0; | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "value", String(V)); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("value", String(V)); | ||
} finally { | ||
@@ -158,3 +158,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "type"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("type"); | ||
return value === null ? "" : value; | ||
@@ -182,3 +182,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "type", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("type", V); | ||
} finally { | ||
@@ -185,0 +185,0 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); |
@@ -114,3 +114,3 @@ "use strict"; | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "href"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("href"); | ||
if (value === null) { | ||
@@ -148,3 +148,3 @@ return ""; | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "href", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("href", V); | ||
} finally { | ||
@@ -166,4 +166,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "crossorigin"); | ||
return value === null ? "" : value; | ||
return esValue[implSymbol]._reflectGetTheContentAttribute("crossorigin"); | ||
} finally { | ||
@@ -194,3 +193,7 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "crossorigin", V); | ||
if (V === null) { | ||
esValue[implSymbol]._reflectDeleteTheContentAttribute("crossorigin"); | ||
} else { | ||
esValue[implSymbol]._reflectSetTheContentAttribute("crossorigin", V); | ||
} | ||
} finally { | ||
@@ -212,3 +215,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "rel"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("rel"); | ||
return value === null ? "" : value; | ||
@@ -236,3 +239,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "rel", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("rel", V); | ||
} finally { | ||
@@ -284,3 +287,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "media"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("media"); | ||
return value === null ? "" : value; | ||
@@ -308,3 +311,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "media", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("media", V); | ||
} finally { | ||
@@ -326,3 +329,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "hreflang"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("hreflang"); | ||
return value === null ? "" : value; | ||
@@ -350,3 +353,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "hreflang", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("hreflang", V); | ||
} finally { | ||
@@ -368,3 +371,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "type"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("type"); | ||
return value === null ? "" : value; | ||
@@ -392,3 +395,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "type", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("type", V); | ||
} finally { | ||
@@ -410,3 +413,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "charset"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("charset"); | ||
return value === null ? "" : value; | ||
@@ -434,3 +437,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "charset", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("charset", V); | ||
} finally { | ||
@@ -452,3 +455,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "rev"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("rev"); | ||
return value === null ? "" : value; | ||
@@ -476,3 +479,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "rev", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("rev", V); | ||
} finally { | ||
@@ -494,3 +497,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "target"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("target"); | ||
return value === null ? "" : value; | ||
@@ -518,3 +521,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "target", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("target", V); | ||
} finally { | ||
@@ -521,0 +524,0 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); |
@@ -111,3 +111,3 @@ "use strict"; | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "name"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("name"); | ||
return value === null ? "" : value; | ||
@@ -135,3 +135,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "name", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("name", V); | ||
} finally { | ||
@@ -138,0 +138,0 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); |
@@ -112,3 +112,3 @@ "use strict"; | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "behavior"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("behavior"); | ||
return value === null ? "" : value; | ||
@@ -136,3 +136,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "behavior", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("behavior", V); | ||
} finally { | ||
@@ -154,3 +154,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "bgcolor"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("bgcolor"); | ||
return value === null ? "" : value; | ||
@@ -178,3 +178,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "bgcolor", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("bgcolor", V); | ||
} finally { | ||
@@ -196,3 +196,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "direction"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("direction"); | ||
return value === null ? "" : value; | ||
@@ -220,3 +220,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "direction", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("direction", V); | ||
} finally { | ||
@@ -238,3 +238,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "height"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("height"); | ||
return value === null ? "" : value; | ||
@@ -262,3 +262,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "height", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("height", V); | ||
} finally { | ||
@@ -280,3 +280,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
let value = esValue[implSymbol].getAttributeNS(null, "hspace"); | ||
let value = esValue[implSymbol]._reflectGetTheContentAttribute("hspace"); | ||
if (value === null) { | ||
@@ -309,3 +309,3 @@ return 0; | ||
const n = V <= 2147483647 ? V : 0; | ||
esValue[implSymbol].setAttributeNS(null, "hspace", String(n)); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("hspace", String(n)); | ||
} finally { | ||
@@ -327,3 +327,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
let value = esValue[implSymbol].getAttributeNS(null, "scrollamount"); | ||
let value = esValue[implSymbol]._reflectGetTheContentAttribute("scrollamount"); | ||
if (value === null) { | ||
@@ -356,3 +356,3 @@ return 0; | ||
const n = V <= 2147483647 ? V : 0; | ||
esValue[implSymbol].setAttributeNS(null, "scrollamount", String(n)); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("scrollamount", String(n)); | ||
} finally { | ||
@@ -374,3 +374,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
let value = esValue[implSymbol].getAttributeNS(null, "scrolldelay"); | ||
let value = esValue[implSymbol]._reflectGetTheContentAttribute("scrolldelay"); | ||
if (value === null) { | ||
@@ -403,3 +403,3 @@ return 0; | ||
const n = V <= 2147483647 ? V : 0; | ||
esValue[implSymbol].setAttributeNS(null, "scrolldelay", String(n)); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("scrolldelay", String(n)); | ||
} finally { | ||
@@ -421,3 +421,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
return esValue[implSymbol].hasAttributeNS(null, "truespeed"); | ||
return esValue[implSymbol]._reflectGetTheContentAttribute("truespeed") !== null; | ||
} finally { | ||
@@ -445,5 +445,5 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
if (V) { | ||
esValue[implSymbol].setAttributeNS(null, "truespeed", ""); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("truespeed", ""); | ||
} else { | ||
esValue[implSymbol].removeAttributeNS(null, "truespeed"); | ||
esValue[implSymbol]._reflectDeleteTheContentAttribute("truespeed"); | ||
} | ||
@@ -466,3 +466,3 @@ } finally { | ||
try { | ||
let value = esValue[implSymbol].getAttributeNS(null, "vspace"); | ||
let value = esValue[implSymbol]._reflectGetTheContentAttribute("vspace"); | ||
if (value === null) { | ||
@@ -495,3 +495,3 @@ return 0; | ||
const n = V <= 2147483647 ? V : 0; | ||
esValue[implSymbol].setAttributeNS(null, "vspace", String(n)); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("vspace", String(n)); | ||
} finally { | ||
@@ -513,3 +513,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "width"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("width"); | ||
return value === null ? "" : value; | ||
@@ -537,3 +537,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "width", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("width", V); | ||
} finally { | ||
@@ -540,0 +540,0 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); |
@@ -224,3 +224,3 @@ "use strict"; | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "src"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("src"); | ||
if (value === null) { | ||
@@ -258,3 +258,3 @@ return ""; | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "src", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("src", V); | ||
} finally { | ||
@@ -288,4 +288,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "crossorigin"); | ||
return value === null ? "" : value; | ||
return esValue[implSymbol]._reflectGetTheContentAttribute("crossorigin"); | ||
} finally { | ||
@@ -316,3 +315,7 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "crossorigin", V); | ||
if (V === null) { | ||
esValue[implSymbol]._reflectDeleteTheContentAttribute("crossorigin"); | ||
} else { | ||
esValue[implSymbol]._reflectSetTheContentAttribute("crossorigin", V); | ||
} | ||
} finally { | ||
@@ -346,3 +349,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "preload"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("preload"); | ||
return value === null ? "" : value; | ||
@@ -370,3 +373,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "preload", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("preload", V); | ||
} finally { | ||
@@ -571,3 +574,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
return esValue[implSymbol].hasAttributeNS(null, "autoplay"); | ||
return esValue[implSymbol]._reflectGetTheContentAttribute("autoplay") !== null; | ||
} finally { | ||
@@ -595,5 +598,5 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
if (V) { | ||
esValue[implSymbol].setAttributeNS(null, "autoplay", ""); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("autoplay", ""); | ||
} else { | ||
esValue[implSymbol].removeAttributeNS(null, "autoplay"); | ||
esValue[implSymbol]._reflectDeleteTheContentAttribute("autoplay"); | ||
} | ||
@@ -616,3 +619,3 @@ } finally { | ||
try { | ||
return esValue[implSymbol].hasAttributeNS(null, "loop"); | ||
return esValue[implSymbol]._reflectGetTheContentAttribute("loop") !== null; | ||
} finally { | ||
@@ -640,5 +643,5 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
if (V) { | ||
esValue[implSymbol].setAttributeNS(null, "loop", ""); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("loop", ""); | ||
} else { | ||
esValue[implSymbol].removeAttributeNS(null, "loop"); | ||
esValue[implSymbol]._reflectDeleteTheContentAttribute("loop"); | ||
} | ||
@@ -661,3 +664,3 @@ } finally { | ||
try { | ||
return esValue[implSymbol].hasAttributeNS(null, "controls"); | ||
return esValue[implSymbol]._reflectGetTheContentAttribute("controls") !== null; | ||
} finally { | ||
@@ -685,5 +688,5 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
if (V) { | ||
esValue[implSymbol].setAttributeNS(null, "controls", ""); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("controls", ""); | ||
} else { | ||
esValue[implSymbol].removeAttributeNS(null, "controls"); | ||
esValue[implSymbol]._reflectDeleteTheContentAttribute("controls"); | ||
} | ||
@@ -764,3 +767,3 @@ } finally { | ||
try { | ||
return esValue[implSymbol].hasAttributeNS(null, "muted"); | ||
return esValue[implSymbol]._reflectGetTheContentAttribute("muted") !== null; | ||
} finally { | ||
@@ -788,5 +791,5 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
if (V) { | ||
esValue[implSymbol].setAttributeNS(null, "muted", ""); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("muted", ""); | ||
} else { | ||
esValue[implSymbol].removeAttributeNS(null, "muted"); | ||
esValue[implSymbol]._reflectDeleteTheContentAttribute("muted"); | ||
} | ||
@@ -793,0 +796,0 @@ } finally { |
@@ -111,3 +111,3 @@ "use strict"; | ||
try { | ||
return esValue[implSymbol].hasAttributeNS(null, "compact"); | ||
return esValue[implSymbol]._reflectGetTheContentAttribute("compact") !== null; | ||
} finally { | ||
@@ -135,5 +135,5 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
if (V) { | ||
esValue[implSymbol].setAttributeNS(null, "compact", ""); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("compact", ""); | ||
} else { | ||
esValue[implSymbol].removeAttributeNS(null, "compact"); | ||
esValue[implSymbol]._reflectDeleteTheContentAttribute("compact"); | ||
} | ||
@@ -140,0 +140,0 @@ } finally { |
@@ -111,3 +111,3 @@ "use strict"; | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "name"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("name"); | ||
return value === null ? "" : value; | ||
@@ -135,3 +135,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "name", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("name", V); | ||
} finally { | ||
@@ -153,3 +153,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "http-equiv"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("http-equiv"); | ||
return value === null ? "" : value; | ||
@@ -177,3 +177,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "http-equiv", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("http-equiv", V); | ||
} finally { | ||
@@ -195,3 +195,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "content"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("content"); | ||
return value === null ? "" : value; | ||
@@ -219,3 +219,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "content", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("content", V); | ||
} finally { | ||
@@ -237,3 +237,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "scheme"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("scheme"); | ||
return value === null ? "" : value; | ||
@@ -261,3 +261,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "scheme", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("scheme", V); | ||
} finally { | ||
@@ -264,0 +264,0 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); |
@@ -114,3 +114,3 @@ "use strict"; | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "cite"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("cite"); | ||
if (value === null) { | ||
@@ -148,3 +148,3 @@ return ""; | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "cite", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("cite", V); | ||
} finally { | ||
@@ -166,3 +166,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "datetime"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("datetime"); | ||
return value === null ? "" : value; | ||
@@ -190,3 +190,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "datetime", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("datetime", V); | ||
} finally { | ||
@@ -193,0 +193,0 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); |
@@ -162,3 +162,3 @@ "use strict"; | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "data"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("data"); | ||
if (value === null) { | ||
@@ -196,3 +196,3 @@ return ""; | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "data", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("data", V); | ||
} finally { | ||
@@ -214,3 +214,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "type"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("type"); | ||
return value === null ? "" : value; | ||
@@ -238,3 +238,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "type", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("type", V); | ||
} finally { | ||
@@ -256,3 +256,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "name"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("name"); | ||
return value === null ? "" : value; | ||
@@ -280,3 +280,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "name", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("name", V); | ||
} finally { | ||
@@ -298,3 +298,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "usemap"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("usemap"); | ||
return value === null ? "" : value; | ||
@@ -322,3 +322,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "usemap", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("usemap", V); | ||
} finally { | ||
@@ -352,3 +352,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "width"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("width"); | ||
return value === null ? "" : value; | ||
@@ -376,3 +376,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "width", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("width", V); | ||
} finally { | ||
@@ -394,3 +394,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "height"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("height"); | ||
return value === null ? "" : value; | ||
@@ -418,3 +418,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "height", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("height", V); | ||
} finally { | ||
@@ -484,3 +484,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "align"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("align"); | ||
return value === null ? "" : value; | ||
@@ -508,3 +508,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "align", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("align", V); | ||
} finally { | ||
@@ -526,3 +526,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "archive"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("archive"); | ||
return value === null ? "" : value; | ||
@@ -550,3 +550,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "archive", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("archive", V); | ||
} finally { | ||
@@ -568,3 +568,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "code"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("code"); | ||
return value === null ? "" : value; | ||
@@ -592,3 +592,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "code", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("code", V); | ||
} finally { | ||
@@ -610,3 +610,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
return esValue[implSymbol].hasAttributeNS(null, "declare"); | ||
return esValue[implSymbol]._reflectGetTheContentAttribute("declare") !== null; | ||
} finally { | ||
@@ -634,5 +634,5 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
if (V) { | ||
esValue[implSymbol].setAttributeNS(null, "declare", ""); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("declare", ""); | ||
} else { | ||
esValue[implSymbol].removeAttributeNS(null, "declare"); | ||
esValue[implSymbol]._reflectDeleteTheContentAttribute("declare"); | ||
} | ||
@@ -655,3 +655,3 @@ } finally { | ||
try { | ||
let value = esValue[implSymbol].getAttributeNS(null, "hspace"); | ||
let value = esValue[implSymbol]._reflectGetTheContentAttribute("hspace"); | ||
if (value === null) { | ||
@@ -684,3 +684,3 @@ return 0; | ||
const n = V <= 2147483647 ? V : 0; | ||
esValue[implSymbol].setAttributeNS(null, "hspace", String(n)); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("hspace", String(n)); | ||
} finally { | ||
@@ -702,3 +702,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "standby"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("standby"); | ||
return value === null ? "" : value; | ||
@@ -726,3 +726,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "standby", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("standby", V); | ||
} finally { | ||
@@ -744,3 +744,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
let value = esValue[implSymbol].getAttributeNS(null, "vspace"); | ||
let value = esValue[implSymbol]._reflectGetTheContentAttribute("vspace"); | ||
if (value === null) { | ||
@@ -773,3 +773,3 @@ return 0; | ||
const n = V <= 2147483647 ? V : 0; | ||
esValue[implSymbol].setAttributeNS(null, "vspace", String(n)); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("vspace", String(n)); | ||
} finally { | ||
@@ -791,3 +791,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "codebase"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("codebase"); | ||
if (value === null) { | ||
@@ -825,3 +825,3 @@ return ""; | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "codebase", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("codebase", V); | ||
} finally { | ||
@@ -843,3 +843,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "codetype"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("codetype"); | ||
return value === null ? "" : value; | ||
@@ -867,3 +867,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "codetype", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("codetype", V); | ||
} finally { | ||
@@ -885,3 +885,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "border"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("border"); | ||
return value === null ? "" : value; | ||
@@ -910,3 +910,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "border", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("border", V); | ||
} finally { | ||
@@ -913,0 +913,0 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); |
@@ -111,3 +111,3 @@ "use strict"; | ||
try { | ||
return esValue[implSymbol].hasAttributeNS(null, "reversed"); | ||
return esValue[implSymbol]._reflectGetTheContentAttribute("reversed") !== null; | ||
} finally { | ||
@@ -135,5 +135,5 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
if (V) { | ||
esValue[implSymbol].setAttributeNS(null, "reversed", ""); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("reversed", ""); | ||
} else { | ||
esValue[implSymbol].removeAttributeNS(null, "reversed"); | ||
esValue[implSymbol]._reflectDeleteTheContentAttribute("reversed"); | ||
} | ||
@@ -195,3 +195,3 @@ } finally { | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "type"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("type"); | ||
return value === null ? "" : value; | ||
@@ -219,3 +219,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "type", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("type", V); | ||
} finally { | ||
@@ -237,3 +237,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
return esValue[implSymbol].hasAttributeNS(null, "compact"); | ||
return esValue[implSymbol]._reflectGetTheContentAttribute("compact") !== null; | ||
} finally { | ||
@@ -261,5 +261,5 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
if (V) { | ||
esValue[implSymbol].setAttributeNS(null, "compact", ""); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("compact", ""); | ||
} else { | ||
esValue[implSymbol].removeAttributeNS(null, "compact"); | ||
esValue[implSymbol]._reflectDeleteTheContentAttribute("compact"); | ||
} | ||
@@ -266,0 +266,0 @@ } finally { |
@@ -111,3 +111,3 @@ "use strict"; | ||
try { | ||
return esValue[implSymbol].hasAttributeNS(null, "disabled"); | ||
return esValue[implSymbol]._reflectGetTheContentAttribute("disabled") !== null; | ||
} finally { | ||
@@ -135,5 +135,5 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
if (V) { | ||
esValue[implSymbol].setAttributeNS(null, "disabled", ""); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("disabled", ""); | ||
} else { | ||
esValue[implSymbol].removeAttributeNS(null, "disabled"); | ||
esValue[implSymbol]._reflectDeleteTheContentAttribute("disabled"); | ||
} | ||
@@ -156,3 +156,3 @@ } finally { | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "label"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("label"); | ||
return value === null ? "" : value; | ||
@@ -180,3 +180,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "label", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("label", V); | ||
} finally { | ||
@@ -183,0 +183,0 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); |
@@ -111,3 +111,3 @@ "use strict"; | ||
try { | ||
return esValue[implSymbol].hasAttributeNS(null, "disabled"); | ||
return esValue[implSymbol]._reflectGetTheContentAttribute("disabled") !== null; | ||
} finally { | ||
@@ -135,5 +135,5 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
if (V) { | ||
esValue[implSymbol].setAttributeNS(null, "disabled", ""); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("disabled", ""); | ||
} else { | ||
esValue[implSymbol].removeAttributeNS(null, "disabled"); | ||
esValue[implSymbol]._reflectDeleteTheContentAttribute("disabled"); | ||
} | ||
@@ -207,3 +207,3 @@ } finally { | ||
try { | ||
return esValue[implSymbol].hasAttributeNS(null, "selected"); | ||
return esValue[implSymbol]._reflectGetTheContentAttribute("selected") !== null; | ||
} finally { | ||
@@ -231,5 +231,5 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
if (V) { | ||
esValue[implSymbol].setAttributeNS(null, "selected", ""); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("selected", ""); | ||
} else { | ||
esValue[implSymbol].removeAttributeNS(null, "selected"); | ||
esValue[implSymbol]._reflectDeleteTheContentAttribute("selected"); | ||
} | ||
@@ -236,0 +236,0 @@ } finally { |
@@ -200,3 +200,3 @@ "use strict"; | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "name"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("name"); | ||
return value === null ? "" : value; | ||
@@ -224,3 +224,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "name", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("name", V); | ||
} finally { | ||
@@ -227,0 +227,0 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); |
@@ -111,3 +111,3 @@ "use strict"; | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "align"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("align"); | ||
return value === null ? "" : value; | ||
@@ -135,3 +135,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "align", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("align", V); | ||
} finally { | ||
@@ -138,0 +138,0 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); |
@@ -111,3 +111,3 @@ "use strict"; | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "name"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("name"); | ||
return value === null ? "" : value; | ||
@@ -135,3 +135,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "name", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("name", V); | ||
} finally { | ||
@@ -153,3 +153,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "value"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("value"); | ||
return value === null ? "" : value; | ||
@@ -177,3 +177,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "value", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("value", V); | ||
} finally { | ||
@@ -195,3 +195,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "type"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("type"); | ||
return value === null ? "" : value; | ||
@@ -219,3 +219,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "type", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("type", V); | ||
} finally { | ||
@@ -237,3 +237,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "valuetype"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("valuetype"); | ||
return value === null ? "" : value; | ||
@@ -261,3 +261,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "valuetype", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("valuetype", V); | ||
} finally { | ||
@@ -264,0 +264,0 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); |
@@ -112,3 +112,3 @@ "use strict"; | ||
try { | ||
let value = esValue[implSymbol].getAttributeNS(null, "width"); | ||
let value = esValue[implSymbol]._reflectGetTheContentAttribute("width"); | ||
if (value === null) { | ||
@@ -140,3 +140,3 @@ return 0; | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "width", String(V)); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("width", String(V)); | ||
} finally { | ||
@@ -143,0 +143,0 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); |
@@ -114,3 +114,3 @@ "use strict"; | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "cite"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("cite"); | ||
if (value === null) { | ||
@@ -148,3 +148,3 @@ return ""; | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "cite", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("cite", V); | ||
} finally { | ||
@@ -151,0 +151,0 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); |
@@ -114,3 +114,3 @@ "use strict"; | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "src"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("src"); | ||
if (value === null) { | ||
@@ -148,3 +148,3 @@ return ""; | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "src", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("src", V); | ||
} finally { | ||
@@ -166,3 +166,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "type"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("type"); | ||
return value === null ? "" : value; | ||
@@ -190,3 +190,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "type", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("type", V); | ||
} finally { | ||
@@ -208,3 +208,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
return esValue[implSymbol].hasAttributeNS(null, "defer"); | ||
return esValue[implSymbol]._reflectGetTheContentAttribute("defer") !== null; | ||
} finally { | ||
@@ -232,5 +232,5 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
if (V) { | ||
esValue[implSymbol].setAttributeNS(null, "defer", ""); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("defer", ""); | ||
} else { | ||
esValue[implSymbol].removeAttributeNS(null, "defer"); | ||
esValue[implSymbol]._reflectDeleteTheContentAttribute("defer"); | ||
} | ||
@@ -253,4 +253,3 @@ } finally { | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "crossorigin"); | ||
return value === null ? "" : value; | ||
return esValue[implSymbol]._reflectGetTheContentAttribute("crossorigin"); | ||
} finally { | ||
@@ -281,3 +280,7 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "crossorigin", V); | ||
if (V === null) { | ||
esValue[implSymbol]._reflectDeleteTheContentAttribute("crossorigin"); | ||
} else { | ||
esValue[implSymbol]._reflectSetTheContentAttribute("crossorigin", V); | ||
} | ||
} finally { | ||
@@ -338,3 +341,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "charset"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("charset"); | ||
return value === null ? "" : value; | ||
@@ -362,3 +365,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "charset", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("charset", V); | ||
} finally { | ||
@@ -380,3 +383,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "event"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("event"); | ||
return value === null ? "" : value; | ||
@@ -404,3 +407,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "event", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("event", V); | ||
} finally { | ||
@@ -422,3 +425,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "for"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("for"); | ||
return value === null ? "" : value; | ||
@@ -446,3 +449,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "for", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("for", V); | ||
} finally { | ||
@@ -449,0 +452,0 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); |
@@ -310,3 +310,3 @@ "use strict"; | ||
try { | ||
return esValue[implSymbol].hasAttributeNS(null, "autofocus"); | ||
return esValue[implSymbol]._reflectGetTheContentAttribute("autofocus") !== null; | ||
} finally { | ||
@@ -334,5 +334,5 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
if (V) { | ||
esValue[implSymbol].setAttributeNS(null, "autofocus", ""); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("autofocus", ""); | ||
} else { | ||
esValue[implSymbol].removeAttributeNS(null, "autofocus"); | ||
esValue[implSymbol]._reflectDeleteTheContentAttribute("autofocus"); | ||
} | ||
@@ -355,3 +355,3 @@ } finally { | ||
try { | ||
return esValue[implSymbol].hasAttributeNS(null, "disabled"); | ||
return esValue[implSymbol]._reflectGetTheContentAttribute("disabled") !== null; | ||
} finally { | ||
@@ -379,5 +379,5 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
if (V) { | ||
esValue[implSymbol].setAttributeNS(null, "disabled", ""); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("disabled", ""); | ||
} else { | ||
esValue[implSymbol].removeAttributeNS(null, "disabled"); | ||
esValue[implSymbol]._reflectDeleteTheContentAttribute("disabled"); | ||
} | ||
@@ -412,3 +412,3 @@ } finally { | ||
try { | ||
return esValue[implSymbol].hasAttributeNS(null, "multiple"); | ||
return esValue[implSymbol]._reflectGetTheContentAttribute("multiple") !== null; | ||
} finally { | ||
@@ -436,5 +436,5 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
if (V) { | ||
esValue[implSymbol].setAttributeNS(null, "multiple", ""); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("multiple", ""); | ||
} else { | ||
esValue[implSymbol].removeAttributeNS(null, "multiple"); | ||
esValue[implSymbol]._reflectDeleteTheContentAttribute("multiple"); | ||
} | ||
@@ -457,3 +457,3 @@ } finally { | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "name"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("name"); | ||
return value === null ? "" : value; | ||
@@ -481,3 +481,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "name", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("name", V); | ||
} finally { | ||
@@ -499,3 +499,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
return esValue[implSymbol].hasAttributeNS(null, "required"); | ||
return esValue[implSymbol]._reflectGetTheContentAttribute("required") !== null; | ||
} finally { | ||
@@ -523,5 +523,5 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
if (V) { | ||
esValue[implSymbol].setAttributeNS(null, "required", ""); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("required", ""); | ||
} else { | ||
esValue[implSymbol].removeAttributeNS(null, "required"); | ||
esValue[implSymbol]._reflectDeleteTheContentAttribute("required"); | ||
} | ||
@@ -544,3 +544,3 @@ } finally { | ||
try { | ||
let value = esValue[implSymbol].getAttributeNS(null, "size"); | ||
let value = esValue[implSymbol]._reflectGetTheContentAttribute("size"); | ||
if (value === null) { | ||
@@ -573,3 +573,3 @@ return 0; | ||
const n = V <= 2147483647 ? V : 0; | ||
esValue[implSymbol].setAttributeNS(null, "size", String(n)); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("size", String(n)); | ||
} finally { | ||
@@ -576,0 +576,0 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); |
@@ -148,3 +148,3 @@ "use strict"; | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "name"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("name"); | ||
return value === null ? "" : value; | ||
@@ -172,3 +172,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "name", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("name", V); | ||
} finally { | ||
@@ -175,0 +175,0 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); |
@@ -114,3 +114,3 @@ "use strict"; | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "src"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("src"); | ||
if (value === null) { | ||
@@ -148,3 +148,3 @@ return ""; | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "src", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("src", V); | ||
} finally { | ||
@@ -166,3 +166,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "type"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("type"); | ||
return value === null ? "" : value; | ||
@@ -190,3 +190,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "type", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("type", V); | ||
} finally { | ||
@@ -208,3 +208,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "srcset"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("srcset"); | ||
return value === null ? "" : conversions.USVString(value); | ||
@@ -232,3 +232,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "srcset", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("srcset", V); | ||
} finally { | ||
@@ -250,3 +250,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "sizes"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("sizes"); | ||
return value === null ? "" : value; | ||
@@ -274,3 +274,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "sizes", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("sizes", V); | ||
} finally { | ||
@@ -292,3 +292,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "media"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("media"); | ||
return value === null ? "" : value; | ||
@@ -316,3 +316,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "media", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("media", V); | ||
} finally { | ||
@@ -319,0 +319,0 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); |
@@ -111,3 +111,3 @@ "use strict"; | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "media"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("media"); | ||
return value === null ? "" : value; | ||
@@ -135,3 +135,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "media", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("media", V); | ||
} finally { | ||
@@ -153,3 +153,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "type"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("type"); | ||
return value === null ? "" : value; | ||
@@ -177,3 +177,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "type", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("type", V); | ||
} finally { | ||
@@ -180,0 +180,0 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); |
@@ -111,3 +111,3 @@ "use strict"; | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "align"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("align"); | ||
return value === null ? "" : value; | ||
@@ -135,3 +135,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "align", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("align", V); | ||
} finally { | ||
@@ -138,0 +138,0 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); |
@@ -189,3 +189,3 @@ "use strict"; | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "headers"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("headers"); | ||
return value === null ? "" : value; | ||
@@ -213,3 +213,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "headers", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("headers", V); | ||
} finally { | ||
@@ -282,3 +282,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "abbr"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("abbr"); | ||
return value === null ? "" : value; | ||
@@ -306,3 +306,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "abbr", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("abbr", V); | ||
} finally { | ||
@@ -324,3 +324,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "align"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("align"); | ||
return value === null ? "" : value; | ||
@@ -348,3 +348,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "align", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("align", V); | ||
} finally { | ||
@@ -366,3 +366,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "axis"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("axis"); | ||
return value === null ? "" : value; | ||
@@ -390,3 +390,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "axis", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("axis", V); | ||
} finally { | ||
@@ -408,3 +408,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "height"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("height"); | ||
return value === null ? "" : value; | ||
@@ -432,3 +432,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "height", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("height", V); | ||
} finally { | ||
@@ -450,3 +450,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "width"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("width"); | ||
return value === null ? "" : value; | ||
@@ -474,3 +474,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "width", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("width", V); | ||
} finally { | ||
@@ -492,3 +492,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "char"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("char"); | ||
return value === null ? "" : value; | ||
@@ -516,3 +516,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "char", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("char", V); | ||
} finally { | ||
@@ -534,3 +534,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "charoff"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("charoff"); | ||
return value === null ? "" : value; | ||
@@ -558,3 +558,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "charoff", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("charoff", V); | ||
} finally { | ||
@@ -576,3 +576,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
return esValue[implSymbol].hasAttributeNS(null, "nowrap"); | ||
return esValue[implSymbol]._reflectGetTheContentAttribute("nowrap") !== null; | ||
} finally { | ||
@@ -600,5 +600,5 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
if (V) { | ||
esValue[implSymbol].setAttributeNS(null, "nowrap", ""); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("nowrap", ""); | ||
} else { | ||
esValue[implSymbol].removeAttributeNS(null, "nowrap"); | ||
esValue[implSymbol]._reflectDeleteTheContentAttribute("nowrap"); | ||
} | ||
@@ -621,3 +621,3 @@ } finally { | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "valign"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("valign"); | ||
return value === null ? "" : value; | ||
@@ -645,3 +645,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "valign", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("valign", V); | ||
} finally { | ||
@@ -663,3 +663,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "bgcolor"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("bgcolor"); | ||
return value === null ? "" : value; | ||
@@ -688,3 +688,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "bgcolor", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("bgcolor", V); | ||
} finally { | ||
@@ -691,0 +691,0 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); |
@@ -112,3 +112,3 @@ "use strict"; | ||
try { | ||
let value = esValue[implSymbol].getAttributeNS(null, "span"); | ||
let value = esValue[implSymbol]._reflectGetTheContentAttribute("span"); | ||
if (value === null) { | ||
@@ -141,3 +141,3 @@ return 0; | ||
const n = V <= 2147483647 ? V : 0; | ||
esValue[implSymbol].setAttributeNS(null, "span", String(n)); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("span", String(n)); | ||
} finally { | ||
@@ -159,3 +159,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "align"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("align"); | ||
return value === null ? "" : value; | ||
@@ -183,3 +183,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "align", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("align", V); | ||
} finally { | ||
@@ -201,3 +201,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "char"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("char"); | ||
return value === null ? "" : value; | ||
@@ -225,3 +225,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "char", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("char", V); | ||
} finally { | ||
@@ -243,3 +243,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "charoff"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("charoff"); | ||
return value === null ? "" : value; | ||
@@ -267,3 +267,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "charoff", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("charoff", V); | ||
} finally { | ||
@@ -285,3 +285,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "valign"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("valign"); | ||
return value === null ? "" : value; | ||
@@ -309,3 +309,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "valign", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("valign", V); | ||
} finally { | ||
@@ -327,3 +327,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "width"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("width"); | ||
return value === null ? "" : value; | ||
@@ -351,3 +351,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "width", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("width", V); | ||
} finally { | ||
@@ -354,0 +354,0 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); |
@@ -412,3 +412,3 @@ "use strict"; | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "align"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("align"); | ||
return value === null ? "" : value; | ||
@@ -436,3 +436,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "align", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("align", V); | ||
} finally { | ||
@@ -454,3 +454,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "border"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("border"); | ||
return value === null ? "" : value; | ||
@@ -478,3 +478,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "border", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("border", V); | ||
} finally { | ||
@@ -496,3 +496,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "frame"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("frame"); | ||
return value === null ? "" : value; | ||
@@ -520,3 +520,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "frame", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("frame", V); | ||
} finally { | ||
@@ -538,3 +538,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "rules"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("rules"); | ||
return value === null ? "" : value; | ||
@@ -562,3 +562,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "rules", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("rules", V); | ||
} finally { | ||
@@ -580,3 +580,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "summary"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("summary"); | ||
return value === null ? "" : value; | ||
@@ -604,3 +604,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "summary", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("summary", V); | ||
} finally { | ||
@@ -622,3 +622,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "width"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("width"); | ||
return value === null ? "" : value; | ||
@@ -646,3 +646,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "width", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("width", V); | ||
} finally { | ||
@@ -664,3 +664,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "bgcolor"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("bgcolor"); | ||
return value === null ? "" : value; | ||
@@ -689,3 +689,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "bgcolor", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("bgcolor", V); | ||
} finally { | ||
@@ -707,3 +707,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "cellpadding"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("cellpadding"); | ||
return value === null ? "" : value; | ||
@@ -732,3 +732,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "cellpadding", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("cellpadding", V); | ||
} finally { | ||
@@ -750,3 +750,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "cellspacing"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("cellspacing"); | ||
return value === null ? "" : value; | ||
@@ -775,3 +775,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "cellspacing", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("cellspacing", V); | ||
} finally { | ||
@@ -778,0 +778,0 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); |
@@ -202,3 +202,3 @@ "use strict"; | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "align"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("align"); | ||
return value === null ? "" : value; | ||
@@ -226,3 +226,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "align", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("align", V); | ||
} finally { | ||
@@ -244,3 +244,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "char"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("char"); | ||
return value === null ? "" : value; | ||
@@ -268,3 +268,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "char", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("char", V); | ||
} finally { | ||
@@ -286,3 +286,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "charoff"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("charoff"); | ||
return value === null ? "" : value; | ||
@@ -310,3 +310,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "charoff", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("charoff", V); | ||
} finally { | ||
@@ -328,3 +328,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "valign"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("valign"); | ||
return value === null ? "" : value; | ||
@@ -352,3 +352,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "valign", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("valign", V); | ||
} finally { | ||
@@ -370,3 +370,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "bgcolor"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("bgcolor"); | ||
return value === null ? "" : value; | ||
@@ -395,3 +395,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "bgcolor", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("bgcolor", V); | ||
} finally { | ||
@@ -398,0 +398,0 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); |
@@ -178,3 +178,3 @@ "use strict"; | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "align"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("align"); | ||
return value === null ? "" : value; | ||
@@ -202,3 +202,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "align", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("align", V); | ||
} finally { | ||
@@ -220,3 +220,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "char"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("char"); | ||
return value === null ? "" : value; | ||
@@ -244,3 +244,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "char", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("char", V); | ||
} finally { | ||
@@ -262,3 +262,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "charoff"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("charoff"); | ||
return value === null ? "" : value; | ||
@@ -286,3 +286,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "charoff", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("charoff", V); | ||
} finally { | ||
@@ -304,3 +304,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "valign"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("valign"); | ||
return value === null ? "" : value; | ||
@@ -328,3 +328,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "valign", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("valign", V); | ||
} finally { | ||
@@ -331,0 +331,0 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); |
@@ -310,3 +310,3 @@ "use strict"; | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "autocomplete"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("autocomplete"); | ||
return value === null ? "" : value; | ||
@@ -334,3 +334,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "autocomplete", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("autocomplete", V); | ||
} finally { | ||
@@ -352,3 +352,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
return esValue[implSymbol].hasAttributeNS(null, "autofocus"); | ||
return esValue[implSymbol]._reflectGetTheContentAttribute("autofocus") !== null; | ||
} finally { | ||
@@ -376,5 +376,5 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
if (V) { | ||
esValue[implSymbol].setAttributeNS(null, "autofocus", ""); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("autofocus", ""); | ||
} else { | ||
esValue[implSymbol].removeAttributeNS(null, "autofocus"); | ||
esValue[implSymbol]._reflectDeleteTheContentAttribute("autofocus"); | ||
} | ||
@@ -436,3 +436,3 @@ } finally { | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "dirname"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("dirname"); | ||
return value === null ? "" : value; | ||
@@ -460,3 +460,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "dirname", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("dirname", V); | ||
} finally { | ||
@@ -478,3 +478,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
return esValue[implSymbol].hasAttributeNS(null, "disabled"); | ||
return esValue[implSymbol]._reflectGetTheContentAttribute("disabled") !== null; | ||
} finally { | ||
@@ -502,5 +502,5 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
if (V) { | ||
esValue[implSymbol].setAttributeNS(null, "disabled", ""); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("disabled", ""); | ||
} else { | ||
esValue[implSymbol].removeAttributeNS(null, "disabled"); | ||
esValue[implSymbol]._reflectDeleteTheContentAttribute("disabled"); | ||
} | ||
@@ -535,3 +535,3 @@ } finally { | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "inputmode"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("inputmode"); | ||
return value === null ? "" : value; | ||
@@ -559,3 +559,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "inputmode", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("inputmode", V); | ||
} finally { | ||
@@ -577,3 +577,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
let value = esValue[implSymbol].getAttributeNS(null, "maxlength"); | ||
let value = esValue[implSymbol]._reflectGetTheContentAttribute("maxlength"); | ||
if (value === null) { | ||
@@ -605,3 +605,3 @@ return 0; | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "maxlength", String(V)); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("maxlength", String(V)); | ||
} finally { | ||
@@ -623,3 +623,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
let value = esValue[implSymbol].getAttributeNS(null, "minlength"); | ||
let value = esValue[implSymbol]._reflectGetTheContentAttribute("minlength"); | ||
if (value === null) { | ||
@@ -651,3 +651,3 @@ return 0; | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "minlength", String(V)); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("minlength", String(V)); | ||
} finally { | ||
@@ -669,3 +669,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "name"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("name"); | ||
return value === null ? "" : value; | ||
@@ -693,3 +693,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "name", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("name", V); | ||
} finally { | ||
@@ -711,3 +711,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "placeholder"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("placeholder"); | ||
return value === null ? "" : value; | ||
@@ -735,3 +735,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "placeholder", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("placeholder", V); | ||
} finally { | ||
@@ -753,3 +753,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
return esValue[implSymbol].hasAttributeNS(null, "readonly"); | ||
return esValue[implSymbol]._reflectGetTheContentAttribute("readonly") !== null; | ||
} finally { | ||
@@ -777,5 +777,5 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
if (V) { | ||
esValue[implSymbol].setAttributeNS(null, "readonly", ""); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("readonly", ""); | ||
} else { | ||
esValue[implSymbol].removeAttributeNS(null, "readonly"); | ||
esValue[implSymbol]._reflectDeleteTheContentAttribute("readonly"); | ||
} | ||
@@ -798,3 +798,3 @@ } finally { | ||
try { | ||
return esValue[implSymbol].hasAttributeNS(null, "required"); | ||
return esValue[implSymbol]._reflectGetTheContentAttribute("required") !== null; | ||
} finally { | ||
@@ -822,5 +822,5 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
if (V) { | ||
esValue[implSymbol].setAttributeNS(null, "required", ""); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("required", ""); | ||
} else { | ||
esValue[implSymbol].removeAttributeNS(null, "required"); | ||
esValue[implSymbol]._reflectDeleteTheContentAttribute("required"); | ||
} | ||
@@ -882,3 +882,3 @@ } finally { | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "wrap"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("wrap"); | ||
return value === null ? "" : value; | ||
@@ -906,3 +906,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "wrap", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("wrap", V); | ||
} finally { | ||
@@ -909,0 +909,0 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); |
@@ -111,3 +111,3 @@ "use strict"; | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "datetime"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("datetime"); | ||
return value === null ? "" : value; | ||
@@ -135,3 +135,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "datetime", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("datetime", V); | ||
} finally { | ||
@@ -138,0 +138,0 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); |
@@ -114,3 +114,3 @@ "use strict"; | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "kind"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("kind"); | ||
return value === null ? "" : value; | ||
@@ -138,3 +138,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "kind", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("kind", V); | ||
} finally { | ||
@@ -156,3 +156,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "src"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("src"); | ||
if (value === null) { | ||
@@ -190,3 +190,3 @@ return ""; | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "src", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("src", V); | ||
} finally { | ||
@@ -208,3 +208,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "srclang"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("srclang"); | ||
return value === null ? "" : value; | ||
@@ -232,3 +232,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "srclang", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("srclang", V); | ||
} finally { | ||
@@ -250,3 +250,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "label"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("label"); | ||
return value === null ? "" : value; | ||
@@ -274,3 +274,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "label", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("label", V); | ||
} finally { | ||
@@ -292,3 +292,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
return esValue[implSymbol].hasAttributeNS(null, "default"); | ||
return esValue[implSymbol]._reflectGetTheContentAttribute("default") !== null; | ||
} finally { | ||
@@ -316,5 +316,5 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
if (V) { | ||
esValue[implSymbol].setAttributeNS(null, "default", ""); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("default", ""); | ||
} else { | ||
esValue[implSymbol].removeAttributeNS(null, "default"); | ||
esValue[implSymbol]._reflectDeleteTheContentAttribute("default"); | ||
} | ||
@@ -321,0 +321,0 @@ } finally { |
@@ -111,3 +111,3 @@ "use strict"; | ||
try { | ||
return esValue[implSymbol].hasAttributeNS(null, "compact"); | ||
return esValue[implSymbol]._reflectGetTheContentAttribute("compact") !== null; | ||
} finally { | ||
@@ -135,5 +135,5 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
if (V) { | ||
esValue[implSymbol].setAttributeNS(null, "compact", ""); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("compact", ""); | ||
} else { | ||
esValue[implSymbol].removeAttributeNS(null, "compact"); | ||
esValue[implSymbol]._reflectDeleteTheContentAttribute("compact"); | ||
} | ||
@@ -156,3 +156,3 @@ } finally { | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "type"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("type"); | ||
return value === null ? "" : value; | ||
@@ -180,3 +180,3 @@ } finally { | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "type", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("type", V); | ||
} finally { | ||
@@ -183,0 +183,0 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); |
@@ -115,3 +115,3 @@ "use strict"; | ||
try { | ||
let value = esValue[implSymbol].getAttributeNS(null, "width"); | ||
let value = esValue[implSymbol]._reflectGetTheContentAttribute("width"); | ||
if (value === null) { | ||
@@ -144,3 +144,3 @@ return 0; | ||
const n = V <= 2147483647 ? V : 0; | ||
esValue[implSymbol].setAttributeNS(null, "width", String(n)); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("width", String(n)); | ||
} finally { | ||
@@ -162,3 +162,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
let value = esValue[implSymbol].getAttributeNS(null, "height"); | ||
let value = esValue[implSymbol]._reflectGetTheContentAttribute("height"); | ||
if (value === null) { | ||
@@ -191,3 +191,3 @@ return 0; | ||
const n = V <= 2147483647 ? V : 0; | ||
esValue[implSymbol].setAttributeNS(null, "height", String(n)); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("height", String(n)); | ||
} finally { | ||
@@ -233,3 +233,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
const value = esValue[implSymbol].getAttributeNS(null, "poster"); | ||
const value = esValue[implSymbol]._reflectGetTheContentAttribute("poster"); | ||
if (value === null) { | ||
@@ -267,3 +267,3 @@ return ""; | ||
try { | ||
esValue[implSymbol].setAttributeNS(null, "poster", V); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("poster", V); | ||
} finally { | ||
@@ -285,3 +285,3 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
try { | ||
return esValue[implSymbol].hasAttributeNS(null, "playsinline"); | ||
return esValue[implSymbol]._reflectGetTheContentAttribute("playsinline") !== null; | ||
} finally { | ||
@@ -309,5 +309,5 @@ ceReactionsPostSteps_helpers_custom_elements(globalObject); | ||
if (V) { | ||
esValue[implSymbol].setAttributeNS(null, "playsinline", ""); | ||
esValue[implSymbol]._reflectSetTheContentAttribute("playsinline", ""); | ||
} else { | ||
esValue[implSymbol].removeAttributeNS(null, "playsinline"); | ||
esValue[implSymbol]._reflectDeleteTheContentAttribute("playsinline"); | ||
} | ||
@@ -314,0 +314,0 @@ } finally { |
@@ -108,2 +108,4 @@ "use strict"; | ||
element._ceState = "precustomized"; | ||
const constructionResult = C.construct(); | ||
@@ -110,0 +112,0 @@ const constructionResultImpl = implForWrapper(constructionResult); |
@@ -186,2 +186,3 @@ /* eslint-disable global-require */ | ||
CustomElementRegistry: require("./generated/CustomElementRegistry"), | ||
ElementInternals: require("./generated/ElementInternals"), | ||
ShadowRoot: require("./generated/ShadowRoot"), | ||
@@ -188,0 +189,0 @@ |
@@ -426,2 +426,6 @@ "use strict"; | ||
if (this._ceState === "precustomized" || this._ceState === "custom") { | ||
shadow._availableToElementInternals = true; | ||
} | ||
this._shadowRoot = shadow; | ||
@@ -549,2 +553,19 @@ | ||
} | ||
// https://html.spec.whatwg.org/#reflecting-content-attributes-in-idl-attributes | ||
_reflectGetTheElement() { | ||
return this; | ||
} | ||
_reflectGetTheContentAttribute(reflectedContentAttributeName) { | ||
return this.getAttributeNS(null, reflectedContentAttributeName); | ||
} | ||
_reflectSetTheContentAttribute(reflectedContentAttributeName, value) { | ||
this.setAttributeNS(null, reflectedContentAttributeName, value); | ||
} | ||
_reflectDeleteTheContentAttribute(reflectedContentAttributeName) { | ||
this.removeAttributeNS(null, reflectedContentAttributeName); | ||
} | ||
} | ||
@@ -551,0 +572,0 @@ |
"use strict"; | ||
const { mixin } = require("../../utils"); | ||
const ElementImpl = require("./Element-impl").implementation; | ||
const DOMException = require("../generated/DOMException"); | ||
const MouseEvent = require("../generated/MouseEvent"); | ||
const ElementInternals = require("../generated/ElementInternals"); | ||
const ElementCSSInlineStyleImpl = require("./ElementCSSInlineStyle-impl").implementation; | ||
@@ -12,2 +14,3 @@ const GlobalEventHandlersImpl = require("./GlobalEventHandlers-impl").implementation; | ||
const { asciiLowercase } = require("../helpers/strings"); | ||
const { lookupCEDefinition } = require("../helpers/custom-elements"); | ||
@@ -25,2 +28,5 @@ class HTMLElementImpl extends ElementImpl { | ||
this._hasActivationBehavior = this._localName === "summary"; | ||
// https://html.spec.whatwg.org/#attached-internals | ||
this._attachedInternals = null; | ||
} | ||
@@ -122,2 +128,46 @@ | ||
// https://html.spec.whatwg.org/#dom-attachinternals | ||
attachInternals() { | ||
if (this._isValue !== null) { | ||
throw DOMException.create(this._globalObject, [ | ||
"Unable to attach ElementInternals to a customized built-in element.", | ||
"NotSupportedError" | ||
]); | ||
} | ||
const definition = lookupCEDefinition(this._ownerDocument, this._namespaceURI, this._localName, null); | ||
if (definition === null) { | ||
throw DOMException.create(this._globalObject, [ | ||
"Unable to attach ElementInternals to non-custom elements.", | ||
"NotSupportedError" | ||
]); | ||
} | ||
if (definition.disableInternals === true) { | ||
throw DOMException.create(this._globalObject, [ | ||
"ElementInternals is disabled by disabledFeature static field.", | ||
"NotSupportedError" | ||
]); | ||
} | ||
if (this._attachedInternals !== null) { | ||
throw DOMException.create(this._globalObject, [ | ||
"ElementInternals for the specified element was already attached.", | ||
"NotSupportedError" | ||
]); | ||
} | ||
if (this._ceState !== "precustomized" && this._ceState !== "custom") { | ||
throw DOMException.create(this._globalObject, [ | ||
"The attachInternals() function cannot be called prior to the execution of the custom element constructor.", | ||
"NotSupportedError" | ||
]); | ||
} | ||
this._attachedInternals = ElementInternals.createImpl(this._globalObject, [], { targetElement: this }); | ||
return this._attachedInternals; | ||
} | ||
// Keep in sync with SVGElement. https://github.com/jsdom/jsdom/issues/2599 | ||
@@ -124,0 +174,0 @@ _attrModified(name, value, oldValue) { |
@@ -486,3 +486,3 @@ "use strict"; | ||
set valueAsNumber(v) { | ||
if (!isFinite(v)) { | ||
if (!isFinite(v) && !isNaN(v)) { | ||
throw new TypeError("Failed to set infinite value as Number"); | ||
@@ -499,3 +499,7 @@ } | ||
this._value = this._convertNumberToString(v); | ||
if (isNaN(v)) { | ||
this._value = ""; | ||
} else { | ||
this._value = this._convertNumberToString(v); | ||
} | ||
} | ||
@@ -502,0 +506,0 @@ |
@@ -16,2 +16,3 @@ "use strict"; | ||
this._mode = mode; | ||
this._availableToElementInternals = false; | ||
} | ||
@@ -18,0 +19,0 @@ |
"use strict"; | ||
const DOMException = require("../generated/DOMException"); | ||
const { documentBaseURLSerialized, parseURLToResultingURLRecord } = require("../helpers/document-base-url.js"); | ||
const { serializeURL } = require("whatwg-url"); | ||
@@ -58,11 +59,11 @@ // https://html.spec.whatwg.org/#history-3 | ||
pushState(data, title, url) { | ||
this._sharedPushAndReplaceState(data, title, url, "pushState"); | ||
pushState(data, unused, url) { | ||
this._sharedPushAndReplaceState(data, url, "push"); | ||
} | ||
replaceState(data, title, url) { | ||
this._sharedPushAndReplaceState(data, title, url, "replaceState"); | ||
replaceState(data, unused, url) { | ||
this._sharedPushAndReplaceState(data, url, "replace"); | ||
} | ||
// https://html.spec.whatwg.org/#dom-history-pushstate | ||
_sharedPushAndReplaceState(data, title, url, methodName) { | ||
// https://html.spec.whatwg.org/#shared-history-push/replace-state-steps | ||
_sharedPushAndReplaceState(data, url, historyHandling) { | ||
this._guardAgainstInactiveDocuments(); | ||
@@ -72,6 +73,4 @@ | ||
let newURL; | ||
if (url !== null) { | ||
// Not implemented: use of entry settings object's API base URL. Instead we just use the document base URL. The | ||
// difference matters in the case of cross-frame calls. | ||
let newURL = this._document._URL; | ||
if (url !== null && url.length > 0) { | ||
newURL = parseURLToResultingURLRecord(url, this._document); | ||
@@ -81,3 +80,3 @@ | ||
throw DOMException.create(this._globalObject, [ | ||
`Could not parse url argument "${url}" to ${methodName} against base URL ` + | ||
`Could not parse url argument "${url}" to ${historyHandling}State() against base URL ` + | ||
`"${documentBaseURLSerialized(this._document)}".`, | ||
@@ -88,20 +87,14 @@ "SecurityError" | ||
if (newURL.scheme !== this._document._URL.scheme || | ||
newURL.username !== this._document._URL.username || | ||
newURL.password !== this._document._URL.password || | ||
newURL.host !== this._document._URL.host || | ||
newURL.port !== this._document._URL.port) { | ||
if (!canHaveItsURLRewritten(this._document, newURL)) { | ||
throw DOMException.create(this._globalObject, [ | ||
`${methodName} cannot update history to a URL which differs in components other than in ` + | ||
`path, query, or fragment.`, | ||
`${historyHandling}State() cannot update history to the URL ${serializeURL(newURL)}.`, | ||
"SecurityError" | ||
]); | ||
} | ||
// Not implemented: origin check (seems to only apply to documents with weird origins, e.g. sandboxed ones) | ||
} else { | ||
newURL = this._window._sessionHistory.currentEntry.url; | ||
} | ||
if (methodName === "pushState") { | ||
// What follows is very unlike the spec's URL and history update steps. Maybe if we implement real session | ||
// history/navigation, we can fix that. | ||
if (historyHandling === "push") { | ||
this._window._sessionHistory.removeAllEntriesAfterCurrentEntry(); | ||
@@ -114,3 +107,2 @@ | ||
stateObject: data, | ||
title, | ||
url: newURL | ||
@@ -123,3 +115,2 @@ }; | ||
currentEntry.stateObject = data; | ||
currentEntry.title = title; | ||
currentEntry.url = newURL; | ||
@@ -140,1 +131,25 @@ } | ||
}; | ||
function canHaveItsURLRewritten(document, targetURL) { | ||
const documentURL = document._URL; | ||
if (targetURL.scheme !== documentURL.scheme || targetURL.username !== documentURL.username || | ||
targetURL.password !== documentURL.password || targetURL.host !== documentURL.host || | ||
targetURL.port !== documentURL.port) { | ||
return false; | ||
} | ||
if (targetURL.scheme === "https" || targetURL.scheme === "http") { | ||
return true; | ||
} | ||
if (targetURL.scheme === "file" && targetURL.path !== documentURL.path) { | ||
return false; | ||
} | ||
if (targetURL.path.join("/") !== documentURL.path.join("/") || targetURL.query !== documentURL.query) { | ||
return false; | ||
} | ||
return true; | ||
} |
{ | ||
"name": "jsdom", | ||
"version": "23.0.1", | ||
"version": "23.1.0", | ||
"description": "A JavaScript implementation of many web standards", | ||
@@ -23,3 +23,3 @@ "keywords": [ | ||
"dependencies": { | ||
"cssstyle": "^3.0.0", | ||
"cssstyle": "^4.0.1", | ||
"data-urls": "^5.0.0", | ||
@@ -43,3 +43,3 @@ "decimal.js": "^10.4.3", | ||
"whatwg-url": "^14.0.0", | ||
"ws": "^8.14.2", | ||
"ws": "^8.16.0", | ||
"xml-name-validator": "^5.0.0" | ||
@@ -58,4 +58,3 @@ }, | ||
"benchmark": "^2.1.4", | ||
"chai": "^4.3.10", | ||
"eslint": "^8.54.0", | ||
"eslint": "^8.56.0", | ||
"eslint-plugin-html": "^7.1.0", | ||
@@ -83,3 +82,3 @@ "eslint-plugin-jsdom-internal": "file:./scripts/eslint-plugin", | ||
"reset-wpt": "rm -rf ./test/web-platform-tests/tests && npm run init-wpt", | ||
"update-wpt": "git submodule update --recursive --remote && cd test/web-platform-tests/tests && python3 wpt.py manifest --path ../wpt-manifest.json", | ||
"update-wpt": "git submodule update --init --recursive --remote && cd test/web-platform-tests/tests && python wpt.py manifest --path ../wpt-manifest.json", | ||
"update-authors": "git log --format=\"%aN <%aE>\" | sort -f | uniq > AUTHORS.txt", | ||
@@ -86,0 +85,0 @@ "benchmark": "node ./benchmark/runner", |
@@ -68,7 +68,8 @@ <h1 align="center"> | ||
const dom = new JSDOM(`<body> | ||
<script>document.body.appendChild(document.createElement("hr"));</script> | ||
<div id="content"></div> | ||
<script>document.getElementById("content").append(document.createElement("hr"));</script> | ||
</body>`); | ||
// The script will not be executed, by default: | ||
dom.window.document.body.children.length === 1; | ||
console.log(dom.window.document.getElementById("content").children.length); // 0 | ||
``` | ||
@@ -80,7 +81,8 @@ | ||
const dom = new JSDOM(`<body> | ||
<script>document.body.appendChild(document.createElement("hr"));</script> | ||
<div id="content"></div> | ||
<script>document.getElementById("content").append(document.createElement("hr"));</script> | ||
</body>`, { runScripts: "dangerously" }); | ||
// The script will be executed and modify the DOM: | ||
dom.window.document.body.children.length === 2; | ||
console.log(dom.window.document.getElementById("content").children.length); // 1 | ||
``` | ||
@@ -97,6 +99,13 @@ | ||
```js | ||
const { window } = new JSDOM(``, { runScripts: "outside-only" }); | ||
const dom = new JSDOM(`<body> | ||
<div id="content"></div> | ||
<script>document.getElementById("content").append(document.createElement("hr"));</script> | ||
</body>`, { runScripts: "outside-only" }); | ||
window.eval(`document.body.innerHTML = "<p>Hello, world!</p>";`); | ||
window.document.body.children.length === 1; | ||
// run a script outside of JSDOM: | ||
dom.window.eval('document.getElementById("content").append(document.createElement("p"));'); | ||
console.log(dom.window.document.getElementById("content").children.length); // 1 | ||
console.log(dom.window.document.getElementsByTagName("hr").length); // 0 | ||
console.log(dom.window.document.getElementsByTagName("p").length); // 1 | ||
``` | ||
@@ -106,3 +115,3 @@ | ||
(Note that in the default configuration, without setting `runScripts`, the values of `window.Array`, `window.eval`, etc. will be the same as those provided by the outer Node.js environment. That is, `window.eval === eval` will hold, so `window.eval` will not run scripts in a useful way.) | ||
Note that in the default configuration, without setting `runScripts`, the values of `window.Array`, `window.eval`, etc. will be the same as those provided by the outer Node.js environment. That is, `window.eval === eval` will hold, so `window.eval` will not run scripts in a useful way. | ||
@@ -109,0 +118,0 @@ We strongly advise against trying to "execute scripts" by mashing together the jsdom and Node global environments (e.g. by doing `global.window = dom.window`), and then executing scripts or test code inside the Node global environment. Instead, you should treat jsdom like you would a browser, and run all scripts and tests that need access to a DOM inside the jsdom environment, using `window.eval` or `runScripts: "dangerously"`. This might require, for example, creating a browserify bundle to execute as a `<script>` element—just like you would in a browser. |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3106370
13
481
82852
522
+ Addedcssstyle@4.1.0(transitive)
+ Addedrrweb-cssom@0.7.1(transitive)
- Removedcssstyle@3.0.0(transitive)
Updatedcssstyle@^4.0.1
Updatedws@^8.16.0