4 if (window.layoutTestController) {
5 layoutTestController.waitUntilDone();
6 layoutTestController.display();
8 setTimeout(changeColor, 0);
11 changeColor = function()
13 var span = document.getElementById("span");
14 getSelection().setBaseAndExtent(span, 0, span, 1);
15 if (window.layoutTestController)
16 layoutTestController.notifyDone();
20 Test for <i><a href="https://bugs.webkit.org/show_bug.cgi?id=19525">https://bugs.webkit.org/show_bug.cgi?id=19525</a>
21 -webkit-box-reflect in hyperlink causes webkit to crash</i>.
24 Because it is an inline flow, <span id="span" style="-webkit-box-reflect: below;">this span</span> should not have a reflection, and selecting it should not cause a crash.