Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / reflections / toggle-reflection-crash.html
blob3306caa8b9ade6983eeba21f41cdf36e2e21516c
1 <!DOCTYPE html>
3 <html>
4 <head>
5 <script>
6 var reflectionOn = true;
7 function toggleReflection() {
8 reflectionOn = !reflectionOn;
9 var box = document.getElementById('box');
10 box.style.webkitBoxReflect = reflectionOn ? 'below' : 'none';
13 function finishTest() {
14 toggleReflection();
15 if (window.testRunner)
16 testRunner.notifyDone();
19 function startTest() {
20 if (window.testRunner) {
21 testRunner.waitUntilDone();
22 testRunner.dumpAsText();
24 toggleReflection();
25 window.setTimeout(function() { finishTest(); }, 0);
28 window.addEventListener('load', startTest, false);
30 </script>
31 </head>
33 <body>
34 <p>This test should not crash when run with Address Sanitizer.</p>
35 <div id="box" style="-webkit-box-reflect: below;"</div>
36 </body>
37 </html>