summaryrefslogtreecommitdiffstats
path: root/accessible/tests/mochitest/tree
diff options
context:
space:
mode:
Diffstat (limited to 'accessible/tests/mochitest/tree')
-rw-r--r--accessible/tests/mochitest/tree/test_invalid_img.xhtml4
1 files changed, 2 insertions, 2 deletions
diff --git a/accessible/tests/mochitest/tree/test_invalid_img.xhtml b/accessible/tests/mochitest/tree/test_invalid_img.xhtml
index 2079c86ee..f7c29fb8f 100644
--- a/accessible/tests/mochitest/tree/test_invalid_img.xhtml
+++ b/accessible/tests/mochitest/tree/test_invalid_img.xhtml
@@ -20,8 +20,8 @@
document.getElementsByTagName("img")[0].firstChild.data = "2";
var accTree = {
- role: ROLE_TEXT,
- children: [ { role: ROLE_TEXT_LEAF } ]
+ role: ROLE_GRAPHIC,
+ children: []
};
testAccessibleTree("the_img", accTree);
SimpleTest.finish();