| Index: LayoutTests/fast/css/namespaces/namespaces-invalid-prefix.xhtml
|
| diff --git a/LayoutTests/fast/css/namespaces/namespaces-invalid-prefix.xhtml b/LayoutTests/fast/css/namespaces/namespaces-invalid-prefix.xhtml
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..65246f0679a6d73a516551ff933559a62675b75d
|
| --- /dev/null
|
| +++ b/LayoutTests/fast/css/namespaces/namespaces-invalid-prefix.xhtml
|
| @@ -0,0 +1,22 @@
|
| +<html xmlns="http://www.w3.org/1999/xhtml">
|
| +<style>
|
| +abc|div {
|
| + background-color: red;
|
| +}
|
| +
|
| +[abc|id] {
|
| + background-color: green;
|
| +}
|
| +</style>
|
| +<div id="target"></div>
|
| +
|
| +<script src="../../../resources/testharness.js"></script>
|
| +<script src="../../../resources/testharnessreport.js"></script>
|
| +
|
| +<script>
|
| +test(function(){
|
| + assert_equals(document.styleSheets[0].cssRules.length, 0);
|
| +}, "Style rules with namespace prefixes not declared before, should be ignored");
|
| +</script>
|
| +
|
| +</html>
|
|
|