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() {
15 if (window
.testRunner
)
16 testRunner
.notifyDone();
19 function startTest() {
20 if (window
.testRunner
) {
21 testRunner
.waitUntilDone();
22 testRunner
.dumpAsText();
25 window
.setTimeout(function() { finishTest(); }, 0);
28 window
.addEventListener('load', startTest
, false);
34 <p>This test should not crash when run with Address Sanitizer.
</p>
35 <div id=
"box" style=
"-webkit-box-reflect: below;"</div>