layout/reftests/css-selectors/sibling-combinators-on-anon-content-1.xhtml

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/css-selectors/sibling-combinators-on-anon-content-1.xhtml	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,22 @@
     1.4 +<!DOCTYPE html>
     1.5 +<html xmlns="http://www.w3.org/1999/xhtml">
     1.6 +  <head>
     1.7 +    <bindings xmlns="http://www.mozilla.org/xbl"
     1.8 +              xmlns:html="http://www.w3.org/1999/xhtml">
     1.9 +      <binding id="x">
    1.10 +        <content>
    1.11 +          <html:span class="a"></html:span>
    1.12 +          <html:span class="b">This should be green</html:span>
    1.13 +          <children/>
    1.14 +        </content>
    1.15 +      </binding>
    1.16 +    </bindings>
    1.17 +    <style>
    1.18 +      #foo { -moz-binding: url("#x"); }
    1.19 +      .a + .b { color: green; }
    1.20 +    </style>
    1.21 +  </head>
    1.22 +  <body>
    1.23 +    <span id="foo"></span>
    1.24 +  </body>
    1.25 +</html>

mercurial