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

Side by Side Diff: LayoutTests/http/tests/css/css-resources-referrer-srcdoc.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 <iframe srcdoc=" 2 <iframe srcdoc="
3 <base href='http://example.com/from/iframe.html'> 3 <base href='http://example.com/from/iframe.html'>
4 <style> 4 <style>
5 @font-face { 5 @font-face {
6 font-family: faceInIframe; 6 font-family: faceInIframe;
7 src: url('http://127.0.0.1:8000/css/resources/referrer-check.php?from=iframe &resource=font'); 7 src: url('http://127.0.0.1:8000/css/resources/referrer-check.php?from=iframe &resource=font');
8 } 8 }
9 .imageInIframe { 9 .imageInIframe {
10 background-image: url('http://127.0.0.1:8000/css/resources/referrer-check.ph p?from=iframe&resource=image'); 10 background-image: url('http://127.0.0.1:8000/css/resources/referrer-check.ph p?from=iframe&resource=image');
(...skipping 13 matching lines...) Expand all
24 Image in iframe. Background should be dark blue. 24 Image in iframe. Background should be dark blue.
25 </div> 25 </div>
26 <div class='imageSetInIframe'> 26 <div class='imageSetInIframe'>
27 Image set in iframe. Background should be dark blue. 27 Image set in iframe. Background should be dark blue.
28 </div> 28 </div>
29 "></iframe> 29 "></iframe>
30 30
31 <script> 31 <script>
32 if (window.testRunner) { 32 if (window.testRunner) {
33 testRunner.waitUntilDone(); 33 testRunner.waitUntilDone();
34 document.fonts.ready().then(function() { testRunner.notifyDone(); }); 34 document.fonts.ready.then(function() { testRunner.notifyDone(); });
35 } 35 }
36 </script> 36 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698