24 lines
540 B
HTML
24 lines
540 B
HTML
<!doctype html>
|
|
<head>
|
|
<script src="../../fast/repaint/resources/text-based-repaint.js" type="text/javascript"></script>
|
|
<script>
|
|
function repaintTest() {
|
|
document.getElementById("svg").style.overflow="visible";
|
|
}
|
|
</script>
|
|
<style>
|
|
div {
|
|
height:100px; width:100px;
|
|
}
|
|
div + div { background: red; }
|
|
</style>
|
|
</head>
|
|
<body onload="runRepaintAndPixelTest()">
|
|
<div>
|
|
<svg id="svg" height="100" width="100" viewbox="0 0 100 100">
|
|
<rect y="100" width="100" height="100" fill="green"/>
|
|
</svg>
|
|
</div>
|
|
<div></div>
|
|
</body>
|