Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Editorial: remove no-op data-x-for attributes #11125

Merged
merged 1 commit into from
Mar 12, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 10 additions & 11 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -10806,13 +10806,13 @@ o.myself = o;</code></pre>
<ref>DOM</ref></p>

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

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