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

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

Issue 187573002: Revert "Reverting custom pseudo element". (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 10 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-expected.html
diff --git a/LayoutTests/fast/dom/shadow/shadow-pseudo-id-expected.html b/LayoutTests/fast/dom/shadow/shadow-pseudo-id-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..48fce74a0b90832ed03a0fad0d4b22a54ab45544
--- /dev/null
+++ b/LayoutTests/fast/dom/shadow/shadow-pseudo-id-expected.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+</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 style="color:red">pseudo is x-shadow: This should be red.</div></div>
+<div id="host2"><div>pseudo is -test: This should not be red.</div></div>
+<div id="host2"><div>pseudo is foobar: This should not be red.</div></div>
+
+</body>
+</html>
« no previous file with comments | « LayoutTests/fast/dom/shadow/shadow-pseudo-id.html ('k') | LayoutTests/fast/dom/shadow/styling-pseudo-attribute.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698