{'css3-modsel-50' => {'rev' => '1.0','escapedcode-xml' => '
&lt;div xmlns="http://www.w3.org/1999/xhtml" class="stub">
&lt;q xmlns="http://www.example.org/a" test="1">
  &lt;r>This text should be in green characters&lt;/r>
&lt;/q>
&lt;s xmlns="http://www.example.org/a">This text should be in green characters&lt;/s>
&lt;/div>
','escapedcode-css' => '@namespace a url(http://www.example.org/a);
a|* { color : red ; display : block ; margin-bottom : 1em }
div.stub *|*:not([test]) { color : lime }','escapedcode-html' => '
&lt;div class="stub">
&lt;q xmlns="http://www.example.org/a" test="1">
  &lt;r>This text should be in green characters&lt;/r>
&lt;/q>
&lt;s xmlns="http://www.example.org/a">This text should be in green characters&lt;/s>
&lt;/div>
','def' => 'NEGATED attribute existence selector','number' => '50','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => '@namespace a url(http://www.example.org/a);
a|* { color : red ; display : block ; margin-bottom : 1em }
div.stub *|*:not([test]) { color : lime }','author' => ['Daniel Glazman'],'code-html' => '
<div class="stub">
<q xmlns="http://www.example.org/a" test="1">
  <r>This text should be in green characters</r>
</q>
<s xmlns="http://www.example.org/a">This text should be in green characters</s>
</div>
','endTag' => '</s>','date' => '11-july-2001','code-xml' => '
<div xmlns="http://www.w3.org/1999/xhtml" class="stub">
<q xmlns="http://www.example.org/a" test="1">
  <r>This text should be in green characters</r>
</q>
<s xmlns="http://www.example.org/a">This text should be in green characters</s>
</div>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','namespaced' => 1,'escapedcode-xhtml' => '
&lt;div class="stub">
&lt;q xmlns="http://www.example.org/a" test="1">
  &lt;r>This text should be in green characters&lt;/r>
&lt;/q>
&lt;s xmlns="http://www.example.org/a">This text should be in green characters&lt;/s>
&lt;/div>
','code-xhtml' => '
<div class="stub">
<q xmlns="http://www.example.org/a" test="1">
  <r>This text should be in green characters</r>
</q>
<s xmlns="http://www.example.org/a">This text should be in green characters</s>
</div>
'},'css3-modsel-51' => {'rev' => '1.0','escapedcode-xml' => '
&lt;div xmlns="http://www.w3.org/1999/xhtml" class="stub">
&lt;q xmlns="http://www.example.org/a" test="1">
  &lt;r test="11">This text should be&lt;/r>
  &lt;r>in green characters&lt;/r>
&lt;/q>
&lt;s xmlns="http://www.example.org/a">This text should be in green characters&lt;/s>
&lt;p>This text should be in green characters&lt;/p>
&lt;/div>
','escapedcode-css' => '@namespace a url(http://www.example.org/a);
div.stub > p {color : red }
div.stub > a|* { color : red ; display : block ; margin-bottom : 1em }
div.stub *|*:not([test="1"]) { color : lime }','escapedcode-html' => '
&lt;div class="stub">
&lt;q xmlns="http://www.example.org/a" test="1">
  &lt;r test="11">This text should be&lt;/r>
  &lt;r>in green characters&lt;/r>
&lt;/q>
&lt;s xmlns="http://www.example.org/a">This text should be in green characters&lt;/s>
&lt;p>This text should be in green characters&lt;/p>
&lt;/div>
','def' => 'NEGATED attribute value selector','number' => '51','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => '@namespace a url(http://www.example.org/a);
div.stub > p {color : red }
div.stub > a|* { color : red ; display : block ; margin-bottom : 1em }
div.stub *|*:not([test="1"]) { color : lime }','author' => ['Daniel Glazman'],'code-html' => '
<div class="stub">
<q xmlns="http://www.example.org/a" test="1">
  <r test="11">This text should be</r>
  <r>in green characters</r>
</q>
<s xmlns="http://www.example.org/a">This text should be in green characters</s>
<p>This text should be in green characters</p>
</div>
','endTag' => '</p>','date' => '11-july-2001','code-xml' => '
<div xmlns="http://www.w3.org/1999/xhtml" class="stub">
<q xmlns="http://www.example.org/a" test="1">
  <r test="11">This text should be</r>
  <r>in green characters</r>
</q>
<s xmlns="http://www.example.org/a">This text should be in green characters</s>
<p>This text should be in green characters</p>
</div>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','namespaced' => 1,'escapedcode-xhtml' => '
&lt;div class="stub">
&lt;q xmlns="http://www.example.org/a" test="1">
  &lt;r test="11">This text should be&lt;/r>
  &lt;r>in green characters&lt;/r>
&lt;/q>
&lt;s xmlns="http://www.example.org/a">This text should be in green characters&lt;/s>
&lt;p>This text should be in green characters&lt;/p>
&lt;/div>
','code-xhtml' => '
<div class="stub">
<q xmlns="http://www.example.org/a" test="1">
  <r test="11">This text should be</r>
  <r>in green characters</r>
</q>
<s xmlns="http://www.example.org/a">This text should be in green characters</s>
<p>This text should be in green characters</p>
</div>
'},'css3-modsel-52' => {'rev' => '1.0','escapedcode-xml' => '
&lt;div xmlns="http://www.w3.org/1999/xhtml" class="stub">
&lt;q xmlns="http://www.example.org/a" test="bar foo tut">
  &lt;r test="tut foofoo bar">This text should be&lt;/r>
  &lt;r>in green characters&lt;/r>
&lt;/q>
&lt;s xmlns="http://www.example.org/a" test="bar tut">This text should be in green characters&lt;/s>
&lt;t xmlns="http://www.example.org/a">This text should be in green characters&lt;/t>
&lt;p class="tit foo1 tut">This text should be in green characters&lt;/p>
&lt;u xmlns="http://www.example.org/b" test="tit foo2 tut">This text should be in green characters&lt;/u>
&lt;/div>
','escapedcode-css' => '@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
div.stub p { color : red }
div.stub > a|*, div.stub > b|* { color : red ; display : block ; margin-bottom : 1em }
div.stub *|*:not([test~="foo"]) { color : lime }
div.stub *|p:not([class~="foo"]) { color : lime }
div.stub b|*[test~="foo2"] { color : lime }
','escapedcode-html' => '
&lt;div class="stub">
&lt;q xmlns="http://www.example.org/a" test="bar foo tut">
  &lt;r test="tut foofoo bar">This text should be&lt;/r>
  &lt;r>in green characters&lt;/r>
&lt;/q>
&lt;s xmlns="http://www.example.org/a" test="bar tut">This text should be in green characters&lt;/s>
&lt;t xmlns="http://www.example.org/a">This text should be in green characters&lt;/t>
&lt;p class="tit foo1 tut">This text should be in green characters&lt;/p>
&lt;u xmlns="http://www.example.org/b" test="tit foo2 tut">This text should be in green characters&lt;/u>
&lt;/div>
','def' => 'NEGATED attribute space-separated value selector','number' => '52','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => '@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
div.stub p { color : red }
div.stub > a|*, div.stub > b|* { color : red ; display : block ; margin-bottom : 1em }
div.stub *|*:not([test~="foo"]) { color : lime }
div.stub *|p:not([class~="foo"]) { color : lime }
div.stub b|*[test~="foo2"] { color : lime }
','author' => ['Daniel Glazman'],'code-html' => '
<div class="stub">
<q xmlns="http://www.example.org/a" test="bar foo tut">
  <r test="tut foofoo bar">This text should be</r>
  <r>in green characters</r>
</q>
<s xmlns="http://www.example.org/a" test="bar tut">This text should be in green characters</s>
<t xmlns="http://www.example.org/a">This text should be in green characters</t>
<p class="tit foo1 tut">This text should be in green characters</p>
<u xmlns="http://www.example.org/b" test="tit foo2 tut">This text should be in green characters</u>
</div>
','endTag' => '</u>','date' => '11-july-2001','code-xml' => '
<div xmlns="http://www.w3.org/1999/xhtml" class="stub">
<q xmlns="http://www.example.org/a" test="bar foo tut">
  <r test="tut foofoo bar">This text should be</r>
  <r>in green characters</r>
</q>
<s xmlns="http://www.example.org/a" test="bar tut">This text should be in green characters</s>
<t xmlns="http://www.example.org/a">This text should be in green characters</t>
<p class="tit foo1 tut">This text should be in green characters</p>
<u xmlns="http://www.example.org/b" test="tit foo2 tut">This text should be in green characters</u>
</div>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','namespaced' => 1,'escapedcode-xhtml' => '
&lt;div class="stub">
&lt;q xmlns="http://www.example.org/a" test="bar foo tut">
  &lt;r test="tut foofoo bar">This text should be&lt;/r>
  &lt;r>in green characters&lt;/r>
&lt;/q>
&lt;s xmlns="http://www.example.org/a" test="bar tut">This text should be in green characters&lt;/s>
&lt;t xmlns="http://www.example.org/a">This text should be in green characters&lt;/t>
&lt;p class="tit foo1 tut">This text should be in green characters&lt;/p>
&lt;u xmlns="http://www.example.org/b" test="tit foo2 tut">This text should be in green characters&lt;/u>
&lt;/div>
','code-xhtml' => '
<div class="stub">
<q xmlns="http://www.example.org/a" test="bar foo tut">
  <r test="tut foofoo bar">This text should be</r>
  <r>in green characters</r>
</q>
<s xmlns="http://www.example.org/a" test="bar tut">This text should be in green characters</s>
<t xmlns="http://www.example.org/a">This text should be in green characters</t>
<p class="tit foo1 tut">This text should be in green characters</p>
<u xmlns="http://www.example.org/b" test="tit foo2 tut">This text should be in green characters</u>
</div>
'},'css3-modsel-53' => {'rev' => '1.0','escapedcode-xml' => '
&lt;div xmlns="http://www.w3.org/1999/xhtml" class="stub">
&lt;q xmlns="http://www.example.org/a" test="foo-bar">
  &lt;r test="foo-bartut">This text should be&lt;/r>
  &lt;r>in green characters&lt;/r>
&lt;/q>
&lt;s xmlns="http://www.example.org/a" test="bar tut">This text should be in green characters&lt;/s>
&lt;t xmlns="http://www.example.org/a">This text should be in green characters&lt;/t>
&lt;p class="en-uk">This text should be in green characters&lt;/p>
&lt;u xmlns="http://www.example.org/b" test="foo2-bar-lol">This text should be in green characters&lt;/u>
&lt;/div>
','escapedcode-css' => '@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
div.stub p { color : red }
div.stub > a|*, div.stub > b|* { color : red ; display : block ; margin-bottom : 1em }
div.stub *|*:not([test|="foo-bar"]) { color : lime }
div.stub *|p:not([lang|="en-us"]) { color : lime }
div.stub b|*[test|="foo2-bar"] { color : lime }
','escapedcode-html' => '
&lt;div class="stub">
&lt;q xmlns="http://www.example.org/a" test="foo-bar">
  &lt;r test="foo-bartut">This text should be&lt;/r>
  &lt;r>in green characters&lt;/r>
&lt;/q>
&lt;s xmlns="http://www.example.org/a" test="bar tut">This text should be in green characters&lt;/s>
&lt;t xmlns="http://www.example.org/a">This text should be in green characters&lt;/t>
&lt;p class="en-uk">This text should be in green characters&lt;/p>
&lt;u xmlns="http://www.example.org/b" test="foo2-bar-lol">This text should be in green characters&lt;/u>
&lt;/div>
','def' => 'NEGATED attribute dash-separated value selector','number' => '53','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => '@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
div.stub p { color : red }
div.stub > a|*, div.stub > b|* { color : red ; display : block ; margin-bottom : 1em }
div.stub *|*:not([test|="foo-bar"]) { color : lime }
div.stub *|p:not([lang|="en-us"]) { color : lime }
div.stub b|*[test|="foo2-bar"] { color : lime }
','author' => ['Daniel Glazman'],'code-html' => '
<div class="stub">
<q xmlns="http://www.example.org/a" test="foo-bar">
  <r test="foo-bartut">This text should be</r>
  <r>in green characters</r>
</q>
<s xmlns="http://www.example.org/a" test="bar tut">This text should be in green characters</s>
<t xmlns="http://www.example.org/a">This text should be in green characters</t>
<p class="en-uk">This text should be in green characters</p>
<u xmlns="http://www.example.org/b" test="foo2-bar-lol">This text should be in green characters</u>
</div>
','endTag' => '</u>','date' => '11-july-2001','code-xml' => '
<div xmlns="http://www.w3.org/1999/xhtml" class="stub">
<q xmlns="http://www.example.org/a" test="foo-bar">
  <r test="foo-bartut">This text should be</r>
  <r>in green characters</r>
</q>
<s xmlns="http://www.example.org/a" test="bar tut">This text should be in green characters</s>
<t xmlns="http://www.example.org/a">This text should be in green characters</t>
<p class="en-uk">This text should be in green characters</p>
<u xmlns="http://www.example.org/b" test="foo2-bar-lol">This text should be in green characters</u>
</div>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','namespaced' => 1,'escapedcode-xhtml' => '
&lt;div class="stub">
&lt;q xmlns="http://www.example.org/a" test="foo-bar">
  &lt;r test="foo-bartut">This text should be&lt;/r>
  &lt;r>in green characters&lt;/r>
&lt;/q>
&lt;s xmlns="http://www.example.org/a" test="bar tut">This text should be in green characters&lt;/s>
&lt;t xmlns="http://www.example.org/a">This text should be in green characters&lt;/t>
&lt;p class="en-uk">This text should be in green characters&lt;/p>
&lt;u xmlns="http://www.example.org/b" test="foo2-bar-lol">This text should be in green characters&lt;/u>
&lt;/div>
','code-xhtml' => '
<div class="stub">
<q xmlns="http://www.example.org/a" test="foo-bar">
  <r test="foo-bartut">This text should be</r>
  <r>in green characters</r>
</q>
<s xmlns="http://www.example.org/a" test="bar tut">This text should be in green characters</s>
<t xmlns="http://www.example.org/a">This text should be in green characters</t>
<p class="en-uk">This text should be in green characters</p>
<u xmlns="http://www.example.org/b" test="foo2-bar-lol">This text should be in green characters</u>
</div>
'},'css3-modsel-54' => {'rev' => '1.0','escapedcode-xml' => '
&lt;div xmlns="http://www.w3.org/1999/xhtml" class="stub">
&lt;p>This paragraph should be in green characters.&lt;/p>
&lt;p title="on chante?">This paragraph should be in green characters.&lt;/p>
&lt;p title="si on chantait">
     &lt;span title="si il chantait">This paragraph should be in green characters.&lt;/span>
&lt;/p>
&lt;/div>
','escapedcode-css' => 'div.stub > * { color : red }
div.stub *:not([title^="si on"]) { color : lime }
','escapedcode-html' => '
&lt;div class="stub">
&lt;p>This paragraph should be in green characters.&lt;/p>
&lt;p title="on chante?">This paragraph should be in green characters.&lt;/p>
&lt;p title="si on chantait">
     &lt;span title="si il chantait">This paragraph should be in green characters.&lt;/span>
&lt;/p>
&lt;/div>
','def' => 'NEGATED substring matching attribute selector on beginning','number' => '54','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => 'div.stub > * { color : red }
div.stub *:not([title^="si on"]) { color : lime }
','author' => ['Daniel Glazman'],'code-html' => '
<div class="stub">
<p>This paragraph should be in green characters.</p>
<p title="on chante?">This paragraph should be in green characters.</p>
<p title="si on chantait">
     <span title="si il chantait">This paragraph should be in green characters.</span>
</p>
</div>
','endTag' => '</span>','date' => '11-july-2001','code-xml' => '
<div xmlns="http://www.w3.org/1999/xhtml" class="stub">
<p>This paragraph should be in green characters.</p>
<p title="on chante?">This paragraph should be in green characters.</p>
<p title="si on chantait">
     <span title="si il chantait">This paragraph should be in green characters.</span>
</p>
</div>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','escapedcode-xhtml' => '
&lt;div class="stub">
&lt;p>This paragraph should be in green characters.&lt;/p>
&lt;p title="on chante?">This paragraph should be in green characters.&lt;/p>
&lt;p title="si on chantait">
     &lt;span title="si il chantait">This paragraph should be in green characters.&lt;/span>
&lt;/p>
&lt;/div>
','code-xhtml' => '
<div class="stub">
<p>This paragraph should be in green characters.</p>
<p title="on chante?">This paragraph should be in green characters.</p>
<p title="si on chantait">
     <span title="si il chantait">This paragraph should be in green characters.</span>
</p>
</div>
'},'css3-modsel-100' => {'rev' => '1.0','escapedcode-xml' => '
&lt;p xmlns="http://www.w3.org/1999/xhtml" html:lang="en-us">This paragraph should have a green background&lt;/p>
&lt;q xmlns="http://www.example.org/a" a:foo="bargain-trash">This paragraph should NOT
          have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/a" a:foo="bar-drink-glass">This paragraph should
          have a green background&lt;/r>
&lt;s xmlns="http://www.example.org/b" b:foo="bar-drink-glass">This paragraph should NOT
          have a green background&lt;/s>
','escapedcode-css' => '@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
@namespace html url(http://www.w3.org/1999/xhtml);
*|p, *|q, *|r, *|s { display : block ; margin-bottom : 1em }
*|p, *|r { background-color : red }
*|*[a|foo|="bar"], *|*[html|lang|="en"] { background-color : lime }
','escapedcode-html' => '
&lt;p html:lang="en-us">This paragraph should have a green background&lt;/p>
&lt;q xmlns="http://www.example.org/a" a:foo="bargain-trash">This paragraph should NOT
          have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/a" a:foo="bar-drink-glass">This paragraph should
          have a green background&lt;/r>
&lt;s xmlns="http://www.example.org/b" b:foo="bar-drink-glass">This paragraph should NOT
          have a green background&lt;/s>
','def' => 'Attribute dash-separated value selector with declared namespace','number' => '100','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => '@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
@namespace html url(http://www.w3.org/1999/xhtml);
*|p, *|q, *|r, *|s { display : block ; margin-bottom : 1em }
*|p, *|r { background-color : red }
*|*[a|foo|="bar"], *|*[html|lang|="en"] { background-color : lime }
','author' => ['Daniel Glazman'],'code-html' => '
<p html:lang="en-us">This paragraph should have a green background</p>
<q xmlns="http://www.example.org/a" a:foo="bargain-trash">This paragraph should NOT
          have a green background</q>
<r xmlns="http://www.example.org/a" a:foo="bar-drink-glass">This paragraph should
          have a green background</r>
<s xmlns="http://www.example.org/b" b:foo="bar-drink-glass">This paragraph should NOT
          have a green background</s>
','endTag' => '</s>','date' => '11-july-2001','code-xml' => '
<p xmlns="http://www.w3.org/1999/xhtml" html:lang="en-us">This paragraph should have a green background</p>
<q xmlns="http://www.example.org/a" a:foo="bargain-trash">This paragraph should NOT
          have a green background</q>
<r xmlns="http://www.example.org/a" a:foo="bar-drink-glass">This paragraph should
          have a green background</r>
<s xmlns="http://www.example.org/b" b:foo="bar-drink-glass">This paragraph should NOT
          have a green background</s>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','namespaced' => 1,'escapedcode-xhtml' => '
&lt;p html:lang="en-us">This paragraph should have a green background&lt;/p>
&lt;q xmlns="http://www.example.org/a" a:foo="bargain-trash">This paragraph should NOT
          have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/a" a:foo="bar-drink-glass">This paragraph should
          have a green background&lt;/r>
&lt;s xmlns="http://www.example.org/b" b:foo="bar-drink-glass">This paragraph should NOT
          have a green background&lt;/s>
','code-xhtml' => '
<p html:lang="en-us">This paragraph should have a green background</p>
<q xmlns="http://www.example.org/a" a:foo="bargain-trash">This paragraph should NOT
          have a green background</q>
<r xmlns="http://www.example.org/a" a:foo="bar-drink-glass">This paragraph should
          have a green background</r>
<s xmlns="http://www.example.org/b" b:foo="bar-drink-glass">This paragraph should NOT
          have a green background</s>
'},'css3-modsel-55' => {'rev' => '1.0','escapedcode-xml' => '
&lt;div xmlns="http://www.w3.org/1999/xhtml" class="stub">
&lt;p>This paragraph should be in green characters.&lt;/p>
&lt;p title="on chante?">This paragraph should be in green characters.&lt;/p>
&lt;p title="si on chantait">
     &lt;span title="si il chante">This paragraph should be in green characters.&lt;/span>
&lt;/p>
&lt;/div>
','escapedcode-css' => 'div.stub > * { color : red }
div.stub *:not([title$="tait"]) { color : lime }
','escapedcode-html' => '
&lt;div class="stub">
&lt;p>This paragraph should be in green characters.&lt;/p>
&lt;p title="on chante?">This paragraph should be in green characters.&lt;/p>
&lt;p title="si on chantait">
     &lt;span title="si il chante">This paragraph should be in green characters.&lt;/span>
&lt;/p>
&lt;/div>
','def' => 'NEGATED substring matching attribute selector on end','number' => '55','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => 'div.stub > * { color : red }
div.stub *:not([title$="tait"]) { color : lime }
','author' => ['Daniel Glazman'],'code-html' => '
<div class="stub">
<p>This paragraph should be in green characters.</p>
<p title="on chante?">This paragraph should be in green characters.</p>
<p title="si on chantait">
     <span title="si il chante">This paragraph should be in green characters.</span>
</p>
</div>
','endTag' => '</span>','date' => '11-july-2001','code-xml' => '
<div xmlns="http://www.w3.org/1999/xhtml" class="stub">
<p>This paragraph should be in green characters.</p>
<p title="on chante?">This paragraph should be in green characters.</p>
<p title="si on chantait">
     <span title="si il chante">This paragraph should be in green characters.</span>
</p>
</div>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','escapedcode-xhtml' => '
&lt;div class="stub">
&lt;p>This paragraph should be in green characters.&lt;/p>
&lt;p title="on chante?">This paragraph should be in green characters.&lt;/p>
&lt;p title="si on chantait">
     &lt;span title="si il chante">This paragraph should be in green characters.&lt;/span>
&lt;/p>
&lt;/div>
','code-xhtml' => '
<div class="stub">
<p>This paragraph should be in green characters.</p>
<p title="on chante?">This paragraph should be in green characters.</p>
<p title="si on chantait">
     <span title="si il chante">This paragraph should be in green characters.</span>
</p>
</div>
'},'css3-modsel-101' => {'rev' => '1.0','escapedcode-xml' => '
&lt;p xmlns="http://www.w3.org/1999/xhtml" title="si on chantait">This paragraph should have a green background&lt;/p>
&lt;q xmlns="http://www.example.org/a" a:title="et si on chantait">This paragraph should NOT
          have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should
          have a green background&lt;/r>
&lt;s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should NOT
          have a green background&lt;/s>
','escapedcode-css' => '@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
@namespace html url(http://www.w3.org/1999/xhtml);
*|p, *|q, *|r, *|s { display : block ; margin-bottom : 1em }
*|p, *|r { background-color : red }
*|*[a|title^="si on"], *|*[title^="si on"] { background-color : lime }
','escapedcode-html' => '
&lt;p title="si on chantait">This paragraph should have a green background&lt;/p>
&lt;q xmlns="http://www.example.org/a" a:title="et si on chantait">This paragraph should NOT
          have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should
          have a green background&lt;/r>
&lt;s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should NOT
          have a green background&lt;/s>
','def' => 'Substring matching attribute value selector on beginning with declared namespace','number' => '101','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => '@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
@namespace html url(http://www.w3.org/1999/xhtml);
*|p, *|q, *|r, *|s { display : block ; margin-bottom : 1em }
*|p, *|r { background-color : red }
*|*[a|title^="si on"], *|*[title^="si on"] { background-color : lime }
','author' => ['Daniel Glazman'],'code-html' => '
<p title="si on chantait">This paragraph should have a green background</p>
<q xmlns="http://www.example.org/a" a:title="et si on chantait">This paragraph should NOT
          have a green background</q>
<r xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should
          have a green background</r>
<s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should NOT
          have a green background</s>
','endTag' => '</s>','date' => '11-july-2001','code-xml' => '
<p xmlns="http://www.w3.org/1999/xhtml" title="si on chantait">This paragraph should have a green background</p>
<q xmlns="http://www.example.org/a" a:title="et si on chantait">This paragraph should NOT
          have a green background</q>
<r xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should
          have a green background</r>
<s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should NOT
          have a green background</s>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','namespaced' => 1,'escapedcode-xhtml' => '
&lt;p title="si on chantait">This paragraph should have a green background&lt;/p>
&lt;q xmlns="http://www.example.org/a" a:title="et si on chantait">This paragraph should NOT
          have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should
          have a green background&lt;/r>
&lt;s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should NOT
          have a green background&lt;/s>
','code-xhtml' => '
<p title="si on chantait">This paragraph should have a green background</p>
<q xmlns="http://www.example.org/a" a:title="et si on chantait">This paragraph should NOT
          have a green background</q>
<r xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should
          have a green background</r>
<s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should NOT
          have a green background</s>
'},'css3-modsel-56' => {'rev' => '1.0','escapedcode-xml' => '
&lt;div xmlns="http://www.w3.org/1999/xhtml" class="stub">
&lt;p>This paragraph should be in green characters.&lt;/p>
&lt;p title="on chante?">This paragraph should be in green characters.&lt;/p>
&lt;p title="si on chantait">
     &lt;span title="si il chante">This paragraph should be in green characters.&lt;/span>
&lt;/p>
&lt;/div>
','escapedcode-css' => 'div.stub > * { color : red }
div.stub *:not([title*=" on"]) { color : lime }
','escapedcode-html' => '
&lt;div class="stub">
&lt;p>This paragraph should be in green characters.&lt;/p>
&lt;p title="on chante?">This paragraph should be in green characters.&lt;/p>
&lt;p title="si on chantait">
     &lt;span title="si il chante">This paragraph should be in green characters.&lt;/span>
&lt;/p>
&lt;/div>
','def' => 'NEGATED substring matching attribute selector on middle','number' => '56','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => 'div.stub > * { color : red }
div.stub *:not([title*=" on"]) { color : lime }
','author' => ['Daniel Glazman'],'code-html' => '
<div class="stub">
<p>This paragraph should be in green characters.</p>
<p title="on chante?">This paragraph should be in green characters.</p>
<p title="si on chantait">
     <span title="si il chante">This paragraph should be in green characters.</span>
</p>
</div>
','endTag' => '</span>','date' => '11-july-2001','code-xml' => '
<div xmlns="http://www.w3.org/1999/xhtml" class="stub">
<p>This paragraph should be in green characters.</p>
<p title="on chante?">This paragraph should be in green characters.</p>
<p title="si on chantait">
     <span title="si il chante">This paragraph should be in green characters.</span>
</p>
</div>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','escapedcode-xhtml' => '
&lt;div class="stub">
&lt;p>This paragraph should be in green characters.&lt;/p>
&lt;p title="on chante?">This paragraph should be in green characters.&lt;/p>
&lt;p title="si on chantait">
     &lt;span title="si il chante">This paragraph should be in green characters.&lt;/span>
&lt;/p>
&lt;/div>
','code-xhtml' => '
<div class="stub">
<p>This paragraph should be in green characters.</p>
<p title="on chante?">This paragraph should be in green characters.</p>
<p title="si on chantait">
     <span title="si il chante">This paragraph should be in green characters.</span>
</p>
</div>
'},'css3-modsel-102' => {'rev' => '1.0','escapedcode-xml' => '
&lt;p xmlns="http://www.w3.org/1999/xhtml" title="si on chantait">This paragraph should have a green background&lt;/p>
&lt;q xmlns="http://www.example.org/a" xmlns:a="http://www.example.org/a" a:title="si nous chantions">This paragraph should NOT
          have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/a" xmlns:a="http://www.example.org/a" a:title="si on chantait">This paragraph should
          have a green background&lt;/r>
&lt;s xmlns="http://www.example.org/b" xmlns:b="http://www.example.org/b" b:title="si on chantait">This paragraph should NOT
          have a green background&lt;/s>
','escapedcode-css' => '@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
@namespace html url(http://www.w3.org/1999/xhtml);
*|p, *|q, *|r, *|s { display : block ; margin-bottom : 1em }
*|p, *|r { background-color : red }
*|*[a|title$="tait"], *|*[html|title$="tait"] { background-color : lime }
','escapedcode-html' => '
&lt;p title="si on chantait">This paragraph should have a green background&lt;/p>
&lt;q xmlns="http://www.example.org/a" xmlns:a="http://www.example.org/a" a:title="si nous chantions">This paragraph should NOT
          have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/a" xmlns:a="http://www.example.org/a" a:title="si on chantait">This paragraph should
          have a green background&lt;/r>
&lt;s xmlns="http://www.example.org/b" xmlns:b="http://www.example.org/b" b:title="si on chantait">This paragraph should NOT
          have a green background&lt;/s>
','def' => 'Substring matching attribute value selector on end with declared namespace','number' => '102','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => '@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
@namespace html url(http://www.w3.org/1999/xhtml);
*|p, *|q, *|r, *|s { display : block ; margin-bottom : 1em }
*|p, *|r { background-color : red }
*|*[a|title$="tait"], *|*[html|title$="tait"] { background-color : lime }
','author' => ['Daniel Glazman'],'code-html' => '
<p title="si on chantait">This paragraph should have a green background</p>
<q xmlns="http://www.example.org/a" xmlns:a="http://www.example.org/a" a:title="si nous chantions">This paragraph should NOT
          have a green background</q>
<r xmlns="http://www.example.org/a" xmlns:a="http://www.example.org/a" a:title="si on chantait">This paragraph should
          have a green background</r>
<s xmlns="http://www.example.org/b" xmlns:b="http://www.example.org/b" b:title="si on chantait">This paragraph should NOT
          have a green background</s>
','endTag' => '</s>','date' => '11-july-2001','code-xml' => '
<p xmlns="http://www.w3.org/1999/xhtml" title="si on chantait">This paragraph should have a green background</p>
<q xmlns="http://www.example.org/a" xmlns:a="http://www.example.org/a" a:title="si nous chantions">This paragraph should NOT
          have a green background</q>
<r xmlns="http://www.example.org/a" xmlns:a="http://www.example.org/a" a:title="si on chantait">This paragraph should
          have a green background</r>
<s xmlns="http://www.example.org/b" xmlns:b="http://www.example.org/b" b:title="si on chantait">This paragraph should NOT
          have a green background</s>
','namespaces' => '','namespaced' => 1,'escapedcode-xhtml' => '
&lt;p title="si on chantait">This paragraph should have a green background&lt;/p>
&lt;q xmlns="http://www.example.org/a" xmlns:a="http://www.example.org/a" a:title="si nous chantions">This paragraph should NOT
          have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/a" xmlns:a="http://www.example.org/a" a:title="si on chantait">This paragraph should
          have a green background&lt;/r>
&lt;s xmlns="http://www.example.org/b" xmlns:b="http://www.example.org/b" b:title="si on chantait">This paragraph should NOT
          have a green background&lt;/s>
','code-xhtml' => '
<p title="si on chantait">This paragraph should have a green background</p>
<q xmlns="http://www.example.org/a" xmlns:a="http://www.example.org/a" a:title="si nous chantions">This paragraph should NOT
          have a green background</q>
<r xmlns="http://www.example.org/a" xmlns:a="http://www.example.org/a" a:title="si on chantait">This paragraph should
          have a green background</r>
<s xmlns="http://www.example.org/b" xmlns:b="http://www.example.org/b" b:title="si on chantait">This paragraph should NOT
          have a green background</s>
'},'css3-modsel-57' => {'rev' => '1.0','escapedcode-xml' => '
&lt;div xmlns="http://www.w3.org/1999/xhtml" class="stub">
&lt;p title="a paragraph">This paragraph should have a green background&lt;/p>
&lt;q xmlns="http://www.example.org/a" a:title="a paragraph">This a:q element should NOT
                 have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/b" b:title="a paragraph">This b:r element should
                 have a green background&lt;/r>
&lt;/div>
','escapedcode-css' => '@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
*|p, *|q, *|r { display : block ; margin-bottom : 1em }
*|p, *|r { background-color : red }
div.stub *:not([a|title]) {background-color : lime }
','escapedcode-html' => '
&lt;div class="stub">
&lt;p title="a paragraph">This paragraph should have a green background&lt;/p>
&lt;q xmlns="http://www.example.org/a" a:title="a paragraph">This a:q element should NOT
                 have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/b" b:title="a paragraph">This b:r element should
                 have a green background&lt;/r>
&lt;/div>
','def' => 'NEGATED Attribute existence selector with declared namespace','number' => '57','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => '@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
*|p, *|q, *|r { display : block ; margin-bottom : 1em }
*|p, *|r { background-color : red }
div.stub *:not([a|title]) {background-color : lime }
','author' => ['Daniel Glazman'],'code-html' => '
<div class="stub">
<p title="a paragraph">This paragraph should have a green background</p>
<q xmlns="http://www.example.org/a" a:title="a paragraph">This a:q element should NOT
                 have a green background</q>
<r xmlns="http://www.example.org/b" b:title="a paragraph">This b:r element should
                 have a green background</r>
</div>
','endTag' => '</r>','date' => '11-july-2001','code-xml' => '
<div xmlns="http://www.w3.org/1999/xhtml" class="stub">
<p title="a paragraph">This paragraph should have a green background</p>
<q xmlns="http://www.example.org/a" a:title="a paragraph">This a:q element should NOT
                 have a green background</q>
<r xmlns="http://www.example.org/b" b:title="a paragraph">This b:r element should
                 have a green background</r>
</div>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','namespaced' => 1,'escapedcode-xhtml' => '
&lt;div class="stub">
&lt;p title="a paragraph">This paragraph should have a green background&lt;/p>
&lt;q xmlns="http://www.example.org/a" a:title="a paragraph">This a:q element should NOT
                 have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/b" b:title="a paragraph">This b:r element should
                 have a green background&lt;/r>
&lt;/div>
','code-xhtml' => '
<div class="stub">
<p title="a paragraph">This paragraph should have a green background</p>
<q xmlns="http://www.example.org/a" a:title="a paragraph">This a:q element should NOT
                 have a green background</q>
<r xmlns="http://www.example.org/b" b:title="a paragraph">This b:r element should
                 have a green background</r>
</div>
'},'css3-modsel-103' => {'rev' => '1.0','escapedcode-xml' => '
&lt;p xmlns="http://www.w3.org/1999/xhtml" title="si on chantait">This paragraph should have a green background&lt;/p>
&lt;q xmlns="http://www.example.org/a" a:title="si nous chantions">This paragraph should NOT
          have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should
          have a green background&lt;/r>
&lt;s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should NOT
          have a green background&lt;/s>
','escapedcode-css' => '@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
@namespace html url(http://www.w3.org/1999/xhtml);
*|p, *|q, *|r, *|s { display : block ; margin-bottom : 1em }
*|p, *|r { background-color : red }
*|*[a|title*="hanta"], *|*[html|title*="hanta"] { background-color : lime }
','escapedcode-html' => '
&lt;p title="si on chantait">This paragraph should have a green background&lt;/p>
&lt;q xmlns="http://www.example.org/a" a:title="si nous chantions">This paragraph should NOT
          have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should
          have a green background&lt;/r>
&lt;s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should NOT
          have a green background&lt;/s>
','def' => 'Substring matching attribute value selector on middle with declared namespace','number' => '103','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => '@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
@namespace html url(http://www.w3.org/1999/xhtml);
*|p, *|q, *|r, *|s { display : block ; margin-bottom : 1em }
*|p, *|r { background-color : red }
*|*[a|title*="hanta"], *|*[html|title*="hanta"] { background-color : lime }
','author' => ['Daniel Glazman'],'code-html' => '
<p title="si on chantait">This paragraph should have a green background</p>
<q xmlns="http://www.example.org/a" a:title="si nous chantions">This paragraph should NOT
          have a green background</q>
<r xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should
          have a green background</r>
<s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should NOT
          have a green background</s>
','endTag' => '</s>','date' => '11-july-2001','code-xml' => '
<p xmlns="http://www.w3.org/1999/xhtml" title="si on chantait">This paragraph should have a green background</p>
<q xmlns="http://www.example.org/a" a:title="si nous chantions">This paragraph should NOT
          have a green background</q>
<r xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should
          have a green background</r>
<s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should NOT
          have a green background</s>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','namespaced' => 1,'escapedcode-xhtml' => '
&lt;p title="si on chantait">This paragraph should have a green background&lt;/p>
&lt;q xmlns="http://www.example.org/a" a:title="si nous chantions">This paragraph should NOT
          have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should
          have a green background&lt;/r>
&lt;s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should NOT
          have a green background&lt;/s>
','code-xhtml' => '
<p title="si on chantait">This paragraph should have a green background</p>
<q xmlns="http://www.example.org/a" a:title="si nous chantions">This paragraph should NOT
          have a green background</q>
<r xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should
          have a green background</r>
<s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should NOT
          have a green background</s>
'},'css3-modsel-58' => {'rev' => '1.0','escapedcode-xml' => '
&lt;form xmlns="http://www.w3.org/1999/xhtml" action="http://www.example.org/foo.cgi">
&lt;p>The content of this form should
                have a lime background&lt;/p>
&lt;/form>
','escapedcode-css' => 'form { background-color : red }
form:not([method]) { background-color : lime }
','escapedcode-html' => '
&lt;form action="http://www.example.org/foo.cgi">
&lt;p>The content of this form should
                have a lime background&lt;/p>
&lt;/form>
','def' => 'Default attribute value and negation pseudo-class','number' => '58','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => 'form { background-color : red }
form:not([method]) { background-color : lime }
','author' => ['Daniel Glazman'],'code-html' => '
<form action="http://www.example.org/foo.cgi">
<p>The content of this form should
                have a lime background</p>
</form>
','endTag' => '</p>','date' => '11-july-2001','code-xml' => '
<form xmlns="http://www.w3.org/1999/xhtml" action="http://www.example.org/foo.cgi">
<p>The content of this form should
                have a lime background</p>
</form>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','escapedcode-xhtml' => '
&lt;form action="http://www.example.org/foo.cgi">
&lt;p>The content of this form should
                have a lime background&lt;/p>
&lt;/form>
','code-xhtml' => '
<form action="http://www.example.org/foo.cgi">
<p>The content of this form should
                have a lime background</p>
</form>
'},'css3-modsel-104' => {'rev' => '1.0','escapedcode-xml' => '
&lt;p xmlns="http://www.w3.org/1999/xhtml" title="si on chantait">This paragraph should have a green background&lt;/p>
&lt;q xmlns="http://www.example.org/a" a:foo="si on chantait">This paragraph should NOT
          have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should
          have a green background&lt;/r>
&lt;s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should
          have a green background&lt;/s>
','escapedcode-css' => '@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
@namespace html url(http://www.w3.org/1999/xhtml);
*|p, *|q, *|r, *|s { display : block ; margin-bottom : 1em }
*|p, *|r, *|s { background-color : red }
*|*[*|title] { background-color : lime }
','escapedcode-html' => '
&lt;p title="si on chantait">This paragraph should have a green background&lt;/p>
&lt;q xmlns="http://www.example.org/a" a:foo="si on chantait">This paragraph should NOT
          have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should
          have a green background&lt;/r>
&lt;s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should
          have a green background&lt;/s>
','def' => 'Attribute existence selector with universal namespace','number' => '104','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => '@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
@namespace html url(http://www.w3.org/1999/xhtml);
*|p, *|q, *|r, *|s { display : block ; margin-bottom : 1em }
*|p, *|r, *|s { background-color : red }
*|*[*|title] { background-color : lime }
','author' => ['Daniel Glazman'],'code-html' => '
<p title="si on chantait">This paragraph should have a green background</p>
<q xmlns="http://www.example.org/a" a:foo="si on chantait">This paragraph should NOT
          have a green background</q>
<r xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should
          have a green background</r>
<s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should
          have a green background</s>
','endTag' => '</s>','date' => '11-july-2001','code-xml' => '
<p xmlns="http://www.w3.org/1999/xhtml" title="si on chantait">This paragraph should have a green background</p>
<q xmlns="http://www.example.org/a" a:foo="si on chantait">This paragraph should NOT
          have a green background</q>
<r xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should
          have a green background</r>
<s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should
          have a green background</s>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','namespaced' => 1,'escapedcode-xhtml' => '
&lt;p title="si on chantait">This paragraph should have a green background&lt;/p>
&lt;q xmlns="http://www.example.org/a" a:foo="si on chantait">This paragraph should NOT
          have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should
          have a green background&lt;/r>
&lt;s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should
          have a green background&lt;/s>
','code-xhtml' => '
<p title="si on chantait">This paragraph should have a green background</p>
<q xmlns="http://www.example.org/a" a:foo="si on chantait">This paragraph should NOT
          have a green background</q>
<r xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should
          have a green background</r>
<s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should
          have a green background</s>
'},'css3-modsel-59' => {'rev' => '1.0','escapedcode-xml' => '
&lt;div xmlns="http://www.w3.org/1999/xhtml" class="stub">
&lt;p>This paragraph should be in green characters.&lt;/p>
&lt;p class="bar foofoo tut">This paragraph should be in green characters.&lt;/p>
&lt;p class="bar foo tut">
     &lt;span class="tut foo2">This paragraph should be in green characters.&lt;/span>
&lt;/p>
&lt;/div>
','escapedcode-css' => 'div.stub > * { color : red }
div.stub *:not(.foo) { color : lime }
','escapedcode-html' => '
&lt;div class="stub">
&lt;p>This paragraph should be in green characters.&lt;/p>
&lt;p class="bar foofoo tut">This paragraph should be in green characters.&lt;/p>
&lt;p class="bar foo tut">
     &lt;span class="tut foo2">This paragraph should be in green characters.&lt;/span>
&lt;/p>
&lt;/div>
','def' => 'NEGATED class selector','number' => '59','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => 'div.stub > * { color : red }
div.stub *:not(.foo) { color : lime }
','author' => ['Daniel Glazman'],'code-html' => '
<div class="stub">
<p>This paragraph should be in green characters.</p>
<p class="bar foofoo tut">This paragraph should be in green characters.</p>
<p class="bar foo tut">
     <span class="tut foo2">This paragraph should be in green characters.</span>
</p>
</div>
','endTag' => '</span>','date' => '11-july-2001','code-xml' => '
<div xmlns="http://www.w3.org/1999/xhtml" class="stub">
<p>This paragraph should be in green characters.</p>
<p class="bar foofoo tut">This paragraph should be in green characters.</p>
<p class="bar foo tut">
     <span class="tut foo2">This paragraph should be in green characters.</span>
</p>
</div>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','escapedcode-xhtml' => '
&lt;div class="stub">
&lt;p>This paragraph should be in green characters.&lt;/p>
&lt;p class="bar foofoo tut">This paragraph should be in green characters.&lt;/p>
&lt;p class="bar foo tut">
     &lt;span class="tut foo2">This paragraph should be in green characters.&lt;/span>
&lt;/p>
&lt;/div>
','code-xhtml' => '
<div class="stub">
<p>This paragraph should be in green characters.</p>
<p class="bar foofoo tut">This paragraph should be in green characters.</p>
<p class="bar foo tut">
     <span class="tut foo2">This paragraph should be in green characters.</span>
</p>
</div>
'},'css3-modsel-105' => {'rev' => '1.0','escapedcode-xml' => '
&lt;p xmlns="http://www.w3.org/1999/xhtml" title="si on chantait">This paragraph should have a green background&lt;/p>
&lt;q xmlns="http://www.example.org/a" a:foo="si on chantait">This paragraph should NOT
          have a green background&lt;/q>
&lt;q xmlns="http://www.example.org/a" a:title="si nous chantions">This paragraph should NOT
          have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should
          have a green background&lt;/r>
&lt;s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should
          have a green background&lt;/s>
','escapedcode-css' => '@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
@namespace html url(http://www.w3.org/1999/xhtml);
*|p, *|q, *|r, *|s { display : block ; margin-bottom : 1em }
*|p, *|r, *|s { background-color : red }
*|*[*|title="si on chantait"] { background-color : lime }
','escapedcode-html' => '
&lt;p title="si on chantait">This paragraph should have a green background&lt;/p>
&lt;q xmlns="http://www.example.org/a" a:foo="si on chantait">This paragraph should NOT
          have a green background&lt;/q>
&lt;q xmlns="http://www.example.org/a" a:title="si nous chantions">This paragraph should NOT
          have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should
          have a green background&lt;/r>
&lt;s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should
          have a green background&lt;/s>
','def' => 'Attribute value selector with universal namespace','number' => '105','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => '@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
@namespace html url(http://www.w3.org/1999/xhtml);
*|p, *|q, *|r, *|s { display : block ; margin-bottom : 1em }
*|p, *|r, *|s { background-color : red }
*|*[*|title="si on chantait"] { background-color : lime }
','author' => ['Daniel Glazman'],'code-html' => '
<p title="si on chantait">This paragraph should have a green background</p>
<q xmlns="http://www.example.org/a" a:foo="si on chantait">This paragraph should NOT
          have a green background</q>
<q xmlns="http://www.example.org/a" a:title="si nous chantions">This paragraph should NOT
          have a green background</q>
<r xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should
          have a green background</r>
<s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should
          have a green background</s>
','endTag' => '</s>','date' => '11-july-2001','code-xml' => '
<p xmlns="http://www.w3.org/1999/xhtml" title="si on chantait">This paragraph should have a green background</p>
<q xmlns="http://www.example.org/a" a:foo="si on chantait">This paragraph should NOT
          have a green background</q>
<q xmlns="http://www.example.org/a" a:title="si nous chantions">This paragraph should NOT
          have a green background</q>
<r xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should
          have a green background</r>
<s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should
          have a green background</s>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','namespaced' => 1,'escapedcode-xhtml' => '
&lt;p title="si on chantait">This paragraph should have a green background&lt;/p>
&lt;q xmlns="http://www.example.org/a" a:foo="si on chantait">This paragraph should NOT
          have a green background&lt;/q>
&lt;q xmlns="http://www.example.org/a" a:title="si nous chantions">This paragraph should NOT
          have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should
          have a green background&lt;/r>
&lt;s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should
          have a green background&lt;/s>
','code-xhtml' => '
<p title="si on chantait">This paragraph should have a green background</p>
<q xmlns="http://www.example.org/a" a:foo="si on chantait">This paragraph should NOT
          have a green background</q>
<q xmlns="http://www.example.org/a" a:title="si nous chantions">This paragraph should NOT
          have a green background</q>
<r xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should
          have a green background</r>
<s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should
          have a green background</s>
'},'css3-modsel-106' => {'rev' => '1.0','escapedcode-xml' => '
&lt;p xmlns="http://www.w3.org/1999/xhtml" class="un deux trois">This paragraph should have a green background&lt;/p>
&lt;q xmlns="http://www.example.org/a" a:bar="un deux trois">This paragraph should NOT
          have a green background&lt;/q>
&lt;q xmlns="http://www.example.org/a" a:foo="un second deuxieme trois">This paragraph should NOT
          have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/a" a:foo="un deux trois">This paragraph should
          have a green background&lt;/r>
&lt;s xmlns="http://www.example.org/b" b:foo="un deux trois">This paragraph should
          have a green background&lt;/s>
','escapedcode-css' => '@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
@namespace html url(http://www.w3.org/1999/xhtml);
*|p, *|q, *|r, *|s { display : block ; margin-bottom : 1em }
*|p, *|r, *|s { background-color : red }
*|*[*|class~="deux"], *|*[*|foo~="deux"] { background-color : lime }
','escapedcode-html' => '
&lt;p class="un deux trois">This paragraph should have a green background&lt;/p>
&lt;q xmlns="http://www.example.org/a" a:bar="un deux trois">This paragraph should NOT
          have a green background&lt;/q>
&lt;q xmlns="http://www.example.org/a" a:foo="un second deuxieme trois">This paragraph should NOT
          have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/a" a:foo="un deux trois">This paragraph should
          have a green background&lt;/r>
&lt;s xmlns="http://www.example.org/b" b:foo="un deux trois">This paragraph should
          have a green background&lt;/s>
','def' => 'Attribute space-separated value selector with universal namespace','number' => '106','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => '@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
@namespace html url(http://www.w3.org/1999/xhtml);
*|p, *|q, *|r, *|s { display : block ; margin-bottom : 1em }
*|p, *|r, *|s { background-color : red }
*|*[*|class~="deux"], *|*[*|foo~="deux"] { background-color : lime }
','author' => ['Daniel Glazman'],'code-html' => '
<p class="un deux trois">This paragraph should have a green background</p>
<q xmlns="http://www.example.org/a" a:bar="un deux trois">This paragraph should NOT
          have a green background</q>
<q xmlns="http://www.example.org/a" a:foo="un second deuxieme trois">This paragraph should NOT
          have a green background</q>
<r xmlns="http://www.example.org/a" a:foo="un deux trois">This paragraph should
          have a green background</r>
<s xmlns="http://www.example.org/b" b:foo="un deux trois">This paragraph should
          have a green background</s>
','endTag' => '</s>','date' => '11-july-2001','code-xml' => '
<p xmlns="http://www.w3.org/1999/xhtml" class="un deux trois">This paragraph should have a green background</p>
<q xmlns="http://www.example.org/a" a:bar="un deux trois">This paragraph should NOT
          have a green background</q>
<q xmlns="http://www.example.org/a" a:foo="un second deuxieme trois">This paragraph should NOT
          have a green background</q>
<r xmlns="http://www.example.org/a" a:foo="un deux trois">This paragraph should
          have a green background</r>
<s xmlns="http://www.example.org/b" b:foo="un deux trois">This paragraph should
          have a green background</s>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','namespaced' => 1,'escapedcode-xhtml' => '
&lt;p class="un deux trois">This paragraph should have a green background&lt;/p>
&lt;q xmlns="http://www.example.org/a" a:bar="un deux trois">This paragraph should NOT
          have a green background&lt;/q>
&lt;q xmlns="http://www.example.org/a" a:foo="un second deuxieme trois">This paragraph should NOT
          have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/a" a:foo="un deux trois">This paragraph should
          have a green background&lt;/r>
&lt;s xmlns="http://www.example.org/b" b:foo="un deux trois">This paragraph should
          have a green background&lt;/s>
','code-xhtml' => '
<p class="un deux trois">This paragraph should have a green background</p>
<q xmlns="http://www.example.org/a" a:bar="un deux trois">This paragraph should NOT
          have a green background</q>
<q xmlns="http://www.example.org/a" a:foo="un second deuxieme trois">This paragraph should NOT
          have a green background</q>
<r xmlns="http://www.example.org/a" a:foo="un deux trois">This paragraph should
          have a green background</r>
<s xmlns="http://www.example.org/b" b:foo="un deux trois">This paragraph should
          have a green background</s>
'},'css3-modsel-107' => {'rev' => '1.0','escapedcode-xml' => '
&lt;p xmlns="http://www.w3.org/1999/xhtml" lang="en-us">This paragraph should have a green background&lt;/p>
&lt;q xmlns="http://www.example.org/a" a:foo="un-deux-trois">This paragraph should NOT
          have a green background&lt;/q>
&lt;q xmlns="http://www.example.org/a" a:foo="un-second-deuxieme-trois">This paragraph should NOT
          have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/a" a:foo="un-d-trois">This paragraph should
          have a green background&lt;/r>
&lt;s xmlns="http://www.example.org/b" b:foo="un-d-trois">This paragraph should NOT
          have a green background&lt;/s>
','escapedcode-css' => '@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
@namespace html url(http://www.w3.org/1999/xhtml);
*|p, *|q, *|r, *|s { display : block ; margin-bottom : 1em }
*|p, *|r { background-color : red }
*|*[*|lang|="en"], *|*[a|foo|="un-d"] { background-color : lime }
','escapedcode-html' => '
&lt;p lang="en-us">This paragraph should have a green background&lt;/p>
&lt;q xmlns="http://www.example.org/a" a:foo="un-deux-trois">This paragraph should NOT
          have a green background&lt;/q>
&lt;q xmlns="http://www.example.org/a" a:foo="un-second-deuxieme-trois">This paragraph should NOT
          have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/a" a:foo="un-d-trois">This paragraph should
          have a green background&lt;/r>
&lt;s xmlns="http://www.example.org/b" b:foo="un-d-trois">This paragraph should NOT
          have a green background&lt;/s>
','def' => 'Attribute dash-separated value selector with universal namespace','number' => '107','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => '@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
@namespace html url(http://www.w3.org/1999/xhtml);
*|p, *|q, *|r, *|s { display : block ; margin-bottom : 1em }
*|p, *|r { background-color : red }
*|*[*|lang|="en"], *|*[a|foo|="un-d"] { background-color : lime }
','author' => ['Daniel Glazman'],'code-html' => '
<p lang="en-us">This paragraph should have a green background</p>
<q xmlns="http://www.example.org/a" a:foo="un-deux-trois">This paragraph should NOT
          have a green background</q>
<q xmlns="http://www.example.org/a" a:foo="un-second-deuxieme-trois">This paragraph should NOT
          have a green background</q>
<r xmlns="http://www.example.org/a" a:foo="un-d-trois">This paragraph should
          have a green background</r>
<s xmlns="http://www.example.org/b" b:foo="un-d-trois">This paragraph should NOT
          have a green background</s>
','endTag' => '</s>','date' => '11-july-2001','code-xml' => '
<p xmlns="http://www.w3.org/1999/xhtml" lang="en-us">This paragraph should have a green background</p>
<q xmlns="http://www.example.org/a" a:foo="un-deux-trois">This paragraph should NOT
          have a green background</q>
<q xmlns="http://www.example.org/a" a:foo="un-second-deuxieme-trois">This paragraph should NOT
          have a green background</q>
<r xmlns="http://www.example.org/a" a:foo="un-d-trois">This paragraph should
          have a green background</r>
<s xmlns="http://www.example.org/b" b:foo="un-d-trois">This paragraph should NOT
          have a green background</s>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','namespaced' => 1,'escapedcode-xhtml' => '
&lt;p lang="en-us">This paragraph should have a green background&lt;/p>
&lt;q xmlns="http://www.example.org/a" a:foo="un-deux-trois">This paragraph should NOT
          have a green background&lt;/q>
&lt;q xmlns="http://www.example.org/a" a:foo="un-second-deuxieme-trois">This paragraph should NOT
          have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/a" a:foo="un-d-trois">This paragraph should
          have a green background&lt;/r>
&lt;s xmlns="http://www.example.org/b" b:foo="un-d-trois">This paragraph should NOT
          have a green background&lt;/s>
','code-xhtml' => '
<p lang="en-us">This paragraph should have a green background</p>
<q xmlns="http://www.example.org/a" a:foo="un-deux-trois">This paragraph should NOT
          have a green background</q>
<q xmlns="http://www.example.org/a" a:foo="un-second-deuxieme-trois">This paragraph should NOT
          have a green background</q>
<r xmlns="http://www.example.org/a" a:foo="un-d-trois">This paragraph should
          have a green background</r>
<s xmlns="http://www.example.org/b" b:foo="un-d-trois">This paragraph should NOT
          have a green background</s>
'},'css3-modsel-108' => {'rev' => '1.0','escapedcode-xml' => '
&lt;p xmlns="http://www.w3.org/1999/xhtml" title="si on chantait">This paragraph should have a green background&lt;/p>
&lt;q xmlns="http://www.example.org/a" a:title="si nous chantions">This paragraph should NOT
          have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should
          have a green background&lt;/r>
&lt;s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should also
          have a green background&lt;/s>
&lt;t xmlns="http://www.example.org/b" b:ti="si on chantait">This paragraph should NOT
          have a green background&lt;/t>
','escapedcode-css' => '@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
@namespace html url(http://www.w3.org/1999/xhtml);
*|p, *|q, *|r, *|s, *|t{ display : block ; margin-bottom : 1em }
*|p, *|r, *|s { background-color : red }
*|*[*|title^="si on"] { background-color : lime }','escapedcode-html' => '
&lt;p title="si on chantait">This paragraph should have a green background&lt;/p>
&lt;q xmlns="http://www.example.org/a" a:title="si nous chantions">This paragraph should NOT
          have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should
          have a green background&lt;/r>
&lt;s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should also
          have a green background&lt;/s>
&lt;t xmlns="http://www.example.org/b" b:ti="si on chantait">This paragraph should NOT
          have a green background&lt;/t>
','def' => 'Substring matching attribute selector on beginning with universal namespace','number' => '108','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => '@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
@namespace html url(http://www.w3.org/1999/xhtml);
*|p, *|q, *|r, *|s, *|t{ display : block ; margin-bottom : 1em }
*|p, *|r, *|s { background-color : red }
*|*[*|title^="si on"] { background-color : lime }','author' => ['Daniel Glazman'],'code-html' => '
<p title="si on chantait">This paragraph should have a green background</p>
<q xmlns="http://www.example.org/a" a:title="si nous chantions">This paragraph should NOT
          have a green background</q>
<r xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should
          have a green background</r>
<s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should also
          have a green background</s>
<t xmlns="http://www.example.org/b" b:ti="si on chantait">This paragraph should NOT
          have a green background</t>
','endTag' => '</t>','date' => '11-july-2001','code-xml' => '
<p xmlns="http://www.w3.org/1999/xhtml" title="si on chantait">This paragraph should have a green background</p>
<q xmlns="http://www.example.org/a" a:title="si nous chantions">This paragraph should NOT
          have a green background</q>
<r xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should
          have a green background</r>
<s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should also
          have a green background</s>
<t xmlns="http://www.example.org/b" b:ti="si on chantait">This paragraph should NOT
          have a green background</t>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','namespaced' => 1,'escapedcode-xhtml' => '
&lt;p title="si on chantait">This paragraph should have a green background&lt;/p>
&lt;q xmlns="http://www.example.org/a" a:title="si nous chantions">This paragraph should NOT
          have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should
          have a green background&lt;/r>
&lt;s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should also
          have a green background&lt;/s>
&lt;t xmlns="http://www.example.org/b" b:ti="si on chantait">This paragraph should NOT
          have a green background&lt;/t>
','code-xhtml' => '
<p title="si on chantait">This paragraph should have a green background</p>
<q xmlns="http://www.example.org/a" a:title="si nous chantions">This paragraph should NOT
          have a green background</q>
<r xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should
          have a green background</r>
<s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should also
          have a green background</s>
<t xmlns="http://www.example.org/b" b:ti="si on chantait">This paragraph should NOT
          have a green background</t>
'},'css3-modsel-109' => {'rev' => '1.0','escapedcode-xml' => '
&lt;p xmlns="http://www.w3.org/1999/xhtml" title="si on chantait">This paragraph should have a green background&lt;/p>
&lt;q xmlns="http://www.example.org/a" a:title="si nous chantions">This paragraph should NOT
          have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should
          have a green background&lt;/r>
&lt;s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should also
          have a green background&lt;/s>
&lt;t xmlns="http://www.example.org/b" b:ti="si on chantait">This paragraph should NOT
          have a green background&lt;/t>
','escapedcode-css' => '@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
@namespace html url(http://www.w3.org/1999/xhtml);
*|p, *|q, *|r, *|s, *|t{ display : block ; margin-bottom : 1em }
*|p, *|r, *|s { background-color : red }
*|*[*|title$="tait"] { background-color : lime }','escapedcode-html' => '
&lt;p title="si on chantait">This paragraph should have a green background&lt;/p>
&lt;q xmlns="http://www.example.org/a" a:title="si nous chantions">This paragraph should NOT
          have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should
          have a green background&lt;/r>
&lt;s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should also
          have a green background&lt;/s>
&lt;t xmlns="http://www.example.org/b" b:ti="si on chantait">This paragraph should NOT
          have a green background&lt;/t>
','def' => 'Substring matching attribute selector on end with universal namespace','number' => '109','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => '@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
@namespace html url(http://www.w3.org/1999/xhtml);
*|p, *|q, *|r, *|s, *|t{ display : block ; margin-bottom : 1em }
*|p, *|r, *|s { background-color : red }
*|*[*|title$="tait"] { background-color : lime }','author' => ['Daniel Glazman'],'code-html' => '
<p title="si on chantait">This paragraph should have a green background</p>
<q xmlns="http://www.example.org/a" a:title="si nous chantions">This paragraph should NOT
          have a green background</q>
<r xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should
          have a green background</r>
<s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should also
          have a green background</s>
<t xmlns="http://www.example.org/b" b:ti="si on chantait">This paragraph should NOT
          have a green background</t>
','endTag' => '</t>','date' => '11-july-2001','code-xml' => '
<p xmlns="http://www.w3.org/1999/xhtml" title="si on chantait">This paragraph should have a green background</p>
<q xmlns="http://www.example.org/a" a:title="si nous chantions">This paragraph should NOT
          have a green background</q>
<r xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should
          have a green background</r>
<s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should also
          have a green background</s>
<t xmlns="http://www.example.org/b" b:ti="si on chantait">This paragraph should NOT
          have a green background</t>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','namespaced' => 1,'escapedcode-xhtml' => '
&lt;p title="si on chantait">This paragraph should have a green background&lt;/p>
&lt;q xmlns="http://www.example.org/a" a:title="si nous chantions">This paragraph should NOT
          have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should
          have a green background&lt;/r>
&lt;s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should also
          have a green background&lt;/s>
&lt;t xmlns="http://www.example.org/b" b:ti="si on chantait">This paragraph should NOT
          have a green background&lt;/t>
','code-xhtml' => '
<p title="si on chantait">This paragraph should have a green background</p>
<q xmlns="http://www.example.org/a" a:title="si nous chantions">This paragraph should NOT
          have a green background</q>
<r xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should
          have a green background</r>
<s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should also
          have a green background</s>
<t xmlns="http://www.example.org/b" b:ti="si on chantait">This paragraph should NOT
          have a green background</t>
'},'css3-modsel-60' => {'rev' => '1.0','escapedcode-xml' => '
&lt;div xmlns="http://www.w3.org/1999/xhtml" class="stub">
&lt;p>This paragraph should be in green characters.&lt;/p>
&lt;p id="foo2">This paragraph should be in green characters.&lt;/p>
&lt;p id="foo">
     &lt;span>This paragraph should be in green characters.&lt;/span>
&lt;/p>
&lt;/div>
','escapedcode-css' => 'div.stub > * { color : red }
div.stub *:not(#foo) { color : lime }
','escapedcode-html' => '
&lt;div class="stub">
&lt;p>This paragraph should be in green characters.&lt;/p>
&lt;p id="foo2">This paragraph should be in green characters.&lt;/p>
&lt;p id="foo">
     &lt;span>This paragraph should be in green characters.&lt;/span>
&lt;/p>
&lt;/div>
','def' => 'NEGATED ID selector','number' => '60','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => 'div.stub > * { color : red }
div.stub *:not(#foo) { color : lime }
','author' => ['Daniel Glazman'],'code-html' => '
<div class="stub">
<p>This paragraph should be in green characters.</p>
<p id="foo2">This paragraph should be in green characters.</p>
<p id="foo">
     <span>This paragraph should be in green characters.</span>
</p>
</div>
','endTag' => '</span>','date' => '11-july-2001','code-xml' => '
<div xmlns="http://www.w3.org/1999/xhtml" class="stub">
<p>This paragraph should be in green characters.</p>
<p id="foo2">This paragraph should be in green characters.</p>
<p id="foo">
     <span>This paragraph should be in green characters.</span>
</p>
</div>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','escapedcode-xhtml' => '
&lt;div class="stub">
&lt;p>This paragraph should be in green characters.&lt;/p>
&lt;p id="foo2">This paragraph should be in green characters.&lt;/p>
&lt;p id="foo">
     &lt;span>This paragraph should be in green characters.&lt;/span>
&lt;/p>
&lt;/div>
','code-xhtml' => '
<div class="stub">
<p>This paragraph should be in green characters.</p>
<p id="foo2">This paragraph should be in green characters.</p>
<p id="foo">
     <span>This paragraph should be in green characters.</span>
</p>
</div>
'},'css3-modsel-61' => {'rev' => '1.1','escapedcode-xml' => '
&lt;div xmlns="http://www.w3.org/1999/xhtml" class="stub">
&lt;a href="http://www.w3.org/">This anchor should have a green background&lt;/a>
(Note: You must have visited http://www.w3.org/ for this test to be valid.)
&lt;/div>
','escapedcode-css' => 'div.stub > * { background-color : red }
div.stub *:not(:link) { background-color : lime }
','escapedcode-html' => '
&lt;div class="stub">
&lt;a href="http://www.w3.org/">This anchor should have a green background&lt;/a>
(Note: You must have visited http://www.w3.org/ for this test to be valid.)
&lt;/div>
','def' => 'NEGATED :link pseudo-class','number' => '61','modulename' => 'css3-modsel','module' => 'W3C Selectors','historyneeded' => 1,'cssrules' => 'div.stub > * { background-color : red }
div.stub *:not(:link) { background-color : lime }
','author' => ['Daniel Glazman','Ian Hickson'],'code-html' => '
<div class="stub">
<a href="http://www.w3.org/">This anchor should have a green background</a>
(Note: You must have visited http://www.w3.org/ for this test to be valid.)
</div>
','endTag' => '</a>','date' => '01-november-2001','code-xml' => '
<div xmlns="http://www.w3.org/1999/xhtml" class="stub">
<a href="http://www.w3.org/">This anchor should have a green background</a>
(Note: You must have visited http://www.w3.org/ for this test to be valid.)
</div>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','escapedcode-xhtml' => '
&lt;div class="stub">
&lt;a href="http://www.w3.org/">This anchor should have a green background&lt;/a>
(Note: You must have visited http://www.w3.org/ for this test to be valid.)
&lt;/div>
','code-xhtml' => '
<div class="stub">
<a href="http://www.w3.org/">This anchor should have a green background</a>
(Note: You must have visited http://www.w3.org/ for this test to be valid.)
</div>
'},'css3-modsel-62' => {'rev' => '1.1','escapedcode-xml' => '
&lt;div xmlns="http://www.w3.org/1999/xhtml" class="stub">
&lt;a href="http://unvisited.example.org/css3-modsel-62/">This anchor should have a green background&lt;/a>
(Don\'t follow this link.)
&lt;/div>
','escapedcode-css' => 'div.stub > * { background-color : red }
div.stub *:not(:visited) { background-color : lime }
','escapedcode-html' => '
&lt;div class="stub">
&lt;a href="http://unvisited.example.org/css3-modsel-62/">This anchor should have a green background&lt;/a>
(Don\'t follow this link.)
&lt;/div>
','def' => 'NEGATED :visited pseudo-class','number' => '62','modulename' => 'css3-modsel','module' => 'W3C Selectors','historyneeded' => 1,'cssrules' => 'div.stub > * { background-color : red }
div.stub *:not(:visited) { background-color : lime }
','author' => ['Daniel Glazman'],'code-html' => '
<div class="stub">
<a href="http://unvisited.example.org/css3-modsel-62/">This anchor should have a green background</a>
(Don\'t follow this link.)
</div>
','endTag' => '</a>','date' => '01-november-2001','code-xml' => '
<div xmlns="http://www.w3.org/1999/xhtml" class="stub">
<a href="http://unvisited.example.org/css3-modsel-62/">This anchor should have a green background</a>
(Don\'t follow this link.)
</div>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','escapedcode-xhtml' => '
&lt;div class="stub">
&lt;a href="http://unvisited.example.org/css3-modsel-62/">This anchor should have a green background&lt;/a>
(Don\'t follow this link.)
&lt;/div>
','code-xhtml' => '
<div class="stub">
<a href="http://unvisited.example.org/css3-modsel-62/">This anchor should have a green background</a>
(Don\'t follow this link.)
</div>
'},'css3-modsel-63' => {'rev' => '1.0','escapedcode-xml' => '
&lt;div xmlns="http://www.w3.org/1999/xhtml" class="stub">
&lt;p>
&lt;a href="http://dummy.example.org/dummy">This is an anchor&lt;/a>
&lt;/p>
&lt;p>
&lt;span>The color of the anchor above and of the current text should be
   black when the mouse does NOT hover over it, and green when the mouse hovers
   over it.&lt;/span>
&lt;/p>
&lt;/div>
','escapedcode-css' => 'div.stub * { color : lime }
div.stub > * > *:not(:hover) { color : black }
','escapedcode-html' => '
&lt;div class="stub">
&lt;p>
&lt;a href="http://dummy.example.org/dummy">This is an anchor&lt;/a>
&lt;/p>
&lt;p>
&lt;span>The color of the anchor above and of the current text should be
   black when the mouse does NOT hover over it, and green when the mouse hovers
   over it.&lt;/span>
&lt;/p>
&lt;/div>
','def' => 'NEGATED :hover pseudo-class','number' => '63','modulename' => 'css3-modsel','cssrules' => 'div.stub * { color : lime }
div.stub > * > *:not(:hover) { color : black }
','module' => 'W3C Selectors','endTag' => '</span>','code-html' => '
<div class="stub">
<p>
<a href="http://dummy.example.org/dummy">This is an anchor</a>
</p>
<p>
<span>The color of the anchor above and of the current text should be
   black when the mouse does NOT hover over it, and green when the mouse hovers
   over it.</span>
</p>
</div>
','author' => ['Daniel Glazman'],'code-xml' => '
<div xmlns="http://www.w3.org/1999/xhtml" class="stub">
<p>
<a href="http://dummy.example.org/dummy">This is an anchor</a>
</p>
<p>
<span>The color of the anchor above and of the current text should be
   black when the mouse does NOT hover over it, and green when the mouse hovers
   over it.</span>
</p>
</div>
','date' => '11-july-2001','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','escapedcode-xhtml' => '
&lt;div class="stub">
&lt;p>
&lt;a href="http://dummy.example.org/dummy">This is an anchor&lt;/a>
&lt;/p>
&lt;p>
&lt;span>The color of the anchor above and of the current text should be
   black when the mouse does NOT hover over it, and green when the mouse hovers
   over it.&lt;/span>
&lt;/p>
&lt;/div>
','interactive' => 1,'code-xhtml' => '
<div class="stub">
<p>
<a href="http://dummy.example.org/dummy">This is an anchor</a>
</p>
<p>
<span>The color of the anchor above and of the current text should be
   black when the mouse does NOT hover over it, and green when the mouse hovers
   over it.</span>
</p>
</div>
'},'css3-modsel-64' => {'rev' => '1.0','escapedcode-xml' => '
&lt;div xmlns="http://www.w3.org/1999/xhtml" class="stub">
&lt;p>
&lt;a href="http://dummy.example.org/dummy">This is an anchor&lt;/a>
&lt;/p>
&lt;p>
&lt;button>The color of the anchor above and the current text should be
   black in normal state, and green when you make it active.&lt;/button>
&lt;/p>
&lt;/div>
','escapedcode-css' => 'div.stub * { color : lime }
div.stub > * > *:not(:active) { color : black }
','escapedcode-html' => '
&lt;div class="stub">
&lt;p>
&lt;a href="http://dummy.example.org/dummy">This is an anchor&lt;/a>
&lt;/p>
&lt;p>
&lt;button>The color of the anchor above and the current text should be
   black in normal state, and green when you make it active.&lt;/button>
&lt;/p>
&lt;/div>
','def' => 'NEGATED :active pseudo-class','number' => '64','modulename' => 'css3-modsel','cssrules' => 'div.stub * { color : lime }
div.stub > * > *:not(:active) { color : black }
','module' => 'W3C Selectors','endTag' => '</button>','code-html' => '
<div class="stub">
<p>
<a href="http://dummy.example.org/dummy">This is an anchor</a>
</p>
<p>
<button>The color of the anchor above and the current text should be
   black in normal state, and green when you make it active.</button>
</p>
</div>
','author' => ['Daniel Glazman'],'code-xml' => '
<div xmlns="http://www.w3.org/1999/xhtml" class="stub">
<p>
<a href="http://dummy.example.org/dummy">This is an anchor</a>
</p>
<p>
<button>The color of the anchor above and the current text should be
   black in normal state, and green when you make it active.</button>
</p>
</div>
','date' => '11-july-2001','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','escapedcode-xhtml' => '
&lt;div class="stub">
&lt;p>
&lt;a href="http://dummy.example.org/dummy">This is an anchor&lt;/a>
&lt;/p>
&lt;p>
&lt;button>The color of the anchor above and the current text should be
   black in normal state, and green when you make it active.&lt;/button>
&lt;/p>
&lt;/div>
','interactive' => 1,'code-xhtml' => '
<div class="stub">
<p>
<a href="http://dummy.example.org/dummy">This is an anchor</a>
</p>
<p>
<button>The color of the anchor above and the current text should be
   black in normal state, and green when you make it active.</button>
</p>
</div>
'},'css3-modsel-110' => {'rev' => '1.0','escapedcode-xml' => '
&lt;p xmlns="http://www.w3.org/1999/xhtml" title="si on chantait">This paragraph should have a green background&lt;/p>
&lt;q xmlns="http://www.example.org/a" a:title="si nous chantions">This paragraph should NOT
          have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should
          have a green background&lt;/r>
&lt;s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should also
          have a green background&lt;/s>
&lt;t xmlns="http://www.example.org/b" b:ti="si on chantait">This paragraph should NOT
          have a green background&lt;/t>
','escapedcode-css' => '@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
@namespace html url(http://www.w3.org/1999/xhtml);
*|p, *|q, *|r, *|s, *|t{ display : block ; margin-bottom : 1em }
*|p, *|r, *|s { background-color : red }
*|*[*|title*="on ch"] { background-color : lime }','escapedcode-html' => '
&lt;p title="si on chantait">This paragraph should have a green background&lt;/p>
&lt;q xmlns="http://www.example.org/a" a:title="si nous chantions">This paragraph should NOT
          have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should
          have a green background&lt;/r>
&lt;s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should also
          have a green background&lt;/s>
&lt;t xmlns="http://www.example.org/b" b:ti="si on chantait">This paragraph should NOT
          have a green background&lt;/t>
','def' => 'Substring matching attribute selector on middle with universal namespace','number' => '110','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => '@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
@namespace html url(http://www.w3.org/1999/xhtml);
*|p, *|q, *|r, *|s, *|t{ display : block ; margin-bottom : 1em }
*|p, *|r, *|s { background-color : red }
*|*[*|title*="on ch"] { background-color : lime }','author' => ['Daniel Glazman'],'code-html' => '
<p title="si on chantait">This paragraph should have a green background</p>
<q xmlns="http://www.example.org/a" a:title="si nous chantions">This paragraph should NOT
          have a green background</q>
<r xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should
          have a green background</r>
<s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should also
          have a green background</s>
<t xmlns="http://www.example.org/b" b:ti="si on chantait">This paragraph should NOT
          have a green background</t>
','endTag' => '</t>','date' => '11-july-2001','code-xml' => '
<p xmlns="http://www.w3.org/1999/xhtml" title="si on chantait">This paragraph should have a green background</p>
<q xmlns="http://www.example.org/a" a:title="si nous chantions">This paragraph should NOT
          have a green background</q>
<r xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should
          have a green background</r>
<s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should also
          have a green background</s>
<t xmlns="http://www.example.org/b" b:ti="si on chantait">This paragraph should NOT
          have a green background</t>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','namespaced' => 1,'escapedcode-xhtml' => '
&lt;p title="si on chantait">This paragraph should have a green background&lt;/p>
&lt;q xmlns="http://www.example.org/a" a:title="si nous chantions">This paragraph should NOT
          have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should
          have a green background&lt;/r>
&lt;s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should also
          have a green background&lt;/s>
&lt;t xmlns="http://www.example.org/b" b:ti="si on chantait">This paragraph should NOT
          have a green background&lt;/t>
','code-xhtml' => '
<p title="si on chantait">This paragraph should have a green background</p>
<q xmlns="http://www.example.org/a" a:title="si nous chantions">This paragraph should NOT
          have a green background</q>
<r xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should
          have a green background</r>
<s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should also
          have a green background</s>
<t xmlns="http://www.example.org/b" b:ti="si on chantait">This paragraph should NOT
          have a green background</t>
'},'css3-modsel-65' => {'rev' => '1.0','escapedcode-xml' => '
&lt;p xmlns="http://www.w3.org/1999/xhtml">The background color of all &lt;a href="#foo">anchors&lt;/a>
  should be green turn &lt;a href="#foo">to white&lt;/a> when it has the
  &lt;a href="#foo">focus&lt;/a>.&lt;/p>
','escapedcode-css' => 'a:not(:focus) { background-color : lime }
','escapedcode-html' => '
&lt;p>The background color of all &lt;a href="#foo">anchors&lt;/a>
  should be green turn &lt;a href="#foo">to white&lt;/a> when it has the
  &lt;a href="#foo">focus&lt;/a>.&lt;/p>
','def' => 'NEGATED :focus pseudo-class','number' => '65','modulename' => 'css3-modsel','cssrules' => 'a:not(:focus) { background-color : lime }
','module' => 'W3C Selectors','endTag' => '</a>','code-html' => '
<p>The background color of all <a href="#foo">anchors</a>
  should be green turn <a href="#foo">to white</a> when it has the
  <a href="#foo">focus</a>.</p>
','author' => ['Daniel Glazman'],'code-xml' => '
<p xmlns="http://www.w3.org/1999/xhtml">The background color of all <a href="#foo">anchors</a>
  should be green turn <a href="#foo">to white</a> when it has the
  <a href="#foo">focus</a>.</p>
','date' => '11-july-2001','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','escapedcode-xhtml' => '
&lt;p>The background color of all &lt;a href="#foo">anchors&lt;/a>
  should be green turn &lt;a href="#foo">to white&lt;/a> when it has the
  &lt;a href="#foo">focus&lt;/a>.&lt;/p>
','interactive' => 1,'code-xhtml' => '
<p>The background color of all <a href="#foo">anchors</a>
  should be green turn <a href="#foo">to white</a> when it has the
  <a href="#foo">focus</a>.</p>
'},'css3-modsel-111' => {'rev' => '1.0','escapedcode-xml' => '
&lt;p xmlns="http://www.w3.org/1999/xhtml" title="si on chantait">This paragraph should have a green background&lt;/p>
&lt;q xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should NOT
          have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/a" title="si on chantait">This paragraph should
          have a green background&lt;/r>
','escapedcode-css' => '@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
@namespace html url(http://www.w3.org/1999/xhtml);
*|p, *|q, *|r, *|s, *|t{ display : block ; margin-bottom : 1em }
*|p, *|r { background-color : red }
*|*[|title] { background-color : lime }','escapedcode-html' => '
&lt;p title="si on chantait">This paragraph should have a green background&lt;/p>
&lt;q xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should NOT
          have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/a" title="si on chantait">This paragraph should
          have a green background&lt;/r>
','def' => 'Attribute existence selector without declared namespace','number' => '111','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => '@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
@namespace html url(http://www.w3.org/1999/xhtml);
*|p, *|q, *|r, *|s, *|t{ display : block ; margin-bottom : 1em }
*|p, *|r { background-color : red }
*|*[|title] { background-color : lime }','author' => ['Daniel Glazman'],'code-html' => '
<p title="si on chantait">This paragraph should have a green background</p>
<q xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should NOT
          have a green background</q>
<r xmlns="http://www.example.org/a" title="si on chantait">This paragraph should
          have a green background</r>
','endTag' => '</r>','date' => '11-july-2001','code-xml' => '
<p xmlns="http://www.w3.org/1999/xhtml" title="si on chantait">This paragraph should have a green background</p>
<q xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should NOT
          have a green background</q>
<r xmlns="http://www.example.org/a" title="si on chantait">This paragraph should
          have a green background</r>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','namespaced' => 1,'escapedcode-xhtml' => '
&lt;p title="si on chantait">This paragraph should have a green background&lt;/p>
&lt;q xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should NOT
          have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/a" title="si on chantait">This paragraph should
          have a green background&lt;/r>
','code-xhtml' => '
<p title="si on chantait">This paragraph should have a green background</p>
<q xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should NOT
          have a green background</q>
<r xmlns="http://www.example.org/a" title="si on chantait">This paragraph should
          have a green background</r>
'},'css3-modsel-66' => {'rev' => '1.0','escapedcode-xml' => '
&lt;p xmlns="http://www.w3.org/1999/xhtml" id="first">The background of this paragraph should be initially green.
       The background of the paragraph just below should become white when
       you click &lt;a href="#second">****here****&lt;/a>.&lt;/p>
&lt;p xmlns="http://www.w3.org/1999/xhtml" id="second">The background of this paragraph should be initially green.
       It becomes white when you click on the link above. When you click
       &lt;a href="#third">****here****&lt;/a>, it becomes green again and the
       background of the paragraph below becomes white.&lt;/p>
&lt;p xmlns="http://www.w3.org/1999/xhtml" id="third">The background of this paragraph should be initially green.
       It becomes white when you click on the link above. When you click
       &lt;a href="css3-modsel-120.xml">****here****&lt;/a>, the three paragraph
       have green background again.&lt;/p>
','escapedcode-css' => 'p:not(:target) { background-color : lime }','escapedcode-html' => '
&lt;p id="first">The background of this paragraph should be initially green.
       The background of the paragraph just below should become white when
       you click &lt;a href="#second">****here****&lt;/a>.&lt;/p>
&lt;p id="second">The background of this paragraph should be initially green.
       It becomes white when you click on the link above. When you click
       &lt;a href="#third">****here****&lt;/a>, it becomes green again and the
       background of the paragraph below becomes white.&lt;/p>
&lt;p id="third">The background of this paragraph should be initially green.
       It becomes white when you click on the link above. When you click
       &lt;a href="css3-modsel-120.xml">****here****&lt;/a>, the three paragraph
       have green background again.&lt;/p>
','def' => 'NEGATED :target pseudo-class','number' => '66','modulename' => 'css3-modsel','cssrules' => 'p:not(:target) { background-color : lime }','module' => 'W3C Selectors','endTag' => '</a>','code-html' => '
<p id="first">The background of this paragraph should be initially green.
       The background of the paragraph just below should become white when
       you click <a href="#second">****here****</a>.</p>
<p id="second">The background of this paragraph should be initially green.
       It becomes white when you click on the link above. When you click
       <a href="#third">****here****</a>, it becomes green again and the
       background of the paragraph below becomes white.</p>
<p id="third">The background of this paragraph should be initially green.
       It becomes white when you click on the link above. When you click
       <a href="css3-modsel-120.xml">****here****</a>, the three paragraph
       have green background again.</p>
','author' => ['Daniel Glazman'],'code-xml' => '
<p xmlns="http://www.w3.org/1999/xhtml" id="first">The background of this paragraph should be initially green.
       The background of the paragraph just below should become white when
       you click <a href="#second">****here****</a>.</p>
<p xmlns="http://www.w3.org/1999/xhtml" id="second">The background of this paragraph should be initially green.
       It becomes white when you click on the link above. When you click
       <a href="#third">****here****</a>, it becomes green again and the
       background of the paragraph below becomes white.</p>
<p xmlns="http://www.w3.org/1999/xhtml" id="third">The background of this paragraph should be initially green.
       It becomes white when you click on the link above. When you click
       <a href="css3-modsel-120.xml">****here****</a>, the three paragraph
       have green background again.</p>
','date' => '11-july-2001','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','escapedcode-xhtml' => '
&lt;p id="first">The background of this paragraph should be initially green.
       The background of the paragraph just below should become white when
       you click &lt;a href="#second">****here****&lt;/a>.&lt;/p>
&lt;p id="second">The background of this paragraph should be initially green.
       It becomes white when you click on the link above. When you click
       &lt;a href="#third">****here****&lt;/a>, it becomes green again and the
       background of the paragraph below becomes white.&lt;/p>
&lt;p id="third">The background of this paragraph should be initially green.
       It becomes white when you click on the link above. When you click
       &lt;a href="css3-modsel-120.xml">****here****&lt;/a>, the three paragraph
       have green background again.&lt;/p>
','interactive' => 1,'code-xhtml' => '
<p id="first">The background of this paragraph should be initially green.
       The background of the paragraph just below should become white when
       you click <a href="#second">****here****</a>.</p>
<p id="second">The background of this paragraph should be initially green.
       It becomes white when you click on the link above. When you click
       <a href="#third">****here****</a>, it becomes green again and the
       background of the paragraph below becomes white.</p>
<p id="third">The background of this paragraph should be initially green.
       It becomes white when you click on the link above. When you click
       <a href="css3-modsel-120.xml">****here****</a>, the three paragraph
       have green background again.</p>
'},'css3-modsel-112' => {'rev' => '1.0','escapedcode-xml' => '
&lt;p xmlns="http://www.w3.org/1999/xhtml" title="si on chantait">This paragraph should have a green background&lt;/p>
&lt;q xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should NOT
          have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/a" title="si on chantait">This paragraph should
          have a green background&lt;/r>
&lt;s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should NOT
          have a green background&lt;/s>
&lt;t xmlns="http://www.example.org/b" title="si nous chantions">This paragraph should NOT
          have a green background&lt;/t>
','escapedcode-css' => '@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
@namespace html url(http://www.w3.org/1999/xhtml);
*|p, *|q, *|r, *|s, *|t{ display : block ; margin-bottom : 1em }
*|p, *|r { background-color : red }
*|*[|title="si on chantait"] { background-color : lime }','escapedcode-html' => '
&lt;p title="si on chantait">This paragraph should have a green background&lt;/p>
&lt;q xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should NOT
          have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/a" title="si on chantait">This paragraph should
          have a green background&lt;/r>
&lt;s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should NOT
          have a green background&lt;/s>
&lt;t xmlns="http://www.example.org/b" title="si nous chantions">This paragraph should NOT
          have a green background&lt;/t>
','def' => 'Attribute value selector without declared namespace','number' => '112','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => '@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
@namespace html url(http://www.w3.org/1999/xhtml);
*|p, *|q, *|r, *|s, *|t{ display : block ; margin-bottom : 1em }
*|p, *|r { background-color : red }
*|*[|title="si on chantait"] { background-color : lime }','author' => ['Daniel Glazman'],'code-html' => '
<p title="si on chantait">This paragraph should have a green background</p>
<q xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should NOT
          have a green background</q>
<r xmlns="http://www.example.org/a" title="si on chantait">This paragraph should
          have a green background</r>
<s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should NOT
          have a green background</s>
<t xmlns="http://www.example.org/b" title="si nous chantions">This paragraph should NOT
          have a green background</t>
','endTag' => '</t>','date' => '11-july-2001','code-xml' => '
<p xmlns="http://www.w3.org/1999/xhtml" title="si on chantait">This paragraph should have a green background</p>
<q xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should NOT
          have a green background</q>
<r xmlns="http://www.example.org/a" title="si on chantait">This paragraph should
          have a green background</r>
<s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should NOT
          have a green background</s>
<t xmlns="http://www.example.org/b" title="si nous chantions">This paragraph should NOT
          have a green background</t>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','namespaced' => 1,'escapedcode-xhtml' => '
&lt;p title="si on chantait">This paragraph should have a green background&lt;/p>
&lt;q xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should NOT
          have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/a" title="si on chantait">This paragraph should
          have a green background&lt;/r>
&lt;s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should NOT
          have a green background&lt;/s>
&lt;t xmlns="http://www.example.org/b" title="si nous chantions">This paragraph should NOT
          have a green background&lt;/t>
','code-xhtml' => '
<p title="si on chantait">This paragraph should have a green background</p>
<q xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should NOT
          have a green background</q>
<r xmlns="http://www.example.org/a" title="si on chantait">This paragraph should
          have a green background</r>
<s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should NOT
          have a green background</s>
<t xmlns="http://www.example.org/b" title="si nous chantions">This paragraph should NOT
          have a green background</t>
'},'css3-modsel-67' => {'rev' => '1.0','escapedcode-xml' => '
&lt;div xmlns="http://www.w3.org/1999/xhtml" lang="en" class="stub">
&lt;p>This paragraph should have a green background because the
   enclosing div is in english.&lt;/p>
&lt;p lang="en">This paragraph should have a green background because
   it is in english.&lt;/p>
&lt;div lang="fr">
  &lt;p lang="en">This paragraph should have a green background
     because it is in english.&lt;/p>
&lt;/div>
&lt;/div>
','escapedcode-css' => 'div.stub * { background-color : red  }
div.stub *:not(:lang(fr)) { background-color : green }','escapedcode-html' => '
&lt;div lang="en" class="stub">
&lt;p>This paragraph should have a green background because the
   enclosing div is in english.&lt;/p>
&lt;p lang="en">This paragraph should have a green background because
   it is in english.&lt;/p>
&lt;div lang="fr">
  &lt;p lang="en">This paragraph should have a green background
     because it is in english.&lt;/p>
&lt;/div>
&lt;/div>
','def' => 'NEGATED :lang() pseudo-class','number' => '67','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => 'div.stub * { background-color : red  }
div.stub *:not(:lang(fr)) { background-color : green }','author' => ['Daniel Glazman'],'code-html' => '
<div lang="en" class="stub">
<p>This paragraph should have a green background because the
   enclosing div is in english.</p>
<p lang="en">This paragraph should have a green background because
   it is in english.</p>
<div lang="fr">
  <p lang="en">This paragraph should have a green background
     because it is in english.</p>
</div>
</div>
','endTag' => '</p>','date' => '11-july-2001','code-xml' => '
<div xmlns="http://www.w3.org/1999/xhtml" lang="en" class="stub">
<p>This paragraph should have a green background because the
   enclosing div is in english.</p>
<p lang="en">This paragraph should have a green background because
   it is in english.</p>
<div lang="fr">
  <p lang="en">This paragraph should have a green background
     because it is in english.</p>
</div>
</div>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','escapedcode-xhtml' => '
&lt;div lang="en" class="stub">
&lt;p>This paragraph should have a green background because the
   enclosing div is in english.&lt;/p>
&lt;p lang="en">This paragraph should have a green background because
   it is in english.&lt;/p>
&lt;div lang="fr">
  &lt;p lang="en">This paragraph should have a green background
     because it is in english.&lt;/p>
&lt;/div>
&lt;/div>
','code-xhtml' => '
<div lang="en" class="stub">
<p>This paragraph should have a green background because the
   enclosing div is in english.</p>
<p lang="en">This paragraph should have a green background because
   it is in english.</p>
<div lang="fr">
  <p lang="en">This paragraph should have a green background
     because it is in english.</p>
</div>
</div>
'},'css3-modsel-113' => {'rev' => '1.0','escapedcode-xml' => '
&lt;p xmlns="http://www.w3.org/1999/xhtml" class="bar foo toto">This paragraph should have a green background&lt;/p>
&lt;address xmlns="http://www.w3.org/1999/xhtml" class="bar foofoo toto">This address should NOT have a green background&lt;/address>
&lt;q xmlns="http://www.example.org/a" class="bar foo toto">This paragraph should
             have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/b" b:class="bar foo toto">This paragraph should
             NOT have a green background&lt;/r>
','escapedcode-css' => '@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
@namespace html url(http://www.w3.org/1999/xhtml);
*|p, *|address, *|q, *|r { display : block ; margin-bottom : 1em }
*|p, *|q { background-color : red }
*|*[|class~="foo"] { background-color : lime }','escapedcode-html' => '
&lt;p class="bar foo toto">This paragraph should have a green background&lt;/p>
&lt;address class="bar foofoo toto">This address should NOT have a green background&lt;/address>
&lt;q xmlns="http://www.example.org/a" class="bar foo toto">This paragraph should
             have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/b" b:class="bar foo toto">This paragraph should
             NOT have a green background&lt;/r>
','def' => 'Attribute space-separated value selector without declared namespace','number' => '113','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => '@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
@namespace html url(http://www.w3.org/1999/xhtml);
*|p, *|address, *|q, *|r { display : block ; margin-bottom : 1em }
*|p, *|q { background-color : red }
*|*[|class~="foo"] { background-color : lime }','author' => ['Daniel Glazman'],'code-html' => '
<p class="bar foo toto">This paragraph should have a green background</p>
<address class="bar foofoo toto">This address should NOT have a green background</address>
<q xmlns="http://www.example.org/a" class="bar foo toto">This paragraph should
             have a green background</q>
<r xmlns="http://www.example.org/b" b:class="bar foo toto">This paragraph should
             NOT have a green background</r>
','endTag' => '</r>','date' => '11-july-2001','code-xml' => '
<p xmlns="http://www.w3.org/1999/xhtml" class="bar foo toto">This paragraph should have a green background</p>
<address xmlns="http://www.w3.org/1999/xhtml" class="bar foofoo toto">This address should NOT have a green background</address>
<q xmlns="http://www.example.org/a" class="bar foo toto">This paragraph should
             have a green background</q>
<r xmlns="http://www.example.org/b" b:class="bar foo toto">This paragraph should
             NOT have a green background</r>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','namespaced' => 1,'escapedcode-xhtml' => '
&lt;p class="bar foo toto">This paragraph should have a green background&lt;/p>
&lt;address class="bar foofoo toto">This address should NOT have a green background&lt;/address>
&lt;q xmlns="http://www.example.org/a" class="bar foo toto">This paragraph should
             have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/b" b:class="bar foo toto">This paragraph should
             NOT have a green background&lt;/r>
','code-xhtml' => '
<p class="bar foo toto">This paragraph should have a green background</p>
<address class="bar foofoo toto">This address should NOT have a green background</address>
<q xmlns="http://www.example.org/a" class="bar foo toto">This paragraph should
             have a green background</q>
<r xmlns="http://www.example.org/b" b:class="bar foo toto">This paragraph should
             NOT have a green background</r>
'},'css3-modsel-68' => {'rev' => '1.0','escapedcode-xml' => '
&lt;button xmlns="http://www.w3.org/1999/xhtml" disabled="disabled">A button (disabled) with green background&lt;/button>
&lt;br xmlns="http://www.example.org/css3tests">&lt;/br>
&lt;input xmlns="http://www.w3.org/1999/xhtml" disabled="disabled" type="text" size="36" value="a text area (disabled) with green background">&lt;/input>
','escapedcode-css' => 'button { background-color : red }
input { background-color : red }
button:not(:enabled) { background-color : lime }
input:not(:enabled)  { background-color : lime }','escapedcode-html' => '
&lt;button disabled="disabled">A button (disabled) with green background&lt;/button>
&lt;br xmlns="http://www.example.org/css3tests">&lt;/br>
&lt;input disabled="disabled" type="text" size="36" value="a text area (disabled) with green background">&lt;/input>
','def' => 'NEGATED :enabled pseudo-class','number' => '68','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => 'button { background-color : red }
input { background-color : red }
button:not(:enabled) { background-color : lime }
input:not(:enabled)  { background-color : lime }','author' => ['Daniel Glazman'],'code-html' => '
<button disabled="disabled">A button (disabled) with green background</button>
<br xmlns="http://www.example.org/css3tests"></br>
<input disabled="disabled" type="text" size="36" value="a text area (disabled) with green background"></input>
','endTag' => '</input>','date' => '11-july-2001','code-xml' => '
<button xmlns="http://www.w3.org/1999/xhtml" disabled="disabled">A button (disabled) with green background</button>
<br xmlns="http://www.example.org/css3tests"></br>
<input xmlns="http://www.w3.org/1999/xhtml" disabled="disabled" type="text" size="36" value="a text area (disabled) with green background"></input>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','namespaced' => 1,'escapedcode-xhtml' => '
&lt;button disabled="disabled">A button (disabled) with green background&lt;/button>
&lt;br xmlns="http://www.example.org/css3tests">&lt;/br>
&lt;input disabled="disabled" type="text" size="36" value="a text area (disabled) with green background">&lt;/input>
','code-xhtml' => '
<button disabled="disabled">A button (disabled) with green background</button>
<br xmlns="http://www.example.org/css3tests"></br>
<input disabled="disabled" type="text" size="36" value="a text area (disabled) with green background"></input>
'},'css3-modsel-114' => {'rev' => '1.0','escapedcode-xml' => '
&lt;p xmlns="http://www.w3.org/1999/xhtml" lang="foo-bar">This paragraph should have a green background&lt;/p>
&lt;address xmlns="http://www.w3.org/1999/xhtml" lang="foo-b">This address should NOT have a green background&lt;/address>
&lt;address xmlns="http://www.w3.org/1999/xhtml" lang="foo-barbar-toto">This address should NOT have a green background&lt;/address>
&lt;q xmlns="http://www.example.org/a" myattr="tat-tut-tot">This paragraph should
             have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/b" b:myattr="tat-tut-tot">This paragraph should
             NOT have a green background&lt;/r>
','escapedcode-css' => '@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
@namespace html url(http://www.w3.org/1999/xhtml);
*|p, *|address, *|q, *|r { display : block ; margin-bottom : 1em }
*|p, *|q { background-color : red }
*|*[|lang|="foo-bar"], *|*[|myattr|="tat-tut"] { background-color : lime }','escapedcode-html' => '
&lt;p lang="foo-bar">This paragraph should have a green background&lt;/p>
&lt;address lang="foo-b">This address should NOT have a green background&lt;/address>
&lt;address lang="foo-barbar-toto">This address should NOT have a green background&lt;/address>
&lt;q xmlns="http://www.example.org/a" myattr="tat-tut-tot">This paragraph should
             have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/b" b:myattr="tat-tut-tot">This paragraph should
             NOT have a green background&lt;/r>
','def' => 'Attribute dash-separated value selector without declared namespace','number' => '114','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => '@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
@namespace html url(http://www.w3.org/1999/xhtml);
*|p, *|address, *|q, *|r { display : block ; margin-bottom : 1em }
*|p, *|q { background-color : red }
*|*[|lang|="foo-bar"], *|*[|myattr|="tat-tut"] { background-color : lime }','author' => ['Daniel Glazman'],'code-html' => '
<p lang="foo-bar">This paragraph should have a green background</p>
<address lang="foo-b">This address should NOT have a green background</address>
<address lang="foo-barbar-toto">This address should NOT have a green background</address>
<q xmlns="http://www.example.org/a" myattr="tat-tut-tot">This paragraph should
             have a green background</q>
<r xmlns="http://www.example.org/b" b:myattr="tat-tut-tot">This paragraph should
             NOT have a green background</r>
','endTag' => '</r>','date' => '11-july-2001','code-xml' => '
<p xmlns="http://www.w3.org/1999/xhtml" lang="foo-bar">This paragraph should have a green background</p>
<address xmlns="http://www.w3.org/1999/xhtml" lang="foo-b">This address should NOT have a green background</address>
<address xmlns="http://www.w3.org/1999/xhtml" lang="foo-barbar-toto">This address should NOT have a green background</address>
<q xmlns="http://www.example.org/a" myattr="tat-tut-tot">This paragraph should
             have a green background</q>
<r xmlns="http://www.example.org/b" b:myattr="tat-tut-tot">This paragraph should
             NOT have a green background</r>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','namespaced' => 1,'escapedcode-xhtml' => '
&lt;p lang="foo-bar">This paragraph should have a green background&lt;/p>
&lt;address lang="foo-b">This address should NOT have a green background&lt;/address>
&lt;address lang="foo-barbar-toto">This address should NOT have a green background&lt;/address>
&lt;q xmlns="http://www.example.org/a" myattr="tat-tut-tot">This paragraph should
             have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/b" b:myattr="tat-tut-tot">This paragraph should
             NOT have a green background&lt;/r>
','code-xhtml' => '
<p lang="foo-bar">This paragraph should have a green background</p>
<address lang="foo-b">This address should NOT have a green background</address>
<address lang="foo-barbar-toto">This address should NOT have a green background</address>
<q xmlns="http://www.example.org/a" myattr="tat-tut-tot">This paragraph should
             have a green background</q>
<r xmlns="http://www.example.org/b" b:myattr="tat-tut-tot">This paragraph should
             NOT have a green background</r>
'},'css3-modsel-69' => {'rev' => '1.0','escapedcode-xml' => '
&lt;button xmlns="http://www.w3.org/1999/xhtml">A button (enabled) with green background&lt;/button>
&lt;br xmlns="http://www.example.org/css3tests">&lt;/br>
&lt;input xmlns="http://www.w3.org/1999/xhtml" type="text" size="36" value="a text area (enabled) with green background">&lt;/input>
','escapedcode-css' => 'button { background-color : red }
input { background-color : red }
button:not(:disabled) { background-color : lime }
input:not(:disabled) { background-color : lime }','escapedcode-html' => '
&lt;button>A button (enabled) with green background&lt;/button>
&lt;br xmlns="http://www.example.org/css3tests">&lt;/br>
&lt;input type="text" size="36" value="a text area (enabled) with green background">&lt;/input>
','def' => 'NEGATED :disabled pseudo-class','number' => '69','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => 'button { background-color : red }
input { background-color : red }
button:not(:disabled) { background-color : lime }
input:not(:disabled) { background-color : lime }','author' => ['Daniel Glazman'],'code-html' => '
<button>A button (enabled) with green background</button>
<br xmlns="http://www.example.org/css3tests"></br>
<input type="text" size="36" value="a text area (enabled) with green background"></input>
','endTag' => '</input>','date' => '11-july-2001','code-xml' => '
<button xmlns="http://www.w3.org/1999/xhtml">A button (enabled) with green background</button>
<br xmlns="http://www.example.org/css3tests"></br>
<input xmlns="http://www.w3.org/1999/xhtml" type="text" size="36" value="a text area (enabled) with green background"></input>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','namespaced' => 1,'escapedcode-xhtml' => '
&lt;button>A button (enabled) with green background&lt;/button>
&lt;br xmlns="http://www.example.org/css3tests">&lt;/br>
&lt;input type="text" size="36" value="a text area (enabled) with green background">&lt;/input>
','code-xhtml' => '
<button>A button (enabled) with green background</button>
<br xmlns="http://www.example.org/css3tests"></br>
<input type="text" size="36" value="a text area (enabled) with green background"></input>
'},'css3-modsel-115' => {'rev' => '1.0','escapedcode-xml' => '
&lt;p xmlns="http://www.w3.org/1999/xhtml" title="si on chantait">This paragraph should have a green background&lt;/p>
&lt;q xmlns="http://www.example.org/a" a:title="si nous chantions">This paragraph should NOT
          have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/a" title="si on chantait">This paragraph should
          have a green background&lt;/r>
&lt;s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should NOT
          have a green background&lt;/s>
&lt;t xmlns="http://www.example.org/b" b:ti="si on chantait">This paragraph should NOT
          have a green background&lt;/t>
','escapedcode-css' => '@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
@namespace html url(http://www.w3.org/1999/xhtml);
*|p, *|q, *|r, *|s, *|t{ display : block ; margin-bottom : 1em }
*|p, *|r { background-color : red }
*|*[|title^="si on"] { background-color : lime }','escapedcode-html' => '
&lt;p title="si on chantait">This paragraph should have a green background&lt;/p>
&lt;q xmlns="http://www.example.org/a" a:title="si nous chantions">This paragraph should NOT
          have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/a" title="si on chantait">This paragraph should
          have a green background&lt;/r>
&lt;s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should NOT
          have a green background&lt;/s>
&lt;t xmlns="http://www.example.org/b" b:ti="si on chantait">This paragraph should NOT
          have a green background&lt;/t>
','def' => 'Substring matching attribute selector on beginning without declared namespace','number' => '115','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => '@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
@namespace html url(http://www.w3.org/1999/xhtml);
*|p, *|q, *|r, *|s, *|t{ display : block ; margin-bottom : 1em }
*|p, *|r { background-color : red }
*|*[|title^="si on"] { background-color : lime }','author' => ['Daniel Glazman'],'code-html' => '
<p title="si on chantait">This paragraph should have a green background</p>
<q xmlns="http://www.example.org/a" a:title="si nous chantions">This paragraph should NOT
          have a green background</q>
<r xmlns="http://www.example.org/a" title="si on chantait">This paragraph should
          have a green background</r>
<s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should NOT
          have a green background</s>
<t xmlns="http://www.example.org/b" b:ti="si on chantait">This paragraph should NOT
          have a green background</t>
','endTag' => '</t>','date' => '11-july-2001','code-xml' => '
<p xmlns="http://www.w3.org/1999/xhtml" title="si on chantait">This paragraph should have a green background</p>
<q xmlns="http://www.example.org/a" a:title="si nous chantions">This paragraph should NOT
          have a green background</q>
<r xmlns="http://www.example.org/a" title="si on chantait">This paragraph should
          have a green background</r>
<s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should NOT
          have a green background</s>
<t xmlns="http://www.example.org/b" b:ti="si on chantait">This paragraph should NOT
          have a green background</t>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','namespaced' => 1,'escapedcode-xhtml' => '
&lt;p title="si on chantait">This paragraph should have a green background&lt;/p>
&lt;q xmlns="http://www.example.org/a" a:title="si nous chantions">This paragraph should NOT
          have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/a" title="si on chantait">This paragraph should
          have a green background&lt;/r>
&lt;s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should NOT
          have a green background&lt;/s>
&lt;t xmlns="http://www.example.org/b" b:ti="si on chantait">This paragraph should NOT
          have a green background&lt;/t>
','code-xhtml' => '
<p title="si on chantait">This paragraph should have a green background</p>
<q xmlns="http://www.example.org/a" a:title="si nous chantions">This paragraph should NOT
          have a green background</q>
<r xmlns="http://www.example.org/a" title="si on chantait">This paragraph should
          have a green background</r>
<s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should NOT
          have a green background</s>
<t xmlns="http://www.example.org/b" b:ti="si on chantait">This paragraph should NOT
          have a green background</t>
'},'css3-modsel-116' => {'rev' => '1.0','escapedcode-xml' => '
&lt;p xmlns="http://www.w3.org/1999/xhtml" title="si on chantait">This paragraph should have a green background&lt;/p>
&lt;q xmlns="http://www.example.org/a" a:title="si nous chantions">This paragraph should NOT
          have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/a" title="si on chantait">This paragraph should
          have a green background&lt;/r>
&lt;s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should NOT
          have a green background&lt;/s>
&lt;t xmlns="http://www.example.org/b" title="si nous chantions">This paragraph should NOT
          have a green background&lt;/t>
','escapedcode-css' => '@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
@namespace html url(http://www.w3.org/1999/xhtml);
*|p, *|q, *|r, *|s, *|t{ display : block ; margin-bottom : 1em }
*|p, *|r { background-color : red }
*|*[|title$="tait"] { background-color : lime }','escapedcode-html' => '
&lt;p title="si on chantait">This paragraph should have a green background&lt;/p>
&lt;q xmlns="http://www.example.org/a" a:title="si nous chantions">This paragraph should NOT
          have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/a" title="si on chantait">This paragraph should
          have a green background&lt;/r>
&lt;s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should NOT
          have a green background&lt;/s>
&lt;t xmlns="http://www.example.org/b" title="si nous chantions">This paragraph should NOT
          have a green background&lt;/t>
','def' => 'Substring matching attribute selector on end without declared namespace','number' => '116','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => '@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
@namespace html url(http://www.w3.org/1999/xhtml);
*|p, *|q, *|r, *|s, *|t{ display : block ; margin-bottom : 1em }
*|p, *|r { background-color : red }
*|*[|title$="tait"] { background-color : lime }','author' => ['Daniel Glazman'],'code-html' => '
<p title="si on chantait">This paragraph should have a green background</p>
<q xmlns="http://www.example.org/a" a:title="si nous chantions">This paragraph should NOT
          have a green background</q>
<r xmlns="http://www.example.org/a" title="si on chantait">This paragraph should
          have a green background</r>
<s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should NOT
          have a green background</s>
<t xmlns="http://www.example.org/b" title="si nous chantions">This paragraph should NOT
          have a green background</t>
','endTag' => '</t>','date' => '11-july-2001','code-xml' => '
<p xmlns="http://www.w3.org/1999/xhtml" title="si on chantait">This paragraph should have a green background</p>
<q xmlns="http://www.example.org/a" a:title="si nous chantions">This paragraph should NOT
          have a green background</q>
<r xmlns="http://www.example.org/a" title="si on chantait">This paragraph should
          have a green background</r>
<s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should NOT
          have a green background</s>
<t xmlns="http://www.example.org/b" title="si nous chantions">This paragraph should NOT
          have a green background</t>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','namespaced' => 1,'escapedcode-xhtml' => '
&lt;p title="si on chantait">This paragraph should have a green background&lt;/p>
&lt;q xmlns="http://www.example.org/a" a:title="si nous chantions">This paragraph should NOT
          have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/a" title="si on chantait">This paragraph should
          have a green background&lt;/r>
&lt;s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should NOT
          have a green background&lt;/s>
&lt;t xmlns="http://www.example.org/b" title="si nous chantions">This paragraph should NOT
          have a green background&lt;/t>
','code-xhtml' => '
<p title="si on chantait">This paragraph should have a green background</p>
<q xmlns="http://www.example.org/a" a:title="si nous chantions">This paragraph should NOT
          have a green background</q>
<r xmlns="http://www.example.org/a" title="si on chantait">This paragraph should
          have a green background</r>
<s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should NOT
          have a green background</s>
<t xmlns="http://www.example.org/b" title="si nous chantions">This paragraph should NOT
          have a green background</t>
'},'css3-modsel-117' => {'rev' => '1.0','escapedcode-xml' => '
&lt;p xmlns="http://www.w3.org/1999/xhtml" title="si on chantait">This paragraph should have a green background&lt;/p>
&lt;q xmlns="http://www.example.org/a" a:title="si nous chantions">This paragraph should NOT
          have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/a" title="si on chantait">This paragraph should
          have a green background&lt;/r>
&lt;s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should NOT
          have a green background&lt;/s>
&lt;t xmlns="http://www.example.org/b" title="si nous chantions">This paragraph should NOT
          have a green background&lt;/t>
','escapedcode-css' => '@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
@namespace html url(http://www.w3.org/1999/xhtml);
*|p, *|q, *|r, *|s, *|t{ display : block ; margin-bottom : 1em }
*|p, *|r { background-color : red }
*|*[|title*="on ch"] { background-color : lime }','escapedcode-html' => '
&lt;p title="si on chantait">This paragraph should have a green background&lt;/p>
&lt;q xmlns="http://www.example.org/a" a:title="si nous chantions">This paragraph should NOT
          have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/a" title="si on chantait">This paragraph should
          have a green background&lt;/r>
&lt;s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should NOT
          have a green background&lt;/s>
&lt;t xmlns="http://www.example.org/b" title="si nous chantions">This paragraph should NOT
          have a green background&lt;/t>
','def' => 'Substring matching attribute selector on middle without declared namespace','number' => '117','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => '@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
@namespace html url(http://www.w3.org/1999/xhtml);
*|p, *|q, *|r, *|s, *|t{ display : block ; margin-bottom : 1em }
*|p, *|r { background-color : red }
*|*[|title*="on ch"] { background-color : lime }','author' => ['Daniel Glazman'],'code-html' => '
<p title="si on chantait">This paragraph should have a green background</p>
<q xmlns="http://www.example.org/a" a:title="si nous chantions">This paragraph should NOT
          have a green background</q>
<r xmlns="http://www.example.org/a" title="si on chantait">This paragraph should
          have a green background</r>
<s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should NOT
          have a green background</s>
<t xmlns="http://www.example.org/b" title="si nous chantions">This paragraph should NOT
          have a green background</t>
','endTag' => '</t>','date' => '11-july-2001','code-xml' => '
<p xmlns="http://www.w3.org/1999/xhtml" title="si on chantait">This paragraph should have a green background</p>
<q xmlns="http://www.example.org/a" a:title="si nous chantions">This paragraph should NOT
          have a green background</q>
<r xmlns="http://www.example.org/a" title="si on chantait">This paragraph should
          have a green background</r>
<s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should NOT
          have a green background</s>
<t xmlns="http://www.example.org/b" title="si nous chantions">This paragraph should NOT
          have a green background</t>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','namespaced' => 1,'escapedcode-xhtml' => '
&lt;p title="si on chantait">This paragraph should have a green background&lt;/p>
&lt;q xmlns="http://www.example.org/a" a:title="si nous chantions">This paragraph should NOT
          have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/a" title="si on chantait">This paragraph should
          have a green background&lt;/r>
&lt;s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should NOT
          have a green background&lt;/s>
&lt;t xmlns="http://www.example.org/b" title="si nous chantions">This paragraph should NOT
          have a green background&lt;/t>
','code-xhtml' => '
<p title="si on chantait">This paragraph should have a green background</p>
<q xmlns="http://www.example.org/a" a:title="si nous chantions">This paragraph should NOT
          have a green background</q>
<r xmlns="http://www.example.org/a" title="si on chantait">This paragraph should
          have a green background</r>
<s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should NOT
          have a green background</s>
<t xmlns="http://www.example.org/b" title="si nous chantions">This paragraph should NOT
          have a green background</t>
'},'css3-modsel-118' => {'rev' => '1.0','escapedcode-xml' => '
&lt;p xmlns="http://www.w3.org/1999/xhtml">This paragraph should have a green background&lt;/p>
&lt;p xmlns="http://www.example.org/b">This paragraph should have a green background&lt;/p>
&lt;p>This paragraph should have a green background&lt;/p>
&lt;p xmlns="http://www.example.org/a">
&lt;l>This paragraph should have a green background&lt;/l>
&lt;/p>
','escapedcode-css' => '@namespace html url(http://www.w3.org/1999/xhtml);
@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
*|p, *|l { display : block ; margin-bottom : 1em }
div.testText * { background-color : red }
div.testText *:not(a|p) { background-color : lime }
','escapedcode-html' => '
&lt;p>This paragraph should have a green background&lt;/p>
&lt;p xmlns="http://www.example.org/b">This paragraph should have a green background&lt;/p>
&lt;p xmlns="">This paragraph should have a green background&lt;/p>
&lt;p xmlns="http://www.example.org/a">
&lt;l>This paragraph should have a green background&lt;/l>
&lt;/p>
','def' => 'NEGATED type element selector with declared namespace','number' => '118','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => '@namespace html url(http://www.w3.org/1999/xhtml);
@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
*|p, *|l { display : block ; margin-bottom : 1em }
div.testText * { background-color : red }
div.testText *:not(a|p) { background-color : lime }
','author' => ['Daniel Glazman'],'code-html' => '
<p>This paragraph should have a green background</p>
<p xmlns="http://www.example.org/b">This paragraph should have a green background</p>
<p xmlns="">This paragraph should have a green background</p>
<p xmlns="http://www.example.org/a">
<l>This paragraph should have a green background</l>
</p>
','endTag' => '</l>','date' => '11-july-2001','code-xml' => '
<p xmlns="http://www.w3.org/1999/xhtml">This paragraph should have a green background</p>
<p xmlns="http://www.example.org/b">This paragraph should have a green background</p>
<p>This paragraph should have a green background</p>
<p xmlns="http://www.example.org/a">
<l>This paragraph should have a green background</l>
</p>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','namespaced' => 1,'escapedcode-xhtml' => '
&lt;p>This paragraph should have a green background&lt;/p>
&lt;p xmlns="http://www.example.org/b">This paragraph should have a green background&lt;/p>
&lt;p xmlns="">This paragraph should have a green background&lt;/p>
&lt;p xmlns="http://www.example.org/a">
&lt;l>This paragraph should have a green background&lt;/l>
&lt;/p>
','code-xhtml' => '
<p>This paragraph should have a green background</p>
<p xmlns="http://www.example.org/b">This paragraph should have a green background</p>
<p xmlns="">This paragraph should have a green background</p>
<p xmlns="http://www.example.org/a">
<l>This paragraph should have a green background</l>
</p>
'},'css3-modsel-119' => {'rev' => '1.0','escapedcode-xml' => '
&lt;div xmlns="http://www.w3.org/1999/xhtml" class="stub">
&lt;p>This paragraph should have a green background&lt;/p>
&lt;p xmlns="http://www.example.org/b">This paragraph should have a green background&lt;/p>
&lt;p xmlns="">This paragraph should have a green background&lt;/p>
&lt;p xmlns="http://www.example.org/a">This paragraph should have a green background&lt;/p>
&lt;/div>
&lt;address xmlns="http://www.w3.org/1999/xhtml">This address should have a green background&lt;/address>
&lt;s xmlns="http://www.example.org/b">This paragraph should have a green background&lt;/s>
&lt;t>This paragraph should have a green background&lt;/t>
&lt;u xmlns="http://www.example.org/a">This paragraph should have a green background&lt;/u>

','escapedcode-css' => '@namespace html url(http://www.w3.org/1999/xhtml);
@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
div.testText *:not(*|div) { display : block ; margin-bottom : 1em ;
                            background-color : red }
div.testText > *:not(*|p):not(*|div) { background-color : lime }
div.stub > *:not(*|div) { background-color : lime }
','escapedcode-html' => '
&lt;div class="stub">
&lt;p>This paragraph should have a green background&lt;/p>
&lt;p xmlns="http://www.example.org/b">This paragraph should have a green background&lt;/p>
&lt;p xmlns="">This paragraph should have a green background&lt;/p>
&lt;p xmlns="http://www.example.org/a">This paragraph should have a green background&lt;/p>
&lt;/div>
&lt;address>This address should have a green background&lt;/address>
&lt;s xmlns="http://www.example.org/b">This paragraph should have a green background&lt;/s>
&lt;t xmlns="">This paragraph should have a green background&lt;/t>
&lt;u xmlns="http://www.example.org/a">This paragraph should have a green background&lt;/u>

','def' => 'NEGATED type element selector with universal namespace','number' => '119','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => '@namespace html url(http://www.w3.org/1999/xhtml);
@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
div.testText *:not(*|div) { display : block ; margin-bottom : 1em ;
                            background-color : red }
div.testText > *:not(*|p):not(*|div) { background-color : lime }
div.stub > *:not(*|div) { background-color : lime }
','author' => ['Daniel Glazman'],'code-html' => '
<div class="stub">
<p>This paragraph should have a green background</p>
<p xmlns="http://www.example.org/b">This paragraph should have a green background</p>
<p xmlns="">This paragraph should have a green background</p>
<p xmlns="http://www.example.org/a">This paragraph should have a green background</p>
</div>
<address>This address should have a green background</address>
<s xmlns="http://www.example.org/b">This paragraph should have a green background</s>
<t xmlns="">This paragraph should have a green background</t>
<u xmlns="http://www.example.org/a">This paragraph should have a green background</u>

','endTag' => '</u>','date' => '11-july-2001','code-xml' => '
<div xmlns="http://www.w3.org/1999/xhtml" class="stub">
<p>This paragraph should have a green background</p>
<p xmlns="http://www.example.org/b">This paragraph should have a green background</p>
<p xmlns="">This paragraph should have a green background</p>
<p xmlns="http://www.example.org/a">This paragraph should have a green background</p>
</div>
<address xmlns="http://www.w3.org/1999/xhtml">This address should have a green background</address>
<s xmlns="http://www.example.org/b">This paragraph should have a green background</s>
<t>This paragraph should have a green background</t>
<u xmlns="http://www.example.org/a">This paragraph should have a green background</u>

','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','namespaced' => 1,'escapedcode-xhtml' => '
&lt;div class="stub">
&lt;p>This paragraph should have a green background&lt;/p>
&lt;p xmlns="http://www.example.org/b">This paragraph should have a green background&lt;/p>
&lt;p xmlns="">This paragraph should have a green background&lt;/p>
&lt;p xmlns="http://www.example.org/a">This paragraph should have a green background&lt;/p>
&lt;/div>
&lt;address>This address should have a green background&lt;/address>
&lt;s xmlns="http://www.example.org/b">This paragraph should have a green background&lt;/s>
&lt;t xmlns="">This paragraph should have a green background&lt;/t>
&lt;u xmlns="http://www.example.org/a">This paragraph should have a green background&lt;/u>

','code-xhtml' => '
<div class="stub">
<p>This paragraph should have a green background</p>
<p xmlns="http://www.example.org/b">This paragraph should have a green background</p>
<p xmlns="">This paragraph should have a green background</p>
<p xmlns="http://www.example.org/a">This paragraph should have a green background</p>
</div>
<address>This address should have a green background</address>
<s xmlns="http://www.example.org/b">This paragraph should have a green background</s>
<t xmlns="">This paragraph should have a green background</t>
<u xmlns="http://www.example.org/a">This paragraph should have a green background</u>

'},'css3-modsel-70' => {'rev' => '1.0','escapedcode-xml' => '
&lt;p xmlns="http://www.w3.org/1999/xhtml">
&lt;input type="checkbox">&lt;/input> The checkbox should have a green background&lt;/p>
','escapedcode-css' => 'input { background-color : red }
input:not(:checked) { background-color : lime}','escapedcode-html' => '
&lt;p>
&lt;input type="checkbox">&lt;/input> The checkbox should have a green background&lt;/p>
','def' => 'NEGATED :checked pseudo-class','number' => '70','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => 'input { background-color : red }
input:not(:checked) { background-color : lime}','author' => ['Daniel Glazman'],'code-html' => '
<p>
<input type="checkbox"></input> The checkbox should have a green background</p>
','endTag' => '</input>','date' => '11-july-2001','code-xml' => '
<p xmlns="http://www.w3.org/1999/xhtml">
<input type="checkbox"></input> The checkbox should have a green background</p>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','escapedcode-xhtml' => '
&lt;p>
&lt;input type="checkbox">&lt;/input> The checkbox should have a green background&lt;/p>
','code-xhtml' => '
<p>
<input type="checkbox"></input> The checkbox should have a green background</p>
'},'css3-modsel-71' => {'rev' => '1.0','escapedcode-xml' => '
&lt;form xmlns="http://www.w3.org/1999/xhtml">
&lt;input type="radio" name="rg" value="1">&lt;/input>the background of this checkbox
          should be green&lt;br>&lt;/br>
&lt;input type="radio" name="rg" checked="checked" value="2">&lt;/input>the background of this checkbox
          should be green&lt;br>&lt;/br>
&lt;input type="radio" name="rg" value="3">&lt;/input>the background of this checkbox
          should be green&lt;br>&lt;/br>
&lt;/form>
','escapedcode-css' => 'input { background-color : red }
input:indeterminate { background-color : lime}','escapedcode-html' => '
&lt;form>
&lt;input type="radio" name="rg" value="1">&lt;/input>the background of this checkbox
          should be green&lt;br>&lt;/br>
&lt;input type="radio" name="rg" checked="checked" value="2">&lt;/input>the background of this checkbox
          should be green&lt;br>&lt;/br>
&lt;input type="radio" name="rg" value="3">&lt;/input>the background of this checkbox
          should be green&lt;br>&lt;/br>
&lt;/form>
','def' => 'NEGATED :indeterminate pseudo-class','number' => '71','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => 'input { background-color : red }
input:indeterminate { background-color : lime}','author' => ['Daniel Glazman'],'code-html' => '
<form>
<input type="radio" name="rg" value="1"></input>the background of this checkbox
          should be green<br></br>
<input type="radio" name="rg" checked="checked" value="2"></input>the background of this checkbox
          should be green<br></br>
<input type="radio" name="rg" value="3"></input>the background of this checkbox
          should be green<br></br>
</form>
','endTag' => '</br>','date' => '11-july-2001','code-xml' => '
<form xmlns="http://www.w3.org/1999/xhtml">
<input type="radio" name="rg" value="1"></input>the background of this checkbox
          should be green<br></br>
<input type="radio" name="rg" checked="checked" value="2"></input>the background of this checkbox
          should be green<br></br>
<input type="radio" name="rg" value="3"></input>the background of this checkbox
          should be green<br></br>
</form>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','escapedcode-xhtml' => '
&lt;form>
&lt;input type="radio" name="rg" value="1">&lt;/input>the background of this checkbox
          should be green&lt;br>&lt;/br>
&lt;input type="radio" name="rg" checked="checked" value="2">&lt;/input>the background of this checkbox
          should be green&lt;br>&lt;/br>
&lt;input type="radio" name="rg" value="3">&lt;/input>the background of this checkbox
          should be green&lt;br>&lt;/br>
&lt;/form>
','code-xhtml' => '
<form>
<input type="radio" name="rg" value="1"></input>the background of this checkbox
          should be green<br></br>
<input type="radio" name="rg" checked="checked" value="2"></input>the background of this checkbox
          should be green<br></br>
<input type="radio" name="rg" value="3"></input>the background of this checkbox
          should be green<br></br>
</form>
'},'css3-modsel-72' => {'rev' => '1.0','escapedcode-xml' => '
&lt;p xmlns="http://www.w3.org/1999/xhtml">The background of the document should be white and all
   the other elements, excluding table header cells, should have a green background.&lt;/p>
','escapedcode-css' => '*:not(:root) { background-color: lime }
body * { background-color : red }
','escapedcode-html' => '
&lt;p>The background of the document should be white and all
   the other elements, excluding table header cells, should have a green background.&lt;/p>
','def' => 'NEGATED :root pseudo-class','number' => '72','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => '*:not(:root) { background-color: lime }
body * { background-color : red }
','author' => ['Daniel Glazman'],'code-html' => '
<p>The background of the document should be white and all
   the other elements, excluding table header cells, should have a green background.</p>
','endTag' => '</p>','date' => '11-july-2001','code-xml' => '
<p xmlns="http://www.w3.org/1999/xhtml">The background of the document should be white and all
   the other elements, excluding table header cells, should have a green background.</p>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','escapedcode-xhtml' => '
&lt;p>The background of the document should be white and all
   the other elements, excluding table header cells, should have a green background.&lt;/p>
','code-xhtml' => '
<p>The background of the document should be white and all
   the other elements, excluding table header cells, should have a green background.</p>
'},'css3-modsel-73' => {'rev' => '1.0','escapedcode-xml' => '
&lt;ul xmlns="http://www.w3.org/1999/xhtml">
  &lt;li>First list item&lt;/li>
  &lt;li class="red">This second list item should have a green background&lt;/li>
  &lt;li>Third list&lt;/li>
  &lt;li class="red">This fourth list item should have a green background&lt;/li>
  &lt;li>Fifth list item&lt;/li>
  &lt;li class="red">This sixth list item should have a green background&lt;/li>
&lt;/ul>
&lt;ol xmlns="http://www.w3.org/1999/xhtml">
  &lt;li class="red">This first list item should have a green background&lt;/li>
  &lt;li>Second list item&lt;/li>
  &lt;li class="red">This third list item should have a green background&lt;/li>
  &lt;li>Fourth list item&lt;/li>
  &lt;li class="red">This fifth list item should have a green background&lt;/li>
  &lt;li>Sixth list item&lt;/li>
&lt;/ol>
&lt;div xmlns="http://www.w3.org/1999/xhtml" align="center">
&lt;table border="1" class="t1">
  &lt;tr>
&lt;td>1.1&lt;/td>
&lt;td>1.2&lt;/td>
     &lt;td>1.3&lt;/td>
&lt;/tr>
  &lt;tr>
&lt;td>2.1&lt;/td>
&lt;td>2.2&lt;/td>
     &lt;td>2.3&lt;/td>
&lt;/tr>
  &lt;tr>
&lt;td>3.1&lt;/td>
&lt;td>3.2&lt;/td>
     &lt;td>3.3&lt;/td>
&lt;/tr>
  &lt;tr>
&lt;td>4.1&lt;/td>
&lt;td>4.2&lt;/td>
      &lt;td>4.3&lt;/td>
&lt;/tr>
  &lt;tr class="red">
&lt;td>Green row : 5.1&lt;/td>
&lt;td>5.2&lt;/td>
&lt;td>5.3&lt;/td>
&lt;/tr>
  &lt;tr class="red">
&lt;td>Green row : 6.1&lt;/td>
&lt;td>6.2&lt;/td>
&lt;td>6.3&lt;/td>
&lt;/tr>
&lt;/table>
&lt;p>&lt;/p>
&lt;table class="t2" border="1">
  &lt;tr>
&lt;td>1.1&lt;/td>
&lt;td class="red">green cell&lt;/td>
&lt;td class="red">green cell&lt;/td>
      &lt;td>1.4&lt;/td>
&lt;td class="red">green cell&lt;/td>
&lt;td class="red">green cell&lt;/td>
      &lt;td>1.7&lt;/td>
&lt;td class="red">green cell&lt;/td>
&lt;/tr>
  &lt;tr>
&lt;td>2.1&lt;/td>
&lt;td class="red">green cell&lt;/td>
&lt;td class="red">green cell&lt;/td>
      &lt;td>2.4&lt;/td>
&lt;td class="red">green cell&lt;/td>
&lt;td class="red">green cell&lt;/td>
      &lt;td>2.7&lt;/td>
&lt;td class="red">green cell&lt;/td>
&lt;/tr>
  &lt;tr>
&lt;td>3.1&lt;/td>
&lt;td class="red">green cell&lt;/td>
&lt;td class="red">green cell&lt;/td>
      &lt;td>3.4&lt;/td>
&lt;td class="red">green cell&lt;/td>
&lt;td class="red">green cell&lt;/td>
      &lt;td>3.7&lt;/td>
&lt;td class="red">green cell&lt;/td>
&lt;/tr>
&lt;/table>
&lt;/div>
','escapedcode-css' => '.red { background-color : red }
ul > li:not(:nth-child(odd)) { background-color : lime }
ol > li:not(:nth-child(even)) { background-color : lime }
table.t1 tr:not(:nth-child(-n+4)) { background-color : lime }
table.t2 td:not(:nth-child(3n+1)) { background-color : lime }
table.t1 td, table.t2 td { border : thin black solid }','escapedcode-html' => '
&lt;ul>
  &lt;li>First list item&lt;/li>
  &lt;li class="red">This second list item should have a green background&lt;/li>
  &lt;li>Third list&lt;/li>
  &lt;li class="red">This fourth list item should have a green background&lt;/li>
  &lt;li>Fifth list item&lt;/li>
  &lt;li class="red">This sixth list item should have a green background&lt;/li>
&lt;/ul>
&lt;ol>
  &lt;li class="red">This first list item should have a green background&lt;/li>
  &lt;li>Second list item&lt;/li>
  &lt;li class="red">This third list item should have a green background&lt;/li>
  &lt;li>Fourth list item&lt;/li>
  &lt;li class="red">This fifth list item should have a green background&lt;/li>
  &lt;li>Sixth list item&lt;/li>
&lt;/ol>
&lt;div align="center">
&lt;table border="1" class="t1">
  &lt;tr>
&lt;td>1.1&lt;/td>
&lt;td>1.2&lt;/td>
     &lt;td>1.3&lt;/td>
&lt;/tr>
  &lt;tr>
&lt;td>2.1&lt;/td>
&lt;td>2.2&lt;/td>
     &lt;td>2.3&lt;/td>
&lt;/tr>
  &lt;tr>
&lt;td>3.1&lt;/td>
&lt;td>3.2&lt;/td>
     &lt;td>3.3&lt;/td>
&lt;/tr>
  &lt;tr>
&lt;td>4.1&lt;/td>
&lt;td>4.2&lt;/td>
      &lt;td>4.3&lt;/td>
&lt;/tr>
  &lt;tr class="red">
&lt;td>Green row : 5.1&lt;/td>
&lt;td>5.2&lt;/td>
&lt;td>5.3&lt;/td>
&lt;/tr>
  &lt;tr class="red">
&lt;td>Green row : 6.1&lt;/td>
&lt;td>6.2&lt;/td>
&lt;td>6.3&lt;/td>
&lt;/tr>
&lt;/table>
&lt;p>&lt;/p>
&lt;table class="t2" border="1">
  &lt;tr>
&lt;td>1.1&lt;/td>
&lt;td class="red">green cell&lt;/td>
&lt;td class="red">green cell&lt;/td>
      &lt;td>1.4&lt;/td>
&lt;td class="red">green cell&lt;/td>
&lt;td class="red">green cell&lt;/td>
      &lt;td>1.7&lt;/td>
&lt;td class="red">green cell&lt;/td>
&lt;/tr>
  &lt;tr>
&lt;td>2.1&lt;/td>
&lt;td class="red">green cell&lt;/td>
&lt;td class="red">green cell&lt;/td>
      &lt;td>2.4&lt;/td>
&lt;td class="red">green cell&lt;/td>
&lt;td class="red">green cell&lt;/td>
      &lt;td>2.7&lt;/td>
&lt;td class="red">green cell&lt;/td>
&lt;/tr>
  &lt;tr>
&lt;td>3.1&lt;/td>
&lt;td class="red">green cell&lt;/td>
&lt;td class="red">green cell&lt;/td>
      &lt;td>3.4&lt;/td>
&lt;td class="red">green cell&lt;/td>
&lt;td class="red">green cell&lt;/td>
      &lt;td>3.7&lt;/td>
&lt;td class="red">green cell&lt;/td>
&lt;/tr>
&lt;/table>
&lt;/div>
','def' => 'NEGATED :nth-child() pseudo-class','number' => '73','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => '.red { background-color : red }
ul > li:not(:nth-child(odd)) { background-color : lime }
ol > li:not(:nth-child(even)) { background-color : lime }
table.t1 tr:not(:nth-child(-n+4)) { background-color : lime }
table.t2 td:not(:nth-child(3n+1)) { background-color : lime }
table.t1 td, table.t2 td { border : thin black solid }','author' => ['Daniel Glazman'],'code-html' => '
<ul>
  <li>First list item</li>
  <li class="red">This second list item should have a green background</li>
  <li>Third list</li>
  <li class="red">This fourth list item should have a green background</li>
  <li>Fifth list item</li>
  <li class="red">This sixth list item should have a green background</li>
</ul>
<ol>
  <li class="red">This first list item should have a green background</li>
  <li>Second list item</li>
  <li class="red">This third list item should have a green background</li>
  <li>Fourth list item</li>
  <li class="red">This fifth list item should have a green background</li>
  <li>Sixth list item</li>
</ol>
<div align="center">
<table border="1" class="t1">
  <tr>
<td>1.1</td>
<td>1.2</td>
     <td>1.3</td>
</tr>
  <tr>
<td>2.1</td>
<td>2.2</td>
     <td>2.3</td>
</tr>
  <tr>
<td>3.1</td>
<td>3.2</td>
     <td>3.3</td>
</tr>
  <tr>
<td>4.1</td>
<td>4.2</td>
      <td>4.3</td>
</tr>
  <tr class="red">
<td>Green row : 5.1</td>
<td>5.2</td>
<td>5.3</td>
</tr>
  <tr class="red">
<td>Green row : 6.1</td>
<td>6.2</td>
<td>6.3</td>
</tr>
</table>
<p></p>
<table class="t2" border="1">
  <tr>
<td>1.1</td>
<td class="red">green cell</td>
<td class="red">green cell</td>
      <td>1.4</td>
<td class="red">green cell</td>
<td class="red">green cell</td>
      <td>1.7</td>
<td class="red">green cell</td>
</tr>
  <tr>
<td>2.1</td>
<td class="red">green cell</td>
<td class="red">green cell</td>
      <td>2.4</td>
<td class="red">green cell</td>
<td class="red">green cell</td>
      <td>2.7</td>
<td class="red">green cell</td>
</tr>
  <tr>
<td>3.1</td>
<td class="red">green cell</td>
<td class="red">green cell</td>
      <td>3.4</td>
<td class="red">green cell</td>
<td class="red">green cell</td>
      <td>3.7</td>
<td class="red">green cell</td>
</tr>
</table>
</div>
','endTag' => '</td>','date' => '11-july-2001','code-xml' => '
<ul xmlns="http://www.w3.org/1999/xhtml">
  <li>First list item</li>
  <li class="red">This second list item should have a green background</li>
  <li>Third list</li>
  <li class="red">This fourth list item should have a green background</li>
  <li>Fifth list item</li>
  <li class="red">This sixth list item should have a green background</li>
</ul>
<ol xmlns="http://www.w3.org/1999/xhtml">
  <li class="red">This first list item should have a green background</li>
  <li>Second list item</li>
  <li class="red">This third list item should have a green background</li>
  <li>Fourth list item</li>
  <li class="red">This fifth list item should have a green background</li>
  <li>Sixth list item</li>
</ol>
<div xmlns="http://www.w3.org/1999/xhtml" align="center">
<table border="1" class="t1">
  <tr>
<td>1.1</td>
<td>1.2</td>
     <td>1.3</td>
</tr>
  <tr>
<td>2.1</td>
<td>2.2</td>
     <td>2.3</td>
</tr>
  <tr>
<td>3.1</td>
<td>3.2</td>
     <td>3.3</td>
</tr>
  <tr>
<td>4.1</td>
<td>4.2</td>
      <td>4.3</td>
</tr>
  <tr class="red">
<td>Green row : 5.1</td>
<td>5.2</td>
<td>5.3</td>
</tr>
  <tr class="red">
<td>Green row : 6.1</td>
<td>6.2</td>
<td>6.3</td>
</tr>
</table>
<p></p>
<table class="t2" border="1">
  <tr>
<td>1.1</td>
<td class="red">green cell</td>
<td class="red">green cell</td>
      <td>1.4</td>
<td class="red">green cell</td>
<td class="red">green cell</td>
      <td>1.7</td>
<td class="red">green cell</td>
</tr>
  <tr>
<td>2.1</td>
<td class="red">green cell</td>
<td class="red">green cell</td>
      <td>2.4</td>
<td class="red">green cell</td>
<td class="red">green cell</td>
      <td>2.7</td>
<td class="red">green cell</td>
</tr>
  <tr>
<td>3.1</td>
<td class="red">green cell</td>
<td class="red">green cell</td>
      <td>3.4</td>
<td class="red">green cell</td>
<td class="red">green cell</td>
      <td>3.7</td>
<td class="red">green cell</td>
</tr>
</table>
</div>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','escapedcode-xhtml' => '
&lt;ul>
  &lt;li>First list item&lt;/li>
  &lt;li class="red">This second list item should have a green background&lt;/li>
  &lt;li>Third list&lt;/li>
  &lt;li class="red">This fourth list item should have a green background&lt;/li>
  &lt;li>Fifth list item&lt;/li>
  &lt;li class="red">This sixth list item should have a green background&lt;/li>
&lt;/ul>
&lt;ol>
  &lt;li class="red">This first list item should have a green background&lt;/li>
  &lt;li>Second list item&lt;/li>
  &lt;li class="red">This third list item should have a green background&lt;/li>
  &lt;li>Fourth list item&lt;/li>
  &lt;li class="red">This fifth list item should have a green background&lt;/li>
  &lt;li>Sixth list item&lt;/li>
&lt;/ol>
&lt;div align="center">
&lt;table border="1" class="t1">
  &lt;tr>
&lt;td>1.1&lt;/td>
&lt;td>1.2&lt;/td>
     &lt;td>1.3&lt;/td>
&lt;/tr>
  &lt;tr>
&lt;td>2.1&lt;/td>
&lt;td>2.2&lt;/td>
     &lt;td>2.3&lt;/td>
&lt;/tr>
  &lt;tr>
&lt;td>3.1&lt;/td>
&lt;td>3.2&lt;/td>
     &lt;td>3.3&lt;/td>
&lt;/tr>
  &lt;tr>
&lt;td>4.1&lt;/td>
&lt;td>4.2&lt;/td>
      &lt;td>4.3&lt;/td>
&lt;/tr>
  &lt;tr class="red">
&lt;td>Green row : 5.1&lt;/td>
&lt;td>5.2&lt;/td>
&lt;td>5.3&lt;/td>
&lt;/tr>
  &lt;tr class="red">
&lt;td>Green row : 6.1&lt;/td>
&lt;td>6.2&lt;/td>
&lt;td>6.3&lt;/td>
&lt;/tr>
&lt;/table>
&lt;p>&lt;/p>
&lt;table class="t2" border="1">
  &lt;tr>
&lt;td>1.1&lt;/td>
&lt;td class="red">green cell&lt;/td>
&lt;td class="red">green cell&lt;/td>
      &lt;td>1.4&lt;/td>
&lt;td class="red">green cell&lt;/td>
&lt;td class="red">green cell&lt;/td>
      &lt;td>1.7&lt;/td>
&lt;td class="red">green cell&lt;/td>
&lt;/tr>
  &lt;tr>
&lt;td>2.1&lt;/td>
&lt;td class="red">green cell&lt;/td>
&lt;td class="red">green cell&lt;/td>
      &lt;td>2.4&lt;/td>
&lt;td class="red">green cell&lt;/td>
&lt;td class="red">green cell&lt;/td>
      &lt;td>2.7&lt;/td>
&lt;td class="red">green cell&lt;/td>
&lt;/tr>
  &lt;tr>
&lt;td>3.1&lt;/td>
&lt;td class="red">green cell&lt;/td>
&lt;td class="red">green cell&lt;/td>
      &lt;td>3.4&lt;/td>
&lt;td class="red">green cell&lt;/td>
&lt;td class="red">green cell&lt;/td>
      &lt;td>3.7&lt;/td>
&lt;td class="red">green cell&lt;/td>
&lt;/tr>
&lt;/table>
&lt;/div>
','code-xhtml' => '
<ul>
  <li>First list item</li>
  <li class="red">This second list item should have a green background</li>
  <li>Third list</li>
  <li class="red">This fourth list item should have a green background</li>
  <li>Fifth list item</li>
  <li class="red">This sixth list item should have a green background</li>
</ul>
<ol>
  <li class="red">This first list item should have a green background</li>
  <li>Second list item</li>
  <li class="red">This third list item should have a green background</li>
  <li>Fourth list item</li>
  <li class="red">This fifth list item should have a green background</li>
  <li>Sixth list item</li>
</ol>
<div align="center">
<table border="1" class="t1">
  <tr>
<td>1.1</td>
<td>1.2</td>
     <td>1.3</td>
</tr>
  <tr>
<td>2.1</td>
<td>2.2</td>
     <td>2.3</td>
</tr>
  <tr>
<td>3.1</td>
<td>3.2</td>
     <td>3.3</td>
</tr>
  <tr>
<td>4.1</td>
<td>4.2</td>
      <td>4.3</td>
</tr>
  <tr class="red">
<td>Green row : 5.1</td>
<td>5.2</td>
<td>5.3</td>
</tr>
  <tr class="red">
<td>Green row : 6.1</td>
<td>6.2</td>
<td>6.3</td>
</tr>
</table>
<p></p>
<table class="t2" border="1">
  <tr>
<td>1.1</td>
<td class="red">green cell</td>
<td class="red">green cell</td>
      <td>1.4</td>
<td class="red">green cell</td>
<td class="red">green cell</td>
      <td>1.7</td>
<td class="red">green cell</td>
</tr>
  <tr>
<td>2.1</td>
<td class="red">green cell</td>
<td class="red">green cell</td>
      <td>2.4</td>
<td class="red">green cell</td>
<td class="red">green cell</td>
      <td>2.7</td>
<td class="red">green cell</td>
</tr>
  <tr>
<td>3.1</td>
<td class="red">green cell</td>
<td class="red">green cell</td>
      <td>3.4</td>
<td class="red">green cell</td>
<td class="red">green cell</td>
      <td>3.7</td>
<td class="red">green cell</td>
</tr>
</table>
</div>
'},'css3-modsel-74' => {'rev' => '1.0','escapedcode-xml' => '
&lt;ul xmlns="http://www.w3.org/1999/xhtml">
  &lt;li class="red">This first list item should have a green background&lt;/li>
  &lt;li>Second list item&lt;/li>
  &lt;li class="red">This third list item should have a green background&lt;/li>
  &lt;li>Fourth list item&lt;/li>
  &lt;li class="red">This fifth list item should have a green background&lt;/li>
  &lt;li>Sixth list item&lt;/li>
&lt;/ul>
&lt;ol xmlns="http://www.w3.org/1999/xhtml">
  &lt;li>First list item&lt;/li>
  &lt;li class="red">This second list item should have a green background&lt;/li>
  &lt;li>Third list item&lt;/li>
  &lt;li class="red">This fourth list item should have a green background&lt;/li>
  &lt;li>Fifth list item&lt;/li>
  &lt;li class="red">This sixth list item should have a green background&lt;/li>
&lt;/ol>
&lt;div xmlns="http://www.w3.org/1999/xhtml" align="center">
&lt;table border="1" class="t1">
  &lt;tr class="red">
&lt;td>Green row : 1.1&lt;/td>
&lt;td>1.2&lt;/td>
     &lt;td>1.3&lt;/td>
&lt;/tr>
  &lt;tr class="red">
&lt;td>Green row : 2.1&lt;/td>
&lt;td>2.2&lt;/td>
     &lt;td>2.3&lt;/td>
&lt;/tr>
  &lt;tr>
&lt;td>3.1&lt;/td>
&lt;td>3.2&lt;/td>
     &lt;td>3.3&lt;/td>
&lt;/tr>
  &lt;tr>
&lt;td>4.1&lt;/td>
&lt;td>4.2&lt;/td>
      &lt;td>4.3&lt;/td>
&lt;/tr>
  &lt;tr>
&lt;td>5.1&lt;/td>
&lt;td>5.2&lt;/td>
      &lt;td>5.3&lt;/td>
&lt;/tr>
  &lt;tr>
&lt;td>6.1&lt;/td>
&lt;td>6.2&lt;/td>
      &lt;td>6.3&lt;/td>
&lt;/tr>
&lt;/table>
&lt;p>&lt;/p>
&lt;table class="t2" border="1">
  &lt;tr>
&lt;td class="red">green cell&lt;/td>
&lt;td>1.2&lt;/td>
&lt;td class="red">green cell&lt;/td>
      &lt;td class="red">green cell&lt;/td>
&lt;td>1.5&lt;/td>
&lt;td class="red">green cell&lt;/td>
      &lt;td class="red">green cell&lt;/td>
&lt;td>1.8&lt;/td>
&lt;/tr>
  &lt;tr>
&lt;td class="red">green cell&lt;/td>
&lt;td>2.2&lt;/td>
&lt;td class="red">green cell&lt;/td>
      &lt;td class="red">green cell&lt;/td>
&lt;td>2.5&lt;/td>
&lt;td class="red">green cell&lt;/td>
      &lt;td class="red">green cell&lt;/td>
&lt;td>2.8&lt;/td>
&lt;/tr>
  &lt;tr>
&lt;td class="red">green cell&lt;/td>
&lt;td>3.2&lt;/td>
&lt;td class="red">green cell&lt;/td>
      &lt;td class="red">green cell&lt;/td>
&lt;td>3.5&lt;/td>
&lt;td class="red">green cell&lt;/td>
      &lt;td class="red">green cell&lt;/td>
&lt;td>3.8&lt;/td>
&lt;/tr>
&lt;/table>
&lt;/div>
','escapedcode-css' => '.red { background-color : red }
ul > li:not(:nth-last-child(odd)) { background-color : lime }
ol > li:not(:nth-last-child(even)) { background-color : lime }
table.t1 tr:not(:nth-last-child(-n+4)) { background-color : lime }
table.t2 td:not(:nth-last-child(3n+1)) { background-color : lime }
table.t1 td, table.t2 td { border : thin black solid }
','escapedcode-html' => '
&lt;ul>
  &lt;li class="red">This first list item should have a green background&lt;/li>
  &lt;li>Second list item&lt;/li>
  &lt;li class="red">This third list item should have a green background&lt;/li>
  &lt;li>Fourth list item&lt;/li>
  &lt;li class="red">This fifth list item should have a green background&lt;/li>
  &lt;li>Sixth list item&lt;/li>
&lt;/ul>
&lt;ol>
  &lt;li>First list item&lt;/li>
  &lt;li class="red">This second list item should have a green background&lt;/li>
  &lt;li>Third list item&lt;/li>
  &lt;li class="red">This fourth list item should have a green background&lt;/li>
  &lt;li>Fifth list item&lt;/li>
  &lt;li class="red">This sixth list item should have a green background&lt;/li>
&lt;/ol>
&lt;div align="center">
&lt;table border="1" class="t1">
  &lt;tr class="red">
&lt;td>Green row : 1.1&lt;/td>
&lt;td>1.2&lt;/td>
     &lt;td>1.3&lt;/td>
&lt;/tr>
  &lt;tr class="red">
&lt;td>Green row : 2.1&lt;/td>
&lt;td>2.2&lt;/td>
     &lt;td>2.3&lt;/td>
&lt;/tr>
  &lt;tr>
&lt;td>3.1&lt;/td>
&lt;td>3.2&lt;/td>
     &lt;td>3.3&lt;/td>
&lt;/tr>
  &lt;tr>
&lt;td>4.1&lt;/td>
&lt;td>4.2&lt;/td>
      &lt;td>4.3&lt;/td>
&lt;/tr>
  &lt;tr>
&lt;td>5.1&lt;/td>
&lt;td>5.2&lt;/td>
      &lt;td>5.3&lt;/td>
&lt;/tr>
  &lt;tr>
&lt;td>6.1&lt;/td>
&lt;td>6.2&lt;/td>
      &lt;td>6.3&lt;/td>
&lt;/tr>
&lt;/table>
&lt;p>&lt;/p>
&lt;table class="t2" border="1">
  &lt;tr>
&lt;td class="red">green cell&lt;/td>
&lt;td>1.2&lt;/td>
&lt;td class="red">green cell&lt;/td>
      &lt;td class="red">green cell&lt;/td>
&lt;td>1.5&lt;/td>
&lt;td class="red">green cell&lt;/td>
      &lt;td class="red">green cell&lt;/td>
&lt;td>1.8&lt;/td>
&lt;/tr>
  &lt;tr>
&lt;td class="red">green cell&lt;/td>
&lt;td>2.2&lt;/td>
&lt;td class="red">green cell&lt;/td>
      &lt;td class="red">green cell&lt;/td>
&lt;td>2.5&lt;/td>
&lt;td class="red">green cell&lt;/td>
      &lt;td class="red">green cell&lt;/td>
&lt;td>2.8&lt;/td>
&lt;/tr>
  &lt;tr>
&lt;td class="red">green cell&lt;/td>
&lt;td>3.2&lt;/td>
&lt;td class="red">green cell&lt;/td>
      &lt;td class="red">green cell&lt;/td>
&lt;td>3.5&lt;/td>
&lt;td class="red">green cell&lt;/td>
      &lt;td class="red">green cell&lt;/td>
&lt;td>3.8&lt;/td>
&lt;/tr>
&lt;/table>
&lt;/div>
','def' => 'NEGATED :nth-last-child() pseudo-class','number' => '74','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => '.red { background-color : red }
ul > li:not(:nth-last-child(odd)) { background-color : lime }
ol > li:not(:nth-last-child(even)) { background-color : lime }
table.t1 tr:not(:nth-last-child(-n+4)) { background-color : lime }
table.t2 td:not(:nth-last-child(3n+1)) { background-color : lime }
table.t1 td, table.t2 td { border : thin black solid }
','author' => ['Daniel Glazman'],'code-html' => '
<ul>
  <li class="red">This first list item should have a green background</li>
  <li>Second list item</li>
  <li class="red">This third list item should have a green background</li>
  <li>Fourth list item</li>
  <li class="red">This fifth list item should have a green background</li>
  <li>Sixth list item</li>
</ul>
<ol>
  <li>First list item</li>
  <li class="red">This second list item should have a green background</li>
  <li>Third list item</li>
  <li class="red">This fourth list item should have a green background</li>
  <li>Fifth list item</li>
  <li class="red">This sixth list item should have a green background</li>
</ol>
<div align="center">
<table border="1" class="t1">
  <tr class="red">
<td>Green row : 1.1</td>
<td>1.2</td>
     <td>1.3</td>
</tr>
  <tr class="red">
<td>Green row : 2.1</td>
<td>2.2</td>
     <td>2.3</td>
</tr>
  <tr>
<td>3.1</td>
<td>3.2</td>
     <td>3.3</td>
</tr>
  <tr>
<td>4.1</td>
<td>4.2</td>
      <td>4.3</td>
</tr>
  <tr>
<td>5.1</td>
<td>5.2</td>
      <td>5.3</td>
</tr>
  <tr>
<td>6.1</td>
<td>6.2</td>
      <td>6.3</td>
</tr>
</table>
<p></p>
<table class="t2" border="1">
  <tr>
<td class="red">green cell</td>
<td>1.2</td>
<td class="red">green cell</td>
      <td class="red">green cell</td>
<td>1.5</td>
<td class="red">green cell</td>
      <td class="red">green cell</td>
<td>1.8</td>
</tr>
  <tr>
<td class="red">green cell</td>
<td>2.2</td>
<td class="red">green cell</td>
      <td class="red">green cell</td>
<td>2.5</td>
<td class="red">green cell</td>
      <td class="red">green cell</td>
<td>2.8</td>
</tr>
  <tr>
<td class="red">green cell</td>
<td>3.2</td>
<td class="red">green cell</td>
      <td class="red">green cell</td>
<td>3.5</td>
<td class="red">green cell</td>
      <td class="red">green cell</td>
<td>3.8</td>
</tr>
</table>
</div>
','endTag' => '</td>','date' => '11-july-2001','code-xml' => '
<ul xmlns="http://www.w3.org/1999/xhtml">
  <li class="red">This first list item should have a green background</li>
  <li>Second list item</li>
  <li class="red">This third list item should have a green background</li>
  <li>Fourth list item</li>
  <li class="red">This fifth list item should have a green background</li>
  <li>Sixth list item</li>
</ul>
<ol xmlns="http://www.w3.org/1999/xhtml">
  <li>First list item</li>
  <li class="red">This second list item should have a green background</li>
  <li>Third list item</li>
  <li class="red">This fourth list item should have a green background</li>
  <li>Fifth list item</li>
  <li class="red">This sixth list item should have a green background</li>
</ol>
<div xmlns="http://www.w3.org/1999/xhtml" align="center">
<table border="1" class="t1">
  <tr class="red">
<td>Green row : 1.1</td>
<td>1.2</td>
     <td>1.3</td>
</tr>
  <tr class="red">
<td>Green row : 2.1</td>
<td>2.2</td>
     <td>2.3</td>
</tr>
  <tr>
<td>3.1</td>
<td>3.2</td>
     <td>3.3</td>
</tr>
  <tr>
<td>4.1</td>
<td>4.2</td>
      <td>4.3</td>
</tr>
  <tr>
<td>5.1</td>
<td>5.2</td>
      <td>5.3</td>
</tr>
  <tr>
<td>6.1</td>
<td>6.2</td>
      <td>6.3</td>
</tr>
</table>
<p></p>
<table class="t2" border="1">
  <tr>
<td class="red">green cell</td>
<td>1.2</td>
<td class="red">green cell</td>
      <td class="red">green cell</td>
<td>1.5</td>
<td class="red">green cell</td>
      <td class="red">green cell</td>
<td>1.8</td>
</tr>
  <tr>
<td class="red">green cell</td>
<td>2.2</td>
<td class="red">green cell</td>
      <td class="red">green cell</td>
<td>2.5</td>
<td class="red">green cell</td>
      <td class="red">green cell</td>
<td>2.8</td>
</tr>
  <tr>
<td class="red">green cell</td>
<td>3.2</td>
<td class="red">green cell</td>
      <td class="red">green cell</td>
<td>3.5</td>
<td class="red">green cell</td>
      <td class="red">green cell</td>
<td>3.8</td>
</tr>
</table>
</div>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','escapedcode-xhtml' => '
&lt;ul>
  &lt;li class="red">This first list item should have a green background&lt;/li>
  &lt;li>Second list item&lt;/li>
  &lt;li class="red">This third list item should have a green background&lt;/li>
  &lt;li>Fourth list item&lt;/li>
  &lt;li class="red">This fifth list item should have a green background&lt;/li>
  &lt;li>Sixth list item&lt;/li>
&lt;/ul>
&lt;ol>
  &lt;li>First list item&lt;/li>
  &lt;li class="red">This second list item should have a green background&lt;/li>
  &lt;li>Third list item&lt;/li>
  &lt;li class="red">This fourth list item should have a green background&lt;/li>
  &lt;li>Fifth list item&lt;/li>
  &lt;li class="red">This sixth list item should have a green background&lt;/li>
&lt;/ol>
&lt;div align="center">
&lt;table border="1" class="t1">
  &lt;tr class="red">
&lt;td>Green row : 1.1&lt;/td>
&lt;td>1.2&lt;/td>
     &lt;td>1.3&lt;/td>
&lt;/tr>
  &lt;tr class="red">
&lt;td>Green row : 2.1&lt;/td>
&lt;td>2.2&lt;/td>
     &lt;td>2.3&lt;/td>
&lt;/tr>
  &lt;tr>
&lt;td>3.1&lt;/td>
&lt;td>3.2&lt;/td>
     &lt;td>3.3&lt;/td>
&lt;/tr>
  &lt;tr>
&lt;td>4.1&lt;/td>
&lt;td>4.2&lt;/td>
      &lt;td>4.3&lt;/td>
&lt;/tr>
  &lt;tr>
&lt;td>5.1&lt;/td>
&lt;td>5.2&lt;/td>
      &lt;td>5.3&lt;/td>
&lt;/tr>
  &lt;tr>
&lt;td>6.1&lt;/td>
&lt;td>6.2&lt;/td>
      &lt;td>6.3&lt;/td>
&lt;/tr>
&lt;/table>
&lt;p>&lt;/p>
&lt;table class="t2" border="1">
  &lt;tr>
&lt;td class="red">green cell&lt;/td>
&lt;td>1.2&lt;/td>
&lt;td class="red">green cell&lt;/td>
      &lt;td class="red">green cell&lt;/td>
&lt;td>1.5&lt;/td>
&lt;td class="red">green cell&lt;/td>
      &lt;td class="red">green cell&lt;/td>
&lt;td>1.8&lt;/td>
&lt;/tr>
  &lt;tr>
&lt;td class="red">green cell&lt;/td>
&lt;td>2.2&lt;/td>
&lt;td class="red">green cell&lt;/td>
      &lt;td class="red">green cell&lt;/td>
&lt;td>2.5&lt;/td>
&lt;td class="red">green cell&lt;/td>
      &lt;td class="red">green cell&lt;/td>
&lt;td>2.8&lt;/td>
&lt;/tr>
  &lt;tr>
&lt;td class="red">green cell&lt;/td>
&lt;td>3.2&lt;/td>
&lt;td class="red">green cell&lt;/td>
      &lt;td class="red">green cell&lt;/td>
&lt;td>3.5&lt;/td>
&lt;td class="red">green cell&lt;/td>
      &lt;td class="red">green cell&lt;/td>
&lt;td>3.8&lt;/td>
&lt;/tr>
&lt;/table>
&lt;/div>
','code-xhtml' => '
<ul>
  <li class="red">This first list item should have a green background</li>
  <li>Second list item</li>
  <li class="red">This third list item should have a green background</li>
  <li>Fourth list item</li>
  <li class="red">This fifth list item should have a green background</li>
  <li>Sixth list item</li>
</ul>
<ol>
  <li>First list item</li>
  <li class="red">This second list item should have a green background</li>
  <li>Third list item</li>
  <li class="red">This fourth list item should have a green background</li>
  <li>Fifth list item</li>
  <li class="red">This sixth list item should have a green background</li>
</ol>
<div align="center">
<table border="1" class="t1">
  <tr class="red">
<td>Green row : 1.1</td>
<td>1.2</td>
     <td>1.3</td>
</tr>
  <tr class="red">
<td>Green row : 2.1</td>
<td>2.2</td>
     <td>2.3</td>
</tr>
  <tr>
<td>3.1</td>
<td>3.2</td>
     <td>3.3</td>
</tr>
  <tr>
<td>4.1</td>
<td>4.2</td>
      <td>4.3</td>
</tr>
  <tr>
<td>5.1</td>
<td>5.2</td>
      <td>5.3</td>
</tr>
  <tr>
<td>6.1</td>
<td>6.2</td>
      <td>6.3</td>
</tr>
</table>
<p></p>
<table class="t2" border="1">
  <tr>
<td class="red">green cell</td>
<td>1.2</td>
<td class="red">green cell</td>
      <td class="red">green cell</td>
<td>1.5</td>
<td class="red">green cell</td>
      <td class="red">green cell</td>
<td>1.8</td>
</tr>
  <tr>
<td class="red">green cell</td>
<td>2.2</td>
<td class="red">green cell</td>
      <td class="red">green cell</td>
<td>2.5</td>
<td class="red">green cell</td>
      <td class="red">green cell</td>
<td>2.8</td>
</tr>
  <tr>
<td class="red">green cell</td>
<td>3.2</td>
<td class="red">green cell</td>
      <td class="red">green cell</td>
<td>3.5</td>
<td class="red">green cell</td>
      <td class="red">green cell</td>
<td>3.8</td>
</tr>
</table>
</div>
'},'css3-modsel-120' => {'rev' => '1.0','escapedcode-xml' => '
&lt;div xmlns="http://www.w3.org/1999/xhtml" class="stub">
&lt;p>This paragraph should have a green background&lt;/p>
&lt;p xmlns="http://www.example.org/b">This paragraph should have a green background&lt;/p>
&lt;l xmlns="http://www.example.org/b">
&lt;p xmlns="">This paragraph should have a
                green background&lt;/p>
&lt;/l>
&lt;p xmlns="http://www.example.org/a">This paragraph should have a green background&lt;/p>
&lt;/div>
','escapedcode-css' => '@namespace html url(http://www.w3.org/1999/xhtml);
@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
div.stub > * { display : block ; margin-bottom : 1em ;
                            background-color : red }
div.stub > *:not(|p) { background-color : lime }
div.stub > *|l > *:not(|p) { background-color : red }','escapedcode-html' => '
&lt;div class="stub">
&lt;p>This paragraph should have a green background&lt;/p>
&lt;p xmlns="http://www.example.org/b">This paragraph should have a green background&lt;/p>
&lt;l xmlns="http://www.example.org/b">
&lt;p xmlns="">This paragraph should have a
                green background&lt;/p>
&lt;/l>
&lt;p xmlns="http://www.example.org/a">This paragraph should have a green background&lt;/p>
&lt;/div>
','def' => 'NEGATED type element selector without declared namespace','number' => '120','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => '@namespace html url(http://www.w3.org/1999/xhtml);
@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
div.stub > * { display : block ; margin-bottom : 1em ;
                            background-color : red }
div.stub > *:not(|p) { background-color : lime }
div.stub > *|l > *:not(|p) { background-color : red }','author' => ['Daniel Glazman'],'code-html' => '
<div class="stub">
<p>This paragraph should have a green background</p>
<p xmlns="http://www.example.org/b">This paragraph should have a green background</p>
<l xmlns="http://www.example.org/b">
<p xmlns="">This paragraph should have a
                green background</p>
</l>
<p xmlns="http://www.example.org/a">This paragraph should have a green background</p>
</div>
','endTag' => '</p>','date' => '11-july-2001','code-xml' => '
<div xmlns="http://www.w3.org/1999/xhtml" class="stub">
<p>This paragraph should have a green background</p>
<p xmlns="http://www.example.org/b">This paragraph should have a green background</p>
<l xmlns="http://www.example.org/b">
<p xmlns="">This paragraph should have a
                green background</p>
</l>
<p xmlns="http://www.example.org/a">This paragraph should have a green background</p>
</div>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','namespaced' => 1,'escapedcode-xhtml' => '
&lt;div class="stub">
&lt;p>This paragraph should have a green background&lt;/p>
&lt;p xmlns="http://www.example.org/b">This paragraph should have a green background&lt;/p>
&lt;l xmlns="http://www.example.org/b">
&lt;p xmlns="">This paragraph should have a
                green background&lt;/p>
&lt;/l>
&lt;p xmlns="http://www.example.org/a">This paragraph should have a green background&lt;/p>
&lt;/div>
','code-xhtml' => '
<div class="stub">
<p>This paragraph should have a green background</p>
<p xmlns="http://www.example.org/b">This paragraph should have a green background</p>
<l xmlns="http://www.example.org/b">
<p xmlns="">This paragraph should have a
                green background</p>
</l>
<p xmlns="http://www.example.org/a">This paragraph should have a green background</p>
</div>
'},'css3-modsel-75' => {'rev' => '1.0','escapedcode-xml' => '
&lt;p xmlns="http://www.w3.org/1999/xhtml" class="red">This paragraph should have green background&lt;/p>
&lt;address xmlns="http://www.w3.org/1999/xhtml">And this address should have NOT green background&lt;/address>
&lt;p xmlns="http://www.w3.org/1999/xhtml" class="red">This paragraph should also have green background!&lt;/p>
&lt;p xmlns="http://www.w3.org/1999/xhtml">But this one should NOT have green background&lt;/p>
&lt;dl xmlns="http://www.w3.org/1999/xhtml">
  &lt;dt>First definition term&lt;/dt>
    &lt;dd>First definition&lt;/dd>
  &lt;dt class="red">Second definition term that should have green background&lt;/dt>
    &lt;dd class="red">Second definition that should have green background&lt;/dd>
  &lt;dt class="red">Third definition term that should have green background&lt;/dt>
    &lt;dd class="red">Third definition that should have green background&lt;/dd>
  &lt;dt>Fourth definition term&lt;/dt>
    &lt;dd>Fourth definition&lt;/dd>
  &lt;dt class="red">Fifth definition term that should have green background&lt;/dt>
    &lt;dd class="red">Fifth definition that should have green background&lt;/dd>
  &lt;dt class="red">Sixth definition term that should have green background&lt;/dt>
    &lt;dd class="red">Sixth definition that should have green background&lt;/dd>
&lt;/dl>
','escapedcode-css' => '.red { background-color : red }
p:not(:nth-of-type(3)) { background-color : lime }
dl > *:not(:nth-of-type(3n+1)) { background-color : lime }
','escapedcode-html' => '
&lt;p class="red">This paragraph should have green background&lt;/p>
&lt;address>And this address should have NOT green background&lt;/address>
&lt;p class="red">This paragraph should also have green background!&lt;/p>
&lt;p>But this one should NOT have green background&lt;/p>
&lt;dl>
  &lt;dt>First definition term&lt;/dt>
    &lt;dd>First definition&lt;/dd>
  &lt;dt class="red">Second definition term that should have green background&lt;/dt>
    &lt;dd class="red">Second definition that should have green background&lt;/dd>
  &lt;dt class="red">Third definition term that should have green background&lt;/dt>
    &lt;dd class="red">Third definition that should have green background&lt;/dd>
  &lt;dt>Fourth definition term&lt;/dt>
    &lt;dd>Fourth definition&lt;/dd>
  &lt;dt class="red">Fifth definition term that should have green background&lt;/dt>
    &lt;dd class="red">Fifth definition that should have green background&lt;/dd>
  &lt;dt class="red">Sixth definition term that should have green background&lt;/dt>
    &lt;dd class="red">Sixth definition that should have green background&lt;/dd>
&lt;/dl>
','def' => 'NEGATED :nth-of-type() pseudo-class','number' => '75','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => '.red { background-color : red }
p:not(:nth-of-type(3)) { background-color : lime }
dl > *:not(:nth-of-type(3n+1)) { background-color : lime }
','author' => ['Daniel Glazman'],'code-html' => '
<p class="red">This paragraph should have green background</p>
<address>And this address should have NOT green background</address>
<p class="red">This paragraph should also have green background!</p>
<p>But this one should NOT have green background</p>
<dl>
  <dt>First definition term</dt>
    <dd>First definition</dd>
  <dt class="red">Second definition term that should have green background</dt>
    <dd class="red">Second definition that should have green background</dd>
  <dt class="red">Third definition term that should have green background</dt>
    <dd class="red">Third definition that should have green background</dd>
  <dt>Fourth definition term</dt>
    <dd>Fourth definition</dd>
  <dt class="red">Fifth definition term that should have green background</dt>
    <dd class="red">Fifth definition that should have green background</dd>
  <dt class="red">Sixth definition term that should have green background</dt>
    <dd class="red">Sixth definition that should have green background</dd>
</dl>
','endTag' => '</dd>','date' => '11-july-2001','code-xml' => '
<p xmlns="http://www.w3.org/1999/xhtml" class="red">This paragraph should have green background</p>
<address xmlns="http://www.w3.org/1999/xhtml">And this address should have NOT green background</address>
<p xmlns="http://www.w3.org/1999/xhtml" class="red">This paragraph should also have green background!</p>
<p xmlns="http://www.w3.org/1999/xhtml">But this one should NOT have green background</p>
<dl xmlns="http://www.w3.org/1999/xhtml">
  <dt>First definition term</dt>
    <dd>First definition</dd>
  <dt class="red">Second definition term that should have green background</dt>
    <dd class="red">Second definition that should have green background</dd>
  <dt class="red">Third definition term that should have green background</dt>
    <dd class="red">Third definition that should have green background</dd>
  <dt>Fourth definition term</dt>
    <dd>Fourth definition</dd>
  <dt class="red">Fifth definition term that should have green background</dt>
    <dd class="red">Fifth definition that should have green background</dd>
  <dt class="red">Sixth definition term that should have green background</dt>
    <dd class="red">Sixth definition that should have green background</dd>
</dl>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','escapedcode-xhtml' => '
&lt;p class="red">This paragraph should have green background&lt;/p>
&lt;address>And this address should have NOT green background&lt;/address>
&lt;p class="red">This paragraph should also have green background!&lt;/p>
&lt;p>But this one should NOT have green background&lt;/p>
&lt;dl>
  &lt;dt>First definition term&lt;/dt>
    &lt;dd>First definition&lt;/dd>
  &lt;dt class="red">Second definition term that should have green background&lt;/dt>
    &lt;dd class="red">Second definition that should have green background&lt;/dd>
  &lt;dt class="red">Third definition term that should have green background&lt;/dt>
    &lt;dd class="red">Third definition that should have green background&lt;/dd>
  &lt;dt>Fourth definition term&lt;/dt>
    &lt;dd>Fourth definition&lt;/dd>
  &lt;dt class="red">Fifth definition term that should have green background&lt;/dt>
    &lt;dd class="red">Fifth definition that should have green background&lt;/dd>
  &lt;dt class="red">Sixth definition term that should have green background&lt;/dt>
    &lt;dd class="red">Sixth definition that should have green background&lt;/dd>
&lt;/dl>
','code-xhtml' => '
<p class="red">This paragraph should have green background</p>
<address>And this address should have NOT green background</address>
<p class="red">This paragraph should also have green background!</p>
<p>But this one should NOT have green background</p>
<dl>
  <dt>First definition term</dt>
    <dd>First definition</dd>
  <dt class="red">Second definition term that should have green background</dt>
    <dd class="red">Second definition that should have green background</dd>
  <dt class="red">Third definition term that should have green background</dt>
    <dd class="red">Third definition that should have green background</dd>
  <dt>Fourth definition term</dt>
    <dd>Fourth definition</dd>
  <dt class="red">Fifth definition term that should have green background</dt>
    <dd class="red">Fifth definition that should have green background</dd>
  <dt class="red">Sixth definition term that should have green background</dt>
    <dd class="red">Sixth definition that should have green background</dd>
</dl>
'},'css3-modsel-121' => {'rev' => '1.0','escapedcode-xml' => '
&lt;div xmlns="http://www.w3.org/1999/xhtml" class="stub">
&lt;address>This address should be in green characters.&lt;/address>
&lt;s xmlns="http://www.example.org/b">This paragraph should be in green characters.&lt;/s>
&lt;t xmlns="">This paragraph should be in green characters.&lt;/t>
&lt;u xmlns="http://www.example.org/a">
&lt;v>This paragraph
      should be in green characters.&lt;/v>
&lt;/u>
&lt;/div>

','escapedcode-css' => '@namespace html url(http://www.w3.org/1999/xhtml);
@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
div.stub > *|* { color : red ; display : block ;
                 margin-bottom : 1em }
div.stub > *|*:not(a|*) { color : lime  }
div.stub v { color : lime }
','escapedcode-html' => '
&lt;div class="stub">
&lt;address>This address should be in green characters.&lt;/address>
&lt;s xmlns="http://www.example.org/b">This paragraph should be in green characters.&lt;/s>
&lt;t xmlns="">This paragraph should be in green characters.&lt;/t>
&lt;u xmlns="http://www.example.org/a">
&lt;v>This paragraph
      should be in green characters.&lt;/v>
&lt;/u>
&lt;/div>

','def' => 'NEGATED universal selector with declared namespace','number' => '121','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => '@namespace html url(http://www.w3.org/1999/xhtml);
@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
div.stub > *|* { color : red ; display : block ;
                 margin-bottom : 1em }
div.stub > *|*:not(a|*) { color : lime  }
div.stub v { color : lime }
','author' => ['Daniel Glazman'],'code-html' => '
<div class="stub">
<address>This address should be in green characters.</address>
<s xmlns="http://www.example.org/b">This paragraph should be in green characters.</s>
<t xmlns="">This paragraph should be in green characters.</t>
<u xmlns="http://www.example.org/a">
<v>This paragraph
      should be in green characters.</v>
</u>
</div>

','endTag' => '</v>','date' => '11-july-2001','code-xml' => '
<div xmlns="http://www.w3.org/1999/xhtml" class="stub">
<address>This address should be in green characters.</address>
<s xmlns="http://www.example.org/b">This paragraph should be in green characters.</s>
<t xmlns="">This paragraph should be in green characters.</t>
<u xmlns="http://www.example.org/a">
<v>This paragraph
      should be in green characters.</v>
</u>
</div>

','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','namespaced' => 1,'escapedcode-xhtml' => '
&lt;div class="stub">
&lt;address>This address should be in green characters.&lt;/address>
&lt;s xmlns="http://www.example.org/b">This paragraph should be in green characters.&lt;/s>
&lt;t xmlns="">This paragraph should be in green characters.&lt;/t>
&lt;u xmlns="http://www.example.org/a">
&lt;v>This paragraph
      should be in green characters.&lt;/v>
&lt;/u>
&lt;/div>

','code-xhtml' => '
<div class="stub">
<address>This address should be in green characters.</address>
<s xmlns="http://www.example.org/b">This paragraph should be in green characters.</s>
<t xmlns="">This paragraph should be in green characters.</t>
<u xmlns="http://www.example.org/a">
<v>This paragraph
      should be in green characters.</v>
</u>
</div>

'},'css3-modsel-76' => {'rev' => '1.0','escapedcode-xml' => '
&lt;p xmlns="http://www.w3.org/1999/xhtml">This paragraph should NOT have green background&lt;/p>
&lt;address xmlns="http://www.w3.org/1999/xhtml">This address should NOT have green background&lt;/address>
&lt;p xmlns="http://www.w3.org/1999/xhtml" class="red">This paragraph should have green background&lt;/p>
&lt;p xmlns="http://www.w3.org/1999/xhtml" class="red">This paragraph should have green background&lt;/p>
&lt;dl xmlns="http://www.w3.org/1999/xhtml">
  &lt;dt class="red">First definition term that should have green background&lt;/dt>
    &lt;dd class="red">First definition&lt;/dd>
  &lt;dt class="red">Second definition term that should have green background&lt;/dt>
    &lt;dd class="red">Second definition&lt;/dd>
  &lt;dt>Third definition term&lt;/dt>
    &lt;dd>Third definition&lt;/dd>
  &lt;dt class="red">Fourth definition term that should have green background&lt;/dt>
    &lt;dd class="red">Fourth definition&lt;/dd>
  &lt;dt class="red">Fifth definition term that should have green background&lt;/dt>
    &lt;dd class="red">Fifth definition&lt;/dd>
  &lt;dt>Sixth definition term&lt;/dt>
    &lt;dd>Sixth definition&lt;/dd>
&lt;/dl>
','escapedcode-css' => '.red { background-color : red }
p:not(:nth-last-of-type(3)) { background-color : lime }
dl > *:not(:nth-last-of-type(3n+1)) { background-color : lime }
','escapedcode-html' => '
&lt;p>This paragraph should NOT have green background&lt;/p>
&lt;address>This address should NOT have green background&lt;/address>
&lt;p class="red">This paragraph should have green background&lt;/p>
&lt;p class="red">This paragraph should have green background&lt;/p>
&lt;dl>
  &lt;dt class="red">First definition term that should have green background&lt;/dt>
    &lt;dd class="red">First definition&lt;/dd>
  &lt;dt class="red">Second definition term that should have green background&lt;/dt>
    &lt;dd class="red">Second definition&lt;/dd>
  &lt;dt>Third definition term&lt;/dt>
    &lt;dd>Third definition&lt;/dd>
  &lt;dt class="red">Fourth definition term that should have green background&lt;/dt>
    &lt;dd class="red">Fourth definition&lt;/dd>
  &lt;dt class="red">Fifth definition term that should have green background&lt;/dt>
    &lt;dd class="red">Fifth definition&lt;/dd>
  &lt;dt>Sixth definition term&lt;/dt>
    &lt;dd>Sixth definition&lt;/dd>
&lt;/dl>
','def' => 'NEGATED :nth-last-of-type() pseudo-class','number' => '76','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => '.red { background-color : red }
p:not(:nth-last-of-type(3)) { background-color : lime }
dl > *:not(:nth-last-of-type(3n+1)) { background-color : lime }
','author' => ['Daniel Glazman'],'code-html' => '
<p>This paragraph should NOT have green background</p>
<address>This address should NOT have green background</address>
<p class="red">This paragraph should have green background</p>
<p class="red">This paragraph should have green background</p>
<dl>
  <dt class="red">First definition term that should have green background</dt>
    <dd class="red">First definition</dd>
  <dt class="red">Second definition term that should have green background</dt>
    <dd class="red">Second definition</dd>
  <dt>Third definition term</dt>
    <dd>Third definition</dd>
  <dt class="red">Fourth definition term that should have green background</dt>
    <dd class="red">Fourth definition</dd>
  <dt class="red">Fifth definition term that should have green background</dt>
    <dd class="red">Fifth definition</dd>
  <dt>Sixth definition term</dt>
    <dd>Sixth definition</dd>
</dl>
','endTag' => '</dd>','date' => '11-july-2001','code-xml' => '
<p xmlns="http://www.w3.org/1999/xhtml">This paragraph should NOT have green background</p>
<address xmlns="http://www.w3.org/1999/xhtml">This address should NOT have green background</address>
<p xmlns="http://www.w3.org/1999/xhtml" class="red">This paragraph should have green background</p>
<p xmlns="http://www.w3.org/1999/xhtml" class="red">This paragraph should have green background</p>
<dl xmlns="http://www.w3.org/1999/xhtml">
  <dt class="red">First definition term that should have green background</dt>
    <dd class="red">First definition</dd>
  <dt class="red">Second definition term that should have green background</dt>
    <dd class="red">Second definition</dd>
  <dt>Third definition term</dt>
    <dd>Third definition</dd>
  <dt class="red">Fourth definition term that should have green background</dt>
    <dd class="red">Fourth definition</dd>
  <dt class="red">Fifth definition term that should have green background</dt>
    <dd class="red">Fifth definition</dd>
  <dt>Sixth definition term</dt>
    <dd>Sixth definition</dd>
</dl>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','escapedcode-xhtml' => '
&lt;p>This paragraph should NOT have green background&lt;/p>
&lt;address>This address should NOT have green background&lt;/address>
&lt;p class="red">This paragraph should have green background&lt;/p>
&lt;p class="red">This paragraph should have green background&lt;/p>
&lt;dl>
  &lt;dt class="red">First definition term that should have green background&lt;/dt>
    &lt;dd class="red">First definition&lt;/dd>
  &lt;dt class="red">Second definition term that should have green background&lt;/dt>
    &lt;dd class="red">Second definition&lt;/dd>
  &lt;dt>Third definition term&lt;/dt>
    &lt;dd>Third definition&lt;/dd>
  &lt;dt class="red">Fourth definition term that should have green background&lt;/dt>
    &lt;dd class="red">Fourth definition&lt;/dd>
  &lt;dt class="red">Fifth definition term that should have green background&lt;/dt>
    &lt;dd class="red">Fifth definition&lt;/dd>
  &lt;dt>Sixth definition term&lt;/dt>
    &lt;dd>Sixth definition&lt;/dd>
&lt;/dl>
','code-xhtml' => '
<p>This paragraph should NOT have green background</p>
<address>This address should NOT have green background</address>
<p class="red">This paragraph should have green background</p>
<p class="red">This paragraph should have green background</p>
<dl>
  <dt class="red">First definition term that should have green background</dt>
    <dd class="red">First definition</dd>
  <dt class="red">Second definition term that should have green background</dt>
    <dd class="red">Second definition</dd>
  <dt>Third definition term</dt>
    <dd>Third definition</dd>
  <dt class="red">Fourth definition term that should have green background</dt>
    <dd class="red">Fourth definition</dd>
  <dt class="red">Fifth definition term that should have green background</dt>
    <dd class="red">Fifth definition</dd>
  <dt>Sixth definition term</dt>
    <dd>Sixth definition</dd>
</dl>
'},'css3-modsel-122' => {'rev' => '1.0','escapedcode-xml' => '
&lt;div xmlns="http://www.w3.org/1999/xhtml" class="stub">
&lt;address>This address should have a green background&lt;/address>
&lt;s xmlns="http://www.example.org/b">This paragraph should have a green background&lt;/s>
&lt;t xmlns="">This paragraph should have a green background&lt;/t>
&lt;u xmlns="http://www.example.org/a">This paragraph should have a green background&lt;/u>
&lt;/div>
','escapedcode-css' => '@namespace html url(http://www.w3.org/1999/xhtml);
@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
div.stub > *|* { background-color : lime ; display : block ;
                 margin-bottom : 1em }
div.stub > *|*:not(*|*) { background-color : red }
/* yes, the rule just above selects nothing... That\'s the point */
','escapedcode-html' => '
&lt;div class="stub">
&lt;address>This address should have a green background&lt;/address>
&lt;s xmlns="http://www.example.org/b">This paragraph should have a green background&lt;/s>
&lt;t xmlns="">This paragraph should have a green background&lt;/t>
&lt;u xmlns="http://www.example.org/a">This paragraph should have a green background&lt;/u>
&lt;/div>
','def' => 'NEGATED universal selector with universal namespace','number' => '122','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => '@namespace html url(http://www.w3.org/1999/xhtml);
@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
div.stub > *|* { background-color : lime ; display : block ;
                 margin-bottom : 1em }
div.stub > *|*:not(*|*) { background-color : red }
/* yes, the rule just above selects nothing... That\'s the point */
','author' => ['Daniel Glazman'],'code-html' => '
<div class="stub">
<address>This address should have a green background</address>
<s xmlns="http://www.example.org/b">This paragraph should have a green background</s>
<t xmlns="">This paragraph should have a green background</t>
<u xmlns="http://www.example.org/a">This paragraph should have a green background</u>
</div>
','endTag' => '</u>','date' => '11-july-2001','code-xml' => '
<div xmlns="http://www.w3.org/1999/xhtml" class="stub">
<address>This address should have a green background</address>
<s xmlns="http://www.example.org/b">This paragraph should have a green background</s>
<t xmlns="">This paragraph should have a green background</t>
<u xmlns="http://www.example.org/a">This paragraph should have a green background</u>
</div>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','namespaced' => 1,'escapedcode-xhtml' => '
&lt;div class="stub">
&lt;address>This address should have a green background&lt;/address>
&lt;s xmlns="http://www.example.org/b">This paragraph should have a green background&lt;/s>
&lt;t xmlns="">This paragraph should have a green background&lt;/t>
&lt;u xmlns="http://www.example.org/a">This paragraph should have a green background&lt;/u>
&lt;/div>
','code-xhtml' => '
<div class="stub">
<address>This address should have a green background</address>
<s xmlns="http://www.example.org/b">This paragraph should have a green background</s>
<t xmlns="">This paragraph should have a green background</t>
<u xmlns="http://www.example.org/a">This paragraph should have a green background</u>
</div>
'},'css3-modsel-77' => {'rev' => '1.0','escapedcode-xml' => '
&lt;div xmlns="http://www.w3.org/1999/xhtml" align="center">
&lt;table class="t1" border="1">
  &lt;tr>
    &lt;td>1.1&lt;/td>
    &lt;td class="red">green cell&lt;/td>
    &lt;td class="red">green cell&lt;/td>
  &lt;/tr>
  &lt;tr>
    &lt;td>2.1&lt;/td>
    &lt;td class="red">green cell&lt;/td>
    &lt;td class="red">green cell&lt;/td>
  &lt;/tr>
  &lt;tr>
    &lt;td>3.1&lt;/td>
    &lt;td class="red">green cell&lt;/td>
    &lt;td class="red">green cell&lt;/td>
  &lt;/tr>
&lt;/table>
&lt;/div>
&lt;p xmlns="http://www.w3.org/1999/xhtml">This paragraph should NOT AT ALL
          &lt;span>have a green background&lt;/span>
&lt;/p>
','escapedcode-css' => '.red { background-color : red }
.t1 td:not(:first-child) { background-color : lime }
p > *:not(:first-child) { background-color : lime }
table.t1 td { border : thin black solid }
','escapedcode-html' => '
&lt;div align="center">
&lt;table class="t1" border="1">
  &lt;tr>
    &lt;td>1.1&lt;/td>
    &lt;td class="red">green cell&lt;/td>
    &lt;td class="red">green cell&lt;/td>
  &lt;/tr>
  &lt;tr>
    &lt;td>2.1&lt;/td>
    &lt;td class="red">green cell&lt;/td>
    &lt;td class="red">green cell&lt;/td>
  &lt;/tr>
  &lt;tr>
    &lt;td>3.1&lt;/td>
    &lt;td class="red">green cell&lt;/td>
    &lt;td class="red">green cell&lt;/td>
  &lt;/tr>
&lt;/table>
&lt;/div>
&lt;p>This paragraph should NOT AT ALL
          &lt;span>have a green background&lt;/span>
&lt;/p>
','def' => 'NEGATED :first-child pseudo-class','number' => '77','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => '.red { background-color : red }
.t1 td:not(:first-child) { background-color : lime }
p > *:not(:first-child) { background-color : lime }
table.t1 td { border : thin black solid }
','author' => ['Daniel Glazman'],'code-html' => '
<div align="center">
<table class="t1" border="1">
  <tr>
    <td>1.1</td>
    <td class="red">green cell</td>
    <td class="red">green cell</td>
  </tr>
  <tr>
    <td>2.1</td>
    <td class="red">green cell</td>
    <td class="red">green cell</td>
  </tr>
  <tr>
    <td>3.1</td>
    <td class="red">green cell</td>
    <td class="red">green cell</td>
  </tr>
</table>
</div>
<p>This paragraph should NOT AT ALL
          <span>have a green background</span>
</p>
','endTag' => '</span>','date' => '11-july-2001','code-xml' => '
<div xmlns="http://www.w3.org/1999/xhtml" align="center">
<table class="t1" border="1">
  <tr>
    <td>1.1</td>
    <td class="red">green cell</td>
    <td class="red">green cell</td>
  </tr>
  <tr>
    <td>2.1</td>
    <td class="red">green cell</td>
    <td class="red">green cell</td>
  </tr>
  <tr>
    <td>3.1</td>
    <td class="red">green cell</td>
    <td class="red">green cell</td>
  </tr>
</table>
</div>
<p xmlns="http://www.w3.org/1999/xhtml">This paragraph should NOT AT ALL
          <span>have a green background</span>
</p>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','escapedcode-xhtml' => '
&lt;div align="center">
&lt;table class="t1" border="1">
  &lt;tr>
    &lt;td>1.1&lt;/td>
    &lt;td class="red">green cell&lt;/td>
    &lt;td class="red">green cell&lt;/td>
  &lt;/tr>
  &lt;tr>
    &lt;td>2.1&lt;/td>
    &lt;td class="red">green cell&lt;/td>
    &lt;td class="red">green cell&lt;/td>
  &lt;/tr>
  &lt;tr>
    &lt;td>3.1&lt;/td>
    &lt;td class="red">green cell&lt;/td>
    &lt;td class="red">green cell&lt;/td>
  &lt;/tr>
&lt;/table>
&lt;/div>
&lt;p>This paragraph should NOT AT ALL
          &lt;span>have a green background&lt;/span>
&lt;/p>
','code-xhtml' => '
<div align="center">
<table class="t1" border="1">
  <tr>
    <td>1.1</td>
    <td class="red">green cell</td>
    <td class="red">green cell</td>
  </tr>
  <tr>
    <td>2.1</td>
    <td class="red">green cell</td>
    <td class="red">green cell</td>
  </tr>
  <tr>
    <td>3.1</td>
    <td class="red">green cell</td>
    <td class="red">green cell</td>
  </tr>
</table>
</div>
<p>This paragraph should NOT AT ALL
          <span>have a green background</span>
</p>
'},'css3-modsel-123' => {'rev' => '1.0','escapedcode-xml' => '
&lt;div xmlns="http://www.w3.org/1999/xhtml" class="stub">
&lt;address>This address should be in green characters.&lt;/address>
&lt;s xmlns="http://www.example.org/b">This paragraph should be in green characters.&lt;/s>
&lt;t xmlns="">WARNING !!! This paragraph should &lt;html:strong>NOT&lt;/html:strong> be in green characters.&lt;/t>
&lt;u xmlns="http://www.example.org/a">This paragraph
      should be in green characters.&lt;/u>
&lt;/div>

','escapedcode-css' => '@namespace html url(http://www.w3.org/1999/xhtml);
@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
div.stub > *|* { color : red ; display : block ;
                 margin-bottom : 1em }
div.stub > *|*:not(|*) { color : lime  }
','escapedcode-html' => '
&lt;div class="stub">
&lt;address>This address should be in green characters.&lt;/address>
&lt;s xmlns="http://www.example.org/b">This paragraph should be in green characters.&lt;/s>
&lt;t xmlns="">WARNING !!! This paragraph should &lt;html:strong>NOT&lt;/html:strong> be in green characters.&lt;/t>
&lt;u xmlns="http://www.example.org/a">This paragraph
      should be in green characters.&lt;/u>
&lt;/div>

','def' => 'NEGATED universal selector with declared namespace','number' => '123','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => '@namespace html url(http://www.w3.org/1999/xhtml);
@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
div.stub > *|* { color : red ; display : block ;
                 margin-bottom : 1em }
div.stub > *|*:not(|*) { color : lime  }
','author' => ['Daniel Glazman'],'code-html' => '
<div class="stub">
<address>This address should be in green characters.</address>
<s xmlns="http://www.example.org/b">This paragraph should be in green characters.</s>
<t xmlns="">WARNING !!! This paragraph should <html:strong>NOT</html:strong> be in green characters.</t>
<u xmlns="http://www.example.org/a">This paragraph
      should be in green characters.</u>
</div>

','endTag' => '</u>','date' => '11-july-2001','code-xml' => '
<div xmlns="http://www.w3.org/1999/xhtml" class="stub">
<address>This address should be in green characters.</address>
<s xmlns="http://www.example.org/b">This paragraph should be in green characters.</s>
<t xmlns="">WARNING !!! This paragraph should <html:strong>NOT</html:strong> be in green characters.</t>
<u xmlns="http://www.example.org/a">This paragraph
      should be in green characters.</u>
</div>

','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','namespaced' => 1,'escapedcode-xhtml' => '
&lt;div class="stub">
&lt;address>This address should be in green characters.&lt;/address>
&lt;s xmlns="http://www.example.org/b">This paragraph should be in green characters.&lt;/s>
&lt;t xmlns="">WARNING !!! This paragraph should &lt;html:strong>NOT&lt;/html:strong> be in green characters.&lt;/t>
&lt;u xmlns="http://www.example.org/a">This paragraph
      should be in green characters.&lt;/u>
&lt;/div>

','code-xhtml' => '
<div class="stub">
<address>This address should be in green characters.</address>
<s xmlns="http://www.example.org/b">This paragraph should be in green characters.</s>
<t xmlns="">WARNING !!! This paragraph should <html:strong>NOT</html:strong> be in green characters.</t>
<u xmlns="http://www.example.org/a">This paragraph
      should be in green characters.</u>
</div>

'},'css3-modsel-78' => {'rev' => '1.0','escapedcode-xml' => '
&lt;div xmlns="http://www.w3.org/1999/xhtml" align="center">
&lt;table class="t1" border="1">
  &lt;tr>
    &lt;td class="red">green cell&lt;/td>
    &lt;td class="red">green cell&lt;/td>
    &lt;td>1.3&lt;/td>
  &lt;/tr>
  &lt;tr>
    &lt;td class="red">green cell&lt;/td>
    &lt;td class="red">green cell&lt;/td>
    &lt;td>2.3&lt;/td>
  &lt;/tr>
  &lt;tr>
    &lt;td class="red">green cell&lt;/td>
    &lt;td class="red">green cell&lt;/td>
    &lt;td>3.3&lt;/td>
  &lt;/tr>
&lt;/table>
&lt;/div>
&lt;p xmlns="http://www.w3.org/1999/xhtml">
&lt;span>This paragraph should NOT AT ALL&lt;/span>
     have a green background&lt;/p>
','escapedcode-css' => '.red { background-color : red }
.t1 td:not(:last-child) { background-color : lime }
p > *:not(:last-child) { background-color : lime }
table.t1 td { border : thin black solid }
','escapedcode-html' => '
&lt;div align="center">
&lt;table class="t1" border="1">
  &lt;tr>
    &lt;td class="red">green cell&lt;/td>
    &lt;td class="red">green cell&lt;/td>
    &lt;td>1.3&lt;/td>
  &lt;/tr>
  &lt;tr>
    &lt;td class="red">green cell&lt;/td>
    &lt;td class="red">green cell&lt;/td>
    &lt;td>2.3&lt;/td>
  &lt;/tr>
  &lt;tr>
    &lt;td class="red">green cell&lt;/td>
    &lt;td class="red">green cell&lt;/td>
    &lt;td>3.3&lt;/td>
  &lt;/tr>
&lt;/table>
&lt;/div>
&lt;p>
&lt;span>This paragraph should NOT AT ALL&lt;/span>
     have a green background&lt;/p>
','def' => 'NEGATED :last-child pseudo-class','number' => '78','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => '.red { background-color : red }
.t1 td:not(:last-child) { background-color : lime }
p > *:not(:last-child) { background-color : lime }
table.t1 td { border : thin black solid }
','author' => ['Daniel Glazman'],'code-html' => '
<div align="center">
<table class="t1" border="1">
  <tr>
    <td class="red">green cell</td>
    <td class="red">green cell</td>
    <td>1.3</td>
  </tr>
  <tr>
    <td class="red">green cell</td>
    <td class="red">green cell</td>
    <td>2.3</td>
  </tr>
  <tr>
    <td class="red">green cell</td>
    <td class="red">green cell</td>
    <td>3.3</td>
  </tr>
</table>
</div>
<p>
<span>This paragraph should NOT AT ALL</span>
     have a green background</p>
','endTag' => '</span>','date' => '11-july-2001','code-xml' => '
<div xmlns="http://www.w3.org/1999/xhtml" align="center">
<table class="t1" border="1">
  <tr>
    <td class="red">green cell</td>
    <td class="red">green cell</td>
    <td>1.3</td>
  </tr>
  <tr>
    <td class="red">green cell</td>
    <td class="red">green cell</td>
    <td>2.3</td>
  </tr>
  <tr>
    <td class="red">green cell</td>
    <td class="red">green cell</td>
    <td>3.3</td>
  </tr>
</table>
</div>
<p xmlns="http://www.w3.org/1999/xhtml">
<span>This paragraph should NOT AT ALL</span>
     have a green background</p>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','escapedcode-xhtml' => '
&lt;div align="center">
&lt;table class="t1" border="1">
  &lt;tr>
    &lt;td class="red">green cell&lt;/td>
    &lt;td class="red">green cell&lt;/td>
    &lt;td>1.3&lt;/td>
  &lt;/tr>
  &lt;tr>
    &lt;td class="red">green cell&lt;/td>
    &lt;td class="red">green cell&lt;/td>
    &lt;td>2.3&lt;/td>
  &lt;/tr>
  &lt;tr>
    &lt;td class="red">green cell&lt;/td>
    &lt;td class="red">green cell&lt;/td>
    &lt;td>3.3&lt;/td>
  &lt;/tr>
&lt;/table>
&lt;/div>
&lt;p>
&lt;span>This paragraph should NOT AT ALL&lt;/span>
     have a green background&lt;/p>
','code-xhtml' => '
<div align="center">
<table class="t1" border="1">
  <tr>
    <td class="red">green cell</td>
    <td class="red">green cell</td>
    <td>1.3</td>
  </tr>
  <tr>
    <td class="red">green cell</td>
    <td class="red">green cell</td>
    <td>2.3</td>
  </tr>
  <tr>
    <td class="red">green cell</td>
    <td class="red">green cell</td>
    <td>3.3</td>
  </tr>
</table>
</div>
<p>
<span>This paragraph should NOT AT ALL</span>
     have a green background</p>
'},'css3-modsel-124' => {'rev' => '1.0','escapedcode-xml' => '
&lt;div xmlns="http://www.w3.org/1999/xhtml" class="stub">
&lt;p title="foo">This paragraph should have a green background&lt;/p>
&lt;q xmlns="http://www.example.org/a" a:title="foo">This a:q element should NOT
                 have a green background&lt;/q>
&lt;s xmlns="http://www.example.org/a" a:title="foobar">This a:s element should 
                 have a green background&lt;/s>
&lt;r xmlns="http://www.example.org/b" b:title="foo">This b:r element should 
                 have a green background&lt;/r>
&lt;/div>
','escapedcode-css' => '@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
*|p, *|q, *|r, *|s { display : block ; margin-bottom : 1em }
*|p, *|r, *|s { background-color : red }
div.stub *:not([a|title="foo"]) {background-color : lime }
','escapedcode-html' => '
&lt;div class="stub">
&lt;p title="foo">This paragraph should have a green background&lt;/p>
&lt;q xmlns="http://www.example.org/a" a:title="foo">This a:q element should NOT
                 have a green background&lt;/q>
&lt;s xmlns="http://www.example.org/a" a:title="foobar">This a:s element should 
                 have a green background&lt;/s>
&lt;r xmlns="http://www.example.org/b" b:title="foo">This b:r element should 
                 have a green background&lt;/r>
&lt;/div>
','def' => 'NEGATED Attribute value selector with declared namespace','number' => '124','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => '@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
*|p, *|q, *|r, *|s { display : block ; margin-bottom : 1em }
*|p, *|r, *|s { background-color : red }
div.stub *:not([a|title="foo"]) {background-color : lime }
','author' => ['Daniel Glazman'],'code-html' => '
<div class="stub">
<p title="foo">This paragraph should have a green background</p>
<q xmlns="http://www.example.org/a" a:title="foo">This a:q element should NOT
                 have a green background</q>
<s xmlns="http://www.example.org/a" a:title="foobar">This a:s element should 
                 have a green background</s>
<r xmlns="http://www.example.org/b" b:title="foo">This b:r element should 
                 have a green background</r>
</div>
','endTag' => '</r>','date' => '11-july-2001','code-xml' => '
<div xmlns="http://www.w3.org/1999/xhtml" class="stub">
<p title="foo">This paragraph should have a green background</p>
<q xmlns="http://www.example.org/a" a:title="foo">This a:q element should NOT
                 have a green background</q>
<s xmlns="http://www.example.org/a" a:title="foobar">This a:s element should 
                 have a green background</s>
<r xmlns="http://www.example.org/b" b:title="foo">This b:r element should 
                 have a green background</r>
</div>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','namespaced' => 1,'escapedcode-xhtml' => '
&lt;div class="stub">
&lt;p title="foo">This paragraph should have a green background&lt;/p>
&lt;q xmlns="http://www.example.org/a" a:title="foo">This a:q element should NOT
                 have a green background&lt;/q>
&lt;s xmlns="http://www.example.org/a" a:title="foobar">This a:s element should 
                 have a green background&lt;/s>
&lt;r xmlns="http://www.example.org/b" b:title="foo">This b:r element should 
                 have a green background&lt;/r>
&lt;/div>
','code-xhtml' => '
<div class="stub">
<p title="foo">This paragraph should have a green background</p>
<q xmlns="http://www.example.org/a" a:title="foo">This a:q element should NOT
                 have a green background</q>
<s xmlns="http://www.example.org/a" a:title="foobar">This a:s element should 
                 have a green background</s>
<r xmlns="http://www.example.org/b" b:title="foo">This b:r element should 
                 have a green background</r>
</div>
'},'css3-modsel-79' => {'rev' => '1.0','escapedcode-xml' => '
&lt;div xmlns="http://www.w3.org/1999/xhtml">This div contains 3 addresses :
&lt;address>A first address with normal background&lt;/address>
&lt;address class="red">A second address that should have a green background&lt;/address>
&lt;address class="red">A third address that should have a green background&lt;/address>
&lt;/div>
','escapedcode-css' => '.red { background-color : red }
address { margin-bottom : 1em ; margin-left : 1em }
address:not(:first-of-type) { background-color : lime }
','escapedcode-html' => '
&lt;div>This div contains 3 addresses :
&lt;address>A first address with normal background&lt;/address>
&lt;address class="red">A second address that should have a green background&lt;/address>
&lt;address class="red">A third address that should have a green background&lt;/address>
&lt;/div>
','def' => 'NEGATED :first-of-type pseudo-class','number' => '79','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => '.red { background-color : red }
address { margin-bottom : 1em ; margin-left : 1em }
address:not(:first-of-type) { background-color : lime }
','author' => ['Daniel Glazman'],'code-html' => '
<div>This div contains 3 addresses :
<address>A first address with normal background</address>
<address class="red">A second address that should have a green background</address>
<address class="red">A third address that should have a green background</address>
</div>
','endTag' => '</address>','date' => '11-july-2001','code-xml' => '
<div xmlns="http://www.w3.org/1999/xhtml">This div contains 3 addresses :
<address>A first address with normal background</address>
<address class="red">A second address that should have a green background</address>
<address class="red">A third address that should have a green background</address>
</div>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','escapedcode-xhtml' => '
&lt;div>This div contains 3 addresses :
&lt;address>A first address with normal background&lt;/address>
&lt;address class="red">A second address that should have a green background&lt;/address>
&lt;address class="red">A third address that should have a green background&lt;/address>
&lt;/div>
','code-xhtml' => '
<div>This div contains 3 addresses :
<address>A first address with normal background</address>
<address class="red">A second address that should have a green background</address>
<address class="red">A third address that should have a green background</address>
</div>
'},'css3-modsel-125' => {'rev' => '1.0','escapedcode-xml' => '
&lt;div xmlns="http://www.w3.org/1999/xhtml" class="stub">
&lt;q xmlns="http://www.example.org/a" a:foo="hgt bardot f">This paragraph should 
          have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/a" a:foo="hgt bar f">This paragraph should NOT
          have a green background&lt;/r>
&lt;s xmlns="http://www.example.org/b" b:foo="hgt bar f">This paragraph should
          have a green background&lt;/s>
&lt;/div>
','escapedcode-css' => '@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
@namespace html url(http://www.w3.org/1999/xhtml);
*|p, *|q, *|r, *|s { display : block ; margin-bottom : 1em }
*|q, *|s { background-color : red }
div.stub *|*:not([a|foo~="bar"]) { background-color : lime }
','escapedcode-html' => '
&lt;div class="stub">
&lt;q xmlns="http://www.example.org/a" a:foo="hgt bardot f">This paragraph should 
          have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/a" a:foo="hgt bar f">This paragraph should NOT
          have a green background&lt;/r>
&lt;s xmlns="http://www.example.org/b" b:foo="hgt bar f">This paragraph should
          have a green background&lt;/s>
&lt;/div>
','def' => 'NEGATED Attribute space-separated value selector with declared namespace','number' => '125','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => '@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
@namespace html url(http://www.w3.org/1999/xhtml);
*|p, *|q, *|r, *|s { display : block ; margin-bottom : 1em }
*|q, *|s { background-color : red }
div.stub *|*:not([a|foo~="bar"]) { background-color : lime }
','author' => ['Daniel Glazman'],'code-html' => '
<div class="stub">
<q xmlns="http://www.example.org/a" a:foo="hgt bardot f">This paragraph should 
          have a green background</q>
<r xmlns="http://www.example.org/a" a:foo="hgt bar f">This paragraph should NOT
          have a green background</r>
<s xmlns="http://www.example.org/b" b:foo="hgt bar f">This paragraph should
          have a green background</s>
</div>
','endTag' => '</s>','date' => '11-july-2001','code-xml' => '
<div xmlns="http://www.w3.org/1999/xhtml" class="stub">
<q xmlns="http://www.example.org/a" a:foo="hgt bardot f">This paragraph should 
          have a green background</q>
<r xmlns="http://www.example.org/a" a:foo="hgt bar f">This paragraph should NOT
          have a green background</r>
<s xmlns="http://www.example.org/b" b:foo="hgt bar f">This paragraph should
          have a green background</s>
</div>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','namespaced' => 1,'escapedcode-xhtml' => '
&lt;div class="stub">
&lt;q xmlns="http://www.example.org/a" a:foo="hgt bardot f">This paragraph should 
          have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/a" a:foo="hgt bar f">This paragraph should NOT
          have a green background&lt;/r>
&lt;s xmlns="http://www.example.org/b" b:foo="hgt bar f">This paragraph should
          have a green background&lt;/s>
&lt;/div>
','code-xhtml' => '
<div class="stub">
<q xmlns="http://www.example.org/a" a:foo="hgt bardot f">This paragraph should 
          have a green background</q>
<r xmlns="http://www.example.org/a" a:foo="hgt bar f">This paragraph should NOT
          have a green background</r>
<s xmlns="http://www.example.org/b" b:foo="hgt bar f">This paragraph should
          have a green background</s>
</div>
'},'css3-modsel-126' => {'rev' => '1.0','escapedcode-xml' => '
&lt;div xmlns="http://www.w3.org/1999/xhtml" class="stub">
&lt;q xmlns="http://www.example.org/a" a:foo="bargain-trash">This paragraph should
          have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/a" a:foo="bar-drink-glass">This paragraph should NOT
          have a green background&lt;/r>
&lt;s xmlns="http://www.example.org/b" b:foo="bar-drink-glass">This paragraph should
          have a green background&lt;/s>
&lt;/div>
','escapedcode-css' => '@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
@namespace html url(http://www.w3.org/1999/xhtml);
*|p, *|q, *|r, *|s { display : block ; margin-bottom : 1em }
*|q, *|s { background-color : red }
div.stub *|*:not([a|foo|="bar"]) { background-color : lime }
','escapedcode-html' => '
&lt;div class="stub">
&lt;q xmlns="http://www.example.org/a" a:foo="bargain-trash">This paragraph should
          have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/a" a:foo="bar-drink-glass">This paragraph should NOT
          have a green background&lt;/r>
&lt;s xmlns="http://www.example.org/b" b:foo="bar-drink-glass">This paragraph should
          have a green background&lt;/s>
&lt;/div>
','def' => 'NEGATED Attribute dash-separated value selector with declared namespace','number' => '126','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => '@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
@namespace html url(http://www.w3.org/1999/xhtml);
*|p, *|q, *|r, *|s { display : block ; margin-bottom : 1em }
*|q, *|s { background-color : red }
div.stub *|*:not([a|foo|="bar"]) { background-color : lime }
','author' => ['Daniel Glazman'],'code-html' => '
<div class="stub">
<q xmlns="http://www.example.org/a" a:foo="bargain-trash">This paragraph should
          have a green background</q>
<r xmlns="http://www.example.org/a" a:foo="bar-drink-glass">This paragraph should NOT
          have a green background</r>
<s xmlns="http://www.example.org/b" b:foo="bar-drink-glass">This paragraph should
          have a green background</s>
</div>
','endTag' => '</s>','date' => '11-july-2001','code-xml' => '
<div xmlns="http://www.w3.org/1999/xhtml" class="stub">
<q xmlns="http://www.example.org/a" a:foo="bargain-trash">This paragraph should
          have a green background</q>
<r xmlns="http://www.example.org/a" a:foo="bar-drink-glass">This paragraph should NOT
          have a green background</r>
<s xmlns="http://www.example.org/b" b:foo="bar-drink-glass">This paragraph should
          have a green background</s>
</div>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','namespaced' => 1,'escapedcode-xhtml' => '
&lt;div class="stub">
&lt;q xmlns="http://www.example.org/a" a:foo="bargain-trash">This paragraph should
          have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/a" a:foo="bar-drink-glass">This paragraph should NOT
          have a green background&lt;/r>
&lt;s xmlns="http://www.example.org/b" b:foo="bar-drink-glass">This paragraph should
          have a green background&lt;/s>
&lt;/div>
','code-xhtml' => '
<div class="stub">
<q xmlns="http://www.example.org/a" a:foo="bargain-trash">This paragraph should
          have a green background</q>
<r xmlns="http://www.example.org/a" a:foo="bar-drink-glass">This paragraph should NOT
          have a green background</r>
<s xmlns="http://www.example.org/b" b:foo="bar-drink-glass">This paragraph should
          have a green background</s>
</div>
'},'css3-modsel-127' => {'rev' => '1.0','escapedcode-xml' => '
&lt;div xmlns="http://www.w3.org/1999/xhtml" class="stub">
&lt;q xmlns="http://www.example.org/a" a:title="et si on chantait">This paragraph should
          have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should NOT
          have a green background&lt;/r>
&lt;s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should
          have a green background&lt;/s>
&lt;/div>
','escapedcode-css' => '@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
@namespace html url(http://www.w3.org/1999/xhtml);
*|p, *|q, *|r, *|s { display : block ; margin-bottom : 1em }
*|q, *|s { background-color : red }
div.stub *|*:not([a|title^="si on"]) { background-color : lime }
','escapedcode-html' => '
&lt;div class="stub">
&lt;q xmlns="http://www.example.org/a" a:title="et si on chantait">This paragraph should
          have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should NOT
          have a green background&lt;/r>
&lt;s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should
          have a green background&lt;/s>
&lt;/div>
','def' => 'NEGATED Substring matching attribute value selector on beginning with declared namespace','number' => '127','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => '@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
@namespace html url(http://www.w3.org/1999/xhtml);
*|p, *|q, *|r, *|s { display : block ; margin-bottom : 1em }
*|q, *|s { background-color : red }
div.stub *|*:not([a|title^="si on"]) { background-color : lime }
','author' => ['Daniel Glazman'],'code-html' => '
<div class="stub">
<q xmlns="http://www.example.org/a" a:title="et si on chantait">This paragraph should
          have a green background</q>
<r xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should NOT
          have a green background</r>
<s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should
          have a green background</s>
</div>
','endTag' => '</s>','date' => '11-july-2001','code-xml' => '
<div xmlns="http://www.w3.org/1999/xhtml" class="stub">
<q xmlns="http://www.example.org/a" a:title="et si on chantait">This paragraph should
          have a green background</q>
<r xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should NOT
          have a green background</r>
<s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should
          have a green background</s>
</div>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','namespaced' => 1,'escapedcode-xhtml' => '
&lt;div class="stub">
&lt;q xmlns="http://www.example.org/a" a:title="et si on chantait">This paragraph should
          have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should NOT
          have a green background&lt;/r>
&lt;s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should
          have a green background&lt;/s>
&lt;/div>
','code-xhtml' => '
<div class="stub">
<q xmlns="http://www.example.org/a" a:title="et si on chantait">This paragraph should
          have a green background</q>
<r xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should NOT
          have a green background</r>
<s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should
          have a green background</s>
</div>
'},'css3-modsel-128' => {'rev' => '1.0','escapedcode-xml' => '
&lt;div xmlns="http://www.w3.org/1999/xhtml" class="stub">
&lt;q xmlns="http://www.example.org/a" a:title="si nous chantions">This paragraph should
          have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should NOT
          have a green background&lt;/r>
&lt;s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should
          have a green background&lt;/s>
&lt;/div>
','escapedcode-css' => '@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
@namespace html url(http://www.w3.org/1999/xhtml);
*|p, *|q, *|r, *|s { display : block ; margin-bottom : 1em }
*|q, *|s { background-color : red }
div.stub *|*:not([a|title$="tait"]) { background-color : lime }
','escapedcode-html' => '
&lt;div class="stub">
&lt;q xmlns="http://www.example.org/a" a:title="si nous chantions">This paragraph should
          have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should NOT
          have a green background&lt;/r>
&lt;s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should
          have a green background&lt;/s>
&lt;/div>
','def' => 'NEGATED Substring matching attribute value selector on end with declared namespace','number' => '128','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => '@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
@namespace html url(http://www.w3.org/1999/xhtml);
*|p, *|q, *|r, *|s { display : block ; margin-bottom : 1em }
*|q, *|s { background-color : red }
div.stub *|*:not([a|title$="tait"]) { background-color : lime }
','author' => ['Daniel Glazman'],'code-html' => '
<div class="stub">
<q xmlns="http://www.example.org/a" a:title="si nous chantions">This paragraph should
          have a green background</q>
<r xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should NOT
          have a green background</r>
<s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should
          have a green background</s>
</div>
','endTag' => '</s>','date' => '11-july-2001','code-xml' => '
<div xmlns="http://www.w3.org/1999/xhtml" class="stub">
<q xmlns="http://www.example.org/a" a:title="si nous chantions">This paragraph should
          have a green background</q>
<r xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should NOT
          have a green background</r>
<s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should
          have a green background</s>
</div>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','namespaced' => 1,'escapedcode-xhtml' => '
&lt;div class="stub">
&lt;q xmlns="http://www.example.org/a" a:title="si nous chantions">This paragraph should
          have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should NOT
          have a green background&lt;/r>
&lt;s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should
          have a green background&lt;/s>
&lt;/div>
','code-xhtml' => '
<div class="stub">
<q xmlns="http://www.example.org/a" a:title="si nous chantions">This paragraph should
          have a green background</q>
<r xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should NOT
          have a green background</r>
<s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should
          have a green background</s>
</div>
'},'css3-modsel-129' => {'rev' => '1.0','escapedcode-xml' => '
&lt;div xmlns="http://www.w3.org/1999/xhtml" class="stub">
&lt;q xmlns="http://www.example.org/a" a:title="si nous chantions">This paragraph should
          have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should NOT
          have a green background&lt;/r>
&lt;s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should
          have a green background&lt;/s>
&lt;/div>
','escapedcode-css' => '@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
@namespace html url(http://www.w3.org/1999/xhtml);
*|p, *|q, *|r, *|s { display : block ; margin-bottom : 1em }
*|q, *|s { background-color : red }
div.stub *|*:not([a|title*="hanta"]) { background-color : lime }
','escapedcode-html' => '
&lt;div class="stub">
&lt;q xmlns="http://www.example.org/a" a:title="si nous chantions">This paragraph should
          have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should NOT
          have a green background&lt;/r>
&lt;s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should
          have a green background&lt;/s>
&lt;/div>
','def' => 'NEGATED Substring matching attribute value selector on middle with declared namespace','number' => '129','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => '@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
@namespace html url(http://www.w3.org/1999/xhtml);
*|p, *|q, *|r, *|s { display : block ; margin-bottom : 1em }
*|q, *|s { background-color : red }
div.stub *|*:not([a|title*="hanta"]) { background-color : lime }
','author' => ['Daniel Glazman'],'code-html' => '
<div class="stub">
<q xmlns="http://www.example.org/a" a:title="si nous chantions">This paragraph should
          have a green background</q>
<r xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should NOT
          have a green background</r>
<s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should
          have a green background</s>
</div>
','endTag' => '</s>','date' => '11-july-2001','code-xml' => '
<div xmlns="http://www.w3.org/1999/xhtml" class="stub">
<q xmlns="http://www.example.org/a" a:title="si nous chantions">This paragraph should
          have a green background</q>
<r xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should NOT
          have a green background</r>
<s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should
          have a green background</s>
</div>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','namespaced' => 1,'escapedcode-xhtml' => '
&lt;div class="stub">
&lt;q xmlns="http://www.example.org/a" a:title="si nous chantions">This paragraph should
          have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should NOT
          have a green background&lt;/r>
&lt;s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should
          have a green background&lt;/s>
&lt;/div>
','code-xhtml' => '
<div class="stub">
<q xmlns="http://www.example.org/a" a:title="si nous chantions">This paragraph should
          have a green background</q>
<r xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should NOT
          have a green background</r>
<s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should
          have a green background</s>
</div>
'},'css3-modsel-80' => {'rev' => '1.0','escapedcode-xml' => '
&lt;div xmlns="http://www.w3.org/1999/xhtml">
&lt;address class="red">A first address that should have a green background&lt;/address>
&lt;address class="red">A second address that should have a green background&lt;/address>
&lt;address>A third address with normal background&lt;/address>
and this div contains 3 addresses.&lt;/div>
','escapedcode-css' => '.red { background-color : red }
address { margin-bottom : 1em ; margin-left : 1em }
address:not(:last-of-type) { background-color : lime }
','escapedcode-html' => '
&lt;div>
&lt;address class="red">A first address that should have a green background&lt;/address>
&lt;address class="red">A second address that should have a green background&lt;/address>
&lt;address>A third address with normal background&lt;/address>
and this div contains 3 addresses.&lt;/div>
','def' => 'NEGATED :last-of-type pseudo-class','number' => '80','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => '.red { background-color : red }
address { margin-bottom : 1em ; margin-left : 1em }
address:not(:last-of-type) { background-color : lime }
','author' => ['Daniel Glazman'],'code-html' => '
<div>
<address class="red">A first address that should have a green background</address>
<address class="red">A second address that should have a green background</address>
<address>A third address with normal background</address>
and this div contains 3 addresses.</div>
','endTag' => '</address>','date' => '11-july-2001','code-xml' => '
<div xmlns="http://www.w3.org/1999/xhtml">
<address class="red">A first address that should have a green background</address>
<address class="red">A second address that should have a green background</address>
<address>A third address with normal background</address>
and this div contains 3 addresses.</div>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','escapedcode-xhtml' => '
&lt;div>
&lt;address class="red">A first address that should have a green background&lt;/address>
&lt;address class="red">A second address that should have a green background&lt;/address>
&lt;address>A third address with normal background&lt;/address>
and this div contains 3 addresses.&lt;/div>
','code-xhtml' => '
<div>
<address class="red">A first address that should have a green background</address>
<address class="red">A second address that should have a green background</address>
<address>A third address with normal background</address>
and this div contains 3 addresses.</div>
'},'css3-modsel-81' => {'rev' => '1.0','escapedcode-xml' => '
&lt;p xmlns="http://www.w3.org/1999/xhtml" class="red">This paragraph should have a green background&lt;/p>
&lt;div xmlns="http://www.w3.org/1999/xhtml">This div contains only one paragraph
    &lt;p>This paragraph should NOT have a green background&lt;/p>
&lt;/div>
','escapedcode-css' => '.red { background-color : red }
p:not(:only-child) { background-color : lime }
div.testText > div > p { margin-left : 1em }
','escapedcode-html' => '
&lt;p class="red">This paragraph should have a green background&lt;/p>
&lt;div>This div contains only one paragraph
    &lt;p>This paragraph should NOT have a green background&lt;/p>
&lt;/div>
','def' => 'NEGATED :only-child pseudo-class','number' => '81','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => '.red { background-color : red }
p:not(:only-child) { background-color : lime }
div.testText > div > p { margin-left : 1em }
','author' => ['Daniel Glazman'],'code-html' => '
<p class="red">This paragraph should have a green background</p>
<div>This div contains only one paragraph
    <p>This paragraph should NOT have a green background</p>
</div>
','endTag' => '</p>','date' => '11-july-2001','code-xml' => '
<p xmlns="http://www.w3.org/1999/xhtml" class="red">This paragraph should have a green background</p>
<div xmlns="http://www.w3.org/1999/xhtml">This div contains only one paragraph
    <p>This paragraph should NOT have a green background</p>
</div>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','escapedcode-xhtml' => '
&lt;p class="red">This paragraph should have a green background&lt;/p>
&lt;div>This div contains only one paragraph
    &lt;p>This paragraph should NOT have a green background&lt;/p>
&lt;/div>
','code-xhtml' => '
<p class="red">This paragraph should have a green background</p>
<div>This div contains only one paragraph
    <p>This paragraph should NOT have a green background</p>
</div>
'},'css3-modsel-82' => {'rev' => '1.0','escapedcode-xml' => '
&lt;div xmlns="http://www.w3.org/1999/xhtml" class="t1">
&lt;p class="red">This paragraph should have green background&lt;/p>
&lt;address>But this address should NOT have green background&lt;/address>
&lt;p class="red">This paragraph should have green background&lt;/p>
&lt;/div>
','escapedcode-css' => '.red { background-color : red }
.t1 *:not(:only-of-type) { background-color : lime }
','escapedcode-html' => '
&lt;div class="t1">
&lt;p class="red">This paragraph should have green background&lt;/p>
&lt;address>But this address should NOT have green background&lt;/address>
&lt;p class="red">This paragraph should have green background&lt;/p>
&lt;/div>
','def' => 'NEGATED :only-of-type pseudo-class','number' => '82','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => '.red { background-color : red }
.t1 *:not(:only-of-type) { background-color : lime }
','author' => ['Daniel Glazman'],'code-html' => '
<div class="t1">
<p class="red">This paragraph should have green background</p>
<address>But this address should NOT have green background</address>
<p class="red">This paragraph should have green background</p>
</div>
','endTag' => '</p>','date' => '11-july-2001','code-xml' => '
<div xmlns="http://www.w3.org/1999/xhtml" class="t1">
<p class="red">This paragraph should have green background</p>
<address>But this address should NOT have green background</address>
<p class="red">This paragraph should have green background</p>
</div>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','escapedcode-xhtml' => '
&lt;div class="t1">
&lt;p class="red">This paragraph should have green background&lt;/p>
&lt;address>But this address should NOT have green background&lt;/address>
&lt;p class="red">This paragraph should have green background&lt;/p>
&lt;/div>
','code-xhtml' => '
<div class="t1">
<p class="red">This paragraph should have green background</p>
<address>But this address should NOT have green background</address>
<p class="red">This paragraph should have green background</p>
</div>
'},'css3-modsel-83' => {'rev' => '1.0','escapedcode-xml' => '
&lt;p xmlns="http://www.w3.org/1999/xhtml">This paragraph should have a green background&lt;/p>
','escapedcode-css' => 'p { background-color : lime }
p:not(:not(p)) { background-color : red }','escapedcode-html' => '
&lt;p>This paragraph should have a green background&lt;/p>
','def' => 'Negation pseudo-class cannot be an argument of itself','number' => '83','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => 'p { background-color : lime }
p:not(:not(p)) { background-color : red }','author' => ['Daniel Glazman'],'code-html' => '
<p>This paragraph should have a green background</p>
','endTag' => '</p>','date' => '11-july-2001','code-xml' => '
<p xmlns="http://www.w3.org/1999/xhtml">This paragraph should have a green background</p>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','escapedcode-xhtml' => '
&lt;p>This paragraph should have a green background&lt;/p>
','code-xhtml' => '
<p>This paragraph should have a green background</p>
'},'css3-modsel-84' => {'rev' => '1.0','escapedcode-xml' => '
&lt;div xmlns="http://www.w3.org/1999/xhtml" class="stub">
  &lt;p class="red">This paragraph should have a green background&lt;/p>
  &lt;ul class="red">
    &lt;li>All this list, including bullets, should have a gr&lt;/li>
&lt;li>een background&lt;/li>
  &lt;/ul>
&lt;/div>
','escapedcode-css' => 'div.stub *:contains("green") { background-color : lime }
.red { background-color : red }','escapedcode-html' => '
&lt;div class="stub">
  &lt;p class="red">This paragraph should have a green background&lt;/p>
  &lt;ul class="red">
    &lt;li>All this list, including bullets, should have a gr&lt;/li>
&lt;li>een background&lt;/li>
  &lt;/ul>
&lt;/div>
','def' => ':contains() pseudo-class','number' => '84','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => 'div.stub *:contains("green") { background-color : lime }
.red { background-color : red }','author' => ['Daniel Glazman'],'code-html' => '
<div class="stub">
  <p class="red">This paragraph should have a green background</p>
  <ul class="red">
    <li>All this list, including bullets, should have a gr</li>
<li>een background</li>
  </ul>
</div>
','endTag' => '</li>','date' => '11-july-2001','code-xml' => '
<div xmlns="http://www.w3.org/1999/xhtml" class="stub">
  <p class="red">This paragraph should have a green background</p>
  <ul class="red">
    <li>All this list, including bullets, should have a gr</li>
<li>een background</li>
  </ul>
</div>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','escapedcode-xhtml' => '
&lt;div class="stub">
  &lt;p class="red">This paragraph should have a green background&lt;/p>
  &lt;ul class="red">
    &lt;li>All this list, including bullets, should have a gr&lt;/li>
&lt;li>een background&lt;/li>
  &lt;/ul>
&lt;/div>
','code-xhtml' => '
<div class="stub">
  <p class="red">This paragraph should have a green background</p>
  <ul class="red">
    <li>All this list, including bullets, should have a gr</li>
<li>een background</li>
  </ul>
</div>
'},'css3-modsel-130' => {'rev' => '1.0','escapedcode-xml' => '
&lt;div xmlns="http://www.w3.org/1999/xhtml" class="stub">
&lt;q xmlns="http://www.example.org/a" a:foo="si on chantait">This paragraph should 
          have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should NOT
          have a green background&lt;/r>
&lt;s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should NOT
          have a green background&lt;/s>
&lt;/div>
','escapedcode-css' => '@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
@namespace html url(http://www.w3.org/1999/xhtml);
*|p, *|q, *|r, *|s { display : block ; margin-bottom : 1em }
*|q { background-color : red }
div.stub *|*:not([*|title]) { background-color : lime }
','escapedcode-html' => '
&lt;div class="stub">
&lt;q xmlns="http://www.example.org/a" a:foo="si on chantait">This paragraph should 
          have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should NOT
          have a green background&lt;/r>
&lt;s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should NOT
          have a green background&lt;/s>
&lt;/div>
','def' => 'NEGATED Attribute existence selector with universal namespace','number' => '130','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => '@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
@namespace html url(http://www.w3.org/1999/xhtml);
*|p, *|q, *|r, *|s { display : block ; margin-bottom : 1em }
*|q { background-color : red }
div.stub *|*:not([*|title]) { background-color : lime }
','author' => ['Daniel Glazman'],'code-html' => '
<div class="stub">
<q xmlns="http://www.example.org/a" a:foo="si on chantait">This paragraph should 
          have a green background</q>
<r xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should NOT
          have a green background</r>
<s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should NOT
          have a green background</s>
</div>
','endTag' => '</s>','date' => '11-july-2001','code-xml' => '
<div xmlns="http://www.w3.org/1999/xhtml" class="stub">
<q xmlns="http://www.example.org/a" a:foo="si on chantait">This paragraph should 
          have a green background</q>
<r xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should NOT
          have a green background</r>
<s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should NOT
          have a green background</s>
</div>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','namespaced' => 1,'escapedcode-xhtml' => '
&lt;div class="stub">
&lt;q xmlns="http://www.example.org/a" a:foo="si on chantait">This paragraph should 
          have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should NOT
          have a green background&lt;/r>
&lt;s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should NOT
          have a green background&lt;/s>
&lt;/div>
','code-xhtml' => '
<div class="stub">
<q xmlns="http://www.example.org/a" a:foo="si on chantait">This paragraph should 
          have a green background</q>
<r xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should NOT
          have a green background</r>
<s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should NOT
          have a green background</s>
</div>
'},'css3-modsel-85' => {'rev' => '1.0','escapedcode-xml' => '
&lt;div xmlns="http://www.w3.org/1999/xhtml" class="stub">
  &lt;p class="red">This paragraph should have a green background&lt;/p>
  &lt;p>This paragraph should NOT have a green background&lt;/p>
  &lt;ul>
    &lt;li>All this list, including bullets, should NOT have a gr&lt;/li>
&lt;li>een background&lt;/li>
  &lt;/ul>
&lt;/div>
','escapedcode-css' => 'div.stub *:contains("red") { background-color : lime }
.red { background-color : red }','escapedcode-html' => '
&lt;div class="stub">
  &lt;p class="red">This paragraph should have a green background&lt;/p>
  &lt;p>This paragraph should NOT have a green background&lt;/p>
  &lt;ul>
    &lt;li>All this list, including bullets, should NOT have a gr&lt;/li>
&lt;li>een background&lt;/li>
  &lt;/ul>
&lt;/div>
','def' => 'NEGATED :contains() pseudo-class','number' => '85','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => 'div.stub *:contains("red") { background-color : lime }
.red { background-color : red }','author' => ['Daniel Glazman'],'code-html' => '
<div class="stub">
  <p class="red">This paragraph should have a green background</p>
  <p>This paragraph should NOT have a green background</p>
  <ul>
    <li>All this list, including bullets, should NOT have a gr</li>
<li>een background</li>
  </ul>
</div>
','endTag' => '</li>','date' => '11-july-2001','code-xml' => '
<div xmlns="http://www.w3.org/1999/xhtml" class="stub">
  <p class="red">This paragraph should have a green background</p>
  <p>This paragraph should NOT have a green background</p>
  <ul>
    <li>All this list, including bullets, should NOT have a gr</li>
<li>een background</li>
  </ul>
</div>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','escapedcode-xhtml' => '
&lt;div class="stub">
  &lt;p class="red">This paragraph should have a green background&lt;/p>
  &lt;p>This paragraph should NOT have a green background&lt;/p>
  &lt;ul>
    &lt;li>All this list, including bullets, should NOT have a gr&lt;/li>
&lt;li>een background&lt;/li>
  &lt;/ul>
&lt;/div>
','code-xhtml' => '
<div class="stub">
  <p class="red">This paragraph should have a green background</p>
  <p>This paragraph should NOT have a green background</p>
  <ul>
    <li>All this list, including bullets, should NOT have a gr</li>
<li>een background</li>
  </ul>
</div>
'},'css3-modsel-131' => {'rev' => '1.0','escapedcode-xml' => '
&lt;div xmlns="http://www.w3.org/1999/xhtml" class="stub">
&lt;q xmlns="http://www.example.org/a" a:foo="si on chantait">This paragraph should
          have a green background&lt;/q>
&lt;q xmlns="http://www.example.org/a" a:title="si nous chantions">This paragraph should
          have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should NOT
          have a green background&lt;/r>
&lt;s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should NOT
          have a green background&lt;/s>
&lt;/div>
','escapedcode-css' => '@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
@namespace html url(http://www.w3.org/1999/xhtml);
*|p, *|q, *|r, *|s { display : block ; margin-bottom : 1em }
*|q { background-color : red }
div.stub *|*:not([*|title="si on chantait"]) { background-color : lime }
','escapedcode-html' => '
&lt;div class="stub">
&lt;q xmlns="http://www.example.org/a" a:foo="si on chantait">This paragraph should
          have a green background&lt;/q>
&lt;q xmlns="http://www.example.org/a" a:title="si nous chantions">This paragraph should
          have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should NOT
          have a green background&lt;/r>
&lt;s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should NOT
          have a green background&lt;/s>
&lt;/div>
','def' => 'NEGATED Attribute value selector with universal namespace','number' => '131','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => '@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
@namespace html url(http://www.w3.org/1999/xhtml);
*|p, *|q, *|r, *|s { display : block ; margin-bottom : 1em }
*|q { background-color : red }
div.stub *|*:not([*|title="si on chantait"]) { background-color : lime }
','author' => ['Daniel Glazman'],'code-html' => '
<div class="stub">
<q xmlns="http://www.example.org/a" a:foo="si on chantait">This paragraph should
          have a green background</q>
<q xmlns="http://www.example.org/a" a:title="si nous chantions">This paragraph should
          have a green background</q>
<r xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should NOT
          have a green background</r>
<s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should NOT
          have a green background</s>
</div>
','endTag' => '</s>','date' => '11-july-2001','code-xml' => '
<div xmlns="http://www.w3.org/1999/xhtml" class="stub">
<q xmlns="http://www.example.org/a" a:foo="si on chantait">This paragraph should
          have a green background</q>
<q xmlns="http://www.example.org/a" a:title="si nous chantions">This paragraph should
          have a green background</q>
<r xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should NOT
          have a green background</r>
<s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should NOT
          have a green background</s>
</div>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','namespaced' => 1,'escapedcode-xhtml' => '
&lt;div class="stub">
&lt;q xmlns="http://www.example.org/a" a:foo="si on chantait">This paragraph should
          have a green background&lt;/q>
&lt;q xmlns="http://www.example.org/a" a:title="si nous chantions">This paragraph should
          have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should NOT
          have a green background&lt;/r>
&lt;s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should NOT
          have a green background&lt;/s>
&lt;/div>
','code-xhtml' => '
<div class="stub">
<q xmlns="http://www.example.org/a" a:foo="si on chantait">This paragraph should
          have a green background</q>
<q xmlns="http://www.example.org/a" a:title="si nous chantions">This paragraph should
          have a green background</q>
<r xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should NOT
          have a green background</r>
<s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should NOT
          have a green background</s>
</div>
'},'css3-modsel-86' => {'rev' => '1.0','escapedcode-xml' => '
&lt;html:blockquote xmlns="http://www.example.org/css3tests">
&lt;html:div>
&lt;html:div>
&lt;html:p>This text should be green.&lt;/html:p>
&lt;/html:div>
&lt;/html:div>
&lt;/html:blockquote>
','escapedcode-css' => 'p { color: red; }
blockquote > div p { color: green; }
','escapedcode-html' => '
&lt;html:blockquote xmlns="http://www.example.org/css3tests">
&lt;html:div>
&lt;html:div>
&lt;html:p>This text should be green.&lt;/html:p>
&lt;/html:div>
&lt;/html:div>
&lt;/html:blockquote>
','def' => 'Nondeterministic matching of descendant and child combinators','number' => '86','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => 'p { color: red; }
blockquote > div p { color: green; }
','author' => ['Daniel Glazman'],'code-html' => '
<html:blockquote xmlns="http://www.example.org/css3tests">
<html:div>
<html:div>
<html:p>This text should be green.</html:p>
</html:div>
</html:div>
</html:blockquote>
','endTag' => '</html:p>','date' => '11-july-2001','code-xml' => '
<html:blockquote xmlns="http://www.example.org/css3tests">
<html:div>
<html:div>
<html:p>This text should be green.</html:p>
</html:div>
</html:div>
</html:blockquote>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','namespaced' => 1,'escapedcode-xhtml' => '
&lt;html:blockquote xmlns="http://www.example.org/css3tests">
&lt;html:div>
&lt;html:div>
&lt;html:p>This text should be green.&lt;/html:p>
&lt;/html:div>
&lt;/html:div>
&lt;/html:blockquote>
','code-xhtml' => '
<html:blockquote xmlns="http://www.example.org/css3tests">
<html:div>
<html:div>
<html:p>This text should be green.</html:p>
</html:div>
</html:div>
</html:blockquote>
'},'css3-modsel-132' => {'rev' => '1.0','escapedcode-xml' => '
&lt;div xmlns="http://www.w3.org/1999/xhtml" class="stub">
&lt;p class="un deux trois">This paragraph should have NOT a green background&lt;/p>
&lt;p class="un deu trois">This paragraph should have a green background&lt;/p>
&lt;q xmlns="http://www.example.org/a" a:bar="un deux trois">This paragraph should 
          have a green background&lt;/q>
&lt;q xmlns="http://www.example.org/a" a:foo="un second deuxieme trois">This paragraph should 
          have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/a" a:foo="un deux trois">This paragraph should NOT
          have a green background&lt;/r>
&lt;s xmlns="http://www.example.org/b" b:foo="un deux trois">This paragraph should NOT
          have a green background&lt;/s>
&lt;/div>
','escapedcode-css' => '@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
@namespace html url(http://www.w3.org/1999/xhtml);
*|p, *|q, *|r, *|s { display : block ; margin-bottom : 1em }
*|p.deu, *|q { background-color : red }
div.stub html|*:not([*|class~="deux"]),
   div.stub *|*:not(html|*):not([*|foo~="deux"]) { background-color : lime }
','escapedcode-html' => '
&lt;div class="stub">
&lt;p class="un deux trois">This paragraph should have NOT a green background&lt;/p>
&lt;p class="un deu trois">This paragraph should have a green background&lt;/p>
&lt;q xmlns="http://www.example.org/a" a:bar="un deux trois">This paragraph should 
          have a green background&lt;/q>
&lt;q xmlns="http://www.example.org/a" a:foo="un second deuxieme trois">This paragraph should 
          have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/a" a:foo="un deux trois">This paragraph should NOT
          have a green background&lt;/r>
&lt;s xmlns="http://www.example.org/b" b:foo="un deux trois">This paragraph should NOT
          have a green background&lt;/s>
&lt;/div>
','def' => 'NEGATED Attribute space-separated value selector with universal namespace','number' => '132','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => '@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
@namespace html url(http://www.w3.org/1999/xhtml);
*|p, *|q, *|r, *|s { display : block ; margin-bottom : 1em }
*|p.deu, *|q { background-color : red }
div.stub html|*:not([*|class~="deux"]),
   div.stub *|*:not(html|*):not([*|foo~="deux"]) { background-color : lime }
','author' => ['Daniel Glazman'],'code-html' => '
<div class="stub">
<p class="un deux trois">This paragraph should have NOT a green background</p>
<p class="un deu trois">This paragraph should have a green background</p>
<q xmlns="http://www.example.org/a" a:bar="un deux trois">This paragraph should 
          have a green background</q>
<q xmlns="http://www.example.org/a" a:foo="un second deuxieme trois">This paragraph should 
          have a green background</q>
<r xmlns="http://www.example.org/a" a:foo="un deux trois">This paragraph should NOT
          have a green background</r>
<s xmlns="http://www.example.org/b" b:foo="un deux trois">This paragraph should NOT
          have a green background</s>
</div>
','endTag' => '</s>','date' => '11-july-2001','code-xml' => '
<div xmlns="http://www.w3.org/1999/xhtml" class="stub">
<p class="un deux trois">This paragraph should have NOT a green background</p>
<p class="un deu trois">This paragraph should have a green background</p>
<q xmlns="http://www.example.org/a" a:bar="un deux trois">This paragraph should 
          have a green background</q>
<q xmlns="http://www.example.org/a" a:foo="un second deuxieme trois">This paragraph should 
          have a green background</q>
<r xmlns="http://www.example.org/a" a:foo="un deux trois">This paragraph should NOT
          have a green background</r>
<s xmlns="http://www.example.org/b" b:foo="un deux trois">This paragraph should NOT
          have a green background</s>
</div>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','namespaced' => 1,'escapedcode-xhtml' => '
&lt;div class="stub">
&lt;p class="un deux trois">This paragraph should have NOT a green background&lt;/p>
&lt;p class="un deu trois">This paragraph should have a green background&lt;/p>
&lt;q xmlns="http://www.example.org/a" a:bar="un deux trois">This paragraph should 
          have a green background&lt;/q>
&lt;q xmlns="http://www.example.org/a" a:foo="un second deuxieme trois">This paragraph should 
          have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/a" a:foo="un deux trois">This paragraph should NOT
          have a green background&lt;/r>
&lt;s xmlns="http://www.example.org/b" b:foo="un deux trois">This paragraph should NOT
          have a green background&lt;/s>
&lt;/div>
','code-xhtml' => '
<div class="stub">
<p class="un deux trois">This paragraph should have NOT a green background</p>
<p class="un deu trois">This paragraph should have a green background</p>
<q xmlns="http://www.example.org/a" a:bar="un deux trois">This paragraph should 
          have a green background</q>
<q xmlns="http://www.example.org/a" a:foo="un second deuxieme trois">This paragraph should 
          have a green background</q>
<r xmlns="http://www.example.org/a" a:foo="un deux trois">This paragraph should NOT
          have a green background</r>
<s xmlns="http://www.example.org/b" b:foo="un deux trois">This paragraph should NOT
          have a green background</s>
</div>
'},'css3-modsel-87' => {'rev' => '1.0','escapedcode-xml' => '
&lt;blockquote xmlns="http://www.w3.org/1999/xhtml">This text should NOT be green.&lt;/blockquote>
&lt;div xmlns="http://www.w3.org/1999/xhtml">This text should NOT be green.&lt;/div>
&lt;div xmlns="http://www.w3.org/1999/xhtml">This text should NOT be green.&lt;/div>
&lt;p xmlns="http://www.w3.org/1999/xhtml">This text should be green.&lt;/p>
','escapedcode-css' => 'p { color: red; }
blockquote + div ~ p { color: green; }','escapedcode-html' => '
&lt;blockquote>This text should NOT be green.&lt;/blockquote>
&lt;div>This text should NOT be green.&lt;/div>
&lt;div>This text should NOT be green.&lt;/div>
&lt;p>This text should be green.&lt;/p>
','def' => 'Nondeterministic matching of direct and indirect adjacent combinators','number' => '87','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => 'p { color: red; }
blockquote + div ~ p { color: green; }','author' => ['Daniel Glazman'],'code-html' => '
<blockquote>This text should NOT be green.</blockquote>
<div>This text should NOT be green.</div>
<div>This text should NOT be green.</div>
<p>This text should be green.</p>
','endTag' => '</p>','date' => '11-july-2001','code-xml' => '
<blockquote xmlns="http://www.w3.org/1999/xhtml">This text should NOT be green.</blockquote>
<div xmlns="http://www.w3.org/1999/xhtml">This text should NOT be green.</div>
<div xmlns="http://www.w3.org/1999/xhtml">This text should NOT be green.</div>
<p xmlns="http://www.w3.org/1999/xhtml">This text should be green.</p>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','escapedcode-xhtml' => '
&lt;blockquote>This text should NOT be green.&lt;/blockquote>
&lt;div>This text should NOT be green.&lt;/div>
&lt;div>This text should NOT be green.&lt;/div>
&lt;p>This text should be green.&lt;/p>
','code-xhtml' => '
<blockquote>This text should NOT be green.</blockquote>
<div>This text should NOT be green.</div>
<div>This text should NOT be green.</div>
<p>This text should be green.</p>
'},'css3-modsel-133' => {'rev' => '1.0','escapedcode-xml' => '
&lt;div xmlns="http://www.w3.org/1999/xhtml" class="stub">
&lt;p lang="en-us">This paragraph should NOT have a green background&lt;/p>
&lt;p lang="fr" class="foo">This paragraph should have a green background&lt;/p>
&lt;q xmlns="http://www.example.org/a" a:foo="un-deux-trois">This paragraph should 
          have a green background&lt;/q>
&lt;q xmlns="http://www.example.org/a" a:foo="un-second-deuxieme-trois">This paragraph should 
          have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/a" a:foo="un-d-trois">This paragraph should NOT
          have a green background&lt;/r>
&lt;s xmlns="http://www.example.org/b" b:foo="un-d-trois">This paragraph should
          have a green background&lt;/s>
&lt;/div>
','escapedcode-css' => '@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
@namespace html url(http://www.w3.org/1999/xhtml);
*|p, *|q, *|r, *|s { display : block ; margin-bottom : 1em }
*|p.foo, *|q, *|s { background-color : red }
div.stub html|*:not([*|lang|="en"]),
  div.stub *|*:not(html|*):not([a|foo|="un-d"]) { background-color : lime }
','escapedcode-html' => '
&lt;div class="stub">
&lt;p lang="en-us">This paragraph should NOT have a green background&lt;/p>
&lt;p lang="fr" class="foo">This paragraph should have a green background&lt;/p>
&lt;q xmlns="http://www.example.org/a" a:foo="un-deux-trois">This paragraph should 
          have a green background&lt;/q>
&lt;q xmlns="http://www.example.org/a" a:foo="un-second-deuxieme-trois">This paragraph should 
          have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/a" a:foo="un-d-trois">This paragraph should NOT
          have a green background&lt;/r>
&lt;s xmlns="http://www.example.org/b" b:foo="un-d-trois">This paragraph should
          have a green background&lt;/s>
&lt;/div>
','def' => 'NEGATED Attribute dash-separated value selector with universal namespace','number' => '133','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => '@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
@namespace html url(http://www.w3.org/1999/xhtml);
*|p, *|q, *|r, *|s { display : block ; margin-bottom : 1em }
*|p.foo, *|q, *|s { background-color : red }
div.stub html|*:not([*|lang|="en"]),
  div.stub *|*:not(html|*):not([a|foo|="un-d"]) { background-color : lime }
','author' => ['Daniel Glazman'],'code-html' => '
<div class="stub">
<p lang="en-us">This paragraph should NOT have a green background</p>
<p lang="fr" class="foo">This paragraph should have a green background</p>
<q xmlns="http://www.example.org/a" a:foo="un-deux-trois">This paragraph should 
          have a green background</q>
<q xmlns="http://www.example.org/a" a:foo="un-second-deuxieme-trois">This paragraph should 
          have a green background</q>
<r xmlns="http://www.example.org/a" a:foo="un-d-trois">This paragraph should NOT
          have a green background</r>
<s xmlns="http://www.example.org/b" b:foo="un-d-trois">This paragraph should
          have a green background</s>
</div>
','endTag' => '</s>','date' => '11-july-2001','code-xml' => '
<div xmlns="http://www.w3.org/1999/xhtml" class="stub">
<p lang="en-us">This paragraph should NOT have a green background</p>
<p lang="fr" class="foo">This paragraph should have a green background</p>
<q xmlns="http://www.example.org/a" a:foo="un-deux-trois">This paragraph should 
          have a green background</q>
<q xmlns="http://www.example.org/a" a:foo="un-second-deuxieme-trois">This paragraph should 
          have a green background</q>
<r xmlns="http://www.example.org/a" a:foo="un-d-trois">This paragraph should NOT
          have a green background</r>
<s xmlns="http://www.example.org/b" b:foo="un-d-trois">This paragraph should
          have a green background</s>
</div>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','namespaced' => 1,'escapedcode-xhtml' => '
&lt;div class="stub">
&lt;p lang="en-us">This paragraph should NOT have a green background&lt;/p>
&lt;p lang="fr" class="foo">This paragraph should have a green background&lt;/p>
&lt;q xmlns="http://www.example.org/a" a:foo="un-deux-trois">This paragraph should 
          have a green background&lt;/q>
&lt;q xmlns="http://www.example.org/a" a:foo="un-second-deuxieme-trois">This paragraph should 
          have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/a" a:foo="un-d-trois">This paragraph should NOT
          have a green background&lt;/r>
&lt;s xmlns="http://www.example.org/b" b:foo="un-d-trois">This paragraph should
          have a green background&lt;/s>
&lt;/div>
','code-xhtml' => '
<div class="stub">
<p lang="en-us">This paragraph should NOT have a green background</p>
<p lang="fr" class="foo">This paragraph should have a green background</p>
<q xmlns="http://www.example.org/a" a:foo="un-deux-trois">This paragraph should 
          have a green background</q>
<q xmlns="http://www.example.org/a" a:foo="un-second-deuxieme-trois">This paragraph should 
          have a green background</q>
<r xmlns="http://www.example.org/a" a:foo="un-d-trois">This paragraph should NOT
          have a green background</r>
<s xmlns="http://www.example.org/b" b:foo="un-d-trois">This paragraph should
          have a green background</s>
</div>
'},'css3-modsel-88' => {'rev' => '1.0','escapedcode-xml' => '
&lt;blockquote xmlns="http://www.w3.org/1999/xhtml">This text should NOT be green.&lt;/blockquote>
&lt;div xmlns="http://www.w3.org/1999/xhtml">
&lt;div>
&lt;p>This text should be green.&lt;/p>
&lt;/div>
&lt;/div>
','escapedcode-css' => 'p { color: red; }
blockquote + div p { color: green; }','escapedcode-html' => '
&lt;blockquote>This text should NOT be green.&lt;/blockquote>
&lt;div>
&lt;div>
&lt;p>This text should be green.&lt;/p>
&lt;/div>
&lt;/div>
','def' => 'Nondeterministic matching of descendant and direct adjacent combinators','number' => '88','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => 'p { color: red; }
blockquote + div p { color: green; }','author' => ['Daniel Glazman'],'code-html' => '
<blockquote>This text should NOT be green.</blockquote>
<div>
<div>
<p>This text should be green.</p>
</div>
</div>
','endTag' => '</p>','date' => '11-july-2001','code-xml' => '
<blockquote xmlns="http://www.w3.org/1999/xhtml">This text should NOT be green.</blockquote>
<div xmlns="http://www.w3.org/1999/xhtml">
<div>
<p>This text should be green.</p>
</div>
</div>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','escapedcode-xhtml' => '
&lt;blockquote>This text should NOT be green.&lt;/blockquote>
&lt;div>
&lt;div>
&lt;p>This text should be green.&lt;/p>
&lt;/div>
&lt;/div>
','code-xhtml' => '
<blockquote>This text should NOT be green.</blockquote>
<div>
<div>
<p>This text should be green.</p>
</div>
</div>
'},'css3-modsel-134' => {'rev' => '1.0','escapedcode-xml' => '
&lt;div xmlns="http://www.w3.org/1999/xhtml" class="stub">
&lt;p title="si on chantait">This paragraph should NOT have a green background&lt;/p>
&lt;p title="si il chantait" class="red">This paragraph should have a green background&lt;/p>
&lt;q xmlns="http://www.example.org/a" a:title="si nous chantions">This paragraph should 
          have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should NOT
          have a green background&lt;/r>
&lt;s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should NOT
          have a green background&lt;/s>
&lt;t xmlns="http://www.example.org/b" b:ti="si on chantait">This paragraph should
          have a green background&lt;/t>
&lt;/div>
','escapedcode-css' => '@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
@namespace html url(http://www.w3.org/1999/xhtml);
*|p, *|q, *|r, *|s, *|t{ display : block ; margin-bottom : 1em }
*|p.red, *|q, *|t { background-color : red }
div.stub *|*:not([*|title^="si on"]) { background-color : lime }','escapedcode-html' => '
&lt;div class="stub">
&lt;p title="si on chantait">This paragraph should NOT have a green background&lt;/p>
&lt;p title="si il chantait" class="red">This paragraph should have a green background&lt;/p>
&lt;q xmlns="http://www.example.org/a" a:title="si nous chantions">This paragraph should 
          have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should NOT
          have a green background&lt;/r>
&lt;s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should NOT
          have a green background&lt;/s>
&lt;t xmlns="http://www.example.org/b" b:ti="si on chantait">This paragraph should
          have a green background&lt;/t>
&lt;/div>
','def' => 'NEGATED Substring matching attribute selector on beginning with universal namespace','number' => '134','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => '@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
@namespace html url(http://www.w3.org/1999/xhtml);
*|p, *|q, *|r, *|s, *|t{ display : block ; margin-bottom : 1em }
*|p.red, *|q, *|t { background-color : red }
div.stub *|*:not([*|title^="si on"]) { background-color : lime }','author' => ['Daniel Glazman'],'code-html' => '
<div class="stub">
<p title="si on chantait">This paragraph should NOT have a green background</p>
<p title="si il chantait" class="red">This paragraph should have a green background</p>
<q xmlns="http://www.example.org/a" a:title="si nous chantions">This paragraph should 
          have a green background</q>
<r xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should NOT
          have a green background</r>
<s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should NOT
          have a green background</s>
<t xmlns="http://www.example.org/b" b:ti="si on chantait">This paragraph should
          have a green background</t>
</div>
','endTag' => '</t>','date' => '11-july-2001','code-xml' => '
<div xmlns="http://www.w3.org/1999/xhtml" class="stub">
<p title="si on chantait">This paragraph should NOT have a green background</p>
<p title="si il chantait" class="red">This paragraph should have a green background</p>
<q xmlns="http://www.example.org/a" a:title="si nous chantions">This paragraph should 
          have a green background</q>
<r xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should NOT
          have a green background</r>
<s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should NOT
          have a green background</s>
<t xmlns="http://www.example.org/b" b:ti="si on chantait">This paragraph should
          have a green background</t>
</div>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','namespaced' => 1,'escapedcode-xhtml' => '
&lt;div class="stub">
&lt;p title="si on chantait">This paragraph should NOT have a green background&lt;/p>
&lt;p title="si il chantait" class="red">This paragraph should have a green background&lt;/p>
&lt;q xmlns="http://www.example.org/a" a:title="si nous chantions">This paragraph should 
          have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should NOT
          have a green background&lt;/r>
&lt;s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should NOT
          have a green background&lt;/s>
&lt;t xmlns="http://www.example.org/b" b:ti="si on chantait">This paragraph should
          have a green background&lt;/t>
&lt;/div>
','code-xhtml' => '
<div class="stub">
<p title="si on chantait">This paragraph should NOT have a green background</p>
<p title="si il chantait" class="red">This paragraph should have a green background</p>
<q xmlns="http://www.example.org/a" a:title="si nous chantions">This paragraph should 
          have a green background</q>
<r xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should NOT
          have a green background</r>
<s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should NOT
          have a green background</s>
<t xmlns="http://www.example.org/b" b:ti="si on chantait">This paragraph should
          have a green background</t>
</div>
'},'css3-modsel-89' => {'rev' => '1.0','escapedcode-xml' => '
&lt;blockquote xmlns="http://www.w3.org/1999/xhtml">
&lt;div>
&lt;div>
&lt;p>This text should be green.&lt;/p>
&lt;/div>
&lt;/div>
&lt;/blockquote>
','escapedcode-css' => 'p { color: red; }
blockquote div > p { color: green; }','escapedcode-html' => '
&lt;blockquote>
&lt;div>
&lt;div>
&lt;p>This text should be green.&lt;/p>
&lt;/div>
&lt;/div>
&lt;/blockquote>
','def' => 'Simple combination of descendant and child combinators','number' => '89','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => 'p { color: red; }
blockquote div > p { color: green; }','author' => ['Daniel Glazman'],'code-html' => '
<blockquote>
<div>
<div>
<p>This text should be green.</p>
</div>
</div>
</blockquote>
','endTag' => '</p>','date' => '11-july-2001','code-xml' => '
<blockquote xmlns="http://www.w3.org/1999/xhtml">
<div>
<div>
<p>This text should be green.</p>
</div>
</div>
</blockquote>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','escapedcode-xhtml' => '
&lt;blockquote>
&lt;div>
&lt;div>
&lt;p>This text should be green.&lt;/p>
&lt;/div>
&lt;/div>
&lt;/blockquote>
','code-xhtml' => '
<blockquote>
<div>
<div>
<p>This text should be green.</p>
</div>
</div>
</blockquote>
'},'css3-modsel-135' => {'rev' => '1.0','escapedcode-xml' => '
&lt;div xmlns="http://www.w3.org/1999/xhtml" class="stub">
&lt;p title="si on chantait">This paragraph should NOT have a green background&lt;/p>
&lt;p title="si tu chantais" class="red">This paragraph should have a green background&lt;/p>
&lt;q xmlns="http://www.example.org/a" a:title="si nous chantions">This paragraph should
          have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should NOT
          have a green background&lt;/r>
&lt;s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should NOT
          have a green background&lt;/s>
&lt;t xmlns="http://www.example.org/b" b:ti="si on chantait">This paragraph should
          have a green background&lt;/t>
&lt;/div>
','escapedcode-css' => '@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
@namespace html url(http://www.w3.org/1999/xhtml);
*|p, *|q, *|r, *|s, *|t{ display : block ; margin-bottom : 1em }
*|p.red, *|q, *|t { background-color : red }
div.stub *|*:not([*|title$="tait"]) { background-color : lime }','escapedcode-html' => '
&lt;div class="stub">
&lt;p title="si on chantait">This paragraph should NOT have a green background&lt;/p>
&lt;p title="si tu chantais" class="red">This paragraph should have a green background&lt;/p>
&lt;q xmlns="http://www.example.org/a" a:title="si nous chantions">This paragraph should
          have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should NOT
          have a green background&lt;/r>
&lt;s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should NOT
          have a green background&lt;/s>
&lt;t xmlns="http://www.example.org/b" b:ti="si on chantait">This paragraph should
          have a green background&lt;/t>
&lt;/div>
','def' => 'NEGATED Substring matching attribute selector on end with universal namespace','number' => '135','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => '@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
@namespace html url(http://www.w3.org/1999/xhtml);
*|p, *|q, *|r, *|s, *|t{ display : block ; margin-bottom : 1em }
*|p.red, *|q, *|t { background-color : red }
div.stub *|*:not([*|title$="tait"]) { background-color : lime }','author' => ['Daniel Glazman'],'code-html' => '
<div class="stub">
<p title="si on chantait">This paragraph should NOT have a green background</p>
<p title="si tu chantais" class="red">This paragraph should have a green background</p>
<q xmlns="http://www.example.org/a" a:title="si nous chantions">This paragraph should
          have a green background</q>
<r xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should NOT
          have a green background</r>
<s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should NOT
          have a green background</s>
<t xmlns="http://www.example.org/b" b:ti="si on chantait">This paragraph should
          have a green background</t>
</div>
','endTag' => '</t>','date' => '11-july-2001','code-xml' => '
<div xmlns="http://www.w3.org/1999/xhtml" class="stub">
<p title="si on chantait">This paragraph should NOT have a green background</p>
<p title="si tu chantais" class="red">This paragraph should have a green background</p>
<q xmlns="http://www.example.org/a" a:title="si nous chantions">This paragraph should
          have a green background</q>
<r xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should NOT
          have a green background</r>
<s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should NOT
          have a green background</s>
<t xmlns="http://www.example.org/b" b:ti="si on chantait">This paragraph should
          have a green background</t>
</div>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','namespaced' => 1,'escapedcode-xhtml' => '
&lt;div class="stub">
&lt;p title="si on chantait">This paragraph should NOT have a green background&lt;/p>
&lt;p title="si tu chantais" class="red">This paragraph should have a green background&lt;/p>
&lt;q xmlns="http://www.example.org/a" a:title="si nous chantions">This paragraph should
          have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should NOT
          have a green background&lt;/r>
&lt;s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should NOT
          have a green background&lt;/s>
&lt;t xmlns="http://www.example.org/b" b:ti="si on chantait">This paragraph should
          have a green background&lt;/t>
&lt;/div>
','code-xhtml' => '
<div class="stub">
<p title="si on chantait">This paragraph should NOT have a green background</p>
<p title="si tu chantais" class="red">This paragraph should have a green background</p>
<q xmlns="http://www.example.org/a" a:title="si nous chantions">This paragraph should
          have a green background</q>
<r xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should NOT
          have a green background</r>
<s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should NOT
          have a green background</s>
<t xmlns="http://www.example.org/b" b:ti="si on chantait">This paragraph should
          have a green background</t>
</div>
'},'css3-modsel-136' => {'rev' => '1.0','escapedcode-xml' => '
&lt;div xmlns="http://www.w3.org/1999/xhtml" class="stub">
&lt;p title="si on chantait">This paragraph should NOT have a green background&lt;/p>
&lt;p title="si il chantait" class="red">This paragraph should have a green background&lt;/p>
&lt;q xmlns="http://www.example.org/a" a:title="si nous chantions">This paragraph should 
          have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should NOT
          have a green background&lt;/r>
&lt;s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should NOT
          have a green background&lt;/s>
&lt;t xmlns="http://www.example.org/b" b:ti="si on chantait">This paragraph should 
          have a green background&lt;/t>
&lt;/div>
','escapedcode-css' => '@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
@namespace html url(http://www.w3.org/1999/xhtml);
*|p, *|q, *|r, *|s, *|t{ display : block ; margin-bottom : 1em }
*|p.red, *|q, *|t { background-color : red }
div.stub *|*:not([*|title*="on ch"]) { background-color : lime }
','escapedcode-html' => '
&lt;div class="stub">
&lt;p title="si on chantait">This paragraph should NOT have a green background&lt;/p>
&lt;p title="si il chantait" class="red">This paragraph should have a green background&lt;/p>
&lt;q xmlns="http://www.example.org/a" a:title="si nous chantions">This paragraph should 
          have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should NOT
          have a green background&lt;/r>
&lt;s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should NOT
          have a green background&lt;/s>
&lt;t xmlns="http://www.example.org/b" b:ti="si on chantait">This paragraph should 
          have a green background&lt;/t>
&lt;/div>
','def' => 'NEGATED Substring matching attribute selector on middle with universal namespace','number' => '136','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => '@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
@namespace html url(http://www.w3.org/1999/xhtml);
*|p, *|q, *|r, *|s, *|t{ display : block ; margin-bottom : 1em }
*|p.red, *|q, *|t { background-color : red }
div.stub *|*:not([*|title*="on ch"]) { background-color : lime }
','author' => ['Daniel Glazman'],'code-html' => '
<div class="stub">
<p title="si on chantait">This paragraph should NOT have a green background</p>
<p title="si il chantait" class="red">This paragraph should have a green background</p>
<q xmlns="http://www.example.org/a" a:title="si nous chantions">This paragraph should 
          have a green background</q>
<r xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should NOT
          have a green background</r>
<s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should NOT
          have a green background</s>
<t xmlns="http://www.example.org/b" b:ti="si on chantait">This paragraph should 
          have a green background</t>
</div>
','endTag' => '</t>','date' => '11-july-2001','code-xml' => '
<div xmlns="http://www.w3.org/1999/xhtml" class="stub">
<p title="si on chantait">This paragraph should NOT have a green background</p>
<p title="si il chantait" class="red">This paragraph should have a green background</p>
<q xmlns="http://www.example.org/a" a:title="si nous chantions">This paragraph should 
          have a green background</q>
<r xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should NOT
          have a green background</r>
<s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should NOT
          have a green background</s>
<t xmlns="http://www.example.org/b" b:ti="si on chantait">This paragraph should 
          have a green background</t>
</div>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','namespaced' => 1,'escapedcode-xhtml' => '
&lt;div class="stub">
&lt;p title="si on chantait">This paragraph should NOT have a green background&lt;/p>
&lt;p title="si il chantait" class="red">This paragraph should have a green background&lt;/p>
&lt;q xmlns="http://www.example.org/a" a:title="si nous chantions">This paragraph should 
          have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should NOT
          have a green background&lt;/r>
&lt;s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should NOT
          have a green background&lt;/s>
&lt;t xmlns="http://www.example.org/b" b:ti="si on chantait">This paragraph should 
          have a green background&lt;/t>
&lt;/div>
','code-xhtml' => '
<div class="stub">
<p title="si on chantait">This paragraph should NOT have a green background</p>
<p title="si il chantait" class="red">This paragraph should have a green background</p>
<q xmlns="http://www.example.org/a" a:title="si nous chantions">This paragraph should 
          have a green background</q>
<r xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should NOT
          have a green background</r>
<s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should NOT
          have a green background</s>
<t xmlns="http://www.example.org/b" b:ti="si on chantait">This paragraph should 
          have a green background</t>
</div>
'},'css3-modsel-137' => {'rev' => '1.0','escapedcode-xml' => '
&lt;div xmlns="http://www.w3.org/1999/xhtml" class="stub">
&lt;q xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should
          have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/a" title="si on chantait">This paragraph should NOT
          have a green background&lt;/r>
&lt;/div>
','escapedcode-css' => '@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
@namespace html url(http://www.w3.org/1999/xhtml);
*|q, *|r { display : block ; margin-bottom : 1em }
*|q { background-color : red }
div.stub *|*:not([|title]) { background-color : lime }','escapedcode-html' => '
&lt;div class="stub">
&lt;q xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should
          have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/a" title="si on chantait">This paragraph should NOT
          have a green background&lt;/r>
&lt;/div>
','def' => 'NEGATED Attribute existence selector without declared namespace','number' => '137','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => '@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
@namespace html url(http://www.w3.org/1999/xhtml);
*|q, *|r { display : block ; margin-bottom : 1em }
*|q { background-color : red }
div.stub *|*:not([|title]) { background-color : lime }','author' => ['Daniel Glazman'],'code-html' => '
<div class="stub">
<q xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should
          have a green background</q>
<r xmlns="http://www.example.org/a" title="si on chantait">This paragraph should NOT
          have a green background</r>
</div>
','endTag' => '</r>','date' => '11-july-2001','code-xml' => '
<div xmlns="http://www.w3.org/1999/xhtml" class="stub">
<q xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should
          have a green background</q>
<r xmlns="http://www.example.org/a" title="si on chantait">This paragraph should NOT
          have a green background</r>
</div>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','namespaced' => 1,'escapedcode-xhtml' => '
&lt;div class="stub">
&lt;q xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should
          have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/a" title="si on chantait">This paragraph should NOT
          have a green background&lt;/r>
&lt;/div>
','code-xhtml' => '
<div class="stub">
<q xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should
          have a green background</q>
<r xmlns="http://www.example.org/a" title="si on chantait">This paragraph should NOT
          have a green background</r>
</div>
'},'css3-modsel-138' => {'rev' => '1.0','escapedcode-xml' => '
&lt;div xmlns="http://www.w3.org/1999/xhtml" class="stub">
&lt;q xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should 
          have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/a" title="si on chantait">This paragraph should NOT
          have a green background&lt;/r>
&lt;s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should 
          have a green background&lt;/s>
&lt;t xmlns="http://www.example.org/b" title="si nous chantions">This paragraph should 
          have a green background&lt;/t>
&lt;/div>
','escapedcode-css' => '@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
@namespace html url(http://www.w3.org/1999/xhtml);
*|q, *|r, *|s, *|t{ display : block ; margin-bottom : 1em }
*|q, *|s, *|t { background-color : red }
div.stub *|*:not([|title="si on chantait"]) { background-color : lime }','escapedcode-html' => '
&lt;div class="stub">
&lt;q xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should 
          have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/a" title="si on chantait">This paragraph should NOT
          have a green background&lt;/r>
&lt;s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should 
          have a green background&lt;/s>
&lt;t xmlns="http://www.example.org/b" title="si nous chantions">This paragraph should 
          have a green background&lt;/t>
&lt;/div>
','def' => 'NEGATED Attribute value selector without declared namespace','number' => '138','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => '@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
@namespace html url(http://www.w3.org/1999/xhtml);
*|q, *|r, *|s, *|t{ display : block ; margin-bottom : 1em }
*|q, *|s, *|t { background-color : red }
div.stub *|*:not([|title="si on chantait"]) { background-color : lime }','author' => ['Daniel Glazman'],'code-html' => '
<div class="stub">
<q xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should 
          have a green background</q>
<r xmlns="http://www.example.org/a" title="si on chantait">This paragraph should NOT
          have a green background</r>
<s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should 
          have a green background</s>
<t xmlns="http://www.example.org/b" title="si nous chantions">This paragraph should 
          have a green background</t>
</div>
','endTag' => '</t>','date' => '11-july-2001','code-xml' => '
<div xmlns="http://www.w3.org/1999/xhtml" class="stub">
<q xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should 
          have a green background</q>
<r xmlns="http://www.example.org/a" title="si on chantait">This paragraph should NOT
          have a green background</r>
<s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should 
          have a green background</s>
<t xmlns="http://www.example.org/b" title="si nous chantions">This paragraph should 
          have a green background</t>
</div>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','namespaced' => 1,'escapedcode-xhtml' => '
&lt;div class="stub">
&lt;q xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should 
          have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/a" title="si on chantait">This paragraph should NOT
          have a green background&lt;/r>
&lt;s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should 
          have a green background&lt;/s>
&lt;t xmlns="http://www.example.org/b" title="si nous chantions">This paragraph should 
          have a green background&lt;/t>
&lt;/div>
','code-xhtml' => '
<div class="stub">
<q xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should 
          have a green background</q>
<r xmlns="http://www.example.org/a" title="si on chantait">This paragraph should NOT
          have a green background</r>
<s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should 
          have a green background</s>
<t xmlns="http://www.example.org/b" title="si nous chantions">This paragraph should 
          have a green background</t>
</div>
'},'css3-modsel-139' => {'rev' => '1.0','escapedcode-xml' => '
&lt;div xmlns="http://www.w3.org/1999/xhtml" class="stub">
&lt;p class="bar foo toto">This paragraph should NOT have a green background&lt;/p>
&lt;address class="bar foofoo toto">This address should have a green background&lt;/address>
&lt;q xmlns="http://www.example.org/a" class="bar foo toto">This paragraph should NOT
             have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/b" b:class="bar foo toto">This paragraph should
             have a green background&lt;/r>
&lt;/div>
','escapedcode-css' => '@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
@namespace html url(http://www.w3.org/1999/xhtml);
*|p, *|address, *|q, *|r { display : block ; margin-bottom : 1em }
*|address, *|r { background-color : red }
div.stub *|*:not([|class~="foo"]) { background-color : lime }','escapedcode-html' => '
&lt;div class="stub">
&lt;p class="bar foo toto">This paragraph should NOT have a green background&lt;/p>
&lt;address class="bar foofoo toto">This address should have a green background&lt;/address>
&lt;q xmlns="http://www.example.org/a" class="bar foo toto">This paragraph should NOT
             have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/b" b:class="bar foo toto">This paragraph should
             have a green background&lt;/r>
&lt;/div>
','def' => 'NEGATED Attribute space-separated value selector without declared namespace','number' => '139','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => '@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
@namespace html url(http://www.w3.org/1999/xhtml);
*|p, *|address, *|q, *|r { display : block ; margin-bottom : 1em }
*|address, *|r { background-color : red }
div.stub *|*:not([|class~="foo"]) { background-color : lime }','author' => ['Daniel Glazman'],'code-html' => '
<div class="stub">
<p class="bar foo toto">This paragraph should NOT have a green background</p>
<address class="bar foofoo toto">This address should have a green background</address>
<q xmlns="http://www.example.org/a" class="bar foo toto">This paragraph should NOT
             have a green background</q>
<r xmlns="http://www.example.org/b" b:class="bar foo toto">This paragraph should
             have a green background</r>
</div>
','endTag' => '</r>','date' => '11-july-2001','code-xml' => '
<div xmlns="http://www.w3.org/1999/xhtml" class="stub">
<p class="bar foo toto">This paragraph should NOT have a green background</p>
<address class="bar foofoo toto">This address should have a green background</address>
<q xmlns="http://www.example.org/a" class="bar foo toto">This paragraph should NOT
             have a green background</q>
<r xmlns="http://www.example.org/b" b:class="bar foo toto">This paragraph should
             have a green background</r>
</div>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','namespaced' => 1,'escapedcode-xhtml' => '
&lt;div class="stub">
&lt;p class="bar foo toto">This paragraph should NOT have a green background&lt;/p>
&lt;address class="bar foofoo toto">This address should have a green background&lt;/address>
&lt;q xmlns="http://www.example.org/a" class="bar foo toto">This paragraph should NOT
             have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/b" b:class="bar foo toto">This paragraph should
             have a green background&lt;/r>
&lt;/div>
','code-xhtml' => '
<div class="stub">
<p class="bar foo toto">This paragraph should NOT have a green background</p>
<address class="bar foofoo toto">This address should have a green background</address>
<q xmlns="http://www.example.org/a" class="bar foo toto">This paragraph should NOT
             have a green background</q>
<r xmlns="http://www.example.org/b" b:class="bar foo toto">This paragraph should
             have a green background</r>
</div>
'},'css3-modsel-10' => {'rev' => '1.0','escapedcode-xml' => '
&lt;p xmlns="http://www.w3.org/1999/xhtml" title="foobar">This paragraph should have a green background because&lt;br>&lt;/br>
its title attribute ends with "bar"&lt;/p>
','escapedcode-css' => 'p { background-color : red }
p[title$="bar"] { background-color : lime }','escapedcode-html' => '
&lt;p title="foobar">This paragraph should have a green background because&lt;br>&lt;/br>
its title attribute ends with "bar"&lt;/p>
','def' => 'Substring matching attribute selector (end)','number' => '10','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => 'p { background-color : red }
p[title$="bar"] { background-color : lime }','author' => ['Daniel Glazman'],'code-html' => '
<p title="foobar">This paragraph should have a green background because<br></br>
its title attribute ends with "bar"</p>
','endTag' => '</br>','date' => '11-july-2001','code-xml' => '
<p xmlns="http://www.w3.org/1999/xhtml" title="foobar">This paragraph should have a green background because<br></br>
its title attribute ends with "bar"</p>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b"','escapedcode-xhtml' => '
&lt;p title="foobar">This paragraph should have a green background because&lt;br>&lt;/br>
its title attribute ends with "bar"&lt;/p>
','code-xhtml' => '
<p title="foobar">This paragraph should have a green background because<br></br>
its title attribute ends with "bar"</p>
'},'css3-modsel-11' => {'rev' => '1.0','escapedcode-xml' => '
&lt;p xmlns="http://www.w3.org/1999/xhtml" title="foobarufoo">This paragraph should have a green background because&lt;br>&lt;/br>
its title attribute contains "bar"&lt;/p>
','escapedcode-css' => 'p { background-color : red }
p[title*="bar"] { background-color : lime }','escapedcode-html' => '
&lt;p title="foobarufoo">This paragraph should have a green background because&lt;br>&lt;/br>
its title attribute contains "bar"&lt;/p>
','def' => 'Substring matching attribute selector (contains)','number' => '11','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => 'p { background-color : red }
p[title*="bar"] { background-color : lime }','author' => ['Daniel Glazman'],'code-html' => '
<p title="foobarufoo">This paragraph should have a green background because<br></br>
its title attribute contains "bar"</p>
','endTag' => '</br>','date' => '11-july-2001','code-xml' => '
<p xmlns="http://www.w3.org/1999/xhtml" title="foobarufoo">This paragraph should have a green background because<br></br>
its title attribute contains "bar"</p>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b"','escapedcode-xhtml' => '
&lt;p title="foobarufoo">This paragraph should have a green background because&lt;br>&lt;/br>
its title attribute contains "bar"&lt;/p>
','code-xhtml' => '
<p title="foobarufoo">This paragraph should have a green background because<br></br>
its title attribute contains "bar"</p>
'},'css3-modsel-12' => {'rev' => '1.0','escapedcode-xml' => '
&lt;form xmlns="http://www.w3.org/1999/xhtml" action="http://www.example.org/foo.cgi">
&lt;p>The content of this form should
                have a lime background&lt;/p>
&lt;/form>
','escapedcode-css' => 'form { background-color : lime }
form[method] { background-color : red }
form[method="get"] { background-color : red }','escapedcode-html' => '
&lt;form action="http://www.example.org/foo.cgi">
&lt;p>The content of this form should
                have a lime background&lt;/p>
&lt;/form>
','def' => 'Default attribute value','number' => '12','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => 'form { background-color : lime }
form[method] { background-color : red }
form[method="get"] { background-color : red }','author' => ['Daniel Glazman'],'code-html' => '
<form action="http://www.example.org/foo.cgi">
<p>The content of this form should
                have a lime background</p>
</form>
','endTag' => '</p>','date' => '11-july-2001','code-xml' => '
<form xmlns="http://www.w3.org/1999/xhtml" action="http://www.example.org/foo.cgi">
<p>The content of this form should
                have a lime background</p>
</form>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','escapedcode-xhtml' => '
&lt;form action="http://www.example.org/foo.cgi">
&lt;p>The content of this form should
                have a lime background&lt;/p>
&lt;/form>
','code-xhtml' => '
<form action="http://www.example.org/foo.cgi">
<p>The content of this form should
                have a lime background</p>
</form>
'},'css3-modsel-13' => {'rev' => '1.0','escapedcode-xml' => '
&lt;ul xmlns="http://www.w3.org/1999/xhtml">
  &lt;li class="t1">This list item should have green background because its class is "t1"&lt;/li>
  &lt;li class="t2">This list item should have green background because its class is "t2"&lt;/li>
  &lt;li class="t2">
&lt;span class="t33">This list item should have green background because 
        the inner SPAN does not match SPAN.t3&lt;/span>
&lt;/li>
&lt;/ul>
','escapedcode-css' => 'li { background-color : red }
.t1 { background-color : lime }
li.t2 { background-color : lime }
.t3 { background-color : red }','escapedcode-html' => '
&lt;ul>
  &lt;li class="t1">This list item should have green background because its class is "t1"&lt;/li>
  &lt;li class="t2">This list item should have green background because its class is "t2"&lt;/li>
  &lt;li class="t2">
&lt;span class="t33">This list item should have green background because 
        the inner SPAN does not match SPAN.t3&lt;/span>
&lt;/li>
&lt;/ul>
','def' => 'Class selectors','number' => '13','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => 'li { background-color : red }
.t1 { background-color : lime }
li.t2 { background-color : lime }
.t3 { background-color : red }','author' => ['Daniel Glazman'],'code-html' => '
<ul>
  <li class="t1">This list item should have green background because its class is "t1"</li>
  <li class="t2">This list item should have green background because its class is "t2"</li>
  <li class="t2">
<span class="t33">This list item should have green background because 
        the inner SPAN does not match SPAN.t3</span>
</li>
</ul>
','endTag' => '</span>','date' => '11-july-2001','code-xml' => '
<ul xmlns="http://www.w3.org/1999/xhtml">
  <li class="t1">This list item should have green background because its class is "t1"</li>
  <li class="t2">This list item should have green background because its class is "t2"</li>
  <li class="t2">
<span class="t33">This list item should have green background because 
        the inner SPAN does not match SPAN.t3</span>
</li>
</ul>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','escapedcode-xhtml' => '
&lt;ul>
  &lt;li class="t1">This list item should have green background because its class is "t1"&lt;/li>
  &lt;li class="t2">This list item should have green background because its class is "t2"&lt;/li>
  &lt;li class="t2">
&lt;span class="t33">This list item should have green background because 
        the inner SPAN does not match SPAN.t3&lt;/span>
&lt;/li>
&lt;/ul>
','code-xhtml' => '
<ul>
  <li class="t1">This list item should have green background because its class is "t1"</li>
  <li class="t2">This list item should have green background because its class is "t2"</li>
  <li class="t2">
<span class="t33">This list item should have green background because 
        the inner SPAN does not match SPAN.t3</span>
</li>
</ul>
'},'css3-modsel-1' => {'rev' => '1.0','escapedcode-xml' => '
&lt;ul xmlns="http://www.w3.org/1999/xhtml">
  &lt;li>The background of this list item should be green&lt;/li>
  &lt;li>The background of this second list item should be also green&lt;/li>
&lt;/ul>
&lt;p xmlns="http://www.w3.org/1999/xhtml">The background of this paragraph should be green.&lt;/p>
','escapedcode-css' => 'li,p { background-color : lime }','escapedcode-html' => '
&lt;ul>
  &lt;li>The background of this list item should be green&lt;/li>
  &lt;li>The background of this second list item should be also green&lt;/li>
&lt;/ul>
&lt;p>The background of this paragraph should be green.&lt;/p>
','def' => 'Groups of selectors','number' => '1','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => 'li,p { background-color : lime }','author' => ['Daniel Glazman'],'code-html' => '
<ul>
  <li>The background of this list item should be green</li>
  <li>The background of this second list item should be also green</li>
</ul>
<p>The background of this paragraph should be green.</p>
','endTag' => '</p>','date' => '11-july-2001','code-xml' => '
<ul xmlns="http://www.w3.org/1999/xhtml">
  <li>The background of this list item should be green</li>
  <li>The background of this second list item should be also green</li>
</ul>
<p xmlns="http://www.w3.org/1999/xhtml">The background of this paragraph should be green.</p>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','escapedcode-xhtml' => '
&lt;ul>
  &lt;li>The background of this list item should be green&lt;/li>
  &lt;li>The background of this second list item should be also green&lt;/li>
&lt;/ul>
&lt;p>The background of this paragraph should be green.&lt;/p>
','code-xhtml' => '
<ul>
  <li>The background of this list item should be green</li>
  <li>The background of this second list item should be also green</li>
</ul>
<p>The background of this paragraph should be green.</p>
'},'css3-modsel-14' => {'rev' => '1.0','escapedcode-xml' => '
&lt;p xmlns="http://www.w3.org/1999/xhtml" class="t1 t2">This paragraph should have white background and a green thick solid
             border because it carries both classes t1 and t2&lt;/p>
','escapedcode-css' => 'p { background-color : red ; border : thick solid red ; padding : 1em }
p.t1 { background-color : white }
p.t2 { border : thick solid lime }','escapedcode-html' => '
&lt;p class="t1 t2">This paragraph should have white background and a green thick solid
             border because it carries both classes t1 and t2&lt;/p>
','def' => 'More than one class selector','number' => '14','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => 'p { background-color : red ; border : thick solid red ; padding : 1em }
p.t1 { background-color : white }
p.t2 { border : thick solid lime }','author' => ['Daniel Glazman'],'code-html' => '
<p class="t1 t2">This paragraph should have white background and a green thick solid
             border because it carries both classes t1 and t2</p>
','endTag' => '</p>','date' => '11-july-2001','code-xml' => '
<p xmlns="http://www.w3.org/1999/xhtml" class="t1 t2">This paragraph should have white background and a green thick solid
             border because it carries both classes t1 and t2</p>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','escapedcode-xhtml' => '
&lt;p class="t1 t2">This paragraph should have white background and a green thick solid
             border because it carries both classes t1 and t2&lt;/p>
','code-xhtml' => '
<p class="t1 t2">This paragraph should have white background and a green thick solid
             border because it carries both classes t1 and t2</p>
'},'css3-modsel-2' => {'rev' => '1.1','escapedcode-xml' => '
&lt;address xmlns="http://www.w3.org/1999/xhtml">This address element should have a green background.&lt;/address>
','escapedcode-css' => 'address { background-color: lime }','escapedcode-html' => '
&lt;address>This address element should have a green background.&lt;/address>
','def' => 'Type element selectors','number' => '2','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => 'address { background-color: lime }','author' => ['Daniel Glazman','Ian Hickson'],'code-html' => '
<address>This address element should have a green background.</address>
','endTag' => '</address>','date' => '03-november-2001','code-xml' => '
<address xmlns="http://www.w3.org/1999/xhtml">This address element should have a green background.</address>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b"','escapedcode-xhtml' => '
&lt;address>This address element should have a green background.&lt;/address>
','code-xhtml' => '
<address>This address element should have a green background.</address>
'},'css3-modsel-15' => {'rev' => '1.0','escapedcode-xml' => '
&lt;ul xmlns="http://www.w3.org/1999/xhtml">
  &lt;li id="t1">This list item should have green background because its ID is "t1"&lt;/li>
  &lt;li id="t2">This list item should havebe green background because its ID is "t2"&lt;/li>
  &lt;li id="t3">
&lt;span id="t44">This list item should have green background because the inner SPAN
                 does not match SPAN#t4&lt;/span>
&lt;/li>
&lt;/ul>
','escapedcode-css' => 'li { background-color : red }
#t1 { background-color : lime }
li#t2 { background-color : lime }
li#t3 { background-color : lime }
#t4 { background-color : red }','escapedcode-html' => '
&lt;ul>
  &lt;li id="t1">This list item should have green background because its ID is "t1"&lt;/li>
  &lt;li id="t2">This list item should havebe green background because its ID is "t2"&lt;/li>
  &lt;li id="t3">
&lt;span id="t44">This list item should have green background because the inner SPAN
                 does not match SPAN#t4&lt;/span>
&lt;/li>
&lt;/ul>
','def' => 'ID selectors','number' => '15','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => 'li { background-color : red }
#t1 { background-color : lime }
li#t2 { background-color : lime }
li#t3 { background-color : lime }
#t4 { background-color : red }','author' => ['Daniel Glazman'],'code-html' => '
<ul>
  <li id="t1">This list item should have green background because its ID is "t1"</li>
  <li id="t2">This list item should havebe green background because its ID is "t2"</li>
  <li id="t3">
<span id="t44">This list item should have green background because the inner SPAN
                 does not match SPAN#t4</span>
</li>
</ul>
','endTag' => '</span>','date' => '11-july-2001','code-xml' => '
<ul xmlns="http://www.w3.org/1999/xhtml">
  <li id="t1">This list item should have green background because its ID is "t1"</li>
  <li id="t2">This list item should havebe green background because its ID is "t2"</li>
  <li id="t3">
<span id="t44">This list item should have green background because the inner SPAN
                 does not match SPAN#t4</span>
</li>
</ul>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','escapedcode-xhtml' => '
&lt;ul>
  &lt;li id="t1">This list item should have green background because its ID is "t1"&lt;/li>
  &lt;li id="t2">This list item should havebe green background because its ID is "t2"&lt;/li>
  &lt;li id="t3">
&lt;span id="t44">This list item should have green background because the inner SPAN
                 does not match SPAN#t4&lt;/span>
&lt;/li>
&lt;/ul>
','code-xhtml' => '
<ul>
  <li id="t1">This list item should have green background because its ID is "t1"</li>
  <li id="t2">This list item should havebe green background because its ID is "t2"</li>
  <li id="t3">
<span id="t44">This list item should have green background because the inner SPAN
                 does not match SPAN#t4</span>
</li>
</ul>
'},'css3-modsel-3' => {'rev' => '1.0','escapedcode-xml' => '
&lt;p xmlns="http://www.w3.org/1999/xhtml">
&lt;span class="t1">This paragraph, and all textual contents in the document, 
      should be green.&lt;/span>
&lt;/p>
&lt;ul xmlns="http://www.w3.org/1999/xhtml">
  &lt;li class="t1">This item should be green.&lt;/li>
&lt;/ul>
&lt;foo xmlns="http://www.example.org/a">And this element, part of a non-HTML namespace,
      should be green too&lt;/foo>
','escapedcode-css' => '* { color : lime }
ul, p { color : red }
*.t1 { color : lime }
','escapedcode-html' => '
&lt;p>
&lt;span class="t1">This paragraph, and all textual contents in the document, 
      should be green.&lt;/span>
&lt;/p>
&lt;ul>
  &lt;li class="t1">This item should be green.&lt;/li>
&lt;/ul>
&lt;foo xmlns="http://www.example.org/a">And this element, part of a non-HTML namespace,
      should be green too&lt;/foo>
','def' => 'Universal selector','number' => '3','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => '* { color : lime }
ul, p { color : red }
*.t1 { color : lime }
','author' => ['Daniel Glazman'],'code-html' => '
<p>
<span class="t1">This paragraph, and all textual contents in the document, 
      should be green.</span>
</p>
<ul>
  <li class="t1">This item should be green.</li>
</ul>
<foo xmlns="http://www.example.org/a">And this element, part of a non-HTML namespace,
      should be green too</foo>
','endTag' => '</foo>','date' => '11-july-2001','code-xml' => '
<p xmlns="http://www.w3.org/1999/xhtml">
<span class="t1">This paragraph, and all textual contents in the document, 
      should be green.</span>
</p>
<ul xmlns="http://www.w3.org/1999/xhtml">
  <li class="t1">This item should be green.</li>
</ul>
<foo xmlns="http://www.example.org/a">And this element, part of a non-HTML namespace,
      should be green too</foo>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b"','namespaced' => 1,'escapedcode-xhtml' => '
&lt;p>
&lt;span class="t1">This paragraph, and all textual contents in the document, 
      should be green.&lt;/span>
&lt;/p>
&lt;ul>
  &lt;li class="t1">This item should be green.&lt;/li>
&lt;/ul>
&lt;foo xmlns="http://www.example.org/a">And this element, part of a non-HTML namespace,
      should be green too&lt;/foo>
','code-xhtml' => '
<p>
<span class="t1">This paragraph, and all textual contents in the document, 
      should be green.</span>
</p>
<ul>
  <li class="t1">This item should be green.</li>
</ul>
<foo xmlns="http://www.example.org/a">And this element, part of a non-HTML namespace,
      should be green too</foo>
'},'css3-modsel-16' => {'rev' => '1.1','escapedcode-xml' => '
&lt;p xmlns="http://www.w3.org/1999/xhtml" class="test">
&lt;a href="http://unvisited.example.org/css3-modsel-16/">This link should have green background.&lt;/a>
(Don\'t follow this link.)
&lt;/p>
','escapedcode-css' => 'p.test a { background-color : red }
p.test *:link { background-color : lime }','escapedcode-html' => '
&lt;p class="test">
&lt;a href="http://unvisited.example.org/css3-modsel-16/">This link should have green background.&lt;/a>
(Don\'t follow this link.)
&lt;/p>
','def' => ':link pseudo-class','number' => '16','modulename' => 'css3-modsel','module' => 'W3C Selectors','historyneeded' => 1,'cssrules' => 'p.test a { background-color : red }
p.test *:link { background-color : lime }','author' => ['Daniel Glazman','Ian Hickson'],'code-html' => '
<p class="test">
<a href="http://unvisited.example.org/css3-modsel-16/">This link should have green background.</a>
(Don\'t follow this link.)
</p>
','endTag' => '</a>','date' => '01-november-2001','code-xml' => '
<p xmlns="http://www.w3.org/1999/xhtml" class="test">
<a href="http://unvisited.example.org/css3-modsel-16/">This link should have green background.</a>
(Don\'t follow this link.)
</p>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','escapedcode-xhtml' => '
&lt;p class="test">
&lt;a href="http://unvisited.example.org/css3-modsel-16/">This link should have green background.&lt;/a>
(Don\'t follow this link.)
&lt;/p>
','code-xhtml' => '
<p class="test">
<a href="http://unvisited.example.org/css3-modsel-16/">This link should have green background.</a>
(Don\'t follow this link.)
</p>
'},'css3-modsel-4' => {'rev' => '1.0','escapedcode-xml' => '
&lt;p xmlns="http://www.w3.org/1999/xhtml" id="foo">This paragraph should have a green background&lt;/p>
','escapedcode-css' => '#foo { background-color : lime }
p { background-color : red }','escapedcode-html' => '
&lt;p id="foo">This paragraph should have a green background&lt;/p>
','def' => 'Omitted universal selector','number' => '4','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => '#foo { background-color : lime }
p { background-color : red }','author' => ['Daniel Glazman'],'code-html' => '
<p id="foo">This paragraph should have a green background</p>
','endTag' => '</p>','date' => '11-july-2001','code-xml' => '
<p xmlns="http://www.w3.org/1999/xhtml" id="foo">This paragraph should have a green background</p>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b"','escapedcode-xhtml' => '
&lt;p id="foo">This paragraph should have a green background&lt;/p>
','code-xhtml' => '
<p id="foo">This paragraph should have a green background</p>
'},'css3-modsel-17' => {'rev' => '1.1','escapedcode-xml' => '
&lt;p xmlns="http://www.w3.org/1999/xhtml" class="test">
&lt;a href="http://www.w3.org/">You should see a green background assigned by the anchor.&lt;/a>
(Note: You must have visited http://www.w3.org/ for this test to be valid.)
&lt;/p>
','escapedcode-css' => 'p.test a { background-color : red }
p.test *:visited { background-color : lime }','escapedcode-html' => '
&lt;p class="test">
&lt;a href="http://www.w3.org/">You should see a green background assigned by the anchor.&lt;/a>
(Note: You must have visited http://www.w3.org/ for this test to be valid.)
&lt;/p>
','def' => ':visited pseudo-class','number' => '17','modulename' => 'css3-modsel','module' => 'W3C Selectors','historyneeded' => 1,'cssrules' => 'p.test a { background-color : red }
p.test *:visited { background-color : lime }','author' => ['Daniel Glazman','Ian Hickson'],'code-html' => '
<p class="test">
<a href="http://www.w3.org/">You should see a green background assigned by the anchor.</a>
(Note: You must have visited http://www.w3.org/ for this test to be valid.)
</p>
','endTag' => '</a>','date' => '01-november-2001','code-xml' => '
<p xmlns="http://www.w3.org/1999/xhtml" class="test">
<a href="http://www.w3.org/">You should see a green background assigned by the anchor.</a>
(Note: You must have visited http://www.w3.org/ for this test to be valid.)
</p>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','escapedcode-xhtml' => '
&lt;p class="test">
&lt;a href="http://www.w3.org/">You should see a green background assigned by the anchor.&lt;/a>
(Note: You must have visited http://www.w3.org/ for this test to be valid.)
&lt;/p>
','code-xhtml' => '
<p class="test">
<a href="http://www.w3.org/">You should see a green background assigned by the anchor.</a>
(Note: You must have visited http://www.w3.org/ for this test to be valid.)
</p>
'},'css3-modsel-5' => {'rev' => '1.0','escapedcode-xml' => '
&lt;p xmlns="http://www.w3.org/1999/xhtml" title="title">This paragraph should have a green background because its TITLE
      attribute is set.&lt;/p>
','escapedcode-css' => 'p { background-color : red }
p[title] { background-color : lime }','escapedcode-html' => '
&lt;p title="title">This paragraph should have a green background because its TITLE
      attribute is set.&lt;/p>
','def' => 'Attribute existence selector','number' => '5','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => 'p { background-color : red }
p[title] { background-color : lime }','author' => ['Daniel Glazman'],'code-html' => '
<p title="title">This paragraph should have a green background because its TITLE
      attribute is set.</p>
','endTag' => '</p>','date' => '11-july-2001','code-xml' => '
<p xmlns="http://www.w3.org/1999/xhtml" title="title">This paragraph should have a green background because its TITLE
      attribute is set.</p>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b"','escapedcode-xhtml' => '
&lt;p title="title">This paragraph should have a green background because its TITLE
      attribute is set.&lt;/p>
','code-xhtml' => '
<p title="title">This paragraph should have a green background because its TITLE
      attribute is set.</p>
'},'css3-modsel-18' => {'rev' => '1.1','escapedcode-xml' => '
&lt;p xmlns="http://www.w3.org/1999/xhtml">The background color of this paragraph should turn to green when
   the mouse pointer hovers either its text (here) or its whitespace background, here:&lt;/p>
&lt;address xmlns="http://www.w3.org/1999/xhtml">The background color of &lt;a href="#foo">this anchor (here)&lt;/a> should turn to green when the pointing device hovers over it.&lt;/address>
&lt;table xmlns="http://www.w3.org/1999/xhtml">
 &lt;tbody>
  &lt;tr>
   &lt;td>The cells in&lt;/td>
   &lt;td>this table&lt;/td>
   &lt;td>should go&lt;/td>
  &lt;/tr>
  &lt;tr>
   &lt;td>green when&lt;/td>
   &lt;td>you hover&lt;/td>
   &lt;td>the pointing&lt;/td>
  &lt;/tr>
  &lt;tr>
   &lt;td>device over&lt;/td>
   &lt;td>them.&lt;/td>
   &lt;td>&lt;/td>
  &lt;/tr>
  &lt;tr>
   &lt;td>The rows in&lt;/td>
   &lt;td>this table&lt;/td>
   &lt;td>should go&lt;/td>
  &lt;/tr>
  &lt;tr>
   &lt;td>dark green&lt;/td>
   &lt;td>when the&lt;/td>
   &lt;td>pointing device&lt;/td>
  &lt;/tr>
  &lt;tr>
   &lt;td>is over the&lt;/td>
   &lt;td>five pixel&lt;/td>
   &lt;td>border spacing&lt;/td>
  &lt;/tr>
  &lt;tr>
   &lt;td>and when it is&lt;/td>
   &lt;td>over the cells.&lt;/td>
   &lt;td>&lt;/td>
  &lt;/tr>
  &lt;tr>
   &lt;td>Including blank:&lt;/td>
   &lt;td>&lt;/td>
   &lt;td>cells.&lt;/td>
  &lt;/tr>
 &lt;/tbody>
&lt;/table>
','escapedcode-css' => 'p:hover { background-color : lime }
a:hover { background-color : lime }

tr:hover { background-color : green }
td:hover { background-color : lime }

table { border-spacing: 5px; }','escapedcode-html' => '
&lt;p>The background color of this paragraph should turn to green when
   the mouse pointer hovers either its text (here) or its whitespace background, here:&lt;/p>
&lt;address>The background color of &lt;a href="#foo">this anchor (here)&lt;/a> should turn to green when the pointing device hovers over it.&lt;/address>
&lt;table>
 &lt;tbody>
  &lt;tr>
   &lt;td>The cells in&lt;/td>
   &lt;td>this table&lt;/td>
   &lt;td>should go&lt;/td>
  &lt;/tr>
  &lt;tr>
   &lt;td>green when&lt;/td>
   &lt;td>you hover&lt;/td>
   &lt;td>the pointing&lt;/td>
  &lt;/tr>
  &lt;tr>
   &lt;td>device over&lt;/td>
   &lt;td>them.&lt;/td>
   &lt;td>&lt;/td>
  &lt;/tr>
  &lt;tr>
   &lt;td>The rows in&lt;/td>
   &lt;td>this table&lt;/td>
   &lt;td>should go&lt;/td>
  &lt;/tr>
  &lt;tr>
   &lt;td>dark green&lt;/td>
   &lt;td>when the&lt;/td>
   &lt;td>pointing device&lt;/td>
  &lt;/tr>
  &lt;tr>
   &lt;td>is over the&lt;/td>
   &lt;td>five pixel&lt;/td>
   &lt;td>border spacing&lt;/td>
  &lt;/tr>
  &lt;tr>
   &lt;td>and when it is&lt;/td>
   &lt;td>over the cells.&lt;/td>
   &lt;td>&lt;/td>
  &lt;/tr>
  &lt;tr>
   &lt;td>Including blank:&lt;/td>
   &lt;td>&lt;/td>
   &lt;td>cells.&lt;/td>
  &lt;/tr>
 &lt;/tbody>
&lt;/table>
','def' => ':hover pseudo-class','number' => '18','modulename' => 'css3-modsel','cssrules' => 'p:hover { background-color : lime }
a:hover { background-color : lime }

tr:hover { background-color : green }
td:hover { background-color : lime }

table { border-spacing: 5px; }','module' => 'W3C Selectors','endTag' => '</td>','code-html' => '
<p>The background color of this paragraph should turn to green when
   the mouse pointer hovers either its text (here) or its whitespace background, here:</p>
<address>The background color of <a href="#foo">this anchor (here)</a> should turn to green when the pointing device hovers over it.</address>
<table>
 <tbody>
  <tr>
   <td>The cells in</td>
   <td>this table</td>
   <td>should go</td>
  </tr>
  <tr>
   <td>green when</td>
   <td>you hover</td>
   <td>the pointing</td>
  </tr>
  <tr>
   <td>device over</td>
   <td>them.</td>
   <td></td>
  </tr>
  <tr>
   <td>The rows in</td>
   <td>this table</td>
   <td>should go</td>
  </tr>
  <tr>
   <td>dark green</td>
   <td>when the</td>
   <td>pointing device</td>
  </tr>
  <tr>
   <td>is over the</td>
   <td>five pixel</td>
   <td>border spacing</td>
  </tr>
  <tr>
   <td>and when it is</td>
   <td>over the cells.</td>
   <td></td>
  </tr>
  <tr>
   <td>Including blank:</td>
   <td></td>
   <td>cells.</td>
  </tr>
 </tbody>
</table>
','author' => ['Daniel Glazman','Ian Hickson'],'code-xml' => '
<p xmlns="http://www.w3.org/1999/xhtml">The background color of this paragraph should turn to green when
   the mouse pointer hovers either its text (here) or its whitespace background, here:</p>
<address xmlns="http://www.w3.org/1999/xhtml">The background color of <a href="#foo">this anchor (here)</a> should turn to green when the pointing device hovers over it.</address>
<table xmlns="http://www.w3.org/1999/xhtml">
 <tbody>
  <tr>
   <td>The cells in</td>
   <td>this table</td>
   <td>should go</td>
  </tr>
  <tr>
   <td>green when</td>
   <td>you hover</td>
   <td>the pointing</td>
  </tr>
  <tr>
   <td>device over</td>
   <td>them.</td>
   <td></td>
  </tr>
  <tr>
   <td>The rows in</td>
   <td>this table</td>
   <td>should go</td>
  </tr>
  <tr>
   <td>dark green</td>
   <td>when the</td>
   <td>pointing device</td>
  </tr>
  <tr>
   <td>is over the</td>
   <td>five pixel</td>
   <td>border spacing</td>
  </tr>
  <tr>
   <td>and when it is</td>
   <td>over the cells.</td>
   <td></td>
  </tr>
  <tr>
   <td>Including blank:</td>
   <td></td>
   <td>cells.</td>
  </tr>
 </tbody>
</table>
','date' => '03-november-2001','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','escapedcode-xhtml' => '
&lt;p>The background color of this paragraph should turn to green when
   the mouse pointer hovers either its text (here) or its whitespace background, here:&lt;/p>
&lt;address>The background color of &lt;a href="#foo">this anchor (here)&lt;/a> should turn to green when the pointing device hovers over it.&lt;/address>
&lt;table>
 &lt;tbody>
  &lt;tr>
   &lt;td>The cells in&lt;/td>
   &lt;td>this table&lt;/td>
   &lt;td>should go&lt;/td>
  &lt;/tr>
  &lt;tr>
   &lt;td>green when&lt;/td>
   &lt;td>you hover&lt;/td>
   &lt;td>the pointing&lt;/td>
  &lt;/tr>
  &lt;tr>
   &lt;td>device over&lt;/td>
   &lt;td>them.&lt;/td>
   &lt;td>&lt;/td>
  &lt;/tr>
  &lt;tr>
   &lt;td>The rows in&lt;/td>
   &lt;td>this table&lt;/td>
   &lt;td>should go&lt;/td>
  &lt;/tr>
  &lt;tr>
   &lt;td>dark green&lt;/td>
   &lt;td>when the&lt;/td>
   &lt;td>pointing device&lt;/td>
  &lt;/tr>
  &lt;tr>
   &lt;td>is over the&lt;/td>
   &lt;td>five pixel&lt;/td>
   &lt;td>border spacing&lt;/td>
  &lt;/tr>
  &lt;tr>
   &lt;td>and when it is&lt;/td>
   &lt;td>over the cells.&lt;/td>
   &lt;td>&lt;/td>
  &lt;/tr>
  &lt;tr>
   &lt;td>Including blank:&lt;/td>
   &lt;td>&lt;/td>
   &lt;td>cells.&lt;/td>
  &lt;/tr>
 &lt;/tbody>
&lt;/table>
','interactive' => 1,'code-xhtml' => '
<p>The background color of this paragraph should turn to green when
   the mouse pointer hovers either its text (here) or its whitespace background, here:</p>
<address>The background color of <a href="#foo">this anchor (here)</a> should turn to green when the pointing device hovers over it.</address>
<table>
 <tbody>
  <tr>
   <td>The cells in</td>
   <td>this table</td>
   <td>should go</td>
  </tr>
  <tr>
   <td>green when</td>
   <td>you hover</td>
   <td>the pointing</td>
  </tr>
  <tr>
   <td>device over</td>
   <td>them.</td>
   <td></td>
  </tr>
  <tr>
   <td>The rows in</td>
   <td>this table</td>
   <td>should go</td>
  </tr>
  <tr>
   <td>dark green</td>
   <td>when the</td>
   <td>pointing device</td>
  </tr>
  <tr>
   <td>is over the</td>
   <td>five pixel</td>
   <td>border spacing</td>
  </tr>
  <tr>
   <td>and when it is</td>
   <td>over the cells.</td>
   <td></td>
  </tr>
  <tr>
   <td>Including blank:</td>
   <td></td>
   <td>cells.</td>
  </tr>
 </tbody>
</table>
'},'css3-modsel-6' => {'rev' => '1.0','escapedcode-xml' => '
&lt;address xmlns="http://www.w3.org/1999/xhtml" title="foo">
&lt;span title="b">This address should &lt;/span>
  &lt;span title="aa">have a green background because the
  selector in last rule does not apply to inner SPANs.
&lt;/span>
&lt;/address>
','escapedcode-css' => 'address { background-color : red }
address[title="foo"] { background-color : lime }
span[title="a"] { background-color : red }','escapedcode-html' => '
&lt;address title="foo">
&lt;span title="b">This address should &lt;/span>
  &lt;span title="aa">have a green background because the
  selector in last rule does not apply to inner SPANs.
&lt;/span>
&lt;/address>
','def' => 'Attribute value selector','number' => '6','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => 'address { background-color : red }
address[title="foo"] { background-color : lime }
span[title="a"] { background-color : red }','author' => ['Daniel Glazman'],'code-html' => '
<address title="foo">
<span title="b">This address should </span>
  <span title="aa">have a green background because the
  selector in last rule does not apply to inner SPANs.
</span>
</address>
','endTag' => '</span>','date' => '11-july-2001','code-xml' => '
<address xmlns="http://www.w3.org/1999/xhtml" title="foo">
<span title="b">This address should </span>
  <span title="aa">have a green background because the
  selector in last rule does not apply to inner SPANs.
</span>
</address>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b"','escapedcode-xhtml' => '
&lt;address title="foo">
&lt;span title="b">This address should &lt;/span>
  &lt;span title="aa">have a green background because the
  selector in last rule does not apply to inner SPANs.
&lt;/span>
&lt;/address>
','code-xhtml' => '
<address title="foo">
<span title="b">This address should </span>
  <span title="aa">have a green background because the
  selector in last rule does not apply to inner SPANs.
</span>
</address>
'},'css3-modsel-19' => {'rev' => '1.1','escapedcode-xml' => '
&lt;p xmlns="http://www.w3.org/1999/xhtml">The background color of &lt;a href="#foo">the anchor&lt;/a>
   should turn to green when it is activated and come back to
   normal when it is released.&lt;/p>
','escapedcode-css' => 'a:active { background-color : lime }','escapedcode-html' => '
&lt;p>The background color of &lt;a href="#foo">the anchor&lt;/a>
   should turn to green when it is activated and come back to
   normal when it is released.&lt;/p>
','def' => ':active pseudo-class','number' => '19','modulename' => 'css3-modsel','cssrules' => 'a:active { background-color : lime }','module' => 'W3C Selectors','endTag' => '</a>','code-html' => '
<p>The background color of <a href="#foo">the anchor</a>
   should turn to green when it is activated and come back to
   normal when it is released.</p>
','author' => ['Daniel Glazman','Ian Hickson'],'code-xml' => '
<p xmlns="http://www.w3.org/1999/xhtml">The background color of <a href="#foo">the anchor</a>
   should turn to green when it is activated and come back to
   normal when it is released.</p>
','date' => '03-november-2001','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','escapedcode-xhtml' => '
&lt;p>The background color of &lt;a href="#foo">the anchor&lt;/a>
   should turn to green when it is activated and come back to
   normal when it is released.&lt;/p>
','interactive' => 1,'code-xhtml' => '
<p>The background color of <a href="#foo">the anchor</a>
   should turn to green when it is activated and come back to
   normal when it is released.</p>
'},'css3-modsel-7' => {'rev' => '1.0','escapedcode-xml' => '
&lt;p xmlns="http://www.w3.org/1999/xhtml" class="a b c">This paragraph should have green background because CLASS
  contains "b"&lt;/p>
&lt;address xmlns="http://www.w3.org/1999/xhtml" title="tot foo bar">
&lt;span class="a c">This address should also&lt;/span>
  &lt;span class="a bb c">have green background because the selector in the last
    rule does not apply to the inner SPANs.&lt;/span>
&lt;/address>
','escapedcode-css' => 'p { background-color : red }
p[class~="b"] { background-color : lime }
address { background-color : red }
address[title~="foo"] { background-color : lime }
span[class~="b"] { background-color : red }','escapedcode-html' => '
&lt;p class="a b c">This paragraph should have green background because CLASS
  contains "b"&lt;/p>
&lt;address title="tot foo bar">
&lt;span class="a c">This address should also&lt;/span>
  &lt;span class="a bb c">have green background because the selector in the last
    rule does not apply to the inner SPANs.&lt;/span>
&lt;/address>
','def' => 'Attribute multivalue selector','number' => '7','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => 'p { background-color : red }
p[class~="b"] { background-color : lime }
address { background-color : red }
address[title~="foo"] { background-color : lime }
span[class~="b"] { background-color : red }','author' => ['Daniel Glazman'],'code-html' => '
<p class="a b c">This paragraph should have green background because CLASS
  contains "b"</p>
<address title="tot foo bar">
<span class="a c">This address should also</span>
  <span class="a bb c">have green background because the selector in the last
    rule does not apply to the inner SPANs.</span>
</address>
','endTag' => '</span>','date' => '11-july-2001','code-xml' => '
<p xmlns="http://www.w3.org/1999/xhtml" class="a b c">This paragraph should have green background because CLASS
  contains "b"</p>
<address xmlns="http://www.w3.org/1999/xhtml" title="tot foo bar">
<span class="a c">This address should also</span>
  <span class="a bb c">have green background because the selector in the last
    rule does not apply to the inner SPANs.</span>
</address>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b"','escapedcode-xhtml' => '
&lt;p class="a b c">This paragraph should have green background because CLASS
  contains "b"&lt;/p>
&lt;address title="tot foo bar">
&lt;span class="a c">This address should also&lt;/span>
  &lt;span class="a bb c">have green background because the selector in the last
    rule does not apply to the inner SPANs.&lt;/span>
&lt;/address>
','code-xhtml' => '
<p class="a b c">This paragraph should have green background because CLASS
  contains "b"</p>
<address title="tot foo bar">
<span class="a c">This address should also</span>
  <span class="a bb c">have green background because the selector in the last
    rule does not apply to the inner SPANs.</span>
</address>
'},'css3-modsel-8' => {'rev' => '1.0','escapedcode-xml' => '
&lt;p xmlns="http://www.w3.org/1999/xhtml" lang="en-gb">This paragraph should have green background because its language is "en-gb"&lt;/p>
&lt;address xmlns="http://www.w3.org/1999/xhtml" lang="fi">
&lt;span lang="en-us">This address should also&lt;/span>
  &lt;span lang="en-fr">have green background because the language of the inner SPANs
     is not French.&lt;/span>
&lt;/address>
','escapedcode-css' => 'p { background-color : red }
p[lang|="en"] { background-color : lime }
address { background-color : red }
address[lang="fi"] { background-color : lime }
span[lang|="fr"] { background-color : red }','escapedcode-html' => '
&lt;p lang="en-gb">This paragraph should have green background because its language is "en-gb"&lt;/p>
&lt;address lang="fi">
&lt;span lang="en-us">This address should also&lt;/span>
  &lt;span lang="en-fr">have green background because the language of the inner SPANs
     is not French.&lt;/span>
&lt;/address>
','def' => 'Attribute value selectors (hyphen-separated attributes)','number' => '8','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => 'p { background-color : red }
p[lang|="en"] { background-color : lime }
address { background-color : red }
address[lang="fi"] { background-color : lime }
span[lang|="fr"] { background-color : red }','author' => ['Daniel Glazman'],'code-html' => '
<p lang="en-gb">This paragraph should have green background because its language is "en-gb"</p>
<address lang="fi">
<span lang="en-us">This address should also</span>
  <span lang="en-fr">have green background because the language of the inner SPANs
     is not French.</span>
</address>
','endTag' => '</span>','date' => '11-july-2001','code-xml' => '
<p xmlns="http://www.w3.org/1999/xhtml" lang="en-gb">This paragraph should have green background because its language is "en-gb"</p>
<address xmlns="http://www.w3.org/1999/xhtml" lang="fi">
<span lang="en-us">This address should also</span>
  <span lang="en-fr">have green background because the language of the inner SPANs
     is not French.</span>
</address>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b"','escapedcode-xhtml' => '
&lt;p lang="en-gb">This paragraph should have green background because its language is "en-gb"&lt;/p>
&lt;address lang="fi">
&lt;span lang="en-us">This address should also&lt;/span>
  &lt;span lang="en-fr">have green background because the language of the inner SPANs
     is not French.&lt;/span>
&lt;/address>
','code-xhtml' => '
<p lang="en-gb">This paragraph should have green background because its language is "en-gb"</p>
<address lang="fi">
<span lang="en-us">This address should also</span>
  <span lang="en-fr">have green background because the language of the inner SPANs
     is not French.</span>
</address>
'},'css3-modsel-9' => {'rev' => '1.0','escapedcode-xml' => '
&lt;p xmlns="http://www.w3.org/1999/xhtml" title="foobar">This paragraph should have a green background&lt;br>&lt;/br>
because its title attribute begins with "foo"&lt;/p>
','escapedcode-css' => 'p { background-color : red }
p[title^="foo"] { background-color : lime }','escapedcode-html' => '
&lt;p title="foobar">This paragraph should have a green background&lt;br>&lt;/br>
because its title attribute begins with "foo"&lt;/p>
','def' => 'Substring matching attribute selector (beginning)','number' => '9','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => 'p { background-color : red }
p[title^="foo"] { background-color : lime }','author' => ['Daniel Glazman'],'code-html' => '
<p title="foobar">This paragraph should have a green background<br></br>
because its title attribute begins with "foo"</p>
','endTag' => '</br>','date' => '11-july-2001','code-xml' => '
<p xmlns="http://www.w3.org/1999/xhtml" title="foobar">This paragraph should have a green background<br></br>
because its title attribute begins with "foo"</p>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b"','escapedcode-xhtml' => '
&lt;p title="foobar">This paragraph should have a green background&lt;br>&lt;/br>
because its title attribute begins with "foo"&lt;/p>
','code-xhtml' => '
<p title="foobar">This paragraph should have a green background<br></br>
because its title attribute begins with "foo"</p>
'},'css3-modsel-90' => {'rev' => '1.0','escapedcode-xml' => '
&lt;blockquote xmlns="http://www.w3.org/1999/xhtml">This text should NOT be green.&lt;/blockquote>
&lt;div xmlns="http://www.w3.org/1999/xhtml">This text should NOT be green.&lt;/div>
&lt;div xmlns="http://www.w3.org/1999/xhtml">This text should NOT be green.&lt;/div>
&lt;p xmlns="http://www.w3.org/1999/xhtml">This text should be green.&lt;/p>
','escapedcode-css' => 'p { color: red; }
blockquote ~ div + p { color: green; }','escapedcode-html' => '
&lt;blockquote>This text should NOT be green.&lt;/blockquote>
&lt;div>This text should NOT be green.&lt;/div>
&lt;div>This text should NOT be green.&lt;/div>
&lt;p>This text should be green.&lt;/p>
','def' => 'Simple combination of direct and indirect adjacent combinators','number' => '90','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => 'p { color: red; }
blockquote ~ div + p { color: green; }','author' => ['Daniel Glazman'],'code-html' => '
<blockquote>This text should NOT be green.</blockquote>
<div>This text should NOT be green.</div>
<div>This text should NOT be green.</div>
<p>This text should be green.</p>
','endTag' => '</p>','date' => '11-july-2001','code-xml' => '
<blockquote xmlns="http://www.w3.org/1999/xhtml">This text should NOT be green.</blockquote>
<div xmlns="http://www.w3.org/1999/xhtml">This text should NOT be green.</div>
<div xmlns="http://www.w3.org/1999/xhtml">This text should NOT be green.</div>
<p xmlns="http://www.w3.org/1999/xhtml">This text should be green.</p>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','escapedcode-xhtml' => '
&lt;blockquote>This text should NOT be green.&lt;/blockquote>
&lt;div>This text should NOT be green.&lt;/div>
&lt;div>This text should NOT be green.&lt;/div>
&lt;p>This text should be green.&lt;/p>
','code-xhtml' => '
<blockquote>This text should NOT be green.</blockquote>
<div>This text should NOT be green.</div>
<div>This text should NOT be green.</div>
<p>This text should be green.</p>
'},'css3-modsel-91' => {'rev' => '1.0','escapedcode-xml' => '
&lt;testa xmlns="http://www.example.org/a">This paragraph should have a green background&lt;/testa>
','escapedcode-css' => '@namespace test url(http://www.example.org/a);
testa { background-color : red }
test|testa { background-color : lime }','escapedcode-html' => '
&lt;testa xmlns="http://www.example.org/a">This paragraph should have a green background&lt;/testa>
','def' => 'Type element selector with declared namespace','number' => '91','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => '@namespace test url(http://www.example.org/a);
testa { background-color : red }
test|testa { background-color : lime }','author' => ['Daniel Glazman'],'code-html' => '
<testa xmlns="http://www.example.org/a">This paragraph should have a green background</testa>
','endTag' => '</testa>','date' => '11-july-2001','code-xml' => '
<testa xmlns="http://www.example.org/a">This paragraph should have a green background</testa>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b"','namespaced' => 1,'escapedcode-xhtml' => '
&lt;testa xmlns="http://www.example.org/a">This paragraph should have a green background&lt;/testa>
','code-xhtml' => '
<testa xmlns="http://www.example.org/a">This paragraph should have a green background</testa>
'},'css3-modsel-92' => {'rev' => '1.0','escapedcode-xml' => '
&lt;div xmlns="http://www.w3.org/1999/xhtml" class="myTest">
&lt;testA xmlns="http://www.example.org/b">This paragraph should have a green background&lt;/testA>
&lt;/div>
','escapedcode-css' => '@namespace test url(http://www.example.org/b);
div.myTest * { background-color : red }
div.myTest *|testA { background-color : lime }','escapedcode-html' => '
&lt;div class="myTest">
&lt;testA xmlns="http://www.example.org/b">This paragraph should have a green background&lt;/testA>
&lt;/div>
','def' => 'Type element selector with universal namespace','number' => '92','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => '@namespace test url(http://www.example.org/b);
div.myTest * { background-color : red }
div.myTest *|testA { background-color : lime }','author' => ['Daniel Glazman'],'code-html' => '
<div class="myTest">
<testA xmlns="http://www.example.org/b">This paragraph should have a green background</testA>
</div>
','endTag' => '</testA>','date' => '11-july-2001','code-xml' => '
<div xmlns="http://www.w3.org/1999/xhtml" class="myTest">
<testA xmlns="http://www.example.org/b">This paragraph should have a green background</testA>
</div>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b"','namespaced' => 1,'escapedcode-xhtml' => '
&lt;div class="myTest">
&lt;testA xmlns="http://www.example.org/b">This paragraph should have a green background&lt;/testA>
&lt;/div>
','code-xhtml' => '
<div class="myTest">
<testA xmlns="http://www.example.org/b">This paragraph should have a green background</testA>
</div>
'},'css3-modsel-93' => {'rev' => '1.0','escapedcode-xml' => '
&lt;testA>This paragraph has no declared namespace and should have a green background.&lt;/testA>
','escapedcode-css' => '@namespace test url(http://www.example.org/b);
*|testA { background-color : red }
|testA {background-color : lime }','escapedcode-html' => '
&lt;testA xmlns="">This paragraph has no declared namespace and should have a green background.&lt;/testA>
','def' => 'Type element selector w/o declared namespace','number' => '93','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => '@namespace test url(http://www.example.org/b);
*|testA { background-color : red }
|testA {background-color : lime }','author' => ['Daniel Glazman'],'code-html' => '
<testA xmlns="">This paragraph has no declared namespace and should have a green background.</testA>
','endTag' => '</testA>','date' => '11-july-2001','code-xml' => '
<testA>This paragraph has no declared namespace and should have a green background.</testA>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b"','namespaced' => 1,'escapedcode-xhtml' => '
&lt;testA xmlns="">This paragraph has no declared namespace and should have a green background.&lt;/testA>
','code-xhtml' => '
<testA xmlns="">This paragraph has no declared namespace and should have a green background.</testA>
'},'css3-modsel-140' => {'rev' => '1.0','escapedcode-xml' => '
&lt;div xmlns="http://www.w3.org/1999/xhtml" class="stub">
&lt;p lang="foo-bar">This paragraph should NOT have a green background&lt;/p>
&lt;address lang="foo-b">This address should have a green background&lt;/address>
&lt;address lang="foo-barbar-toto">This address should have a green background&lt;/address>
&lt;q xmlns="http://www.example.org/a" lang="foo-bar">This paragraph should NOT
             have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/b" b:lang="foo-bar">This paragraph should
             have a green background&lt;/r>
&lt;/div>
','escapedcode-css' => '@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
@namespace html url(http://www.w3.org/1999/xhtml);
*|p, *|address, *|q, *|r { display : block ; margin-bottom : 1em }
*|address, *|r { background-color : red }
div.stub *|*:not([|lang|="foo-bar"]) { background-color : lime }','escapedcode-html' => '
&lt;div class="stub">
&lt;p lang="foo-bar">This paragraph should NOT have a green background&lt;/p>
&lt;address lang="foo-b">This address should have a green background&lt;/address>
&lt;address lang="foo-barbar-toto">This address should have a green background&lt;/address>
&lt;q xmlns="http://www.example.org/a" lang="foo-bar">This paragraph should NOT
             have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/b" b:lang="foo-bar">This paragraph should
             have a green background&lt;/r>
&lt;/div>
','def' => 'NEGATED Attribute dash-separated value selector without declared namespace','number' => '140','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => '@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
@namespace html url(http://www.w3.org/1999/xhtml);
*|p, *|address, *|q, *|r { display : block ; margin-bottom : 1em }
*|address, *|r { background-color : red }
div.stub *|*:not([|lang|="foo-bar"]) { background-color : lime }','author' => ['Daniel Glazman'],'code-html' => '
<div class="stub">
<p lang="foo-bar">This paragraph should NOT have a green background</p>
<address lang="foo-b">This address should have a green background</address>
<address lang="foo-barbar-toto">This address should have a green background</address>
<q xmlns="http://www.example.org/a" lang="foo-bar">This paragraph should NOT
             have a green background</q>
<r xmlns="http://www.example.org/b" b:lang="foo-bar">This paragraph should
             have a green background</r>
</div>
','endTag' => '</r>','date' => '11-july-2001','code-xml' => '
<div xmlns="http://www.w3.org/1999/xhtml" class="stub">
<p lang="foo-bar">This paragraph should NOT have a green background</p>
<address lang="foo-b">This address should have a green background</address>
<address lang="foo-barbar-toto">This address should have a green background</address>
<q xmlns="http://www.example.org/a" lang="foo-bar">This paragraph should NOT
             have a green background</q>
<r xmlns="http://www.example.org/b" b:lang="foo-bar">This paragraph should
             have a green background</r>
</div>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','namespaced' => 1,'escapedcode-xhtml' => '
&lt;div class="stub">
&lt;p lang="foo-bar">This paragraph should NOT have a green background&lt;/p>
&lt;address lang="foo-b">This address should have a green background&lt;/address>
&lt;address lang="foo-barbar-toto">This address should have a green background&lt;/address>
&lt;q xmlns="http://www.example.org/a" lang="foo-bar">This paragraph should NOT
             have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/b" b:lang="foo-bar">This paragraph should
             have a green background&lt;/r>
&lt;/div>
','code-xhtml' => '
<div class="stub">
<p lang="foo-bar">This paragraph should NOT have a green background</p>
<address lang="foo-b">This address should have a green background</address>
<address lang="foo-barbar-toto">This address should have a green background</address>
<q xmlns="http://www.example.org/a" lang="foo-bar">This paragraph should NOT
             have a green background</q>
<r xmlns="http://www.example.org/b" b:lang="foo-bar">This paragraph should
             have a green background</r>
</div>
'},'css3-modsel-94' => {'rev' => '1.0','escapedcode-xml' => '
&lt;p xmlns="http://www.w3.org/1999/xhtml">This paragraph should &lt;strong>NOT&lt;/strong> have a green background&lt;/p>
&lt;p xmlns="http://www.example.org/b">This b:p element should have a green background&lt;/p>
&lt;q xmlns="http://www.example.org/b">This b:q should have a green background&lt;/q>
&lt;p xmlns="http://www.example.org/a">This paragraph should
         &lt;emphasis>NOT&lt;/emphasis> have a green background&lt;/p>
&lt;p xmlns="http://www.example.org/b">This b:p should have a green background&lt;/p>
','escapedcode-css' => '@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
p, q { display : block ; margin-bottom : 1em }
emphasis { font-weight : bold }
b|* { background-color : lime }','escapedcode-html' => '
&lt;p>This paragraph should &lt;strong>NOT&lt;/strong> have a green background&lt;/p>
&lt;p xmlns="http://www.example.org/b">This b:p element should have a green background&lt;/p>
&lt;q xmlns="http://www.example.org/b">This b:q should have a green background&lt;/q>
&lt;p xmlns="http://www.example.org/a">This paragraph should
         &lt;emphasis>NOT&lt;/emphasis> have a green background&lt;/p>
&lt;p xmlns="http://www.example.org/b">This b:p should have a green background&lt;/p>
','def' => 'Universal selector with declared namespace','number' => '94','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => '@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
p, q { display : block ; margin-bottom : 1em }
emphasis { font-weight : bold }
b|* { background-color : lime }','author' => ['Daniel Glazman'],'code-html' => '
<p>This paragraph should <strong>NOT</strong> have a green background</p>
<p xmlns="http://www.example.org/b">This b:p element should have a green background</p>
<q xmlns="http://www.example.org/b">This b:q should have a green background</q>
<p xmlns="http://www.example.org/a">This paragraph should
         <emphasis>NOT</emphasis> have a green background</p>
<p xmlns="http://www.example.org/b">This b:p should have a green background</p>
','endTag' => '</p>','date' => '11-july-2001','code-xml' => '
<p xmlns="http://www.w3.org/1999/xhtml">This paragraph should <strong>NOT</strong> have a green background</p>
<p xmlns="http://www.example.org/b">This b:p element should have a green background</p>
<q xmlns="http://www.example.org/b">This b:q should have a green background</q>
<p xmlns="http://www.example.org/a">This paragraph should
         <emphasis>NOT</emphasis> have a green background</p>
<p xmlns="http://www.example.org/b">This b:p should have a green background</p>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b"','namespaced' => 1,'escapedcode-xhtml' => '
&lt;p>This paragraph should &lt;strong>NOT&lt;/strong> have a green background&lt;/p>
&lt;p xmlns="http://www.example.org/b">This b:p element should have a green background&lt;/p>
&lt;q xmlns="http://www.example.org/b">This b:q should have a green background&lt;/q>
&lt;p xmlns="http://www.example.org/a">This paragraph should
         &lt;emphasis>NOT&lt;/emphasis> have a green background&lt;/p>
&lt;p xmlns="http://www.example.org/b">This b:p should have a green background&lt;/p>
','code-xhtml' => '
<p>This paragraph should <strong>NOT</strong> have a green background</p>
<p xmlns="http://www.example.org/b">This b:p element should have a green background</p>
<q xmlns="http://www.example.org/b">This b:q should have a green background</q>
<p xmlns="http://www.example.org/a">This paragraph should
         <emphasis>NOT</emphasis> have a green background</p>
<p xmlns="http://www.example.org/b">This b:p should have a green background</p>
'},'css3-modsel-141' => {'rev' => '1.0','escapedcode-xml' => '
&lt;div xmlns="http://www.w3.org/1999/xhtml" class="stub">
&lt;p title="si on chantait">This paragraph should NOT have a green background&lt;/p>
&lt;q xmlns="http://www.example.org/a" a:title="si nous chantions">This paragraph should 
          have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/a" title="si on chantait">This paragraph should NOT
          have a green background&lt;/r>
&lt;s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should 
          have a green background&lt;/s>
&lt;t xmlns="http://www.example.org/b" b:ti="si on chantait">This paragraph should 
          have a green background&lt;/t>
&lt;/div>
','escapedcode-css' => '@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
@namespace html url(http://www.w3.org/1999/xhtml);
*|p, *|q, *|r, *|s, *|t{ display : block ; margin-bottom : 1em }
*|q, *|s, *|t { background-color : red }
div.stub *|*:not([|title^="si on"]) { background-color : lime }','escapedcode-html' => '
&lt;div class="stub">
&lt;p title="si on chantait">This paragraph should NOT have a green background&lt;/p>
&lt;q xmlns="http://www.example.org/a" a:title="si nous chantions">This paragraph should 
          have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/a" title="si on chantait">This paragraph should NOT
          have a green background&lt;/r>
&lt;s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should 
          have a green background&lt;/s>
&lt;t xmlns="http://www.example.org/b" b:ti="si on chantait">This paragraph should 
          have a green background&lt;/t>
&lt;/div>
','def' => 'NEGATED Substring matching attribute selector on beginning without declared namespace','number' => '141','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => '@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
@namespace html url(http://www.w3.org/1999/xhtml);
*|p, *|q, *|r, *|s, *|t{ display : block ; margin-bottom : 1em }
*|q, *|s, *|t { background-color : red }
div.stub *|*:not([|title^="si on"]) { background-color : lime }','author' => ['Daniel Glazman'],'code-html' => '
<div class="stub">
<p title="si on chantait">This paragraph should NOT have a green background</p>
<q xmlns="http://www.example.org/a" a:title="si nous chantions">This paragraph should 
          have a green background</q>
<r xmlns="http://www.example.org/a" title="si on chantait">This paragraph should NOT
          have a green background</r>
<s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should 
          have a green background</s>
<t xmlns="http://www.example.org/b" b:ti="si on chantait">This paragraph should 
          have a green background</t>
</div>
','endTag' => '</t>','date' => '11-july-2001','code-xml' => '
<div xmlns="http://www.w3.org/1999/xhtml" class="stub">
<p title="si on chantait">This paragraph should NOT have a green background</p>
<q xmlns="http://www.example.org/a" a:title="si nous chantions">This paragraph should 
          have a green background</q>
<r xmlns="http://www.example.org/a" title="si on chantait">This paragraph should NOT
          have a green background</r>
<s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should 
          have a green background</s>
<t xmlns="http://www.example.org/b" b:ti="si on chantait">This paragraph should 
          have a green background</t>
</div>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','namespaced' => 1,'escapedcode-xhtml' => '
&lt;div class="stub">
&lt;p title="si on chantait">This paragraph should NOT have a green background&lt;/p>
&lt;q xmlns="http://www.example.org/a" a:title="si nous chantions">This paragraph should 
          have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/a" title="si on chantait">This paragraph should NOT
          have a green background&lt;/r>
&lt;s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should 
          have a green background&lt;/s>
&lt;t xmlns="http://www.example.org/b" b:ti="si on chantait">This paragraph should 
          have a green background&lt;/t>
&lt;/div>
','code-xhtml' => '
<div class="stub">
<p title="si on chantait">This paragraph should NOT have a green background</p>
<q xmlns="http://www.example.org/a" a:title="si nous chantions">This paragraph should 
          have a green background</q>
<r xmlns="http://www.example.org/a" title="si on chantait">This paragraph should NOT
          have a green background</r>
<s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should 
          have a green background</s>
<t xmlns="http://www.example.org/b" b:ti="si on chantait">This paragraph should 
          have a green background</t>
</div>
'},'css3-modsel-95' => {'rev' => '1.0','escapedcode-xml' => '
&lt;p xmlns="http://www.w3.org/1999/xhtml">This html:p should  have a green background&lt;/p>
&lt;p xmlns="http://www.example.org/b">This b:p element should have a green background&lt;/p>
&lt;q xmlns="http://www.example.org/b">This b:q should have a green background&lt;/q>
&lt;p xmlns="http://www.example.org/a">This a:p should have a green background&lt;/p>
&lt;foo xmlns="http://www.example.org/b">This b:foo should have a green background&lt;/foo>
','escapedcode-css' => '@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
div.testText * { background-color : red ; display : block ; margin-bottom : 1em }
div.testText *|* { background-color : lime }','escapedcode-html' => '
&lt;p>This html:p should  have a green background&lt;/p>
&lt;p xmlns="http://www.example.org/b">This b:p element should have a green background&lt;/p>
&lt;q xmlns="http://www.example.org/b">This b:q should have a green background&lt;/q>
&lt;p xmlns="http://www.example.org/a">This a:p should have a green background&lt;/p>
&lt;foo xmlns="http://www.example.org/b">This b:foo should have a green background&lt;/foo>
','def' => 'Universal selector with universal namespace','number' => '95','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => '@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
div.testText * { background-color : red ; display : block ; margin-bottom : 1em }
div.testText *|* { background-color : lime }','author' => ['Daniel Glazman'],'code-html' => '
<p>This html:p should  have a green background</p>
<p xmlns="http://www.example.org/b">This b:p element should have a green background</p>
<q xmlns="http://www.example.org/b">This b:q should have a green background</q>
<p xmlns="http://www.example.org/a">This a:p should have a green background</p>
<foo xmlns="http://www.example.org/b">This b:foo should have a green background</foo>
','endTag' => '</foo>','date' => '11-july-2001','code-xml' => '
<p xmlns="http://www.w3.org/1999/xhtml">This html:p should  have a green background</p>
<p xmlns="http://www.example.org/b">This b:p element should have a green background</p>
<q xmlns="http://www.example.org/b">This b:q should have a green background</q>
<p xmlns="http://www.example.org/a">This a:p should have a green background</p>
<foo xmlns="http://www.example.org/b">This b:foo should have a green background</foo>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b"','namespaced' => 1,'escapedcode-xhtml' => '
&lt;p>This html:p should  have a green background&lt;/p>
&lt;p xmlns="http://www.example.org/b">This b:p element should have a green background&lt;/p>
&lt;q xmlns="http://www.example.org/b">This b:q should have a green background&lt;/q>
&lt;p xmlns="http://www.example.org/a">This a:p should have a green background&lt;/p>
&lt;foo xmlns="http://www.example.org/b">This b:foo should have a green background&lt;/foo>
','code-xhtml' => '
<p>This html:p should  have a green background</p>
<p xmlns="http://www.example.org/b">This b:p element should have a green background</p>
<q xmlns="http://www.example.org/b">This b:q should have a green background</q>
<p xmlns="http://www.example.org/a">This a:p should have a green background</p>
<foo xmlns="http://www.example.org/b">This b:foo should have a green background</foo>
'},'css3-modsel-142' => {'rev' => '1.0','escapedcode-xml' => '
&lt;div xmlns="http://www.w3.org/1999/xhtml" class="stub">
&lt;p title="si on chantait">This paragraph should NOT have a green background&lt;/p>
&lt;q xmlns="http://www.example.org/a" a:title="si nous chantions">This paragraph should 
          have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/a" title="si on chantait">This paragraph should NOT
          have a green background&lt;/r>
&lt;s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should 
          have a green background&lt;/s>
&lt;t xmlns="http://www.example.org/b" title="si nous chantions">This paragraph should 
          have a green background&lt;/t>
&lt;/div>
','escapedcode-css' => '@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
@namespace html url(http://www.w3.org/1999/xhtml);
*|p, *|q, *|r, *|s, *|t{ display : block ; margin-bottom : 1em }
*|q, *|s, *|t { background-color : red }
div.stub *|*:not([|title$="tait"]) { background-color : lime }','escapedcode-html' => '
&lt;div class="stub">
&lt;p title="si on chantait">This paragraph should NOT have a green background&lt;/p>
&lt;q xmlns="http://www.example.org/a" a:title="si nous chantions">This paragraph should 
          have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/a" title="si on chantait">This paragraph should NOT
          have a green background&lt;/r>
&lt;s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should 
          have a green background&lt;/s>
&lt;t xmlns="http://www.example.org/b" title="si nous chantions">This paragraph should 
          have a green background&lt;/t>
&lt;/div>
','def' => 'NEGATED Substring matching attribute selector on end without declared namespace','number' => '142','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => '@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
@namespace html url(http://www.w3.org/1999/xhtml);
*|p, *|q, *|r, *|s, *|t{ display : block ; margin-bottom : 1em }
*|q, *|s, *|t { background-color : red }
div.stub *|*:not([|title$="tait"]) { background-color : lime }','author' => ['Daniel Glazman'],'code-html' => '
<div class="stub">
<p title="si on chantait">This paragraph should NOT have a green background</p>
<q xmlns="http://www.example.org/a" a:title="si nous chantions">This paragraph should 
          have a green background</q>
<r xmlns="http://www.example.org/a" title="si on chantait">This paragraph should NOT
          have a green background</r>
<s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should 
          have a green background</s>
<t xmlns="http://www.example.org/b" title="si nous chantions">This paragraph should 
          have a green background</t>
</div>
','endTag' => '</t>','date' => '11-july-2001','code-xml' => '
<div xmlns="http://www.w3.org/1999/xhtml" class="stub">
<p title="si on chantait">This paragraph should NOT have a green background</p>
<q xmlns="http://www.example.org/a" a:title="si nous chantions">This paragraph should 
          have a green background</q>
<r xmlns="http://www.example.org/a" title="si on chantait">This paragraph should NOT
          have a green background</r>
<s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should 
          have a green background</s>
<t xmlns="http://www.example.org/b" title="si nous chantions">This paragraph should 
          have a green background</t>
</div>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','namespaced' => 1,'escapedcode-xhtml' => '
&lt;div class="stub">
&lt;p title="si on chantait">This paragraph should NOT have a green background&lt;/p>
&lt;q xmlns="http://www.example.org/a" a:title="si nous chantions">This paragraph should 
          have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/a" title="si on chantait">This paragraph should NOT
          have a green background&lt;/r>
&lt;s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should 
          have a green background&lt;/s>
&lt;t xmlns="http://www.example.org/b" title="si nous chantions">This paragraph should 
          have a green background&lt;/t>
&lt;/div>
','code-xhtml' => '
<div class="stub">
<p title="si on chantait">This paragraph should NOT have a green background</p>
<q xmlns="http://www.example.org/a" a:title="si nous chantions">This paragraph should 
          have a green background</q>
<r xmlns="http://www.example.org/a" title="si on chantait">This paragraph should NOT
          have a green background</r>
<s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should 
          have a green background</s>
<t xmlns="http://www.example.org/b" title="si nous chantions">This paragraph should 
          have a green background</t>
</div>
'},'css3-modsel-96' => {'rev' => '1.0','escapedcode-xml' => '
&lt;p xmlns="http://www.w3.org/1999/xhtml">This html:p should NOT have a green background&lt;/p>
&lt;elementA xmlns="http://www.example.org/a">This a:elementA element should
     NOT have a green background&lt;/elementA>
&lt;elementB xmlns="http://www.example.org/b">This b:elementB should NOT have
     a green background&lt;/elementB>
&lt;div xmlns="http://www.w3.org/1999/xhtml" class="green">
&lt;p xmlns="">This p without declared namespace should  have a green background&lt;/p>
&lt;elementA xmlns="">This elementA without declared namespace element should
     have a green background&lt;/elementA>
&lt;elementB xmlns="">This elementB without declared namespace should have a
     green background&lt;/elementB>
&lt;/div>
','escapedcode-css' => '@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
div.green * { background-color : red }
div.testText * { display : block ; margin-bottom : 1em }
div.testText |* { background-color : lime }','escapedcode-html' => '
&lt;p>This html:p should NOT have a green background&lt;/p>
&lt;elementA xmlns="http://www.example.org/a">This a:elementA element should
     NOT have a green background&lt;/elementA>
&lt;elementB xmlns="http://www.example.org/b">This b:elementB should NOT have
     a green background&lt;/elementB>
&lt;div class="green">
&lt;p xmlns="">This p without declared namespace should  have a green background&lt;/p>
&lt;elementA xmlns="">This elementA without declared namespace element should
     have a green background&lt;/elementA>
&lt;elementB xmlns="">This elementB without declared namespace should have a
     green background&lt;/elementB>
&lt;/div>
','def' => 'Universal selector without declared namespace','number' => '96','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => '@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
div.green * { background-color : red }
div.testText * { display : block ; margin-bottom : 1em }
div.testText |* { background-color : lime }','author' => ['Daniel Glazman'],'code-html' => '
<p>This html:p should NOT have a green background</p>
<elementA xmlns="http://www.example.org/a">This a:elementA element should
     NOT have a green background</elementA>
<elementB xmlns="http://www.example.org/b">This b:elementB should NOT have
     a green background</elementB>
<div class="green">
<p xmlns="">This p without declared namespace should  have a green background</p>
<elementA xmlns="">This elementA without declared namespace element should
     have a green background</elementA>
<elementB xmlns="">This elementB without declared namespace should have a
     green background</elementB>
</div>
','endTag' => '</elementB>','date' => '11-july-2001','code-xml' => '
<p xmlns="http://www.w3.org/1999/xhtml">This html:p should NOT have a green background</p>
<elementA xmlns="http://www.example.org/a">This a:elementA element should
     NOT have a green background</elementA>
<elementB xmlns="http://www.example.org/b">This b:elementB should NOT have
     a green background</elementB>
<div xmlns="http://www.w3.org/1999/xhtml" class="green">
<p xmlns="">This p without declared namespace should  have a green background</p>
<elementA xmlns="">This elementA without declared namespace element should
     have a green background</elementA>
<elementB xmlns="">This elementB without declared namespace should have a
     green background</elementB>
</div>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b"','namespaced' => 1,'escapedcode-xhtml' => '
&lt;p>This html:p should NOT have a green background&lt;/p>
&lt;elementA xmlns="http://www.example.org/a">This a:elementA element should
     NOT have a green background&lt;/elementA>
&lt;elementB xmlns="http://www.example.org/b">This b:elementB should NOT have
     a green background&lt;/elementB>
&lt;div class="green">
&lt;p xmlns="">This p without declared namespace should  have a green background&lt;/p>
&lt;elementA xmlns="">This elementA without declared namespace element should
     have a green background&lt;/elementA>
&lt;elementB xmlns="">This elementB without declared namespace should have a
     green background&lt;/elementB>
&lt;/div>
','code-xhtml' => '
<p>This html:p should NOT have a green background</p>
<elementA xmlns="http://www.example.org/a">This a:elementA element should
     NOT have a green background</elementA>
<elementB xmlns="http://www.example.org/b">This b:elementB should NOT have
     a green background</elementB>
<div class="green">
<p xmlns="">This p without declared namespace should  have a green background</p>
<elementA xmlns="">This elementA without declared namespace element should
     have a green background</elementA>
<elementB xmlns="">This elementB without declared namespace should have a
     green background</elementB>
</div>
'},'css3-modsel-143' => {'rev' => '1.0','escapedcode-xml' => '
&lt;div xmlns="http://www.w3.org/1999/xhtml" class="stub">
&lt;p title="si on chantait">This paragraph should NOT have a green background&lt;/p>
&lt;q xmlns="http://www.example.org/a" a:title="si nous chantions">This paragraph should 
          have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/a" title="si on chantait">This paragraph should NOT
          have a green background&lt;/r>
&lt;s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should 
          have a green background&lt;/s>
&lt;t xmlns="http://www.example.org/b" title="si nous chantions">This paragraph should 
          have a green background&lt;/t>
&lt;/div>
','escapedcode-css' => '@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
@namespace html url(http://www.w3.org/1999/xhtml);
*|p, *|q, *|r, *|s, *|t{ display : block ; margin-bottom : 1em }
*|q, *|s, *|t { background-color : red }
div.stub *|*:not([|title*="on ch"]) { background-color : lime }','escapedcode-html' => '
&lt;div class="stub">
&lt;p title="si on chantait">This paragraph should NOT have a green background&lt;/p>
&lt;q xmlns="http://www.example.org/a" a:title="si nous chantions">This paragraph should 
          have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/a" title="si on chantait">This paragraph should NOT
          have a green background&lt;/r>
&lt;s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should 
          have a green background&lt;/s>
&lt;t xmlns="http://www.example.org/b" title="si nous chantions">This paragraph should 
          have a green background&lt;/t>
&lt;/div>
','def' => 'NEGATED Substring matching attribute selector on middle without declared namespace','number' => '143','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => '@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
@namespace html url(http://www.w3.org/1999/xhtml);
*|p, *|q, *|r, *|s, *|t{ display : block ; margin-bottom : 1em }
*|q, *|s, *|t { background-color : red }
div.stub *|*:not([|title*="on ch"]) { background-color : lime }','author' => ['Daniel Glazman'],'code-html' => '
<div class="stub">
<p title="si on chantait">This paragraph should NOT have a green background</p>
<q xmlns="http://www.example.org/a" a:title="si nous chantions">This paragraph should 
          have a green background</q>
<r xmlns="http://www.example.org/a" title="si on chantait">This paragraph should NOT
          have a green background</r>
<s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should 
          have a green background</s>
<t xmlns="http://www.example.org/b" title="si nous chantions">This paragraph should 
          have a green background</t>
</div>
','endTag' => '</t>','date' => '11-july-2001','code-xml' => '
<div xmlns="http://www.w3.org/1999/xhtml" class="stub">
<p title="si on chantait">This paragraph should NOT have a green background</p>
<q xmlns="http://www.example.org/a" a:title="si nous chantions">This paragraph should 
          have a green background</q>
<r xmlns="http://www.example.org/a" title="si on chantait">This paragraph should NOT
          have a green background</r>
<s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should 
          have a green background</s>
<t xmlns="http://www.example.org/b" title="si nous chantions">This paragraph should 
          have a green background</t>
</div>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','namespaced' => 1,'escapedcode-xhtml' => '
&lt;div class="stub">
&lt;p title="si on chantait">This paragraph should NOT have a green background&lt;/p>
&lt;q xmlns="http://www.example.org/a" a:title="si nous chantions">This paragraph should 
          have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/a" title="si on chantait">This paragraph should NOT
          have a green background&lt;/r>
&lt;s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should 
          have a green background&lt;/s>
&lt;t xmlns="http://www.example.org/b" title="si nous chantions">This paragraph should 
          have a green background&lt;/t>
&lt;/div>
','code-xhtml' => '
<div class="stub">
<p title="si on chantait">This paragraph should NOT have a green background</p>
<q xmlns="http://www.example.org/a" a:title="si nous chantions">This paragraph should 
          have a green background</q>
<r xmlns="http://www.example.org/a" title="si on chantait">This paragraph should NOT
          have a green background</r>
<s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should 
          have a green background</s>
<t xmlns="http://www.example.org/b" title="si nous chantions">This paragraph should 
          have a green background</t>
</div>
'},'css3-modsel-97' => {'rev' => '1.0','escapedcode-xml' => '
&lt;p xmlns="http://www.w3.org/1999/xhtml" title="a paragraph">This paragraph should NOT have a green background&lt;/p>
&lt;q xmlns="http://www.example.org/a" a:title="a paragraph">This a:q element should
                 have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/b" b:title="a paragraph">This b:r element should NOT
                 have a green background&lt;/r>
','escapedcode-css' => '@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
*|p, *|q, *|r { display : block ; margin-bottom : 1em }
*|q { background-color : red }
*[a|title] {background-color : lime }
','escapedcode-html' => '
&lt;p title="a paragraph">This paragraph should NOT have a green background&lt;/p>
&lt;q xmlns="http://www.example.org/a" a:title="a paragraph">This a:q element should
                 have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/b" b:title="a paragraph">This b:r element should NOT
                 have a green background&lt;/r>
','def' => 'Attribute existence selector with declared namespace','number' => '97','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => '@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
*|p, *|q, *|r { display : block ; margin-bottom : 1em }
*|q { background-color : red }
*[a|title] {background-color : lime }
','author' => ['Daniel Glazman'],'code-html' => '
<p title="a paragraph">This paragraph should NOT have a green background</p>
<q xmlns="http://www.example.org/a" a:title="a paragraph">This a:q element should
                 have a green background</q>
<r xmlns="http://www.example.org/b" b:title="a paragraph">This b:r element should NOT
                 have a green background</r>
','endTag' => '</r>','date' => '11-july-2001','code-xml' => '
<p xmlns="http://www.w3.org/1999/xhtml" title="a paragraph">This paragraph should NOT have a green background</p>
<q xmlns="http://www.example.org/a" a:title="a paragraph">This a:q element should
                 have a green background</q>
<r xmlns="http://www.example.org/b" b:title="a paragraph">This b:r element should NOT
                 have a green background</r>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','namespaced' => 1,'escapedcode-xhtml' => '
&lt;p title="a paragraph">This paragraph should NOT have a green background&lt;/p>
&lt;q xmlns="http://www.example.org/a" a:title="a paragraph">This a:q element should
                 have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/b" b:title="a paragraph">This b:r element should NOT
                 have a green background&lt;/r>
','code-xhtml' => '
<p title="a paragraph">This paragraph should NOT have a green background</p>
<q xmlns="http://www.example.org/a" a:title="a paragraph">This a:q element should
                 have a green background</q>
<r xmlns="http://www.example.org/b" b:title="a paragraph">This b:r element should NOT
                 have a green background</r>
'},'css3-modsel-98' => {'rev' => '1.0','escapedcode-xml' => '
&lt;p xmlns="http://www.w3.org/1999/xhtml" title="foo">This paragraph should NOT have a green background&lt;/p>
&lt;q xmlns="http://www.example.org/a" a:title="foo">This a:q element should
                 have a green background&lt;/q>
&lt;s xmlns="http://www.example.org/a" a:title="foobar">This a:s element should NOT 
                 have a green background&lt;/s>
&lt;r xmlns="http://www.example.org/b" b:title="foo">This b:r element should NOT 
                 have a green background&lt;/r>
','escapedcode-css' => '@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
*|p, *|q, *|r, *|s { display : block ; margin-bottom : 1em }
*|q { background-color : red }
*[a|title="foo"] {background-color : lime }
','escapedcode-html' => '
&lt;p title="foo">This paragraph should NOT have a green background&lt;/p>
&lt;q xmlns="http://www.example.org/a" a:title="foo">This a:q element should
                 have a green background&lt;/q>
&lt;s xmlns="http://www.example.org/a" a:title="foobar">This a:s element should NOT 
                 have a green background&lt;/s>
&lt;r xmlns="http://www.example.org/b" b:title="foo">This b:r element should NOT 
                 have a green background&lt;/r>
','def' => 'Attribute value selector with declared namespace','number' => '98','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => '@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
*|p, *|q, *|r, *|s { display : block ; margin-bottom : 1em }
*|q { background-color : red }
*[a|title="foo"] {background-color : lime }
','author' => ['Daniel Glazman'],'code-html' => '
<p title="foo">This paragraph should NOT have a green background</p>
<q xmlns="http://www.example.org/a" a:title="foo">This a:q element should
                 have a green background</q>
<s xmlns="http://www.example.org/a" a:title="foobar">This a:s element should NOT 
                 have a green background</s>
<r xmlns="http://www.example.org/b" b:title="foo">This b:r element should NOT 
                 have a green background</r>
','endTag' => '</r>','date' => '11-july-2001','code-xml' => '
<p xmlns="http://www.w3.org/1999/xhtml" title="foo">This paragraph should NOT have a green background</p>
<q xmlns="http://www.example.org/a" a:title="foo">This a:q element should
                 have a green background</q>
<s xmlns="http://www.example.org/a" a:title="foobar">This a:s element should NOT 
                 have a green background</s>
<r xmlns="http://www.example.org/b" b:title="foo">This b:r element should NOT 
                 have a green background</r>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','namespaced' => 1,'escapedcode-xhtml' => '
&lt;p title="foo">This paragraph should NOT have a green background&lt;/p>
&lt;q xmlns="http://www.example.org/a" a:title="foo">This a:q element should
                 have a green background&lt;/q>
&lt;s xmlns="http://www.example.org/a" a:title="foobar">This a:s element should NOT 
                 have a green background&lt;/s>
&lt;r xmlns="http://www.example.org/b" b:title="foo">This b:r element should NOT 
                 have a green background&lt;/r>
','code-xhtml' => '
<p title="foo">This paragraph should NOT have a green background</p>
<q xmlns="http://www.example.org/a" a:title="foo">This a:q element should
                 have a green background</q>
<s xmlns="http://www.example.org/a" a:title="foobar">This a:s element should NOT 
                 have a green background</s>
<r xmlns="http://www.example.org/b" b:title="foo">This b:r element should NOT 
                 have a green background</r>
'},'css3-modsel-99' => {'rev' => '1.0','escapedcode-xml' => '
&lt;p xmlns="http://www.w3.org/1999/xhtml" class="t bar u">This paragraph should have a green background&lt;/p>
&lt;q xmlns="http://www.example.org/a" a:foo="hgt bardot f">This paragraph should NOT
          have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/a" a:foo="hgt bar f">This paragraph should
          have a green background&lt;/r>
&lt;s xmlns="http://www.example.org/b" b:foo="hgt bar f">This paragraph should NOT
          have a green background&lt;/s>
','escapedcode-css' => '@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
@namespace html url(http://www.w3.org/1999/xhtml);
*|p, *|q, *|r, *|s { display : block ; margin-bottom : 1em }
*|p, *|r { background-color : red }
*|*[a|foo~="bar"], *|*[html|class~="bar"] { background-color : lime }
','escapedcode-html' => '
&lt;p class="t bar u">This paragraph should have a green background&lt;/p>
&lt;q xmlns="http://www.example.org/a" a:foo="hgt bardot f">This paragraph should NOT
          have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/a" a:foo="hgt bar f">This paragraph should
          have a green background&lt;/r>
&lt;s xmlns="http://www.example.org/b" b:foo="hgt bar f">This paragraph should NOT
          have a green background&lt;/s>
','def' => 'Attribute space-separated value selector with declared namespace','number' => '99','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => '@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
@namespace html url(http://www.w3.org/1999/xhtml);
*|p, *|q, *|r, *|s { display : block ; margin-bottom : 1em }
*|p, *|r { background-color : red }
*|*[a|foo~="bar"], *|*[html|class~="bar"] { background-color : lime }
','author' => ['Daniel Glazman'],'code-html' => '
<p class="t bar u">This paragraph should have a green background</p>
<q xmlns="http://www.example.org/a" a:foo="hgt bardot f">This paragraph should NOT
          have a green background</q>
<r xmlns="http://www.example.org/a" a:foo="hgt bar f">This paragraph should
          have a green background</r>
<s xmlns="http://www.example.org/b" b:foo="hgt bar f">This paragraph should NOT
          have a green background</s>
','endTag' => '</s>','date' => '11-july-2001','code-xml' => '
<p xmlns="http://www.w3.org/1999/xhtml" class="t bar u">This paragraph should have a green background</p>
<q xmlns="http://www.example.org/a" a:foo="hgt bardot f">This paragraph should NOT
          have a green background</q>
<r xmlns="http://www.example.org/a" a:foo="hgt bar f">This paragraph should
          have a green background</r>
<s xmlns="http://www.example.org/b" b:foo="hgt bar f">This paragraph should NOT
          have a green background</s>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','namespaced' => 1,'escapedcode-xhtml' => '
&lt;p class="t bar u">This paragraph should have a green background&lt;/p>
&lt;q xmlns="http://www.example.org/a" a:foo="hgt bardot f">This paragraph should NOT
          have a green background&lt;/q>
&lt;r xmlns="http://www.example.org/a" a:foo="hgt bar f">This paragraph should
          have a green background&lt;/r>
&lt;s xmlns="http://www.example.org/b" b:foo="hgt bar f">This paragraph should NOT
          have a green background&lt;/s>
','code-xhtml' => '
<p class="t bar u">This paragraph should have a green background</p>
<q xmlns="http://www.example.org/a" a:foo="hgt bardot f">This paragraph should NOT
          have a green background</q>
<r xmlns="http://www.example.org/a" a:foo="hgt bar f">This paragraph should
          have a green background</r>
<s xmlns="http://www.example.org/b" b:foo="hgt bar f">This paragraph should NOT
          have a green background</s>
'},'css3-modsel-20' => {'rev' => '1.1','escapedcode-xml' => '
&lt;p xmlns="http://www.w3.org/1999/xhtml">The background color of &lt;a href="#foo">anchors&lt;/a>
  in this page should turn &lt;a href="#foo">to green&lt;/a> when they have the
  &lt;a href="#foo">focus&lt;/a>.&lt;/p>
','escapedcode-css' => 'a:focus { background-color : lime }','escapedcode-html' => '
&lt;p>The background color of &lt;a href="#foo">anchors&lt;/a>
  in this page should turn &lt;a href="#foo">to green&lt;/a> when they have the
  &lt;a href="#foo">focus&lt;/a>.&lt;/p>
','def' => ':focus pseudo-class','number' => '20','modulename' => 'css3-modsel','cssrules' => 'a:focus { background-color : lime }','module' => 'W3C Selectors','endTag' => '</a>','code-html' => '
<p>The background color of <a href="#foo">anchors</a>
  in this page should turn <a href="#foo">to green</a> when they have the
  <a href="#foo">focus</a>.</p>
','author' => ['Daniel Glazman','Ian Hickson'],'code-xml' => '
<p xmlns="http://www.w3.org/1999/xhtml">The background color of <a href="#foo">anchors</a>
  in this page should turn <a href="#foo">to green</a> when they have the
  <a href="#foo">focus</a>.</p>
','date' => '03-november-2001','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','escapedcode-xhtml' => '
&lt;p>The background color of &lt;a href="#foo">anchors&lt;/a>
  in this page should turn &lt;a href="#foo">to green&lt;/a> when they have the
  &lt;a href="#foo">focus&lt;/a>.&lt;/p>
','interactive' => 1,'code-xhtml' => '
<p>The background color of <a href="#foo">anchors</a>
  in this page should turn <a href="#foo">to green</a> when they have the
  <a href="#foo">focus</a>.</p>
'},'css3-modsel-21' => {'rev' => '1.1','escapedcode-xml' => '
&lt;p xmlns="http://www.w3.org/1999/xhtml" id="first">This paragraph should be unstyled.
       The background of the following paragraph should become green when
       you follow &lt;a href="#second">this link&lt;/a>.&lt;/p>
&lt;p xmlns="http://www.w3.org/1999/xhtml" id="second">This paragraph should initially be unstyled.
       It should become green when you select the link above. When you select
       &lt;a href="#third">this link&lt;/a>, it should return to being unstyled and the 
       background of the paragraph below should become green.&lt;/p>
&lt;p xmlns="http://www.w3.org/1999/xhtml" id="third">This paragraph should initially be unstyled.
       It should become green when you select the link above. When you follow
       &lt;a href="#missing">this link&lt;/a>, the three paragraphs
       should all return to being unstyled.&lt;/p>
','escapedcode-css' => 'p:target { background-color : lime }','escapedcode-html' => '
&lt;p id="first">This paragraph should be unstyled.
       The background of the following paragraph should become green when
       you follow &lt;a href="#second">this link&lt;/a>.&lt;/p>
&lt;p id="second">This paragraph should initially be unstyled.
       It should become green when you select the link above. When you select
       &lt;a href="#third">this link&lt;/a>, it should return to being unstyled and the 
       background of the paragraph below should become green.&lt;/p>
&lt;p id="third">This paragraph should initially be unstyled.
       It should become green when you select the link above. When you follow
       &lt;a href="#missing">this link&lt;/a>, the three paragraphs
       should all return to being unstyled.&lt;/p>
','def' => ':target pseudo-class','number' => '21','modulename' => 'css3-modsel','cssrules' => 'p:target { background-color : lime }','module' => 'W3C Selectors','endTag' => '</a>','code-html' => '
<p id="first">This paragraph should be unstyled.
       The background of the following paragraph should become green when
       you follow <a href="#second">this link</a>.</p>
<p id="second">This paragraph should initially be unstyled.
       It should become green when you select the link above. When you select
       <a href="#third">this link</a>, it should return to being unstyled and the 
       background of the paragraph below should become green.</p>
<p id="third">This paragraph should initially be unstyled.
       It should become green when you select the link above. When you follow
       <a href="#missing">this link</a>, the three paragraphs
       should all return to being unstyled.</p>
','author' => ['Daniel Glazman','Ian Hickson'],'code-xml' => '
<p xmlns="http://www.w3.org/1999/xhtml" id="first">This paragraph should be unstyled.
       The background of the following paragraph should become green when
       you follow <a href="#second">this link</a>.</p>
<p xmlns="http://www.w3.org/1999/xhtml" id="second">This paragraph should initially be unstyled.
       It should become green when you select the link above. When you select
       <a href="#third">this link</a>, it should return to being unstyled and the 
       background of the paragraph below should become green.</p>
<p xmlns="http://www.w3.org/1999/xhtml" id="third">This paragraph should initially be unstyled.
       It should become green when you select the link above. When you follow
       <a href="#missing">this link</a>, the three paragraphs
       should all return to being unstyled.</p>
','date' => '03-november-2001','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','escapedcode-xhtml' => '
&lt;p id="first">This paragraph should be unstyled.
       The background of the following paragraph should become green when
       you follow &lt;a href="#second">this link&lt;/a>.&lt;/p>
&lt;p id="second">This paragraph should initially be unstyled.
       It should become green when you select the link above. When you select
       &lt;a href="#third">this link&lt;/a>, it should return to being unstyled and the 
       background of the paragraph below should become green.&lt;/p>
&lt;p id="third">This paragraph should initially be unstyled.
       It should become green when you select the link above. When you follow
       &lt;a href="#missing">this link&lt;/a>, the three paragraphs
       should all return to being unstyled.&lt;/p>
','interactive' => 1,'code-xhtml' => '
<p id="first">This paragraph should be unstyled.
       The background of the following paragraph should become green when
       you follow <a href="#second">this link</a>.</p>
<p id="second">This paragraph should initially be unstyled.
       It should become green when you select the link above. When you select
       <a href="#third">this link</a>, it should return to being unstyled and the 
       background of the paragraph below should become green.</p>
<p id="third">This paragraph should initially be unstyled.
       It should become green when you select the link above. When you follow
       <a href="#missing">this link</a>, the three paragraphs
       should all return to being unstyled.</p>
'},'css3-modsel-22' => {'rev' => '1.0','escapedcode-xml' => '
&lt;ul xmlns="http://www.w3.org/1999/xhtml">
  &lt;li lang="en-gb">This list item should be green because its language is
        British English&lt;/li>
  &lt;li lang="en-gb-wa">This list item should be green because its language
        is British English (Wales)&lt;/li>
&lt;/ul>
&lt;ol xmlns="http://www.w3.org/1999/xhtml">
  &lt;li lang="en-us">This list item should NOT be green because its language
       is US English&lt;/li>
  &lt;li lang="fr">This list item should NOT be green because its language is
       French&lt;/li>
&lt;/ol>
','escapedcode-css' => 'ul > li { background-color : red }
li:lang(en-gb) { background-color : lime }','escapedcode-html' => '
&lt;ul>
  &lt;li lang="en-gb">This list item should be green because its language is
        British English&lt;/li>
  &lt;li lang="en-gb-wa">This list item should be green because its language
        is British English (Wales)&lt;/li>
&lt;/ul>
&lt;ol>
  &lt;li lang="en-us">This list item should NOT be green because its language
       is US English&lt;/li>
  &lt;li lang="fr">This list item should NOT be green because its language is
       French&lt;/li>
&lt;/ol>
','def' => ':lang() pseudo-class','number' => '22','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => 'ul > li { background-color : red }
li:lang(en-gb) { background-color : lime }','author' => ['Daniel Glazman'],'code-html' => '
<ul>
  <li lang="en-gb">This list item should be green because its language is
        British English</li>
  <li lang="en-gb-wa">This list item should be green because its language
        is British English (Wales)</li>
</ul>
<ol>
  <li lang="en-us">This list item should NOT be green because its language
       is US English</li>
  <li lang="fr">This list item should NOT be green because its language is
       French</li>
</ol>
','endTag' => '</li>','date' => '11-july-2001','code-xml' => '
<ul xmlns="http://www.w3.org/1999/xhtml">
  <li lang="en-gb">This list item should be green because its language is
        British English</li>
  <li lang="en-gb-wa">This list item should be green because its language
        is British English (Wales)</li>
</ul>
<ol xmlns="http://www.w3.org/1999/xhtml">
  <li lang="en-us">This list item should NOT be green because its language
       is US English</li>
  <li lang="fr">This list item should NOT be green because its language is
       French</li>
</ol>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','escapedcode-xhtml' => '
&lt;ul>
  &lt;li lang="en-gb">This list item should be green because its language is
        British English&lt;/li>
  &lt;li lang="en-gb-wa">This list item should be green because its language
        is British English (Wales)&lt;/li>
&lt;/ul>
&lt;ol>
  &lt;li lang="en-us">This list item should NOT be green because its language
       is US English&lt;/li>
  &lt;li lang="fr">This list item should NOT be green because its language is
       French&lt;/li>
&lt;/ol>
','code-xhtml' => '
<ul>
  <li lang="en-gb">This list item should be green because its language is
        British English</li>
  <li lang="en-gb-wa">This list item should be green because its language
        is British English (Wales)</li>
</ul>
<ol>
  <li lang="en-us">This list item should NOT be green because its language
       is US English</li>
  <li lang="fr">This list item should NOT be green because its language is
       French</li>
</ol>
'},'css3-modsel-23' => {'rev' => '1.0','escapedcode-xml' => '
&lt;button xmlns="http://www.w3.org/1999/xhtml">A button (enabled) with green background&lt;/button>
&lt;br xmlns="http://www.w3.org/1999/xhtml">&lt;/br>
&lt;input xmlns="http://www.w3.org/1999/xhtml" type="text" size="36" value="a text area (enabled) with green background">&lt;/input>
','escapedcode-css' => 'button { background-color : red }
input { background-color : red }
button:enabled { background-color : lime }
input:enabled { background-color : lime }','escapedcode-html' => '
&lt;button>A button (enabled) with green background&lt;/button>
&lt;br>&lt;/br>
&lt;input type="text" size="36" value="a text area (enabled) with green background">&lt;/input>
','def' => ':enabled pseudo-class','number' => '23','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => 'button { background-color : red }
input { background-color : red }
button:enabled { background-color : lime }
input:enabled { background-color : lime }','author' => ['Daniel Glazman','Ian Hickson'],'code-html' => '
<button>A button (enabled) with green background</button>
<br></br>
<input type="text" size="36" value="a text area (enabled) with green background"></input>
','endTag' => '</input>','date' => '22-october-2001','code-xml' => '
<button xmlns="http://www.w3.org/1999/xhtml">A button (enabled) with green background</button>
<br xmlns="http://www.w3.org/1999/xhtml"></br>
<input xmlns="http://www.w3.org/1999/xhtml" type="text" size="36" value="a text area (enabled) with green background"></input>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','escapedcode-xhtml' => '
&lt;button>A button (enabled) with green background&lt;/button>
&lt;br>&lt;/br>
&lt;input type="text" size="36" value="a text area (enabled) with green background">&lt;/input>
','code-xhtml' => '
<button>A button (enabled) with green background</button>
<br></br>
<input type="text" size="36" value="a text area (enabled) with green background"></input>
'},'css3-modsel-24' => {'rev' => '1.0','escapedcode-xml' => '
&lt;button xmlns="http://www.w3.org/1999/xhtml" disabled="disabled">A button (disabled) with green background&lt;/button>
&lt;br xmlns="http://www.w3.org/1999/xhtml">&lt;/br>
&lt;input xmlns="http://www.w3.org/1999/xhtml" disabled="disabled" type="text" size="36" value="a text area (disabled) with green background">&lt;/input>
','escapedcode-css' => 'button { background-color : red }
input { background-color : red }
button:disabled { background-color : lime }
input:disabled { background-color : lime }','escapedcode-html' => '
&lt;button disabled="disabled">A button (disabled) with green background&lt;/button>
&lt;br>&lt;/br>
&lt;input disabled="disabled" type="text" size="36" value="a text area (disabled) with green background">&lt;/input>
','def' => ':disabled pseudo-class','number' => '24','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => 'button { background-color : red }
input { background-color : red }
button:disabled { background-color : lime }
input:disabled { background-color : lime }','author' => ['Daniel Glazman','Ian Hickson'],'code-html' => '
<button disabled="disabled">A button (disabled) with green background</button>
<br></br>
<input disabled="disabled" type="text" size="36" value="a text area (disabled) with green background"></input>
','endTag' => '</input>','date' => '22-october-2001','code-xml' => '
<button xmlns="http://www.w3.org/1999/xhtml" disabled="disabled">A button (disabled) with green background</button>
<br xmlns="http://www.w3.org/1999/xhtml"></br>
<input xmlns="http://www.w3.org/1999/xhtml" disabled="disabled" type="text" size="36" value="a text area (disabled) with green background"></input>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','escapedcode-xhtml' => '
&lt;button disabled="disabled">A button (disabled) with green background&lt;/button>
&lt;br>&lt;/br>
&lt;input disabled="disabled" type="text" size="36" value="a text area (disabled) with green background">&lt;/input>
','code-xhtml' => '
<button disabled="disabled">A button (disabled) with green background</button>
<br></br>
<input disabled="disabled" type="text" size="36" value="a text area (disabled) with green background"></input>
'},'css3-modsel-25' => {'rev' => '1.0','escapedcode-xml' => '
&lt;p xmlns="http://www.w3.org/1999/xhtml">
&lt;input type="checkbox" checked="checked">&lt;/input> The checkbox should have a green background&lt;/p>
','escapedcode-css' => 'input { background-color : red }
input:checked { background-color : lime}','escapedcode-html' => '
&lt;p>
&lt;input type="checkbox" checked="checked">&lt;/input> The checkbox should have a green background&lt;/p>
','def' => ':checked pseudo-class','number' => '25','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => 'input { background-color : red }
input:checked { background-color : lime}','author' => ['Daniel Glazman'],'code-html' => '
<p>
<input type="checkbox" checked="checked"></input> The checkbox should have a green background</p>
','endTag' => '</input>','date' => '11-july-2001','code-xml' => '
<p xmlns="http://www.w3.org/1999/xhtml">
<input type="checkbox" checked="checked"></input> The checkbox should have a green background</p>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','escapedcode-xhtml' => '
&lt;p>
&lt;input type="checkbox" checked="checked">&lt;/input> The checkbox should have a green background&lt;/p>
','code-xhtml' => '
<p>
<input type="checkbox" checked="checked"></input> The checkbox should have a green background</p>
'},'css3-modsel-26' => {'rev' => '1.0','escapedcode-xml' => '
&lt;p xmlns="http://www.w3.org/1999/xhtml">
&lt;input type="checkbox" name="rg" value="1">&lt;/input>the background of this checkbox
          should be green&lt;br>&lt;/br>
&lt;input type="checkbox" name="rg" value="2">&lt;/input>the background of this checkbox
          should be green&lt;br>&lt;/br>
&lt;input type="checkbox" name="rg" value="2">&lt;/input>the background of this checkbox
          should be green&lt;br>&lt;/br>
&lt;/p>
','escapedcode-css' => 'input { background-color : red }
input:indeterminate { background-color : lime}','escapedcode-html' => '
&lt;p>
&lt;input type="checkbox" name="rg" value="1">&lt;/input>the background of this checkbox
          should be green&lt;br>&lt;/br>
&lt;input type="checkbox" name="rg" value="2">&lt;/input>the background of this checkbox
          should be green&lt;br>&lt;/br>
&lt;input type="checkbox" name="rg" value="2">&lt;/input>the background of this checkbox
          should be green&lt;br>&lt;/br>
&lt;/p>
','def' => ':indeterminate pseudo-class','number' => '26','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => 'input { background-color : red }
input:indeterminate { background-color : lime}','author' => ['Daniel Glazman'],'code-html' => '
<p>
<input type="checkbox" name="rg" value="1"></input>the background of this checkbox
          should be green<br></br>
<input type="checkbox" name="rg" value="2"></input>the background of this checkbox
          should be green<br></br>
<input type="checkbox" name="rg" value="2"></input>the background of this checkbox
          should be green<br></br>
</p>
','endTag' => '</br>','date' => '11-july-2001','code-xml' => '
<p xmlns="http://www.w3.org/1999/xhtml">
<input type="checkbox" name="rg" value="1"></input>the background of this checkbox
          should be green<br></br>
<input type="checkbox" name="rg" value="2"></input>the background of this checkbox
          should be green<br></br>
<input type="checkbox" name="rg" value="2"></input>the background of this checkbox
          should be green<br></br>
</p>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','escapedcode-xhtml' => '
&lt;p>
&lt;input type="checkbox" name="rg" value="1">&lt;/input>the background of this checkbox
          should be green&lt;br>&lt;/br>
&lt;input type="checkbox" name="rg" value="2">&lt;/input>the background of this checkbox
          should be green&lt;br>&lt;/br>
&lt;input type="checkbox" name="rg" value="2">&lt;/input>the background of this checkbox
          should be green&lt;br>&lt;/br>
&lt;/p>
','code-xhtml' => '
<p>
<input type="checkbox" name="rg" value="1"></input>the background of this checkbox
          should be green<br></br>
<input type="checkbox" name="rg" value="2"></input>the background of this checkbox
          should be green<br></br>
<input type="checkbox" name="rg" value="2"></input>the background of this checkbox
          should be green<br></br>
</p>
'},'css3-modsel-27' => {'rev' => '1.0','escapedcode-xml' => '
&lt;p xmlns="http://www.w3.org/1999/xhtml">The background of the document should be green&lt;/p>
','escapedcode-css' => 'html { background-color : red }
*:root { background-color: lime }','escapedcode-html' => '
&lt;p>The background of the document should be green&lt;/p>
','def' => ':root pseudo-class','number' => '27','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => 'html { background-color : red }
*:root { background-color: lime }','author' => ['Daniel Glazman'],'code-html' => '
<p>The background of the document should be green</p>
','endTag' => '</p>','date' => '11-july-2001','code-xml' => '
<p xmlns="http://www.w3.org/1999/xhtml">The background of the document should be green</p>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','escapedcode-xhtml' => '
&lt;p>The background of the document should be green&lt;/p>
','code-xhtml' => '
<p>The background of the document should be green</p>
'},'css3-modsel-28' => {'rev' => '1.0','escapedcode-xml' => '
&lt;ul xmlns="http://www.w3.org/1999/xhtml">
  &lt;li class="red" foo="foo">This first list item should have a green background&lt;/li>
  &lt;li>Second list item&lt;/li>
  &lt;li class="red">This third list item should have a green background&lt;/li>
  &lt;li>Fourth list item&lt;/li>
  &lt;li class="red">This fifth list item should have a green background&lt;/li>
  &lt;li>Sixth list item&lt;/li>
&lt;/ul>
&lt;ol xmlns="http://www.w3.org/1999/xhtml">
  &lt;li>First list item&lt;/li>
  &lt;li class="red">This second list item should have a green background&lt;/li>
  &lt;li>Third list item&lt;/li>
  &lt;li class="red">This fourth list item should have a green background&lt;/li>
  &lt;li>Fifth list item&lt;/li>
  &lt;li class="red">This sixth list item should have a green background&lt;/li>
&lt;/ol>
&lt;div xmlns="http://www.w3.org/1999/xhtml" align="center">
&lt;table border="1" class="t1">
  &lt;tr class="red">
&lt;td>Green row : 1.1&lt;/td>
&lt;td>1.2&lt;/td>
     &lt;td>1.3&lt;/td>
&lt;/tr>
  &lt;tr class="red">
&lt;td>Green row : 2.1&lt;/td>
&lt;td>2.2&lt;/td>
     &lt;td>2.3&lt;/td>
&lt;/tr>
  &lt;tr class="red">
&lt;td>Green row : 3.1&lt;/td>
&lt;td>3.2&lt;/td>
     &lt;td>3.3&lt;/td>
&lt;/tr>
  &lt;tr class="red">
&lt;td>Green row : 4.1&lt;/td>
&lt;td>4.2&lt;/td>
      &lt;td>4.3&lt;/td>
&lt;/tr>
  &lt;tr>
&lt;td>5.1&lt;/td>
&lt;td>5.2&lt;/td>
&lt;td>5.3&lt;/td>
&lt;/tr>
  &lt;tr>
&lt;td>6.1&lt;/td>
&lt;td>6.2&lt;/td>
&lt;td>6.3&lt;/td>
&lt;/tr>
&lt;/table>
&lt;p>&lt;/p>
&lt;table class="t2" border="1">
  &lt;tr>
&lt;td class="red">green cell&lt;/td>
&lt;td>1.2&lt;/td>
&lt;td>1.3&lt;/td>
      &lt;td class="red">green cell&lt;/td>
&lt;td>1.5&lt;/td>
&lt;td>1.6&lt;/td>
      &lt;td class="red">green cell&lt;/td>
&lt;td>1.8&lt;/td>
&lt;/tr>
  &lt;tr>
&lt;td class="red">green cell&lt;/td>
&lt;td>2.2&lt;/td>
&lt;td>2.3&lt;/td>
      &lt;td class="red">green cell&lt;/td>
&lt;td>2.5&lt;/td>
&lt;td>2.6&lt;/td>
      &lt;td class="red">green cell&lt;/td>
&lt;td>2.8&lt;/td>
&lt;/tr>
  &lt;tr>
&lt;td class="red">green cell&lt;/td>
&lt;td>3.2&lt;/td>
&lt;td>3.3&lt;/td>
      &lt;td class="red">green cell&lt;/td>
&lt;td>3.5&lt;/td>
&lt;td>3.6&lt;/td>
      &lt;td class="red">green cell&lt;/td>
&lt;td>3.8&lt;/td>
&lt;/tr>
&lt;/table>
&lt;/div>
','escapedcode-css' => '.red { background-color : red }
ul > li:nth-child(odd) { background-color : lime }
ol > li:nth-child(even) { background-color : lime }
table.t1 tr:nth-child(-n+4) { background-color : lime }
table.t2 td:nth-child(3n+1) { background-color : lime }','escapedcode-html' => '
&lt;ul>
  &lt;li class="red" foo="foo">This first list item should have a green background&lt;/li>
  &lt;li>Second list item&lt;/li>
  &lt;li class="red">This third list item should have a green background&lt;/li>
  &lt;li>Fourth list item&lt;/li>
  &lt;li class="red">This fifth list item should have a green background&lt;/li>
  &lt;li>Sixth list item&lt;/li>
&lt;/ul>
&lt;ol>
  &lt;li>First list item&lt;/li>
  &lt;li class="red">This second list item should have a green background&lt;/li>
  &lt;li>Third list item&lt;/li>
  &lt;li class="red">This fourth list item should have a green background&lt;/li>
  &lt;li>Fifth list item&lt;/li>
  &lt;li class="red">This sixth list item should have a green background&lt;/li>
&lt;/ol>
&lt;div align="center">
&lt;table border="1" class="t1">
  &lt;tr class="red">
&lt;td>Green row : 1.1&lt;/td>
&lt;td>1.2&lt;/td>
     &lt;td>1.3&lt;/td>
&lt;/tr>
  &lt;tr class="red">
&lt;td>Green row : 2.1&lt;/td>
&lt;td>2.2&lt;/td>
     &lt;td>2.3&lt;/td>
&lt;/tr>
  &lt;tr class="red">
&lt;td>Green row : 3.1&lt;/td>
&lt;td>3.2&lt;/td>
     &lt;td>3.3&lt;/td>
&lt;/tr>
  &lt;tr class="red">
&lt;td>Green row : 4.1&lt;/td>
&lt;td>4.2&lt;/td>
      &lt;td>4.3&lt;/td>
&lt;/tr>
  &lt;tr>
&lt;td>5.1&lt;/td>
&lt;td>5.2&lt;/td>
&lt;td>5.3&lt;/td>
&lt;/tr>
  &lt;tr>
&lt;td>6.1&lt;/td>
&lt;td>6.2&lt;/td>
&lt;td>6.3&lt;/td>
&lt;/tr>
&lt;/table>
&lt;p>&lt;/p>
&lt;table class="t2" border="1">
  &lt;tr>
&lt;td class="red">green cell&lt;/td>
&lt;td>1.2&lt;/td>
&lt;td>1.3&lt;/td>
      &lt;td class="red">green cell&lt;/td>
&lt;td>1.5&lt;/td>
&lt;td>1.6&lt;/td>
      &lt;td class="red">green cell&lt;/td>
&lt;td>1.8&lt;/td>
&lt;/tr>
  &lt;tr>
&lt;td class="red">green cell&lt;/td>
&lt;td>2.2&lt;/td>
&lt;td>2.3&lt;/td>
      &lt;td class="red">green cell&lt;/td>
&lt;td>2.5&lt;/td>
&lt;td>2.6&lt;/td>
      &lt;td class="red">green cell&lt;/td>
&lt;td>2.8&lt;/td>
&lt;/tr>
  &lt;tr>
&lt;td class="red">green cell&lt;/td>
&lt;td>3.2&lt;/td>
&lt;td>3.3&lt;/td>
      &lt;td class="red">green cell&lt;/td>
&lt;td>3.5&lt;/td>
&lt;td>3.6&lt;/td>
      &lt;td class="red">green cell&lt;/td>
&lt;td>3.8&lt;/td>
&lt;/tr>
&lt;/table>
&lt;/div>
','def' => ':nth-child() pseudo-class','number' => '28','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => '.red { background-color : red }
ul > li:nth-child(odd) { background-color : lime }
ol > li:nth-child(even) { background-color : lime }
table.t1 tr:nth-child(-n+4) { background-color : lime }
table.t2 td:nth-child(3n+1) { background-color : lime }','author' => ['Daniel Glazman'],'code-html' => '
<ul>
  <li class="red" foo="foo">This first list item should have a green background</li>
  <li>Second list item</li>
  <li class="red">This third list item should have a green background</li>
  <li>Fourth list item</li>
  <li class="red">This fifth list item should have a green background</li>
  <li>Sixth list item</li>
</ul>
<ol>
  <li>First list item</li>
  <li class="red">This second list item should have a green background</li>
  <li>Third list item</li>
  <li class="red">This fourth list item should have a green background</li>
  <li>Fifth list item</li>
  <li class="red">This sixth list item should have a green background</li>
</ol>
<div align="center">
<table border="1" class="t1">
  <tr class="red">
<td>Green row : 1.1</td>
<td>1.2</td>
     <td>1.3</td>
</tr>
  <tr class="red">
<td>Green row : 2.1</td>
<td>2.2</td>
     <td>2.3</td>
</tr>
  <tr class="red">
<td>Green row : 3.1</td>
<td>3.2</td>
     <td>3.3</td>
</tr>
  <tr class="red">
<td>Green row : 4.1</td>
<td>4.2</td>
      <td>4.3</td>
</tr>
  <tr>
<td>5.1</td>
<td>5.2</td>
<td>5.3</td>
</tr>
  <tr>
<td>6.1</td>
<td>6.2</td>
<td>6.3</td>
</tr>
</table>
<p></p>
<table class="t2" border="1">
  <tr>
<td class="red">green cell</td>
<td>1.2</td>
<td>1.3</td>
      <td class="red">green cell</td>
<td>1.5</td>
<td>1.6</td>
      <td class="red">green cell</td>
<td>1.8</td>
</tr>
  <tr>
<td class="red">green cell</td>
<td>2.2</td>
<td>2.3</td>
      <td class="red">green cell</td>
<td>2.5</td>
<td>2.6</td>
      <td class="red">green cell</td>
<td>2.8</td>
</tr>
  <tr>
<td class="red">green cell</td>
<td>3.2</td>
<td>3.3</td>
      <td class="red">green cell</td>
<td>3.5</td>
<td>3.6</td>
      <td class="red">green cell</td>
<td>3.8</td>
</tr>
</table>
</div>
','endTag' => '</td>','date' => '11-july-2001','code-xml' => '
<ul xmlns="http://www.w3.org/1999/xhtml">
  <li class="red" foo="foo">This first list item should have a green background</li>
  <li>Second list item</li>
  <li class="red">This third list item should have a green background</li>
  <li>Fourth list item</li>
  <li class="red">This fifth list item should have a green background</li>
  <li>Sixth list item</li>
</ul>
<ol xmlns="http://www.w3.org/1999/xhtml">
  <li>First list item</li>
  <li class="red">This second list item should have a green background</li>
  <li>Third list item</li>
  <li class="red">This fourth list item should have a green background</li>
  <li>Fifth list item</li>
  <li class="red">This sixth list item should have a green background</li>
</ol>
<div xmlns="http://www.w3.org/1999/xhtml" align="center">
<table border="1" class="t1">
  <tr class="red">
<td>Green row : 1.1</td>
<td>1.2</td>
     <td>1.3</td>
</tr>
  <tr class="red">
<td>Green row : 2.1</td>
<td>2.2</td>
     <td>2.3</td>
</tr>
  <tr class="red">
<td>Green row : 3.1</td>
<td>3.2</td>
     <td>3.3</td>
</tr>
  <tr class="red">
<td>Green row : 4.1</td>
<td>4.2</td>
      <td>4.3</td>
</tr>
  <tr>
<td>5.1</td>
<td>5.2</td>
<td>5.3</td>
</tr>
  <tr>
<td>6.1</td>
<td>6.2</td>
<td>6.3</td>
</tr>
</table>
<p></p>
<table class="t2" border="1">
  <tr>
<td class="red">green cell</td>
<td>1.2</td>
<td>1.3</td>
      <td class="red">green cell</td>
<td>1.5</td>
<td>1.6</td>
      <td class="red">green cell</td>
<td>1.8</td>
</tr>
  <tr>
<td class="red">green cell</td>
<td>2.2</td>
<td>2.3</td>
      <td class="red">green cell</td>
<td>2.5</td>
<td>2.6</td>
      <td class="red">green cell</td>
<td>2.8</td>
</tr>
  <tr>
<td class="red">green cell</td>
<td>3.2</td>
<td>3.3</td>
      <td class="red">green cell</td>
<td>3.5</td>
<td>3.6</td>
      <td class="red">green cell</td>
<td>3.8</td>
</tr>
</table>
</div>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','escapedcode-xhtml' => '
&lt;ul>
  &lt;li class="red" foo="foo">This first list item should have a green background&lt;/li>
  &lt;li>Second list item&lt;/li>
  &lt;li class="red">This third list item should have a green background&lt;/li>
  &lt;li>Fourth list item&lt;/li>
  &lt;li class="red">This fifth list item should have a green background&lt;/li>
  &lt;li>Sixth list item&lt;/li>
&lt;/ul>
&lt;ol>
  &lt;li>First list item&lt;/li>
  &lt;li class="red">This second list item should have a green background&lt;/li>
  &lt;li>Third list item&lt;/li>
  &lt;li class="red">This fourth list item should have a green background&lt;/li>
  &lt;li>Fifth list item&lt;/li>
  &lt;li class="red">This sixth list item should have a green background&lt;/li>
&lt;/ol>
&lt;div align="center">
&lt;table border="1" class="t1">
  &lt;tr class="red">
&lt;td>Green row : 1.1&lt;/td>
&lt;td>1.2&lt;/td>
     &lt;td>1.3&lt;/td>
&lt;/tr>
  &lt;tr class="red">
&lt;td>Green row : 2.1&lt;/td>
&lt;td>2.2&lt;/td>
     &lt;td>2.3&lt;/td>
&lt;/tr>
  &lt;tr class="red">
&lt;td>Green row : 3.1&lt;/td>
&lt;td>3.2&lt;/td>
     &lt;td>3.3&lt;/td>
&lt;/tr>
  &lt;tr class="red">
&lt;td>Green row : 4.1&lt;/td>
&lt;td>4.2&lt;/td>
      &lt;td>4.3&lt;/td>
&lt;/tr>
  &lt;tr>
&lt;td>5.1&lt;/td>
&lt;td>5.2&lt;/td>
&lt;td>5.3&lt;/td>
&lt;/tr>
  &lt;tr>
&lt;td>6.1&lt;/td>
&lt;td>6.2&lt;/td>
&lt;td>6.3&lt;/td>
&lt;/tr>
&lt;/table>
&lt;p>&lt;/p>
&lt;table class="t2" border="1">
  &lt;tr>
&lt;td class="red">green cell&lt;/td>
&lt;td>1.2&lt;/td>
&lt;td>1.3&lt;/td>
      &lt;td class="red">green cell&lt;/td>
&lt;td>1.5&lt;/td>
&lt;td>1.6&lt;/td>
      &lt;td class="red">green cell&lt;/td>
&lt;td>1.8&lt;/td>
&lt;/tr>
  &lt;tr>
&lt;td class="red">green cell&lt;/td>
&lt;td>2.2&lt;/td>
&lt;td>2.3&lt;/td>
      &lt;td class="red">green cell&lt;/td>
&lt;td>2.5&lt;/td>
&lt;td>2.6&lt;/td>
      &lt;td class="red">green cell&lt;/td>
&lt;td>2.8&lt;/td>
&lt;/tr>
  &lt;tr>
&lt;td class="red">green cell&lt;/td>
&lt;td>3.2&lt;/td>
&lt;td>3.3&lt;/td>
      &lt;td class="red">green cell&lt;/td>
&lt;td>3.5&lt;/td>
&lt;td>3.6&lt;/td>
      &lt;td class="red">green cell&lt;/td>
&lt;td>3.8&lt;/td>
&lt;/tr>
&lt;/table>
&lt;/div>
','code-xhtml' => '
<ul>
  <li class="red" foo="foo">This first list item should have a green background</li>
  <li>Second list item</li>
  <li class="red">This third list item should have a green background</li>
  <li>Fourth list item</li>
  <li class="red">This fifth list item should have a green background</li>
  <li>Sixth list item</li>
</ul>
<ol>
  <li>First list item</li>
  <li class="red">This second list item should have a green background</li>
  <li>Third list item</li>
  <li class="red">This fourth list item should have a green background</li>
  <li>Fifth list item</li>
  <li class="red">This sixth list item should have a green background</li>
</ol>
<div align="center">
<table border="1" class="t1">
  <tr class="red">
<td>Green row : 1.1</td>
<td>1.2</td>
     <td>1.3</td>
</tr>
  <tr class="red">
<td>Green row : 2.1</td>
<td>2.2</td>
     <td>2.3</td>
</tr>
  <tr class="red">
<td>Green row : 3.1</td>
<td>3.2</td>
     <td>3.3</td>
</tr>
  <tr class="red">
<td>Green row : 4.1</td>
<td>4.2</td>
      <td>4.3</td>
</tr>
  <tr>
<td>5.1</td>
<td>5.2</td>
<td>5.3</td>
</tr>
  <tr>
<td>6.1</td>
<td>6.2</td>
<td>6.3</td>
</tr>
</table>
<p></p>
<table class="t2" border="1">
  <tr>
<td class="red">green cell</td>
<td>1.2</td>
<td>1.3</td>
      <td class="red">green cell</td>
<td>1.5</td>
<td>1.6</td>
      <td class="red">green cell</td>
<td>1.8</td>
</tr>
  <tr>
<td class="red">green cell</td>
<td>2.2</td>
<td>2.3</td>
      <td class="red">green cell</td>
<td>2.5</td>
<td>2.6</td>
      <td class="red">green cell</td>
<td>2.8</td>
</tr>
  <tr>
<td class="red">green cell</td>
<td>3.2</td>
<td>3.3</td>
      <td class="red">green cell</td>
<td>3.5</td>
<td>3.6</td>
      <td class="red">green cell</td>
<td>3.8</td>
</tr>
</table>
</div>
'},'css3-modsel-29' => {'rev' => '1.0','escapedcode-xml' => '
&lt;ul xmlns="http://www.w3.org/1999/xhtml">
  &lt;li>First list item&lt;/li>
  &lt;li class="red">This second list item should have a green background&lt;/li>
  &lt;li>Third list item&lt;/li>
  &lt;li class="red">This fourth list item should have a green background&lt;/li>
  &lt;li>Fifth list item&lt;/li>
  &lt;li class="red">This sixth list item should have a green background&lt;/li>
&lt;/ul>
&lt;ol xmlns="http://www.w3.org/1999/xhtml">
  &lt;li class="red">This first list item should have a green background&lt;/li>
  &lt;li>Second list item&lt;/li>
  &lt;li class="red">This third list item should have a green background&lt;/li>
  &lt;li>Fourth list item&lt;/li>
  &lt;li class="red">This fifth list item should have a green background&lt;/li>
  &lt;li>Sixth list item&lt;/li>
&lt;/ol>
&lt;div xmlns="http://www.w3.org/1999/xhtml" align="center">
&lt;table border="1" class="t1">
  &lt;tr>
&lt;td>1.1&lt;/td>
&lt;td>1.2&lt;/td>
     &lt;td>1.3&lt;/td>
&lt;/tr>
  &lt;tr>
&lt;td>2.1&lt;/td>
&lt;td>2.2&lt;/td>
     &lt;td>2.3&lt;/td>
&lt;/tr>
  &lt;tr class="red">
&lt;td>Green row : 3.1&lt;/td>
&lt;td>3.2&lt;/td>
     &lt;td>3.3&lt;/td>
&lt;/tr>
  &lt;tr class="red">
&lt;td>Green row : 4.1&lt;/td>
&lt;td>4.2&lt;/td>
      &lt;td>4.3&lt;/td>
&lt;/tr>
  &lt;tr class="red">
&lt;td>Green row : 5.1&lt;/td>
&lt;td>5.2&lt;/td>
      &lt;td>5.3&lt;/td>
&lt;/tr>
  &lt;tr class="red">
&lt;td>Green row : 6.1&lt;/td>
&lt;td>6.2&lt;/td>
      &lt;td>6.3&lt;/td>
&lt;/tr>
&lt;/table>
&lt;p>&lt;/p>
&lt;table class="t2" border="1">
  &lt;tr>
&lt;td>1.1&lt;/td>
&lt;td class="red">green cell&lt;/td>
&lt;td>1.3&lt;/td>
      &lt;td>1.4&lt;/td>
&lt;td class="red">green cell&lt;/td>
&lt;td>1.6&lt;/td>
      &lt;td>1.7&lt;/td>
&lt;td class="red">green cell&lt;/td>
&lt;/tr>
  &lt;tr>
&lt;td>2.1&lt;/td>
&lt;td class="red">green cell&lt;/td>
&lt;td>2.3&lt;/td>
      &lt;td>2.4&lt;/td>
&lt;td class="red">green cell&lt;/td>
&lt;td>2.6&lt;/td>
      &lt;td>2.7&lt;/td>
&lt;td class="red">green cell&lt;/td>
&lt;/tr>
  &lt;tr>
&lt;td>3.1&lt;/td>
&lt;td class="red">green cell&lt;/td>
&lt;td>3.3&lt;/td>
      &lt;td>3.4&lt;/td>
&lt;td class="red">green cell&lt;/td>
&lt;td>3.6&lt;/td>
      &lt;td>3.7&lt;/td>
&lt;td class="red">green cell&lt;/td>
&lt;/tr>
&lt;/table>
&lt;/div>
','escapedcode-css' => '.red { background-color : red }
ul > li:nth-last-child(odd) { background-color : lime }
ol > li:nth-last-child(even) { background-color : lime }
table.t1 tr:nth-last-child(-n+4) { background-color : lime }
table.t2 td:nth-last-child(3n+1) { background-color : lime }','escapedcode-html' => '
&lt;ul>
  &lt;li>First list item&lt;/li>
  &lt;li class="red">This second list item should have a green background&lt;/li>
  &lt;li>Third list item&lt;/li>
  &lt;li class="red">This fourth list item should have a green background&lt;/li>
  &lt;li>Fifth list item&lt;/li>
  &lt;li class="red">This sixth list item should have a green background&lt;/li>
&lt;/ul>
&lt;ol>
  &lt;li class="red">This first list item should have a green background&lt;/li>
  &lt;li>Second list item&lt;/li>
  &lt;li class="red">This third list item should have a green background&lt;/li>
  &lt;li>Fourth list item&lt;/li>
  &lt;li class="red">This fifth list item should have a green background&lt;/li>
  &lt;li>Sixth list item&lt;/li>
&lt;/ol>
&lt;div align="center">
&lt;table border="1" class="t1">
  &lt;tr>
&lt;td>1.1&lt;/td>
&lt;td>1.2&lt;/td>
     &lt;td>1.3&lt;/td>
&lt;/tr>
  &lt;tr>
&lt;td>2.1&lt;/td>
&lt;td>2.2&lt;/td>
     &lt;td>2.3&lt;/td>
&lt;/tr>
  &lt;tr class="red">
&lt;td>Green row : 3.1&lt;/td>
&lt;td>3.2&lt;/td>
     &lt;td>3.3&lt;/td>
&lt;/tr>
  &lt;tr class="red">
&lt;td>Green row : 4.1&lt;/td>
&lt;td>4.2&lt;/td>
      &lt;td>4.3&lt;/td>
&lt;/tr>
  &lt;tr class="red">
&lt;td>Green row : 5.1&lt;/td>
&lt;td>5.2&lt;/td>
      &lt;td>5.3&lt;/td>
&lt;/tr>
  &lt;tr class="red">
&lt;td>Green row : 6.1&lt;/td>
&lt;td>6.2&lt;/td>
      &lt;td>6.3&lt;/td>
&lt;/tr>
&lt;/table>
&lt;p>&lt;/p>
&lt;table class="t2" border="1">
  &lt;tr>
&lt;td>1.1&lt;/td>
&lt;td class="red">green cell&lt;/td>
&lt;td>1.3&lt;/td>
      &lt;td>1.4&lt;/td>
&lt;td class="red">green cell&lt;/td>
&lt;td>1.6&lt;/td>
      &lt;td>1.7&lt;/td>
&lt;td class="red">green cell&lt;/td>
&lt;/tr>
  &lt;tr>
&lt;td>2.1&lt;/td>
&lt;td class="red">green cell&lt;/td>
&lt;td>2.3&lt;/td>
      &lt;td>2.4&lt;/td>
&lt;td class="red">green cell&lt;/td>
&lt;td>2.6&lt;/td>
      &lt;td>2.7&lt;/td>
&lt;td class="red">green cell&lt;/td>
&lt;/tr>
  &lt;tr>
&lt;td>3.1&lt;/td>
&lt;td class="red">green cell&lt;/td>
&lt;td>3.3&lt;/td>
      &lt;td>3.4&lt;/td>
&lt;td class="red">green cell&lt;/td>
&lt;td>3.6&lt;/td>
      &lt;td>3.7&lt;/td>
&lt;td class="red">green cell&lt;/td>
&lt;/tr>
&lt;/table>
&lt;/div>
','def' => ':nth-last-child() pseudo-class','number' => '29','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => '.red { background-color : red }
ul > li:nth-last-child(odd) { background-color : lime }
ol > li:nth-last-child(even) { background-color : lime }
table.t1 tr:nth-last-child(-n+4) { background-color : lime }
table.t2 td:nth-last-child(3n+1) { background-color : lime }','author' => ['Daniel Glazman'],'code-html' => '
<ul>
  <li>First list item</li>
  <li class="red">This second list item should have a green background</li>
  <li>Third list item</li>
  <li class="red">This fourth list item should have a green background</li>
  <li>Fifth list item</li>
  <li class="red">This sixth list item should have a green background</li>
</ul>
<ol>
  <li class="red">This first list item should have a green background</li>
  <li>Second list item</li>
  <li class="red">This third list item should have a green background</li>
  <li>Fourth list item</li>
  <li class="red">This fifth list item should have a green background</li>
  <li>Sixth list item</li>
</ol>
<div align="center">
<table border="1" class="t1">
  <tr>
<td>1.1</td>
<td>1.2</td>
     <td>1.3</td>
</tr>
  <tr>
<td>2.1</td>
<td>2.2</td>
     <td>2.3</td>
</tr>
  <tr class="red">
<td>Green row : 3.1</td>
<td>3.2</td>
     <td>3.3</td>
</tr>
  <tr class="red">
<td>Green row : 4.1</td>
<td>4.2</td>
      <td>4.3</td>
</tr>
  <tr class="red">
<td>Green row : 5.1</td>
<td>5.2</td>
      <td>5.3</td>
</tr>
  <tr class="red">
<td>Green row : 6.1</td>
<td>6.2</td>
      <td>6.3</td>
</tr>
</table>
<p></p>
<table class="t2" border="1">
  <tr>
<td>1.1</td>
<td class="red">green cell</td>
<td>1.3</td>
      <td>1.4</td>
<td class="red">green cell</td>
<td>1.6</td>
      <td>1.7</td>
<td class="red">green cell</td>
</tr>
  <tr>
<td>2.1</td>
<td class="red">green cell</td>
<td>2.3</td>
      <td>2.4</td>
<td class="red">green cell</td>
<td>2.6</td>
      <td>2.7</td>
<td class="red">green cell</td>
</tr>
  <tr>
<td>3.1</td>
<td class="red">green cell</td>
<td>3.3</td>
      <td>3.4</td>
<td class="red">green cell</td>
<td>3.6</td>
      <td>3.7</td>
<td class="red">green cell</td>
</tr>
</table>
</div>
','endTag' => '</td>','date' => '11-july-2001','code-xml' => '
<ul xmlns="http://www.w3.org/1999/xhtml">
  <li>First list item</li>
  <li class="red">This second list item should have a green background</li>
  <li>Third list item</li>
  <li class="red">This fourth list item should have a green background</li>
  <li>Fifth list item</li>
  <li class="red">This sixth list item should have a green background</li>
</ul>
<ol xmlns="http://www.w3.org/1999/xhtml">
  <li class="red">This first list item should have a green background</li>
  <li>Second list item</li>
  <li class="red">This third list item should have a green background</li>
  <li>Fourth list item</li>
  <li class="red">This fifth list item should have a green background</li>
  <li>Sixth list item</li>
</ol>
<div xmlns="http://www.w3.org/1999/xhtml" align="center">
<table border="1" class="t1">
  <tr>
<td>1.1</td>
<td>1.2</td>
     <td>1.3</td>
</tr>
  <tr>
<td>2.1</td>
<td>2.2</td>
     <td>2.3</td>
</tr>
  <tr class="red">
<td>Green row : 3.1</td>
<td>3.2</td>
     <td>3.3</td>
</tr>
  <tr class="red">
<td>Green row : 4.1</td>
<td>4.2</td>
      <td>4.3</td>
</tr>
  <tr class="red">
<td>Green row : 5.1</td>
<td>5.2</td>
      <td>5.3</td>
</tr>
  <tr class="red">
<td>Green row : 6.1</td>
<td>6.2</td>
      <td>6.3</td>
</tr>
</table>
<p></p>
<table class="t2" border="1">
  <tr>
<td>1.1</td>
<td class="red">green cell</td>
<td>1.3</td>
      <td>1.4</td>
<td class="red">green cell</td>
<td>1.6</td>
      <td>1.7</td>
<td class="red">green cell</td>
</tr>
  <tr>
<td>2.1</td>
<td class="red">green cell</td>
<td>2.3</td>
      <td>2.4</td>
<td class="red">green cell</td>
<td>2.6</td>
      <td>2.7</td>
<td class="red">green cell</td>
</tr>
  <tr>
<td>3.1</td>
<td class="red">green cell</td>
<td>3.3</td>
      <td>3.4</td>
<td class="red">green cell</td>
<td>3.6</td>
      <td>3.7</td>
<td class="red">green cell</td>
</tr>
</table>
</div>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','escapedcode-xhtml' => '
&lt;ul>
  &lt;li>First list item&lt;/li>
  &lt;li class="red">This second list item should have a green background&lt;/li>
  &lt;li>Third list item&lt;/li>
  &lt;li class="red">This fourth list item should have a green background&lt;/li>
  &lt;li>Fifth list item&lt;/li>
  &lt;li class="red">This sixth list item should have a green background&lt;/li>
&lt;/ul>
&lt;ol>
  &lt;li class="red">This first list item should have a green background&lt;/li>
  &lt;li>Second list item&lt;/li>
  &lt;li class="red">This third list item should have a green background&lt;/li>
  &lt;li>Fourth list item&lt;/li>
  &lt;li class="red">This fifth list item should have a green background&lt;/li>
  &lt;li>Sixth list item&lt;/li>
&lt;/ol>
&lt;div align="center">
&lt;table border="1" class="t1">
  &lt;tr>
&lt;td>1.1&lt;/td>
&lt;td>1.2&lt;/td>
     &lt;td>1.3&lt;/td>
&lt;/tr>
  &lt;tr>
&lt;td>2.1&lt;/td>
&lt;td>2.2&lt;/td>
     &lt;td>2.3&lt;/td>
&lt;/tr>
  &lt;tr class="red">
&lt;td>Green row : 3.1&lt;/td>
&lt;td>3.2&lt;/td>
     &lt;td>3.3&lt;/td>
&lt;/tr>
  &lt;tr class="red">
&lt;td>Green row : 4.1&lt;/td>
&lt;td>4.2&lt;/td>
      &lt;td>4.3&lt;/td>
&lt;/tr>
  &lt;tr class="red">
&lt;td>Green row : 5.1&lt;/td>
&lt;td>5.2&lt;/td>
      &lt;td>5.3&lt;/td>
&lt;/tr>
  &lt;tr class="red">
&lt;td>Green row : 6.1&lt;/td>
&lt;td>6.2&lt;/td>
      &lt;td>6.3&lt;/td>
&lt;/tr>
&lt;/table>
&lt;p>&lt;/p>
&lt;table class="t2" border="1">
  &lt;tr>
&lt;td>1.1&lt;/td>
&lt;td class="red">green cell&lt;/td>
&lt;td>1.3&lt;/td>
      &lt;td>1.4&lt;/td>
&lt;td class="red">green cell&lt;/td>
&lt;td>1.6&lt;/td>
      &lt;td>1.7&lt;/td>
&lt;td class="red">green cell&lt;/td>
&lt;/tr>
  &lt;tr>
&lt;td>2.1&lt;/td>
&lt;td class="red">green cell&lt;/td>
&lt;td>2.3&lt;/td>
      &lt;td>2.4&lt;/td>
&lt;td class="red">green cell&lt;/td>
&lt;td>2.6&lt;/td>
      &lt;td>2.7&lt;/td>
&lt;td class="red">green cell&lt;/td>
&lt;/tr>
  &lt;tr>
&lt;td>3.1&lt;/td>
&lt;td class="red">green cell&lt;/td>
&lt;td>3.3&lt;/td>
      &lt;td>3.4&lt;/td>
&lt;td class="red">green cell&lt;/td>
&lt;td>3.6&lt;/td>
      &lt;td>3.7&lt;/td>
&lt;td class="red">green cell&lt;/td>
&lt;/tr>
&lt;/table>
&lt;/div>
','code-xhtml' => '
<ul>
  <li>First list item</li>
  <li class="red">This second list item should have a green background</li>
  <li>Third list item</li>
  <li class="red">This fourth list item should have a green background</li>
  <li>Fifth list item</li>
  <li class="red">This sixth list item should have a green background</li>
</ul>
<ol>
  <li class="red">This first list item should have a green background</li>
  <li>Second list item</li>
  <li class="red">This third list item should have a green background</li>
  <li>Fourth list item</li>
  <li class="red">This fifth list item should have a green background</li>
  <li>Sixth list item</li>
</ol>
<div align="center">
<table border="1" class="t1">
  <tr>
<td>1.1</td>
<td>1.2</td>
     <td>1.3</td>
</tr>
  <tr>
<td>2.1</td>
<td>2.2</td>
     <td>2.3</td>
</tr>
  <tr class="red">
<td>Green row : 3.1</td>
<td>3.2</td>
     <td>3.3</td>
</tr>
  <tr class="red">
<td>Green row : 4.1</td>
<td>4.2</td>
      <td>4.3</td>
</tr>
  <tr class="red">
<td>Green row : 5.1</td>
<td>5.2</td>
      <td>5.3</td>
</tr>
  <tr class="red">
<td>Green row : 6.1</td>
<td>6.2</td>
      <td>6.3</td>
</tr>
</table>
<p></p>
<table class="t2" border="1">
  <tr>
<td>1.1</td>
<td class="red">green cell</td>
<td>1.3</td>
      <td>1.4</td>
<td class="red">green cell</td>
<td>1.6</td>
      <td>1.7</td>
<td class="red">green cell</td>
</tr>
  <tr>
<td>2.1</td>
<td class="red">green cell</td>
<td>2.3</td>
      <td>2.4</td>
<td class="red">green cell</td>
<td>2.6</td>
      <td>2.7</td>
<td class="red">green cell</td>
</tr>
  <tr>
<td>3.1</td>
<td class="red">green cell</td>
<td>3.3</td>
      <td>3.4</td>
<td class="red">green cell</td>
<td>3.6</td>
      <td>3.7</td>
<td class="red">green cell</td>
</tr>
</table>
</div>
'},'css3-modsel-30' => {'rev' => '1.0','escapedcode-xml' => '
&lt;p xmlns="http://www.w3.org/1999/xhtml">This paragraph is here only to fill space in the DOM&lt;/p>
&lt;address xmlns="http://www.w3.org/1999/xhtml">And this address too..&lt;/address>
&lt;p xmlns="http://www.w3.org/1999/xhtml">So does this paragraph !&lt;/p>
&lt;p xmlns="http://www.w3.org/1999/xhtml" class="red">But this one should have green background&lt;/p>
&lt;dl xmlns="http://www.w3.org/1999/xhtml">
  &lt;dt class="red">First definition term that should have green background&lt;/dt>
    &lt;dd class="red">First definition that should have green background&lt;/dd>
  &lt;dt>Second definition term&lt;/dt>
    &lt;dd>Second definition&lt;/dd>
  &lt;dt>Third definition term&lt;/dt>
    &lt;dd>Third definition&lt;/dd>
  &lt;dt class="red">Fourth definition term that should have green background&lt;/dt>
    &lt;dd class="red">Fourth definition that should have green background&lt;/dd>
  &lt;dt>Fifth definition term&lt;/dt>
    &lt;dd>Fifth definition&lt;/dd>
  &lt;dt>Sixth definition term&lt;/dt>
    &lt;dd>Sixth definition&lt;/dd>
&lt;/dl>
','escapedcode-css' => '.red { background-color : red }
p:nth-of-type(3) { background-color : lime }
dl > :nth-of-type(3n+1) { background-color : lime }
','escapedcode-html' => '
&lt;p>This paragraph is here only to fill space in the DOM&lt;/p>
&lt;address>And this address too..&lt;/address>
&lt;p>So does this paragraph !&lt;/p>
&lt;p class="red">But this one should have green background&lt;/p>
&lt;dl>
  &lt;dt class="red">First definition term that should have green background&lt;/dt>
    &lt;dd class="red">First definition that should have green background&lt;/dd>
  &lt;dt>Second definition term&lt;/dt>
    &lt;dd>Second definition&lt;/dd>
  &lt;dt>Third definition term&lt;/dt>
    &lt;dd>Third definition&lt;/dd>
  &lt;dt class="red">Fourth definition term that should have green background&lt;/dt>
    &lt;dd class="red">Fourth definition that should have green background&lt;/dd>
  &lt;dt>Fifth definition term&lt;/dt>
    &lt;dd>Fifth definition&lt;/dd>
  &lt;dt>Sixth definition term&lt;/dt>
    &lt;dd>Sixth definition&lt;/dd>
&lt;/dl>
','def' => ':nth-of-type() pseudo-class','number' => '30','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => '.red { background-color : red }
p:nth-of-type(3) { background-color : lime }
dl > :nth-of-type(3n+1) { background-color : lime }
','author' => ['Daniel Glazman'],'code-html' => '
<p>This paragraph is here only to fill space in the DOM</p>
<address>And this address too..</address>
<p>So does this paragraph !</p>
<p class="red">But this one should have green background</p>
<dl>
  <dt class="red">First definition term that should have green background</dt>
    <dd class="red">First definition that should have green background</dd>
  <dt>Second definition term</dt>
    <dd>Second definition</dd>
  <dt>Third definition term</dt>
    <dd>Third definition</dd>
  <dt class="red">Fourth definition term that should have green background</dt>
    <dd class="red">Fourth definition that should have green background</dd>
  <dt>Fifth definition term</dt>
    <dd>Fifth definition</dd>
  <dt>Sixth definition term</dt>
    <dd>Sixth definition</dd>
</dl>
','endTag' => '</dd>','date' => '11-july-2001','code-xml' => '
<p xmlns="http://www.w3.org/1999/xhtml">This paragraph is here only to fill space in the DOM</p>
<address xmlns="http://www.w3.org/1999/xhtml">And this address too..</address>
<p xmlns="http://www.w3.org/1999/xhtml">So does this paragraph !</p>
<p xmlns="http://www.w3.org/1999/xhtml" class="red">But this one should have green background</p>
<dl xmlns="http://www.w3.org/1999/xhtml">
  <dt class="red">First definition term that should have green background</dt>
    <dd class="red">First definition that should have green background</dd>
  <dt>Second definition term</dt>
    <dd>Second definition</dd>
  <dt>Third definition term</dt>
    <dd>Third definition</dd>
  <dt class="red">Fourth definition term that should have green background</dt>
    <dd class="red">Fourth definition that should have green background</dd>
  <dt>Fifth definition term</dt>
    <dd>Fifth definition</dd>
  <dt>Sixth definition term</dt>
    <dd>Sixth definition</dd>
</dl>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','escapedcode-xhtml' => '
&lt;p>This paragraph is here only to fill space in the DOM&lt;/p>
&lt;address>And this address too..&lt;/address>
&lt;p>So does this paragraph !&lt;/p>
&lt;p class="red">But this one should have green background&lt;/p>
&lt;dl>
  &lt;dt class="red">First definition term that should have green background&lt;/dt>
    &lt;dd class="red">First definition that should have green background&lt;/dd>
  &lt;dt>Second definition term&lt;/dt>
    &lt;dd>Second definition&lt;/dd>
  &lt;dt>Third definition term&lt;/dt>
    &lt;dd>Third definition&lt;/dd>
  &lt;dt class="red">Fourth definition term that should have green background&lt;/dt>
    &lt;dd class="red">Fourth definition that should have green background&lt;/dd>
  &lt;dt>Fifth definition term&lt;/dt>
    &lt;dd>Fifth definition&lt;/dd>
  &lt;dt>Sixth definition term&lt;/dt>
    &lt;dd>Sixth definition&lt;/dd>
&lt;/dl>
','code-xhtml' => '
<p>This paragraph is here only to fill space in the DOM</p>
<address>And this address too..</address>
<p>So does this paragraph !</p>
<p class="red">But this one should have green background</p>
<dl>
  <dt class="red">First definition term that should have green background</dt>
    <dd class="red">First definition that should have green background</dd>
  <dt>Second definition term</dt>
    <dd>Second definition</dd>
  <dt>Third definition term</dt>
    <dd>Third definition</dd>
  <dt class="red">Fourth definition term that should have green background</dt>
    <dd class="red">Fourth definition that should have green background</dd>
  <dt>Fifth definition term</dt>
    <dd>Fifth definition</dd>
  <dt>Sixth definition term</dt>
    <dd>Sixth definition</dd>
</dl>
'},'css3-modsel-31' => {'rev' => '1.0','escapedcode-xml' => '
&lt;p xmlns="http://www.w3.org/1999/xhtml" class="red">This paragraph should have green background&lt;/p>
&lt;address xmlns="http://www.w3.org/1999/xhtml">But this address is here only to fill space in the dom..&lt;/address>
&lt;p xmlns="http://www.w3.org/1999/xhtml">So does this paragraph !&lt;/p>
&lt;p xmlns="http://www.w3.org/1999/xhtml">And so does this one too.&lt;/p>
&lt;dl xmlns="http://www.w3.org/1999/xhtml">
  &lt;dt>First definition term&lt;/dt>
    &lt;dd>First definition&lt;/dd>
  &lt;dt>Second definition term&lt;/dt>
    &lt;dd>Second definition&lt;/dd>
  &lt;dt class="red">Third definition term that should have green background&lt;/dt>
    &lt;dd class="red">Third definition that should have green background&lt;/dd>
  &lt;dt>Fourth definition term&lt;/dt>
    &lt;dd>Fourth definition&lt;/dd>
  &lt;dt>Fifth definition term&lt;/dt>
    &lt;dd>Fifth definition&lt;/dd>
  &lt;dt class="red">Sixth definition term that should have green background&lt;/dt>
    &lt;dd class="red">Sixth definition that should have green background&lt;/dd>
&lt;/dl>
','escapedcode-css' => '.red { background-color : red }
p:nth-last-of-type(3) { background-color : lime }
dl > :nth-last-of-type(3n+1) { background-color : lime }
','escapedcode-html' => '
&lt;p class="red">This paragraph should have green background&lt;/p>
&lt;address>But this address is here only to fill space in the dom..&lt;/address>
&lt;p>So does this paragraph !&lt;/p>
&lt;p>And so does this one too.&lt;/p>
&lt;dl>
  &lt;dt>First definition term&lt;/dt>
    &lt;dd>First definition&lt;/dd>
  &lt;dt>Second definition term&lt;/dt>
    &lt;dd>Second definition&lt;/dd>
  &lt;dt class="red">Third definition term that should have green background&lt;/dt>
    &lt;dd class="red">Third definition that should have green background&lt;/dd>
  &lt;dt>Fourth definition term&lt;/dt>
    &lt;dd>Fourth definition&lt;/dd>
  &lt;dt>Fifth definition term&lt;/dt>
    &lt;dd>Fifth definition&lt;/dd>
  &lt;dt class="red">Sixth definition term that should have green background&lt;/dt>
    &lt;dd class="red">Sixth definition that should have green background&lt;/dd>
&lt;/dl>
','def' => ':nth-last-of-type() pseudo-class','number' => '31','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => '.red { background-color : red }
p:nth-last-of-type(3) { background-color : lime }
dl > :nth-last-of-type(3n+1) { background-color : lime }
','author' => ['Daniel Glazman'],'code-html' => '
<p class="red">This paragraph should have green background</p>
<address>But this address is here only to fill space in the dom..</address>
<p>So does this paragraph !</p>
<p>And so does this one too.</p>
<dl>
  <dt>First definition term</dt>
    <dd>First definition</dd>
  <dt>Second definition term</dt>
    <dd>Second definition</dd>
  <dt class="red">Third definition term that should have green background</dt>
    <dd class="red">Third definition that should have green background</dd>
  <dt>Fourth definition term</dt>
    <dd>Fourth definition</dd>
  <dt>Fifth definition term</dt>
    <dd>Fifth definition</dd>
  <dt class="red">Sixth definition term that should have green background</dt>
    <dd class="red">Sixth definition that should have green background</dd>
</dl>
','endTag' => '</dd>','date' => '11-july-2001','code-xml' => '
<p xmlns="http://www.w3.org/1999/xhtml" class="red">This paragraph should have green background</p>
<address xmlns="http://www.w3.org/1999/xhtml">But this address is here only to fill space in the dom..</address>
<p xmlns="http://www.w3.org/1999/xhtml">So does this paragraph !</p>
<p xmlns="http://www.w3.org/1999/xhtml">And so does this one too.</p>
<dl xmlns="http://www.w3.org/1999/xhtml">
  <dt>First definition term</dt>
    <dd>First definition</dd>
  <dt>Second definition term</dt>
    <dd>Second definition</dd>
  <dt class="red">Third definition term that should have green background</dt>
    <dd class="red">Third definition that should have green background</dd>
  <dt>Fourth definition term</dt>
    <dd>Fourth definition</dd>
  <dt>Fifth definition term</dt>
    <dd>Fifth definition</dd>
  <dt class="red">Sixth definition term that should have green background</dt>
    <dd class="red">Sixth definition that should have green background</dd>
</dl>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','escapedcode-xhtml' => '
&lt;p class="red">This paragraph should have green background&lt;/p>
&lt;address>But this address is here only to fill space in the dom..&lt;/address>
&lt;p>So does this paragraph !&lt;/p>
&lt;p>And so does this one too.&lt;/p>
&lt;dl>
  &lt;dt>First definition term&lt;/dt>
    &lt;dd>First definition&lt;/dd>
  &lt;dt>Second definition term&lt;/dt>
    &lt;dd>Second definition&lt;/dd>
  &lt;dt class="red">Third definition term that should have green background&lt;/dt>
    &lt;dd class="red">Third definition that should have green background&lt;/dd>
  &lt;dt>Fourth definition term&lt;/dt>
    &lt;dd>Fourth definition&lt;/dd>
  &lt;dt>Fifth definition term&lt;/dt>
    &lt;dd>Fifth definition&lt;/dd>
  &lt;dt class="red">Sixth definition term that should have green background&lt;/dt>
    &lt;dd class="red">Sixth definition that should have green background&lt;/dd>
&lt;/dl>
','code-xhtml' => '
<p class="red">This paragraph should have green background</p>
<address>But this address is here only to fill space in the dom..</address>
<p>So does this paragraph !</p>
<p>And so does this one too.</p>
<dl>
  <dt>First definition term</dt>
    <dd>First definition</dd>
  <dt>Second definition term</dt>
    <dd>Second definition</dd>
  <dt class="red">Third definition term that should have green background</dt>
    <dd class="red">Third definition that should have green background</dd>
  <dt>Fourth definition term</dt>
    <dd>Fourth definition</dd>
  <dt>Fifth definition term</dt>
    <dd>Fifth definition</dd>
  <dt class="red">Sixth definition term that should have green background</dt>
    <dd class="red">Sixth definition that should have green background</dd>
</dl>
'},'css3-modsel-32' => {'rev' => '1.0','escapedcode-xml' => '
&lt;div xmlns="http://www.w3.org/1999/xhtml" align="center">
&lt;table class="t1" border="1">
  &lt;tr>
    &lt;td class="red">green cell&lt;/td>
    &lt;td>1.2&lt;/td>
    &lt;td>1.3&lt;/td>
  &lt;/tr>
  &lt;tr>
    &lt;td class="red">green cell&lt;/td>
    &lt;td>2.2&lt;/td>
    &lt;td>2.3&lt;/td>
  &lt;/tr>
  &lt;tr>
    &lt;td class="red">green cell&lt;/td>
    &lt;td>3.2&lt;/td>
    &lt;td>3.3&lt;/td>
  &lt;/tr>
&lt;/table>
&lt;/div>
&lt;p xmlns="http://www.w3.org/1999/xhtml">This paragraph contains some text
          &lt;span>and a span that should have a green background&lt;/span>
&lt;/p>
','escapedcode-css' => '.red { background-color : red }
.t1 td:first-child { background-color : lime }
p > *:first-child { background-color : lime }
','escapedcode-html' => '
&lt;div align="center">
&lt;table class="t1" border="1">
  &lt;tr>
    &lt;td class="red">green cell&lt;/td>
    &lt;td>1.2&lt;/td>
    &lt;td>1.3&lt;/td>
  &lt;/tr>
  &lt;tr>
    &lt;td class="red">green cell&lt;/td>
    &lt;td>2.2&lt;/td>
    &lt;td>2.3&lt;/td>
  &lt;/tr>
  &lt;tr>
    &lt;td class="red">green cell&lt;/td>
    &lt;td>3.2&lt;/td>
    &lt;td>3.3&lt;/td>
  &lt;/tr>
&lt;/table>
&lt;/div>
&lt;p>This paragraph contains some text
          &lt;span>and a span that should have a green background&lt;/span>
&lt;/p>
','def' => ':first-child pseudo-class','number' => '32','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => '.red { background-color : red }
.t1 td:first-child { background-color : lime }
p > *:first-child { background-color : lime }
','author' => ['Daniel Glazman'],'code-html' => '
<div align="center">
<table class="t1" border="1">
  <tr>
    <td class="red">green cell</td>
    <td>1.2</td>
    <td>1.3</td>
  </tr>
  <tr>
    <td class="red">green cell</td>
    <td>2.2</td>
    <td>2.3</td>
  </tr>
  <tr>
    <td class="red">green cell</td>
    <td>3.2</td>
    <td>3.3</td>
  </tr>
</table>
</div>
<p>This paragraph contains some text
          <span>and a span that should have a green background</span>
</p>
','endTag' => '</span>','date' => '11-july-2001','code-xml' => '
<div xmlns="http://www.w3.org/1999/xhtml" align="center">
<table class="t1" border="1">
  <tr>
    <td class="red">green cell</td>
    <td>1.2</td>
    <td>1.3</td>
  </tr>
  <tr>
    <td class="red">green cell</td>
    <td>2.2</td>
    <td>2.3</td>
  </tr>
  <tr>
    <td class="red">green cell</td>
    <td>3.2</td>
    <td>3.3</td>
  </tr>
</table>
</div>
<p xmlns="http://www.w3.org/1999/xhtml">This paragraph contains some text
          <span>and a span that should have a green background</span>
</p>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','escapedcode-xhtml' => '
&lt;div align="center">
&lt;table class="t1" border="1">
  &lt;tr>
    &lt;td class="red">green cell&lt;/td>
    &lt;td>1.2&lt;/td>
    &lt;td>1.3&lt;/td>
  &lt;/tr>
  &lt;tr>
    &lt;td class="red">green cell&lt;/td>
    &lt;td>2.2&lt;/td>
    &lt;td>2.3&lt;/td>
  &lt;/tr>
  &lt;tr>
    &lt;td class="red">green cell&lt;/td>
    &lt;td>3.2&lt;/td>
    &lt;td>3.3&lt;/td>
  &lt;/tr>
&lt;/table>
&lt;/div>
&lt;p>This paragraph contains some text
          &lt;span>and a span that should have a green background&lt;/span>
&lt;/p>
','code-xhtml' => '
<div align="center">
<table class="t1" border="1">
  <tr>
    <td class="red">green cell</td>
    <td>1.2</td>
    <td>1.3</td>
  </tr>
  <tr>
    <td class="red">green cell</td>
    <td>2.2</td>
    <td>2.3</td>
  </tr>
  <tr>
    <td class="red">green cell</td>
    <td>3.2</td>
    <td>3.3</td>
  </tr>
</table>
</div>
<p>This paragraph contains some text
          <span>and a span that should have a green background</span>
</p>
'},'css3-modsel-33' => {'rev' => '1.0','escapedcode-xml' => '
&lt;div xmlns="http://www.w3.org/1999/xhtml" align="center">
&lt;table class="t1" border="1">
  &lt;tr>
    &lt;td>1.1&lt;/td>
    &lt;td>1.2&lt;/td>
    &lt;td class="red">green cell&lt;/td>
  &lt;/tr>
  &lt;tr>
    &lt;td>2.1&lt;/td>
    &lt;td>2.2&lt;/td>
    &lt;td class="red">green cell&lt;/td>
  &lt;/tr>
  &lt;tr>
    &lt;td>3.1&lt;/td>
    &lt;td>3.2&lt;/td>
    &lt;td class="red">green cell&lt;/td>
  &lt;/tr>
&lt;/table>
&lt;/div>
&lt;p xmlns="http://www.w3.org/1999/xhtml">
&lt;span>This paragraph contains a span that should
     have a green background&lt;/span> and some text after it.&lt;/p>
','escapedcode-css' => '.red { background-color : red }
.t1 td:last-child { background-color : lime }
p > *:last-child { background-color : lime }
','escapedcode-html' => '
&lt;div align="center">
&lt;table class="t1" border="1">
  &lt;tr>
    &lt;td>1.1&lt;/td>
    &lt;td>1.2&lt;/td>
    &lt;td class="red">green cell&lt;/td>
  &lt;/tr>
  &lt;tr>
    &lt;td>2.1&lt;/td>
    &lt;td>2.2&lt;/td>
    &lt;td class="red">green cell&lt;/td>
  &lt;/tr>
  &lt;tr>
    &lt;td>3.1&lt;/td>
    &lt;td>3.2&lt;/td>
    &lt;td class="red">green cell&lt;/td>
  &lt;/tr>
&lt;/table>
&lt;/div>
&lt;p>
&lt;span>This paragraph contains a span that should
     have a green background&lt;/span> and some text after it.&lt;/p>
','def' => ':last-child pseudo-class','number' => '33','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => '.red { background-color : red }
.t1 td:last-child { background-color : lime }
p > *:last-child { background-color : lime }
','author' => ['Daniel Glazman'],'code-html' => '
<div align="center">
<table class="t1" border="1">
  <tr>
    <td>1.1</td>
    <td>1.2</td>
    <td class="red">green cell</td>
  </tr>
  <tr>
    <td>2.1</td>
    <td>2.2</td>
    <td class="red">green cell</td>
  </tr>
  <tr>
    <td>3.1</td>
    <td>3.2</td>
    <td class="red">green cell</td>
  </tr>
</table>
</div>
<p>
<span>This paragraph contains a span that should
     have a green background</span> and some text after it.</p>
','endTag' => '</span>','date' => '11-july-2001','code-xml' => '
<div xmlns="http://www.w3.org/1999/xhtml" align="center">
<table class="t1" border="1">
  <tr>
    <td>1.1</td>
    <td>1.2</td>
    <td class="red">green cell</td>
  </tr>
  <tr>
    <td>2.1</td>
    <td>2.2</td>
    <td class="red">green cell</td>
  </tr>
  <tr>
    <td>3.1</td>
    <td>3.2</td>
    <td class="red">green cell</td>
  </tr>
</table>
</div>
<p xmlns="http://www.w3.org/1999/xhtml">
<span>This paragraph contains a span that should
     have a green background</span> and some text after it.</p>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','escapedcode-xhtml' => '
&lt;div align="center">
&lt;table class="t1" border="1">
  &lt;tr>
    &lt;td>1.1&lt;/td>
    &lt;td>1.2&lt;/td>
    &lt;td class="red">green cell&lt;/td>
  &lt;/tr>
  &lt;tr>
    &lt;td>2.1&lt;/td>
    &lt;td>2.2&lt;/td>
    &lt;td class="red">green cell&lt;/td>
  &lt;/tr>
  &lt;tr>
    &lt;td>3.1&lt;/td>
    &lt;td>3.2&lt;/td>
    &lt;td class="red">green cell&lt;/td>
  &lt;/tr>
&lt;/table>
&lt;/div>
&lt;p>
&lt;span>This paragraph contains a span that should
     have a green background&lt;/span> and some text after it.&lt;/p>
','code-xhtml' => '
<div align="center">
<table class="t1" border="1">
  <tr>
    <td>1.1</td>
    <td>1.2</td>
    <td class="red">green cell</td>
  </tr>
  <tr>
    <td>2.1</td>
    <td>2.2</td>
    <td class="red">green cell</td>
  </tr>
  <tr>
    <td>3.1</td>
    <td>3.2</td>
    <td class="red">green cell</td>
  </tr>
</table>
</div>
<p>
<span>This paragraph contains a span that should
     have a green background</span> and some text after it.</p>
'},'css3-modsel-34' => {'rev' => '1.0','escapedcode-xml' => '
&lt;div xmlns="http://www.w3.org/1999/xhtml">This div contains 3 addresses :
&lt;address class="red">A first address that should have a green background&lt;/address>
&lt;address>A second address with normal background&lt;/address>
&lt;address>A third address with normal background&lt;/address>
&lt;/div>
','escapedcode-css' => '.red { background-color : red }
address { margin-bottom : 1em ; margin-left : 1em }
address:first-of-type { background-color : lime }
','escapedcode-html' => '
&lt;div>This div contains 3 addresses :
&lt;address class="red">A first address that should have a green background&lt;/address>
&lt;address>A second address with normal background&lt;/address>
&lt;address>A third address with normal background&lt;/address>
&lt;/div>
','def' => ':first-of-type pseudo-class','number' => '34','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => '.red { background-color : red }
address { margin-bottom : 1em ; margin-left : 1em }
address:first-of-type { background-color : lime }
','author' => ['Daniel Glazman'],'code-html' => '
<div>This div contains 3 addresses :
<address class="red">A first address that should have a green background</address>
<address>A second address with normal background</address>
<address>A third address with normal background</address>
</div>
','endTag' => '</address>','date' => '11-july-2001','code-xml' => '
<div xmlns="http://www.w3.org/1999/xhtml">This div contains 3 addresses :
<address class="red">A first address that should have a green background</address>
<address>A second address with normal background</address>
<address>A third address with normal background</address>
</div>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','escapedcode-xhtml' => '
&lt;div>This div contains 3 addresses :
&lt;address class="red">A first address that should have a green background&lt;/address>
&lt;address>A second address with normal background&lt;/address>
&lt;address>A third address with normal background&lt;/address>
&lt;/div>
','code-xhtml' => '
<div>This div contains 3 addresses :
<address class="red">A first address that should have a green background</address>
<address>A second address with normal background</address>
<address>A third address with normal background</address>
</div>
'},'css3-modsel-35' => {'rev' => '1.0','escapedcode-xml' => '
&lt;div xmlns="http://www.w3.org/1999/xhtml">
&lt;address>A first address with normal background&lt;/address>
&lt;address>A second address with normal background&lt;/address>
&lt;address class="red">A third address that should have a green background&lt;/address>
and this div contains 3 addresses.&lt;/div>
','escapedcode-css' => '.red { background-color : red }
address { margin-bottom : 1em ; margin-left : 1em }
address:last-of-type { background-color : lime }
','escapedcode-html' => '
&lt;div>
&lt;address>A first address with normal background&lt;/address>
&lt;address>A second address with normal background&lt;/address>
&lt;address class="red">A third address that should have a green background&lt;/address>
and this div contains 3 addresses.&lt;/div>
','def' => ':last-of-type pseudo-class','number' => '35','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => '.red { background-color : red }
address { margin-bottom : 1em ; margin-left : 1em }
address:last-of-type { background-color : lime }
','author' => ['Daniel Glazman'],'code-html' => '
<div>
<address>A first address with normal background</address>
<address>A second address with normal background</address>
<address class="red">A third address that should have a green background</address>
and this div contains 3 addresses.</div>
','endTag' => '</address>','date' => '11-july-2001','code-xml' => '
<div xmlns="http://www.w3.org/1999/xhtml">
<address>A first address with normal background</address>
<address>A second address with normal background</address>
<address class="red">A third address that should have a green background</address>
and this div contains 3 addresses.</div>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','escapedcode-xhtml' => '
&lt;div>
&lt;address>A first address with normal background&lt;/address>
&lt;address>A second address with normal background&lt;/address>
&lt;address class="red">A third address that should have a green background&lt;/address>
and this div contains 3 addresses.&lt;/div>
','code-xhtml' => '
<div>
<address>A first address with normal background</address>
<address>A second address with normal background</address>
<address class="red">A third address that should have a green background</address>
and this div contains 3 addresses.</div>
'},'css3-modsel-36' => {'rev' => '1.0','escapedcode-xml' => '
&lt;p xmlns="http://www.w3.org/1999/xhtml">This paragraph should have normal background&lt;/p>
&lt;div xmlns="http://www.w3.org/1999/xhtml">This div contains only one paragraph
    &lt;p class="red">This paragraph should have green background&lt;/p>
&lt;/div>
','escapedcode-css' => '.red { background-color : red }
p:only-child { background-color : lime }
div.testText > div > p { margin-left : 1em }
','escapedcode-html' => '
&lt;p>This paragraph should have normal background&lt;/p>
&lt;div>This div contains only one paragraph
    &lt;p class="red">This paragraph should have green background&lt;/p>
&lt;/div>
','def' => ':only-child pseudo-class','number' => '36','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => '.red { background-color : red }
p:only-child { background-color : lime }
div.testText > div > p { margin-left : 1em }
','author' => ['Daniel Glazman'],'code-html' => '
<p>This paragraph should have normal background</p>
<div>This div contains only one paragraph
    <p class="red">This paragraph should have green background</p>
</div>
','endTag' => '</p>','date' => '11-july-2001','code-xml' => '
<p xmlns="http://www.w3.org/1999/xhtml">This paragraph should have normal background</p>
<div xmlns="http://www.w3.org/1999/xhtml">This div contains only one paragraph
    <p class="red">This paragraph should have green background</p>
</div>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','escapedcode-xhtml' => '
&lt;p>This paragraph should have normal background&lt;/p>
&lt;div>This div contains only one paragraph
    &lt;p class="red">This paragraph should have green background&lt;/p>
&lt;/div>
','code-xhtml' => '
<p>This paragraph should have normal background</p>
<div>This div contains only one paragraph
    <p class="red">This paragraph should have green background</p>
</div>
'},'css3-modsel-37' => {'rev' => '1.0','escapedcode-xml' => '
&lt;div xmlns="http://www.w3.org/1999/xhtml" class="t1">
&lt;p>This paragraph should have normal background&lt;/p>
&lt;address class="red">But this address should have green background&lt;/address>
&lt;p>This paragraph should have normal background&lt;/p>
&lt;/div>
','escapedcode-css' => '.red { background-color : red }
.t1 :only-of-type { background-color : lime }
','escapedcode-html' => '
&lt;div class="t1">
&lt;p>This paragraph should have normal background&lt;/p>
&lt;address class="red">But this address should have green background&lt;/address>
&lt;p>This paragraph should have normal background&lt;/p>
&lt;/div>
','def' => ':only-of-type pseudo-class','number' => '37','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => '.red { background-color : red }
.t1 :only-of-type { background-color : lime }
','author' => ['Daniel Glazman'],'code-html' => '
<div class="t1">
<p>This paragraph should have normal background</p>
<address class="red">But this address should have green background</address>
<p>This paragraph should have normal background</p>
</div>
','endTag' => '</p>','date' => '11-july-2001','code-xml' => '
<div xmlns="http://www.w3.org/1999/xhtml" class="t1">
<p>This paragraph should have normal background</p>
<address class="red">But this address should have green background</address>
<p>This paragraph should have normal background</p>
</div>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','escapedcode-xhtml' => '
&lt;div class="t1">
&lt;p>This paragraph should have normal background&lt;/p>
&lt;address class="red">But this address should have green background&lt;/address>
&lt;p>This paragraph should have normal background&lt;/p>
&lt;/div>
','code-xhtml' => '
<div class="t1">
<p>This paragraph should have normal background</p>
<address class="red">But this address should have green background</address>
<p>This paragraph should have normal background</p>
</div>
'},'css3-modsel-38' => {'rev' => '1.0','escapedcode-xml' => '
&lt;p xmlns="http://www.w3.org/1999/xhtml">This very long paragraph should have a
      first line with green background. This very long paragraph should have a first
      line with green background.  This very long paragraph should have a first line
      with green background. This very long paragraph should have a first line with
      green background. This very long paragraph should have a first line with green
      background. This very long paragraph should have a first line with green background.
      This very long paragraph should have a first line with green background.&lt;/p>
','escapedcode-css' => 'p:first-line { background-color : lime }
','escapedcode-html' => '
&lt;p>This very long paragraph should have a
      first line with green background. This very long paragraph should have a first
      line with green background.  This very long paragraph should have a first line
      with green background. This very long paragraph should have a first line with
      green background. This very long paragraph should have a first line with green
      background. This very long paragraph should have a first line with green background.
      This very long paragraph should have a first line with green background.&lt;/p>
','def' => '::first-line pseudo-element','number' => '38','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => 'p:first-line { background-color : lime }
','author' => ['Daniel Glazman'],'code-html' => '
<p>This very long paragraph should have a
      first line with green background. This very long paragraph should have a first
      line with green background.  This very long paragraph should have a first line
      with green background. This very long paragraph should have a first line with
      green background. This very long paragraph should have a first line with green
      background. This very long paragraph should have a first line with green background.
      This very long paragraph should have a first line with green background.</p>
','endTag' => '</p>','date' => '11-july-2001','code-xml' => '
<p xmlns="http://www.w3.org/1999/xhtml">This very long paragraph should have a
      first line with green background. This very long paragraph should have a first
      line with green background.  This very long paragraph should have a first line
      with green background. This very long paragraph should have a first line with
      green background. This very long paragraph should have a first line with green
      background. This very long paragraph should have a first line with green background.
      This very long paragraph should have a first line with green background.</p>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','escapedcode-xhtml' => '
&lt;p>This very long paragraph should have a
      first line with green background. This very long paragraph should have a first
      line with green background.  This very long paragraph should have a first line
      with green background. This very long paragraph should have a first line with
      green background. This very long paragraph should have a first line with green
      background. This very long paragraph should have a first line with green background.
      This very long paragraph should have a first line with green background.&lt;/p>
','code-xhtml' => '
<p>This very long paragraph should have a
      first line with green background. This very long paragraph should have a first
      line with green background.  This very long paragraph should have a first line
      with green background. This very long paragraph should have a first line with
      green background. This very long paragraph should have a first line with green
      background. This very long paragraph should have a first line with green background.
      This very long paragraph should have a first line with green background.</p>
'},'css3-modsel-39' => {'rev' => '1.0','escapedcode-xml' => '
&lt;p xmlns="http://www.w3.org/1999/xhtml">This very long paragraph should have a first letter
       with green background.&lt;/p>
','escapedcode-css' => 'p:first-letter { font-size : xx-large ; background-color : lime }','escapedcode-html' => '
&lt;p>This very long paragraph should have a first letter
       with green background.&lt;/p>
','def' => '::first-letter pseudo-element','number' => '39','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => 'p:first-letter { font-size : xx-large ; background-color : lime }','author' => ['Daniel Glazman'],'code-html' => '
<p>This very long paragraph should have a first letter
       with green background.</p>
','endTag' => '</p>','date' => '11-july-2001','code-xml' => '
<p xmlns="http://www.w3.org/1999/xhtml">This very long paragraph should have a first letter
       with green background.</p>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','escapedcode-xhtml' => '
&lt;p>This very long paragraph should have a first letter
       with green background.&lt;/p>
','code-xhtml' => '
<p>This very long paragraph should have a first letter
       with green background.</p>
'},'css3-modsel-40' => {'rev' => '1.0','escapedcode-xml' => '
&lt;p xmlns="http://www.w3.org/1999/xhtml">Any textual selection in this long paragraph should have green background. Any textual selection in this long paragraph should have green background. Any textual selection in this long paragraph should have green background.&lt;/p>
','escapedcode-css' => 'p::selection { font-size : xx-large ; background-color : lime }
','escapedcode-html' => '
&lt;p>Any textual selection in this long paragraph should have green background. Any textual selection in this long paragraph should have green background. Any textual selection in this long paragraph should have green background.&lt;/p>
','def' => '::selection pseudo-element','number' => '40','modulename' => 'css3-modsel','cssrules' => 'p::selection { font-size : xx-large ; background-color : lime }
','module' => 'W3C Selectors','endTag' => '</p>','code-html' => '
<p>Any textual selection in this long paragraph should have green background. Any textual selection in this long paragraph should have green background. Any textual selection in this long paragraph should have green background.</p>
','author' => ['Daniel Glazman'],'code-xml' => '
<p xmlns="http://www.w3.org/1999/xhtml">Any textual selection in this long paragraph should have green background. Any textual selection in this long paragraph should have green background. Any textual selection in this long paragraph should have green background.</p>
','date' => '11-july-2001','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','escapedcode-xhtml' => '
&lt;p>Any textual selection in this long paragraph should have green background. Any textual selection in this long paragraph should have green background. Any textual selection in this long paragraph should have green background.&lt;/p>
','interactive' => 1,'code-xhtml' => '
<p>Any textual selection in this long paragraph should have green background. Any textual selection in this long paragraph should have green background. Any textual selection in this long paragraph should have green background.</p>
'},'css3-modsel-41' => {'rev' => '1.0','escapedcode-xml' => '
&lt;p xmlns="http://www.w3.org/1999/xhtml">You should see before this paragraph the words GENERATED CONTENT over green background&lt;/p>
','escapedcode-css' => 'p::before { background-color : lime ; content : "GENERATED CONTENT "}
','escapedcode-html' => '
&lt;p>You should see before this paragraph the words GENERATED CONTENT over green background&lt;/p>
','def' => '::before pseudo-element','number' => '41','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => 'p::before { background-color : lime ; content : "GENERATED CONTENT "}
','author' => ['Daniel Glazman'],'code-html' => '
<p>You should see before this paragraph the words GENERATED CONTENT over green background</p>
','endTag' => '</p>','date' => '11-july-2001','code-xml' => '
<p xmlns="http://www.w3.org/1999/xhtml">You should see before this paragraph the words GENERATED CONTENT over green background</p>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','escapedcode-xhtml' => '
&lt;p>You should see before this paragraph the words GENERATED CONTENT over green background&lt;/p>
','code-xhtml' => '
<p>You should see before this paragraph the words GENERATED CONTENT over green background</p>
'},'css3-modsel-42' => {'rev' => '1.0','escapedcode-xml' => '
&lt;p xmlns="http://www.w3.org/1999/xhtml">You should see after this paragraph the words GENERATED CONTENT over green background&lt;/p>
','escapedcode-css' => 'p::after { background-color : lime ; content : "GENERATED CONTENT "}
','escapedcode-html' => '
&lt;p>You should see after this paragraph the words GENERATED CONTENT over green background&lt;/p>
','def' => '::after pseudo-element','number' => '42','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => 'p::after { background-color : lime ; content : "GENERATED CONTENT "}
','author' => ['Daniel Glazman'],'code-html' => '
<p>You should see after this paragraph the words GENERATED CONTENT over green background</p>
','endTag' => '</p>','date' => '11-july-2001','code-xml' => '
<p xmlns="http://www.w3.org/1999/xhtml">You should see after this paragraph the words GENERATED CONTENT over green background</p>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','escapedcode-xhtml' => '
&lt;p>You should see after this paragraph the words GENERATED CONTENT over green background&lt;/p>
','code-xhtml' => '
<p>You should see after this paragraph the words GENERATED CONTENT over green background</p>
'},'css3-modsel-43' => {'rev' => '1.0','escapedcode-xml' => '
&lt;div xmlns="http://www.w3.org/1999/xhtml" class="t1">
  &lt;p class="red">This paragraph should have a green background&lt;/p>
  &lt;table>
    &lt;tbody>
      &lt;tr>
&lt;td>
&lt;p class="red">This paragraph should have a green background&lt;/p>
&lt;/td>
&lt;/tr>
    &lt;/tbody>
  &lt;/table>
&lt;/div>
&lt;table xmlns="http://www.w3.org/1999/xhtml">
&lt;tbody>
&lt;tr>
&lt;td>
&lt;p>This paragraph should NOT have a green background&lt;/p>
&lt;/td>
&lt;/tr>
&lt;/tbody>
&lt;/table>
','escapedcode-css' => '.red {background-color : red }
div.t1 p { background-color : lime }','escapedcode-html' => '
&lt;div class="t1">
  &lt;p class="red">This paragraph should have a green background&lt;/p>
  &lt;table>
    &lt;tbody>
      &lt;tr>
&lt;td>
&lt;p class="red">This paragraph should have a green background&lt;/p>
&lt;/td>
&lt;/tr>
    &lt;/tbody>
  &lt;/table>
&lt;/div>
&lt;table>
&lt;tbody>
&lt;tr>
&lt;td>
&lt;p>This paragraph should NOT have a green background&lt;/p>
&lt;/td>
&lt;/tr>
&lt;/tbody>
&lt;/table>
','def' => 'Descendant combinator','number' => '43','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => '.red {background-color : red }
div.t1 p { background-color : lime }','author' => ['Daniel GLAZMAN'],'code-html' => '
<div class="t1">
  <p class="red">This paragraph should have a green background</p>
  <table>
    <tbody>
      <tr>
<td>
<p class="red">This paragraph should have a green background</p>
</td>
</tr>
    </tbody>
  </table>
</div>
<table>
<tbody>
<tr>
<td>
<p>This paragraph should NOT have a green background</p>
</td>
</tr>
</tbody>
</table>
','endTag' => '</p>','date' => '11-july-2001','code-xml' => '
<div xmlns="http://www.w3.org/1999/xhtml" class="t1">
  <p class="red">This paragraph should have a green background</p>
  <table>
    <tbody>
      <tr>
<td>
<p class="red">This paragraph should have a green background</p>
</td>
</tr>
    </tbody>
  </table>
</div>
<table xmlns="http://www.w3.org/1999/xhtml">
<tbody>
<tr>
<td>
<p>This paragraph should NOT have a green background</p>
</td>
</tr>
</tbody>
</table>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','escapedcode-xhtml' => '
&lt;div class="t1">
  &lt;p class="red">This paragraph should have a green background&lt;/p>
  &lt;table>
    &lt;tbody>
      &lt;tr>
&lt;td>
&lt;p class="red">This paragraph should have a green background&lt;/p>
&lt;/td>
&lt;/tr>
    &lt;/tbody>
  &lt;/table>
&lt;/div>
&lt;table>
&lt;tbody>
&lt;tr>
&lt;td>
&lt;p>This paragraph should NOT have a green background&lt;/p>
&lt;/td>
&lt;/tr>
&lt;/tbody>
&lt;/table>
','code-xhtml' => '
<div class="t1">
  <p class="red">This paragraph should have a green background</p>
  <table>
    <tbody>
      <tr>
<td>
<p class="red">This paragraph should have a green background</p>
</td>
</tr>
    </tbody>
  </table>
</div>
<table>
<tbody>
<tr>
<td>
<p>This paragraph should NOT have a green background</p>
</td>
</tr>
</tbody>
</table>
'},'css3-modsel-44' => {'rev' => '1.0','escapedcode-xml' => '
&lt;div xmlns="http://www.w3.org/1999/xhtml">
&lt;p class="red">This paragraph should have a green background&lt;/p>
&lt;div>
&lt;p class="red">This paragraph should have a green background&lt;/p>
&lt;/div>
&lt;/div>
&lt;table xmlns="http://www.w3.org/1999/xhtml">
&lt;tbody>
&lt;tr>
&lt;td>
&lt;p>This paragraph should NOT have a green background&lt;/p>
&lt;/td>
&lt;/tr>
&lt;/tbody>
&lt;/table>
','escapedcode-css' => '.red {background-color : red }
div > p.red { background-color : lime }','escapedcode-html' => '
&lt;div>
&lt;p class="red">This paragraph should have a green background&lt;/p>
&lt;div>
&lt;p class="red">This paragraph should have a green background&lt;/p>
&lt;/div>
&lt;/div>
&lt;table>
&lt;tbody>
&lt;tr>
&lt;td>
&lt;p>This paragraph should NOT have a green background&lt;/p>
&lt;/td>
&lt;/tr>
&lt;/tbody>
&lt;/table>
','def' => 'Child combinator','number' => '44','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => '.red {background-color : red }
div > p.red { background-color : lime }','author' => ['Daniel GLAZMAN'],'code-html' => '
<div>
<p class="red">This paragraph should have a green background</p>
<div>
<p class="red">This paragraph should have a green background</p>
</div>
</div>
<table>
<tbody>
<tr>
<td>
<p>This paragraph should NOT have a green background</p>
</td>
</tr>
</tbody>
</table>
','endTag' => '</p>','date' => '11-july-2001','code-xml' => '
<div xmlns="http://www.w3.org/1999/xhtml">
<p class="red">This paragraph should have a green background</p>
<div>
<p class="red">This paragraph should have a green background</p>
</div>
</div>
<table xmlns="http://www.w3.org/1999/xhtml">
<tbody>
<tr>
<td>
<p>This paragraph should NOT have a green background</p>
</td>
</tr>
</tbody>
</table>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','escapedcode-xhtml' => '
&lt;div>
&lt;p class="red">This paragraph should have a green background&lt;/p>
&lt;div>
&lt;p class="red">This paragraph should have a green background&lt;/p>
&lt;/div>
&lt;/div>
&lt;table>
&lt;tbody>
&lt;tr>
&lt;td>
&lt;p>This paragraph should NOT have a green background&lt;/p>
&lt;/td>
&lt;/tr>
&lt;/tbody>
&lt;/table>
','code-xhtml' => '
<div>
<p class="red">This paragraph should have a green background</p>
<div>
<p class="red">This paragraph should have a green background</p>
</div>
</div>
<table>
<tbody>
<tr>
<td>
<p>This paragraph should NOT have a green background</p>
</td>
</tr>
</tbody>
</table>
'},'css3-modsel-45' => {'rev' => '1.0','escapedcode-xml' => '
&lt;div xmlns="http://www.w3.org/1999/xhtml" class="stub">
&lt;p>This paragraph should NOT have a green background&lt;/p>
&lt;p class="red">But this one should have a green background&lt;/p>
&lt;p class="red">And this one should also have a green background&lt;/p>
&lt;address>This address is only here to fill some space between two
         paragraphs&lt;/address>
&lt;p>This paragraph should NOT have a green background&lt;/p>
&lt;/div>
','escapedcode-css' => '.red { background-color : red }
div.stub > p + p { background-color : lime }','escapedcode-html' => '
&lt;div class="stub">
&lt;p>This paragraph should NOT have a green background&lt;/p>
&lt;p class="red">But this one should have a green background&lt;/p>
&lt;p class="red">And this one should also have a green background&lt;/p>
&lt;address>This address is only here to fill some space between two
         paragraphs&lt;/address>
&lt;p>This paragraph should NOT have a green background&lt;/p>
&lt;/div>
','def' => 'Direct adjacent combinator','number' => '45','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => '.red { background-color : red }
div.stub > p + p { background-color : lime }','author' => ['Daniel Glazman'],'code-html' => '
<div class="stub">
<p>This paragraph should NOT have a green background</p>
<p class="red">But this one should have a green background</p>
<p class="red">And this one should also have a green background</p>
<address>This address is only here to fill some space between two
         paragraphs</address>
<p>This paragraph should NOT have a green background</p>
</div>
','endTag' => '</p>','date' => '11-july-2001','code-xml' => '
<div xmlns="http://www.w3.org/1999/xhtml" class="stub">
<p>This paragraph should NOT have a green background</p>
<p class="red">But this one should have a green background</p>
<p class="red">And this one should also have a green background</p>
<address>This address is only here to fill some space between two
         paragraphs</address>
<p>This paragraph should NOT have a green background</p>
</div>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','escapedcode-xhtml' => '
&lt;div class="stub">
&lt;p>This paragraph should NOT have a green background&lt;/p>
&lt;p class="red">But this one should have a green background&lt;/p>
&lt;p class="red">And this one should also have a green background&lt;/p>
&lt;address>This address is only here to fill some space between two
         paragraphs&lt;/address>
&lt;p>This paragraph should NOT have a green background&lt;/p>
&lt;/div>
','code-xhtml' => '
<div class="stub">
<p>This paragraph should NOT have a green background</p>
<p class="red">But this one should have a green background</p>
<p class="red">And this one should also have a green background</p>
<address>This address is only here to fill some space between two
         paragraphs</address>
<p>This paragraph should NOT have a green background</p>
</div>
'},'css3-modsel-46' => {'rev' => '1.0','escapedcode-xml' => '
&lt;div xmlns="http://www.w3.org/1999/xhtml" class="stub">
&lt;p>This paragraph should NOT have a green background&lt;/p>
&lt;p class="red">But this one should have a green background&lt;/p>
&lt;p class="red">And this one should also have a green background&lt;/p>
&lt;address>This address is only here to fill some space between two
         paragraphs&lt;/address>
&lt;p class="red">This paragraph should have a green background&lt;/p>
&lt;/div>
','escapedcode-css' => '.red { background-color : red }
div.stub > p ~ p { background-color : lime }','escapedcode-html' => '
&lt;div class="stub">
&lt;p>This paragraph should NOT have a green background&lt;/p>
&lt;p class="red">But this one should have a green background&lt;/p>
&lt;p class="red">And this one should also have a green background&lt;/p>
&lt;address>This address is only here to fill some space between two
         paragraphs&lt;/address>
&lt;p class="red">This paragraph should have a green background&lt;/p>
&lt;/div>
','def' => 'Indirect adjacent combinator','number' => '46','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => '.red { background-color : red }
div.stub > p ~ p { background-color : lime }','author' => ['Daniel Glazman'],'code-html' => '
<div class="stub">
<p>This paragraph should NOT have a green background</p>
<p class="red">But this one should have a green background</p>
<p class="red">And this one should also have a green background</p>
<address>This address is only here to fill some space between two
         paragraphs</address>
<p class="red">This paragraph should have a green background</p>
</div>
','endTag' => '</p>','date' => '11-july-2001','code-xml' => '
<div xmlns="http://www.w3.org/1999/xhtml" class="stub">
<p>This paragraph should NOT have a green background</p>
<p class="red">But this one should have a green background</p>
<p class="red">And this one should also have a green background</p>
<address>This address is only here to fill some space between two
         paragraphs</address>
<p class="red">This paragraph should have a green background</p>
</div>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','escapedcode-xhtml' => '
&lt;div class="stub">
&lt;p>This paragraph should NOT have a green background&lt;/p>
&lt;p class="red">But this one should have a green background&lt;/p>
&lt;p class="red">And this one should also have a green background&lt;/p>
&lt;address>This address is only here to fill some space between two
         paragraphs&lt;/address>
&lt;p class="red">This paragraph should have a green background&lt;/p>
&lt;/div>
','code-xhtml' => '
<div class="stub">
<p>This paragraph should NOT have a green background</p>
<p class="red">But this one should have a green background</p>
<p class="red">And this one should also have a green background</p>
<address>This address is only here to fill some space between two
         paragraphs</address>
<p class="red">This paragraph should have a green background</p>
</div>
'},'css3-modsel-47' => {'rev' => '1.0','escapedcode-xml' => '
&lt;div xmlns="http://www.w3.org/1999/xhtml" class="stub">
&lt;p>
&lt;span>The text in this paragraph should have a green background&lt;/span>
&lt;/p>
&lt;address>This address should have a green background&lt;/address>
&lt;q xmlns="http://www.example.org/a">This a:q element should have a green background&lt;/q>
&lt;r xmlns="">This r element w/o namespace should have a green background&lt;/r>
&lt;p>Thhis paragraph should NOT have a green background&lt;/p>
&lt;/div>
','escapedcode-css' => 'div.stub span, div.stub address, div.stub *|q, div.stub *|r { background-color : red }
address, *|q, *|r { display : block  ; margin-bottom : 1em }
div.stub *:not(p) { background-color : lime }','escapedcode-html' => '
&lt;div class="stub">
&lt;p>
&lt;span>The text in this paragraph should have a green background&lt;/span>
&lt;/p>
&lt;address>This address should have a green background&lt;/address>
&lt;q xmlns="http://www.example.org/a">This a:q element should have a green background&lt;/q>
&lt;r xmlns="">This r element w/o namespace should have a green background&lt;/r>
&lt;p>Thhis paragraph should NOT have a green background&lt;/p>
&lt;/div>
','def' => 'NEGATED type element selector','number' => '47','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => 'div.stub span, div.stub address, div.stub *|q, div.stub *|r { background-color : red }
address, *|q, *|r { display : block  ; margin-bottom : 1em }
div.stub *:not(p) { background-color : lime }','author' => ['Daniel Glazman'],'code-html' => '
<div class="stub">
<p>
<span>The text in this paragraph should have a green background</span>
</p>
<address>This address should have a green background</address>
<q xmlns="http://www.example.org/a">This a:q element should have a green background</q>
<r xmlns="">This r element w/o namespace should have a green background</r>
<p>Thhis paragraph should NOT have a green background</p>
</div>
','endTag' => '</p>','date' => '11-july-2001','code-xml' => '
<div xmlns="http://www.w3.org/1999/xhtml" class="stub">
<p>
<span>The text in this paragraph should have a green background</span>
</p>
<address>This address should have a green background</address>
<q xmlns="http://www.example.org/a">This a:q element should have a green background</q>
<r xmlns="">This r element w/o namespace should have a green background</r>
<p>Thhis paragraph should NOT have a green background</p>
</div>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','namespaced' => 1,'escapedcode-xhtml' => '
&lt;div class="stub">
&lt;p>
&lt;span>The text in this paragraph should have a green background&lt;/span>
&lt;/p>
&lt;address>This address should have a green background&lt;/address>
&lt;q xmlns="http://www.example.org/a">This a:q element should have a green background&lt;/q>
&lt;r xmlns="">This r element w/o namespace should have a green background&lt;/r>
&lt;p>Thhis paragraph should NOT have a green background&lt;/p>
&lt;/div>
','code-xhtml' => '
<div class="stub">
<p>
<span>The text in this paragraph should have a green background</span>
</p>
<address>This address should have a green background</address>
<q xmlns="http://www.example.org/a">This a:q element should have a green background</q>
<r xmlns="">This r element w/o namespace should have a green background</r>
<p>Thhis paragraph should NOT have a green background</p>
</div>
'},'css3-modsel-48' => {'rev' => '1.0','escapedcode-xml' => '
&lt;div xmlns="http://www.w3.org/1999/xhtml" class="stub">
&lt;address>This address should have a green background&lt;/address>
&lt;s xmlns="http://www.example.org/b">This paragraph should have a green background&lt;/s>
&lt;t xmlns="">This paragraph should have a green background&lt;/t>
&lt;u xmlns="http://www.example.org/a">This paragraph should have a green background&lt;/u>
&lt;/div>
','escapedcode-css' => '@namespace html url(http://www.w3.org/1999/xhtml);
@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
div.stub > *|* { background-color : lime ; display : block ;
                 margin-bottom : 1em }
div.stub > *|*:not(*) { background-color : red }
/* yes, the rule just above selects nothing... That\'s the point */
','escapedcode-html' => '
&lt;div class="stub">
&lt;address>This address should have a green background&lt;/address>
&lt;s xmlns="http://www.example.org/b">This paragraph should have a green background&lt;/s>
&lt;t xmlns="">This paragraph should have a green background&lt;/t>
&lt;u xmlns="http://www.example.org/a">This paragraph should have a green background&lt;/u>
&lt;/div>
','def' => 'NEGATED universal selector','number' => '48','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => '@namespace html url(http://www.w3.org/1999/xhtml);
@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
div.stub > *|* { background-color : lime ; display : block ;
                 margin-bottom : 1em }
div.stub > *|*:not(*) { background-color : red }
/* yes, the rule just above selects nothing... That\'s the point */
','author' => ['Daniel Glazman'],'code-html' => '
<div class="stub">
<address>This address should have a green background</address>
<s xmlns="http://www.example.org/b">This paragraph should have a green background</s>
<t xmlns="">This paragraph should have a green background</t>
<u xmlns="http://www.example.org/a">This paragraph should have a green background</u>
</div>
','endTag' => '</u>','date' => '11-july-2001','code-xml' => '
<div xmlns="http://www.w3.org/1999/xhtml" class="stub">
<address>This address should have a green background</address>
<s xmlns="http://www.example.org/b">This paragraph should have a green background</s>
<t xmlns="">This paragraph should have a green background</t>
<u xmlns="http://www.example.org/a">This paragraph should have a green background</u>
</div>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','namespaced' => 1,'escapedcode-xhtml' => '
&lt;div class="stub">
&lt;address>This address should have a green background&lt;/address>
&lt;s xmlns="http://www.example.org/b">This paragraph should have a green background&lt;/s>
&lt;t xmlns="">This paragraph should have a green background&lt;/t>
&lt;u xmlns="http://www.example.org/a">This paragraph should have a green background&lt;/u>
&lt;/div>
','code-xhtml' => '
<div class="stub">
<address>This address should have a green background</address>
<s xmlns="http://www.example.org/b">This paragraph should have a green background</s>
<t xmlns="">This paragraph should have a green background</t>
<u xmlns="http://www.example.org/a">This paragraph should have a green background</u>
</div>
'},'css3-modsel-49' => {'rev' => '1.0','escapedcode-xml' => '
&lt;div xmlns="http://www.w3.org/1999/xhtml" class="stub">
&lt;address>This address should have a green background&lt;/address>
&lt;s xmlns="http://www.example.org/b">This paragraph should have a green background&lt;/s>
&lt;t xmlns="">This paragraph should have a green background&lt;/t>
&lt;u xmlns="http://www.example.org/a">This paragraph should have a green background&lt;/u>
&lt;/div>
','escapedcode-css' => '@namespace html url(http://www.w3.org/1999/xhtml);
@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
div.stub > *|* { background-color : lime ; display : block ;
                 margin-bottom : 1em }
div.stub > *|*:not() { background-color : red }
/* yes, the rule just above selects nothing... That\'s the point */
','escapedcode-html' => '
&lt;div class="stub">
&lt;address>This address should have a green background&lt;/address>
&lt;s xmlns="http://www.example.org/b">This paragraph should have a green background&lt;/s>
&lt;t xmlns="">This paragraph should have a green background&lt;/t>
&lt;u xmlns="http://www.example.org/a">This paragraph should have a green background&lt;/u>
&lt;/div>
','def' => 'NEGATED omitted universal selector is forbidden','number' => '49','modulename' => 'css3-modsel','module' => 'W3C Selectors','cssrules' => '@namespace html url(http://www.w3.org/1999/xhtml);
@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
div.stub > *|* { background-color : lime ; display : block ;
                 margin-bottom : 1em }
div.stub > *|*:not() { background-color : red }
/* yes, the rule just above selects nothing... That\'s the point */
','author' => ['Daniel Glazman'],'code-html' => '
<div class="stub">
<address>This address should have a green background</address>
<s xmlns="http://www.example.org/b">This paragraph should have a green background</s>
<t xmlns="">This paragraph should have a green background</t>
<u xmlns="http://www.example.org/a">This paragraph should have a green background</u>
</div>
','endTag' => '</u>','date' => '11-july-2001','code-xml' => '
<div xmlns="http://www.w3.org/1999/xhtml" class="stub">
<address>This address should have a green background</address>
<s xmlns="http://www.example.org/b">This paragraph should have a green background</s>
<t xmlns="">This paragraph should have a green background</t>
<u xmlns="http://www.example.org/a">This paragraph should have a green background</u>
</div>
','namespaces' => ' xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml"','namespaced' => 1,'escapedcode-xhtml' => '
&lt;div class="stub">
&lt;address>This address should have a green background&lt;/address>
&lt;s xmlns="http://www.example.org/b">This paragraph should have a green background&lt;/s>
&lt;t xmlns="">This paragraph should have a green background&lt;/t>
&lt;u xmlns="http://www.example.org/a">This paragraph should have a green background&lt;/u>
&lt;/div>
','code-xhtml' => '
<div class="stub">
<address>This address should have a green background</address>
<s xmlns="http://www.example.org/b">This paragraph should have a green background</s>
<t xmlns="">This paragraph should have a green background</t>
<u xmlns="http://www.example.org/a">This paragraph should have a green background</u>
</div>
'}}