Commit Graph

896 Commits

Author SHA1 Message Date
David Bolter
7f125f04cd bug 482563 - Tweak our exposure of object attributes, r=MarcoZ 2009-03-10 21:44:43 +01:00
David Bolter
8d7db3a28a Bug 482573 - add test aria-sort exposed as sort object attribute, r=MarcoZ 2009-03-10 21:44:24 +01:00
David Bolter
a908098d7f Bug 482258 - ARIA controls with STATE_MIXED must not have STATE_CHECKED set also, r=MarcoZ 2009-03-10 07:03:21 +01:00
Marco Zehe
1d963cf262 bug 477975 - Expose action on HTML5 indeterminate checkboxes, r=davidb
--HG--
rename : accessible/tests/mochitest/test_nsIAccessible_actions.xul => accessible/tests/mochitest/test_actions.xul
rename : accessible/tests/mochitest/test_nsIAccessible_actions.html => accessible/tests/mochitest/test_actions_aria.html
2009-03-09 16:10:40 +01:00
Alexander Surkov
187000cd65 a11y leak fix for bug 481357 2009-03-08 01:27:10 +08:00
Alexander Surkov
15f2d91e7b Bug 481357 - rename finalRole to role, r=davidb 2009-03-07 23:38:58 +08:00
Alexander Surkov
20948db2ac Bug 482013 - use role.js instead of explicit .role and .finalRole calls, r=marcoz 2009-03-07 19:23:25 +08:00
Alexander Surkov
9064d82ec6 disable a11y test_getChildAtPoint test 2009-03-05 22:16:38 +08:00
Alexander Surkov
cf0aeb9e0d Bug 481617 - leaks of test_getChildAtPoint (enable this test), r=marcoz 2009-03-05 21:07:38 +08:00
Alexander Surkov
039210d270 Bug 481624 - nsTextAccessibleWrap::get_fontFamily leaks, r=marcoz 2009-03-05 21:02:48 +08:00
Marco Zehe
87075dd521 bug 481435 - Refactor the test_nsiAccessibleTable*.html files, r=surkov
--HG--
rename : accessible/tests/mochitest/test_nsIAccessibleTable_1.html => accessible/tests/mochitest/test_table_1.html
rename : accessible/tests/mochitest/test_nsIAccessibleTable_2.html => accessible/tests/mochitest/test_table_2.html
rename : accessible/tests/mochitest/test_nsIAccessibleTable_3.html => accessible/tests/mochitest/test_table_3.html
rename : accessible/tests/mochitest/test_nsIAccessibleTable_4.html => accessible/tests/mochitest/test_table_4.html
2009-03-05 13:55:54 +01:00
Alexander Surkov
ff3526886f disable a11y test_getChildAtPoint test, linux failure 2009-03-05 14:48:17 +08:00
Alexander Surkov
36882b3bfd Bug 471493 - crash [@ nsPropertyTable::GetPropertyInternal], r=marcoz, davidb, rcampbell 2009-03-05 12:08:18 +08:00
Alexander Surkov
b352538b17 Bug 473570 - Restrict font-weight text attribute to allowed values, r=marcoz, davidb, mozbugz, sr=roc 2009-03-04 14:46:29 +08:00
Marco Zehe
af63b7e9a1 bug 462527 - Refactor test_bug429285.html, r=surkov 2009-03-03 11:42:00 +01:00
Marco Zehe
961ba9ca4b Bug 480939 - Refactor test_nsOuterDocAccessible.html, r=davidb 2009-03-02 16:08:56 +01:00
Marco Zehe
d9c9cd6eeb Bug 480934 - Refactor test_nsIAccessibleHyperText.html, r=davidb 2009-03-02 16:07:14 +01:00
Marco Zehe
aeb2c635bd bug 480294 - Refactor nsIAccessibleHyperLink mochitests, r=surkov 2009-02-27 12:23:26 +01:00
Alexander Surkov
5db9e0b47e Bug 475330 - mochitests for xul:tab and xul:tabpanel relations, r=marcoz, davidb 2009-02-27 19:01:33 +08:00
Alexander Surkov
9f76b3b03e Bug 480099 - If an html:label has both a title and inner text, title becomes acc name for control this label is labelling, r=marcoz, davidb 2009-02-27 18:54:39 +08:00
Alexander Surkov
b80187d3a7 Bug 476404 - [SeaMonkey] New a11y test_relations.xul fails, r=marcoz, davidb, sr=neil 2009-02-27 18:47:15 +08:00
Alexander Surkov
90867e105a Bug 454647 - fix test_bug368835.xul tests so that TreeInvalidation returns consistent values for event data, r=marcoz, davidb
--HG--
rename : accessible/tests/mochitest/test_bug368835.xul => accessible/tests/mochitest/test_events_tree.xul
2009-02-27 18:45:21 +08:00
David Bolter
5b17a61d1e Bug 478810 - document role='textbox' fails assertion, r=surkov, r=MarcoZ 2009-02-26 09:17:43 +01:00
David Bolter
c21cc8b611 Bug 477876 - expose checkable='true' object attribute, r=surkov, r=MarcoZ 2009-02-21 08:43:51 +01:00
L. David Baron
fa9a21c33d Implement multiple background layers, implement fallback background color, and make -moz-background-inline-policy no longer be part of the background shorthand. (Bug 322475) r+sr=roc,bzbarsky 2009-02-19 21:29:21 -08:00
L. David Baron
2eb748571c Backed out changeset fde0b361f25e (bug 322475, main patch) due to Mac talos startup failures and hitting the NS_ABORT_IF_FALSE in SetupBackgroundClip, which may be related. 2009-02-19 13:51:46 -08:00
L. David Baron
d9ac02ed8c Implement multiple background layers, implement fallback background color, and make -moz-background-inline-policy no longer be part of the background shorthand. (Bug 322475) r+sr=roc,bzbarsky 2009-02-19 12:33:09 -08:00
L. David Baron
a91aa25ab0 Back out all 8 changesets that I just landed (bugs 477959, 477961, 322475, 478899, 475215, 478156) again, because Talos Try server builds lie about which changesets they're testing. 2009-02-19 09:06:18 -08:00
L. David Baron
51ef1de194 Implement multiple background layers, implement fallback background color, and make -moz-background-inline-policy no longer be part of the background shorthand. (Bug 322475) r+sr=roc,bzbarsky 2009-02-19 07:29:28 -08:00
Jeremy D. Lea
b9a1696e34 Bug 476726 - deCOMtaminate WidgetToScreen and ScreenToWidget; r+sr=roc
--HG--
extra : rebase_source : 4a35ccdcafbe8a0a9dded9f292a139b4679709e3
2009-02-18 16:11:49 -08:00
Alexander Surkov
75c9b11d6d parital backup of bug 463645 to make tests pass 2009-02-19 16:10:45 +08:00
Alexander Surkov
842947d4f1 bustage fix3 2009-02-19 15:34:40 +08:00
Alexander Surkov
acbb991644 bustage fix2 bug 463645 2009-02-19 15:31:39 +08:00
Alexander Surkov
e31d6395b8 bustage fix bug 463645 2009-02-19 15:23:44 +08:00
Alexander Surkov
ed9e9ba487 Bug 455886 - AccessibleNameFromSubtree(): don't recurse into subtrees for roles that don't use name from subtree, r=davidb, marcoz
--HG--
rename : accessible/src/base/nsNameUtils.cpp => accessible/src/base/nsTextEquivUtils.cpp
rename : accessible/src/base/nsNameUtils.h => accessible/src/base/nsTextEquivUtils.h
2009-02-19 15:06:14 +08:00
Alexander Surkov
a9f284053f Bug 463645 - container-live object attribute should reflect role as well, r=davidb, marcoz 2009-02-19 14:56:19 +08:00
L. David Baron
8b207bcc51 Revert (back out) the previous 11 changesets (bugs 477959, 477961, 477963, 477962, 322475, 478899, 475215, 478156), due to Mac talos orange with (as usual) no useful diagnostic. 2009-02-18 18:59:47 -08:00
L. David Baron
366992262c Implement multiple background layers, implement fallback background color, and make -moz-background-inline-policy no longer be part of the background shorthand. (Bug 322475) r+sr=roc,bzbarsky 2009-02-18 17:13:25 -08:00
David Bolter
f4e8292a4b bug 467387 - Expose non-editable documents as readonly, regardless of role, r=surkov, r=MarcoZ
--HG--
rename : accessible/tests/mochitest/test_nsIAccessible_editabledoc.html => accessible/tests/mochitest/test_states_doc.html
rename : accessible/tests/mochitest/test_nsIAccessible_editablebody.html => accessible/tests/mochitest/test_states_editablebody.html
2009-02-17 17:16:38 +01:00
Neil Rashbrook
ff1250f26b VC7.1/SunCC bustage fix for bug 475522 r=surkov.alexander,ginn.chen 2009-02-16 11:24:22 +00:00
Serge Gautherie
5ec9f53e89 Backed out changeset: 719dca3419b5 2009-02-15 18:41:16 +01:00
Jeremy Lea
b82cdbd258 Bug 476726 - deCOMtaminate WidgetToScreen and ScreenToWidget; r+sr=roc 2009-02-15 17:41:06 +01:00
Alexander Surkov
2d17b131fc 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
4275462f8e 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
fc0422bfdc 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
79edd80b98 Backout changeset 4767c92771e6 from bug 475522 because of burning tree 2009-02-12 15:35:12 +01:00
Alexander Surkov
af8c0fe837 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
e07c6d5714 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
a4fa6ef006 bug 474340 - Change aria-grab to aria-grabbed, r=MarcoZ 2009-02-11 08:09:54 +01:00
Alexander Surkov
dc56aa09d1 Bug 345780 - Support multiple targets for same relation, r=davidb, r=MarcoZ, sr=neil 2009-02-10 11:03:30 +01:00
Alexander Surkov
8cdd1a5abc bug 477606 - select@size should be exposed as listbox, r=davidb, r=MarcoZ 2009-02-10 10:55:21 +01:00
David Bolter
67cac97b18 bug 474408 - Remove role='description', r=MarcoZ 2009-02-10 10:40:38 +01:00
Marco Zehe
55564c47f0 Leak bustage fix for bug 472662, r=peterv 2009-02-05 12:46:34 +01:00
Marco Zehe
c71bf0f690 bug 476796 - Refactor test_nsIAccessibleImage, r=surkov 2009-02-05 10:06:40 +01:00
Alexander Surkov
9133de3976 fix Solaris bustage of bug 472662 2009-02-05 16:57:08 +08:00
Alexander Surkov
1c10820fae comment for bug 472662 2009-02-05 15:11:12 +08:00
Alexander Surkov
984d96b10b merge with bug 476209 2009-02-05 14:26:54 +08:00
Alexander Surkov
a76fcdea47 Bug 472662 - no reorder event for most display property & DOM changes, r=marcoz, davidb 2009-02-05 14:23:18 +08:00
David Bolter
8fcc5cb1c8 bug 476209 - refactor test_nsIAccessibleDocument.html, r=MarcoZ 2009-02-05 06:43:46 +01:00
Alexander Surkov
7aa52eb1ce Bug 475901. Rev nsIAccessibleValue iid in CLOSED TREE 2009-02-03 15:45:27 -05:00
Alexander Surkov
c44a1240e8 Bug 475298 - mochitests for accessible relations, r=davidb, marcoz 2009-01-28 01:27:51 +08:00
Marco Zehe
ae20bb4203 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
729e5a9577 bug 472311 - Alert dialogs not being spoken, section 508 issue, r=aaronlev, r=enn 2009-02-02 10:35:36 +01:00
David Bolter
f0cdd2c084 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
3e2effca65 bug 474984 - Move name calculation for GridCell element to new namerules infrastructure, r=surkov 2009-01-25 07:55:56 +01:00
Alexander Surkov
f77c4d89e7 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
2a7d88e05a 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
fb19e2cf4c fix for bug 468034 2009-01-21 00:19:10 +08:00
Alexander Surkov
01e7c67b25 Bug 468034 - make automated tests for name calculation rules, r=marcoz, davidb 2009-01-20 23:08:38 +08:00
Marco Zehe
afdb74a8c5 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
40a4e24a45 bug 474294 - Support aria-expanded on more roles, r=aaronlev, r=MarcoZ 2009-01-19 22:28:03 +01:00
Marco Zehe
fe0c6ca81b bug 474261 - Test remaining implementations in nsHypertextAccessible::GetRole, r=surkov 2009-01-19 22:25:55 +01:00
Fred Jendrzejewski
7d5761cdfa Bug 461047 - Replace nsStringArray with nsTArray<nsString>. r+sr=roc 2009-01-18 21:14:14 +01:00
Robert O'Callahan
cfe47b0fc4 Backout bug 461047
--HG--
extra : rebase_source : 30f40138d764520634e4ceac0f2bc523dcbc4b09
2009-01-16 22:20:53 +13:00
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