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

Unified Diff: LayoutTests/fast/dom/shadow/shadow-pseudo-id.html

Issue 215173003: Remove support for custom pseudo elements. (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
Index: LayoutTests/fast/dom/shadow/shadow-pseudo-id.html
diff --git a/LayoutTests/fast/dom/shadow/shadow-pseudo-id.html b/LayoutTests/fast/dom/shadow/shadow-pseudo-id.html
deleted file mode 100644
index 35adbe3d05e788bfa80b53a5baf7fc65da8b4309..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/dom/shadow/shadow-pseudo-id.html
+++ /dev/null
@@ -1,48 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<style>
-div::x-shadow {
- color: red;
-}
-
-div::-test {
- color: red;
-}
-
-div::foobar {
- color: red;
-}
-</style>
-</head>
-<body>
-
-<p>This test checks a custom pseudo element selector is valid only if it starts with 'x-'</p>
-
-<div id="console"></div>
-<div id="host1"></div>
-<div id="host2"></div>
-<div id="host3"></div>
-
-<script>
-var shadowRoot1 = host1.createShadowRoot();
-var div1 = document.createElement('div');
-div1.innerHTML = "pseudo is x-shadow: This should be red.";
-div1.pseudo = "x-shadow";
-shadowRoot1.appendChild(div1);
-
-var shadowRoot2 = host2.createShadowRoot();
-var div2 = document.createElement('div');
-div2.innerHTML = "pseudo is -test: This should not be red.";
-div2.pseudo = "-test";
-shadowRoot2.appendChild(div2);
-
-var shadowRoot3 = host3.createShadowRoot();
-var div3 = document.createElement('div');
-div3.innerHTML = "pseudo is foobar: This should not be red.";
-div3.pseudo = "foobar";
-shadowRoot3.appendChild(div3);
-</script>
-
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698