Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dom / class-attr-change-double-mutation-fire.html
blob207b4c38a9904d816370b8628c70c33ba222d1c6
1 <!DOCTYPE html>
2 <html>
3 <div id="result"></div>
4 <style>
5 #test {}
6 </style>
7 <script>
8 if (window.testRunner)
9 testRunner.dumpAsText();
11 var count = 0;
13 function setResult()
15 if (count == 1)
16 result.innerHTML = "PASS";
17 else
18 result.innerHTML = "FAIL";
21 test = document.createElement('div');
22 test.addEventListener('DOMSubtreeModified', function() { count++; setResult(); }, false)
23 test.setAttribute('class', 'test');
24 </script>
25 </html>