mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-29 02:17:45 -10:00
22 lines
1.1 KiB
XML
22 lines
1.1 KiB
XML
<csstest def="Attribute value selector with declared namespace" module="W3C Selectors" modulename="css3-modsel" number="98" rev="1.2" date="7-february-2004" 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 }
|
|
*|q, *|t { background-color : red }
|
|
*[a|title="foo"] {background-color : lime }
|
|
*[a|title=footwo] {background-color : lime }
|
|
</cssrules>
|
|
|
|
<code>
|
|
<p title="foo" xmlns="http://www.w3.org/1999/xhtml">This paragraph should be unstyled.</p>
|
|
<q a:title="foo" xmlns="http://www.example.org/a">This paragraph should have a green background</q>
|
|
<s a:title="foobar" xmlns="http://www.example.org/a">This paragraph should be unstyled.</s>
|
|
<r b:title="foo" xmlns="http://www.example.org/b">This paragraph should be unstyled.</r>
|
|
<t a:title="footwo" xmlns="http://www.example.org/a">This paragraph should have a green background</t>
|
|
</code>
|
|
</csstest>
|