Skip to content

Commit

Permalink
deploy: 15dda3d
Browse files Browse the repository at this point in the history
  • Loading branch information
domenic committed Nov 14, 2023
1 parent 98d8a59 commit 4e13241
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions speculation-rules.html
Original file line number Diff line number Diff line change
Expand Up @@ -1572,7 +1572,7 @@ <h3 class="heading settled" data-level="1.8" id="document-rule-predicate-matchin
<p><a data-link-type="dfn" href="https://infra.spec.whatwg.org/#list-iterate" id="ref-for-list-iterate②①">For each</a> <var>selector</var> of <var>predicate</var>’s <a data-link-type="dfn" href="#document-rule-css-selector-predicate-selectors" id="ref-for-document-rule-css-selector-predicate-selectors①">selectors</a>:</p>
<ol>
<li data-md>
<p><a data-link-type="dfn" href="https://drafts.csswg.org/selectors-4/#match-a-selector-against-an-element" id="ref-for-match-a-selector-against-an-element">Match</a> <var>selector</var> against <var>el</var> with the <a data-link-type="dfn" href="https://drafts.csswg.org/selectors-4/#scoping-root" id="ref-for-scoping-root">scoping root</a> set to <var>el</var>’s <a data-link-type="dfn" href="https://dom.spec.whatwg.org/#concept-node-document" id="ref-for-concept-node-document③">node document</a>. If the result is true, return true.</p>
<p><a data-link-type="dfn" href="https://drafts.csswg.org/selectors-4/#match-a-selector-against-an-element" id="ref-for-match-a-selector-against-an-element">Match</a> <var>selector</var> against <var>el</var> with the <a data-link-type="dfn" href="https://drafts.csswg.org/selectors-4/#scoping-root" id="ref-for-scoping-root">scoping root</a> set to <var>el</var>’s <a data-link-type="dfn" href="https://dom.spec.whatwg.org/#concept-tree-root" id="ref-for-concept-tree-root">root</a>. If the result is true, return true.</p>
<p>During this step, user agents must apply the same privacy restrictions to the <a class="css" data-link-type="maybe" href="https://drafts.csswg.org/selectors-4/#visited-pseudo" id="ref-for-visited-pseudo">:visited</a> pseudo-class as they would to other selector matching logic that could be observed by authors (e.g., <code class="idl"><a data-link-type="idl" href="https://dom.spec.whatwg.org/#dom-parentnode-queryselector" id="ref-for-dom-parentnode-queryselector">querySelector(selectors)</a></code>).</p>
<div class="advisement"> This is important to prevent this from opening an avenue for attackers to gather information about a user’s browsing history, e.g., by using a selector such as <code>:root:has(.sensitive-site:visited) .report-sensitive-site</code>. See the <a href="#privacy-visited-links">Privacy Considerations</a> section. </div>
</ol>
Expand Down Expand Up @@ -1867,6 +1867,7 @@ <h3 class="no-num no-ref heading settled" id="index-defined-elsewhere"><span cla
<li><span class="dfn-paneled" id="5216e1a0">node document</span>
<li><span class="dfn-paneled" id="c62cd7cf">origin</span>
<li><span class="dfn-paneled" id="31e1cce6">querySelector(selectors)</span>
<li><span class="dfn-paneled" id="f7960529">root</span>
<li><span class="dfn-paneled" id="fd32e3c9">shadow-including descendant</span>
<li><span class="dfn-paneled" id="fefa5851">shadow-including tree order</span>
</ul>
Expand Down Expand Up @@ -2408,9 +2409,10 @@ <h2 class="no-num no-ref heading settled" id="issues-index"><span class="content
window.dfnpanelData['631f76db'] = {"dfnID": "631f76db", "url": "https://dom.spec.whatwg.org/#concept-child-text-content", "dfnText": "child text content", "refSections": [{"refs": [{"id": "ref-for-concept-child-text-content"}], "title": "1.2. The script element"}], "external": true};
window.dfnpanelData['29149164'] = {"dfnID": "29149164", "url": "https://dom.spec.whatwg.org/#concept-node-children-changed-ext", "dfnText": "children changed steps", "refSections": [{"refs": [{"id": "ref-for-concept-node-children-changed-ext"}], "title": "1.2. The script element"}], "external": true};
window.dfnpanelData['a973e0fe'] = {"dfnID": "a973e0fe", "url": "https://dom.spec.whatwg.org/#concept-document", "dfnText": "document", "refSections": [{"refs": [{"id": "ref-for-concept-document"}], "title": "1.4. The `Speculation-Rules` header"}, {"refs": [{"id": "ref-for-concept-document\u2460"}, {"id": "ref-for-concept-document\u2461"}, {"id": "ref-for-concept-document\u2462"}], "title": "1.5. External speculation rule sets"}, {"refs": [{"id": "ref-for-concept-document\u2463"}, {"id": "ref-for-concept-document\u2464"}, {"id": "ref-for-concept-document\u2465"}], "title": "1.6. Parsing"}, {"refs": [{"id": "ref-for-concept-document\u2466"}, {"id": "ref-for-concept-document\u2467"}, {"id": "ref-for-concept-document\u2468"}, {"id": "ref-for-concept-document\u2460\u24ea"}], "title": "1.7. Processing model"}], "external": true};
window.dfnpanelData['5216e1a0'] = {"dfnID": "5216e1a0", "url": "https://dom.spec.whatwg.org/#concept-node-document", "dfnText": "node document", "refSections": [{"refs": [{"id": "ref-for-concept-node-document"}, {"id": "ref-for-concept-node-document\u2460"}], "title": "1.2. The script element"}, {"refs": [{"id": "ref-for-concept-node-document\u2461"}], "title": "1.3. Prepare the script element"}, {"refs": [{"id": "ref-for-concept-node-document\u2462"}], "title": "1.8. Document rule predicate matching"}], "external": true};
window.dfnpanelData['5216e1a0'] = {"dfnID": "5216e1a0", "url": "https://dom.spec.whatwg.org/#concept-node-document", "dfnText": "node document", "refSections": [{"refs": [{"id": "ref-for-concept-node-document"}, {"id": "ref-for-concept-node-document\u2460"}], "title": "1.2. The script element"}, {"refs": [{"id": "ref-for-concept-node-document\u2461"}], "title": "1.3. Prepare the script element"}], "external": true};
window.dfnpanelData['c62cd7cf'] = {"dfnID": "c62cd7cf", "url": "https://dom.spec.whatwg.org/#concept-document-origin", "dfnText": "origin", "refSections": [{"refs": [{"id": "ref-for-concept-document-origin"}], "title": "1.7. Processing model"}], "external": true};
window.dfnpanelData['31e1cce6'] = {"dfnID": "31e1cce6", "url": "https://dom.spec.whatwg.org/#dom-parentnode-queryselector", "dfnText": "querySelector(selectors)", "refSections": [{"refs": [{"id": "ref-for-dom-parentnode-queryselector"}], "title": "1.8. Document rule predicate matching"}], "external": true};
window.dfnpanelData['f7960529'] = {"dfnID": "f7960529", "url": "https://dom.spec.whatwg.org/#concept-tree-root", "dfnText": "root", "refSections": [{"refs": [{"id": "ref-for-concept-tree-root"}], "title": "1.8. Document rule predicate matching"}], "external": true};
window.dfnpanelData['fd32e3c9'] = {"dfnID": "fd32e3c9", "url": "https://dom.spec.whatwg.org/#concept-shadow-including-descendant", "dfnText": "shadow-including descendant", "refSections": [{"refs": [{"id": "ref-for-concept-shadow-including-descendant"}], "title": "1.7. Processing model"}], "external": true};
window.dfnpanelData['fefa5851'] = {"dfnID": "fefa5851", "url": "https://dom.spec.whatwg.org/#concept-shadow-including-tree-order", "dfnText": "shadow-including tree order", "refSections": [{"refs": [{"id": "ref-for-concept-shadow-including-tree-order"}], "title": "1.7. Processing model"}], "external": true};
window.dfnpanelData['b0fcb8d7'] = {"dfnID": "b0fcb8d7", "url": "https://encoding.spec.whatwg.org/#utf-8-decode", "dfnText": "utf-8 decode", "refSections": [{"refs": [{"id": "ref-for-utf-8-decode"}], "title": "1.5. External speculation rule sets"}], "external": true};
Expand Down

0 comments on commit 4e13241

Please sign in to comment.