Commit Graph

2109 Commits

Author SHA1 Message Date
Alexander Surkov
d731026d36 Bug 736059 - do some cleanups of nsAccessible::GetAttributesInternal, r=tbsaunde 2012-03-26 13:37:07 +09:00
Charles Chan
05a2547e1b Bug 737765 - Use aLength in insertTextCB(). r=hub 2012-03-23 21:47:26 -07:00
Alexander Surkov
60bef10e50 Bug 738635 - fix XUL tree accessible leak and add XUL tree mochitest sugar, r=marcoz 2012-03-24 11:30:11 +09:00
Mark Capella
1024c2a44e Bug 726071 - get rid nsAccUtilsGetPositionAndSizeForXULSelectControlItem, r=surkov, f=tbsaunde 2012-03-24 10:09:10 +09:00
Hub Figuière
bd665ae75e Bug 718627 - Part 3: Make helper GetObjectOrRepresentedView() public in mozAccessible.h. r=surkov 2012-03-23 11:54:55 -07:00
Hub Figuière
21145b50c1 Bug 718627 - Part 2: Expose CaretLineNumber() and GetTextBounds() from nsHyperTextAccessible. r=surkov 2012-03-23 11:54:55 -07:00
Hub Figuière
4039e7a446 Bug 718627 - Part 1: Autocomplete is to be ignored. Use TextField directly. r=surkov 2012-03-23 11:54:55 -07:00
Alexander Surkov
269e676677 Bug 727942 - boundaries of imagemap may be incorrect when page is zoomed, r=marcoz 2012-03-24 02:05:09 +09:00
Alexander Surkov
439e031fce Bug 706784 - drop action accessible ref on linkable accessible when linkable gets unbound from tree, r=tbsaunde 2012-03-23 21:21:31 +09:00
Jignesh Kakadiya
99c83bac32 Bug 726005 - IDRefsIterator::Next() should use nsDocAccessible::GetAccessible(), r=tbsaunde, f=surkov 2012-03-23 14:26:52 +09:00
Mark Capella
0d0c6923a2 Bug 737156 - Map role=note to IA2 role NOTE instead of SECTION, r=eitan, dbolter 2012-03-23 14:23:46 +09:00
Alexander Surkov
57c19e3df3 Bug 736944 - make nsDocAccessible::RecreateAccessible fall into usual ContentInserted/ContentRemoved procedure, r=tbsaunde 2012-03-23 10:49:55 +09:00
Mark Capella
da05306b21 Bug 686909 - The system suffix is for system generated events only, patch=tbsaune, capella, r=surkov 2012-03-22 21:28:25 +09:00
Hessam Salehi
7d69570885 Bug 474505 - Replace uses of nsVoidPtrHashkey with nsPtrHashKey<T>; r=bsmedberg 2012-03-21 14:07:31 -04:00
Matt Brubeck
e8b1c17723 Merge mozilla-central and mozilla-inbound 2012-03-20 16:16:42 -07:00
Serge Gautherie
38c3a4d10f Bug 736905. (Av1) test_ui_modalprompt.html needs to check "prompts.tab_modal.enabled" preference. r=surkov.alexander. 2012-03-20 20:16:15 +01:00
Aryeh Gregor
a10001763c Bug 735805 - Part 4.5: Fix a11y mochitest that runs no tests. r=surkov 2012-03-20 13:31:39 -04:00
Adam Dane [:hobophobe]
3c986b3780 Bug 720126 - Update scroll API to use ScrollAxis parameters (where and when). r=roc 2012-03-19 21:09:50 -05:00
Trevor Saunders
5f47dfa07c bug 735915 - make atk interface vfuncs static r=askalski, ginn.chen 2012-03-20 00:02:50 -04:00
Mark Capella
f3d1eca12f Bug 735136 - get rid of nsHTMLSelectOptionAccessibleGetPositionAndSizeInternal, r=tbsaunde, f=surkov 2012-03-20 10:23:39 +09:00
Jignesh Kakadiya
f32ec07786 Bug 726072 - nsAccUtils::GetMultiSelectableContainer should use nsDocAccessible::GetAccessible, r=eitan, f=surkov 2012-03-15 22:13:44 -04:00
Alexander Surkov
12cc97eaa6 Bug 732389 - image map accessible tree is not updated when image map is changed, r=bz, tbsaunde 2012-03-15 16:16:02 -04:00
Alexander Surkov
dbd03aa9c7 Bug 735666 - crash [@ nsIDocument::GetContainer() ], r=tbsaunde 2012-03-14 16:37:50 -04:00
Alexander Surkov
aa6ce2d7de Bug 733382 - editable state bit should be presented on readonly inputs, r=davidb
--HG--
rename : accessible/tests/mochitest/states/test_inputs.xul => accessible/tests/mochitest/states/test_controls.xul
2012-03-14 13:48:01 -04:00
Alexander Surkov
3ca673bb4a Bug 735228 - CAccessibleComponent shouldn't use GetComputedStyle, r=tbsaunde 2012-03-13 13:35:26 -04:00
Alexander Surkov
b3554d6333 Bug 661293 - add mochitest for content alert() relations, r=marcoz 2012-03-13 13:01:26 -04:00
Alexander Surkov
b9bf29dd7a Bug 421242 - allow relations in anonymous content for binding parent, r=bsaunde, f=smaug 2012-03-13 12:06:21 -04:00
Alexander Surkov
88f78d0389 Bug 731287 - get rid nsCoreUtils::GetComputedStyleDeclaration, r=tbsaunde 2012-03-12 21:08:06 -04:00
Alexander Surkov
ee90dbe294 Bug 731276 - remove CSS computed style getters from nsIAccessible, r=tbsaunde 2012-03-12 21:00:29 -04:00
Mark Capella
4f94d3def4 Bug 726069 - get rid nsAccUtils::GetPositionAndSizeForXULContainerItem, r=hub, f=surkov 2012-03-12 14:10:03 -04:00
Mark Capella
c2aa037d9f Bug 696975 - extend the list of legitimate data table structures for layout-guess object attribute, r=surkov, hub 2012-03-12 13:54:21 -04:00
Alexander Surkov
30a688419f Bug 728907 - use mozilla::ArrayLength instead of array length macros 2012-03-12 09:29:48 -04:00
Alexander Surkov
3447bd9c17 Bug 473569 - Restrict text-position to allowed values, r=tbsaunde 2012-03-12 08:03:43 -04:00
Alexander Surkov
82b218d29c Bug 728907 - replace nsTArray on on-stack c++ array in TextAttrsMgr, r=tbsaunde 2012-03-11 23:37:30 -04:00
Alexander Surkov
1d72bddcad Bug 523304 - expose text-underline-color and text-line-through-color text attributes, r=tbsaunde 2012-03-11 00:35:02 +09:00
Alexander Surkov
2a26553663 Bug 523304 - tweak TextAttr interface, r=tbsaunde
--HG--
rename : accessible/src/base/nsTextAttrs.cpp => accessible/src/base/TextAttrs.cpp
rename : accessible/src/base/nsTextAttrs.h => accessible/src/base/TextAttrs.h
2012-03-10 16:29:51 +09:00
Eitan Isaacson
50f426fe13 Bug 729384 - Mochitest for nsIAccessibleVirtualCursorChangeEvent. r=marco.zehe 2012-03-09 20:52:13 -05:00
Eitan Isaacson
91b58363c1 Bug 729384 - Create an interface for virtual cursor changed events. r=surkov.alexander 2012-03-09 20:52:13 -05:00
Alexander Surkov
0b51d64164 Bug 729831 - Don't expose CSS-based object attributes on not in tree accessible and accessible having no DOM element, r=marcoz 2012-03-09 23:20:17 +09:00
Alexander Surkov
3ba61c7c4d Bug 733335 - dexpcom nsIEditableTextAccessible::GetAssociatedEditor, r=davidb 2012-03-08 12:28:38 +09:00
Alexander Surkov
64d1e17634 Bug 643172 - improve a11y eventQueue logging, r=marcoz 2012-03-08 03:19:50 +09:00
Marco Bonardo
7a53ebb551 Merge inbound and central 2012-03-07 10:33:11 +01:00
Trevor Saunders
570b61ee37 Bug 726287 - misc decomtamination in nsHypertextAccessible, r=surkov 2012-03-07 02:08:02 +09:00
Alexander Surkov
7f1a0460fb Bug 732908 - Expose 'Firefox' and 'Thunderbird' as the accessible app names -- even for pre-release versions, r=ginn 2012-03-06 19:01:55 +09:00
Serge Gautherie
56b6bd2acf Bug 718237. (Cv1) Call initAutoComplete() early to support XPFE AutoComplete. r=surkov.alexander. 2012-03-06 15:10:10 +01:00
Mark Capella
6d5433ed77 Bug 731904 - get rid nsCoreUtils::IsCorrectFrameType, r=surkov 2012-03-05 04:18:31 +09:00
Alexander Surkov
174616171a Bug 731287 - don't use GetComputedStyle for background-color in HTML table layout guess, r=tbsaunde 2012-03-04 11:29:25 +09:00
Alexander Surkov
e43a25e598 Bug 727940 - Windows app can't read Firefox setting for hardware acceleration (D2D), r=marcoz, tbsaunde 2012-03-03 21:09:46 +09:00
Mark Capella
39763963ff Bug 627379 - Add test for @hidden attribute, r=surkov 2012-03-02 22:46:57 +09:00
David Bolter
38d7fde319 Bug 495912 - Expose content in HTML canvas elements. r=bz,roc r=surkov(tests)
layout-mentor: bz (mucho thanks!)

We make html canvas frame a container and render frames for its content which makes a lot of what we need for accessibility "just work".
2012-02-17 23:26:37 -05:00
Ed Morley
d9eda11faf Backout 547de632a3e2 (bug 495912) for mochitest-a11y orange 2012-02-29 18:42:58 +00:00
David Bolter
28fe167db3 Bug 495912 - Expose content in HTML canvas elements. r=bz,roc r=surkov(tests)
layout-mentor: bz (mucho thanks!)

We make html canvas frame a container and render frames for its content which makes a lot of what we need for accessibility "just work".
2012-02-17 23:26:37 -05:00
Alexander Surkov
7619b471a3 Bug 728907 - don't static_cast text attribute objects, r=tbsaunde 2012-02-29 21:36:37 +09:00
Alexander Surkov
7795682ab9 Bug 728907 - remove nsTextAttrs.h include from nsHyperTextAccessible.h, r=tbsaunde 2012-02-29 19:59:38 +09:00
Alexander Surkov
832f5e86eb Bug 728907 - don't use GetComputedStyle for text attributes: font-style, r=tbsaunde 2012-02-29 16:35:51 +09:00
Alexander Surkov
cee1f5d132 Bug 473576 - font-family text attribute should expose actual font used, r=tbsaunde, f=karl 2012-02-29 09:25:06 +09:00
Trevor Saunders
74f5918c05 bug 730841 - only call atk_object_set_parent() when the parent actually is different r=surkov 2012-02-27 15:30:32 -05:00
Alexander Surkov
993aaa6d4f Bug 728907 - don't use GetComputedStyle for text attributes: color, r=tbsaunde 2012-02-27 23:43:39 +09:00
Alexander Surkov
bbbf1869e9 Bug 729831 - Crash @ mozilla::a11y::StyleInfo::Margin, r=tbsaunde 2012-02-27 20:33:55 +09:00
Mark Capella
04f62f26a0 Bug 728905 - telemetry ZoomText, YouDao Dictionary and Kazaguru, r=tbsaunde, f=surkov 2012-02-26 11:15:55 +09:00
Marco Bonardo
6b7d2f3290 Merge last green PGO from inbound to central 2012-02-25 11:11:15 +01:00
Serge Gautherie
d19b021256 Bug 718235. (Av1) events/test_focus_general.html: Disable synthShiftTab() check on SeaMonkey. r=surkov.alexander. 2012-02-25 06:18:27 +01:00
Mark Capella
48436ce819 Bug 728904 - prefix telemetry constants starting by A11Y, r=surkov, f=tbsaunde 2012-02-25 13:32:21 +09:00
Mark Capella
5da712962a Bug 725259 - ARIA role combobox shouldn't allow aria-valueXXX attributes, r=davidb, f=surkov 2012-02-25 13:32:10 +09:00
Hub Figuière
b0a135e607 Bug 729861 - Part 2: make the doc accessible check an assert. r=tbsaunde 2012-02-24 12:36:01 -08:00
Hub Figuière
ba91468e05 Bug 729861 - Crash: make sure we don't get a nsnull doc accessible. r=surkov 2012-02-23 23:31:24 -08:00
Alexander Surkov
ab766e4b14 Bug 727942 - childAtPoint may return incorrect accessibles when page zoomed, r=marcoz 2012-02-23 12:16:57 +09:00
Ed Morley
c20c0057a4 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-02-22 22:20:54 +00:00
Ed Morley
84b59f18ef Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-02-22 14:10:55 +00:00
Serge Gautherie
4a4844d2ad Bug 729474. (Av1) name/test_browserui.xul: Improve log, to help diagnose. r=surkov.alexander. 2012-02-22 14:45:24 +01:00
Alexander Surkov
fa4f5216f3 Bug 650241 - disable width testing of testBounds() because of failure on some platforms 2012-02-22 13:49:22 +09:00
Alexander Surkov
d997c09ad5 Bug 650241 - Location returned by accessibles sometimes incorrect when page zoomed, r=marcoz 2012-02-22 11:07:43 +09:00
Hub Figuière
9a82df15d0 Bug 726097 - Use the right doc accessible when hit testing. Add proper mochi-test. r=surkov
--HG--
rename : accessible/tests/mochitest/test_childAtPoint.html => accessible/tests/mochitest/hittest/test_general.html
rename : accessible/tests/mochitest/test_childAtPoint.xul => accessible/tests/mochitest/hittest/test_general.xul
2012-02-15 13:51:04 -08:00
Alexander Surkov
7ef094a34b Bug 714579 - Don't use GetComputedStyle for object attribute calculation, r=tbsaunde, marcoz, f=bz 2012-02-21 00:45:29 +09:00
Ed Morley
0d22afb4a6 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-02-20 12:08:28 +00:00
Serge Gautherie
d18ed4187e Bug 718237. (Bv2) test_focus_autocomplete.xul: Skip this test on SeaMonkey ftb. r=surkov.alexander. 2012-02-20 05:25:17 +01:00
Alexander Surkov
6748e49919 Bug 677154 - Detached document accessibility tree, r=bz, marcoz 2012-02-18 02:38:43 +09:00
Alexander Surkov
24a8ff14cb Bug 499093 - Fix discrepancy between tr count and row count in nsHTMLTableAccessible::IsProbablyForLayout, r=marcoz 2012-02-17 16:21:26 +09:00
Nathan Froyd
e0a921911d Bug 727163 - fix compiler warnings in accessible/; r=askalski 2012-02-14 10:53:09 -08:00
Alexander Surkov
8c3d6884e3 Bug 727735 - don't use computed style for width detection in IsProbablyForLayout, r=tbsaunde 2012-02-18 18:18:48 +09:00
Andrew Quartey
7024a3301a Bug 691267 - Remove nsHTMLButtonAccessible duplication, r=surkov
--HG--
rename : accessible/tests/mochitest/actions/test_inputs.html => accessible/tests/mochitest/actions/test_controls.html
2012-02-22 20:33:37 +09:00
Alexander Surkov
5789c40b43 Bug 650241 - improve accessible boundaries testing, r=marcoz 2012-02-22 20:27:28 +09:00
alexander
dd1d036870 Bug 714579 - Make sure the accessible isn't defunct before getting the caret offset. r=tbsaunde 2012-02-15 07:11:00 -08:00
joseph
4d959d1773 Bug 726507 - Replace GetAccService()->GetAccessible() with mDoc->GetAccessible() in html/ and xul/ subfolders of accessibility/src/ folder, r=surkov 2012-02-16 03:22:17 +08:00
Marco Bonardo
ead310cb44 Merge last green PGO from inbound to central 2012-02-14 11:16:13 +01:00
Alexander Surkov
aa22b80ea0 Bug 725644 - add new nsIAccessibleHideEvent interface, r=tbsaunde 2012-02-14 09:02:41 +09:00
Alexander Surkov
ab88e52594 Bug 725581 - caretOffset for textarea should be -1 when textarea doesn't have a focus, r=tbsaunde 2012-02-13 12:37:52 +09:00
Mark Capella
772d8a7ef2 Bug 725647. (Bv1a) test_embeds.xul: Use new openBrowserWindow(). f=sgautherie r=surkov.alexander. 2012-02-13 21:03:43 +01:00
Jignesh Kakadiya
a87c539c3d Bug 725998 - get rid of GetAccessibleOrContainer and GetContainerAccessible, r=surkov 2012-02-12 11:35:55 +09:00
Jignesh Kakadiya
f5ce15755e Bug 724452 - use nsFocusManager::GetFocusManager() more, r=tbsaunde, hub, surkov 2012-02-12 11:34:00 +09:00
Andrew Quartey
69b76a336f Bug 634829 - Remove nsIAccessibleWin32Object interface, r=surkov 2012-02-11 16:45:10 +09:00
Tobias Markus (:Tobbi)
264c070a34 Bug 725178 - Remove ensureAccessibleTree from common.js, r=surkov 2012-02-08 20:13:37 +01:00
Trevor Saunders
78aca9eb31 bug 672507 - fix review nits r=davidb 2012-02-10 16:39:20 -05:00
Andrzej Skalski
5425560781 Bug 706134 - ARIA listitem shouldn't expose selectable state and pick up aria-selected and aria-checked, r=surkov 2012-02-11 03:25:48 +09:00
Hub Figuière
cdc622f177 Bug 721947 - use nsIPresShell instead of nsIWeakShell. r=surkov 2012-02-09 08:49:17 -08:00
Hub Figuiere
00b825bb9b Bug 673405 - Rename GetDocAccessible() to Document(). r=surkov 2011-11-09 14:52:00 -08:00
Hub Figuière
669bbab05f Bug 672504 - Don't keep pointer to weak presshell in accessible. r=surkov 2012-02-07 14:38:54 -08:00
Jignesh Kakadiya
eaf40b41b9 Bug 539694 - Added MOZ_DELETE attribute to private copy constructors, r=surkov 2012-02-09 16:43:13 +09:00
Joey Blacksmith
250767432b Bug 723796 - nsAccessible::GetAllowsAnonChildAccessibles renamed to nsAccessible::CanHaveAnonChildren, r=surkov 2012-02-08 16:31:25 +09:00
Andrzej Skalski
2b74d8316f Bug 717506 - telemetry for xforms use, r=surkov, tbsaunde 2012-02-08 16:21:21 +09:00