From 7f162b9ae0735d32cc0b9a4111678897035340c8 Mon Sep 17 00:00:00 2001 From: Alexander Surkov Date: Wed, 3 Feb 2010 23:00:25 +0800 Subject: [PATCH] Bug 543931 - expose onmouseup/down via accessible 'click' action, r=marcoz, davidb --HG-- rename : accessible/tests/mochitest/test_actions_anchors.html => accessible/tests/mochitest/actions/test_anchors.html rename : accessible/tests/mochitest/test_actions_aria.html => accessible/tests/mochitest/actions/test_aria.html rename : accessible/tests/mochitest/test_actions.html => accessible/tests/mochitest/actions/test_general.html rename : accessible/tests/mochitest/test_actions.xul => accessible/tests/mochitest/actions/test_general.xul rename : accessible/tests/mochitest/test_actions_inputs.html => accessible/tests/mochitest/actions/test_inputs.html rename : accessible/tests/mochitest/test_actions_tree.xul => accessible/tests/mochitest/actions/test_tree.xul rename : accessible/tests/mochitest/test_actions_treegrid.xul => accessible/tests/mochitest/actions/test_treegrid.xul rename : accessible/tests/mochitest/test_states.html => accessible/tests/mochitest/states/test_aria.html rename : accessible/tests/mochitest/test_states_doc.html => accessible/tests/mochitest/states/test_doc.html rename : accessible/tests/mochitest/test_states_docarticle.html => accessible/tests/mochitest/states/test_docarticle.html rename : accessible/tests/mochitest/test_states_editablebody.html => accessible/tests/mochitest/states/test_editablebody.html rename : accessible/tests/mochitest/test_states_frames.html => accessible/tests/mochitest/states/test_frames.html rename : accessible/tests/mochitest/test_states_popup.xul => accessible/tests/mochitest/states/test_popup.xul rename : accessible/tests/mochitest/test_states_tree.xul => accessible/tests/mochitest/states/test_tree.xul rename : accessible/tests/mochitest/z_states_frame.html => accessible/tests/mochitest/states/z_frames.html rename : accessible/tests/mochitest/z_states_framearticle.html => accessible/tests/mochitest/states/z_frames_article.html rename : accessible/tests/mochitest/z_states_framecheckbox.html => accessible/tests/mochitest/states/z_frames_checkbox.html rename : accessible/tests/mochitest/z_states_frametextbox.html => accessible/tests/mochitest/states/z_frames_textbox.html --- .../src/base/nsAccessibilityService.cpp | 2 +- accessible/src/base/nsAccessible.cpp | 3 +- .../src/base/nsBaseWidgetAccessible.cpp | 6 +- accessible/src/base/nsCoreUtils.cpp | 7 +- accessible/src/base/nsCoreUtils.h | 6 +- accessible/src/html/nsHTMLLinkAccessible.cpp | 3 +- accessible/tests/mochitest/Makefile.in | 21 +--- .../tests/mochitest/actions/Makefile.in | 59 +++++++++++ .../test_anchors.html} | 3 +- .../test_aria.html} | 0 .../test_general.html} | 21 +++- .../test_general.xul} | 0 .../test_inputs.html} | 0 .../tests/mochitest/actions/test_link.html | 99 +++++++++++++++++++ .../test_tree.xul} | 0 .../test_treegrid.xul} | 0 accessible/tests/mochitest/states/Makefile.in | 64 ++++++++++++ .../test_aria.html} | 2 +- .../test_doc.html} | 0 .../test_docarticle.html} | 0 .../test_editablebody.html} | 0 .../test_frames.html} | 8 +- .../tests/mochitest/states/test_link.html | 57 +++++++++++ .../test_popup.xul} | 0 .../test_tree.xul} | 0 .../z_frames.html} | 0 .../z_frames_article.html} | 0 .../z_frames_checkbox.html} | 0 .../z_frames_textbox.html} | 0 .../mochitest/test_role_nsHyperTextAcc.html | 24 +++-- .../mochitest/test_role_table_cells.html | 71 ------------- 31 files changed, 337 insertions(+), 119 deletions(-) create mode 100644 accessible/tests/mochitest/actions/Makefile.in rename accessible/tests/mochitest/{test_actions_anchors.html => actions/test_anchors.html} (97%) rename accessible/tests/mochitest/{test_actions_aria.html => actions/test_aria.html} (100%) rename accessible/tests/mochitest/{test_actions.html => actions/test_general.html} (68%) rename accessible/tests/mochitest/{test_actions.xul => actions/test_general.xul} (100%) rename accessible/tests/mochitest/{test_actions_inputs.html => actions/test_inputs.html} (100%) create mode 100644 accessible/tests/mochitest/actions/test_link.html rename accessible/tests/mochitest/{test_actions_tree.xul => actions/test_tree.xul} (100%) rename accessible/tests/mochitest/{test_actions_treegrid.xul => actions/test_treegrid.xul} (100%) create mode 100644 accessible/tests/mochitest/states/Makefile.in rename accessible/tests/mochitest/{test_states.html => states/test_aria.html} (99%) rename accessible/tests/mochitest/{test_states_doc.html => states/test_doc.html} (100%) rename accessible/tests/mochitest/{test_states_docarticle.html => states/test_docarticle.html} (100%) rename accessible/tests/mochitest/{test_states_editablebody.html => states/test_editablebody.html} (100%) rename accessible/tests/mochitest/{test_states_frames.html => states/test_frames.html} (88%) create mode 100644 accessible/tests/mochitest/states/test_link.html rename accessible/tests/mochitest/{test_states_popup.xul => states/test_popup.xul} (100%) rename accessible/tests/mochitest/{test_states_tree.xul => states/test_tree.xul} (100%) rename accessible/tests/mochitest/{z_states_frame.html => states/z_frames.html} (100%) rename accessible/tests/mochitest/{z_states_framearticle.html => states/z_frames_article.html} (100%) rename accessible/tests/mochitest/{z_states_framecheckbox.html => states/z_frames_checkbox.html} (100%) rename accessible/tests/mochitest/{z_states_frametextbox.html => states/z_frames_textbox.html} (100%) delete mode 100644 accessible/tests/mochitest/test_role_table_cells.html diff --git a/accessible/src/base/nsAccessibilityService.cpp b/accessible/src/base/nsAccessibilityService.cpp index 5424c58507c8..bdc173566bdf 100644 --- a/accessible/src/base/nsAccessibilityService.cpp +++ b/accessible/src/base/nsAccessibilityService.cpp @@ -1613,7 +1613,7 @@ nsAccessibilityService::GetAccessible(nsIDOMNode *aNode, // correspond to the doc accessible and will be created in any case if (!newAcc && content->Tag() != nsAccessibilityAtoms::body && content->GetParent() && ((weakFrame.GetFrame() && weakFrame.GetFrame()->IsFocusable()) || - (isHTML && nsCoreUtils::HasListener(content, NS_LITERAL_STRING("click"))) || + (isHTML && nsCoreUtils::HasClickListener(content)) || HasUniversalAriaProperty(content, aWeakShell) || roleMapEntry || HasRelatedContent(content) || nsCoreUtils::IsXLink(content))) { // This content is focusable or has an interesting dynamic content accessibility property. diff --git a/accessible/src/base/nsAccessible.cpp b/accessible/src/base/nsAccessible.cpp index 882734c15802..a53007cda1a7 100644 --- a/accessible/src/base/nsAccessible.cpp +++ b/accessible/src/base/nsAccessible.cpp @@ -3214,8 +3214,7 @@ nsAccessible::GetActionRule(PRUint32 aStates) return eClickAction; // Has registered 'click' event handler. - PRBool isOnclick = nsCoreUtils::HasListener(content, - NS_LITERAL_STRING("click")); + PRBool isOnclick = nsCoreUtils::HasClickListener(content); if (isOnclick) return eClickAction; diff --git a/accessible/src/base/nsBaseWidgetAccessible.cpp b/accessible/src/base/nsBaseWidgetAccessible.cpp index eea11a3e0b29..5f845155cdbe 100644 --- a/accessible/src/base/nsBaseWidgetAccessible.cpp +++ b/accessible/src/base/nsBaseWidgetAccessible.cpp @@ -251,8 +251,7 @@ void nsLinkableAccessible::CacheActionContent() { nsCOMPtr walkUpContent(do_QueryInterface(mDOMNode)); - PRBool isOnclick = nsCoreUtils::HasListener(walkUpContent, - NS_LITERAL_STRING("click")); + PRBool isOnclick = nsCoreUtils::HasClickListener(walkUpContent); if (isOnclick) { mActionContent = walkUpContent; @@ -261,8 +260,7 @@ nsLinkableAccessible::CacheActionContent() } while ((walkUpContent = walkUpContent->GetParent())) { - isOnclick = nsCoreUtils::HasListener(walkUpContent, - NS_LITERAL_STRING("click")); + isOnclick = nsCoreUtils::HasClickListener(walkUpContent); nsCOMPtr walkUpNode(do_QueryInterface(walkUpContent)); diff --git a/accessible/src/base/nsCoreUtils.cpp b/accessible/src/base/nsCoreUtils.cpp index 7d686a0a6030..368ba997dd33 100644 --- a/accessible/src/base/nsCoreUtils.cpp +++ b/accessible/src/base/nsCoreUtils.cpp @@ -75,13 +75,16 @@ static NS_DEFINE_IID(kRangeCID, NS_RANGE_CID); PRBool -nsCoreUtils::HasListener(nsIContent *aContent, const nsAString& aEventType) +nsCoreUtils::HasClickListener(nsIContent *aContent) { NS_ENSURE_TRUE(aContent, PR_FALSE); nsIEventListenerManager* listenerManager = aContent->GetListenerManager(PR_FALSE); - return listenerManager && listenerManager->HasListenersFor(aEventType); + return listenerManager && + (listenerManager->HasListenersFor(NS_LITERAL_STRING("click")) || + listenerManager->HasListenersFor(NS_LITERAL_STRING("mousedown")) || + listenerManager->HasListenersFor(NS_LITERAL_STRING("mouseup"))); } void diff --git a/accessible/src/base/nsCoreUtils.h b/accessible/src/base/nsCoreUtils.h index fbcea88e9a9e..63cb9dc34021 100644 --- a/accessible/src/base/nsCoreUtils.h +++ b/accessible/src/base/nsCoreUtils.h @@ -57,10 +57,10 @@ class nsCoreUtils { public: /** - * Return true if the given node has registered event listener of the given - * type. + * Return true if the given node has registered click, mousedown or mouseup + * event listeners. */ - static PRBool HasListener(nsIContent *aContent, const nsAString& aEventType); + static PRBool HasClickListener(nsIContent *aContent); /** * Dispatch click event to XUL tree cell. diff --git a/accessible/src/html/nsHTMLLinkAccessible.cpp b/accessible/src/html/nsHTMLLinkAccessible.cpp index bba73826a1cc..a692aa56cb92 100644 --- a/accessible/src/html/nsHTMLLinkAccessible.cpp +++ b/accessible/src/html/nsHTMLLinkAccessible.cpp @@ -87,8 +87,7 @@ nsHTMLLinkAccessible::GetStateInternal(PRUint32 *aState, PRUint32 *aExtraState) // This is a either named anchor (a link with also a name attribute) or // it doesn't have any attributes. Check if 'click' event handler is // registered, otherwise bail out. - PRBool isOnclick = nsCoreUtils::HasListener(content, - NS_LITERAL_STRING("click")); + PRBool isOnclick = nsCoreUtils::HasClickListener(content); if (!isOnclick) return NS_OK; } diff --git a/accessible/tests/mochitest/Makefile.in b/accessible/tests/mochitest/Makefile.in index 60b1e2ff7723..550a1ec4b142 100644 --- a/accessible/tests/mochitest/Makefile.in +++ b/accessible/tests/mochitest/Makefile.in @@ -42,7 +42,7 @@ srcdir = @srcdir@ VPATH = @srcdir@ relativesrcdir = accessible -DIRS = attributes events selectable tree +DIRS = actions attributes events selectable states tree include $(DEPTH)/config/autoconf.mk include $(topsrcdir)/config/rules.mk @@ -71,13 +71,6 @@ _TEST_FILES =\ states.js \ table.js \ value.js \ - test_actions.html \ - test_actions.xul \ - test_actions_anchors.html \ - test_actions_aria.html \ - test_actions_inputs.html \ - test_actions_tree.xul \ - test_actions_treegrid.xul \ test_aria_activedescendant.html \ test_aria_role_article.html \ test_aria_role_equation.html \ @@ -114,14 +107,6 @@ _TEST_FILES =\ test_relations.xul \ test_relations_tree.xul \ test_role_nsHyperTextAcc.html \ - test_role_table_cells.html \ - test_states.html \ - test_states_doc.html \ - test_states_docarticle.html \ - test_states_editablebody.html \ - test_states_frames.html \ - test_states_popup.xul \ - test_states_tree.xul \ test_table_1.html \ test_table_4.html \ test_table_headers.html \ @@ -149,10 +134,6 @@ _TEST_FILES =\ testTextboxes.js \ treeview.css \ treeview.js \ - z_states_frame.html \ - z_states_framearticle.html \ - z_states_framecheckbox.html \ - z_states_frametextbox.html \ $(NULL) libs:: $(_TEST_FILES) diff --git a/accessible/tests/mochitest/actions/Makefile.in b/accessible/tests/mochitest/actions/Makefile.in new file mode 100644 index 000000000000..a857304f080f --- /dev/null +++ b/accessible/tests/mochitest/actions/Makefile.in @@ -0,0 +1,59 @@ +# +# ***** BEGIN LICENSE BLOCK ***** +# Version: MPL 1.1/GPL 2.0/LGPL 2.1 +# +# The contents of this file are subject to the Mozilla Public License Version +# 1.1 (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS IS" basis, +# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License +# for the specific language governing rights and limitations under the +# License. +# +# The Original Code is mozilla.org code. +# +# The Initial Developer of the Original Code is +# Mozilla Corporation. +# Portions created by the Initial Developer are Copyright (C) 2010 +# the Initial Developer. All Rights Reserved. +# +# Contributor(s): +# Alexander Surkov (original author) +# +# Alternatively, the contents of this file may be used under the terms of +# either of the GNU General Public License Version 2 or later (the "GPL"), +# or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), +# in which case the provisions of the GPL or the LGPL are applicable instead +# of those above. If you wish to allow use of your version of this file only +# under the terms of either the GPL or the LGPL, and not to allow others to +# use your version of this file under the terms of the MPL, indicate your +# decision by deleting the provisions above and replace them with the notice +# and other provisions required by the GPL or the LGPL. If you do not delete +# the provisions above, a recipient may use your version of this file under +# the terms of any one of the MPL, the GPL or the LGPL. +# +# ***** END LICENSE BLOCK ***** + +DEPTH = ../../../.. +topsrcdir = @top_srcdir@ +srcdir = @srcdir@ +VPATH = @srcdir@ +relativesrcdir = accessible/actions + +include $(DEPTH)/config/autoconf.mk +include $(topsrcdir)/config/rules.mk + +_TEST_FILES =\ + test_anchors.html \ + test_aria.html \ + test_general.html \ + test_general.xul \ + test_inputs.html \ + test_tree.xul \ + test_treegrid.xul \ + $(NULL) + +libs:: $(_TEST_FILES) + $(INSTALL) $(foreach f,$^,"$f") $(DEPTH)/_tests/testing/mochitest/a11y/$(relativesrcdir) diff --git a/accessible/tests/mochitest/test_actions_anchors.html b/accessible/tests/mochitest/actions/test_anchors.html similarity index 97% rename from accessible/tests/mochitest/test_actions_anchors.html rename to accessible/tests/mochitest/actions/test_anchors.html index eee1450efe67..1a1da8d6f4ff 100644 --- a/accessible/tests/mochitest/test_actions_anchors.html +++ b/accessible/tests/mochitest/actions/test_anchors.html @@ -1,7 +1,8 @@ - nsIAccessible actions testing for anchors + nsIAccessible actions testing for HTML links that + scroll the page to named anchors diff --git a/accessible/tests/mochitest/test_actions_aria.html b/accessible/tests/mochitest/actions/test_aria.html similarity index 100% rename from accessible/tests/mochitest/test_actions_aria.html rename to accessible/tests/mochitest/actions/test_aria.html diff --git a/accessible/tests/mochitest/test_actions.html b/accessible/tests/mochitest/actions/test_general.html similarity index 68% rename from accessible/tests/mochitest/test_actions.html rename to accessible/tests/mochitest/actions/test_general.html index e47cc9dc4ae1..48a3076be6c8 100644 --- a/accessible/tests/mochitest/test_actions.html +++ b/accessible/tests/mochitest/actions/test_general.html @@ -23,7 +23,17 @@ { var actionsArray = [ { - ID: "li_clickable", + ID: "li_clickable1", + actionName: "click", + events: CLICK_EVENTS + }, + { + ID: "li_clickable2", + actionName: "click", + events: CLICK_EVENTS + }, + { + ID: "li_clickable3", actionName: "click", events: CLICK_EVENTS } @@ -42,6 +52,11 @@ href="https://bugzilla.mozilla.org/show_bug.cgi?id=523789" title="nsHTMLLiAccessible shouldn't be inherited from linkable accessible"> Mozilla Bug 523789 +
+ + Mozilla Bug 423409

@@ -49,7 +64,9 @@
    -
  • Clickable list item
  • +
  • Clickable list item
  • +
  • Clickable list item
  • +
  • Clickable list item
diff --git a/accessible/tests/mochitest/test_actions.xul b/accessible/tests/mochitest/actions/test_general.xul similarity index 100% rename from accessible/tests/mochitest/test_actions.xul rename to accessible/tests/mochitest/actions/test_general.xul diff --git a/accessible/tests/mochitest/test_actions_inputs.html b/accessible/tests/mochitest/actions/test_inputs.html similarity index 100% rename from accessible/tests/mochitest/test_actions_inputs.html rename to accessible/tests/mochitest/actions/test_inputs.html diff --git a/accessible/tests/mochitest/actions/test_link.html b/accessible/tests/mochitest/actions/test_link.html new file mode 100644 index 000000000000..a3116d3f77d9 --- /dev/null +++ b/accessible/tests/mochitest/actions/test_link.html @@ -0,0 +1,99 @@ + + + + nsIAccessible actions testing on HTML links (HTML:a) + + + + + + + + + + + + + + + + + Mozilla Bug 423409 + +

+ +
+  
+ + + + + + + + + + + + + + + diff --git a/accessible/tests/mochitest/test_actions_tree.xul b/accessible/tests/mochitest/actions/test_tree.xul similarity index 100% rename from accessible/tests/mochitest/test_actions_tree.xul rename to accessible/tests/mochitest/actions/test_tree.xul diff --git a/accessible/tests/mochitest/test_actions_treegrid.xul b/accessible/tests/mochitest/actions/test_treegrid.xul similarity index 100% rename from accessible/tests/mochitest/test_actions_treegrid.xul rename to accessible/tests/mochitest/actions/test_treegrid.xul diff --git a/accessible/tests/mochitest/states/Makefile.in b/accessible/tests/mochitest/states/Makefile.in new file mode 100644 index 000000000000..8b44036f09f8 --- /dev/null +++ b/accessible/tests/mochitest/states/Makefile.in @@ -0,0 +1,64 @@ +# +# ***** BEGIN LICENSE BLOCK ***** +# Version: MPL 1.1/GPL 2.0/LGPL 2.1 +# +# The contents of this file are subject to the Mozilla Public License Version +# 1.1 (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS IS" basis, +# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License +# for the specific language governing rights and limitations under the +# License. +# +# The Original Code is mozilla.org code. +# +# The Initial Developer of the Original Code is +# Mozilla Corporation. +# Portions created by the Initial Developer are Copyright (C) 2010 +# the Initial Developer. All Rights Reserved. +# +# Contributor(s): +# Alexander Surkov (original author) +# +# Alternatively, the contents of this file may be used under the terms of +# either of the GNU General Public License Version 2 or later (the "GPL"), +# or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), +# in which case the provisions of the GPL or the LGPL are applicable instead +# of those above. If you wish to allow use of your version of this file only +# under the terms of either the GPL or the LGPL, and not to allow others to +# use your version of this file under the terms of the MPL, indicate your +# decision by deleting the provisions above and replace them with the notice +# and other provisions required by the GPL or the LGPL. If you do not delete +# the provisions above, a recipient may use your version of this file under +# the terms of any one of the MPL, the GPL or the LGPL. +# +# ***** END LICENSE BLOCK ***** + +DEPTH = ../../../.. +topsrcdir = @top_srcdir@ +srcdir = @srcdir@ +VPATH = @srcdir@ +relativesrcdir = accessible/states + +include $(DEPTH)/config/autoconf.mk +include $(topsrcdir)/config/rules.mk + +_TEST_FILES =\ + test_aria.html \ + test_doc.html \ + test_docarticle.html \ + test_editablebody.html \ + test_frames.html \ + test_link.html \ + test_popup.xul \ + test_tree.xul \ + z_frames.html \ + z_frames_article.html \ + z_frames_checkbox.html \ + z_frames_textbox.html \ + $(NULL) + +libs:: $(_TEST_FILES) + $(INSTALL) $(foreach f,$^,"$f") $(DEPTH)/_tests/testing/mochitest/a11y/$(relativesrcdir) diff --git a/accessible/tests/mochitest/test_states.html b/accessible/tests/mochitest/states/test_aria.html similarity index 99% rename from accessible/tests/mochitest/test_states.html rename to accessible/tests/mochitest/states/test_aria.html index 03d3c4ac740c..3ee5dba745d3 100644 --- a/accessible/tests/mochitest/test_states.html +++ b/accessible/tests/mochitest/states/test_aria.html @@ -1,7 +1,7 @@ - nsIAccessible states testing + ARIA based nsIAccessible states testing diff --git a/accessible/tests/mochitest/test_states_doc.html b/accessible/tests/mochitest/states/test_doc.html similarity index 100% rename from accessible/tests/mochitest/test_states_doc.html rename to accessible/tests/mochitest/states/test_doc.html diff --git a/accessible/tests/mochitest/test_states_docarticle.html b/accessible/tests/mochitest/states/test_docarticle.html similarity index 100% rename from accessible/tests/mochitest/test_states_docarticle.html rename to accessible/tests/mochitest/states/test_docarticle.html diff --git a/accessible/tests/mochitest/test_states_editablebody.html b/accessible/tests/mochitest/states/test_editablebody.html similarity index 100% rename from accessible/tests/mochitest/test_states_editablebody.html rename to accessible/tests/mochitest/states/test_editablebody.html diff --git a/accessible/tests/mochitest/test_states_frames.html b/accessible/tests/mochitest/states/test_frames.html similarity index 88% rename from accessible/tests/mochitest/test_states_frames.html rename to accessible/tests/mochitest/states/test_frames.html index feae8c6e1587..b27490d85787 100644 --- a/accessible/tests/mochitest/test_states_frames.html +++ b/accessible/tests/mochitest/states/test_frames.html @@ -61,9 +61,9 @@
   
- - - - + + + + diff --git a/accessible/tests/mochitest/states/test_link.html b/accessible/tests/mochitest/states/test_link.html new file mode 100644 index 000000000000..2ee9f456b03e --- /dev/null +++ b/accessible/tests/mochitest/states/test_link.html @@ -0,0 +1,57 @@ + + + + HTML link states testing + + + + + + + + + + + + + + + + + + Mozilla Bug 423409 + +

+ +
+  
+ + link + link + link + link + + + diff --git a/accessible/tests/mochitest/test_states_popup.xul b/accessible/tests/mochitest/states/test_popup.xul similarity index 100% rename from accessible/tests/mochitest/test_states_popup.xul rename to accessible/tests/mochitest/states/test_popup.xul diff --git a/accessible/tests/mochitest/test_states_tree.xul b/accessible/tests/mochitest/states/test_tree.xul similarity index 100% rename from accessible/tests/mochitest/test_states_tree.xul rename to accessible/tests/mochitest/states/test_tree.xul diff --git a/accessible/tests/mochitest/z_states_frame.html b/accessible/tests/mochitest/states/z_frames.html similarity index 100% rename from accessible/tests/mochitest/z_states_frame.html rename to accessible/tests/mochitest/states/z_frames.html diff --git a/accessible/tests/mochitest/z_states_framearticle.html b/accessible/tests/mochitest/states/z_frames_article.html similarity index 100% rename from accessible/tests/mochitest/z_states_framearticle.html rename to accessible/tests/mochitest/states/z_frames_article.html diff --git a/accessible/tests/mochitest/z_states_framecheckbox.html b/accessible/tests/mochitest/states/z_frames_checkbox.html similarity index 100% rename from accessible/tests/mochitest/z_states_framecheckbox.html rename to accessible/tests/mochitest/states/z_frames_checkbox.html diff --git a/accessible/tests/mochitest/z_states_frametextbox.html b/accessible/tests/mochitest/states/z_frames_textbox.html similarity index 100% rename from accessible/tests/mochitest/z_states_frametextbox.html rename to accessible/tests/mochitest/states/z_frames_textbox.html diff --git a/accessible/tests/mochitest/test_role_nsHyperTextAcc.html b/accessible/tests/mochitest/test_role_nsHyperTextAcc.html index ceba8b13ca1e..653ca11acd8c 100644 --- a/accessible/tests/mochitest/test_role_nsHyperTextAcc.html +++ b/accessible/tests/mochitest/test_role_nsHyperTextAcc.html @@ -1,10 +1,7 @@ - - test nsHyperTextAccessible roles + test nsHyperTextAccessible accesible objects creation and their roles - - - - - - - - - - - - Mozilla bug 474281 - -

- -
-  
- - - - -
-

This is a paragraph

- This is a link -
    -
  • This is a list
  • -
-
- - - - -
-

This is a paragraph

- This is a link -
    -
  • This is a list
  • -
-
- -