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

Unified Diff: LayoutTests/http/tests/security/cross-origin-css.html

Issue 1018213004: CSS Parser: Mark on stylesheets whether the first rule was valid (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/http/tests/security/cross-origin-css-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/http/tests/security/cross-origin-css.html
diff --git a/LayoutTests/http/tests/security/cross-origin-css.html b/LayoutTests/http/tests/security/cross-origin-css.html
index 3f35232e9a3a6f418ab70fd469eb6f3d0185747a..c3b450d31c55144d9e3d656d9e65795cbfcc693a 100644
--- a/LayoutTests/http/tests/security/cross-origin-css.html
+++ b/LayoutTests/http/tests/security/cross-origin-css.html
@@ -30,6 +30,8 @@ window.onload = function() {
ele.innerText = "IMPORT Cross-origin, CSS, invalid: " + window.getComputedStyle(ele, null).getPropertyValue('background-color');
ele = document.getElementById("id7");
ele.innerText = "IMPORT Same-origin, HTML, invalid: " + window.getComputedStyle(ele, null).getPropertyValue('background-color');
+ ele = document.getElementById("id8");
+ ele.innerText = "IMPORT Cross-origin, HTML, valid (@charset): " + window.getComputedStyle(ele, null).getPropertyValue('background-color');
if (window.testRunner)
testRunner.notifyDone();
@@ -39,6 +41,7 @@ window.onload = function() {
/* Deliberately reuse the same file / class / id on this first one */
@import "resources/redir.php?url=http://localhost:8000/security/resources/xorigincss2.html";
@import "resources/redir.php?url=http://localhost:8000/security/resources/xorigincss4.html";
+@import "resources/redir.php?url=http://localhost:8000/security/resources/xorigincss7.html";
@import "resources/redir.php?url=http://localhost:8000/security/resources/xorigincss2.css";
@import "resources/xorigincss5.html";
@@ -49,5 +52,5 @@ window.onload = function() {
}
</style>
</head>
-<body><div id="id1" class="id1"></div><div id="id2" class="id2"></div><div id="id3" class="id3"></div><div id="id4" class="id4"></div><div id="id5" class="id5"></div><div id="id6" class="id6"></div><div id="id7" class="id7"></div><div id="data-background-url">PASS background image loaded</div></body>
+<body><div id="id1" class="id1"></div><div id="id2" class="id2"></div><div id="id3" class="id3"></div><div id="id4" class="id4"></div><div id="id5" class="id5"></div><div id="id6" class="id6"></div><div id="id7" class="id7"></div><div id="id8" class="id8"></div><div id="data-background-url">PASS background image loaded</div></body>
</html>
« no previous file with comments | « no previous file | LayoutTests/http/tests/security/cross-origin-css-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698