Commit Graph

27 Commits

Author SHA1 Message Date
Frédéric Wang
5544f8ec4e Bug 1177765 - Add xmlroles for MathML. r=surkov 2015-07-16 05:43:00 -04:00
Frédéric Wang
973f4b4b05 Bug 1179483 - Fix crash in mozilla::a11y::HyperTextAccessible::RelationByType. r=MarcoZ 2015-07-02 08:50:00 -04:00
Frédéric Wang
10a14aaf8c Bug 1176123 - Add NODE_CHILD_OF/NODE_PARENT_OF relations to mroot. r=surkov 2015-06-24 15:40:00 +02:00
Alexander Surkov
aa37810d62 Bug 1176683 - crash in mozilla::a11y::HyperTextAccessible::LandmarkRole() const, r=marcoz 2015-06-24 15:48:29 -07:00
Alexander Surkov
a236c14b58 Bug 1113153 - use 'paragraph' role for paragraphs only, introduce 'text' role for small text containers, r=marcoz 2015-05-13 11:40:15 -04:00
Nicolas Silva
d73f54cb00 Bug 1155621 - Make nsIntRect and nsIntPoint typedefs of mozilla::gfx::IntRect and mozilla::gfx::IntPoint. r=Bas 2015-04-21 17:04:57 +02:00
Alexander Surkov
0c354e687a Bug 1140500 - add object attributes declaration into markup map, r=marcoz 2015-03-07 20:20:17 -05:00
Alexander Surkov
e606ac1cc2 Bug 1139900 - make tag name based roles faster, r=marcoz 2015-03-05 13:16:12 -05:00
Masayuki Nakano
94695871fb Bug 1105611 - HyperTextAccessible should set DOM range outside of pseudo elements r=surkov 2015-03-03 14:25:52 -05:00
Andrea Marchesini
fda421fd8c Bug 1134280 - Get rid of Tag() - patch 2.1 - /accessible - Fix all the occurrences, m=smaug, r=surkov 2015-03-03 11:08:59 +00:00
Andrea Marchesini
6b10d5e43e Bug 1134280 - Get rid of Tag() - patch 1 - Is{HTML,XUL,MathML,SVG}Element and IsAnyOf{HTML,XUL,MathML,SVG}Elements, r=smaug 2015-03-03 11:08:59 +00:00
Alexander Surkov
709188aedd Bug 1137714 - Make roleDescription nicer/correct/faster, r=marcoz 2015-02-28 17:25:06 -05:00
Ting-Yu Lin
0150330dad Bug 1136065 - Remove GetRangeCount() in Selection.h. r=ehsan
We replace GetRangeCount() with the identical function RangeCount() to
avoid any confusion.
2015-02-25 17:08:00 +01:00
Alexander Surkov
5d813edc4b Bug 1130793 - wrong class is used for ARIA grid cell contained by HTML tr@role='row', r=yzen 2015-02-13 20:09:51 -05:00
David Zbarsky
520ac2cad8 Bug 1125040: Use LayoutDeviceIntPoint for nsIWidget::WidgetToScreen r=botond 2015-02-04 15:21:03 -05:00
Ehsan Akhgari
a916924d05 Bug 989012 - Part 1: Stop after passing over a non-selectable frame if one is found during the frame traversal; r=roc
The caret movement code already handles unselectable text frames if we
happen to land in the middle of one in nsTextFrame::PeekOffsetCharacter/Word.
However, when performing frame traversal to find the next frame to jump
to, we don't remember if we skipped over an unselectable frame, which causes
us to jump one offset too much when the caret is on the boundary of
selectable and unselectable content.  The test cases demonstrate the
scenario.  Note that an <img alt=foo> is implemented by adding a
generated content to the inline frame representing it, so as far as
the caret movement code is concerned, both test cases are treated similarly.

Note that we need to do this only when moving the selection, and not
when extending it.  We are adding an aExtend argument to
nsPeekOffsetStruct's constructor in order to be able to special case
that.
2015-01-27 23:11:26 -05:00
Alexander Surkov
d4a6dec105 Bug 1095927 - expose HTML time element semantics in acc layer, r=tbsaunde 2014-12-11 21:53:12 -05:00
Jonathan Kew
6a5c361e8b Bug 1077515 - part 3 - Change desiredX (nscoord) to desiredPos (nsPoint) in nsPeekOffsetStruct, to support maintaining either vertical or horizontal position on inter-line moves. r=roc 2014-11-22 14:39:03 +00:00
Alexander Surkov
be19c27102 Bug 1076816 - segregate XPCOM tree, r=davidb 2014-10-21 20:49:28 -04:00
Georg Fritzsche
eb5c2aafa5 Bug 1067989 - Unify some more binary search uses. r=waldo 2014-09-17 15:46:24 +02:00
Trevor Saunders
21024b235f bug 1052513 - fix HyperTextAccessible::SelectionBoundsAt for selections extending outside the current hyper text r=surkov 2014-08-13 18:03:50 -04:00
Robert O'Callahan
d51bd7ae75 Bug 1048752. Part 24: Rename and deCOM Set/GetCaretVisible. r=tn 2014-08-06 17:19:29 +12:00
Robert O'Callahan
6fb18233c7 Bug 1048752. Part 16: Move nsFrameSelection::HINT to CaretAssociationHint.h. r=tn
This patch started an attempt to remove nsFrameSelection.h from nsCaret.h
and metastasized into a rather large refactoring patch that removed it
from some other header files as well, and changed nsFrameSelection::HINT
into a global-scope enum with better names. I also converted bools
into CaretAssociationHint in a few places where that was appropriate,
but there are still some more places (GetChildFrameContainingOffset)
where bools need to be converted. I figured this patch was big enough already.
2014-08-06 17:19:27 +12:00
Robert O'Callahan
5bf77116d0 Bug 1048752. Part 14: Split GetGeometry into a static and a non-static version. r=tn
GetGeometry is used in two different ways. Sometimes it's used to get
information about a particular caret. Sometimes it's used to get
information about a particular selection that's not associated with
a caret. Splitting GetGeometry into a non-static version for the former
and a static version for the latter makes this more clear. Also it saves
code since for the latter version we don't have to get an nsCaret first.
2014-08-06 17:19:26 +12:00
Trevor Saunders
80ce3bdc03 bug 1052000 - fix some handling of empty text leaves r=surkov 2014-08-12 16:25:40 -04:00
Ehsan Akhgari
17f80c37f2 Bug 1048246 - Fix more bad implicit constructors in layout; r=roc 2014-08-07 19:48:38 -04:00
Birunthan Mohanathas
e551bc9312 Bug 1028563 - Part 1: Flatten accessible/src/ directory. rs=surkov 2014-06-22 10:15:19 -07:00