Skip to content

Commit 928f862

Browse files
committed
Align with DOM's children changed steps
As indicated by whatwg/dom#800 and its tests, more than Text node changes are observed by consumers.
1 parent a9e1d2a commit 928f862

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

source

+4-4
Original file line numberDiff line numberDiff line change
@@ -3211,7 +3211,7 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
32113211
<li>The <dfn data-x="concept-node-insert-ext" data-x-href="https://dom.spec.whatwg.org/#concept-node-insert-ext">insertion steps</dfn>,
32123212
<dfn data-x="concept-node-remove-ext" data-x-href="https://dom.spec.whatwg.org/#concept-node-remove-ext">removing steps</dfn>,
32133213
<dfn data-x="concept-node-adopt-ext" data-x-href="https://dom.spec.whatwg.org/#concept-node-adopt-ext">adopting steps</dfn>, and
3214-
<dfn data-x-href="https://dom.spec.whatwg.org/#concept-node-text-change-ext">child text content change steps</dfn> hooks for elements</li>
3214+
<dfn data-x-href="https://dom.spec.whatwg.org/#concept-node-children-changed-ext">children changed steps</dfn> hooks for elements</li>
32153215
<li>The <dfn data-x="concept-element-attributes-change" data-x-href="https://dom.spec.whatwg.org/#concept-element-attributes-change">change</dfn>, <dfn data-x="concept-element-attributes-append" data-x-href="https://dom.spec.whatwg.org/#concept-element-attributes-append">append</dfn>, <dfn data-x="concept-element-attributes-remove" data-x-href="https://dom.spec.whatwg.org/#concept-element-attributes-remove">remove</dfn>, <dfn data-x="concept-element-attributes-replace" data-x-href="https://dom.spec.whatwg.org/#concept-element-attributes-replace">replace</dfn>, and <dfn data-x="concept-element-attributes-set-value" data-x-href="https://dom.spec.whatwg.org/#concept-element-attributes-set-value">set value</dfn> algorithms for attributes</li>
32163216
<li>The <dfn data-x="concept-element-attributes-change-ext" data-x-href="https://dom.spec.whatwg.org/#concept-element-attributes-change-ext">attribute change steps</dfn> hook for attributes</li>
32173217
<li>The <dfn data-x-href="https://dom.spec.whatwg.org/#concept-element-attribute">attribute list</dfn> concept</li>
@@ -15206,7 +15206,7 @@ interface <dfn>HTMLStyleElement</dfn> : <span>HTMLElement</span> {
1520615206
parser</span> or <span>XML parser</span>, and it <span>becomes connected</span> or <span
1520715207
data-x="becomes disconnected">disconnected</span>.</p></li>
1520815208

15209-
<li><p>The element's <span>child text content change steps</span> run.</p></li>
15209+
<li><p>The element's <span>children changed steps</span> run.</p></li>
1521015210
</ul>
1521115211

1521215212
<p>The <dfn data-export="">update a <code>style</code> block</dfn> algorithm is as follows:</p>
@@ -51404,8 +51404,8 @@ interface <dfn>HTMLTextAreaElement</dfn> : <span>HTMLElement</span> {
5140451404
elements must propagate the <span data-x="concept-textarea-raw-value">raw value</span> and <span
5140551405
data-x="concept-fe-dirty">dirty value flag</span> from the node being cloned to the copy.</p>
5140651406

51407-
<p>The <span>child text content change steps</span> for <code>textarea</code> elements must, if
51408-
the element's <span data-x="concept-fe-dirty">dirty value flag</span> is false, set the element's
51407+
<p>The <span>children changed steps</span> for <code>textarea</code> elements must, if the
51408+
element's <span data-x="concept-fe-dirty">dirty value flag</span> is false, set the element's
5140951409
<span data-x="concept-textarea-raw-value">raw value</span> to its <span>child text
5141051410
content</span>.</p>
5141151411

0 commit comments

Comments
 (0)