| Index: LayoutTests/fast/css/namespaces/empty-namespace-compound-selector-2.xhtml
|
| diff --git a/LayoutTests/fast/css/namespaces/empty-namespace-compound-selector-2.xhtml b/LayoutTests/fast/css/namespaces/empty-namespace-compound-selector-2.xhtml
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..82874a9e2e13fd27041fd07920f83c2f945312fa
|
| --- /dev/null
|
| +++ b/LayoutTests/fast/css/namespaces/empty-namespace-compound-selector-2.xhtml
|
| @@ -0,0 +1,25 @@
|
| +<html xmlns="http://www.w3.org/1999/xhtml">
|
| +<style>
|
| +*|Y {
|
| + display: block;
|
| + width: 100px;
|
| + height: 100px;
|
| + background-color: green;
|
| +}
|
| +
|
| +|Y#div {
|
| + background-color: red;
|
| +}
|
| +</style>
|
| +<Y id="div"></Y>
|
| +
|
| +<script src="../../../resources/testharness.js"></script>
|
| +<script src="../../../resources/testharnessreport.js"></script>
|
| +
|
| +<script>
|
| +test(function(){
|
| + assert_equals(getComputedStyle(document.getElementById('div')).backgroundColor, 'rgb(0, 128, 0)');
|
| +}, "Empty namespaces should work correctly on compound selectors");
|
| +</script>
|
| +
|
| +</html>
|
|
|