blob: b8139b3b6aca38d906e66f966b4ab5479eb4d5b7 [file] [log] [blame]
<!DOCTYPE html>
<script src="../../resources/run-after-layout-and-paint.js"></script>
<style>
#target {
width: 100px;
height: 100px;
background-color: green;
clip-path: url(#clip);
}
</style>
<div id="target"></div>
<svg>
<clipPath id="clip">
<rect width="1" height="1"/>
</clipPath>
</svg>
<script>
runAfterLayoutAndPaint(function() {
clip.style.transform = 'scale(100, 100)';
}, true);
</script>