gecko/layout
Ehsan Akhgari deae53f1e4 Bug 629878 - Part 2: Do not scroll the selection into view when restoring the selection offsets for a text control after a reframe; r=roc a=blocking-final+
Previously, we used to scroll the text control's selection into view after a
reframe.  This had two problems: it was not precise (in case the selection was
modified by the mouse, for example), and it lead to problems such as bug 629878
if the control's frame was reconstructed because of the control being moved
inside the DOM.

This patch disables that behavior by wrapping the selection scroll function
into nsITextControlFrame::ScrollSelectionIntoView, so that APIs such as
setSelectionRange on the text control's content node can still call it
explicitly (since they actually need this behavior), but other callers of
nsITextControlFrame::SetSelectionRange (such as the nsTextEditorState
object's selection offset restoring mechanism) don't get this behavior as
an undesired side-effect.
2011-02-04 19:29:29 -05:00
..
analysis
base Backout bug 626602, follow-ups and conflicting bug 631388 due to Win Tp4 permaorange causing a=CLOSED TREE 2011-02-09 15:48:12 +01:00
build Bug 631412 - Bug 629401 breaks non-libxul builds due to unresolved reference to nsContentUtils::DispatchTrustedEvent(nsIDocument*, nsISupports*, nsAString_internal const&, int, int, int*); r=khuey a=NPOTB 2011-02-04 12:00:21 -05:00
doc
forms Bug 629878 - Part 2: Do not scroll the selection into view when restoring the selection offsets for a text control after a reframe; r=roc a=blocking-final+ 2011-02-04 19:29:29 -05:00
generic Backout bug 626602, follow-ups and conflicting bug 631388 due to Win Tp4 permaorange causing a=CLOSED TREE 2011-02-09 15:48:12 +01:00
html/tests
inspector Bug 601352 - Console does not scroll expression result into view, r+a=roc 2010-10-28 13:01:37 -03:00
ipc Fix test-ipcbrowser bug, as part of bug 593310 why not. a=b 2011-01-26 00:26:37 -06:00
mathml Bug 602757. Part 5: Change HasText to GetComponentAlphaBounds. r=tnikkel,sr=dbaron,a=blocking 2011-01-03 14:48:09 +13:00
printing Bug 620158 - Crash while printing, r=mats, a=blocking 2011-01-14 14:27:31 +02:00
reftests Test for bug 623636. a=test-only 2011-02-09 02:32:34 -06:00
style Bug 631352. Changes to @lang need to restyle all descendants. r=dbaron, a=blocker 2011-02-08 16:30:57 -05:00
svg Fixing bug 604262. Fix crash in nsImageLoadingContent::OnStartDecode(). r=jonas@sicking.cc, a=blocker 2011-01-31 20:50:01 -08:00
tables Bug 628922 - layout should use cached nsIAccessibilityService, r=davidb, sr=roc, a=roc 2011-01-28 12:38:14 +08:00
tools Bug 632636: Initialize cond when we have needs-focus. r=cjones a=bustage 2011-02-08 18:09:00 -06:00
xul Bug 597723. Mouse scrolling shouldn't dismiss panel notifications. r=enndeakin a=blocking-final 2011-01-19 19:21:38 -08:00
Makefile.in