mirror of
https://github.com/servo/servo.git
synced 2025-10-17 08:49:21 +01:00
21 lines
1.1 KiB
XML
21 lines
1.1 KiB
XML
<csstest def="NEGATED Attribute value selector with declared namespace" module="W3C Selectors" modulename="css3-modsel" number="124" rev="1.1" date="13-november-2001" xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml" xmlns="http://www.example.org/css3tests">
|
|
|
|
<author>Daniel Glazman</author>
|
|
<author>Ian Hickson</author>
|
|
|
|
<cssrules>@namespace a url(http://www.example.org/a);
|
|
@namespace b url(http://www.example.org/b);
|
|
*|p, *|q, *|r, *|s { display : block ; margin-bottom : 1em }
|
|
*|p, *|r, *|s { background-color : red }
|
|
div.stub *:not([a|title="foo"]) {background-color : lime }
|
|
</cssrules>
|
|
|
|
<code>
|
|
<div class="stub" xmlns="http://www.w3.org/1999/xhtml">
|
|
<p title="foo">This paragraph should have a green background.</p>
|
|
<q a:title="foo" xmlns="http://www.example.org/a">This paragraph should be unstyled.</q>
|
|
<s a:title="foobar" xmlns="http://www.example.org/a">This paragraph should have a green background.</s>
|
|
<r b:title="foo" xmlns="http://www.example.org/b">This paragraph should have a green background.</r>
|
|
</div>
|
|
</code>
|
|
</csstest>
|