https://github.com/web-platform-tests/wpt
Raw File
Tip revision: fced01876b48e034b64d9dad6de14d1bdeba3cc0 authored by Daniel Cheng on 12 April 2018, 12:08:45 UTC
Return null from contentDocument/getSVGDocument() for cross-origin documents.
Tip revision: fced018
css3-modsel-94.xml
<csstest def="Universal selector with declared namespace" module="W3C Selectors" modulename="css3-modsel" number="94" 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);
p, q { display : block ; margin-bottom : 1em }
b|* { background-color : lime }</cssrules>

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