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

Side by Side Diff: LayoutTests/fast/dom/class-attr-change-double-mutation-fire.html

Issue 9570062: Merge 107726 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1025/
Patch Set: Created 8 years, 9 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
« no previous file with comments | « no previous file | LayoutTests/fast/dom/class-attr-change-double-mutation-fire-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <div id="result"></div> 3 <div id="result"></div>
4 <style> 4 <style>
5 #test {} 5 #test {}
6 </style> 6 </style>
7 <script> 7 <script>
8 if (window.layoutTestController) 8 if (window.layoutTestController)
9 layoutTestController.dumpAsText(); 9 layoutTestController.dumpAsText();
10 10
11 var count = 0; 11 var count = 0;
12 12
13 function setResult() 13 function setResult()
14 { 14 {
15 if (count == 1) 15 if (count == 1)
16 result.innerHTML = "PASS"; 16 result.innerHTML = "PASS";
17 else 17 else
18 result.innerHTML = "FAIL"; 18 result.innerHTML = "FAIL";
19 } 19 }
20 20
21 test = document.createElement('div'); 21 test = document.createElement('div');
22 test.addEventListener('DOMSubtreeModified', function() { count++; setResult(); } , false) 22 test.addEventListener('DOMSubtreeModified', function() { count++; setResult(); } , false)
23 test.setAttribute('class', 'test'); 23 test.setAttribute('class', 'test');
24 </script> 24 </script>
25 </html> 25 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/dom/class-attr-change-double-mutation-fire-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698