Ehsan Akhgari
9daca454a5
Bug 542919 - Refactor the plain text editor initialization to facilitate lazy initialization; r=bzbarsky sr=roc
2010-02-01 23:00:06 -05:00
Craig Topper
d8677ead2d
Bug 253889: DeCOMtaminate nsIPresShell - GetCaret(). r=roc
2010-03-31 08:39:31 -04:00
Kyle Huey
597c98dfbe
Backed out changeset 4b8936ac4a31
2010-03-30 19:56:44 -04:00
Craig Topper
4976501bfc
Bug 253889: More deCOMtamination of nsIPresShell. r=roc
2010-03-28 19:21:11 -04:00
Neil Deakin
7cace106a5
Bug 543563, fix build error due to conflict with bug 544472
2010-03-18 16:45:29 -04:00
Neil Deakin
1597fd50ff
Bug 543563, textarea in xul textbox doesn't take into account any assigned widths/heights, r=dbaron
2010-03-18 15:58:12 -04:00
Ehsan Akhgari
15d70f00ea
Bug 353539 - textarea.focus() puts caret at end without scrolling it into view; r=roc
2010-03-18 12:14:40 -04:00
Ehsan Akhgari
0b77e5262d
Bug 231389 - Textarea scrolls to top after changing its .value, regardless of cursor position; r=roc
2010-03-18 12:14:08 -04:00
Mounir Lamouri
d33d564829
Bug 549208 - Dragging a text in an input/textarea element doesn't make the placeholder disappear; r=bzbarsky
2010-03-01 10:35:40 -08:00
Mounir Lamouri
607dab4235
Bug 457800 - Implement placeholder attribute for text input fields; r=ehsan,bzbarsky,bolter sr=roc ui-r=faaborg
2010-02-26 10:47:38 -08:00
Alexander Surkov
3cc553ad9d
Bug 534527 - Accessibility needs new DOM API part 2, r=smaug, sr=bz
2010-02-20 16:52:50 -08:00
Ehsan Akhgari
ad26f817c1
Backed out changeset e6cf06cfcef9
2010-02-18 19:03:28 -05:00
Ehsan Akhgari
1e3823b178
Bug 542919 - Refactor the plain text editor initialization to facilitate lazy initialization; r=bzbarsky sr=roc
2010-02-01 23:00:06 -05:00
Alexander Surkov
a2194f474e
Bug 534527 - Accessibility needs new DOM API, r=olli.pettay, sr=roc
2010-02-12 01:34:01 +08:00
Olli Pettay
9eac4b838a
Bug 518122, improve textarea.value+= performance, r=bz
2010-02-07 21:44:32 +02:00
Robert O'Callahan
bf6153988a
Bug 526394. Part 18: Remove nsIScrollableViewProvider and its implementations, now that we've removed all its users. r=mats
2009-09-09 17:40:01 +12:00
Robert O'Callahan
711aa746b3
Bug 526394. Part 17: Convert some selection-related code in nsTextControlFrame and nsSelection. r=mats
2009-09-03 17:23:47 +12:00
Robert O'Callahan
0ad5ed6dca
Bug 526394. Part 2: Remove pointless code in nsTextControlFrame, nsGfxScrollFrame handles this already. r=mats
2009-07-29 22:07:04 +12:00
fantasai
f76a01be55
Bug 508473 part III: Pass destruction root to frame destruction methods r=bz sr=roc
2009-12-24 00:21:15 -05:00
fantasai
8c5e3209ba
Bug 508473 Part I: Remove nsIFrame::RemovedAsPrimary r=bz sr=roc
2009-12-24 00:20:20 -05:00
Brad Lassey
1237d35630
bug 530367 - passwords from password manager flash in clear text r=neil
2009-11-25 12:41:23 -05:00
Mats Palmgren
2f5222ff3e
Bug 522787. Always register an editor observer. r=smaug
2009-11-19 12:38:11 +13:00
Boris Zbarsky
f2460c2875
Bug 259636. Don't do sync reflow when setting .value on text inputs. r=roc, sr=dbaron
2009-11-11 18:28:16 -05:00
Robert O'Callahan
15f39cc9fd
Bug 514660. Use classes instead of an explicit 'style' attribute to style the anonymous DIV of a text control, so that the styles are treated as user-agent styles and not removed when author styling is disabled. r=bzbarsky
2009-09-23 23:02:27 +12:00
David Zbarsky
aadd6cf119
Bug 488249. Replace IsNodeOfType(eHTML) checks with namespace checks. r+sr=jst
2009-08-24 16:02:07 -04:00
Mats Palmgren
f82eedba5a
Replace PR_MIN/PR_MAX with NS_MIN/NS_MAX. b=512106 r=roc
2009-09-16 17:01:36 +02:00
Zack Weinberg
b6fe8205dd
Bug 497495 part 3: Add methods to every nsFrame subclass that expose the as-allocated identity of every frame object. Also some cleanups to the QueryFrame implementation. r=dbaron sr=roc
2009-09-12 17:49:24 +01:00
Boris Zbarsky
c95cebf89b
Backed out changeset 4aa19414e651 (bug 488249) to fix test orange.
2009-08-24 20:51:57 -04:00
David Zbarsky
630c8fc41e
Bug 488249. Replace IsNodeOfType(eHTML) checks with namespace checks. r+sr=jst
2009-08-24 16:02:07 -04:00
Hashem Masoud
ae914487ea
Bug 489502 - Replace NS_ASSERTION(0, ...) by NS_ERROR(...) in mozilla-central; r=benjamin
2009-08-14 16:09:00 +02:00
Boris Zbarsky
a8b4b2dc7e
Bug 504221 part 12. Switch SetInitialChildList to nsFrameList. r=fantasai, r+sr=roc
2009-07-28 08:53:20 -04:00
Robert O'Callahan
d9e889541d
Bug 495385. Text inputs should set the white-space style of the anonymous inner div when that div is created, not later when it will trigger a restyle. r+sr=bzbarsky
2009-06-13 21:16:27 +12:00
Neil Deakin
f62906b6b1
Bug 178324, refactor focus by moving all focus handling into one place and simplifying it, add many tests, fixes many other bugs too numerous to mention in this small checkin comment, r=josh,smichaud,ere,dbaron,marco,neil,gavin,smaug,sr=smaug (CLOSED TREE)
2009-06-10 14:00:39 -04:00
Boris Zbarsky
c4a29e7291
Bug 492387. Flush out content notifications before initing our editor. r+sr=jst
2009-05-19 10:49:57 -04:00
Karl Tomlinson
ba3c1f0135
b=481751 block-height line-height for text input and strut baseline for textarea r=bz,sr=dbaron
2009-05-19 10:13:12 +12:00
Boris Zbarsky
5394863026
Bug 478219. Put a script blocker around delayed editor init. r+sr=sicking
2009-03-16 07:50:04 -04:00
Dão Gottwald
1ccf782bc1
Backed out changeset 12e163f4f272
2009-03-16 15:00:57 +01:00
Boris Zbarsky
ad0669b8c1
Bug 478219. Put a script blocker around delayed editor init. r+sr=sicking
2009-03-16 07:50:04 -04:00
Boris Zbarsky
66350fb221
Bug 477700. Push a null JSContext around editor init, so it'll work no matter what JS is on the stack. r+sr=smaug
2009-02-16 09:11:41 -05:00
Boris Zbarsky
0676a1312a
Bug 335615. Don't do editor init inside frame construction. r=mats, sr=roc
2009-01-29 14:46:17 -05:00
Benjamin Smedberg
0f95227641
Bug 396185 - Make nsIFrame derivatives and helper abstract classes use a different dynamic-cast system than nsISupports:
...
* we know all types frames may be cast to at compile time, so instead of extensible GUID IIDs, use a big enum (see nsQueryFrame::FrameIID)
* eliminate all vestiges of refcounting, since frames aren't refcounted
Some frames (SVG frames in particular) still implement nsISupports-derived interfaces, for example nsISVGValue. There is a FrameIID for nsISVGValue that lets you go from a frame to the XPCOM interface, but you can't query back.
r+sr=roc
nsITextControlFrame didn't have an IID the first time around, but this wasn't a compile error because nsITextControlFrame::kFrameIID inherited from nsIFormControlFrame::kFrameIID. I've added a static analysis pass to verify the correct behavior, since I can't figure out a way to make the compiler do it.
2009-01-12 14:20:59 -05:00
Benjamin Smedberg
7a084ac404
Backed out changeset 4c4df6ed1b41 - Bug 396185 - Make nsIFrame not inherit from nsISupports due to mochitest failures... these appear to be crashes in nsGenericHTMLElement::GetEditorInternal.
2009-01-09 11:35:24 -05:00
Benjamin Smedberg
991a16d8bc
Bug 396185 - Make nsIFrame derivatives and helper abstract classes use a different dynamic-cast system than nsISupports:
...
* we know all types frames may be cast to at compile time, so instead of extensible GUID IIDs, use a big enum (see nsQueryFrame::FrameIID)
* eliminate all vestiges of refcounting, since frames aren't refcounted
Some frames (SVG frames in particular) still implement nsISupports-derived interfaces, for example nsISVGValue. There is a FrameIID for nsISVGValue that lets you go from a frame to the XPCOM interface, but you can't query back.
r+sr=roc
This patch locally causes two REFTEST-UNEXPECTED-PASS for Bidi stuff. It's possible that I accidentally fixed a bug, but I'm not sure, so I'm going to wait for the tinderboxes to confirm my local results.
2008-11-05 14:25:30 -05:00
Robert O'Callahan
e0b25b33e5
Bug 459613. When we tear down a textcontrol frame, tell its editor that we're blowing away the frame tree so it doesn't try to clear the spellcheck selection, which not only wastes time but does GetPrimaryFrame for during frame destruction which is a no-no. r+sr=mats
2008-12-12 21:34:43 +13:00
Markus Stange
615b3a4ee1
Bug 462793 - Changing listbox selection with keyboard no longer scrolls to make the newly selected item visible, r+sr=roc
2008-11-04 15:38:16 +01:00
Benjamin Smedberg
6690b4d11b
Bug 461186 - nsTextControlFrame should not implement nsIPhonetic: there's only one caller, and that caller can use nsITextControlFrame directly. This is one less frame that implements an nsISupports-derived interface. r+sr=roc
2008-10-27 20:27:55 -04:00
Theppitak Karoonboonyanan
1703d4c904
Bug 157546. The 'delete' key should delete an entire cluster. r=peterv,r+sr=roc
2008-10-16 20:44:32 +13:00
Mats Palmgren
817a2167be
Ignore the keypress event if DOMEventToNativeKeyEvent() fails. b=456273 r=Olli.Pettay sr=jonas
2008-10-15 12:50:42 +02:00
Taras Glek
f090606a7d
bug 455536: s/NS_ERROR_FAILURE/NS_ERROR_OOM/ outparamdelled nsNodeInfoManager::GetNodeInfo r+sr=jsr
2008-09-25 15:46:52 -07:00
Arpad Borsos
40a654b059
Bug 454766 - Add suggested parentheses to layout/; r+sr=roc; (with nits by sgautherie)
2008-09-15 17:40:25 +02:00