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

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

Issue 1169713004: Allow lax MIME type parsing for same-origin CSS in quirks mode. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Comment. 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
« no previous file with comments | « no previous file | LayoutTests/http/tests/misc/css-accept-any-type-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <html>
2 <head>
3 <title></title>
4 <link rel="stylesheet" href="resources/stylesheet.php">
5 <script>
6 function test()
7 {
8 if (window.testRunner)
9 testRunner.dumpAsText();
10
11 var target = document.getElementById("target");
12 var style = getComputedStyle(target);
13 target.innerText = style.position == "relative" ? "FAIL" : "SUCCESS" ;
14 }
15 </script>
16 </head>
17 <body onload="test()">
18 <p>
19 This was a test for
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.
24 </p>
25 <p id="target">
26 </p>
27 </body>
28 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/http/tests/misc/css-accept-any-type-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698