Commit Graph

1748 Commits

Author SHA1 Message Date
troy%netscape.com
bc3d710f3f Changed frame construction code to create a simple page sequence frame
when paginated


git-svn-id: svn://10.0.0.236/trunk@14135 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-05 06:13:55 +00:00
troy%netscape.com
12070e6983 Updated to work with new frame construction code
git-svn-id: svn://10.0.0.236/trunk@14134 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-05 06:12:57 +00:00
troy%netscape.com
a76e7f64d4 Added simple page sequence formatting object
git-svn-id: svn://10.0.0.236/trunk@14113 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 23:21:50 +00:00
janc%netscape.com
e1fb42ecd9 New CSS parser test
git-svn-id: svn://10.0.0.236/trunk@14111 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 23:08:16 +00:00
troy%netscape.com
9c9fd15257 Removed code for RootContentFrame class which is no longer used
git-svn-id: svn://10.0.0.236/trunk@14100 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 21:02:32 +00:00
buster%netscape.com
d2ee90c6f6 removed some inefficiencies in finding the parent table frame.
Now the parent table frame is cached in the reflow state.


git-svn-id: svn://10.0.0.236/trunk@14097 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 20:09:19 +00:00
buster%netscape.com
869710ea81 nsHTMLReflowCommand now knows what attribute triggered a StyleChanged notification
git-svn-id: svn://10.0.0.236/trunk@14096 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 19:34:34 +00:00
buster%netscape.com
cbe75d082c in default 2-pass layout, tables with auto width and with all columns coord width now act like auto width tables,
not like specified width (which you might logically expect since all column widths are specified, but sadly that's
not the way Nav or IE interprets this case. )
nsTableFrame's use of IsPseudoFrame has been removed.


git-svn-id: svn://10.0.0.236/trunk@14095 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 19:33:27 +00:00
buster%netscape.com
45096aedf8 nsHTMLReflowCommand now has mAttribute, the attribute that triggered StyleChanged reflow
for reflow commands of type other than StyleChanged, mAttribute is nsnull.


git-svn-id: svn://10.0.0.236/trunk@14094 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 19:26:25 +00:00
troy%netscape.com
01c1aa106c Added some temporary code to GetContainingBlock() to make sure we return
a frame that supports the nsIAbsoluteItems interface


git-svn-id: svn://10.0.0.236/trunk@14040 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 05:35:33 +00:00
michaelp%netscape.com
43acfe6cc5 removed widget parameters from nsIView::Init(). added CreateWidget() and SetWidget()
APIs to replace this functionality. also added CreateScrollControls() to
nsIScrollableView.


git-svn-id: svn://10.0.0.236/trunk@14036 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 04:14:10 +00:00
kipp%netscape.com
23fc9f0716 Added an assertion
git-svn-id: svn://10.0.0.236/trunk@14023 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 00:29:39 +00:00
kipp%netscape.com
eee480656d Removed my style-changed work-around from last time (because it breaks incremental reflow badly); revised QueryInterface to use the revised way of casting
git-svn-id: svn://10.0.0.236/trunk@14022 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 00:29:17 +00:00
peterl%netscape.com
3dd636321e made parent context no longer be optional on re-resolve style context method
git-svn-id: svn://10.0.0.236/trunk@14012 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-03 21:29:14 +00:00
peterl%netscape.com
93d3fcc553 sync to style resolution api changes
git-svn-id: svn://10.0.0.236/trunk@14009 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-03 20:33:43 +00:00
peterl%netscape.com
b574a339c4 sync to style resolution api changes
moved style context re-resolving to frame land


git-svn-id: svn://10.0.0.236/trunk@14008 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-03 20:33:23 +00:00
peterl%netscape.com
26593bba3e changed inheritance of colors
hacked inheritance of vert align for now


git-svn-id: svn://10.0.0.236/trunk@14007 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-03 20:31:21 +00:00
peterl%netscape.com
bb6dae00b4 added inherit rules for table child elements
git-svn-id: svn://10.0.0.236/trunk@14006 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-03 20:25:23 +00:00
peterl%netscape.com
536bb5fb69 sync to style resolution api changes
added reresolve support


git-svn-id: svn://10.0.0.236/trunk@14005 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-03 20:23:15 +00:00
michaelp%netscape.com
fd21a37d46 changed nsIView::Init() so that it no longer takes an opacity value. this
allows the view manager to maintain global state re: opacity.


git-svn-id: svn://10.0.0.236/trunk@13955 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-03 06:36:36 +00:00
kipp%netscape.com
f797cb3825 Whompage to remove unused extra arg to the NS_IMPL_*_ATTR macros
git-svn-id: svn://10.0.0.236/trunk@13946 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-03 01:08:02 +00:00
troy%netscape.com
b0645e2d20 Added some temporary code to ensure that the floated frame is deleted
git-svn-id: svn://10.0.0.236/trunk@13939 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-02 23:57:25 +00:00
joki%netscape.com
4c59734a0a Adding submit event type
git-svn-id: svn://10.0.0.236/trunk@13931 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-02 23:05:46 +00:00
buster%netscape.com
fe5f58e6b1 tables were not properly respecting maxElementSize in cells with colspan. now they do.
git-svn-id: svn://10.0.0.236/trunk@13920 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-02 22:19:17 +00:00
buster%netscape.com
1d02eeaa85 fixed rowspan/cell height problem where subsequent rowspanning cells can
effect previous cell heights.


git-svn-id: svn://10.0.0.236/trunk@13889 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-02 18:32:14 +00:00
troy%netscape.com
03e55a2524 Renamed HaveConstrainedWidth() and HaveConstrainedHeight() to HaveFixedContentWidth()
and HaveFixedContentHeight()


git-svn-id: svn://10.0.0.236/trunk@13833 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-01 01:29:00 +00:00
kipp%netscape.com
6268b0ebfb nit changes
git-svn-id: svn://10.0.0.236/trunk@13827 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-31 22:53:00 +00:00
kipp%netscape.com
c3340327ce Removed a private assert
git-svn-id: svn://10.0.0.236/trunk@13826 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-31 22:50:38 +00:00
kipp%netscape.com
da930054fd Removed mInlineAware
git-svn-id: svn://10.0.0.236/trunk@13825 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-31 22:50:26 +00:00
kipp%netscape.com
44278b8dbc Added vertical alignment tracing; use new line layout white-space handling routines
git-svn-id: svn://10.0.0.236/trunk@13824 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-31 22:50:16 +00:00
kipp%netscape.com
dc85222579 Reworked white-space compression flags so that inline-reflow can detect white-space aware frames properly
git-svn-id: svn://10.0.0.236/trunk@13823 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-31 22:48:56 +00:00
kipp%netscape.com
cd7dbec032 Use revised line-layout whitespace compression methods; fixed trim to not trim out compressed whitespace; fixed code to break multi-span words when the first placable frame contains a breakable point
git-svn-id: svn://10.0.0.236/trunk@13822 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-31 22:48:21 +00:00
kipp%netscape.com
10536d60d8 Support hspace/vspace properly
git-svn-id: svn://10.0.0.236/trunk@13821 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-31 22:45:39 +00:00
troy%netscape.com
ef67a6638f Changed InitConstraints() to set the constraint to be "fixed content"
rather than "constrained" if there's an explicit width or height property
specified


git-svn-id: svn://10.0.0.236/trunk@13810 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-31 17:56:37 +00:00
troy%netscape.com
60eb0f82a8 Added code to invalidate the frame after a resize if there is border or
padding. Otherwise the border/padding area was left dirty


git-svn-id: svn://10.0.0.236/trunk@13790 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-31 04:40:01 +00:00
troy%netscape.com
cb9d4c2248 Added release of content object in SetDocumentInChildrenOf. This fixes a
memory leak


git-svn-id: svn://10.0.0.236/trunk@13787 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-31 04:00:25 +00:00
sar%netscape.com
6bcb5e9aea nsDOMEVent.h -> nsDOMEvent.h to fix build bustage
git-svn-id: svn://10.0.0.236/trunk@13783 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-31 02:15:35 +00:00
kipp%netscape.com
c4968109cb Removed bogus line-height that caused lots of tables to look wrong (bug #636)
git-svn-id: svn://10.0.0.236/trunk@13770 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-31 00:23:52 +00:00
troy%netscape.com
2ffbe5d997 Changed DeleteFrame() to prevent unwanted view event dispatch during frame
destruction


git-svn-id: svn://10.0.0.236/trunk@13766 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-30 23:38:03 +00:00
buster%netscape.com
1249f0b7be implemented basic attribute changed handling. most things currently work, those that don't will work better after Peter
lands some style context resolution changes.


git-svn-id: svn://10.0.0.236/trunk@13764 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-30 23:08:34 +00:00
buster%netscape.com
ec76a92bb8 factored AttributeChanged so when deciding what to do in response to a change,
common attributes are checked first, then content-specific handlers are asked


git-svn-id: svn://10.0.0.236/trunk@13763 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-30 23:06:14 +00:00
kipp%netscape.com
791a1160b9 Support mCombinedArea computation
git-svn-id: svn://10.0.0.236/trunk@13762 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-30 22:15:16 +00:00
kipp%netscape.com
921ba39e2a Support mCombinedArea in metrics; implement MoveInSpaceManager by passing it through to the children
git-svn-id: svn://10.0.0.236/trunk@13761 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-30 22:13:58 +00:00
kipp%netscape.com
1d4ce9d870 Added mCombinedArea to the metrics; added MoveInSpaceManager to the html-reflow methods
git-svn-id: svn://10.0.0.236/trunk@13760 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-30 22:13:14 +00:00
kipp%netscape.com
aac6b1834b Removed anchored-items IID
git-svn-id: svn://10.0.0.236/trunk@13759 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-30 22:12:33 +00:00
kipp%netscape.com
889a98b461 Cleaned up Paint method
git-svn-id: svn://10.0.0.236/trunk@13758 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-30 22:12:19 +00:00
kipp%netscape.com
c5aa091c9a Added MoveInSpaceManager stub
git-svn-id: svn://10.0.0.236/trunk@13757 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-30 22:11:47 +00:00
kipp%netscape.com
ed672de7ee Added PaintChild method that properly handles OUTSIDE_CHILDREN bit
git-svn-id: svn://10.0.0.236/trunk@13756 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-30 22:11:06 +00:00
kipp%netscape.com
4d514e1475 Reworked floater support somewhat now that blocks manage them instead of body frames; fixed up painting to use the outside-children data; support the visibility property; fixed bug #624,#628
git-svn-id: svn://10.0.0.236/trunk@13755 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-30 22:10:10 +00:00
kipp%netscape.com
3d43df67e0 fixed a comment
git-svn-id: svn://10.0.0.236/trunk@13754 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-30 22:09:13 +00:00