Commit Graph

197 Commits

Author SHA1 Message Date
bzbarsky@mit.edu
b51a6bf60e Make frames know whether they're leaves or not from the frame construction
point of view; use this in the frame constructor.  Bug 265367, r+sr=dbaron
2005-08-16 22:52:48 +00:00
jst@mozilla.jstenback.com
f54c1fc9b1 Fixing bug 289940. Make chrome event handlers only receive trusted events by default. r=jonas@sicking.cc, sr=peterv@propagandism.org, a=chofmann@mozilla.org 2005-04-28 23:48:28 +00:00
bzbarsky@mit.edu
3a86cefc40 Make text control state restoration work right even in subframes loaded from a
different website.  Bug 287446, r+sr=jst, a=chofmann
2005-04-26 03:31:29 +00:00
roc+@cs.cmu.edu
4e9dc3d5dc Bug 289179. Fix regression by having nsTextControlFrame find its scrollable view again. r+sr+a=dbaron 2005-04-06 20:50:58 +00:00
bmlk@gmx.de
4fef1d22ac fix for build warnings (shadow & strange null pointer treatment) bug 287102 r/sr=dbaron 2005-03-24 18:41:39 +00:00
bryner@brianryner.com
6779bcb895 Fix autocomplete in message compose by making oninput start off enabled, and just disabling it within SetValue. Bug 282645, r= (and lots of ideas from) neil, sr=bzbarsky. 2005-03-02 01:19:19 +00:00
bryner@brianryner.com
6c4e710222 Don't dispatch oninput events when the value of an input is changed programatically. This prevents unwanted opening of the autocomplete popup when a username is prefilled. Bug 272002, r+sr=bzbarsky, a=caillon. 2005-02-15 23:14:42 +00:00
mats.palmgren@bredband.net
be157f0420 If text is scrolled out-of-view to the left and there is room for it to be visible then scroll it in to view. b=268352 r+sr=bzbarsky 2005-02-04 21:56:07 +00:00
dbaron@dbaron.org
b4cbbff716 Put the null-check *before* the crash it's supposed to prevent (which timeless saw, somehow). 2005-02-01 07:35:20 +00:00
bryner@brianryner.com
ac990d5d4b Remove nsIPresState (bug 279699). r+sr=roc. 2005-01-27 22:52:53 +00:00
cvshook@sicking.cc
0215f40fbf Bug 236476: Change GetHTMLAttribute to GetParsedAttr. Also fixes bug 232706 by removing final uses of nsHTMLValue.
r=bz sr=jst
2005-01-25 00:02:58 +00:00
mats.palmgren@bredband.net
142f178b8e Add NS_FRAME_INDEPENDENT_SELECTION to ListControlFrame (and children) and skip such frames (TextControlFrame also) in GetContentAndOffsetsFromPoint() when the point is only "near" (not inside) the frame. b=268497 r=bzbarsky sr=dbaron 2005-01-16 18:44:01 +00:00
bryner@brianryner.com
c4c10dcf35 Remove nsIHTMLContent interface (bug 276959). r+sr=jst. 2005-01-12 19:45:38 +00:00
neil@parkwaycc.co.uk
ab8be2367d Bug 276100 GetOriginToView has unused PresContext argument p=bugmail@q1n.org r+sr=dbaron 2005-01-01 17:26:29 +00:00
bugzilla@arlen.demon.co.uk
3238ab2753 Bug 270708 remove nsPresContext variable from AttributeChanged and cleaned up comment in nsIFrame.h
p=bugmail@q1n.org r=pkwarren sr=bzbarsky
2004-12-31 01:13:27 +00:00
bzbarsky@mit.edu
8d0f7456e4 Disable undo for password inputs to prevent replay attacks. Bug 271154,
r+sr=dbaron
2004-12-05 18:26:13 +00:00
neil@parkwaycc.co.uk
954ec4a8a9 Don't use QueryInterface to get a scrollable view from a view b=258521 r+sr=roc 2004-11-24 00:19:21 +00:00
timeless@mozdev.org
2349e1cddb Bug 106386 Correct misspellings in source code
patch by ajvincent@gmail.com r=dbradley rs=brendan
2004-11-10 07:27:11 +00:00
darin@meer.net
41edd4cd6e eliminating uses of deprecated nsComponentManager:: methods (bug 267040), r=bsmedberg 2004-11-01 18:50:36 +00:00
aaronleventhal@moonset.net
a46e51a5da Bug 261054. Make caret consistently the same width throughout Gecko/Mozilla. Configurable through ui.caretWidth. r=glazou, sr=rbs 2004-10-13 01:12:14 +00:00
dbaron@dbaron.org
7f0d70ddda Use |this| instead of getting the frame from the reflow state, since the frame from the reflow state is wrong when we're in a XUL textbox. b=263806 Patch from Hideo Saito <saito@densan.co.jp>. r=bernd sr=dbaron 2004-10-12 17:58:28 +00:00
smontagu@smontagu.org
fef16d74ce Bug 167001: Anything below the baseline goes out of input field. Patch by Hideo Saito <saito@densan.co.jp>, r+sr=dbaron 2004-10-10 18:30:28 +00:00
bzbarsky@mit.edu
7363adae1c Followup to bug 260922 -- don't crash on frame teardown if the thing that got a
text control frame is neither an input nor a textarea.  r+sr=jst
2004-10-02 16:14:56 +00:00
jst@mozilla.jstenback.com
235e0a445c Fixing bug 257523. Prevent Copy & Paste with generated DOM events. Patch by trev@gtchat.de, r=jst@mozilla.org, sr=dveditz@cruzio.com 2004-09-30 16:29:54 +00:00
bryner@brianryner.com
6f3a4ba4f4 Add support for native keybindings for input and textarea for gtk2. This allows us to respect the GTK keybinding preferences. Bug 257405, r=blizzard, sr=roc. 2004-09-07 21:21:48 +00:00
roc+@cs.cmu.edu
4b8c28dfbf Bug 254039. deCOMtaminate nsIScrollableFrame. r+sr=roc, patch by Will Levine 2004-09-06 02:44:43 +00:00
dbaron@dbaron.org
9921526bf4 Land bug 72747 in pieces: Implement overflow-x and overflow-y. b=72747 r+sr=roc 2004-09-05 00:04:04 +00:00
dbaron@dbaron.org
bfa6395a10 Back out text input changes from bug 72747. 2004-09-04 03:17:18 +00:00
dbaron@dbaron.org
4d376fe5af Land bug 72747 in pieces: use CSS instead of C++ to ensure single line text inputs don't have scrollbars. b=72747 r+sr=roc 2004-09-03 23:22:15 +00:00
bryner@brianryner.com
ec6f36a174 Remove unneeded nsIFocusTracker interface, changing all users to nsIPresShell (bug 257596, r+sr=roc). 2004-09-01 05:16:00 +00:00
dbaron@dbaron.org
2cdc552cce Back out the rest of bug 72747 due to Tp regression. 2004-08-27 01:26:55 +00:00
dbaron@dbaron.org
0ee0dd0b76 Backout the CSS parts of bug 72747 to see if that fixes the Tp regression. 2004-08-26 22:35:38 +00:00
dbaron@dbaron.org
f2ad5967af Implement 'overflow-x' and 'overflow-y' CSS properties, long implemented by IE for Windows and proposed for CSS3. Implement scrolling='yes' and equivalents on frame and iframe. Various pieces of related cleanup (see comment 22 in bug). b=72747 r+sr=roc 2004-08-26 17:11:20 +00:00
bryner@brianryner.com
242c51275c Remove refcounting version of nsIPresShell::GetPresContext. Bug 253889, r+sr=roc. 2004-08-20 20:34:37 +00:00
dbaron@dbaron.org
68dfa325da Fix names of constants to correspond to the new definitions of the values of the 'overflow' property. b=69355 r+sr=roc 2004-08-10 01:32:10 +00:00
mats.palmgren@bredband.net
c2028ec17e Add width for letter-spacing when calculating desired width of text input controls. b=252783 r=bzbarsky sr=dbaron 2004-08-07 22:04:27 +00:00
bryner@brianryner.com
8fc0179c66 Remove non-inlined version of nsIPresShell::GetDocument(). Bug 253889, r+sr=roc. 2004-08-02 04:52:55 +00:00
bryner@brianryner.com
6cde4639f0 Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc 2004-07-31 23:15:21 +00:00
rbs@maths.uq.edu.au
6026676857 Cleanup font usage in form input controls, b=251637, r=jshin, sr=bzbarsky 2004-07-21 01:05:44 +00:00
roc+@cs.cmu.edu
360603efcb Bug 53966. Don't just capture to the nearest view when selecting with mouse; only capture to the nearest scrolling view. r+sr=dbaron 2004-07-20 00:02:43 +00:00
peterv@propagandism.org
bd238fac2c Fix for bug 236408 (deCOMtaminate nsINodeInfoManager). r=caillon, sr=jst. 2004-06-25 12:26:02 +00:00
bryner@brianryner.com
c373ca01b4 deCOMtaminate nsBoxLayoutState. Bug 247766, r+sr=roc. 2004-06-22 02:55:04 +00:00
bryner@brianryner.com
702740f30e oops, this wasn't supposed to go on the trunk. backing out. 2004-06-21 23:41:30 +00:00
bryner@brianryner.com
35bc7e588f bringing branch changes forward 2004-06-21 23:35:56 +00:00
bryner@brianryner.com
678697e9db Make XUL box debug code be #ifdef DEBUG_LAYOUT. r+sr=roc, bug 103844. 2004-06-19 09:07:47 +00:00
bzbarsky@mit.edu
e1249591e8 Instead of setting inline style for every text input's anonymous div, have a
rule in forms.css to set the style.  Bug 243588, r+sr=dbaron
2004-05-15 05:09:37 +00:00
rbs@maths.uq.edu.au
5c219e7afa Fix the inconsistent behavior of the caret on text controls when their readonly attribute is changed, b=235294, r+sr=bzbarsky 2004-05-05 22:48:51 +00:00
bzbarsky@mit.edu
6e3549d865 Don't clear undo/redo buffers when JS changes the value. Bug 158071, patch by
Martijn Wargers <m.wargers@hccnet.nl>, r=bryner, sr=dbaron
2004-05-02 22:14:49 +00:00
gerv@gerv.net
a1ec040a65 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:30:37 +00:00
rbs@maths.uq.edu.au
39925ec57d Add the much requested support for find in <textarea> and text <input> elements. Also fix a long-standing problem with the mutually-exclusion: selecting something in a text field doesn't clear an earlier selection outside. b=58305, r=akkana, sr=jst 2004-04-15 19:45:46 +00:00