<?xml-stylesheet href="../../../style/xml-full.css" type="text/css"?>
<?xml-stylesheet href="css3-modsel-10.css" type="text/css"?>
<test xmlns:xlink="http://www.w3.org/1999/xlink">
 <title>Substring matching attribute selector (end)</title>
 <author>Daniel Glazman</author>
 <author>Ian Hickson</author>
 <metadata>
  <item> <name>CSS 3 Module</name> <data>W3C Selectors</data> </item>
  <item> <name>Next</name> <data xlink:type="simple" xlink:href="css3-modsel-11.xml">Substring matching attribute selector (contains)</data> </item>
  <item> <name>Previous</name> <data xlink:type="simple" xlink:href="css3-modsel-9.xml">Substring matching attribute selector (beginning)</data> </item>
  <item> <name>Test #</name> <data>12 of 276 of the static tests category</data> </item>
  <item> <name>Testing</name> <data>Substring matching attribute selector (end)</data> </item>
  <item> <name>ID</name> <data>10</data> </item>
  <item> <name>Date</name> <data>2001-11-12</data> </item>
  <item> <name>Revision</name> <data>1.1</data> </item>
 </metadata>
  <content>
<p xmlns="http://www.w3.org/1999/xhtml" title="foobar">This paragraph should have a green background because
its title attribute ends with &quot;bar&quot;</p>
</content>
  <source>
   <css>p { background-color : red }
p[title$=&quot;bar&quot;] { background-color : lime }</css>
   <xml>
&lt;p xmlns=&quot;http://www.w3.org/1999/xhtml&quot; title=&quot;foobar&quot;&gt;This paragraph should have a green background because
its title attribute ends with &amp;quot;bar&amp;quot;&lt;/p&gt;
</xml>
  </source>
</test>