Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / css / cue-serialize.html
blob9be37a6b0ea4fe5a42fd06a08049d5a553e9b8b5
1 <!DOCTYPE html>
2 <style>
3 ::cue {}
4 ::cue(c) {}
5 ::cue(c, .class, #id:past, i:future) {}
6 </style>
7 <script src="../../resources/js-test.js"></script>
8 <script>
9 description("Check serialization of ::cue and ::cue()");
11 var rules = document.styleSheets[0].cssRules;
13 shouldBe("rules.length", "3");
14 shouldBe("rules[0].selectorText", "'*::cue'");
15 shouldBe("rules[1].selectorText", "'*::cue(c)'");
16 shouldBe("rules[2].selectorText", "'*::cue(c,.class,#id:past,i:future)'");
17 </script>