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

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

Issue 904143002: Revert "CSS: Drop the quirks-mode exception for CSS MIME types." (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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 | Annotate | Revision Log
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" ? "FAIL" : "SUCCESS" ; 13 target.innerText = style.position == "relative" ? "SUCCESS" : "FAIL" ;
14 } 14 }
15 </script> 15 </script>
16 </head> 16 </head>
17 <body onload="test()"> 17 <body onload="test()">
18 <p> 18 <p>
19 This was a test for 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>
20 <i><a href="http://bugs.webkit.org/show_bug.cgi?id=11451">http://bugs.we bkit.org/show_bug.cgi?id=11451</a> 20 REGRESSION: Dell.com does not render correctly in ToT (stylesheet not lo aded)</i>.
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.
24 </p> 21 </p>
25 <p id="target"> 22 <p id="target">
26 </p> 23 </p>
27 </body> 24 </body>
28 </html> 25 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698