Skip to content

Commit

Permalink
Treat a null elementNs in getPropertyType/geAtributeType as the HTML …
Browse files Browse the repository at this point in the history
…namespace (#557)

SHA: 3f3a848
Reason: push, by koto

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
fred-wang and github-actions[bot] committed Oct 28, 2024
1 parent 5199a9f commit b3b89d7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dist/spec/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<link href="https://www.w3.org/StyleSheets/TR/2021/W3C-ED" rel="stylesheet">
<meta content="Bikeshed version 82ce88815, updated Thu Sep 7 16:33:55 2023 -0700" name="generator">
<link href="https://www.w3.org/TR/trusted-types/" rel="canonical">
<meta content="e5717b9115a72d8fdcc303dba8f9b467e76ceaac" name="document-revision">
<meta content="3f3a848fde52b235d2abceac9742a4c0873c5fab" name="document-revision">
<style>/* Boilerplate: style-autolinks */
.css.css, .property.property, .descriptor.descriptor {
color: var(--a-normal-text);
Expand Down Expand Up @@ -1715,7 +1715,7 @@ <h4 class="heading settled" data-level="2.3.1" id="trusted-type-policy-factory">
<li data-md>
<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>
<li data-md>
<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>
<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>
<li data-md>
<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>
<li data-md>
Expand Down Expand Up @@ -1780,7 +1780,7 @@ <h4 class="heading settled" data-level="2.3.1" id="trusted-type-policy-factory">
<li data-md>
<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>
<li data-md>
<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>
<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>
<li data-md>
<p>If <var>attrNs</var> is an empty string, set <var>attrNs</var> to null.</p>
<li data-md>
Expand Down

0 comments on commit b3b89d7

Please sign in to comment.