gecko-dev/accessible/tests/mochitest/name.xbl
Alexander Surkov deedb88a05 Bug 492530 - allow aria-labelledby to work in anonymous content, r=marcoz, davidb
--HG--
rename : accessible/tests/mochitest/nsIAccessible_name.css => accessible/tests/mochitest/name.css
rename : accessible/tests/mochitest/nsIAccessible_name.js => accessible/tests/mochitest/name.js
rename : accessible/tests/mochitest/nsIAccessible_name.xbl => accessible/tests/mochitest/name.xbl
rename : accessible/tests/mochitest/test_nsIAccessible_name.html => accessible/tests/mochitest/test_name.html
rename : accessible/tests/mochitest/test_nsIAccessible_name.xul => accessible/tests/mochitest/test_name.xul
rename : accessible/tests/mochitest/test_nsIAccessible_name_button.html => accessible/tests/mochitest/test_name_button.html
rename : accessible/tests/mochitest/test_nsIAccessible_name_link.html => accessible/tests/mochitest/test_name_link.html
2009-05-13 13:13:12 +08:00

33 lines
888 B
XML

<?xml version="1.0"?>
<bindings xmlns="http://www.mozilla.org/xbl"
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<binding id="first">
<content>
<xul:textbox anonid="labeled" class="bottom"/>
<xul:label control="labeled" value="Label"/>
<children/>
</content>
</binding>
<binding id="second">
<content>
<xul:box class="first">
<xul:label control="toplabeled" value="Top textbox"/>
<xul:textbox anonid="toplabeled" class="top"/>
</xul:box>
<children/>
</content>
</binding>
<binding id="third">
<content>
<xul:description anonid="label" value="It's a " />
<xul:description anonid="label2" value="cool button" />
<xul:button anonid="button" aria-labelledby="label label2"
value="button" />
</content>
</binding>
</bindings>