2 <script src=
"../../resources/run-after-layout-and-paint.js"></script>
5 testRunner
.waitUntilDone();
7 runAfterLayoutAndPaint(function() {
8 document
.getElementById('rr1').setAttribute('width', 0);
9 document
.getElementById('rr2').setAttribute('width', -100);
11 if (window
.testRunner
)
12 testRunner
.notifyDone();
15 <svg width=
"200" height=
"100">
16 <rect width=
"200" height=
"100" fill=
"green"/>
17 <rect id=
"rr1" width=
"100" height=
"100" rx=
"8" stroke=
"red" fill=
"red"/>
18 <rect id=
"rr2" width=
"100" height=
"100" rx=
"8" stroke=
"red" fill=
"red" x=
"100"/>