Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(27)

Side by Side Diff: LayoutTests/svg/zoom/page/zoom-zoom-coords.xhtml

Issue 816923002: Switch FontFaceSet#ready from a method to an attribute (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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>
OLDNEW
« no previous file with comments | « LayoutTests/svg/custom/repaint-shadow-expected.txt ('k') | LayoutTests/svg/zoom/page/zoom-zoom-coords-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698