Bug 1177913 - add test coverage for aria-roledescription and aria-current, r=marcoz

This commit is contained in:
Alexander Surkov 2015-06-26 17:36:28 -07:00
parent b073c97815
commit 835c74dc66

View File

@ -44,6 +44,8 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=558036
testAttrs("sortDescending", {"sort" : "descending"}, true);
testAttrs("sortNone", {"sort" : "none"}, true);
testAttrs("sortOther", {"sort" : "other"}, true);
testAttrs("roledescr", {"roledescription" : "spreadshit"}, true);
testAttrs("currentPage", {"current" : "page"}, true);
// inherited attributes by subdocuments
var subdoc = getAccessible("iframe").firstChild;
@ -216,6 +218,8 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=558036
<div id="sortDescending" role="columnheader" aria-sort="descending"></div>
<div id="sortNone" role="columnheader" aria-sort="none"></div>
<div id="sortOther" role="columnheader" aria-sort="other"></div>
<div id="roledescr" aria-roledescription="spreadshit"></div>
<div id="currentPage" aria-current="page"></div>
<!-- inherited from iframe -->
<iframe id="iframe" src="data:text/html,<html><body></body></html>"