Skip to content

Commit b3b89d7

Browse files
Treat a null elementNs in getPropertyType/geAtributeType as the HTML namespace (#557)
SHA: 3f3a848 Reason: push, by koto Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 5199a9f commit b3b89d7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

dist/spec/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<link href="https://www.w3.org/StyleSheets/TR/2021/W3C-ED" rel="stylesheet">
88
<meta content="Bikeshed version 82ce88815, updated Thu Sep 7 16:33:55 2023 -0700" name="generator">
99
<link href="https://www.w3.org/TR/trusted-types/" rel="canonical">
10-
<meta content="e5717b9115a72d8fdcc303dba8f9b467e76ceaac" name="document-revision">
10+
<meta content="3f3a848fde52b235d2abceac9742a4c0873c5fab" name="document-revision">
1111
<style>/* Boilerplate: style-autolinks */
1212
.css.css, .property.property, .descriptor.descriptor {
1313
color: var(--a-normal-text);
@@ -1715,7 +1715,7 @@ <h4 class="heading settled" data-level="2.3.1" id="trusted-type-policy-factory">
17151715
<li data-md>
17161716
<p>Set <var>localName</var> to <var>tagName</var> in <a data-link-type="dfn" href="https://infra.spec.whatwg.org/#ascii-lowercase" id="ref-for-ascii-lowercase">ASCII lowercase</a>.</p>
17171717
<li data-md>
1718-
<p>If <var>elementNs</var> is an empty string, set <var>elementNs</var> to <a data-link-type="dfn" href="https://infra.spec.whatwg.org/#html-namespace" id="ref-for-html-namespace">HTML namespace</a>.</p>
1718+
<p>If <var>elementNs</var> is null or an empty string, set <var>elementNs</var> to <a data-link-type="dfn" href="https://infra.spec.whatwg.org/#html-namespace" id="ref-for-html-namespace">HTML namespace</a>.</p>
17191719
<li data-md>
17201720
<p>Let <var>interface</var> be the <a data-link-type="dfn" href="https://dom.spec.whatwg.org/#concept-element-interface" id="ref-for-concept-element-interface">element interface</a> for <var>localName</var> and <var>elementNs</var>.</p>
17211721
<li data-md>
@@ -1780,7 +1780,7 @@ <h4 class="heading settled" data-level="2.3.1" id="trusted-type-policy-factory">
17801780
<li data-md>
17811781
<p>Set <var>attribute</var> to <var>attribute</var> in <a data-link-type="dfn" href="https://infra.spec.whatwg.org/#ascii-lowercase" id="ref-for-ascii-lowercase②">ASCII lowercase</a>.</p>
17821782
<li data-md>
1783-
<p>If <var>elementNs</var> is an empty string, set <var>elementNs</var> to <a data-link-type="dfn" href="https://infra.spec.whatwg.org/#html-namespace" id="ref-for-html-namespace①">HTML namespace</a>.</p>
1783+
<p>If <var>elementNs</var> is null or an empty string, set <var>elementNs</var> to <a data-link-type="dfn" href="https://infra.spec.whatwg.org/#html-namespace" id="ref-for-html-namespace①">HTML namespace</a>.</p>
17841784
<li data-md>
17851785
<p>If <var>attrNs</var> is an empty string, set <var>attrNs</var> to null.</p>
17861786
<li data-md>

0 commit comments

Comments
 (0)