troy%netscape.com
e0f2b783e6
Added 'computedMargin' to nsHTMLReflowState, which replaced the individual
...
margin values (e.g., computedLeftMargin)
git-svn-id: svn://10.0.0.236/trunk@17933 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-17 05:43:02 +00:00
kipp%netscape.com
1f0fa192a0
Switch to using nsFrameList for frame lists
...
git-svn-id: svn://10.0.0.236/trunk@17884 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 22:53:39 +00:00
troy%netscape.com
641be3028f
Replaced "maxSize" member if nsReflowState with "availableWidth" and
...
"availableHeight"
git-svn-id: svn://10.0.0.236/trunk@17201 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-05 23:31:18 +00:00
troy%netscape.com
008a69b28f
Better computation of computed width and height and margins for block-level
...
elements
git-svn-id: svn://10.0.0.236/trunk@17037 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-31 05:35:38 +00:00
troy%netscape.com
c22f41cbf9
Changed width/height constraints in nsHTMLReflowState struct
...
git-svn-id: svn://10.0.0.236/trunk@16998 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-30 17:50:00 +00:00
troy%netscape.com
d76ca7e7fd
Fix for bug #1942 . Also made it so we respect 'width' and 'height' properties
...
specified on the HTML element
git-svn-id: svn://10.0.0.236/trunk@16798 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-22 03:49:04 +00:00
troy%netscape.com
e14ddad715
Renamed NS_NewHTMLFrame() to NS_NewRootFrame()
...
git-svn-id: svn://10.0.0.236/trunk@16758 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-21 18:22:44 +00:00
troy%netscape.com
53950b34bb
Changed the frame hierarchy, and changed how scrolling works. Also added
...
nsAreaFrame which replaces nsBodyFrame which is no longer used
git-svn-id: svn://10.0.0.236/trunk@16734 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-20 23:29:47 +00:00
troy%netscape.com
01f27b2a31
Added Init() member function to nsIFrame
...
git-svn-id: svn://10.0.0.236/trunk@15682 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 06:31:43 +00:00
kipp%netscape.com
699867e794
Support margins on the child frame
...
git-svn-id: svn://10.0.0.236/trunk@15057 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 22:27:33 +00:00
kipp%netscape.com
b08cebd76d
Use revised API's for computing the border/padding
...
git-svn-id: svn://10.0.0.236/trunk@15013 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 17:20:29 +00:00
kipp%netscape.com
b527c7f026
Added DumpRegressionData; revised ListTag; added GetFrameName
...
git-svn-id: svn://10.0.0.236/trunk@14946 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-19 17:22:29 +00:00
troy%netscape.com
3fb74be141
Changed Reflow() to make sure that the child is sized at least as big as the max size
...
we gave it as part of the reflow command
git-svn-id: svn://10.0.0.236/trunk@14909 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 23:49:44 +00:00
joki%netscape.com
f1462f4d55
Reworking internal event code to use nsIFrame::GetFrameForPoint
...
Adding new functionality through nsEventStateManager (cursor change, enter/exit events, tab navig)
git-svn-id: svn://10.0.0.236/trunk@14864 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 05:25:26 +00:00
peterl%netscape.com
01c47ed171
cleaned up cursor style handling
...
git-svn-id: svn://10.0.0.236/trunk@14845 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 02:11:54 +00:00
troy%netscape.com
c3c113628e
Fixed problem that caused Mac build to break
...
git-svn-id: svn://10.0.0.236/trunk@14784 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-17 02:37:47 +00:00
vidur%netscape.com
c67a7ad987
Changes to allow disabling and enabling of style sheets. Introduced ReconstructFrames to nsIFrameConstructor. CSSStyleSheets now remember their document. Temporary fix to allow text content inside CSS tables.
...
git-svn-id: svn://10.0.0.236/trunk@14781 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-17 02:14:38 +00:00
troy%netscape.com
34fb009ccf
Changed Reflow() to deal with reflow commands targeted at the root frame
...
git-svn-id: svn://10.0.0.236/trunk@14761 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-16 23:16:03 +00:00
rickg%netscape.com
a1a662c891
fixed a crash that someone missed
...
git-svn-id: svn://10.0.0.236/trunk@14585 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-13 04:58:35 +00:00
troy%netscape.com
fc79083fd3
Added ListTag() member function
...
git-svn-id: svn://10.0.0.236/trunk@14568 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-13 02:20:31 +00:00
troy%netscape.com
48a7503df3
Cleaned up the way construction of the root frame happens for XML documents.
...
We no longer create a pseudo root element
git-svn-id: svn://10.0.0.236/trunk@14543 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 23:03:35 +00:00
troy%netscape.com
1c0da71da3
Renamed Init() to SetInitialChildList() and added an additional parameter
...
for the name of the child list
git-svn-id: svn://10.0.0.236/trunk@14333 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-10 06:05:32 +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
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
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
aedcffba4d
Fixed it so border and padding style specified for the HTML element
...
work again
git-svn-id: svn://10.0.0.236/trunk@13718 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-30 05:18:59 +00:00
troy%netscape.com
6790bf9cf4
Changed to use a scroll frame for the BODY
...
git-svn-id: svn://10.0.0.236/trunk@13686 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-29 23:25:02 +00:00
michaelp%netscape.com
1cc1204f3b
changes for removal of zindex from nsIView::Init().
...
git-svn-id: svn://10.0.0.236/trunk@13542 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-27 03:37:03 +00:00
peterl%netscape.com
f82390981e
renamed cursor defines
...
git-svn-id: svn://10.0.0.236/trunk@13502 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-26 23:14:17 +00:00
troy%netscape.com
e2209a9a18
Changed scrolling view to use a clip view and to slide the scrolled
...
view up and down rather than maintain a logical scrolled offset
git-svn-id: svn://10.0.0.236/trunk@13080 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-19 00:44:28 +00:00
kipp%netscape.com
3af8f78a16
Added an nsIPresContext& to html-reflow-state's ctors and used it to implement better percentage width/height handling
...
git-svn-id: svn://10.0.0.236/trunk@12575 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-12 14:48:02 +00:00
troy%netscape.com
f910aa1e8b
Changed ReflowChild() to send the WillReflow() notification as well
...
git-svn-id: svn://10.0.0.236/trunk@11982 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 00:27:22 +00:00
troy%netscape.com
31a923050a
Removed calls to MoveTo() BEFORE reflowing a frame. We used to do this
...
sequence: MoveTo(), Reflow(), SetRect(). Now that we have the WillReflow()/
DidReflow() code sandwhiches we no longer need to do the MoveTo()
git-svn-id: svn://10.0.0.236/trunk@11891 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 00:58:32 +00:00
troy%netscape.com
e191c422d9
Eliminated nsIRunaround interface, and folded space manager parameter into
...
nsHTMLReflowState structure
git-svn-id: svn://10.0.0.236/trunk@11749 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 04:10:00 +00:00
troy%netscape.com
7eac0bfdac
Separated reflow process out of nsIFrame and into nsIFrameReflow. Also
...
added nsIHTMLReflow, which is an HTML specific reflow interface
git-svn-id: svn://10.0.0.236/trunk@11646 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 04:46:11 +00:00
kipp%netscape.com
128812b271
Use modified css rendering API; handle background images differently (still not quite right)
...
git-svn-id: svn://10.0.0.236/trunk@11155 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-26 17:14:35 +00:00
kipp%netscape.com
add47d2e83
Added support for percentage base margins to the root, root-content and block frames
...
git-svn-id: svn://10.0.0.236/trunk@11121 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 23:47:59 +00:00
kipp%netscape.com
e3fbcae900
Added in support for border/padding/background-* properties for the HTML frame; added support for margin properties on the child of the HTML frame
...
git-svn-id: svn://10.0.0.236/trunk@11120 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 23:39:06 +00:00
kipp%netscape.com
2a6880e526
Removed unused include
...
git-svn-id: svn://10.0.0.236/trunk@10962 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 21:34:31 +00:00
troy%netscape.com
43e6ab37a3
Removed PreReflowCheck() and PostReflowCheck() from nsContainerFrame
...
git-svn-id: svn://10.0.0.236/trunk@10888 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 03:59:30 +00:00
troy%netscape.com
2731820910
Removed references to mFirstContentOffset, mLastContentIsComplete, and mChildCount
...
git-svn-id: svn://10.0.0.236/trunk@10556 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 03:50:44 +00:00
troy%netscape.com
b0bdb9e357
Removed nsIContentDelegate.h
...
git-svn-id: svn://10.0.0.236/trunk@10418 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 17:34:48 +00:00
troy%netscape.com
28b7bca233
Removed some dead code
...
git-svn-id: svn://10.0.0.236/trunk@10353 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 03:08:23 +00:00
troy%netscape.com
4e069097cb
Removed some XXX CONSTRUCTION commented out code
...
git-svn-id: svn://10.0.0.236/trunk@9934 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-12 04:54:04 +00:00
troy%netscape.com
0c4b9521d5
Phase one of frame construction changes
...
git-svn-id: svn://10.0.0.236/trunk@9742 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-10 19:32:14 +00:00
kipp%netscape.com
429035b95e
new
...
git-svn-id: svn://10.0.0.236/trunk@9558 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-08 22:34:40 +00:00
karnaze
da12569a7e
initial support for <iframe>
...
git-svn-id: svn://10.0.0.236/trunk@3657 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-11 16:46:33 +00:00
peterl
bc184de5ad
sync up to new style data apis
...
git-svn-id: svn://10.0.0.236/trunk@3322 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 06:09:09 +00:00
kipp
d4e22b1e8e
Removed dead code
...
git-svn-id: svn://10.0.0.236/trunk@3272 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 23:08:59 +00:00
kipp
95f8a82db4
Log view creation when it's done; create view when child and parent opacities differ
...
git-svn-id: svn://10.0.0.236/trunk@3224 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 17:50:53 +00:00