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

Unified Diff: LayoutTests/fast/dom/shadow/content-pseudo-element-overridden.html

Issue 187353003: Implement /content/ combinator. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Patch for landing Created 6 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
Index: LayoutTests/fast/dom/shadow/content-pseudo-element-overridden.html
diff --git a/LayoutTests/fast/dom/shadow/content-pseudo-element-overridden.html b/LayoutTests/fast/dom/shadow/content-pseudo-element-overridden.html
deleted file mode 100644
index 7ef8cd5a7d65e9fbb45fa6efb8560565196f9332..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/dom/shadow/content-pseudo-element-overridden.html
+++ /dev/null
@@ -1,38 +0,0 @@
-<!doctype html>
-<html>
-<head>
-<script src="../../../resources/js-test.js"></script>
-<style>
- .contentClass {
- color: blue;
- }
-</style>
-</head>
-<body class="bodyClass">
-
- <template id="tmpl">
- <style>
- ::content > * {
- color: red;
- }
- </style>
- <content></content>
- </template>
-
- <div id="host" class="hostClass">
- <div class="contentClass">
- content
- </div>
- </div>
-
- <pre id='console'></pre>
-</body>
-<script>
-description('Test for crbug.com/274059. Should be able to override ::content styles in shadow root style sheet from the document.');
-var host = document.querySelector('#host');
-var root = host.createShadowRoot();
-var template = document.querySelector('#tmpl');
-root.appendChild(template.content);
-shouldBe('window.getComputedStyle(document.querySelector(".contentClass")).color', '"rgb(0, 0, 255)"');
-</script>
-</html>

Powered by Google App Engine
This is Rietveld 408576698