Skip to content

Commit 09ec343

Browse files
authored
Editorial: remove no-op data-x-for attributes
Wattsi doesn't use this attribute, it has no effect. data-x="concept-document-url" and data-x="concept-document-origin" are already used to link to these definitions, no for="" needed.
1 parent 7521401 commit 09ec343

File tree

1 file changed

+10
-11
lines changed

1 file changed

+10
-11
lines changed

source

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10806,13 +10806,13 @@ o.myself = o;</code></pre>
1080610806
<ref>DOM</ref></p>
1080710807

1080810808
<p>The <code>Document</code> object's <dfn id="the-document's-address"
10809-
data-x="concept-document-url" data-x-href="https://dom.spec.whatwg.org/#concept-document-url"
10810-
data-x-for="Document">URL</dfn> is defined in <cite>DOM</cite>. It is initially set when
10811-
the <code>Document</code> object is created, but can change during the lifetime of the
10812-
<code>Document</code> object; for example, it changes when the user <span
10813-
data-x="navigate">navigates</span> to a <span data-x="navigate-fragid">fragment</span> on the page
10814-
and when the <code data-x="dom-history-pushState">pushState()</code> method is called with a new
10815-
<span>URL</span>. <ref>DOM</ref></p>
10809+
data-x="concept-document-url"
10810+
data-x-href="https://dom.spec.whatwg.org/#concept-document-url">URL</dfn> is defined in
10811+
<cite>DOM</cite>. It is initially set when the <code>Document</code> object is created, but can
10812+
change during the lifetime of the <code>Document</code> object; for example, it changes when the
10813+
user <span data-x="navigate">navigates</span> to a <span data-x="navigate-fragid">fragment</span>
10814+
on the page and when the <code data-x="dom-history-pushState">pushState()</code> method is called
10815+
with a new <span>URL</span>. <ref>DOM</ref></p>
1081610816
<!--
1081710817
https://www.hixie.ch/tests/adhoc/dom/level0/history/pushState/002/
1081810818
https://www.hixie.ch/tests/adhoc/html/navigation/fragids/016.html
@@ -10823,10 +10823,9 @@ o.myself = o;</code></pre>
1082310823
mechanism by which a user can tell if a site is attempting to impersonate another.</p>
1082410824

1082510825
<p>The <code>Document</code> object's <dfn data-x="concept-document-origin"
10826-
data-x-href="https://dom.spec.whatwg.org/#concept-document-origin"
10827-
data-x-for="Document">origin</dfn> is defined in <cite>DOM</cite>. It is initially set when the
10828-
<code>Document</code> object is created, and can change during the lifetime of the
10829-
<code>Document</code> only upon setting <code
10826+
data-x-href="https://dom.spec.whatwg.org/#concept-document-origin">origin</dfn> is defined in
10827+
<cite>DOM</cite>. It is initially set when the <code>Document</code> object is created, and can
10828+
change during the lifetime of the <code>Document</code> only upon setting <code
1083010829
data-x="dom-document-domain">document.domain</code>. A <code>Document</code>'s <span
1083110830
data-x="concept-document-origin">origin</span> can differ from the <span
1083210831
data-x="concept-url-origin">origin</span> of its <span data-x="concept-document-url">URL</span>;

0 commit comments

Comments
 (0)