rods%netscape.com
c586bf3853
Added new interface to support additional StyleContexts that can be used for "skinning" checkboxes.
...
r=kmcclusk
git-svn-id: svn://10.0.0.236/trunk@64041 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 15:02:02 +00:00
rods%netscape.com
a8f3a40dd5
fixed up some ifdefs to shutoff debug output
...
git-svn-id: svn://10.0.0.236/trunk@64040 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 14:59:02 +00:00
rods%netscape.com
a2cd208220
Adding nsICheckboxControlFrame to build
...
r=kmcclusk
git-svn-id: svn://10.0.0.236/trunk@64038 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 14:47:58 +00:00
dbaron%fas.harvard.edu
0936aaafab
Fix event targetting bugs by using paint layers in GetFrameForPoint, testing for visibility, and trying GetFrameForPoint on additional views if one fails. r=joki@netscape.com(, hyatt@netscape.com) b=12232,20051,21304,24474,26785, and remaining issues from 23161.
...
git-svn-id: svn://10.0.0.236/trunk@63689 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 02:43:08 +00:00
rods%netscape.com
5348db8337
now handling the incremental reflow better for options
...
when one more options have no label or content the height is zero, so we
now go get the first frame calculate a height based on the font metrics
r=dcone b=32383
git-svn-id: svn://10.0.0.236/trunk@63590 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 15:22:53 +00:00
rods%netscape.com
30fec46b94
Moved GetAbsoluteFramePosition to nsFormControlFrame, chanhed the callers to check the return code.
...
r=dcone b=18895
git-svn-id: svn://10.0.0.236/trunk@63589 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 15:19:40 +00:00
rods%netscape.com
5ef540aa99
Added static method for getting the absolute rect in twips and pixels
...
moved from nsComboboxControlFrame.cpp
r=dcone b=18895
git-svn-id: svn://10.0.0.236/trunk@63588 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 15:18:07 +00:00
pollmann%netscape.com
d5fd8b4694
Bug 28143: Set selectedIndex to -1 should deselect all options (1 of 2 - when frame exists) r=waqar
...
git-svn-id: svn://10.0.0.236/trunk@63494 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-20 23:43:07 +00:00
dbaron%fas.harvard.edu
000e97ba98
Fix leak. r=pollmann@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@63414 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 21:29:16 +00:00
rods%netscape.com
ddbfa3ac95
made sure "average" was initialized to zero
...
change the setting of the font from mFixedFont to mFont for textfields
b=18232,32254 r=sfraserfor 18232, self for 32254
git-svn-id: svn://10.0.0.236/trunk@63399 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 15:15:25 +00:00
rods%netscape.com
1310a72d4b
Removed GetScreenHeight and using the one in nsFormControlFrame
...
b=25774 r=kmcclusk
git-svn-id: svn://10.0.0.236/trunk@63395 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 14:20:03 +00:00
rods%netscape.com
425572a3d4
Added adaptive sizing for dropdown with small screen sizes
...
The setting of the cached available size only happens when it is not unconstrained
Added GetOptionsContainer method
Fixed minor problem in GetScrollableView (not actually passing back the frame)
Added the Flushing of content on arrow keys
b=31987,25774 r=kmcclusk
git-svn-id: svn://10.0.0.236/trunk@63394 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 14:17:34 +00:00
rods%netscape.com
76578e3157
Added method to get the container frame for adding/removing option frames
...
needed for the differences in ListControlFrame sn GfxListControlFrame
b=18895 r=kmcclusk
git-svn-id: svn://10.0.0.236/trunk@63392 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 14:17:30 +00:00
rods%netscape.com
7dc235b13a
Moved GetScreenHeight from Combobox frame to here. duplicated the SkipRelfow method to
...
some rework, and I can if def it in and out
b=18895 r=kmcclusk
git-svn-id: svn://10.0.0.236/trunk@63391 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 13:45:30 +00:00
pierre%netscape.com
c84deb6d8c
Fix 32199 (visibility:collapse is not being interpreted as hidden on block and inline level elements) and parts of 21701 (misuse of style attr mVisible).
...
In the following files, replacing disp->mVisible with disp->IsVisible() is a BUG FIX: nsBlockFrame, nsBulletFrame, nsHRFrame, nsHTMLContainerFrame, nsImageFrame, nsTextFrame.
In all the other files, replacing disp->mVisible with disp->IsVisible() or disp->IsVisibleOrCollapsed() is merely a SYNTACTICAL CHANGE. The respective owners will later review the use of IsVisibleOrCollapsed() and in some cases replace it with IsVisible(). See bug 21701.
git-svn-id: svn://10.0.0.236/trunk@63284 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 10:15:13 +00:00
rods%netscape.com
f4df672a66
I had the GetDefaultChecked and GetChecked methods reversed.
...
b=31009 r=kmclusk
git-svn-id: svn://10.0.0.236/trunk@63176 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 22:57:08 +00:00
rods%netscape.com
1b47027ebe
factored out a GetScrolableView method, implemented extended selection for drag select and shift->up/down keys
...
added page up and down support, but it isn't supported by nsScrollFrame (works for Gfx)
should be generating the coorect DOM selection events now
r=dcone, b=14771, 30463
git-svn-id: svn://10.0.0.236/trunk@63054 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 15:55:30 +00:00
rods%netscape.com
3747feefc2
turning off debug #defines
...
git-svn-id: svn://10.0.0.236/trunk@63053 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 15:47:11 +00:00
dveditz%netscape.com
51ca5d7259
fixing VC5 build (bug 31868)
...
git-svn-id: svn://10.0.0.236/trunk@63015 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 06:22:09 +00:00
rods%netscape.com
3c4ce75563
now passing back maxElementSize correctly
...
b=30015
git-svn-id: svn://10.0.0.236/trunk@62933 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 14:25:05 +00:00
tbogard%aol.net
dab65a7998
GetWebShell became GetDocShell to continue the conversion to talking in terms of DocShells instead of webShells.
...
git-svn-id: svn://10.0.0.236/trunk@62609 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 01:30:04 +00:00
rods%netscape.com
b096b5b0e7
combo needed to set the maxElementSize correctly when reflowing.
...
b=31072 r=buster a=jar
git-svn-id: svn://10.0.0.236/trunk@62524 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-10 04:46:16 +00:00
rods%netscape.com
f2051a9c75
nsITextContent needed to be included not forwarded.
...
git-svn-id: svn://10.0.0.236/trunk@62309 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 16:45:21 +00:00
rods%netscape.com
7e5fa53319
Fixed Combobox and ListBox frame to be more effecient in processing reflows
...
added Block and text frame for displaying the selected option for the combobox
Fixes Bugs 30463, 28835, 29544
r=buster,kmcclusk a=jar
git-svn-id: svn://10.0.0.236/trunk@62306 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 15:54:31 +00:00
rods%netscape.com
7bd524384c
Backout plan, this check only fixes bug 28628
...
a=jar
git-svn-id: svn://10.0.0.236/trunk@62128 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-03 07:14:58 +00:00
rods%netscape.com
deca5369c1
added include instead of the class decl.
...
r=waterson
git-svn-id: svn://10.0.0.236/trunk@62118 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-03 05:06:03 +00:00
rods%netscape.com
0e0b56089f
modified the reflow method for better handling incremental and for optimization
...
b=28593, r=buster,kmclusk a=jar
git-svn-id: svn://10.0.0.236/trunk@62115 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-03 04:28:59 +00:00
rods%netscape.com
f2b6aef7dc
idef'ed out the adding of border padding to maxelement size, this was casuing some warnings.
...
r=kmcclusk a=jar b=28593
git-svn-id: svn://10.0.0.236/trunk@62097 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-03 00:58:00 +00:00
rods%netscape.com
31c4c361ad
Button marks itself dirty when the suggested size is set.
...
b 28593, r=kmcclusk,buster
git-svn-id: svn://10.0.0.236/trunk@62091 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-03 00:21:10 +00:00
karnaze%netscape.com
84b1699eb4
PDT+ bug 28928 - correctly handle reflow of hidden inputs. r=rods, a=rickg
...
git-svn-id: svn://10.0.0.236/trunk@61866 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-29 13:17:33 +00:00
pierre%netscape.com
1d2c2e416f
Bug 18136/21950 "Fixing the font size mess". Implemented Todd Farhner's system in nsStyleUtil. Disabled the font size rounding code on Windows (see bug 24005). r=erik, a=rickg
...
git-svn-id: svn://10.0.0.236/trunk@61601 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-24 12:51:28 +00:00
pollmann%netscape.com
a3b50445fa
Bug 12513: Add OptionCollection interface for Nav DOM compatability. r=vidur a=rickg
...
git-svn-id: svn://10.0.0.236/trunk@61543 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-24 00:08:00 +00:00
pollmann%netscape.com
372cfcb2c6
Bug 28691: Fix leaks, check for null, in code my implementation was based on r=harishd a=rickg
...
git-svn-id: svn://10.0.0.236/trunk@61508 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-23 20:58:42 +00:00
pollmann%netscape.com
ea620d741f
Bug 28691: Fix leaks, check for null, fix a bug in checkin for bug 16999 r=harishd a=rickg
...
git-svn-id: svn://10.0.0.236/trunk@61506 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-23 20:56:39 +00:00
pollmann%netscape.com
8805ae3fc9
Bug 16999: Fix solaris nsCOMPtr complaints.
...
git-svn-id: svn://10.0.0.236/trunk@61378 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-21 06:26:55 +00:00
pollmann%netscape.com
28d2487189
Bug 16999: Get default button labels from .properties file instead of html.css (GfxButtonControlFrame -> anonymous content creator). r=rods a=rickg
...
git-svn-id: svn://10.0.0.236/trunk@61376 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-21 05:55:25 +00:00
rods%netscape.com
f3c30277d4
ifdef'ing out a badly formed optimization for incremental reflow.
...
r=buster b=24798
git-svn-id: svn://10.0.0.236/trunk@61068 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-16 05:20:21 +00:00
rods%netscape.com
9616895e6a
radio button now remembers state, and in standard mode it will always select
...
the first item. It will also perform rradiobutton behavior when the frame are hidden (no existent)
b=27063 r=kmcclusk
git-svn-id: svn://10.0.0.236/trunk@60954 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-15 23:02:55 +00:00
rods%netscape.com
052a391633
added method
...
b 21945 r=pollmann
git-svn-id: svn://10.0.0.236/trunk@60893 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-15 15:57:13 +00:00
rods%netscape.com
5609eaece7
They now cache their state properly in the PresState
...
b 27063 r=kmmclusk
git-svn-id: svn://10.0.0.236/trunk@60882 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-15 15:05:56 +00:00
rods%netscape.com
503225ca70
They now cache their state properly in the PresState
...
b 21945 r=pollmann
git-svn-id: svn://10.0.0.236/trunk@60880 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-15 15:04:38 +00:00
buster%netscape.com
c926a28d67
enabled "physical" and "virtual" as synonyms for <textarea> "wrap" attribute value
...
bug = ???, it's been reassigned to someone else, this was part of a larger problem
that has mostly been fixed already
r=rods
git-svn-id: svn://10.0.0.236/trunk@60681 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-14 02:03:36 +00:00
rods%netscape.com
68b0b47186
Let's try a non-COMPtr fix, I wish COMPtr would work the same on all platforms....
...
git-svn-id: svn://10.0.0.236/trunk@60602 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-12 17:49:11 +00:00
rods%netscape.com
75d5380d64
same old thing Linux hates comparing a nsCOMPtr to a non-OMCPtr
...
git-svn-id: svn://10.0.0.236/trunk@60600 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-12 17:01:35 +00:00
rods%netscape.com
089f6bed81
now remembers state when selected for single select combos and listboxes,
...
it does not remember mulitple selections (more work needed in content class)
converted over to rnsCOMptr as much as I could
b=21945, r=pollmann
git-svn-id: svn://10.0.0.236/trunk@60597 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-12 16:21:37 +00:00
pavlov%netscape.com
b3eb5c0605
fix for combo boxes not grabbing the mouse on linux (fixes bugs 7898 and 26273) r=waqar
...
git-svn-id: svn://10.0.0.236/trunk@60519 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 22:26:36 +00:00
nhotta%netscape.com
d93c3cf8c0
Added a function to return path name in unicode, contributed by m_kato@ga2.so-net.ne.jp, edited by nhotta, bug 22863, r=ftang.
...
git-svn-id: svn://10.0.0.236/trunk@60365 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 01:08:56 +00:00
evaughan%netscape.com
a9aadf75b0
1) Fixed freeze because of sync drawing in forms
...
2) Fixed fieldset blocker
-r rods, granrose
git-svn-id: svn://10.0.0.236/trunk@60336 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-10 21:36:28 +00:00
rods%netscape.com
18b173e092
changing nsCOMPtr to weak references for PresContext
...
a=leaf, r=self, bug=bloat&leak went up
git-svn-id: svn://10.0.0.236/trunk@60260 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-09 23:20:56 +00:00
evaughan%netscape.com
a268db39c4
1) implememted box reflow coelescing.
...
2) implemented gfx scrollbars for list boxes
3) fixed progess meter to be an animated gif
4) fixed bugs 23521, 24721, 19114, 20546, 24385, 24457, 23156, 20226, 22543
-r hyatt, troy, rod
git-svn-id: svn://10.0.0.236/trunk@60253 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-09 22:02:40 +00:00