| Index: third_party/WebKit/LayoutTests/fast/css/specificity-not-and-default-ns.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/css/specificity-not-and-default-ns.html b/third_party/WebKit/LayoutTests/fast/css/specificity-not-and-default-ns.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..ebd0ba2aa39230dcab053f2d7a952f53bcd00e10
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/fast/css/specificity-not-and-default-ns.html
|
| @@ -0,0 +1,14 @@
|
| +<!DOCTYPE html>
|
| +<script src="../../resources/testharness.js"></script>
|
| +<script src="../../resources/testharnessreport.js"></script>
|
| +<style>
|
| + @namespace "http://www.w3.org/1999/xhtml";
|
| +
|
| + #t1:not(.nomatch) { color: green }
|
| + #t1 { color: red }
|
| +</style>
|
| +<div id="t1">This text should be green</div>
|
| +<script>
|
| + test(() => assert_equals(getComputedStyle(t1).color, "rgb(0, 128, 0)"),
|
| + "Selectors inside :not contributes specificity.");
|
| +</script>
|
|
|