https://github.com/web-platform-tests/wpt
Raw File
Tip revision: c6fbe7e7254917992588d44e082a540b37abd035 authored by Josh Matthews on 14 March 2018, 15:06:50 UTC
Add a lint to catch adding files that would otherwise be ignored by git.
Tip revision: c6fbe7e
css3-modsel-172b.xml
<csstest def="Namespaced attribute selectors" module="W3C Selectors" modulename="css3-modsel" number="172b" rev="1.0" date="20-september-2002" xmlns="http://www.example.org/css3tests">

<author>Ian Hickson</author>

<cssrules>
 @namespace url(http://css.example.net/);
 tests, tests * { display: block; color: green; }
 testA[|attribute] { color: red; }
 testB[|attribute="fail"] { color: red; }
 testC[|attribute~="fail"] { color: red; }
 testD[|attribute^="fail"] { color: red; }
 testE[|attribute*="fail"] { color: red; }
 testF[|attribute$="fail"] { color: red; }
 testG[|attribute|="fail"] { color: red; }
</cssrules>

<code>
  <tests xmlns="http://css.example.net/" xmlns:test="http://css.example.net/">
   <testA test:attribute="fail">This should be green.</testA>
   <testB test:attribute="fail">This should be green.</testB>
   <testC test:attribute="fail">This should be green.</testC>
   <testD test:attribute="fail">This should be green.</testD>
   <testE test:attribute="fail">This should be green.</testE>
   <testF test:attribute="fail">This should be green.</testF>
   <testG test:attribute="fail">This should be green.</testG>
  </tests>
</code>

</csstest>
back to top