Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / animations / remove-begin-event-crash.html
blobb232e0563de7fc94df784cbad49e5740dd2640c4
1 <!DOCTYPE HTML>
2 <html onload="mutate();">
3 Test that event listeners are correctly removed when eventBase conditions are cleared. This test passes if it does not crash.<br/>
4 PASS
5 <svg>
6 <animate id="anim" attributeName="visibility" />
7 <set begin="anim.beginEvent" id="set" to="100" attributeName="width" />
8 </svg>
9 <script>
10 var set = document.getElementById("set");
11 function mutate() {
12 set.removeAttribute("begin");
13 set.parentNode.removeChild(set);
14 delete set;
16 if (window.testRunner)
17 testRunner.dumpAsText();
18 </script>
19 </html>