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

Side by Side Diff: LayoutTests/http/tests/misc/css-accept-any-type.html

Issue 733993002: CSS: Drop the quirks-mode exception for CSS MIME types. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Tests. Created 5 years, 10 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
1 <html> 1 <html>
2 <head> 2 <head>
3 <title></title> 3 <title></title>
4 <link rel="stylesheet" href="resources/stylesheet.php"> 4 <link rel="stylesheet" href="resources/stylesheet.php">
5 <script> 5 <script>
6 function test() 6 function test()
7 { 7 {
8 if (window.testRunner) 8 if (window.testRunner)
9 testRunner.dumpAsText(); 9 testRunner.dumpAsText();
10 10
11 var target = document.getElementById("target"); 11 var target = document.getElementById("target");
12 var style = getComputedStyle(target); 12 var style = getComputedStyle(target);
13 target.innerText = style.position == "relative" ? "SUCCESS" : "FAIL" ; 13 target.innerText = style.position == "relative" ? "FAIL" : "SUCCESS" ;
14 } 14 }
15 </script> 15 </script>
16 </head> 16 </head>
17 <body onload="test()"> 17 <body onload="test()">
18 <p> 18 <p>
19 Test for <i><a href="http://bugs.webkit.org/show_bug.cgi?id=11451">http: //bugs.webkit.org/show_bug.cgi?id=11451</a> 19 This was a test for
20 REGRESSION: Dell.com does not render correctly in ToT (stylesheet not lo aded)</i>. 20 <i><a href="http://bugs.webkit.org/show_bug.cgi?id=11451">http://bugs.we bkit.org/show_bug.cgi?id=11451</a>
21 REGRESSION: Dell.com does not render correctly in ToT (stylesheet not lo aded)</i>:
22 given the security implications of accepting bad MIME types, we're now
23 intentionally breaking this case to match other browsers.
21 </p> 24 </p>
22 <p id="target"> 25 <p id="target">
23 </p> 26 </p>
24 </body> 27 </body>
25 </html> 28 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698