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

Unified Diff: LayoutTests/fast/css/cue-serialize.html

Issue 689933002: Corrected serialization of ::cue() functions. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Additional test Created 6 years, 2 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/css/cue-serialize-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/css/cue-serialize.html
diff --git a/LayoutTests/fast/css/cue-serialize.html b/LayoutTests/fast/css/cue-serialize.html
new file mode 100644
index 0000000000000000000000000000000000000000..9be37a6b0ea4fe5a42fd06a08049d5a553e9b8b5
--- /dev/null
+++ b/LayoutTests/fast/css/cue-serialize.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<style>
+::cue {}
+::cue(c) {}
+::cue(c, .class, #id:past, i:future) {}
+</style>
+<script src="../../resources/js-test.js"></script>
+<script>
+description("Check serialization of ::cue and ::cue()");
+
+var rules = document.styleSheets[0].cssRules;
+
+shouldBe("rules.length", "3");
+shouldBe("rules[0].selectorText", "'*::cue'");
+shouldBe("rules[1].selectorText", "'*::cue(c)'");
+shouldBe("rules[2].selectorText", "'*::cue(c,.class,#id:past,i:future)'");
+</script>
« no previous file with comments | « no previous file | LayoutTests/fast/css/cue-serialize-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698