Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1126)

Side by Side Diff: LayoutTests/fast/dom/Node/textContent-single-DOMSubtreeModified.html

Issue 688933002: Make textContent trigger single DOMSubtreeModified event (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Address comments Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | LayoutTests/fast/dom/Node/textContent-single-DOMSubtreeModified-expected.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!doctype html>
2 <script>
3 onload = function () {
4 var testElement = document.querySelector('#test');
5 var i=0;
6 testElement.addEventListener('DOMSubtreeModified', function() { i++; });
7 testElement.textContent = "new";
8 document.body.textContent = (i == 1) ? "PASS" : "FAIL: i=" + i;
9 }
10 </script>
11 <div id="test">old</div>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/dom/Node/textContent-single-DOMSubtreeModified-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698