forked from w3c/csswg-test
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcss3-modsel-136b.xml
24 lines (21 loc) · 1.39 KB
/
css3-modsel-136b.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<csstest def="NEGATED Substring matching attribute selector on middle with universal namespace" module="W3C Selectors" modulename="css3-modsel" number="136b" 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 }
*|p.red, *|q, *|t { background-color : lime ! important }
div.stub *|*:not([*|title*="on ch"]) { background-color : red }
</cssrules>
<code>
<div class="stub" xmlns="http://www.w3.org/1999/xhtml">
<p title="si on chantait">This paragraph should be unstyled.</p>
<p title="si il chantait" class="red">This paragraph should have a green background.</p>
<q a:title="si nous chantions" xmlns="http://www.example.org/a">This paragraph should have a green background.</q>
<r a: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 be unstyled.</s>
<t b:ti="si on chantait" xmlns="http://www.example.org/b">This paragraph should have a green background.</t>
</div>
</code>
</csstest>