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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/css/ignore-pending-pi-import.xhtml

Issue 1867753006: Revert of Don't apply style elements or PIs with loading imports. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
Index: third_party/WebKit/LayoutTests/http/tests/css/ignore-pending-pi-import.xhtml
diff --git a/third_party/WebKit/LayoutTests/http/tests/css/ignore-pending-pi-import.xhtml b/third_party/WebKit/LayoutTests/http/tests/css/ignore-pending-pi-import.xhtml
deleted file mode 100644
index b0c9e1244527745419f07b2f60b0b0b049a91619..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/http/tests/css/ignore-pending-pi-import.xhtml
+++ /dev/null
@@ -1,32 +0,0 @@
-<?xml-stylesheet href="data:text/css,@import url(http://localhost:8080/css/resources/slow-loading-sheet.php?color=pink); h1 {color:red}" type="text/css"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
- <style title="myset"></style>
-</head>
-<body>
- <h1></h1>
- <pre id="res"></pre>
- <script>
- if (window.testRunner)
- testRunner.dumpAsText();
-
- var result = "";
-
- function expectComputedOnH1(name, expected) {
- var value = getComputedStyle(document.querySelector("h1"))[name];
- result += name + ": ";
- if (value == expected)
- result += "PASS\n";
- else
- result += "FAIL - " + value + ", expected " + expected + "\n";
- }
-
- document.body.offsetTop;
- expectComputedOnH1("color", "rgb(0, 0, 0)");
- expectComputedOnH1("backgroundColor", "rgba(0, 0, 0, 0)");
-
- document.querySelector("#res").innerHTML = result;
- </script>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698