mirror of
https://github.com/servo/servo.git
synced 2025-10-16 16:29:18 +01:00
22 lines
1.3 KiB
XML
22 lines
1.3 KiB
XML
<csstest def="NEGATED Substring matching attribute selector on beginning without declared namespace" module="W3C Selectors" modulename="css3-modsel" number="141" 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);
|
|
@namespace html url(http://www.w3.org/1999/xhtml);
|
|
*|p, *|q, *|r, *|s, *|t{ display : block ; margin-bottom : 1em }
|
|
*|q, *|s, *|t { background-color : red }
|
|
div.stub *|*:not([|title^="si on"]) { background-color : lime }</cssrules>
|
|
|
|
<code>
|
|
<div class="stub" xmlns="http://www.w3.org/1999/xhtml">
|
|
<p title="si on chantait">This paragraph should be unstyled.</p>
|
|
<q a:title="si nous chantions" xmlns="http://www.example.org/a">This paragraph should have a green background.</q>
|
|
<r title="si on chantait" xmlns="http://www.example.org/a">This paragraph should be unstyled.</r>
|
|
<s b:title="si on chantait" xmlns="http://www.example.org/b">This paragraph should have a green background.</s>
|
|
<t b:ti="si on chantait" xmlns="http://www.example.org/b">This paragraph should have a green background.</t>
|
|
</div>
|
|
</code>
|
|
</csstest>
|