Commit Graph

108 Commits

Author SHA1 Message Date
troy@netscape.com
f03c3b02a7 Aded nsFrameConstructorState structure 1999-04-28 19:08:14 +00:00
alecf@netscape.com
ccf8a5b41d fix script C++ const-ness problem (pedantic bustage) 1999-04-28 02:27:03 +00:00
kipp@netscape.com
7292923d24 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
e7ef0f2821 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
b98dc4690e Create first-letter frames as needed 1999-04-27 22:14:54 +00:00
troy@netscape.com
2acc440b04 Factored some common code out into a separate function 1999-04-27 03:58:46 +00:00
troy@netscape.com
064d687a92 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
5ba717719f 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
895b2a5ae9 Change so we use nsPlaceholderFrame frames for all placeholders 1999-04-25 16:58:42 +00:00
troy@netscape.com
d1f82ae146 Added GetFrameType() and renamed GetAnchoredItem() to GetOutOfFrameFlow() 1999-04-23 14:34:48 +00:00
troy@netscape.com
4c2cc01464 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
f4c749dd1d Added a tab control widget. 1999-04-21 22:46:15 +00:00
troy@netscape.com
3b1f0ba5c5 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
8b72ad8806 Fixed FindNextSibling to return the first-in-flow not the last in flow 1999-04-21 19:59:40 +00:00
troy@netscape.com
a105076b6a 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
ed363422e1 create xul slider, spinner, scrollbar, font and color pickers 1999-04-20 21:57:41 +00:00
troy@netscape.com
879b38dbc6 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
481edb7ba9 Changed CreateContinuingFrame() to know about positioned inline
frames
1999-04-20 20:00:52 +00:00
troy@netscape.com
4088899381 Atom name changes 1999-04-20 18:23:13 +00:00
peterl@netscape.com
471d59c409 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
ec44c229bd 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
31b2c5b197 Fix for the layout crash in bug #5263 1999-04-20 02:51:07 +00:00
kipp@netscape.com
a0acae6dde Create continuing line frames 1999-04-20 00:28:58 +00:00
peterl@netscape.com
686ead6a18 widened state change api
added test for state dependent style
1999-04-20 00:05:14 +00:00
troy@netscape.com
c506c0c7b1 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
4e6cbf8811 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
331a01dcf3 added code to create a tristatecheckbox when seen in xul. 1999-04-16 17:08:16 +00:00
michaelp@netscape.com
45718ff12a modified for new view flags. 1999-04-16 04:24:14 +00:00
peterl@netscape.com
d50d3f2ed7 fixed XUL code for removal of root element 1999-04-15 21:22:19 +00:00
troy@netscape.com
244d123285 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
6d0ccb0c87 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
e7f8e5e9f8 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
2c144f5bc5 Fix for bug 3529. 1999-04-10 09:56:51 +00:00
troy@netscape.com
319e0fc139 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
d0625daa8b Added emebed as one the tags handled in CantRenderReplacedElement() 1999-04-07 05:16:47 +00:00
troy@netscape.com
a05de603d0 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
c7054e93d3 bug 4295 - anonymous table frame for caption is part of frame tree 1999-04-06 05:19:38 +00:00
troy@netscape.com
ce88eee8bd 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
34d05f9c22 Better handling of incremental reflow 1999-04-05 23:32:11 +00:00
troy@netscape.com
0200bf0edc Work on generated content 1999-04-05 02:53:07 +00:00
peterl@netscape.com
9cb92d65c3 propogate opacity & visibility changes down the view heirarchy... 1999-04-02 22:57:25 +00:00
peterl@netscape.com
23e5dfe4d1 made some rudimentary connections for generated content into style data 1999-04-02 18:50:45 +00:00
kipp@netscape.com
cfdc015759 Don't make floaters a margin root (that was a mistake) 1999-04-01 01:38:00 +00:00
vidur@netscape.com
5783ab9995 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
e0a207f6f2 bugs 1318, 4429 - tables containing form controls as children 1999-03-31 06:47:40 +00:00
troy@netscape.com
4b413787c3 Work-in-progress for generated content 1999-03-30 15:22:54 +00:00
syd@netscape.com
e8a8eb5a56 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
f0708ece66 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
7c7c346ac6 Added XUL based layout manager. 1999-03-27 00:58:29 +00:00
donm@netscape.com
36696a2e8c backing out evaughan's changes. tree closed. 1999-03-26 19:39:23 +00:00