blob: cf6993545962094364577a0c0d56b1c4b59dc8cb [file] [log] [blame]
<script src="../../resources/run-after-layout-and-paint.js"></script>
<script>
if (window.testRunner)
testRunner.waitUntilDone();
runAfterLayoutAndPaint(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>