2 <script src=../../resources/run-after-layout-and-paint.js
></script>
3 <svg width=
"100" height=
"100">
5 <rect width=
"50%" height=
"50%"/>
6 <text y=
"25%" font-size=
"1px">Sabotage!
</text>
9 <rect width=
"50%" height=
"50%" fill=
"red"/>
10 <rect width=
"800" height=
"800" fill=
"green" clip-path=
"url(#clip)"/>
13 runAfterLayoutAndPaint(function() {
14 document
.querySelector('svg').setAttribute('width', '200');
15 document
.querySelector('svg').setAttribute('height', '200');