Bug 482573 - add test aria-sort exposed as sort object attribute, r=MarcoZ

This commit is contained in:
David Bolter 2009-03-10 21:44:24 +01:00
Родитель 75981ca0a2
Коммит f2d31fc25e
1 изменённых файлов: 8 добавлений и 0 удалений

Просмотреть файл

@ -30,6 +30,10 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=475006
testAttrs("checkedRadio", {"checkable" : "true"}, true);
testAttrs("checkedTreeitem", {"checkable" : "true"}, true);
testAttrs("dropeffect", {"dropeffect" : "copy"}, true);
testAttrs("sortAscending", {"sort" : "ascending"}, true);
testAttrs("sortDescending", {"sort" : "descending"}, true);
testAttrs("sortNone", {"sort" : "none"}, true);
testAttrs("sortOther", {"sort" : "other"}, true);
// live object attribute
testAttrs("live", {"live" : "polite"}, true);
@ -80,6 +84,10 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=475006
<div id="checkedRadio" role="radio" aria-checked="true"></div>
<div id="checkedTreeitem" role="treeitem" aria-checked="true"></div>
<div id="dropeffect" aria-dropeffect="copy"></div>
<div id="sortAscending" role="columnheader" aria-sort="ascending"></div>
<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="live" aria-live="polite">excuse <div id="liveChild">me</div></div>
<div id="live2" role="marquee" aria-live="polite">excuse <div id="live2Child">me</div></div>