Граф коммитов

1996 Коммитов

Автор SHA1 Сообщение Дата
Jeremy Lea 5ad3fa0eed Bug 476726 - deCOMtaminate WidgetToScreen and ScreenToWidget; r+sr=roc 2009-02-15 17:41:06 +01:00
Alexander Surkov 4982a500af Bug 475522 - walk subtree once for all text attributes, r=davidb, rOMarcoZ, sr=neil
--HG--
rename : accessible/src/base/nsTextUtils.cpp => accessible/src/base/nsTextAttrs.cpp
rename : accessible/src/base/nsTextUtils.h => accessible/src/base/nsTextAttrs.h
2009-02-15 09:35:10 +01:00
Marco Zehe b1cbdfbcb6 Fixed line endings in some of the a11y test files. No bug, no functional change. 2009-02-15 09:29:45 +01:00
David Bolter 6d265640c3 Bug 475006 - Extend nsARIAMap or create hashtable to capture ARIA attribute characteristics, r=surkov, r=MarcoZ 2009-02-15 09:15:31 +01:00
Marco Zehe 11943a5386 Backout changeset 4767c92771e6 from bug 475522 because of burning tree 2009-02-12 15:35:12 +01:00
Alexander Surkov d4f633ef87 Bug 475522 - walk subtree once for all text attributes, r=marcoz, davidb, sr=neil
--HG--
rename : accessible/src/base/nsTextUtils.cpp => accessible/src/base/nsTextAttrs.cpp
rename : accessible/src/base/nsTextUtils.h => accessible/src/base/nsTextAttrs.h
2009-01-12 21:34:52 +08:00
Marco Zehe fe03c63dcd bug 477572 - Properly support indeterminate checkboxes with the right a11y notifications, r=surkov, sr=roc
--HG--
rename : accessible/tests/mochitest/test_nsIAccessible_states.html => accessible/tests/mochitest/test_states.html
2009-02-11 09:40:27 +01:00
David Bolter 7334dce387 bug 474340 - Change aria-grab to aria-grabbed, r=MarcoZ 2009-02-11 08:09:54 +01:00
Alexander Surkov 30549e95c1 Bug 345780 - Support multiple targets for same relation, r=davidb, r=MarcoZ, sr=neil 2009-02-10 11:03:30 +01:00
Alexander Surkov ce48d2a2db bug 477606 - select@size should be exposed as listbox, r=davidb, r=MarcoZ 2009-02-10 10:55:21 +01:00
David Bolter 5286be7620 bug 474408 - Remove role='description', r=MarcoZ 2009-02-10 10:40:38 +01:00
Marco Zehe 7c4bc172c2 Leak bustage fix for bug 472662, r=peterv 2009-02-05 12:46:34 +01:00
Marco Zehe fda7dfe15e bug 476796 - Refactor test_nsIAccessibleImage, r=surkov 2009-02-05 10:06:40 +01:00
Alexander Surkov 9bff2122a4 fix Solaris bustage of bug 472662 2009-02-05 16:57:08 +08:00
Alexander Surkov 2e20e3fdf0 comment for bug 472662 2009-02-05 15:11:12 +08:00
Alexander Surkov f0854d2c16 merge with bug 476209 2009-02-05 14:26:54 +08:00
Alexander Surkov 9571a8215e Bug 472662 - no reorder event for most display property & DOM changes, r=marcoz, davidb 2009-02-05 14:23:18 +08:00
David Bolter 048c34615a bug 476209 - refactor test_nsIAccessibleDocument.html, r=MarcoZ 2009-02-05 06:43:46 +01:00
Alexander Surkov 77d05ffb20 Bug 475901. Rev nsIAccessibleValue iid in CLOSED TREE 2009-02-03 15:45:27 -05:00
Alexander Surkov 0a35e2cea0 Bug 475298 - mochitests for accessible relations, r=davidb, marcoz 2009-01-28 01:27:51 +08:00
Marco Zehe 1799cbdffc bug 469367 - Add ARIA semantics to those search widget types that don't have a Search button, r=dao, r=surkov 2009-02-02 10:38:53 +01:00
Marco Zehe b0ae4c5838 bug 472311 - Alert dialogs not being spoken, section 508 issue, r=aaronlev, r=enn 2009-02-02 10:35:36 +01:00
David Bolter 493966f879 bug 467146 - font-size text attribute should be exposed in pt units, r=surkov, r=MarcoZ 2009-01-25 08:01:24 +01:00
Marco Zehe fd6cb92ac0 bug 474984 - Move name calculation for GridCell element to new namerules infrastructure, r=surkov 2009-01-25 07:55:56 +01:00
Alexander Surkov ea9a505253 Bug 473765 - Intermittent test failure in bug 469985 test_events_mutation.html, r=davidb, marcoz
--HG--
rename : accessible/tests/mochitest/common.js => accessible/tests/mochitest/events.js
2009-01-25 12:42:21 +08:00
Daniel Holbert 4301671b45 Bug 473236 - Remove executable bit from files that don't need it. (Only changes file mode -- no code changes.) r=bsmedberg 2009-01-21 22:55:08 -08:00
Alexander Surkov fb9e762696 fix for bug 468034 2009-01-21 00:19:10 +08:00
Alexander Surkov 3dae18d659 Bug 468034 - make automated tests for name calculation rules, r=marcoz, davidb 2009-01-20 23:08:38 +08:00
Marco Zehe f7a7d7a499 bug 474281 - accessible name of html table cells is incorrectly including descendants, r=aaronlev, r=surkov
--HG--
rename : accessible/tests/mochitest/test_nsHyperTextAcc_roles.html => accessible/tests/mochitest/test_role_nsHyperTextAcc.html
2009-01-20 16:02:35 +01:00
David Bolter 7371136042 bug 474294 - Support aria-expanded on more roles, r=aaronlev, r=MarcoZ 2009-01-19 22:28:03 +01:00
Marco Zehe 7281ed997c bug 474261 - Test remaining implementations in nsHypertextAccessible::GetRole, r=surkov 2009-01-19 22:25:55 +01:00
Fred Jendrzejewski d8f1bff747 Bug 461047 - Replace nsStringArray with nsTArray<nsString>. r+sr=roc 2009-01-18 21:14:14 +01:00
Robert O'Callahan ae947ac65e Backout bug 461047
--HG--
extra : rebase_source : 30f40138d764520634e4ceac0f2bc523dcbc4b09
2009-01-16 22:20:53 +13:00
Robert O'Callahan 804cc7ee91 Backed out changeset 8019a959aade 2009-01-16 22:20:33 +13:00
Marco Zehe e6407ecb49 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 065bde22f3 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 e5b7c65145 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 ce80f69254 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 f0a959ccaa Bug 469985 - turn the test from bug 354745 into mochitest, r=aaronlev, marocz, davidb 2009-01-14 20:19:35 +08:00
David Bolter 2999989c3b 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 3498a5f86e 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 21b4fbaf05 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 499e025001 Correct spelling of ofset to offset the lack of builds in a CLOSED TREE 2009-01-11 10:46:17 -08:00
Benjamin Smedberg 73a6fab34b 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 802d1a10c7 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 153f40d0cf Fixing Windows and Linux orange from bug 469818 2009-01-06 16:33:45 +01:00
Marco Zehe 8e53d411cd 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 49b5bfd706 Bug 469818 - Refactor test_textboxes.* files, r=surkov 2009-01-06 15:04:28 +01:00
Alexander Surkov 82a05611fb Bug 468418 - Expose level for nested lists in HTML, r=marcoz, aaronlev 2009-01-05 15:41:30 +08:00
Ginn Chen f892213edd 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 b8a21b0ae5 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 acb3b8c296 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 73b5a29c6d 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 fb53dee464 disabling tests until bug 468451 is fixed 2008-12-09 12:02:25 -08:00
Neil Deakin 6c57a644eb 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 2dccf4784c 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 3968d62928 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 0a07008f24 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 976a8b13b8 Bug 467055 - move name calculated from tooltip code to GetName, r=davidb, marcoz 2008-12-03 15:21:08 +08:00
Alexander Surkov 7310d2896f 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 beef4c94e8 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 f607da9ef1 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 db73463c0c 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 de84732cb6 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 2164ea3ab9 Temporarily disable all .xul files in a11y mochitests, see bug 465755 2008-11-19 20:53:19 +01:00
Marco Zehe aeaf786a11 Disabled test_textboxes.xul in a11y test suite temporarily 2008-11-19 18:01:36 +01:00
Phil Ringnalda 538c9fb42a 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 371c0d9e2d Bug 280136 - Remove GetFinalState(), r=davidb 2008-11-04 11:37:46 +08:00
Alexander Surkov 4b3262f0dc Bug 386978 - get rid FireToolkitEvent, r=aaronlev, sr=benjamin 2008-11-04 11:36:36 +08:00
Alexander Surkov 02b803ed45 Bug 461920 - remove nsPIAccessNode, r=marcoz, aaronlev, sr=neil 2008-11-01 11:58:07 +08:00
Marco Zehe 55ce30ca67 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 ae14b3d6aa 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 bd835c9f4a bug 462316 - Refactor test_aria_role_article.html, r=surkov 2008-10-30 11:47:16 +01:00
Marco Zehe 73a5555f09 bug 462314 - Refactor test_aria_activedescendant.html, r=surkov 2008-10-30 11:39:17 +01:00
Marco Zehe e8f2f9b5dc bug 458058 - Crash [@ CallQueryInterface<nsINode, nsIDOMElement>(nsINode*, nsIDOMElement**) ], r=aaronlev 2008-10-30 09:24:09 +01:00
Philipp Kewisch 4a8ab3f0a5 Additional fix for bug 462025 as discussed with aaronlev,surkov 2008-10-29 18:03:20 +01:00
Alexander Surkov afcca424eb 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 9138981c0f 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 d9a06e8869 Fix bug 462025 - Venkman crashes in nsDocAccessible::HasFlag (regression). r=aaronlev 2008-10-29 09:43:21 +01:00
Alexander Surkov f1793770dc 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 bbeddbbb52 Bug 461761 - assertion: Obtained accessible isn't a child of this accessible, r=aaronlev 2008-10-28 19:53:19 +08:00
Alexander Surkov bd73d5a502 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 292d44b1a8 Backed out changeset d4c9a0776667 (deCOM nsILineEnumerator) due to regression from it or bug 461212 2008-10-28 02:49:14 -04:00
Benjamin Smedberg 87c2e7ef23 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 bbc6d24731 Bug 460156 - bring back the old behavior of range.isPointInRange(), r=surkov, sr=sicking 2008-10-19 23:41:21 +03:00
Alexander Surkov 277a3369a9 Bug 460239 - move static methods from nsAccessible and nsAccessNode to utils, r=aaronlev 2008-10-17 18:10:43 +08:00
Alexander Surkov a11a3ce2c8 Bug 460402 - remove extra noise when there is no document accessible, r=aaronlev 2008-10-17 18:09:22 +08:00
Justin Dolske 0a4f228e1e Bug 455057 - some chrome images have embedded profiles. ui-r=faaborg, sr=mconnor. 2008-10-16 15:20:21 -07:00
Alexander Surkov 733fa8d013 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 0daa189e0b 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 96ab0debb0 Bug 459635 - ARIA role should override name computation from subtree flag, r=marcoz, aaronlev 2008-10-14 16:27:02 +08:00
Alexander Surkov 9d93f56aff Bug 459382 - fix html:img accessible name, r=marcoz, aaronlev 2008-10-13 16:58:58 +08:00
Arpad Borsos c72ef7d248 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 2bed3080fb 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 0fb59cb689 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 cd94beaab7 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 03149d38e2 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 15451cbff1 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 0970c26abe Bug 454997 - <body contenteditable=true> exposed incorrectly, r=marcoz, aaronlev 2008-10-08 20:50:36 +08:00
Alexander Surkov b8b067f3c5 Bug 457219 - collapsed and expanded states are exposed both, r=marcoz, aaronlev 2008-10-08 13:27:24 +08:00