gecko-dev/accessible
Ehsan Akhgari 4d42b88e0b 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
..
atk bug 1122242 - use MOZ_OVERRIDE more in accessible/ r=surkov 2015-01-19 17:41:12 -05:00
base bug 1124285 - setup proxies on windows r=davidb 2015-01-26 15:27:01 -05:00
generic Bug 989012 - Part 1: Stop after passing over a non-selectable frame if one is found during the frame traversal; r=roc 2015-01-27 23:11:26 -05:00
html Bug 1117037 - Mark virtual overridden functions as MOZ_OVERRIDE in accessible/; r=tbsaunde 2015-01-02 18:47:38 -05:00
interfaces Bug 1077148 part 4 - Add and use new moz.build templates for Gecko programs and libraries. r=gps 2014-10-30 13:06:12 +09:00
ipc Bug 1110510 followup: fix typo in assertion message. (no review) 2015-01-26 14:48:07 -08:00
jsat Bug 1124982 - [AccessFu] Use correct symbols for keycodes in ContentControl.adjustRange(). r=yzen 2015-01-24 17:33:45 -08:00
mac bug 1119923 - allow proxies to implement non standard interfaces r=davidb 2015-01-14 15:38:25 -05:00
other bug 1119923 - allow proxies to implement non standard interfaces r=davidb 2015-01-14 15:38:25 -05:00
tests Bug 1123163 - Hit testing broken on Google Search results page, r=yzen 2015-01-26 13:30:17 -05:00
windows Bug 1124029 - Fix printf type warning on AccessibleWrap. r=davidb 2015-01-27 08:37:38 +11:00
xpcom bug 1122242 - use MOZ_OVERRIDE more in accessible/ r=surkov 2015-01-19 17:41:12 -05:00
xul bug 1122242 - use MOZ_OVERRIDE more in accessible/ r=surkov 2015-01-19 17:41:12 -05:00
moz.build Backed out changeset 52fd69cc794c (bug 982842) for causing regressions on request by zac 2014-10-15 16:23:39 +02:00