https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 093b0b3d5d041c16ef342790acaf3e9c1b5e01e6 authored by Hayato Ito on 28 March 2018, 12:08:08 UTC
Keep track of all pending slot assignments, and recalc all before UpdateStyle phase
Tip revision: 093b0b3
css3-modsel-130.xml
<csstest def="NEGATED Attribute existence selector with universal namespace" module="W3C Selectors" modulename="css3-modsel" number="130" 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 { background-color : red }
div.stub *|*:not([*|title]) { background-color : lime }
</cssrules>

<code>
<div class="stub" xmlns="http://www.w3.org/1999/xhtml">
<q a:foo="si on chantait" 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>
</div>
</code>
</csstest>
back to top