| <!DOCTYPE html> |
| <html> |
| <head> |
| <script src="/js-test-resources/ahem.js"></script> |
| <style> |
| #clear-left { |
| clear: left; |
| font: 20px/1 Ahem, sans-serif; |
| color: green; |
| } |
| |
| #clear-left > div { |
| float: left; |
| width: 200px; |
| height: 20px; |
| } |
| |
| /* Cross-origin request is not OK because a "Access-Control-Allow-Origin:" header is not returned. */ |
| #shape-outside-disallow-origin-url { |
| shape-outside: url("http://localhost:8080/security/resources/image-access-control.php?file=../../resources/square100.png&allow=false"); |
| } |
| </style> |
| </head> |
| <body> |
| <p>Verify that images not allowed by CORS don't affect the layout.</p> |
| <div id="clear-left"><div id="shape-outside-disallow-origin-url"></div>X</div> |
| </body> |
| </html> |