OLD | NEW |
1 <html xmlns="http://www.w3.org/1999/xhtml" xmlns:xlink="http://www.w3.org/1999/x
link"> | 1 <html xmlns="http://www.w3.org/1999/xhtml" xmlns:xlink="http://www.w3.org/1999/x
link"> |
2 <head> | 2 <head> |
3 <style type="text/css"> | 3 <style type="text/css"> |
4 @font-face { | 4 @font-face { |
5 font-family: "Ahem"; | 5 font-family: "Ahem"; |
6 src: url(../../../resources/Ahem.ttf); | 6 src: url(../../../resources/Ahem.ttf); |
7 } | 7 } |
8 body { | 8 body { |
9 margin:0px; | 9 margin:0px; |
10 border:0px; | 10 border:0px; |
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
186 </script> | 186 </script> |
187 | 187 |
188 <script src="../../../resources/js-test.js"></script> | 188 <script src="../../../resources/js-test.js"></script> |
189 <script>var zoomCount = 2;</script> | 189 <script>var zoomCount = 2;</script> |
190 <script src="../../../fast/repaint/resources/text-based-repaint.js"></script> | 190 <script src="../../../fast/repaint/resources/text-based-repaint.js"></script> |
191 <script src="../resources/testPageZoom.js"></script> | 191 <script src="../resources/testPageZoom.js"></script> |
192 <script> | 192 <script> |
193 if (window.testRunner) { | 193 if (window.testRunner) { |
194 window.jsTestIsAsync = true; | 194 window.jsTestIsAsync = true; |
195 window.postZoomCallback = executeTest; | 195 window.postZoomCallback = executeTest; |
196 document.fonts.ready().then(function() { | 196 document.fonts.ready.then(function() { |
197 forceStyleRecalc(); | 197 forceStyleRecalc(); |
198 repaintTest() | 198 repaintTest() |
199 }); | 199 }); |
200 } else { | 200 } else { |
201 debug("This test only works in DRT."); | 201 debug("This test only works in DRT."); |
202 } | 202 } |
203 </script> | 203 </script> |
204 | 204 |
205 </body> | 205 </body> |
206 </html> | 206 </html> |
OLD | NEW |