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

Side by Side Diff: LayoutTests/fast/dom/attribute-change-on-mutate.html

Issue 452093003: Do not fire a DOMSubtreeModified event when Attr.value attribute is set (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix typo Created 6 years, 4 months 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 <script>
2 if (window.testRunner)
3 testRunner.dumpAsText();
4
5 window.onload = function()
6 {
7 attr = document.createAttribute("attr");
8 attr.appendChild(document.createTextNode("FAIL"));
9 attr.addEventListener("DOMSubtreeModified", function () { document.body.inne rHTML = this.value }, false);
10 attr.value = "PASS: Mutation events delayed during Attr modification.";
11 }
12 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698