Zack Weinberg
2da91ac5cb
Bug 174055, part 4: mechanical fixups outside gfx.
2011-04-07 18:05:49 -07:00
Zack Weinberg
e93c385aef
Bug 174055, part 1: minimize inclusion of nsI(Thebes)FontMetrics.h.
2011-04-07 18:04:41 -07:00
Zack Weinberg
3e3bff664d
Bug 266236 part 9: Move nsBoundingMetrics to its own header and prune inclusions of nsRenderingContext.h.
2011-04-07 18:04:40 -07:00
Jan Küchler
8774547613
Bug 266236 part 3: Mechanical rename of nsIRenderingContext and nsThebesRenderingContext to nsRenderingContext. Mechanical substitution of nsRefPtr<nsRenderingContext> for nsCOMPtr<nsRenderingContext>.
2011-04-07 18:04:40 -07:00
Josh Aas
a9d37051ec
Bug 556873: Fix bugs in our secure input implementation for Mac OS X. More reliably enable and disable secure input mode. r=masayuki a=jst
2011-02-09 14:00:58 -05:00
Ehsan Akhgari
0a0a128e12
Bug 629878 - Followup to fix build bustage; a=bustage
2011-02-09 14:34:56 -05:00
Ehsan Akhgari
9f1f9d1138
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
Ehsan Akhgari
7aed54214a
Bug 629878 - Part 1: Save the scroll state for text controls the standard way; r=roc a=blocking-final+
2011-02-04 18:28:38 -05:00
Mounir Lamouri
3fa7e6c85e
Bug 595310 - Drag and drop of text into an input field does not remove placeholder. r=ehsan,roc a=jst
2011-01-28 02:19:04 +01:00
Alexander Surkov
5d41370232
Bug 628922 - layout should use cached nsIAccessibilityService, r=davidb, sr=roc, a=roc
2011-01-28 12:38:14 +08:00
Mats Palmgren
2534905a03
Bug 626014 - Deal with the frame being destroyed as a result of the flush in AddRange. r=ehsan a=blocking2.0:final
2011-01-18 18:40:38 +01:00
Ehsan Akhgari
982ba5c5a6
Bug 620936 followup - Switch to NS_MIN; r=joe a=DONTBUILD
2011-01-11 12:10:47 -05:00
Ehsan Akhgari
7ed368f162
Bug 620936 - setSelectionRange should not fail with offsets larger than the value of the editable field; r=roc a=blocking-betaN+
2011-01-05 20:55:31 -05:00
Ehsan Akhgari
37ef164f9c
Bug 527935 - Fire the input event for text controls with the correct trusted-ness status; r=roc a=blocking-final+
2010-12-07 01:30:05 -05:00
Mounir Lamouri
419b542789
Bug 615833 - Change event should not be cancelable. r=smaug a=sicking
2010-12-17 09:45:46 -08:00
Ehsan Akhgari
3258244310
Bug 612271 - Cursor jumps back to the end of the previous line after pressing enter at the end of a textarea managed by the jQuery autoResize plugin; r=roc a=blocking-betaN+
2010-12-07 01:30:05 -05:00
Ehsan Akhgari
c3c60ad42f
Bug 611189 - Parchment IF Reader Misbehaves; r=bzbarsky a=blocking-final+
...
This patch makes sure that we don't try to read the value from the editor if we haven't started to initialize the editor yet.
This ensures that the UpdateValueDisplay calls before we start to initialize the editor will always end up reading the value from the content node, and do not rely on the data returned by the editor, which might be stale.
2010-11-22 03:12:56 -05:00
Ehsan Akhgari
1af88ce310
Bug 605138 - Scripts from topix.net apparently causing page to scroll down when opening; r=roc a=blocking-final+
2010-10-21 16:56:20 -04:00
Ehsan Akhgari
4d74782046
Bug 595337 - Crash [@ nsTextEditorState::InitializeKeyboardEventListeners] on print preview close with iframe, position:fixed and input; r=roc a=blocking-final+
2010-09-24 15:09:25 -04:00
Mounir Lamouri
63791ff31c
Bug 553097 - Do not create a frame and DOM node for placeholder if not needed. r=ehsan,roc a=blocking
2010-10-19 15:11:07 +02:00
Alexander Surkov
94787926a7
Bug 604386 - Prune placeholder from text children, r=davidb, sr=bz, a=blocking
2010-10-16 00:34:35 +09:00
Ehsan Akhgari
2f0543d19f
Bug 572649 - Attempting to scroll a textarea with a horizontal scrollbar using the mouse jumps to its bottom right (focusing a textarea with the mouse scrolls the selection into view); r=roc a=blocking-betaN+
2010-09-20 19:30:07 -04:00
Siddharth Agarwal
38e11dc427
Back out bug 588712 and bug 595337 due to leaks and test failures. a=orange
2010-09-14 23:04:50 +05:30
Ehsan Akhgari
ffd726a343
Bug 595337 - Crash [@ nsTextEditorState::InitializeKeyboardEventListeners] on print preview close with iframe, position:fixed and input r,a=roc
2010-09-13 16:36:43 -04:00
Ehsan Akhgari
4a8f7efaf1
Bug 240933 - Part 9: Simplify text control frame's DOM point to offset conversion code; r=roc a=dbaron
2010-07-20 08:47:28 -04:00
Ehsan Akhgari
0aac46c65b
Back out bug 240933 and bug 590554 because of reftest failure on Win7 and also bug 593211
2010-09-02 19:54:23 -04:00
Ehsan Akhgari
ef1dd2e64c
Bug 240933 - Part 9: Simplify text control frame's DOM point to offset conversion code; r=roc a=dbaron
2010-07-20 08:47:28 -04:00
Ehsan Akhgari
1af7993e01
Bug 590302 - Crash [@ nsTextControlFrame::CalcIntrinsicSize] on print preview with textarea, position:fixed; r=roc a=blocking2.0:final+
2010-08-25 01:44:18 -04:00
Mounir Lamouri
e6fc50a848
Bug 568441 - Explicitely show the caret in nsTextControlFrame when the content is no longer disabled and focused. r=roc a2.0=blocking+
2010-08-15 11:19:34 -04:00
David Zbarsky
b6bc0d6ec8
Remove unneeded nsIDOMNSHTMLInputElement interface by merging it into nsIDOMHTMLInputElement. (Bug 582303) r=jst
2010-08-04 22:40:18 -04:00
Ehsan Akhgari
c8e0d8a0bf
Bug 578604 - Crash [@ nsTextControlFrame::SetInitialChildList(nsIAtom*, nsFrameList&) ] when print preview; r=roc a=blocking2.0+
2010-08-04 22:13:57 -04:00
Ehsan Akhgari
a258f73433
Bug 569397 - Eagerly initialize the input controls with spellcheck="true"; r=roc ui-r=faaborg approval2.0=benjamin
2010-06-02 22:39:29 -04:00
Mounir Lamouri
c317c7ae13
Bug 549475: Implement HTML5-specified value sanitization algorithm for HTMLInputElement. r=sicking,ehsan,bsmedberg sr=jst
2010-07-21 02:11:19 +02:00
Timothy Nikkel
69e644de71
Bug 563878. Part 5. Rename nsIFrame::GetWindow(Offset) to GetNearestWidget. r=mats
2010-07-02 14:11:04 -05:00
Ehsan Akhgari
6ee345fc4c
Bug 574898 - "ASSERTION: called nsGenericElement::SetText" with spellcheck; r=roc
2010-06-28 14:04:37 -04:00
Alexander Surkov
0a6b10381a
Bug 573706 - make frame based accessible creation more pellucid, r=davidb, sr=roc
2010-06-28 21:02:03 +09:00
Ehsan Akhgari
92016165bb
Bug 570624 - "ASSERTION: called nsGenericElement::SetText"; r=roc
2010-06-09 14:14:42 -04:00
Ehsan Akhgari
7fdc7ede6a
Bug 534785 - Move the ownership of editor and selection controller from the text frame to the content node; r=roc,jst sr=roc
...
(transplanted from 2437636244f39bbdc7d20b062e2c978b9d85c239)
2010-04-21 16:17:41 -04:00
Ehsan Akhgari
67d9e6fda5
Bug 336104 - "ASSERTION: no frame, see bug #188946 "; r=roc,dbaron
2010-05-21 16:36:42 -04:00
Ehsan Akhgari
506349bb1f
Bug 560647 - add startup timeline instrumentation; r=vlad
2010-05-19 19:22:19 -04:00
Mounir Lamouri
fa4a7ab134
Bug 557620 - Implement <input type="tel">. r=smaug,dolske,dao sr=sicking
2010-05-12 09:17:07 +02:00
Ehsan Akhgari
dfa455a0fb
Bug 564115 - activating the browser window scrolls the document (to show the focused text control); r=roc
2010-05-06 19:19:35 -04:00
Ehsan Akhgari
e2d19d2aeb
Bug 562447 - when navigating in gmail sometimes get a screen full of white; r=roc
2010-05-06 18:12:21 -04:00
Boris Zbarsky
ed0977bfc5
Bug 564574. Pass the first appended node to ContentAppended. r=jst, sr=sicking
2010-05-10 21:12:34 -04:00
Jonas Sicking
fb38b1cb38
Bug 429175: Make sure to only set aNotify to true when we should. r=peterv
2010-05-03 06:23:36 -07:00
Ehsan Akhgari
80fa0a9778
Bug 559710 - Don't add a br node under text controls when the editor is not initialized for them yet; r=roc,davidb a=1hr
2010-04-15 21:25:40 -04:00
Daniel Holbert
133b0c5091
Bug 560271: Reorder nsTextControlFrame constructor init list to fix build warning. r=ehsan
2010-04-19 12:00:45 -07:00
Ehsan Akhgari
7172e19f6e
Bug 558954 - Don't show/hide placeholder if we're about to initialize the editor; r=roc
2010-04-12 20:32:29 -04:00
Ehsan Akhgari
75e9a67cfc
Bug 557689 - Mochitest-3 (debug) crash after running test_bug366682.html or test_selection_move_commands.xul as a result of bug 542919 [@ nsCOMPtr<nsIMutationObserver>::assign_with_AddRef] (underlying issue will be fixed in bug 534785); r=jrmuizel
2010-04-12 02:13:17 -04:00
Ehsan Akhgari
be9f048a13
Bug 221820 - Part 7: Wrap the calls to nsTextControlFrame::EnsureEditorInitialized in a weak frame check; r=roc
2010-04-06 16:44:46 -04:00