Commit Graph

822 Commits

Author SHA1 Message Date
Robert O'Callahan
1a9b00de4e Backed out changeset 8019a959aade 2009-01-16 22:20:33 +13:00
Marco Zehe
85ddb46873 bug 458871 - QueryService always returns an object while it should check service ID, r=aaronlev 2009-01-16 09:55:55 +01:00
Fred Jendrzejewski
b79ad6fa55 Bug 461047. Replace nsStringArray with nsTArray<nsString>. r+sr=roc
--HG--
extra : rebase_source : 7a20af24c97867efbb28dafa6a70ea1b4cf00e58
2009-01-16 20:51:04 +13:00
Marco Zehe
cb81707d30 bug 472326 - html:input of type file no longer rendered to screen readers, effective December 30, 2008, r=aaronlev, r=surkov 2009-01-15 15:45:43 +01:00
Jeremy Lea
1800930122 Bug 448830. Make nsIntRect/nsIntMargin/nsIntSize/nsIntPoint different types from nsRect/nsMargin/nsSize/nsPoint different types for better compile-type unit checking. r+sr=roc
--HG--
extra : rebase_source : a331a9e49fbc5931f546919281fcca7f008ab615
2009-01-15 16:27:09 +13:00
Alexander Surkov
734b601dbb Bug 469985 - turn the test from bug 354745 into mochitest, r=aaronlev, marocz, davidb 2009-01-14 20:19:35 +08:00
David Bolter
97b5f92d23 bug 472679 - Clean up obsolete ARIA that is no longer in spec, r=aaronlev, r=MarcoZ 2009-01-13 07:08:46 +01:00
Benjamin Smedberg
24e7cb1f78 Bug 396185 - Make nsIFrame derivatives and helper abstract classes use a different dynamic-cast system than nsISupports:
* we know all types frames may be cast to at compile time, so instead of extensible GUID IIDs, use a big enum (see nsQueryFrame::FrameIID)
* eliminate all vestiges of refcounting, since frames aren't refcounted

Some frames (SVG frames in particular) still implement nsISupports-derived interfaces, for example nsISVGValue. There is a FrameIID for nsISVGValue that lets you go from a frame to the XPCOM interface, but you can't query back.

r+sr=roc

nsITextControlFrame didn't have an IID the first time around, but this wasn't a compile error because nsITextControlFrame::kFrameIID inherited from nsIFormControlFrame::kFrameIID. I've added a static analysis pass to verify the correct behavior, since I can't figure out a way to make the compiler do it.

--HG--
extra : rebase_source : 4894a2ca0278e2ab92f27459db77165f8348cf41
2009-01-12 14:20:59 -05:00
David Bolter
f9d0ea661a Bug 452388 - Support value of undefined for aria-checked/aria-pressed/aria-selected, r=aaronlev, r=surkov, r=MarcoZ 2009-01-12 18:20:34 +01:00
Phil Ringnalda
0257955a9e Correct spelling of ofset to offset the lack of builds in a CLOSED TREE 2009-01-11 10:46:17 -08:00
Benjamin Smedberg
50621e4f9f Backed out changeset 4c4df6ed1b41 - Bug 396185 - Make nsIFrame not inherit from nsISupports due to mochitest failures... these appear to be crashes in nsGenericHTMLElement::GetEditorInternal. 2009-01-09 11:35:24 -05:00
Benjamin Smedberg
d0b948876f Bug 396185 - Make nsIFrame derivatives and helper abstract classes use a different dynamic-cast system than nsISupports:
* we know all types frames may be cast to at compile time, so instead of extensible GUID IIDs, use a big enum (see nsQueryFrame::FrameIID)
* eliminate all vestiges of refcounting, since frames aren't refcounted

Some frames (SVG frames in particular) still implement nsISupports-derived interfaces, for example nsISVGValue. There is a FrameIID for nsISVGValue that lets you go from a frame to the XPCOM interface, but you can't query back.

r+sr=roc

This patch locally causes two REFTEST-UNEXPECTED-PASS for Bidi stuff. It's possible that I accidentally fixed a bug, but I'm not sure, so I'm going to wait for the tinderboxes to confirm my local results.
2008-11-05 14:25:30 -05:00
Marco Zehe
2a7563f889 Fixing Windows and Linux orange from bug 469818 2009-01-06 16:33:45 +01:00
Marco Zehe
ba11149728 Followup to bug 469818 - Refactor test_textboxes.* files, re-enabled XUL file of this test suite 2009-01-06 15:06:29 +01:00
Marco Zehe
4ccd585cc3 Bug 469818 - Refactor test_textboxes.* files, r=surkov 2009-01-06 15:04:28 +01:00
Alexander Surkov
2800477394 Bug 468418 - Expose level for nested lists in HTML, r=marcoz, aaronlev 2009-01-05 15:41:30 +08:00
Ginn Chen
495a04149e Bug 460926 A11y heirachy is broken on GNOME 2.24, r=surkov.alexander sr=roc 2008-12-22 14:46:30 +08:00
Alexander Surkov
b0530a3df0 Bug 466629 - AttributeChangedEvent not fired, or at least test is failing, with spell check mistakes on Linux, r=marcoz 2008-12-17 15:10:41 +08:00
Alexander Surkov
bb59f8fa78 Bug 468451 - Images with empty alt attribute no longer get an empty accessible name, but return NULL instead, r=aaronlev, marcoz, davidb 2008-12-17 00:13:49 +08:00
Alexander Surkov
05141df6aa Bug 448744 - IAccessibleText::caretOffset should return -1 if the system caret is not currently with in that particular object, r=aaronlev, marcoz, sr=roc 2008-12-16 18:14:20 +08:00
Marco Zehe
f7b43a1b2c disabling tests until bug 468451 is fixed 2008-12-09 12:02:25 -08:00
Neil Deakin
368d82a815 Bug 393575, change nsIMenuParent to nsMenuParent, r+sr=bz
--HG--
rename : layout/xul/base/src/nsIMenuParent.h => layout/xul/base/src/nsMenuParent.h
2008-12-05 11:37:31 -05:00
L. David Baron
c95d61afc0 Pass the user font set through more reliably and make it a required parameter. (Bug 467084) r+sr=roc a=blocking1.9.1+ 2008-12-04 08:09:53 -08:00
Alexander Surkov
ec5bc8b940 Bug 467057 - xul menulist doesn't fire expand/collapse state change events, r=marcoz, aaronlev 2008-12-03 17:04:02 +08:00
Alexander Surkov
971921d722 Bug 462868 - background-color text attribute being exposed as black when it isn't, r=aaronlev, marcoz 2008-12-03 15:22:49 +08:00
Alexander Surkov
2e40941e40 Bug 467055 - move name calculated from tooltip code to GetName, r=davidb, marcoz 2008-12-03 15:21:08 +08:00
Alexander Surkov
91292d7de3 Bug 467139 - NameFromSubtree rule should be based on role, r=aaronlev, marcoz, davidb, sr=neil 2008-12-03 15:18:41 +08:00
Alexander Surkov
8a491b2dd7 Bug 459782 - check the name calculation rules for nsHTMLLinkAccessible. r=david.bolter/marco.zehe, a191=beltzner. 2008-11-28 12:12:15 +01:00
Alexander Surkov
2393083613 Bug 459782 - check the name calculation rules for nsHTMLLinkAccessible. r=david.bolter/marco.zehe, a191=beltzner. 2008-11-28 11:04:34 +01:00
Alexander Surkov
3323361d76 Bug 441974 - Several tests fail when running in conjunction with other mochitests, succeed when running stand-alone, patch=MarcoZ, r=me, a=beltzner 2008-11-27 12:06:11 +08:00
Alexander Surkov
f0557886a2 Bug 416872 - Simplify GetState() impl's for defunct objects, r=david.bolter, sr=neil, a=beltzner 2008-11-27 12:04:05 +08:00
Marco Zehe
ee197cda66 Temporarily disable all .xul files in a11y mochitests, see bug 465755 2008-11-19 20:53:19 +01:00
Marco Zehe
c5dcde8dfa Disabled test_textboxes.xul in a11y test suite temporarily 2008-11-19 18:01:36 +01:00
Phil Ringnalda
bbe7e1d08a Bug 461888 - Remove unused PACKAGE_FILE and PACKAGE_VARS and .pkg files, mozilla-central part, r=bsmedberg 2008-11-03 19:46:28 -08:00
Alexander Surkov
bcacb1f51a Bug 280136 - Remove GetFinalState(), r=davidb 2008-11-04 11:37:46 +08:00
Alexander Surkov
c05ee390bf Bug 386978 - get rid FireToolkitEvent, r=aaronlev, sr=benjamin 2008-11-04 11:36:36 +08:00
Alexander Surkov
1f5d337eae Bug 461920 - remove nsPIAccessNode, r=marcoz, aaronlev, sr=neil 2008-11-01 11:58:07 +08:00
Marco Zehe
633a03a84e bug 462350 - Refactor and rename test_bug428479.html to test_aria_role_equation.html, r=surkov
--HG--
rename : accessible/tests/mochitest/test_bug428479.html => accessible/tests/mochitest/test_aria_role_equation.html
2008-10-31 13:19:28 +01:00
Benjamin Smedberg
9696613a50 Relanding bug 461410 - nsILineIterator is never used outside of layout - set nsresults to replicate the existing code more correctly, which fixes the mochitest failures, r+sr=roc with nits noted by Mats Palmgren 2008-10-30 12:17:59 -07:00
Marco Zehe
f3c42771cb bug 462316 - Refactor test_aria_role_article.html, r=surkov 2008-10-30 11:47:16 +01:00
Marco Zehe
ae5d052b73 bug 462314 - Refactor test_aria_activedescendant.html, r=surkov 2008-10-30 11:39:17 +01:00
Marco Zehe
bdf15bd3f7 bug 458058 - Crash [@ CallQueryInterface<nsINode, nsIDOMElement>(nsINode*, nsIDOMElement**) ], r=aaronlev 2008-10-30 09:24:09 +01:00
Philipp Kewisch
5d4521a3df Additional fix for bug 462025 as discussed with aaronlev,surkov 2008-10-29 18:03:20 +01:00
Alexander Surkov
29e275b9c7 Bug 461767 - don't create nslinkableaccessible if 'click' event handler is registered, r=aaronlev, marcoz 2008-10-29 16:55:28 +08:00
Alexander Surkov
79acde7092 Bug 455482 - In a select nested within a label, the accname contains each option's text, should only contain label's text, patch=Eitan, r=me, marcoz 2008-10-29 16:53:43 +08:00
Philipp Kewisch
52ceb97fd5 Fix bug 462025 - Venkman crashes in nsDocAccessible::HasFlag (regression). r=aaronlev 2008-10-29 09:43:21 +01:00
Alexander Surkov
a30d1e45fe Bug 460932 - text-indent and text-align should really be object attributes, r=aaronlev, marcoz 2008-10-28 19:54:57 +08:00
Alexander Surkov
523717dc36 Bug 461761 - assertion: Obtained accessible isn't a child of this accessible, r=aaronlev 2008-10-28 19:53:19 +08:00
Alexander Surkov
b4cce5469a Bug 460417 - invalid handling of selection changes inside input element, r=aaronlev, marcoz, sr=neil 2008-10-28 16:43:07 +08:00
Benjamin Smedberg
4214b72dd5 Backed out changeset d4c9a0776667 (deCOM nsILineEnumerator) due to regression from it or bug 461212 2008-10-28 02:49:14 -04:00
Benjamin Smedberg
dd4c950cff Bug 461410 - nsILineIterator is never used outside of layout, and doesn't need to be refcounted: the callers can just destroy it when they're done with it. We can't do this with a virtual destructor, however, because nsTableRowGroupFrame implements the interface directly, while nsLineIterator is a separately-allocated class. So clients are expected to call DisposeLineIterator when they're done with it.
Instead of accessing nsILineIterator using QueryInterface, we add a nsIFrame::GetLineIterator API, which is cleaner and more efficient all at the same time!

r+sr=roc
2008-10-28 00:47:19 -04:00
Olli Pettay
c14ae01411 Bug 460156 - bring back the old behavior of range.isPointInRange(), r=surkov, sr=sicking 2008-10-19 23:41:21 +03:00
Alexander Surkov
5919623dd2 Bug 460239 - move static methods from nsAccessible and nsAccessNode to utils, r=aaronlev 2008-10-17 18:10:43 +08:00
Alexander Surkov
75f0f837c1 Bug 460402 - remove extra noise when there is no document accessible, r=aaronlev 2008-10-17 18:09:22 +08:00
Justin Dolske
f797fdd19e Bug 455057 - some chrome images have embedded profiles. ui-r=faaborg, sr=mconnor. 2008-10-16 15:20:21 -07:00
Alexander Surkov
3f6f0af05c Bug 460165 - introduce nsAccUtils, rs=aaronlev
--HG--
rename : accessible/src/base/nsCoreUtils.cpp => accessible/src/base/nsAccUtils.cpp
rename : accessible/src/base/nsCoreUtils.h => accessible/src/base/nsAccUtils.h
2008-10-16 17:12:05 +08:00
Alexander Surkov
f698d055b3 Bug 459973 - rename nsAccUtils to nsCoreUtils, r=aaronlev
--HG--
rename : accessible/src/base/nsAccessibilityUtils.cpp => accessible/src/base/nsCoreUtils.cpp
rename : accessible/src/base/nsAccessibilityUtils.h => accessible/src/base/nsCoreUtils.h
2008-10-16 09:52:58 +08:00
Alexander Surkov
5f3441fbd6 Bug 459635 - ARIA role should override name computation from subtree flag, r=marcoz, aaronlev 2008-10-14 16:27:02 +08:00
Alexander Surkov
6c3b39354c Bug 459382 - fix html:img accessible name, r=marcoz, aaronlev 2008-10-13 16:58:58 +08:00
Arpad Borsos
8b11d938d2 Bug 456388 - Remove PR_STATIC_CALLBACK and PR_CALLBACK(_DECL) from the tree; r+sr=brendan 2008-10-10 17:04:34 +02:00
Marco Zehe
daecee6718 Backing out changeset c0424e568b5e from bug 457369 because it breaks the market-leading screen reader 2008-10-10 16:27:44 +02:00
Alexander Surkov
7b9564dfb1 Comment Bug 457369 - ISimpleDOMNode navigation methods creates nsAccessNodeWrap everytime, r=aaronlev, marcoz
--HG--
rename : accessible/tests/mochitest/test_bug434464.html => accessible/tests/mochitest/test_nsIAccessNode_invalidation.html
2008-10-10 20:32:31 +08:00
Alexander Surkov
9c8f2197a8 Bug 453591 - reorganize nsAccessible::GetName to handle ARIA for non XUL/HTML elements, r=marcoz, aaronlev 2008-10-10 20:26:55 +08:00
Alexander Surkov
528b22799b Bug 456121 - nsApplicationAccessible::GetName does not return a default value when brand.properties does not exist, patch=arno renevier, r=me, marcoz 2008-10-08 20:58:46 +08:00
Alexander Surkov
ee8c4eb982 Bug 457166 - Conversation links in GMail Inbox do not expose an action, cannot be activated by screen readers, r=marcoz, aaronlev 2008-10-08 20:54:58 +08:00
Alexander Surkov
9bf2d18453 Bug 454997 - <body contenteditable=true> exposed incorrectly, r=marcoz, aaronlev 2008-10-08 20:50:36 +08:00
Alexander Surkov
272ec66a8d Bug 457219 - collapsed and expanded states are exposed both, r=marcoz, aaronlev 2008-10-08 13:27:24 +08:00
Daniel Holbert
72c410a648 Bug 458167 - (comments-only changes) Grammar Nazi Vol1: s/it's/its/ for the posessive version of the word, and a few other misc comment-typos, in these directories: accessible browser config profile rdf toolkit tools xpcom xpfe 2008-10-01 23:49:45 -07:00
Ginn Chen
28d3afbfd4 Bug 456541 add /usr/lib64 for loading atk-bridge library on Linux x64, r=aaronleventhal 2008-09-28 20:52:57 +08:00
Robert O'Callahan
279af36fc7 Backing out bug 448830 2008-09-28 23:13:58 +13:00
Jeremy Lea
92e7030a42 Bug 448830. Make nsIntRect/nsIntMargin/nsIntSize/nsIntPoint their own types so that we can catch errors by distinguishing pixels from appunits. r+sr=roc 2008-09-28 20:38:34 +13:00
Marco Zehe
63f844c4a3 Backout changeset 8fe1cd2d3c66 (bug 454997) because of regressions and crashes 2008-09-28 07:50:34 +02:00
Alexander Surkov
85b3e7ef81 Bug 454997 - <body contenteditable=true> exposed incorrectly, r=aaronlev, marcoz 2008-09-26 22:55:51 +08:00
Robert O'Callahan
6a45b282aa Backing out bug 448830 2008-09-26 13:10:26 +12:00
Robert O'Callahan
74cf670c54 Fixing more potential bustage 2008-09-26 11:58:53 +12:00
Robert O'Callahan
080772af9e Fixing bustage 2008-09-26 11:55:10 +12:00
Robert O'Callahan
bda5a2182f Fixing bustage 2008-09-26 11:31:30 +12:00
Jeremy Lea
67f3afd13b Bug 448830. Make nsIntRect/nsIntSize/nsIntPoint/nsIntMargin separate types so we get appunit vs pixel typechecking. r+sr=roc 2008-09-26 10:42:19 +12:00
Marco Zehe
cfa24ab29b bug 441974 - protect against failure in call to accessible.numActions 2008-09-22 14:39:13 +02:00
Marco Zehe
4d7b6b85ec bug 441974 - disable test for group attributes on XUL menus on Linux 2008-09-22 14:25:31 +02:00
Marco Zehe
00a5c91bcb bug 441974 - fix test for unexpected pass of column header retrieval 2008-09-22 14:12:19 +02:00
Marco Zehe
276b289dc8 bug 441974 - disabled test for y coordinate in nsIAccessibleImage tests 2008-09-22 14:07:08 +02:00
Marco Zehe
d10dd6b1a6 bug 441974 - marked failing STATE_FOCUSED test as known, and commented with appropriate bug number 2008-09-18 11:29:18 +02:00
Marco Zehe
be41681c98 bug 441974 - temporarily fixing test until bug 445834 gets fixed 2008-09-18 10:22:33 +02:00
Marco Zehe
875c9df2dd bug 443889 - nsIAccessible tests for lists and selects, r=surkov 2008-09-18 09:25:09 +02:00
Marco Zehe
09fb9239ea more fixes to textattrs test for bug 441974 2008-09-18 09:13:08 +02:00
Alexander Surkov
b8ef5046cc Bug 455442 - improve hitTest, r=aaronlev, hwaara 2008-09-17 21:11:39 +08:00
Alexander Surkov
c0b37d2110 Bug 454211 - ISimpleDOMNode functions get_computedStyleForProperties and get_computedStyle functions appear to always return the COM error code 0x80004005 (E_FAIL), r=aaronlev, marcoz 2008-09-17 21:09:34 +08:00
Alexander Surkov
1c65a2ef18 Bug 454377 - caret move event is fired for parent of html:textarea when textarea is tabed, r=aaronlev, marcoz 2008-09-16 22:38:48 +08:00
Marco Zehe
cd41a94ae1 bug 441974 - Several tests fail when running in conjunction with other mochitests, succeed when running stand-alone, disable failing tests with bugs filed for them, r=surkov 2008-09-11 16:43:06 +02:00
Marco Zehe
8c1cab6005 bug 454654 - Fix text attributes tests so they work on all platforms, r=surkov 2008-09-11 16:41:11 +02:00
Marco Zehe
65f0e21e44 bug 454538 - Rename the 'static' text attribute to 'auto-generated', r=aaronlev 2008-09-10 10:33:24 +02:00
Ted Mielczarek
468a3823fc bug 447642 - get rid of --disable-mochitest, replace MOZ_MOCHITEST with ENABLE_TESTS. r=bsmedberg 2008-09-09 13:59:11 -04:00
Robert O'Callahan
be904c4d3d Bug 376662. Convert nsIFrame::GetOffsetTo to not use views. We need to ensure that for popups and scrollframes, views and frames are kept in sync at *all* times. Also fixes bugs in tests for NS_FRAME_NO_MOVE_FRAME. r+sr=bzbarsky 2008-09-06 20:52:56 +12:00
Oleg Romashin
3848d4a20e Bug 453312 - Building accessible without MOZ_XUL fails. r=surkov 2008-09-05 14:30:19 +03:00
Alexander Surkov
369e9e14a3 Bug 453371 - textarea accessible name does not show current value when it has a text child, patch=Eitan Isaacson,r=me 2008-09-05 12:48:42 +08:00
Alexander Surkov
6dc87fdf68 Bug 453484 - Can't build accessibility with DEBUG_CC, r=aaronlev, sr=bz 2008-09-05 12:44:45 +08:00
Robert O'Callahan
ca15953a6e Backing out changeset 1bdd5da49865 (for bug 376662) due to regression bug 453661 2008-09-05 15:40:06 +12:00
Marco Zehe
6b5fe63aa4 bug 453417 - Implement new aria-label property, r=surkov 2008-09-04 16:11:40 +02:00
Robert O'Callahan
1eeada5faa Bug 376662. Make nsIFrame::GetOffsetTo not explicitly use views. r+sr=bzbarsky 2008-09-04 09:35:52 +12:00