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-96.xml
<csstest def="Universal selector without declared namespace" module="W3C Selectors" modulename="css3-modsel" number="96" rev="1.1" date="12-november-2001" xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" 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);
div.green * { background-color : red }
div.test * { display : block ; margin-bottom : 1em }
div.test |* { background-color : lime }</cssrules>

<code>
<div class="test" xmlns="http://www.w3.org/1999/xhtml">
 <p>This line should be unstyled.</p>
 <elementA xmlns="http://www.example.org/a">This line should be unstyled.</elementA>
 <elementB xmlns="http://www.example.org/b">This line should be unstyled.</elementB>
 <div class="green">
  <p xmlns="">This line should have a green background</p>
  <elementA xmlns="">This line should have a green background</elementA>
  <elementB xmlns="">This line should have a green background</elementB>
 </div>
</div>
</code>
</csstest>
back to top