| Index: third_party/WebKit/LayoutTests/cssom/serialize-namespaced-type-selectors.html
|
| diff --git a/third_party/WebKit/LayoutTests/cssom/serialize-namespaced-type-selectors.html b/third_party/WebKit/LayoutTests/cssom/serialize-namespaced-type-selectors.html
|
| index 84e828285bf60f7e878ef128d4ee363c1941444a..eb509d657f1c1bb1c560a5002caf838227b9c775 100644
|
| --- a/third_party/WebKit/LayoutTests/cssom/serialize-namespaced-type-selectors.html
|
| +++ b/third_party/WebKit/LayoutTests/cssom/serialize-namespaced-type-selectors.html
|
| @@ -6,6 +6,7 @@
|
| <script>
|
| var ns_rule = "@namespace ns url(ns);";
|
| var default_ns_rules = "@namespace url(default_ns); @namespace nsdefault url(default_ns);" + ns_rule;
|
| + var escaped_ns_rule = "@namespace ns\\:odd url(ns);";
|
|
|
| function assert_selector_serializes_to(source, expected_result) {
|
| var style_element = document.getElementById("teststyles");
|
| @@ -89,4 +90,10 @@
|
| test(function() {
|
| assert_selector_serializes_to(default_ns_rules + "nsdefault|*.c", ".c");
|
| }, "Universal selector with namespace equal to default namespace followed by class");
|
| + test(function() {
|
| + assert_selector_serializes_to(escaped_ns_rule + "ns\\:odd|e", "ns\\:odd|e");
|
| + }, "Type selector with namespace with escaped character");
|
| + test(function() {
|
| + assert_selector_serializes_to(escaped_ns_rule + "ns\\:odd|odd\\:e", "ns\\:odd|odd\\:e");
|
| + }, "Type selector with escaped character and namespace with escaped character");
|
| </script>
|
|
|