62 Commits

Author SHA1 Message Date
syd%netscape.com
92bf3b6c8c Initialize isScrolling to default to PR_FALSE. When printing, we don't obtain a
container, so we can't query for a webshell interface and query if scrolling is
implemented. With isScrolling set to PR_TRUE, we then follow code below which
leads to a crash. Fixes crash seen often when performing Postscript printing on
Unix.

Reviewed by dcone.


git-svn-id: svn://10.0.0.236/trunk@25538 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 01:11:09 +00:00
kipp%netscape.com
868d6fe618 Create area frame properly so that it applies vertical margins to its children (bug #1080)
git-svn-id: svn://10.0.0.236/trunk@25287 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-27 01:19:29 +00:00
evaughan%netscape.com
cddf6f971f Added XUL based layout manager.
git-svn-id: svn://10.0.0.236/trunk@25282 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-27 00:58:29 +00:00
donm%netscape.com
6e7dbccbbf backing out evaughan's changes. tree closed.
git-svn-id: svn://10.0.0.236/trunk@25230 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 19:39:23 +00:00
evaughan%netscape.com
fc3e4622f8 Added box layout system.
git-svn-id: svn://10.0.0.236/trunk@25225 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 18:51:08 +00:00
peterl%netscape.com
37a273be7a protect recreate frames for content against content with no parent
git-svn-id: svn://10.0.0.236/trunk@25112 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 19:27:11 +00:00
peterl%netscape.com
fa1fcc976c capture all change data during style changes and deal with it properly
git-svn-id: svn://10.0.0.236/trunk@25089 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 06:41:43 +00:00
troy%netscape.com
b82a5b3a21 Fix for bug #3445. Changed ReconstructDocElementHierarchy() to handle fixed
elements


git-svn-id: svn://10.0.0.236/trunk@25075 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 05:24:16 +00:00
troy%netscape.com
a64f391177 Changed CantRenderReplacedElement() to handle APPLET as well
git-svn-id: svn://10.0.0.236/trunk@24937 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-24 01:13:59 +00:00
karnaze%netscape.com
74b8b31e44 bug 3835, GetAdjustedParentFrame fixed for caption
git-svn-id: svn://10.0.0.236/trunk@24834 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 14:16:52 +00:00
kmcclusk%netscape.com
8b55ff9f7b Various modifications/fixes/cleanup for frame-based listboxes.
Set display type to block for option elements in ua.css.
Enable frame-based listboxes when widget render mode is gfx.


git-svn-id: svn://10.0.0.236/trunk@24696 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 21:32:12 +00:00
kipp%netscape.com
f81ad77137 Fixed bug #3905 - frame construction code wasn't dealing with tables properly when they were floated; reviewed by vidur for M3 checkin
git-svn-id: svn://10.0.0.236/trunk@24263 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-17 18:17:24 +00:00
karnaze%netscape.com
fe22718487 removed some table frame construction warnings.
git-svn-id: svn://10.0.0.236/trunk@24069 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-13 12:47:56 +00:00
av%netscape.com
d91791f1ef Rendering alt context in object tag
git-svn-id: svn://10.0.0.236/trunk@23562 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 20:43:07 +00:00
hyatt%netscape.com
ae118c5d22 Checking in a patch for a XUL bug in ContentInserted (inside an #ifdef INCLUDE_XUL).
git-svn-id: svn://10.0.0.236/trunk@23107 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-07 09:55:39 +00:00
evaughan%netscape.com
0615e95ff7 1) Implemented regular button and html4 button with a button renderer.
2) Fixed ProgressMeter to update correctly when attributes change
3) Fixed sample8.html so that it does not over ride the borders of the HTML4 button this
   messed up the active, hover, and disabled states.


git-svn-id: svn://10.0.0.236/trunk@23070 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 19:43:13 +00:00
troy%netscape.com
a759e230cf Table header/footer are repeated when splitting tables
git-svn-id: svn://10.0.0.236/trunk@22860 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 06:00:40 +00:00
evaughan%netscape.com
45aec1474e Fixed a bug that caused TitledButtons and ProgressMeters to be skews when made inline.
git-svn-id: svn://10.0.0.236/trunk@22793 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-04 23:39:06 +00:00
scc%netscape.com
817f56596f rename |IID()| --> |GetIID()|
git-svn-id: svn://10.0.0.236/trunk@22744 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 19:48:57 +00:00
troy%netscape.com
2c9f8c326c Work-in-progress for table pagination
git-svn-id: svn://10.0.0.236/trunk@22735 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 16:33:57 +00:00
hyatt%netscape.com
c3752a8df8 Fix to the ContentInserted function (ifdef XUL only) for treechildren.
git-svn-id: svn://10.0.0.236/trunk@22683 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 03:11:55 +00:00
kmcclusk%netscape.com
4bd141876c gfx vs native widget rendering can now be specified in the viewer at run-time.
Added methods to GetWidgetRenderingMode and SetWidgetRenderingMode in nsPresContext
Removed NS_GFX_RENDER_FORM_ELEMENTS define, now it uses the GetWidgetRenderingMode
method on the rendering context.
Resurrected Rod's listbox frame-based widget code.
Added -moz-option-selected pseudo attribute to control the appearance of selected items for the listbox frame-based widget.
Added a style rule with attribute selector for -moz-option-selected to the ua.css style sheet.
Modifed nsView::SetVFlags to do a bitwise or instead of bitwise and to set flags.
Modified nsView::HandleEvent to compare mVFlags with NS_VIEW_FLAG_DONT_CHECK_CHILDREN


git-svn-id: svn://10.0.0.236/trunk@22614 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 22:43:26 +00:00
hyatt%netscape.com
7c82f53dcb Modified ContentInserted (for XUL only) to support the tree widget's
wacky frame construction code.


git-svn-id: svn://10.0.0.236/trunk@22487 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 01:07:28 +00:00
vidur%netscape.com
83118f458a Fixed MAP elements to conform to HTML 4.0. Hooked up attribute changes for MAP, AREA and ANCHOR elements. Added RECONSTRUCT_ALL as a style hint for attribute changes. Modified nsCSSFrameConstructor's ReconstructFrame to only reconstruct the document element hierarchy.
git-svn-id: svn://10.0.0.236/trunk@22445 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 16:57:35 +00:00
karnaze%netscape.com
f1b7db0183 fixed assert when <col> is placed inside of <table>
git-svn-id: svn://10.0.0.236/trunk@22365 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 19:02:48 +00:00
peterl%netscape.com
46ee5bae96 added content state changed
git-svn-id: svn://10.0.0.236/trunk@22333 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 07:15:09 +00:00
hyatt%netscape.com
03ccb229ff Changing GetStyleHintForAttributeChanged so that it is invoked on styledContent
instead of htmlContent.


git-svn-id: svn://10.0.0.236/trunk@22269 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 01:34:32 +00:00
hyatt%netscape.com
0f7ea6b1c9 Changes to tree frame construction code.
git-svn-id: svn://10.0.0.236/trunk@22262 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 01:28:19 +00:00
av%netscape.com
40af69629d *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@22258 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 00:57:04 +00:00
kipp%netscape.com
774bcbcaf4 Whacked to handle moving floaters out of the flow
git-svn-id: svn://10.0.0.236/trunk@22138 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 17:11:54 +00:00
karnaze%netscape.com
bf7aa2f2f9 fixed bug where anonymous table frame is constructed inside table related frame.
simplified table frame construction.


git-svn-id: svn://10.0.0.236/trunk@22093 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 09:15:03 +00:00
rickg%netscape.com
5012f4e582 small bug fixes and removal of global statics
git-svn-id: svn://10.0.0.236/trunk@22072 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 06:33:54 +00:00
troy%netscape.com
5bb51bbb20 Added logic to replicate the caption when splitting the table
git-svn-id: svn://10.0.0.236/trunk@22043 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 03:35:22 +00:00
troy%netscape.com
b51e46e943 Removed nsIFrame::CreateContinuingFrame()
git-svn-id: svn://10.0.0.236/trunk@21866 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 05:31:15 +00:00
troy%netscape.com
f293c578fd Changed nsIFrame::Init() to take an additional parameter
git-svn-id: svn://10.0.0.236/trunk@21843 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 03:27:57 +00:00
troy%netscape.com
985c1c5280 Work-in-progress for having frame construction code handle creation
of continuing frames


git-svn-id: svn://10.0.0.236/trunk@21758 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 17:16:04 +00:00
troy%netscape.com
cc2323242f Changed GetNextInFlow() and GetPrevInFlow() to be pointer arguments and
not references


git-svn-id: svn://10.0.0.236/trunk@21702 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 04:48:08 +00:00
troy%netscape.com
cbaac14adf Added CreateContinuingFrame() function to frame construction code
git-svn-id: svn://10.0.0.236/trunk@21695 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 04:03:50 +00:00
kipp%netscape.com
ed946ccfbf Temporarily mark text and BR frames as replaced elements so that inline reflow will work properly
git-svn-id: svn://10.0.0.236/trunk@21638 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 19:36:14 +00:00
evaughan%netscape.com
9ae8b8c3df Added a new XUL TitledButtonFrame
git-svn-id: svn://10.0.0.236/trunk@21318 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 18:23:02 +00:00
troy%netscape.com
92f8d12843 Added pseudo style for 'page' element
git-svn-id: svn://10.0.0.236/trunk@21244 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 00:53:09 +00:00
scc%netscape.com
726c966a08 updated for nsCOMPtr (no implicit construction from raw pointers) owners should check that they agree with my choices for |dont_QueryInterface|, |do_QueryInterface| and |dont_AddRef|
git-svn-id: svn://10.0.0.236/trunk@21237 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 23:55:10 +00:00
troy%netscape.com
597d5a42e5 Fixed a style context problem
git-svn-id: svn://10.0.0.236/trunk@21147 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 16:56:15 +00:00
hyatt%netscape.com
133b081fb6 Inside an INCLUDE_XUL #ifdef, making sure that HTML atoms get addrefed and
released by the frame constructor.


git-svn-id: svn://10.0.0.236/trunk@21130 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 05:02:50 +00:00
troy%netscape.com
0698a49751 Changes for having OBJECT element render its contents if the OBJECT can't
be rendered


git-svn-id: svn://10.0.0.236/trunk@20978 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 17:02:27 +00:00
danm%netscape.com
d4b9511aad changed nsCOMPtr comparison operators to explicitly use get(). part of nsCOMPtr carpool.
git-svn-id: svn://10.0.0.236/trunk@20883 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 04:39:22 +00:00
troy%netscape.com
e0e1a0be11 Added code to set/get the view manager's root scrollable view
git-svn-id: svn://10.0.0.236/trunk@20764 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-16 04:41:15 +00:00
troy%netscape.com
2aa3cd9ceb Changed frame construction code to set NS_FRAME_REPLACED_ELEMENT but, and
changed the HTML reflow state to read the bit


git-svn-id: svn://10.0.0.236/trunk@20660 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-13 05:59:19 +00:00
kipp%netscape.com
9b917419dc COMized nsIPresShell and nsIPresContext
git-svn-id: svn://10.0.0.236/trunk@20570 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 17:45:58 +00:00
hyatt%netscape.com
d5ba4ac966 Changes to the table frame construction code to fix breakage in the tree view.
git-svn-id: svn://10.0.0.236/trunk@20490 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 01:35:37 +00:00