Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / css3 / calc / transition-asan-crash.html
blobf820eba829c870eb237927092b71b1ed6631ed54
1 <!DOCTYPE html>
2 <style>
3 #test { transition: width 1s; }
4 </style>
6 <pre>This test checks that a heap-use-after-free crash does not occur on Valgrind when disposing a calc transition.
7 This test passes if it does not crash under ASAN.</pre>
8 <div id="test"></div>
10 <script>
11 if (window.testRunner) {
12 testRunner.dumpAsText();
13 testRunner.waitUntilDone();
15 test.style.width = 'calc(100px + 100%)';
16 requestAnimationFrame(function () {
17 test.style.width = '100px';
18 requestAnimationFrame(function () {
19 document.body.removeChild(test);
20 if (window.testRunner)
21 testRunner.notifyDone();
22 });
23 });
24 </script>