| Index: third_party/WebKit/LayoutTests/fast/css/namespaces/invalid-url-in-namespace.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/css/namespaces/invalid-url-in-namespace.html b/third_party/WebKit/LayoutTests/fast/css/namespaces/invalid-url-in-namespace.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..0956f2c1b1aaa1bf98309bd1616844fcb0c32a5d
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/fast/css/namespaces/invalid-url-in-namespace.html
|
| @@ -0,0 +1,26 @@
|
| +<!DOCTYPE html>
|
| +
|
| +<script src="../../../resources/testharness.js"></script>
|
| +<script src="../../../resources/testharnessreport.js"></script>
|
| +
|
| +<style>
|
| + @namespace html url(http://www.w3.org/1999/xhtml);
|
| + @namespace html url("bad-string-token
|
| + );
|
| + div {
|
| + background-color: red;
|
| + width: 100px;
|
| + height: 100px;
|
| + }
|
| + html|div {
|
| + background-color: green;
|
| + }
|
| +</style>
|
| +
|
| +<div id=div></div>
|
| +
|
| +<script>
|
| +test(() => {
|
| + assert_equals(getComputedStyle(div).backgroundColor, "rgb(0, 128, 0)");
|
| +});
|
| +</script>
|
|
|