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

Side by Side Diff: LayoutTests/http/tests/security/shape-image-cors-disallow-origin.html

Issue 1212753002: Convert tests (except fast/, imported/) using ahem font to ahem.js style (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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 | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="/js-test-resources/ahem.js"></script>
4 <style> 5 <style>
5 #clear-left { 6 #clear-left {
6 clear: left; 7 clear: left;
7 font: 20px/1 Ahem, sans-serif; 8 font: 20px/1 Ahem, sans-serif;
8 color: green; 9 color: green;
9 } 10 }
10 11
11 #clear-left > div { 12 #clear-left > div {
12 float: left; 13 float: left;
13 width: 200px; 14 width: 200px;
14 height: 20px; 15 height: 20px;
15 } 16 }
16 17
17 /* Cross-origin request is not OK because a "Access-Control-Allow-Origin:" h eader is not returned. */ 18 /* Cross-origin request is not OK because a "Access-Control-Allow-Origin:" h eader is not returned. */
18 #shape-outside-disallow-origin-url { 19 #shape-outside-disallow-origin-url {
19 shape-outside: url("http://localhost:8080/security/resources/image-acces s-control.php?file=../../resources/square100.png&allow=false"); 20 shape-outside: url("http://localhost:8080/security/resources/image-acces s-control.php?file=../../resources/square100.png&allow=false");
20 } 21 }
21 </style> 22 </style>
22 </head> 23 </head>
23 <body> 24 <body>
24 <p>Verify that images not allowed by CORS don't affect the layout.</p> 25 <p>Verify that images not allowed by CORS don't affect the layout.</p>
25 <div id="clear-left"><div id="shape-outside-disallow-origin-url"></div>X</di v> 26 <div id="clear-left"><div id="shape-outside-disallow-origin-url"></div>X</di v>
26 </body> 27 </body>
27 </html> 28 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698