1 <svg xmlns=
"http://www.w3.org/2000/svg" xmlns:
xlink=
"http://www.w3.org/1999/xlink"
2 width=
"300" height=
"300" onload=
"runRepaintAndPixelTest()">
3 <script xlink:
href=
"../../fast/repaint/resources/text-based-repaint.js" />
5 function repaintTest() {
6 document.getElementById(
"inner").setAttribute(
"viewBox",
"0 0 200 200");
9 <!-- blue rect's lower right edges should be visible after viewbox resizing -->
10 <rect width=
"200" height=
"200" fill=
"blue"/>
11 <svg id=
"inner" width=
"200" height=
"200" viewBox=
"0 0 100 100" preserveAspectRatio=
"none">
12 <rect width=
"100" height=
"100" fill=
"green"/>