2699 Commits

Author SHA1 Message Date
kmcclusk%netscape.com
4f668b7081 Fixed border rendering during printing for Select and text, and text areas.
Implemented SetProperty/GetProperty methods for FileControlFrame
Added nsGenericHTMLElement::GetPrimaryFrame check for nsnull for doc return type.
nsHTMLInputElement.cpp replace NS_OK == with  NS_SUCCEEDED in GetValue and SetValue
Added GetName and GetValue utility methods to nsFormControlHelper
modified nsButtonControlFrame::PaintButton to take the label to paint as an extra parameter.
This allows it to be callable from the nsFileControlFrame code to render the button.


git-svn-id: svn://10.0.0.236/trunk@20325 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 01:13:28 +00:00
pierre%netscape.com
51c9f366be Added checkbox and radiobox size to the LookAndFeel (bug#2923 "Checkboxes don't display ")
git-svn-id: svn://10.0.0.236/trunk@20319 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 00:51:36 +00:00
buster%netscape.com
f303703535 added GetLayoutObjectFor for getting a layout object as an nsISupports
while not exposing nsIFrame.


git-svn-id: svn://10.0.0.236/trunk@20304 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 23:21:22 +00:00
hyatt%netscape.com
db2d99b076 Changing the way table frames are created so that tree frames can be made
as well.


git-svn-id: svn://10.0.0.236/trunk@20283 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 19:50:50 +00:00
mjudge%netscape.com
2a9e445535 Keyboard navigation, removing nsICollection(not used) adding PeekOffset to have the nsIFrame tell us where to go when moving a character ect. adding nsFrameTraversal to traverse frames, based on nsIEnumerator. mjudge x4661
git-svn-id: svn://10.0.0.236/trunk@20274 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 18:55:25 +00:00
troy%netscape.com
c6590e6940 Re-ordered DeleteFrame() code to fix a FMR
git-svn-id: svn://10.0.0.236/trunk@20269 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 18:12:24 +00:00
peterl%netscape.com
10b169bbbd Improved handling of bad properties
git-svn-id: svn://10.0.0.236/trunk@20234 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 08:37:52 +00:00
peterl%netscape.com
33444d5bfd added append struct value
git-svn-id: svn://10.0.0.236/trunk@20233 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 08:37:28 +00:00
peterl%netscape.com
4bc1a77489 added missing ToString case
git-svn-id: svn://10.0.0.236/trunk@20232 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 08:36:37 +00:00
troy%netscape.com
bd78450e96 Changed GetNextSibling() to use a pointer argument instead of a reference
git-svn-id: svn://10.0.0.236/trunk@20223 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 06:13:38 +00:00
troy%netscape.com
339afcce8a Changed a bunch more nsIFrame member functions to be pointer arguments
instead of references


git-svn-id: svn://10.0.0.236/trunk@20222 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 05:38:18 +00:00
troy%netscape.com
dbedf1803d Changed GetFrameState() and GetFrameType() to use pointer arguments instead of
references


git-svn-id: svn://10.0.0.236/trunk@20215 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 04:17:06 +00:00
troy%netscape.com
3635a7c72c Changed GetAdditionalChildListName() and FirstChild() to use ** instead
of *&


git-svn-id: svn://10.0.0.236/trunk@20212 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 02:25:01 +00:00
dp%netscape.com
fbd9ebf114 Adding libreg as xpcom depends on it
git-svn-id: svn://10.0.0.236/trunk@20208 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 02:01:50 +00:00
troy%netscape.com
2af2ec249b Changed GetParent() to use ** instead of *&
git-svn-id: svn://10.0.0.236/trunk@20205 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 01:36:30 +00:00
troy%netscape.com
8934624982 Changed some nsIFrame member functions to use ** instead of *& for OUT
paremeters


git-svn-id: svn://10.0.0.236/trunk@20199 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 00:42:56 +00:00
buster%netscape.com
4ed9a862df initial checkin of public table layout interfaces
git-svn-id: svn://10.0.0.236/trunk@20198 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 00:38:01 +00:00
kmcclusk%netscape.com
35f21942b9 Undef'ed NS_GFX_RENDER_FORM_ELEMENTS
git-svn-id: svn://10.0.0.236/trunk@20148 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 18:31:41 +00:00
kmcclusk%netscape.com
15bf313676 Added rule for INPUT[type=radio] to set properties for gfx-rendered radio buttons.
git-svn-id: svn://10.0.0.236/trunk@20147 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 18:29:15 +00:00
kmcclusk%netscape.com
c5a5921a54 Added support to gfx-render radio buttons. Both checkboxes and radio buttons
now use CSS style to get colors for rendering. Checkboxes also use the CSS border rendering
code. Added New utility methods to nsFormControlFrame to PaintCircular backgrounds and
borders. Set compiler directive to gfx-render radiobuttons and checkboxes both for printing
and on-screen display.


git-svn-id: svn://10.0.0.236/trunk@20146 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 18:25:40 +00:00
kipp%netscape.com
7f58c1cf8f Whacked away nsBaseIBFrame and BLOCK_IS_INLINE cruft
git-svn-id: svn://10.0.0.236/trunk@20143 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 17:31:33 +00:00
kipp%netscape.com
ab01d56e79 Handle breaking before an anonymous block when the line isn't empty; push/pop inline reflow state so that floaters work properly
git-svn-id: svn://10.0.0.236/trunk@20142 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 17:31:14 +00:00
troy%netscape.com
90c9d94a64 Added GetFrameType() member function
git-svn-id: svn://10.0.0.236/trunk@20113 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 05:44:13 +00:00
troy%netscape.com
5b4c0b3c70 Fix for bug #2661. Now handles the case where the root-frame has a fixed
height


git-svn-id: svn://10.0.0.236/trunk@20112 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 05:09:39 +00:00
troy%netscape.com
80a11a7ad3 Fixed a silly error I introduced in the previous check-in
git-svn-id: svn://10.0.0.236/trunk@20108 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 05:01:11 +00:00
troy%netscape.com
c9a7e63cc4 Fixed a problem where absolutely positioned child frames with an 'auto'
offset weren't getting re-positioned during an incremental reflow of the
flowed items


git-svn-id: svn://10.0.0.236/trunk@20102 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 04:31:09 +00:00
troy%netscape.com
d53851dcae Turned off some code until the frame construction code handles the case
where the replaced element that can't be rendered is floated or absolutely
positioned


git-svn-id: svn://10.0.0.236/trunk@20097 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 04:05:21 +00:00
waterson%netscape.com
c042191a3f Exposed NS_CreateHTMLContent() as a temporary hack to get HTML-in-RDF/XUL working. Will re-visit when Vidur comes back.
git-svn-id: svn://10.0.0.236/trunk@20061 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 00:26:50 +00:00
troy%netscape.com
0b0f1e128c Fix for bug #3027. Correctly computes 'auto' margin values and allows them
to be negative


git-svn-id: svn://10.0.0.236/trunk@20059 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 00:15:43 +00:00
kipp%netscape.com
ea9460a146 Tweak regression data output
git-svn-id: svn://10.0.0.236/trunk@20005 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-08 17:56:23 +00:00
kipp%netscape.com
b8038d013a Revamp regression data dumping
git-svn-id: svn://10.0.0.236/trunk@20004 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-08 17:56:00 +00:00
troy%netscape.com
703dbaf64b Fix for bug #2993. Made sure that 'offsets' are relative to containing block's
padding edge and not the containing block's border edge


git-svn-id: svn://10.0.0.236/trunk@19979 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-08 00:32:02 +00:00
peterl%netscape.com
5f1a886f61 selector text notes
git-svn-id: svn://10.0.0.236/trunk@19973 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-07 21:48:45 +00:00
peterl%netscape.com
9cd5ff0a00 added capturing selector source text (to preserve namespace prefixes)
git-svn-id: svn://10.0.0.236/trunk@19972 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-07 21:48:27 +00:00
peterl%netscape.com
97c2dbe99d Added token append to string
Improved handling of bad strings
Improved handling of escapes


git-svn-id: svn://10.0.0.236/trunk@19971 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-07 21:47:48 +00:00
mcafee%netscape.com
548958d0f3 Solaris isn't building yet, backing this out
git-svn-id: svn://10.0.0.236/trunk@19960 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-07 03:45:42 +00:00
mcafee%netscape.com
ee6caf9c4b Adding tests to match Win32
git-svn-id: svn://10.0.0.236/trunk@19942 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-07 00:54:52 +00:00
troy%netscape.com
fae2e7b855 Fixed ContentRemoved() to also remove the shell's mapping from absolutely
positioned element to its placeholder


git-svn-id: svn://10.0.0.236/trunk@19924 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-06 17:10:42 +00:00
troy%netscape.com
07105200e3 Fixed a bad #ifdef
git-svn-id: svn://10.0.0.236/trunk@19919 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-06 04:26:30 +00:00
troy%netscape.com
960b794184 Created ConstructAlternateImageFrame() function from some existing code,
and changed it to use the "src" attribute if there is no "alt" or "title"
values to use


git-svn-id: svn://10.0.0.236/trunk@19911 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-06 03:45:11 +00:00
troy%netscape.com
4a04416d1c #ifdef CantRenderReplacedElement() to be _WIN32 for the time being until
the Mac problems with the thread event queue are straightened out


git-svn-id: svn://10.0.0.236/trunk@19910 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-06 03:41:14 +00:00
joki%netscape.com
3ef9d11dac Checking in null check and assertion to handle the crashing on imagemap part of the Mac regression.
git-svn-id: svn://10.0.0.236/trunk@19896 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-06 02:07:49 +00:00
kmcclusk%netscape.com
cb1e2e6d1b undefined NS_GFX_RENDER_FORM_ELEMENTS
git-svn-id: svn://10.0.0.236/trunk@19880 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 22:22:40 +00:00
kmcclusk%netscape.com
f33772358f Added INPUT[type=checkbox] rule + properties to ua.css to set style info
for gfx-rendered checkboxes.


git-svn-id: svn://10.0.0.236/trunk@19879 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 22:19:52 +00:00
kmcclusk%netscape.com
703c2a790c Adjusted checkbox gfx-rendering code to make better looking checkboxes
Created nsFormControlHelper::GetBool and nsFormControlHelper::GetBoolString
utility methods for converting strings into booleans and vice versa.
Modified nsCheckboxControlFrame, nsRadioControlFrame, and nsSelectControlFrame
to use these helpers.


git-svn-id: svn://10.0.0.236/trunk@19878 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 22:15:35 +00:00
morse%netscape.com
235d8d73b9 removed single-signon dependency on lo_ele.h and MWContext
git-svn-id: svn://10.0.0.236/trunk@19876 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 22:05:59 +00:00
vidur%netscape.com
37fc0ea58e Hooked up style hint for id, class and dir
git-svn-id: svn://10.0.0.236/trunk@19868 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 19:55:56 +00:00
kmcclusk%netscape.com
0a666c164e Disabled gfx-rendering of form controls.
git-svn-id: svn://10.0.0.236/trunk@19867 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 19:51:27 +00:00
kmcclusk%netscape.com
6a11fc957f Added code to gfx-render checkboxes using CSS style.
Removed commented out code in nsFormControlFrame and nsFormControlHelper


git-svn-id: svn://10.0.0.236/trunk@19866 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 19:48:18 +00:00
troy%netscape.com
155dd50f2c Added CantRenderReplacedElement() to nsIPresShell and changed the image frame
code to use it


git-svn-id: svn://10.0.0.236/trunk@19860 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 18:25:29 +00:00