Commit graph

1420 commits

Author SHA1 Message Date
peterl%netscape.com
d9bb5ac226 force display type of viewport frame to BLOCK 1999-06-18 05:36:58 +00:00
evaughan%netscape.com
e2255c4a64 Integrated a new XP scrollbar
Added tri state behavior to titled buttons.
1999-06-15 04:02:43 +00:00
buster%netscape.com
82ee6d0c3e added support for ender GFX-Rendered text control 1999-06-12 22:32:41 +00:00
hyatt%netscape.com
8a7a388516 Tweak to the tree frame construction code. 1999-06-10 09:31:30 +00:00
peterl%netscape.com
be78f7c3ee added support for attribute namespaces on generated content
stubed out improvements to style change painting code
1999-06-10 05:24:00 +00:00
hyatt%netscape.com
9433d1b9be Fixing a bug with allowevents in the tree view. 1999-06-09 00:04:25 +00:00
hyatt%netscape.com
9a32c8bde5 Fix for bug 5602. 1999-05-17 09:02:45 +00:00
kipp%netscape.com
4846f41f1f Reworked frame factory methods; fixed bug 4519 1999-05-11 22:03:29 +00:00
karnaze%netscape.com
06e90ebbf2 incremental reflow correctly targets cell's area frame - bugs 4577, 5126, 5759 1999-05-06 22:29:28 +00:00
pinkerton%netscape.com
0f3dc2e30c make <tristatecheckbox> now be <checkbox> 1999-05-06 00:53:22 +00:00
kipp%netscape.com
060e5e4b0f Fixed bug #4309 - propogated handling of floating image frames to floating object frame code during CantRenderReplacedElemen to avoid assertion check in block code 1999-05-03 16:07:47 +00:00
karnaze%netscape.com
14a2e6c1eb fixed crash in bug 5190, allowing a table to be the top level XML element. 1999-04-30 19:51:59 +00:00
troy%netscape.com
dc90d5782e Aded nsFrameConstructorState structure 1999-04-28 19:08:14 +00:00
alecf%netscape.com
160e6847ae fix script C++ const-ness problem (pedantic bustage) 1999-04-28 02:27:03 +00:00
kipp%netscape.com
284ac2a592 Use correct content when creating first-letter and related frames so that style resolution works beyond the first time 1999-04-28 00:55:11 +00:00
kipp%netscape.com
2f9d97e73d Fixed bug in floater placement; use correct content object to get style for inline frames that contain first letter frames 1999-04-28 00:21:51 +00:00
kipp%netscape.com
896a295081 Create first-letter frames as needed 1999-04-27 22:14:54 +00:00
troy%netscape.com
9a242a36e1 Factored some common code out into a separate function 1999-04-27 03:58:46 +00:00
troy%netscape.com
49e463ad97 Added code to ContentRemoved() to walk the child frames and look for
placeholder frames; the corresponding out-of-flow frames need to be
removed as well
1999-04-27 03:10:45 +00:00
troy%netscape.com
00edc72db6 Added flag bit NS_FRAME_OUT_OF_FLOW, and changed the frame construction code
to set it for floated and absolutely positioned frames
1999-04-25 17:20:53 +00:00
troy%netscape.com
eda127dabd Change so we use nsPlaceholderFrame frames for all placeholders 1999-04-25 16:58:42 +00:00
troy%netscape.com
4466f403c7 Added GetFrameType() and renamed GetAnchoredItem() to GetOutOfFrameFlow() 1999-04-23 14:34:48 +00:00
troy%netscape.com
5c6fd4e9f3 Removed the :before and :after logic that would make the pseudo-elements
siblings of the element, because the consensus seems to be that it shouldn't
work that way. Generated content is for container elements, and the generated
elements go before and after its child content
1999-04-22 14:31:19 +00:00
evaughan%netscape.com
0bec328133 Added a tab control widget. 1999-04-21 22:46:15 +00:00
troy%netscape.com
20410053f1 Changed ConstructDocElementFrame() to make sure we call CreateViewForFrame()
for the document element's frame
1999-04-21 22:14:30 +00:00
kipp%netscape.com
c83c90fb24 Fixed FindNextSibling to return the first-in-flow not the last in flow 1999-04-21 19:59:40 +00:00
troy%netscape.com
0b93c37f4f Changed GetAbsoluteContainingBlock() to return relatively positioned
block-level and inline-level elements as well
1999-04-20 22:08:33 +00:00
pinkerton%netscape.com
520356c625 create xul slider, spinner, scrollbar, font and color pickers 1999-04-20 21:57:41 +00:00
troy%netscape.com
8644de12ff Changed GetAbsoluteContainingBlock() to be a little smarter about verifying
the frame is an area frame
1999-04-20 21:51:55 +00:00
troy%netscape.com
c68d3e2fd0 Changed CreateContinuingFrame() to know about positioned inline
frames
1999-04-20 20:00:52 +00:00
troy%netscape.com
b53b212ff3 Atom name changes 1999-04-20 18:23:13 +00:00
peterl%netscape.com
485a627711 tweaks to style change handling to ensure that children are handled when parent doesn't change... 1999-04-20 14:23:18 +00:00
troy%netscape.com
19fbe432b9 Part of a fix for bug #5264. CantRenderReplacedElement() no longer asserts for
INPUT elements
1999-04-20 03:57:01 +00:00
troy%netscape.com
8eaead0110 Fix for the layout crash in bug #5263 1999-04-20 02:51:07 +00:00
kipp%netscape.com
211ca77ef3 Create continuing line frames 1999-04-20 00:28:58 +00:00
peterl%netscape.com
09405cfc34 widened state change api
added test for state dependent style
1999-04-20 00:05:14 +00:00
troy%netscape.com
bfd8240682 Work-in-progress for making relatively positioned inline-level elements a
container for absolutely positioned child elements
1999-04-19 19:10:15 +00:00
kmcclusk%netscape.com
848b49f05b fix for bug #3162, Removed #ifndef MAC in the nsSelectControlFrame::GetProperty.
The Mac now supports native combo box widgets so it no longer will crash in GetProperty
with a null mWidget field.
Modified nsComboboxControlFrame::HandleEvents. MouseExit from the combox rect now
initiates mouse capture on the drop-down list.
Modified nsCSSFrameConstructor::ConstructSelectFrame to initialize the drop-down list
for frame-based comboboxes as hidden.
Added a nsIListControlFrame::CaptureMouseEvents method.
Implemented nsListControlFrame::CaptureMouseEvents.
1999-04-16 19:28:12 +00:00
pinkerton%netscape.com
f0743a6a37 added code to create a tristatecheckbox when seen in xul. 1999-04-16 17:08:16 +00:00
michaelp%netscape.com
768d09d96e modified for new view flags. 1999-04-16 04:24:14 +00:00
peterl%netscape.com
bffaa9e0ec fixed XUL code for removal of root element 1999-04-15 21:22:19 +00:00
troy%netscape.com
fb899785d8 Fixes for bug #1994. Better handling of floated and positioned images when
displaying the alternate contents
1999-04-14 04:00:16 +00:00
kmcclusk%netscape.com
a2ffe366a4 Enabled frame-based comboboxes when widget rendering mode is gfx.
Major changes to nsComboboxControlFrame:
Removed commented out code + nsIPluggableEventListener references.
Implemented nsComboboxControlFrame::GetNamesValues
Implemented nsComboboxControlFrame::SetProperty GetProperty methods
Fixed references to previously freed memory in nsComboboxControlFrame::ReResolveStyleContext
Modified ua.css style rules for dropdown-visible, drodown-hidden to have -moz- prefix.
Added -moz-dropdown-btn-out and -moz-dropdown-btn-pressed, -moz-dropdown-list rules.
Modified nsListControlFrame.cpp to calculate the width of the dropdown list for combo boxes correctly
Added nsListControlFrame::GetProperty and SetProperty methods.
Modified nsCSSFrameConstructor::ConstructSelectFrame to setup combobox.
1999-04-12 22:14:31 +00:00
troy%netscape.com
3f98c674e3 Changed ConstructRootFrame() to check if the device is scrollable when
determining whether to make the viewport scrollable
1999-04-11 03:10:20 +00:00
hyatt%netscape.com
5fb3fed6dc Fix for bug 3529. 1999-04-10 09:56:51 +00:00
troy%netscape.com
5eae13db9c Fix for bug #4833. Changed CreateGeneratedContentFrame() to make sure that
'position' is set to 'static'
1999-04-10 04:21:33 +00:00
troy%netscape.com
8025cdb11b Added emebed as one the tags handled in CantRenderReplacedElement() 1999-04-07 05:16:47 +00:00
troy%netscape.com
1fea9f892b Added a check that the content objects match when determining if a
frame is generated content
1999-04-07 03:10:59 +00:00
karnaze%netscape.com
3a62df19c9 bug 4295 - anonymous table frame for caption is part of frame tree 1999-04-06 05:19:38 +00:00
troy%netscape.com
0439adf764 Changed ContentAppended() and ContentInserted() to work correctly
if the parent frame has :before or :after pseudo-elements
1999-04-06 04:58:05 +00:00
troy%netscape.com
d8e2981fbf Better handling of incremental reflow 1999-04-05 23:32:11 +00:00
troy%netscape.com
0cd13af7b0 Work on generated content 1999-04-05 02:53:07 +00:00
peterl%netscape.com
ad074c6781 propogate opacity & visibility changes down the view heirarchy... 1999-04-02 22:57:25 +00:00
peterl%netscape.com
ee221130d7 made some rudimentary connections for generated content into style data 1999-04-02 18:50:45 +00:00
kipp%netscape.com
c49f9d3f77 Don't make floaters a margin root (that was a mistake) 1999-04-01 01:38:00 +00:00
vidur%netscape.com
d801e996bd Added epilog and prolog to document. Added processing instructions and CDATASections for XML. Completed document Node methods. 1999-03-31 20:49:25 +00:00
karnaze%netscape.com
dd8d8927b7 bugs 1318, 4429 - tables containing form controls as children 1999-03-31 06:47:40 +00:00
troy%netscape.com
f772926cd0 Work-in-progress for generated content 1999-03-30 15:22:54 +00:00
syd%netscape.com
2f72fb0105 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.
1999-03-30 01:11:09 +00:00
kipp%netscape.com
fba5a6e88b Create area frame properly so that it applies vertical margins to its children (bug #1080) 1999-03-27 01:19:29 +00:00
evaughan%netscape.com
43351bf5de Added XUL based layout manager. 1999-03-27 00:58:29 +00:00
donm%netscape.com
0a6d95351a backing out evaughan's changes. tree closed. 1999-03-26 19:39:23 +00:00
evaughan%netscape.com
dc2fa174cc Added box layout system. 1999-03-26 18:51:08 +00:00
peterl%netscape.com
bbe0f2a86e protect recreate frames for content against content with no parent 1999-03-25 19:27:11 +00:00
peterl%netscape.com
97f6c80040 capture all change data during style changes and deal with it properly 1999-03-25 06:41:43 +00:00
troy%netscape.com
9a2573ab32 Fix for bug #3445. Changed ReconstructDocElementHierarchy() to handle fixed
elements
1999-03-25 05:24:16 +00:00
troy%netscape.com
ab9a5bc917 Changed CantRenderReplacedElement() to handle APPLET as well 1999-03-24 01:13:59 +00:00
karnaze%netscape.com
24b6f32de4 bug 3835, GetAdjustedParentFrame fixed for caption 1999-03-23 14:16:52 +00:00
kmcclusk%netscape.com
ffdb06e4b0 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.
1999-03-22 21:32:12 +00:00
kipp%netscape.com
15bf5df352 Fixed bug #3905 - frame construction code wasn't dealing with tables properly when they were floated; reviewed by vidur for M3 checkin 1999-03-17 18:17:24 +00:00
karnaze%netscape.com
cfffe095d7 removed some table frame construction warnings. 1999-03-13 12:47:56 +00:00
av%netscape.com
aaad99ca98 Rendering alt context in object tag 1999-03-10 20:43:07 +00:00
hyatt%netscape.com
6fea0b5680 Checking in a patch for a XUL bug in ContentInserted (inside an #ifdef INCLUDE_XUL). 1999-03-07 09:55:39 +00:00
evaughan%netscape.com
204a6670eb 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.
1999-03-06 19:43:13 +00:00
troy%netscape.com
7b9dd5e03b Table header/footer are repeated when splitting tables 1999-03-05 06:00:40 +00:00
evaughan%netscape.com
dbb62f25a6 Fixed a bug that caused TitledButtons and ProgressMeters to be skews when made inline. 1999-03-04 23:39:06 +00:00
scc%netscape.com
2ec0a397ea rename |IID()| --> |GetIID()| 1999-03-03 19:48:57 +00:00
troy%netscape.com
13d84ddc5c Work-in-progress for table pagination 1999-03-03 16:33:57 +00:00
hyatt%netscape.com
a49cb56aaf Fix to the ContentInserted function (ifdef XUL only) for treechildren. 1999-03-03 03:11:55 +00:00
kmcclusk%netscape.com
82dac76411 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
1999-03-02 22:43:26 +00:00
hyatt%netscape.com
2444e248ff Modified ContentInserted (for XUL only) to support the tree widget's
wacky frame construction code.
1999-03-02 01:07:28 +00:00
vidur%netscape.com
cb48e4047a 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. 1999-03-01 16:57:35 +00:00
karnaze%netscape.com
f641f7af45 fixed assert when <col> is placed inside of <table> 1999-02-27 19:02:48 +00:00
peterl%netscape.com
006004dd56 added content state changed 1999-02-27 07:15:09 +00:00
hyatt%netscape.com
2a99f6d706 Changing GetStyleHintForAttributeChanged so that it is invoked on styledContent
instead of htmlContent.
1999-02-27 01:34:32 +00:00
hyatt%netscape.com
6153afc737 Changes to tree frame construction code. 1999-02-27 01:28:19 +00:00
av%netscape.com
e845f0123f *** empty log message *** 1999-02-27 00:57:04 +00:00
kipp%netscape.com
c4b8cdb1ac Whacked to handle moving floaters out of the flow 1999-02-26 17:11:54 +00:00
karnaze%netscape.com
b9d95f9ba2 fixed bug where anonymous table frame is constructed inside table related frame.
simplified table frame construction.
1999-02-26 09:15:03 +00:00
rickg%netscape.com
ce3f1fd855 small bug fixes and removal of global statics 1999-02-26 06:33:54 +00:00
troy%netscape.com
e44548e676 Added logic to replicate the caption when splitting the table 1999-02-26 03:35:22 +00:00
troy%netscape.com
3bdf672129 Removed nsIFrame::CreateContinuingFrame() 1999-02-25 05:31:15 +00:00
troy%netscape.com
da4193eab6 Changed nsIFrame::Init() to take an additional parameter 1999-02-25 03:27:57 +00:00
troy%netscape.com
74a2bd88d0 Work-in-progress for having frame construction code handle creation
of continuing frames
1999-02-24 17:16:04 +00:00
troy%netscape.com
03c5c1f520 Changed GetNextInFlow() and GetPrevInFlow() to be pointer arguments and
not references
1999-02-24 04:48:08 +00:00
troy%netscape.com
da0991df28 Added CreateContinuingFrame() function to frame construction code 1999-02-24 04:03:50 +00:00
kipp%netscape.com
acaeaf5925 Temporarily mark text and BR frames as replaced elements so that inline reflow will work properly 1999-02-23 19:36:14 +00:00
evaughan%netscape.com
91eb54570b Added a new XUL TitledButtonFrame 1999-02-19 18:23:02 +00:00
troy%netscape.com
b236facd7f Added pseudo style for 'page' element 1999-02-19 00:53:09 +00:00
scc%netscape.com
5f8d7aa381 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| 1999-02-18 23:55:10 +00:00
troy%netscape.com
dc28188fdc Fixed a style context problem 1999-02-18 16:56:15 +00:00
hyatt%netscape.com
7d48abba75 Inside an INCLUDE_XUL #ifdef, making sure that HTML atoms get addrefed and
released by the frame constructor.
1999-02-18 05:02:50 +00:00
troy%netscape.com
b1c378db6f Changes for having OBJECT element render its contents if the OBJECT can't
be rendered
1999-02-17 17:02:27 +00:00
danm%netscape.com
8a3666cbb7 changed nsCOMPtr comparison operators to explicitly use get(). part of nsCOMPtr carpool. 1999-02-17 04:39:22 +00:00
troy%netscape.com
912d59f314 Added code to set/get the view manager's root scrollable view 1999-02-16 04:41:15 +00:00
troy%netscape.com
c928d3557c Changed frame construction code to set NS_FRAME_REPLACED_ELEMENT but, and
changed the HTML reflow state to read the bit
1999-02-13 05:59:19 +00:00
kipp%netscape.com
36c243cdc0 COMized nsIPresShell and nsIPresContext 1999-02-12 17:45:58 +00:00
hyatt%netscape.com
bedf348d9a Changes to the table frame construction code to fix breakage in the tree view. 1999-02-12 01:35:37 +00:00
karnaze%netscape.com
0f23c87234 table related frames don't create frames for children that are invalid (e.g. map, body, etc.) 1999-02-11 23:08:28 +00:00
troy%netscape.com
c553baf851 Changed to using nsCOMPtr 1999-02-11 15:54:13 +00:00
peterl%netscape.com
b99cd2021d make viewport frame use a viewport pseudo tag
connected doc root frame's style context to parent frame's style context
1999-02-11 06:40:13 +00:00
hyatt%netscape.com
7ac31f8c5f Changing the way table frames are created so that tree frames can be made
as well.
1999-02-10 19:50:50 +00:00
troy%netscape.com
9d570499cf Changed a bunch more nsIFrame member functions to be pointer arguments
instead of references
1999-02-10 05:38:18 +00:00
troy%netscape.com
2ac7b86865 Changed GetAdditionalChildListName() and FirstChild() to use ** instead
of *&
1999-02-10 02:25:01 +00:00
troy%netscape.com
c85f9efd2a Changed GetParent() to use ** instead of *& 1999-02-10 01:36:30 +00:00
troy%netscape.com
b974e26cea Changed some nsIFrame member functions to use ** instead of *& for OUT
paremeters
1999-02-10 00:42:56 +00:00
troy%netscape.com
c0d9d4be04 Fixed ContentRemoved() to also remove the shell's mapping from absolutely
positioned element to its placeholder
1999-02-06 17:10:42 +00:00
troy%netscape.com
261c24cc5e 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
1999-02-06 03:45:11 +00:00
troy%netscape.com
7b1c2ddcae Changed CantRenderReplacedElement() to use the value of the TITLE attribute
if there's no "alt" text specified
1999-02-05 18:24:48 +00:00
peterl%netscape.com
157564981f moved frame construction code from HTML style sheet 1999-02-05 03:55:18 +00:00