28 lines
542 B
HTML
28 lines
542 B
HTML
<!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>
|