Revision 40e55d85d9e7649d8b8e573b8d9b77e0e183fe63 authored by Philip Jägenstedt on 27 April 2018, 09:23:29 UTC, committed by Blink WPT Bot on 27 April 2018, 09:41:43 UTC
1 parent 8f1bac8
Raw File
css3-modsel-126.xml
<csstest def="NEGATED Attribute dash-separated value selector with declared namespace" module="W3C Selectors" modulename="css3-modsel" number="126" 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 { display : block ; margin-bottom : 1em }
*|q, *|s { background-color : red }
div.stub *|*:not([a|foo|="bar"]) { background-color : lime }
</cssrules>

<code>
<div class="stub" xmlns="http://www.w3.org/1999/xhtml">
<q a:foo="bargain-trash" xmlns="http://www.example.org/a">This paragraph should have a green background.</q>
<r a:foo="bar-drink-glass" xmlns="http://www.example.org/a">This paragraph should be unstyled.</r>
<s b:foo="bar-drink-glass" xmlns="http://www.example.org/b">This paragraph should have a green background.</s>
</div>
</code>
</csstest>
back to top