Bug 733848 - enable logging for accessible/name/test_markup.html

This commit is contained in:
Alexander Surkov 2012-10-27 21:13:54 +09:00
parent 6ee946c418
commit 65e07572c4
2 changed files with 4 additions and 1 deletions

View File

@ -14,6 +14,8 @@ var gDumpToConsole = false;
*/
function testNames()
{
enableLogging("tree");
var request = new XMLHttpRequest();
request.open("get", gNameRulesFileURL, false);
request.send();
@ -64,6 +66,7 @@ var gTestIterator =
this.markupIdx++;
if (this.markupIdx == this.markupElms.length) {
disableLogging("tree");
SimpleTest.finish();
return;
}

View File

@ -216,7 +216,7 @@
<markup ref="html:img" ruleset="htmlimageemptyalt">
<html:span id="l1" a11yname="test2">test2</html:span>
<html:span id="l2" a11yname="test3">test3</html:span>
<html:img id="img"
<html:img id="imgemptyalt"
aria-label="Logo of Mozilla"
aria-labelledby="l1 l2"
title="This is a logo"