https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 26e6ef3f13680c4d02b33bf1235884119f9e26e7 authored by James Graham on 04 April 2018, 18:33:40 UTC
Add long timeout to unstable CSP tests, a=testonly on a CLOSED TREE
Tip revision: 26e6ef3
css3-modsel-146b.xml
<csstest def=":nth-child() pseudo-class with hidden elements" module="W3C Selectors" modulename="css3-modsel" number="146b" rev="1.1" date="9-october-2002" xmlns="http://www.example.org/css3tests">

<author>Ian Hickson</author>

<cssrules>
  line { display: block; }
  [type~=match] { background: lime ! important; }
  line:nth-child(3n-1) { background: red; }
  [hidden] { display: none; }
</cssrules>

<code>
 <test xmlns="http://www.example.org/">
  <line type="">This line should be unstyled.</line>
  <line type="match">This line should be green.</line>
  <line type="">This line should be unstyled.</line>
  <line type="">This line should be unstyled.</line>
  <line type="match">This line should be green.</line>
  <line type="">This line should be unstyled.</line>
  <line type="" hidden="hidden">This line should be unstyled.</line>
  <line type="match">This line should be green.</line>
  <line type="">This line should be unstyled.</line>
  <line type="">This line should be unstyled.</line>
  <line type="match">This line should be green.</line>
  <line type="">This line should be unstyled.</line>
  <line type="" hidden="hidden">This line should be unstyled.</line>
  <line type="match" hidden="hidden">This line should be green.</line>
  <line type="">This line should be unstyled.</line>
  <line type="">This line should be unstyled.</line>
  <line type="match">This line should be green.</line>
  <line type="">This line should be unstyled.</line>
  <line type="">This line should be unstyled.</line>
  <line type="match">This line should be green.</line>
  <line type="">This line should be unstyled.</line>
 </test>
</code>
</csstest>
back to top