Commit Graph

411 Commits

Author SHA1 Message Date
Ehsan Akhgari
9cba2eb718 Bug 221820 - Part 5: Make lazy editor initialization compatible with placeholder values; r=bzbarsky 2010-04-06 16:43:39 -04:00
Ehsan Akhgari
d3c51562c0 Bug 221820 - Part 4: Fix the newline handling for text fields without an editor; r=bzbarsky 2010-02-22 16:15:56 -08:00
Ehsan Akhgari
f4e1bf4dd1 Bug 221820 - Part 3: Debug-only assertion for reentrancy detection; r=bzbarsky 2010-02-09 20:29:11 -05:00
Ehsan Akhgari
6521460f37 Bug 221820 - Part 2: Make the editor initialization lazy (initialize only when needed); r=bzbarsky 2010-02-02 10:49:55 -05:00
Ehsan Akhgari
d08ea00350 Bug 221820 - Part 1: Call EnsureEditorInitialized from all places where editor needs to exist; r=bzbarsky 2010-02-01 23:00:12 -05:00
Ehsan Akhgari
9060f64f25 Bug 542919 - Maintain the exact same behavior in editor initialization (don't try to set the editor value if the default value is empty) in an attempt to fix the crash of bug 557689 2010-04-11 16:00:36 -04:00
Ehsan Akhgari
5688632161 Bug 542919 - Refactor the plain text editor initialization to facilitate lazy initialization; r=bzbarsky sr=roc 2010-02-01 23:00:06 -05:00
Ehsan Akhgari
393f0654a5 Back out the editor lazy inititialization patches (bug 221820) to try to solve the orange in bug 557689 2010-04-06 21:08:58 -04:00
Ehsan Akhgari
c9e7f6c9fd 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
Ehsan Akhgari
792a8a6f41 Bug 221820 - Part 5: Make lazy editor initialization compatible with placeholder values; r=bzbarsky 2010-04-06 16:43:39 -04:00
Ehsan Akhgari
9806538b20 Bug 221820 - Part 4: Fix the newline handling for text fields without an editor; r=bzbarsky 2010-02-22 16:15:56 -08:00
Ehsan Akhgari
ed929e9be6 Bug 221820 - Part 3: Debug-only assertion for reentrancy detection; r=bzbarsky 2010-02-09 20:29:11 -05:00
Ehsan Akhgari
a376b4f930 Bug 221820 - Part 2: Make the editor initialization lazy (initialize only when needed); r=bzbarsky 2010-02-02 10:49:55 -05:00
Ehsan Akhgari
7c44c1adb9 Bug 221820 - Part 1: Call EnsureEditorInitialized from all places where editor needs to exist; r=bzbarsky 2010-02-01 23:00:12 -05:00
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