1188 Commits

Author SHA1 Message Date
aaronleventhal%moonset.net
59b589b964 Bug 250269. Outlines not getting painted on buttons, radios, checkboxes, tables and table cells. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@165254 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-11 15:07:22 +00:00
timeless%mozdev.org
d046585f1b Bug 106386 Correct misspellings in source code
patch by ajvincent@gmail.com r=dbradley rs=brendan


git-svn-id: svn://10.0.0.236/trunk@165193 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-10 07:27:11 +00:00
darin%meer.net
3d52b0860b fixes bug 219400 "remove callers of nsServiceManager:: methods" r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@165089 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-07 23:59:35 +00:00
bzbarsky%mit.edu
f53f98f7f3 Create an api for easily converting between the coordinate systems of two
frames or two views.  Use this to fix the auto-positioning of abs pos boxes to
work no matter how their containing block and the block their placeholder lives
in are related, and convert various other callers to the new API.  Bug 266968,
r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@164857 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-03 16:16:57 +00:00
darin%meer.net
ed9e4d3d7a eliminating uses of deprecated nsComponentManager:: methods (bug 267040), r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@164735 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-01 18:50:36 +00:00
bzbarsky%mit.edu
4ece7e1998 Make the frame constructor state and save state automatically handle inserting
out of flows in the right place in the fixed/absolute/float containing blocks
so that it can't be screwed up by callers.  Bug 264914, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@164677 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-30 21:43:49 +00:00
bmlk%gmx.de
095f826d1b prevent lookup of frame state bits of nonexisting child frames bug 266225 r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@164505 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-27 16:11:08 +00:00
bzbarsky%mit.edu
31ff66e9c2 Always give <isindex> a space manager. Bug 265371, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@164483 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-27 01:36:35 +00:00
cbiesinger%web.de
ccb71c4e41 whoops. fixing bustage.
git-svn-id: svn://10.0.0.236/trunk@163756 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-14 19:05:31 +00:00
cbiesinger%web.de
c2fcef4d70 no bug - remove unused header includes, and remove an unused local variable.
r+sr=bz


git-svn-id: svn://10.0.0.236/trunk@163753 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-14 18:48:42 +00:00
bmlk%gmx.de
f7851ae5f6 decouple the maxWidth form the desiredSize.width, debug code removal, bug 237159 r/sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@163748 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-14 17:37:54 +00:00
aaronleventhal%moonset.net
2ed5e7dde3 Bug 261054. Make caret consistently the same width throughout Gecko/Mozilla. Configurable through ui.caretWidth. r=glazou, sr=rbs
git-svn-id: svn://10.0.0.236/trunk@163639 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-13 01:12:14 +00:00
dbaron%dbaron.org
900fefc4a5 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
git-svn-id: svn://10.0.0.236/trunk@163606 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-12 17:58:28 +00:00
smontagu%smontagu.org
6649ff6b3d Bug 167001: Anything below the baseline goes out of input field. Patch by Hideo Saito <saito@densan.co.jp>, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@163502 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-10 18:30:28 +00:00
bzbarsky%mit.edu
cf92574533 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


git-svn-id: svn://10.0.0.236/trunk@163139 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-02 16:14:56 +00:00
bzbarsky%mit.edu
87eb567493 Don't crash if someone pretends to be a form control (via XBL) without implementing
nsIFormControl.  Bug 260922, r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@163033 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-30 19:15:59 +00:00
jst%mozilla.jstenback.com
a3cb07e21e Fixing bug 257523. Prevent Copy & Paste with generated DOM events. Patch by trev@gtchat.de, r=jst@mozilla.org, sr=dveditz@cruzio.com
git-svn-id: svn://10.0.0.236/trunk@163023 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-30 16:29:54 +00:00
roc+%cs.cmu.edu
7587dd2afc Bug 62384. Invalidate cached height when it's not equal to the current height. r+sr=roc, patch by Hideo Saito.
git-svn-id: svn://10.0.0.236/trunk@162928 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-29 01:44:29 +00:00
neil%parkwaycc.co.uk
7903ea1651 Don't use QueryInterface to get a view from a scrollable view b=258521 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@162561 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-20 22:25:07 +00:00
bmlk%gmx.de
1fa3d40c94 fix MEW computation regression introduced by my previous checkin bug 257955 r/sr=roc
git-svn-id: svn://10.0.0.236/trunk@162546 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-20 12:40:20 +00:00
roc+%cs.cmu.edu
d9025f99fb Bug 257916. Move history scroll position save and restore from nsScrollBoxFrame to nsHTML/XULScrollFrame. +sr=dbaron(rubber-stamp)
git-svn-id: svn://10.0.0.236/trunk@162190 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-13 02:10:29 +00:00
aaronleventhal%moonset.net
ef893ae0a8 Bug 255569. HTML combo box drop downs should not be in tab order. r=neil, sr=bryner
git-svn-id: svn://10.0.0.236/trunk@161935 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-08 19:32:29 +00:00
bryner%brianryner.com
6bab9e3329 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.
git-svn-id: svn://10.0.0.236/trunk@161878 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-07 21:21:48 +00:00
roc+%cs.cmu.edu
25c92b6a90 Bug 254039. deCOMtaminate nsIScrollableFrame. r+sr=roc, patch by Will Levine
git-svn-id: svn://10.0.0.236/trunk@161806 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-06 02:44:43 +00:00
dbaron%dbaron.org
d078282226 Land bug 72747 in pieces: Implement overflow-x and overflow-y. b=72747 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@161772 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-05 00:04:04 +00:00
dbaron%dbaron.org
09307f3c9f Back out text input changes from bug 72747.
git-svn-id: svn://10.0.0.236/trunk@161742 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-04 03:17:18 +00:00
dbaron%dbaron.org
76aef2c246 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
git-svn-id: svn://10.0.0.236/trunk@161732 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-03 23:22:15 +00:00
bryner%brianryner.com
4bbe6bddf6 Update the displayed text when closing a combobox with the keyboard causes a new option to be selected. Bug 257572, r=mkaply, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@161677 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-02 21:10:40 +00:00
aaronleventhal%moonset.net
ef3f8b9010 Bug 254966. Make css scrollable elements tab navigable. r=mats, sr=roc
git-svn-id: svn://10.0.0.236/trunk@161578 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-01 14:58:34 +00:00
bryner%brianryner.com
ffa6c10070 Remove unneeded nsIFocusTracker interface, changing all users to nsIPresShell (bug 257596, r+sr=roc).
git-svn-id: svn://10.0.0.236/trunk@161569 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-01 05:16:00 +00:00
bmlk%gmx.de
4ea73ea2f9 frames with a percentage based width should report a 0 MEW bug 246999 r/sr=roc
git-svn-id: svn://10.0.0.236/trunk@161543 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-31 18:50:40 +00:00
dbaron%dbaron.org
dcf4bae71a Back out the rest of bug 72747 due to Tp regression.
git-svn-id: svn://10.0.0.236/trunk@161373 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-27 01:26:55 +00:00
dbaron%dbaron.org
565357f6d2 Backout the CSS parts of bug 72747 to see if that fixes the Tp regression.
git-svn-id: svn://10.0.0.236/trunk@161357 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-26 22:35:38 +00:00
dbaron%dbaron.org
ed6372cf2f 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
git-svn-id: svn://10.0.0.236/trunk@161333 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-26 17:11:20 +00:00
roc+%cs.cmu.edu
d82b9d3db0 Bug 133165. Draw the outline outside the frame's normal overflow area. r+sr=dbaron. Also, correct some trivial misuses of nsChangeHint, r+sr=mozbot
git-svn-id: svn://10.0.0.236/trunk@161292 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-26 00:07:56 +00:00
bryner%brianryner.com
2dbfb983b1 Remove refcounting version of nsIPresShell::GetPresContext. Bug 253889, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@161072 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-20 20:34:37 +00:00
bzbarsky%mit.edu
e481ad27f2 Relanding bug 108817, since it did not cause the Tp problem. r+sr=still roc
git-svn-id: svn://10.0.0.236/trunk@160650 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-11 04:49:05 +00:00
bzbarsky%mit.edu
b9de4e9489 Backing out patch for bug 108817 to test whether it causes the Tp regression.
git-svn-id: svn://10.0.0.236/trunk@160638 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-10 23:37:43 +00:00
bzbarsky%mit.edu
f7785eac83 Remove the timer stuff in nsListControlFrame and replace it with a simple
boolean that's set as needed if the options change and checked in DidReflow()
to decide whether to scroll the list.  Also eliminate the mPresContext member.
Bug 108817, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@160629 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-10 22:21:03 +00:00
peterv%propagandism.org
ca3bbc8275 Fix for bug 27382 (ownerDocument of orphan text and attr nodes is null). r/sr=jst.
git-svn-id: svn://10.0.0.236/trunk@160598 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-10 10:22:36 +00:00
dbaron%dbaron.org
dda1e6cda9 Fix names of constants to correspond to the new definitions of the values of the 'overflow' property. b=69355 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@160586 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-10 01:32:10 +00:00
mats.palmgren%bredband.net
4635bcbf08 Add width for letter-spacing when calculating desired width of text input controls. b=252783 r=bzbarsky sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@160481 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-07 22:04:27 +00:00
bryner%brianryner.com
736c955c54 Remove non-inlined version of nsIPresShell::GetDocument(). Bug 253889, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@160208 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-02 04:52:55 +00:00
bryner%brianryner.com
865734bf2f Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc
git-svn-id: svn://10.0.0.236/trunk@160184 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-31 23:15:21 +00:00
bryner%brianryner.com
b17b3249f7 Consolidate PresContext classes into a single nsIPresContext implementation, and finish deCOMtaminating it. Bug 253470, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@160067 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-29 19:41:39 +00:00
roc+%cs.cmu.edu
0b77ffa440 Bug 252850. Backing out minor listbox layout fix, because it broke something worse
git-svn-id: svn://10.0.0.236/trunk@159944 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-28 01:24:58 +00:00
cbiesinger%web.de
b27e0031f5 Bug 252948 remove *WithConversion in layout
r+sr=bz


git-svn-id: svn://10.0.0.236/trunk@159832 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-25 12:18:04 +00:00
roc+%cs.cmu.edu
c3f3e3fd7a Bug 232540. Make unconstrained-width comboboxes reflow their dropdowns with unconstrained width, always, to avoid a problem where the vertical scrollbar is added but the dropdown doesn't get correspondingly wider. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@159756 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-23 23:46:25 +00:00
neil%parkwaycc.co.uk
fc3edfffcf Fix regression from bug 244761 so that only user actions will enable onChange after blur b=251833 r/sr=roc
git-svn-id: svn://10.0.0.236/trunk@159723 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-23 08:25:44 +00:00
rbs%maths.uq.edu.au
a41b8a61ef Cleanup font usage in form input controls, b=251637, r=jshin, sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@159562 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-21 01:05:44 +00:00