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..6592f81088540590ce028c4e62e91249f73417d3 |
--- /dev/null |
+++ b/LayoutTests/fast/css/cue-serialize.html |
@@ -0,0 +1,15 @@ |
+<!DOCTYPE html> |
+<style> |
+::cue {} |
+::cue(c) {} |
+</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", "2"); |
+shouldBe("rules[0].selectorText", "'*::cue'"); |
+shouldBe("rules[1].selectorText", "'*::cue(c)'"); |
andersr
2014/10/31 10:11:29
Perhaps add a test with multiple sub-selectors?
|
+</script> |