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

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

Issue 314893003: Set referrer for CSS resources (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 6 months 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
(Empty)
1 <!DOCTYPE html>
2 <iframe srcdoc="
3 <base href='http://example.com/from/iframe.html'>
4 <style>
5 @font-face {
6 font-family: faceInIframe;
7 src: url('http://127.0.0.1:8000/css/resources/referrer-check.php?from=iframe &resource=font');
8 }
9 .imageInIframe {
10 background-image: url('http://127.0.0.1:8000/css/resources/referrer-check.ph p?from=iframe&resource=image');
11 }
12 .imageSetInIframe {
13 background-image: -webkit-image-set(
14 url('http://127.0.0.1:8000/css/resources/referrer-check.php?from=iframe& resource=image2') 1x,
15 url('http://127.0.0.1:8000/css/resources/referrer-check.php?from=iframe& resource=image') 1x
16 );
17 }
18 </style>
19
20 <div style='font-family: faceInIframe;'>
21 This should be rendered with ahem font.
22 </div>
23 <div class='imageInIframe'>
24 Image in iframe. Background should be dark blue.
25 </div>
26 <div class='imageSetInIframe'>
27 Image set in iframe. Background should be dark blue.
28 </div>
29 "></iframe>
30
31 <script>
32 if (window.testRunner) {
33 testRunner.waitUntilDone();
34 document.fonts.ready().then(function() { testRunner.notifyDone(); });
35 }
36 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698