2 <script src=
"../../resources/run-after-layout-and-paint.js"></script>
3 <svg width=
"100" height=
"100">
4 <pattern id=
"p" patternUnits=
"objectBoundingBox" width=
"100" height=
"100">
5 <rect width=
"100" height=
"100" fill=
"green"/>
7 <line y1=
"50" x2=
"100" y2=
"50" stroke-width=
"100" stroke=
"url(#p) red"/>
10 function changeToUSOU() {
11 document
.querySelector('pattern').setAttribute('patternUnits', 'userSpaceOnUse');
14 if (window
.testRunner
)
15 testRunner
.waitUntilDone();
17 window
.onload = function() {
18 runAfterLayoutAndPaint(function() {
21 runAfterLayoutAndPaint(function() { testRunner
.notifyDone(); });