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> |