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

Unified Diff: third_party/WebKit/LayoutTests/fast/css/invalidation/shadow-boundary-crossing.html

Issue 2843883002: Remove, or rewrite if necessary, tests which use /deep/ or ::shadow (Closed)
Patch Set: rev Created 3 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/fast/css/invalidation/shadow-boundary-crossing.html
diff --git a/third_party/WebKit/LayoutTests/fast/css/invalidation/shadow-boundary-crossing.html b/third_party/WebKit/LayoutTests/fast/css/invalidation/shadow-boundary-crossing.html
deleted file mode 100644
index d1ea67530825e0a7d4d8a354213d63977d5e44a1..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/css/invalidation/shadow-boundary-crossing.html
+++ /dev/null
@@ -1,39 +0,0 @@
-<!DOCTYPE html>
-
-<script src="../../../resources/js-test.js"></script>
-
-<style>
- .deep /deep/ .inside,
- .shallow .inside {
- padding: 0;
- }
-</style>
-
-<div id="sandbox"></div>
-
-<script>
-description("Invalidation sets should not apply across shadow roots if tree boundary crossing rules are not used.");
-
-var sandbox = document.getElementById("sandbox");
-var sandboxRoot = sandbox.createShadowRoot();
-sandboxRoot.innerHTML = "<content></content>";
-
-for (var j = 0; j < 10; ++j) {
- var childDiv = sandbox.appendChild(document.createElement("div"));
- childDiv.className = "inside";
- var shadowDiv = sandboxRoot.appendChild(document.createElement("div"));
- shadowDiv.className = "inside";
- shadowDiv.createShadowRoot().innerHTML = "<div class=inside><content></content></div>";
-}
-
-getComputedStyle(sandbox).color;
-sandbox.className = "shallow";
-if (window.internals)
- shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "10");
-sandbox.className = "";
-
-getComputedStyle(sandbox).color;
-sandbox.className = "deep";
-if (window.internals)
- shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "30");
-</script>

Powered by Google App Engine
This is Rietveld 408576698