4 <title>Repaint test for http://bugs.webkit.org/show_bug.cgi?id=
12123</title>
5 <script src=
"../../resources/ahem.js"></script>
8 .test { direction: rtl; border: thin dotted lightgray; margin:
2px; height:
35px; }
9 .outer { border: thin solid purple; padding:
5px; width:
50px; margin-right:
50px; }
10 .outer
> div { height:
10px; background-color: pink; }
11 .outer
> div
> div { width:
40px; height:
10px; background-color: lightblue; }
12 span { font-family: Ahem; color: blue; }
13 .box { display: -webkit-box; }
15 <script src=
"resources/text-based-repaint.js"></script>
17 function repaintTest()
19 for (i
= 1; i
< 15; ++i
)
20 document
.getElementById("spacer" + i
).style
.height
= "6px";
24 <body onload=
"runRepaintTest()">
26 <div class=
"spacer" id=
"spacer1"></div>
29 <div style=
"float: right; margin-right: -2px;">
30 <span style=
"margin-right: -2px;">x
</span>
37 <div class=
"spacer" id=
"spacer2"></div>
40 <div style=
"float: right; margin-right: -2px;">
41 <span style=
"margin-right: -8px;">x
</span>
48 <div class=
"spacer" id=
"spacer3"></div>
51 <div style=
"float: right; margin-right: -8px;">
52 <span style=
"margin-right: -2px;">x
</span>
59 <div class=
"spacer" id=
"spacer4"></div>
62 <div style=
"float: right;">
63 <span style=
"margin-right: -8px;">x
</span>
70 <div class=
"spacer" id=
"spacer5"></div>
73 <div style=
"float: right; margin-right: -8px;">
81 <div class=
"spacer" id=
"spacer6"></div>
82 <div class=
"outer box" style=
"-webkit-box-orient: vertical;">
84 <div style=
"float: right; margin-right: -8px;">
92 <div class=
"spacer" id=
"spacer12"></div>
93 <div class=
"outer box" style=
"-webkit-box-orient: horizontal;">
95 <div style=
"float: right; margin-right: -8px;">
103 <div class=
"spacer" id=
"spacer7"></div>
104 <table class=
"outer">
106 <td style=
"height: 10px; background-color: pink; width: 100%;">
107 <div style=
"width: 40px; height: 10px; background-color: lightblue; float: right;">
108 <span style=
"margin-right: -4px;">x
</span>
116 <div class=
"spacer" id=
"spacer8"></div>
117 <table class=
"outer">
119 <td style=
"height: 10px; background-color: pink; width: 100%;">
120 <div style=
"width: 40px; height: 10px; background-color: lightblue; float: right;">
121 <span style=
"margin-right: -12px;">x
</span>
128 <div class=
"test" style=
"height: 50px;">
129 <div class=
"spacer" id=
"spacer14"></div>
130 <table class=
"outer" style=
"display: inline-table;">
132 <td style=
"height: 10px; background-color: pink; width: 100%;">
133 <div style=
"width: 40px; height: 10px; background-color: lightblue; float: right;">
134 <span style=
"margin-right: -12px;">x
</span>
142 <div class=
"spacer" id=
"spacer9"></div>
145 <div style=
"opacity: 0.75; float: right; margin-right: -8px;">
153 <div class=
"spacer" id=
"spacer10"></div>
155 <div style=
"opacity: 0.75;">
156 <div style=
"float: right; margin-right: -8px;">
164 <div class=
"spacer" id=
"spacer11"></div>
165 <div class=
"outer" style=
"opacity: 0.75">
167 <div style=
"float: right; margin-right: -8px;">
173 <div class=
"test" style=
"height: 48px">
174 <div class=
"spacer" id=
"spacer13"></div>
176 <div style=
"display: inline-block; height: 20px;">
177 <div style=
"float: right; margin-right: -8px;">