accessible/tests/mochitest/name/general.xbl

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/accessible/tests/mochitest/name/general.xbl	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,32 @@
     1.4 +<?xml version="1.0"?>
     1.5 +
     1.6 +<bindings xmlns="http://www.mozilla.org/xbl"
     1.7 +          xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
     1.8 +
     1.9 +  <binding id="first">
    1.10 +    <content>
    1.11 +      <xul:textbox anonid="labeled" class="bottom"/>
    1.12 +      <xul:label control="labeled" value="Label"/>
    1.13 +      <children/>
    1.14 +    </content>
    1.15 +  </binding>
    1.16 +
    1.17 +  <binding id="second">
    1.18 +    <content>
    1.19 +      <xul:box class="first">
    1.20 +        <xul:label control="toplabeled" value="Top textbox"/>
    1.21 +        <xul:textbox anonid="toplabeled" class="top"/>
    1.22 +      </xul:box>
    1.23 +      <children/>
    1.24 +    </content>
    1.25 +  </binding>
    1.26 +
    1.27 +  <binding id="third">
    1.28 +    <content>
    1.29 +      <xul:description anonid="label" value="It's a " />
    1.30 +      <xul:description anonid="label2" value="cool button" />
    1.31 +      <xul:button anonid="button" aria-labelledby="label label2"
    1.32 +                  value="button" />
    1.33 +    </content>
    1.34 +  </binding>
    1.35 +</bindings>

mercurial