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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/shadow/slotted-pseudo-element-shared-style.html

Issue 1774113002: Move Shadow DOM V1 tests from fast/dom/shadow to shadow-dom (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 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: third_party/WebKit/LayoutTests/fast/dom/shadow/slotted-pseudo-element-shared-style.html
diff --git a/third_party/WebKit/LayoutTests/fast/dom/shadow/slotted-pseudo-element-shared-style.html b/third_party/WebKit/LayoutTests/fast/dom/shadow/slotted-pseudo-element-shared-style.html
deleted file mode 100644
index f2f8192c6e6fdc26c6821c5bb536dc2a5adca7be..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/dom/shadow/slotted-pseudo-element-shared-style.html
+++ /dev/null
@@ -1,20 +0,0 @@
-<!DOCTYPE html>
-<script src="resources/shadow-dom.js"></script>
-<div id="sandbox"></div>
-<script>
-var shadowStyle = document.createElement('style');
-shadowStyle.innerHTML = 'slot::slotted([data-color=red]) { color: red; }';
-
-var sandbox = document.getElementById('sandbox');
-sandbox.appendChild(
- createDOM('div', {},
- attachShadow(
- {'mode': 'open'},
- shadowStyle,
- createDOM('slot')),
- createDOM('div', {},
- document.createTextNode('normal')),
- // If the style is falsely shared with the <div> above, this won't turn red.
- createDOM('div', {'data-color': 'red'},
- document.createTextNode('red'))));
-</script>

Powered by Google App Engine
This is Rietveld 408576698