1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/content/base/test/csp/file_CSP.css Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,20 @@ 1.4 +/* 1.5 + * Moved this CSS from an inline stylesheet to an external file when we added 1.6 + * inline-style blocking in bug 763879. 1.7 + * This test may hang if the load for this .css file is blocked due to a 1.8 + * malfunction of CSP, but should pass if the style_good test passes. 1.9 + */ 1.10 + 1.11 +/* CSS font embedding tests */ 1.12 +@font-face { 1.13 + font-family: "arbitrary_good"; 1.14 + src: url('file_CSP.sjs?testid=font_good&type=application/octet-stream'); 1.15 +} 1.16 +@font-face { 1.17 + font-family: "arbitrary_bad"; 1.18 + src: url('http://example.org/tests/content/base/test/csp/file_CSP.sjs?testid=font_bad&type=application/octet-stream'); 1.19 +} 1.20 + 1.21 +.div_arbitrary_good { font-family: "arbitrary_good"; } 1.22 +.div_arbitrary_bad { font-family: "arbitrary_bad"; } 1.23 +