blob: 8f9a96326e0d805b82b854cf7bbc6b43245fca67 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<style>
* {
position: sticky;
-webkit-transform: scaleX(2);
}
</style>
</head>
<body>
<p id="description">This tests selecting text inside a non-statically positioned SVG content. WebKit should not hit assertions.</p>
<svg style="width: 50px; height: 50px; border: 1px solid black;">
<text>svg text</text>
</svg>
<script>
if (window.testRunner)
testRunner.dumpAsText();
document.execCommand("SelectAll");
document.querySelector('style').remove();
document.write('PASS');
</script>
</body>
</html>