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

Side by Side Diff: LayoutTests/http/tests/css/css-resources-referrer.html

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 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <link rel="stylesheet" type="text/css" href="resources/css-resources-referrer.cs s"> 2 <link rel="stylesheet" type="text/css" href="resources/css-resources-referrer.cs s">
3 <style> 3 <style>
4 @font-face { 4 @font-face {
5 font-family: faceInDocument; 5 font-family: faceInDocument;
6 src: url('resources/referrer-check.php?from=document&resource=font'); 6 src: url('resources/referrer-check.php?from=document&resource=font');
7 } 7 }
8 .imageInDocument { 8 .imageInDocument {
9 background-image: url('resources/referrer-check.php?from=document&resource=i mage'); 9 background-image: url('resources/referrer-check.php?from=document&resource=i mage');
10 } 10 }
(...skipping 25 matching lines...) Expand all
36 <div class="imageInSheet">Image in stylesheet</div> 36 <div class="imageInSheet">Image in stylesheet</div>
37 <div class="imageInImportedSheet">Image in imported stylesheet</div> 37 <div class="imageInImportedSheet">Image in imported stylesheet</div>
38 38
39 <div class="imageSetInDocument">Image set in document</div> 39 <div class="imageSetInDocument">Image set in document</div>
40 <div class="imageSetInSheet">Image set in stylesheet</div> 40 <div class="imageSetInSheet">Image set in stylesheet</div>
41 <div class="imageSetInImportedSheet">Image set in imported stylesheet</div> 41 <div class="imageSetInImportedSheet">Image set in imported stylesheet</div>
42 42
43 <script> 43 <script>
44 if (window.testRunner) { 44 if (window.testRunner) {
45 testRunner.waitUntilDone(); 45 testRunner.waitUntilDone();
46 document.fonts.ready().then(function() { testRunner.notifyDone(); }); 46 document.fonts.ready.then(function() { testRunner.notifyDone(); });
47 } 47 }
48 </script> 48 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698