blob: 8673824a9958d8380024ba6e4e4b29294e74b2a6 [file] [log] [blame]
<script>
onload = function()
{
if (window.testRunner) {
testRunner.waitUntilDone();
testRunner.displayAndTrackRepaints();
}
setTimeout(changeColor, 0);
}
changeColor = function()
{
var span = document.getElementById("span");
getSelection().setBaseAndExtent(span, 0, span, 1);
if (window.testRunner)
testRunner.notifyDone();
}
</script>
<p>
Test for <i><a href="https://bugs.webkit.org/show_bug.cgi?id=19525">https://bugs.webkit.org/show_bug.cgi?id=19525</a>
-webkit-box-reflect in hyperlink causes webkit to crash</i>.
</p>
<p>
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.
</p>