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

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

Issue 210953003: Make style independent of the presence of the <shadow> element. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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
« no previous file with comments | « no previous file | LayoutTests/fast/dom/shadow/content-pseudo-element-in-inert-shadow-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/dom/shadow/content-pseudo-element-in-inert-shadow.html
diff --git a/LayoutTests/fast/dom/shadow/content-pseudo-element-in-inert-shadow.html b/LayoutTests/fast/dom/shadow/content-pseudo-element-in-inert-shadow.html
deleted file mode 100644
index 284541dbb6fb6920170a0ccd5ebe7900101d4a70..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/dom/shadow/content-pseudo-element-in-inert-shadow.html
+++ /dev/null
@@ -1,49 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<script src="resources/shadow-dom.js"></script>
-<script src="../../../resources/js-test.js"></script>
-</head>
-<body>
-<div id="sandbox"></div>
-<script>
-var borderColor;
-
-function borderColorOf(node)
-{
- return document.defaultView.getComputedStyle(node, null).getPropertyValue('border-color');
-}
-
-function borderColorShouldNotBe(selector, color)
-{
- var text = 'borderColorOf(getNodeInTreeOfTrees("' + selector + '"))';
- var unevaledString = '"' + color.replace(/\\/g, "\\\\").replace(/"/g, "\"") + '"';
- shouldNotBe(text, unevaledString);
-}
-
-function cleanUp()
-{
- document.getElementById('sandbox').innerHTML = '';
-}
-
-description('crbug.com/341372: Test for rules with ::content declared in inert shadow trees');
-
-var sandbox = document.getElementById('sandbox');
-sandbox.appendChild(
- createDOM('div', {'id': 'host'},
- createShadowRoot(
- createDOM('style', {},
- document.createTextNode('content::content div { border: 1px solid red; }'),
- createDOM('div', {},
- document.createTextNode('inert')))),
- createShadowRoot(
- createDOM('content')),
- createDOM('div', {'id': 'target'},
- document.createTextNode('no border'))));
-
-borderColorShouldNotBe('target', 'rgb(255, 0, 0)');
-
-cleanUp();
-</script>
-</body>
-</html>
« no previous file with comments | « no previous file | LayoutTests/fast/dom/shadow/content-pseudo-element-in-inert-shadow-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698