@@ -125768,7 +125768,7 @@ interface <dfn interface>Sanitizer</dfn> {
125768125768 then:</p>
125769125769
125770125770 <ol>
125771- <li><p><span data-x="sanitizer config list remove target ">Remove</span> <var>pi</var> from
125771+ <li><p><span data-x="remove prcessing instruction from sanitizer config list">Remove</span> <var>pi</var> from
125772125772 <var>configuration</var>["<code
125773125773 data-x="dom-SanitizerConfig-removeProcessingInstructions">removeProcessingInstructions</code>"].</p></li>
125774125774
@@ -125803,7 +125803,7 @@ interface <dfn interface>Sanitizer</dfn> {
125803125803 data-x="contains a processing instruction target">contains</span> <var>pi</var>, then:</p>
125804125804
125805125805 <ol>
125806- <li><p><span data-x="sanitizer config list remove target ">Remove</span> <var>pi</var> from
125806+ <li><p><span data-x="remove prcessing instruction from sanitizer config list">Remove</span> <var>pi</var> from
125807125807 <var>configuration</var>["<code
125808125808 data-x="dom-SanitizerConfig-processingInstructions">processingInstructions</code>"].</p></li>
125809125809
@@ -126433,7 +126433,7 @@ dictionary <dfn dictionary>SanitizerConfig</dfn> {
126433126433
126434126434 <li><p>Set <var>element</var>["<code
126435126435 data-x="dom-SanitizerElementNamespaceWithAttributes-attributes">attributes</code>"] to the
126436- <span>set/difference</span> of <var>element</var>["<code
126436+ <span data-x="sanitizer config list difference" >set/difference</span> of <var>element</var>["<code
126437126437 data-x="dom-SanitizerElementNamespaceWithAttributes-attributes">attributes</code>"] and
126438126438 <var>configuration</var>["<code
126439126439 data-x="dom-SanitizerConfig-attributes">attributes</code>"].</p></li>
@@ -126458,7 +126458,7 @@ dictionary <dfn dictionary>SanitizerConfig</dfn> {
126458126458
126459126459 <li><p>Set <var>element</var>["<code
126460126460 data-x="dom-SanitizerElementNamespaceWithAttributes-removeAttributes">removeAttributes</code>"]
126461- to the <span>intersection</span> of <var>element</var>["<code
126461+ to the <span data-x="intersect sanitizer config lists" >intersection</span> of <var>element</var>["<code
126462126462 data-x="dom-SanitizerElementNamespaceWithAttributes-removeAttributes">removeAttributes</code>"]
126463126463 and <var>configuration</var>["<code
126464126464 data-x="dom-SanitizerConfig-attributes">attributes</code>"].</p></li>
@@ -126482,7 +126482,7 @@ dictionary <dfn dictionary>SanitizerConfig</dfn> {
126482126482
126483126483 <li><p>Set <var>element</var>["<code
126484126484 data-x="dom-SanitizerElementNamespaceWithAttributes-attributes">attributes</code>"] to the
126485- <span>set/difference</span> of <var>element</var>["<code
126485+ <span data-x="sanitizer config list difference" >set/difference</span> of <var>element</var>["<code
126486126486 data-x="dom-SanitizerElementNamespaceWithAttributes-attributes">attributes</code>"] and
126487126487 <var>element</var>["<code
126488126488 data-x="dom-SanitizerElementNamespaceWithAttributes-removeAttributes">removeAttributes</code>"]
@@ -126493,7 +126493,7 @@ dictionary <dfn dictionary>SanitizerConfig</dfn> {
126493126493
126494126494 <li><p>Set <var>element</var>["<code
126495126495 data-x="dom-SanitizerElementNamespaceWithAttributes-attributes">attributes</code>"] to the
126496- <span>set/difference</span> of <var>element</var>["<code
126496+ <span data-x="sanitizer config list difference" >set/difference</span> of <var>element</var>["<code
126497126497 data-x="dom-SanitizerElementNamespaceWithAttributes-attributes">attributes</code>"] and
126498126498 <var>configuration</var>["<code
126499126499 data-x="dom-SanitizerConfig-removeAttributes">removeAttributes</code>"].</p></li>
@@ -126512,7 +126512,7 @@ dictionary <dfn dictionary>SanitizerConfig</dfn> {
126512126512
126513126513 <li><p>Set <var>element</var>["<code
126514126514 data-x="dom-SanitizerElementNamespaceWithAttributes-removeAttributes">removeAttributes</code>"]
126515- to the <span>set/difference</span> of <var>element</var>["<code
126515+ to the <span data-x="sanitizer config list difference" >set/difference</span> of <var>element</var>["<code
126516126516 data-x="dom-SanitizerElementNamespaceWithAttributes-removeAttributes">removeAttributes</code>"]
126517126517 and <var>configuration</var>["<code
126518126518 data-x="dom-SanitizerConfig-removeAttributes">removeAttributes</code>"].</p></li>
@@ -126587,7 +126587,7 @@ dictionary <dfn dictionary>SanitizerConfig</dfn> {
126587126587 <div algorithm>
126588126588 <p>The <dfn method for="Sanitizer"><code
126589126589 data-x="dom-Sanitizer-removeElement">removeElement(<var>element</var>)</code></dfn> method steps
126590- are to return the result of <span> remove an element</span> with <var>element</var> and
126590+ are to return the result of <span data-x=" remove an element from sanitizer config">removing </span> <var>element</var> from
126591126591 <span>this</span>'s <span>configuration</span>.</p>
126592126592 </div>
126593126593
@@ -126709,7 +126709,7 @@ dictionary <dfn dictionary>SanitizerConfig</dfn> {
126709126709 <div algorithm>
126710126710 <p>The <dfn method for="Sanitizer"><code
126711126711 data-x="dom-Sanitizer-removeAttribute">removeAttribute(<var>attribute</var>)</code></dfn> method
126712- steps are to return the result of <span>remove an attribute</span> with <var>attribute</var> and
126712+ steps are to return the result of <span data-x="remove an attribute from sanitizer config" >remove an attribute</span> with <var>attribute</var> and
126713126713 <span>this</span>'s <span>configuration</span>.</p>
126714126714 </div>
126715126715
@@ -127021,7 +127021,7 @@ dictionary <dfn dictionary>SanitizerConfig</dfn> {
127021127021 data-x="dom-SanitizerElementNamespaceWithAttributes-removeAttributes">removeAttributes</code>"]
127022127022 <span data-x="map exists">exists</span> and <var>elementWithLocalAttributes</var>["<code
127023127023 data-x="dom-SanitizerElementNamespaceWithAttributes-removeAttributes">removeAttributes</code>"]
127024- <span>sanitizer config list contains</span> <var>attrName</var>, then <span>remove an
127024+ <span>sanitizer config list contains</span> <var>attrName</var>, then <span data-x="remove an attribute from sanitizer config" >remove an
127025127025 attribute</span> <var>attribute</var>.</p></li>
127026127026
127027127027 <li><p>Otherwise, if <var>configuration</var>["<code
@@ -127040,7 +127040,7 @@ dictionary <dfn dictionary>SanitizerConfig</dfn> {
127040127040 data-x="concept-attribute-namespace">namespace</span> is not null or
127041127041 <var>configuration</var>["<code
127042127042 data-x="dom-SanitizerConfig-dataAttributes">dataAttributes</code>"] is not true, then
127043- <span>remove an attribute</span> <var>attribute</var>.</p></li>
127043+ <span data-x="remove an attribute from sanitizer config" >remove an attribute</span> <var>attribute</var>.</p></li>
127044127044 </ol>
127045127045 </li>
127046127046
@@ -127050,36 +127050,33 @@ dictionary <dfn dictionary>SanitizerConfig</dfn> {
127050127050 data-x="dom-SanitizerElementNamespaceWithAttributes-attributes">attributes</code>"] <span
127051127051 data-x="map exists">exists</span> and <var>elementWithLocalAttributes</var>["<code
127052127052 data-x="dom-SanitizerElementNamespaceWithAttributes-attributes">attributes</code>"] does
127053- not <span>sanitizer config list contains</span> <var>attrName</var>, then <span>remove an
127054- attribute</span> <var>attribute</var>.</p></li>
127053+ not <span>sanitizer config list contains</span> <var>attrName</var>, then <span data-x="remove an attribute from sanitizer config">remove</span> <var>attribute</var> from <var>configuration</var>.</p></li>
127055127054
127056127055 <li><p>Otherwise, if <var>configuration</var>["<code
127057127056 data-x="dom-SanitizerConfig-removeAttributes">removeAttributes</code>"] <span
127058- data-x="list contains">contains</span> <var>attrName</var>, then <span>remove an
127059- attribute</span> <var>attribute</var>.</p></li>
127057+ data-x="list contains">contains</span> <var>attrName</var>, then <span data-x="remove an attribute from sanitizer config">remove</span> <var>attribute</var> from <var>configuration</var>.</p></li>
127060127058 </ol>
127061127059 </li>
127062127060
127063127061 <li><p>If <var>handleJavascriptNavigationUrls</var> is true, then:</p>
127064127062 <ol>
127065127063 <li><p>If the pair (<var>elementName</var>, <var>attrName</var>) matches an entry in the
127066127064 <span>built-in navigating URL attributes list</span>, and if <var>attribute</var>
127067- <span>contains a javascript: URL</span>, then <span>remove an attribute</span>
127065+ <span>contains a <code> javascript:</code> URL</span>, then <span data-x="remove an attribute from sanitizer config" >remove an attribute</span>
127068127066 <var>attribute</var>.</p></li>
127069127067
127070127068 <li><p>If <var>child</var>'s <span data-x="concept-element-namespace">namespace</span> is
127071127069 the <span>MathML Namespace</span>, <var>attribute</var>'s <span
127072127070 data-x="concept-attribute-local-name">local name</span> is "<code data-x="">href</code>",
127073127071 and <var>attribute</var>'s <span data-x="concept-attribute-namespace">namespace</span> is
127074127072 null or the <span>XLink namespace</span>, and <var>attribute</var> <span>contains a
127075- javascript: URL</span>, then <span>remove an attribute</span>
127073+ javascript: URL</span>, then <span data-x="remove an attribute from sanitizer config" >remove an attribute</span>
127076127074 <var>attribute</var>.</p></li>
127077127075
127078127076 <li><p>If the <span>built-in animating URL attributes list</span> <span data-x="list
127079127077 contains">contains</span> the pair (<var>elementName</var>, <var>attrName</var>), and
127080127078 <var>attribute</var>'s <span data-x="concept-attribute-value">value</span> is "<code
127081- data-x="">href</code>" or "<code data-x="">xlink:href</code>", then <span>remove an
127082- attribute</span> <var>attribute</var>.</p></li>
127079+ data-x="">href</code>" or "<code data-x="">xlink:href</code>", then <span data-x="remove an attribute from sanitizer config">remove</span> <var>attribute</var> from <var>configuration</var>.</p></li>
127083127080 </ol>
127084127081 </li>
127085127082 </ol>
@@ -127095,7 +127092,7 @@ dictionary <dfn dictionary>SanitizerConfig</dfn> {
127095127092 </div>
127096127093
127097127094 <div algorithm>
127098- <p>To determine whether an attribute <var>attribute</var> <dfn>contains a javascript:
127095+ <p>To determine whether an attribute <var>attribute</var> <dfn>contains a <code> javascript:</code>
127099127096 URL</dfn>:</p>
127100127097
127101127098 <ol>
@@ -127239,7 +127236,7 @@ dictionary <dfn dictionary>SanitizerConfig</dfn> {
127239127236 </ul>
127240127237
127241127238 <div algorithm>
127242- <p>To <dfn>remove an element</dfn> <var>element</var> from a <span>SanitizerConfig</span>
127239+ <p>To <dfn data-x="remove an element from sanitizer config" >remove an element</dfn> <var>element</var> from a <span>SanitizerConfig</span>
127243127240 <var>configuration</var>:</p>
127244127241
127245127242 <ol>
@@ -127292,7 +127289,7 @@ dictionary <dfn dictionary>SanitizerConfig</dfn> {
127292127289 </div>
127293127290
127294127291 <div algorithm>
127295- <p>To <dfn>remove an attribute</dfn> <var>attribute</var> from a <span>SanitizerConfig</span>
127292+ <p>To <dfn data-x="remove an attribute from sanitizer config" >remove an attribute</dfn> <var>attribute</var> from a <span>SanitizerConfig</span>
127296127293 <var>configuration</var>:</p>
127297127294
127298127295 <ol>
@@ -127414,7 +127411,7 @@ dictionary <dfn dictionary>SanitizerConfig</dfn> {
127414127411 data-x="dom-SanitizerConfig-removeElements">removeElements</code>"]:</p>
127415127412
127416127413 <ol>
127417- <li><p>If <span> remove an element</span> <var>element</var> from <var>configuration</var> is
127414+ <li><p>If <span data-x=" remove an element from sanitizer config">removing </span> <var>element</var> from <var>configuration</var> is
127418127415 true, then set <var>result</var> to true.</p></li>
127419127416 </ol>
127420127417 </li>
@@ -127424,17 +127421,17 @@ dictionary <dfn dictionary>SanitizerConfig</dfn> {
127424127421 data-x="dom-SanitizerConfig-removeAttributes">removeAttributes</code>"]:</p>
127425127422
127426127423 <ol>
127427- <li><p>If <span> remove an attribute</span> <var>attribute</var> from <var>configuration</var>
127428- is true, then set <var>result</var> to true.</p></li>
127424+ <li><p>If <span data-x=" remove an attribute from sanitizer config">removing </span> <var>attribute</var> from <var>configuration</var>
127425+ returned true, then set <var>result</var> to true.</p></li>
127429127426 </ol>
127430127427 </li>
127431127428
127432127429 <li><p><span data-x="list iterate">For each</span> <var>attribute</var> that is an <span
127433127430 data-x="event handler content attributes">event handler content attribute</span>:</p>
127434127431
127435127432 <ol>
127436- <li><p>If <span> remove an attribute</span> <var>attribute</var> from <var>configuration</var>
127437- is true, then set <var>result</var> to true.</p></li>
127433+ <li><p>If <span data-x=" remove an attribute from sanitizer config">removing </span> <var>attribute</var> from <var>configuration</var>
127434+ returned true, then set <var>result</var> to true.</p></li>
127438127435 </ol>
127439127436 </li>
127440127437
@@ -127523,7 +127520,7 @@ dictionary <dfn dictionary>SanitizerConfig</dfn> {
127523127520 </div>
127524127521
127525127522 <div algorithm>
127526- <p>To <dfn>sanitizer config list remove target </dfn>, given an item <var>item</var> and a list
127523+ <p>To <dfn>remove prcessing instruction from sanitizer config list</dfn>, given an item <var>item</var> and a list
127527127524 <var>list</var>:</p>
127528127525 <ol>
127529127526 <li><p>Let <var>removed</var> be false.</p></li>
@@ -127736,7 +127733,7 @@ dictionary <dfn dictionary>SanitizerConfig</dfn> {
127736127733 <li><p>If <var>config</var>["<code data-x="dom-SanitizerConfig-elements">elements</code>"]
127737127734 <span data-x="map exists">exists</span>:</p>
127738127735 <ol>
127739- <li><p>If the <span>intersection</span> of <var>config</var>["<code
127736+ <li><p>If the <span data-x="intersect sanitizer config lists" >intersection</span> of <var>config</var>["<code
127740127737 data-x="dom-SanitizerConfig-elements">elements</code>"] and <var>config</var>["<code
127741127738 data-x="dom-SanitizerConfig-replaceWithChildrenElements">replaceWithChildrenElements</code>"]
127742127739 is not empty, then return false.</p></li>
@@ -127745,7 +127742,7 @@ dictionary <dfn dictionary>SanitizerConfig</dfn> {
127745127742
127746127743 <li><p>Otherwise:</p>
127747127744 <ol>
127748- <li><p>If the <span>intersection</span> of <var>config</var>["<code
127745+ <li><p>If the <span data-x="intersect sanitizer config lists" >intersection</span> of <var>config</var>["<code
127749127746 data-x="dom-SanitizerConfig-removeElements">removeElements</code>"] and
127750127747 <var>config</var>["<code
127751127748 data-x="dom-SanitizerConfig-replaceWithChildrenElements">replaceWithChildrenElements</code>"]
@@ -127780,14 +127777,14 @@ dictionary <dfn dictionary>SanitizerConfig</dfn> {
127780127777 data-x="dom-SanitizerElementNamespaceWithAttributes-removeAttributes">removeAttributes</code>"]
127781127778 <span>has duplicates</span>, then return false.</p></li>
127782127779
127783- <li><p>If the <span>intersection</span> of <var>config</var>["<code
127780+ <li><p>If the <span data-x="intersect sanitizer config lists" >intersection</span> of <var>config</var>["<code
127784127781 data-x="dom-SanitizerConfig-attributes">attributes</code>"] and <var>element</var>["<code
127785127782 data-x="dom-SanitizerElementNamespaceWithAttributes-attributes">attributes</code>"] (or an
127786127783 empty list if it does not exist) is not empty, then return false.</p></li>
127787127784
127788127785 <li><p>If <var>element</var>["<code
127789127786 data-x="dom-SanitizerElementNamespaceWithAttributes-removeAttributes">removeAttributes</code>"]
127790- (or an empty list if it does not exist) is not a <span>subset</span> of
127787+ (or an empty list if it does not exist) is not a <span data-x="subset of sanitizer config" >subset</span> of
127791127788 <var>config</var>["<code data-x="dom-SanitizerConfig-attributes">attributes</code>"], then
127792127789 return false.</p></li>
127793127790
@@ -127834,13 +127831,13 @@ dictionary <dfn dictionary>SanitizerConfig</dfn> {
127834127831 data-x="dom-SanitizerElementNamespaceWithAttributes-removeAttributes">removeAttributes</code>"]
127835127832 <span>has duplicates</span>, then return false.</p></li>
127836127833
127837- <li><p>If the <span>intersection</span> of <var>config</var>["<code
127834+ <li><p>If the <span data-x="intersect sanitizer config lists" >intersection</span> of <var>config</var>["<code
127838127835 data-x="dom-SanitizerConfig-removeAttributes">removeAttributes</code>"] and
127839127836 <var>element</var>["<code
127840127837 data-x="dom-SanitizerElementNamespaceWithAttributes-attributes">attributes</code>"] (or an
127841127838 empty list if it does not exist) is not empty, then return false.</p></li>
127842127839
127843- <li><p>If the <span>intersection</span> of <var>config</var>["<code
127840+ <li><p>If the <span data-x="intersect sanitizer config lists" >intersection</span> of <var>config</var>["<code
127844127841 data-x="dom-SanitizerConfig-removeAttributes">removeAttributes</code>"] and
127845127842 <var>element</var>["<code
127846127843 data-x="dom-SanitizerElementNamespaceWithAttributes-removeAttributes">removeAttributes</code>"]
@@ -127890,18 +127887,18 @@ dictionary <dfn dictionary>SanitizerConfig</dfn> {
127890127887 </div>
127891127888
127892127889 <div algorithm>
127893- <p>The <dfn>intersection</dfn> of two lists <var>A</var> and <var>B</var> containing
127890+ <p>The <dfn data-x="intersect sanitizer config lists" >intersection of sanitizer config lists</dfn> <var>A</var> and <var>B</var> containing
127894127891 <span>SanitizerElement</span> or <span>SanitizerAttribute</span> items is a <span>list</span>
127895127892 containing all items that are present in both <var>A</var> and <var>B</var>.</p>
127896127893 </div>
127897127894
127898127895 <div algorithm>
127899- <p>A list <var>A</var> is a <dfn>subset</dfn> of a list <var>B</var> if every item in <var>A</var>
127900- is also present in <var>B</var>.</p>
127896+ <p>A list <var>A</var> is a <dfn data-x="subset of sanitizer config" >subset</dfn> of a list <var>B</var> if <var>A</var>
127897+ <span data-x="sanitizer config list contains">contains</span> everyh item in <var>B</var>.</p>
127901127898 </div>
127902127899
127903127900 <div algorithm>
127904- <p>To compute the <dfn data-x="set/ difference">difference</dfn> of two lists <var>A</var> and
127901+ <p>To compute the <dfn data-x="sanitizer config list difference">difference</dfn> of two lists <var>A</var> and
127905127902 <var>B</var>:</p>
127906127903
127907127904 <ol>
@@ -127920,7 +127917,7 @@ dictionary <dfn dictionary>SanitizerConfig</dfn> {
127920127917
127921127918 <div algorithm>
127922127919 <p>Two lists <var>A</var> and <var>B</var> are <dfn data-x="set/equal">equal</dfn> if <var>A</var>
127923- is a <span>subset</span> of <var>B</var> and <var>B</var> is a <span>subset</span> of
127920+ is a <span data-x="subset of sanitizer config" >subset</span> of <var>B</var> and <var>B</var> is a <span data-x="subset of sanitizer config" >subset</span> of
127924127921 <var>A</var>.</p>
127925127922 </div>
127926127923
0 commit comments