Commit Graph

2817 Commits

Author SHA1 Message Date
Trevor Saunders
b866203214 bug 559773 - make html5 progress element accessible (correct constructor indentation) r=whitespaceonly 2011-05-12 08:03:17 -04:00
Alexander Surkov
0c0c4b8e57 Bug 648223 - stop support of accessibility.disableenumvariant pref, r=davidb 2011-05-12 20:37:18 +09:00
Alexander Surkov
e31fc75bcb bug 559773 - make html5 progress element accessible r=marcoz,trev
From ed8e50f56d7c619a6df4ac906a5887d9788d58e2 Mon Sep 17 00:00:00 2001
https://bugzilla.mozilla.org/show_bug.cgi?id=559773
---
 accessible/src/base/nsAccessibilityAtomList.h      |    1 +
 accessible/src/base/nsAccessibilityService.cpp     |    9 +-
 accessible/src/base/nsFormControlAccessible.cpp    |  137 ++++++++++++++++++++
 accessible/src/base/nsFormControlAccessible.h      |   22 +++
 accessible/src/html/nsHTMLFormControlAccessible.h  |    5 +
 accessible/src/xul/nsXULFormControlAccessible.cpp  |  133 -------------------
 accessible/src/xul/nsXULFormControlAccessible.h    |   21 +---
 accessible/tests/mochitest/Makefile.in             |    3 +-
 accessible/tests/mochitest/value/Makefile.in       |   55 ++++++++
 .../{test_value.html => value/test_general.html}   |    4 +-
 .../tests/mochitest/value/test_progress.html       |   63 +++++++++
 .../{test_value.xul => value/test_progress.xul}    |    8 +-
 12 files changed, 303 insertions(+), 158 deletions(-)
 create mode 100644 accessible/tests/mochitest/value/Makefile.in
 rename accessible/tests/mochitest/{test_value.html => value/test_general.html} (98%)
 create mode 100644 accessible/tests/mochitest/value/test_progress.html
 rename accessible/tests/mochitest/{test_value.xul => value/test_progress.xul} (93%)

--HG--
rename : accessible/tests/mochitest/test_value.html => accessible/tests/mochitest/value/test_general.html
rename : accessible/tests/mochitest/test_value.xul => accessible/tests/mochitest/value/test_progress.xul
2011-05-11 22:55:12 -04:00
Trevor Saunders
7cb1587cfd bug 652459 - reenable test_singleline.html and test_whitespaces.html r=davidb 2011-05-11 23:27:35 -04:00
Olli Pettay
9241c69505 Bug 654770, fix few AddEventListener calls now that it has 2 optional parameters, r=sicking
--HG--
extra : rebase_source : d0a27a6ba059d5862f10ab49f0a079e8928b30fb
2011-05-05 23:33:13 +03:00
Boris Zbarsky
b8ee95adec Bug 614171 part 3. deCOM qualified name getters a bit. r=sicking 2011-05-05 12:26:33 -04:00
Boris Zbarsky
39cd5e1ba7 Bug 652459. Temporarily disabling these tests to reopen CLOSED TREE. a=davidb 2011-05-05 09:03:56 -04:00
Trevor Saunders
a3e6737fd5 bug 652378 - dexpcom nsAccessible::GetDescription() r=surkov
From 474b06dc24586199d7abf30235b8202b595e9edd Mon Sep 17 00:00:00 2001
---
 accessible/src/atk/nsAccessibleWrap.cpp            |   10 +--
 accessible/src/base/nsAccessible.cpp               |   62 +++++++++++---------
 accessible/src/base/nsAccessible.h                 |    5 ++
 accessible/src/base/nsApplicationAccessible.cpp    |    5 +-
 accessible/src/base/nsApplicationAccessible.h      |    2 +-
 accessible/src/base/nsDocAccessible.cpp            |   15 ++---
 accessible/src/base/nsDocAccessible.h              |    2 +-
 accessible/src/html/nsHTMLImageMapAccessible.cpp   |    6 +-
 accessible/src/html/nsHTMLImageMapAccessible.h     |    2 +-
 accessible/src/html/nsHTMLSelectAccessible.cpp     |   13 ++--
 accessible/src/html/nsHTMLSelectAccessible.h       |    2 +-
 accessible/src/html/nsHTMLTableAccessible.cpp      |   19 +++----
 accessible/src/html/nsHTMLTableAccessible.h        |    2 +-
 accessible/src/mac/mozAccessible.mm                |    5 +-
 accessible/src/msaa/nsAccessibleWrap.cpp           |    4 +-
 accessible/src/xforms/nsXFormsAccessible.cpp       |   18 ++----
 accessible/src/xforms/nsXFormsAccessible.h         |    5 +-
 .../src/xforms/nsXFormsFormControlsAccessible.cpp  |   11 +--
 .../src/xforms/nsXFormsFormControlsAccessible.h    |    4 +-
 .../src/xforms/nsXFormsWidgetsAccessible.cpp       |    5 +-
 accessible/src/xforms/nsXFormsWidgetsAccessible.h  |    2 +-
 accessible/src/xul/nsXULComboboxAccessible.cpp     |   21 ++-----
 accessible/src/xul/nsXULComboboxAccessible.h       |    2 +-
 accessible/src/xul/nsXULListboxAccessible.h        |    2 +-
 accessible/src/xul/nsXULMenuAccessible.cpp         |    9 +--
 accessible/src/xul/nsXULMenuAccessible.h           |    2 +-
 26 files changed, 106 insertions(+), 129 deletions(-)
2011-04-23 09:14:05 -04:00
Craig Topper
16c85e6947 Bug 648885 - Part 3: Remove nsIImageMap. r=roc
--HG--
extra : rebase_source : 179eb2e28f555d2a6159f92aa5ccd6d0af900b2b
2011-04-26 22:51:13 -07:00
Craig Topper
74ee06a1c9 Bug 648885 - Part 2: Remove nsIImageFrame. r=roc
--HG--
extra : rebase_source : 3097ee732ab2ba3b7a79253f7f71c09eed22d033
2011-04-25 23:52:19 -07:00
Ms2ger
31e3e8c5d1 Bug 616684 - Remove support for DOM Views; r=sicking,ehsan 2011-04-24 08:54:25 +02:00
Trevor Saunders
dd3783fa65 Bug 653086 - clean up editor configuration lines in a11y atk files, r=surkov 2011-04-27 22:42:27 +09:00
Brad Taylor
0bb6a3a301 Bug 480317 - Provide a way for atk-based plugins to slot into our a11y tree, r=joshmoz, ginn, surkov, trev, patch=btaylor, mcarrion, mgorse 2011-04-27 22:42:18 +09:00
Trevor Saunders
e073ce2232 Bug 652380 - nsRootAccessible::NativeState() should only call GetChromeFlags() once, r=surkov 2011-04-27 22:42:03 +09:00
Ehsan Akhgari
67e7a42892 Backout changeset 13f6847dd840 (bug 616684) because it changes code semantics in a bad way, which results in problems like the crash in bug 652580, possibly among others 2011-04-25 17:05:17 -04:00
Ms2ger
540ca93080 Bug 616684 - Remove support for DOM Views; r=sicking 2011-04-24 08:54:25 +02:00
David Zbarsky
a0b813679f Bug 610305: decom nsEventStateManager r=smaug 2011-04-21 19:35:52 +02:00
Mounir Lamouri
2af4853be5 Backed out changeset c1a7c1bc1aeb due to busted build. 2011-04-20 22:26:06 +02:00
David Zbarsky
732897cc3f Bug 610305: decom nsEventStateManager r=smaug 2011-04-20 21:42:33 +02:00
Zack Weinberg
3929b6bfdd Bug 651017, part 5: mechanical changes.
--HG--
extra : rebase_source : 8bbdf48488736b51d05e734e2e9316c1460cfed5
2011-04-16 18:22:44 -07:00
Robert O'Callahan
fc7faceefc Bug 641426. Part 6: Rename Empty to SetEmpty. r=cjones 2011-04-19 15:07:23 +12:00
Ms2ger
64b6f6a114 Bug 650235 - Assignment instead of comparison in nsOuterDocAccessible::GetChildAtPoint; r=surkov 2011-04-17 10:48:02 +02:00
Alexander Surkov
12f39cb5d2 Bug 630486 - ASSERTION 'Want to fire mutation events, but it's not safe' in nsContentUtils::HasMutationListeners triggered by a11y, r=marcoz, gavin, bz, f=davidb
--HG--
rename : accessible/tests/mochitest/tree/test_colorpicker.xul => accessible/tests/mochitest/treeupdate/test_colorpicker.xul
rename : accessible/tests/mochitest/tree/test_button.xul => accessible/tests/mochitest/treeupdate/test_menubutton.xul
2011-04-15 11:11:39 +09:00
Zack Weinberg
b6b73ad75a Bug 174055, part 4: mechanical fixups outside gfx. 2011-04-07 18:05:49 -07:00
Zack Weinberg
c49f97544f Bug 174055, part 2: merge nsIThebesFontMetrics into nsIFontMetrics. 2011-04-07 18:05:25 -07:00
Zack Weinberg
9f143f420f Bug 174055, part 1: minimize inclusion of nsI(Thebes)FontMetrics.h. 2011-04-07 18:04:41 -07:00
Jan Küchler
c510bc3046 Bug 266236 part 3: Mechanical rename of nsIRenderingContext and nsThebesRenderingContext to nsRenderingContext. Mechanical substitution of nsRefPtr<nsRenderingContext> for nsCOMPtr<nsRenderingContext>.
--HG--
rename : gfx/src/nsThebesRenderingContext.cpp => gfx/src/nsRenderingContext.cpp
extra : rebase_source : 34884bfcafd885feaf73300bc7246cd192062a48
2011-04-07 18:04:40 -07:00
Trevor Saunders
b3553b389c Bug 649604 - crash [@ nsAccessible::NativeState()], r=marcoz, surkov 2011-04-14 20:49:38 +09:00
Ehsan Akhgari
dd5c804aa9 Merge cedar into mozilla-central 2011-04-13 14:00:55 -04:00
Trevor Saunders
cb4acc863c Bug 619002 - When deleting text from edit fields the wrong text is reported through at-spi r=fernando,ginn.chen f=surkov 2011-03-24 18:03:14 -04:00
Ehsan Akhgari
d532809012 Merge mozilla-central into cedar 2011-04-11 13:11:47 -04:00
David Zbarsky
43bf08bc71 Bug 583514 - implement click and accesskey for all HTML elements r=smaug 2011-04-11 18:56:37 +02:00
Ehsan Akhgari
286c9d2552 Bug 648904 - Bug 634218 breaks accessibility builds on Mac; r=surkov 2011-04-11 11:50:15 -04:00
Ehsan Akhgari
5376138030 Merge cedar into mozilla-central 2011-04-10 15:11:22 -04:00
Zack Weinberg
5804acdde8 Bug 648271: don't use nsIDeviceContext::FirstExistingFont in msaa/nsTextAccessibleWrap.cpp. r=surkov.alexander 2011-04-07 18:04:37 -07:00
Trevor Saunders
0a3a9498cf Bug 634218 - dexpcom accessible state methods, r=surkov 2011-04-10 08:38:06 +09:00
Alexander Surkov
fe94f217d5 Bug 648235 - Use more underlying HTML input states for XUL textboxes, r=davidb
--HG--
rename : accessible/tests/mochitest/test_textboxes.xul => accessible/tests/mochitest/states/test_textbox.xul
2011-04-10 08:37:04 +09:00
Trevor Saunders
b69ea14b1d Add additional IsDefunct() checks in State() methods to fix crashes [@ nsIContent::Tag()]. Bug 648988. r=surkov 2011-04-11 23:18:42 -07:00
Peter Van der Beken
75ba54d84d Fix for bug 584048 (Clean up cycle collection code) - remove NS_IMPL_CYCLE_COLLECTING_ADDREF_AMBIGUOUS/NS_IMPL_CYCLE_COLLECTING_RELEASE_AMBIGUOUS. r=bent. 2011-03-06 12:11:31 +01:00
Ehsan Akhgari
3dc66f4715 Backout changeset 4910cd19bc9a (Bug 583514) because it breaks the build as a result of incompatibility with the patches for bug 581177 2011-04-08 07:35:40 -07:00
David Zbarsky
49ca2b6db8 Bug 583514 - implement click and accesskey for all HTML elements r=smaug 2011-04-07 21:52:08 -07:00
Alexander Surkov
a49527ed08 Bug 646368 - don't check whether children are cached while tree is traversed, r=davidb 2011-04-07 14:17:54 +09:00
Alexander Surkov
5b590fcff7 Bug 646369 - UpdateTree should rely on accessible tree walker rather than DOM tree traversal, r=davidb 2011-04-07 14:17:29 +09:00
Ehsan Akhgari
f439c932db Backout changeset 88eb5b5bb5d2 (bug 583514) because of reftest orange 2011-04-02 07:55:52 -04:00
David Zbarsky
a10133825a Bug 583514 - implement click and accesskey for all HTML elements r=smaug 2011-04-01 18:50:58 -04:00
Robert O'Callahan
2030c35c8b Bug 617539. Remove nsIPresShell_MOZILLA_2_0_BRANCH(2). r=tnikkel 2011-04-01 10:33:46 +13:00
Alexander Surkov
9045d93a8f Bug 646406 - AccTreeWalker::NextChild should return raw pointer, r=trevor 2011-03-31 18:30:58 +09:00
Alexander Surkov
76d5e4370d Bug 646376 - remove unused nsAccUtils::HasAccessibleChildren, r=marcoz 2011-03-30 17:59:04 +09:00
Alexander Surkov
5fe4c063e5 Bug 646350 - Add a test for dynamic chnages of CSS generated content, r=marcoz 2011-03-30 16:57:09 +09:00
Boris Zbarsky
de2c6069b3 Bug 557768 - A11y should use nsImageMapUtils; r=surkov 2011-03-29 22:24:54 -04:00
Alexander Surkov
1e650f540d Bug 641562 - dexpcom GetChildAtPoint, r=davidb 2011-03-29 13:44:20 +09:00
Alexander Surkov
7328a150dd Bug 643711 - don't use GetChildCount xpcom version internally, r=trevor 2011-03-29 13:44:14 +09:00
Alexander Surkov
286015a887 Bug 643720 - when adopting child don't invalidate old parent children, r=davidb 2011-03-29 13:44:07 +09:00
Boris Zbarsky
c634f43209 Bug 313351. ContentStatesChanged should take only one argument. r=dbaron 2011-03-28 23:32:11 -04:00
Ehsan Akhgari
dcc96580e7 Merge mozilla-central into cedar 2011-03-28 14:39:03 -04:00
Ehsan Akhgari
8761668e87 Merge cedar into mozilla-central 2011-03-28 13:28:13 -04:00
Trevor Saunders
5825c4795d Bug 635952 - crash [@ notificationController::IsTreeConstructed() ] on shutdown, r=surkov, fer, a=blocking2.x+ 2011-03-28 23:00:02 +09:00
Alexander Surkov
0ba17ebe91 Bug 629114 - crash on add comment link in review board [@ nsBulletFrame::GetListItemText ] [@ nsBulletFrame::GetListItemText(nsStyleList const&, nsString&) ], r=davidb, marcoz, sr=bz, a=blocking2.x+ 2011-03-28 22:59:54 +09:00
Alexander Surkov
56af31344d Bug 644084 - crash [@ nsAccessNodeWrap::get_attributesForNames(unsigned short, unsigned short**, short*, unsigned short**)], r=marcoz, a=blocking2.x+ 2011-03-28 22:59:44 +09:00
Alexander Surkov
56b52a01c0 Bug 598578 - Crash [@ PL_DHashTableOperate | nsTHashtable<nsBaseHashtableET<nsUint32HashKey, nsCOMPtr<nsILocalFile> > >::RemoveEntry(unsigned int const&) ], r=davidb, f=marcoz, a=blocking2.x+ 2011-03-28 22:59:36 +09:00
Alexander Surkov
7bf5f260f4 Bug 643906 - Firefox 4.0 Crash Report [@ nsAccessible::AsHyperText() ], r=davidb, a=blocking2.x+ 2011-03-28 22:59:28 +09:00
Alexander Surkov
5006389b43 Bug 628603 - Crash in nsDocAccessible::CacheChildrenInSubtree [@ nsAccessNode::IsContent() ], r=davidb, a=blocking2.x+ 2011-03-28 22:59:17 +09:00
Alexander Surkov
062cd82f19 Bug 630828 - Crash [@ nsAccessible::UpdateChildren() ], r=davidb, a=blocking2.x+ 2011-03-28 22:59:08 +09:00
Alexander Surkov
880ba9f38e Bug 638326 - getTextAtOffset line boundary may return more than one line, r=david, neil, f=marcoz, a=blocking2.x+ 2011-03-28 22:58:59 +09:00
Ms2ger
415741f594 Bug 581644 - Make nsHTMLDocument::GetImageMap return dom::Element; r=peterv 2011-03-28 12:51:59 -04:00
Mounir Lamouri
6f29076965 Bug 636750 (2/4) - Use ToDouble instead of ToFloat when appropriate. r=bsmedmerg 2011-03-25 12:14:19 +01:00
Marco Zehe
bbd0901d10 Bug 644206 - attributes/test_text.html should be loaded as UTF-8, r=surkov 2011-03-25 13:19:18 +01:00
L. David Baron
28afc65780 Merge layout work from projects/birch, part 4. a=rs 2011-03-24 14:36:14 -07:00
Boris Zbarsky
c4ed99a66d Bug 606087. Don't reframe if overflow styles change on inlines. r=dbaron. Test changes by Alexander Surkov, r=marco.zehe 2011-03-23 09:56:58 -04:00
Ehsan Akhgari
35edf79ace Merge cedar onto mozilla-central 2011-03-23 12:07:34 -04:00
Dão Gottwald
0693a76bcb Remove bogus argument from addProgressListener calls in a11y tests for bug 608628 2011-03-23 14:43:56 +01:00
Dão Gottwald
4277968b21 Bug 608628 followup, fixing up a11y tests 2011-03-23 13:54:39 +01:00
Alexander Surkov
34ae1fdc3e Bug 638106 - CKEditor document should be editable, r=davidb, a=final+ 2011-03-03 14:41:46 +08:00
Kyle Huey
d3bd06d89e Merge m-c to bs. 2011-03-22 20:10:05 -04:00
Serge Gautherie
319cebe9e7 Bug 544170 - [SeaMonkey 2.1] mochitest-a11y: tree/test_tabbrowser.xul fails, due to "tabbrowser API" dependencies and different application UIs; (Cv1) Add SimpleTest.executeSoon() fwiw.
r=surkov.alexander (a=test-only).
2011-03-21 17:27:43 +01:00
Serge Gautherie
d2f9ee3025 Bug 642420 - XPFE autocomplete.xml: investigate removing explicit <children includes="menupopup"/>; (Av1) Just remove it, Update a11y test_combobox.xul.
f=surkov.alexander r=neil (a=NPOTDB).
2011-03-21 14:43:04 +01:00
Serge Gautherie
efd28b8900 Bug 544170 - [SeaMonkey 2.1] mochitest-a11y: tree/test_tabbrowser.xul fails, due to "tabbrowser API" dependencies and different application UIs; (Bv1a) Add support for SeaMonkey tabbrowser UI, Extend existing checks (for Firefox tabbrowser UI), Call removeProgressListener().
f=neil r=surkov.alexander (a=test-only).
2011-03-21 14:37:57 +01:00
Serge Gautherie
90aca2b4a1 Bug 535893 - [SeaMonkey 2.1] mochitest-a11y: test_combobox.xul fails; (Av1a) Add support for XPFE autocomplete popup and differently ordered children, Add explicit "no children" checks.
f=neil r=surkov.alexander (a=test-only).
2011-03-17 13:01:25 +01:00
Kyle Huey
a4544fbedb Merge m-c to bs. 2011-03-19 07:56:17 -04:00
Kyle Huey
8e381df969 Merge m-c to bs. 2011-03-15 19:23:20 -04:00
Alexander Surkov
5ac7d8b1d9 Bug 455840 - change test_nsIAccessible_focus.html mochitest to use eventQueue, r=marcoz, a=test-only
--HG--
rename : accessible/tests/mochitest/test_nsIAccessible_focus.html => accessible/tests/mochitest/test_takeFocus.html
2011-03-14 19:28:33 +08:00
Serge Gautherie
f335b3c95f Bug 641358 - "Document" that test_txtctrl.xul uses a deprecated 'timed' textbox (too); (Av1) Just do it.
r=marco.zehe (a=test-only).
DONTBUILD
2011-03-14 12:13:05 +01:00
Marco Zehe
1135bfc2d7 Bug 415943 - Test that password field text is not readable through accessibility APIs, r=surkov, a=test-only 2011-03-14 10:21:48 +01:00
Alexander Surkov
17eb1997bf Bug 612872 - HAL/Supernova needs tweaks to our window emulation, r=davidb, sr=roc, a=davidb 2011-03-02 22:41:42 +08:00
Alexander Surkov
e65ba0d756 Bug 636945 - add downcasting for nsRootAccessible, r=davidb, a=davidb 2011-03-02 13:16:28 +08:00
Trevor Saunders
992a3dcf64 Bug 562262 - fix license in a11y files, r=surkov, a=beltzner, NPOTB 2011-03-02 13:16:20 +08:00
Serge Gautherie
577f388b52 Bug 544171 - [SeaMonkey 2.1] mochitest-a11y: test_txtctrl.xul fails; (Av2a) Add support for XPFE (and Toolkit) autocomplete popup.
r=surkov.alexander (a=test-only).
2011-03-16 14:28:32 +01:00
Serge Gautherie
4f1c99769e Bug 633725 - docload_wnd.xul (and nsRootAcc_wnd.xul) tries to load about:robots which is Firefox specific (atm); (Av1) s/about:robots/about:/g, Replace bug 586818 comment with an explicit todo().
r=marco.zehe (a=test-only).
2011-02-27 01:19:06 +01:00
Alexander Surkov
824630d4eb Bug 629358 - Baum Retec AG Cobra screen reader popup compatibility issue, r=davidb, f=marcoz, tnikkel, a=davidb 2011-02-22 21:54:56 +08:00
Alexander Surkov
415b39925c Bug 630180 - ###!!! ASSERTION: No parent accessible where we're not direct child of window: 'xpParentAcc', file .../msaa/nsAccessibleWrap.cpp, r=davidb, a=davidb 2011-02-22 21:54:46 +08:00
Alexander Surkov
60d61ad06f Bug 452631 - enable setTextContents test, r=marcoz, a=test 2011-02-22 09:57:07 +08:00
Alexander Surkov
122cef2487 Bug 635346 - allow relations for document accessible defined on document content, r=fer, a=davidb 2011-02-22 09:56:57 +08:00
Alexander Surkov
54ed54c516 Bug 629912, part3 - don't flush layout in a11y, r=davidb, a=betaN 2011-02-17 10:43:03 +08:00
Alexander Surkov
a7d6365a7a Bug 634240 - No caret move events are fired for XUL textbox accessible, r=davidb, f=marcoz, a=final+ 2011-02-16 00:33:54 +08:00
Fernando Herrera
4d85fd55e8 Bug 631026 - do no implement nsHyperText for XUL documents, r=surkov, a=davidb 2011-02-15 10:44:15 +08:00
Fernando Herrera
257f71cdf5 Bug 630194 - add mochitest for bug 630194, r=surkov, a=test 2011-02-14 17:40:59 +08:00
Alexander Surkov
7d4e6ce8d7 Bug 631068 - Accessible recreation breaks relations, r=davidb, a=final+ 2011-02-11 23:05:38 +08:00
Alexander Surkov
f7e6981fa7 Bug 633483 - don't update children of container for dependent content that has an accessible, r=davidb, a=davidb 2011-02-11 23:05:30 +08:00
Alexander Surkov
7278d427d3 Bug 631772 - Hashtable recursion assertion with nsDocAccessible on the stack, r=davidb, a=davidb 2011-02-11 23:05:22 +08:00
Alexander Surkov
e4cf999060 Bug 626660, part2 - fix text diff algorithm, r=davidb, sr=neil, a=betaN 2011-02-08 12:48:41 +08:00