96 Commits

Author SHA1 Message Date
troy
c7abe18deb Changed the nsBandTrapezoid::State enum values to conform to the coding
standard


git-svn-id: svn://10.0.0.236/trunk@2164 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-22 04:03:14 +00:00
troy
06b63f6642 Some work in progress for incremental floaters
git-svn-id: svn://10.0.0.236/trunk@2161 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-22 02:38:41 +00:00
peterl
25861753fc Changed GetStyleData to use an enum instead of an nsID
git-svn-id: svn://10.0.0.236/trunk@2090 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-21 02:34:13 +00:00
kipp
e91d496797 Fixed GetReflowMetrics to return something; use new tracing methods and verify-tree-enable; compute delta width for line layout logic
git-svn-id: svn://10.0.0.236/trunk@2024 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-20 16:26:34 +00:00
kipp
8397a26e24 dump out state and next-in-flow/prev-in-flow conditionally
git-svn-id: svn://10.0.0.236/trunk@1814 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-18 16:52:41 +00:00
kipp
a6a43e031e Cast lineReflowStatus before comparing for negative values!; eliminated unused variables
git-svn-id: svn://10.0.0.236/trunk@1499 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-13 00:11:51 +00:00
kipp
6e90ba8b92 Moved margin code into line layout
git-svn-id: svn://10.0.0.236/trunk@1488 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-12 23:49:40 +00:00
scullin
b2f44a3b36 Release mode fix.
git-svn-id: svn://10.0.0.236/trunk@1484 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-12 23:32:59 +00:00
troy
43a82bdef4 Space manager API change
git-svn-id: svn://10.0.0.236/trunk@1480 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-12 23:02:47 +00:00
peterl
f9ecfae273 sync to new spacing apis
git-svn-id: svn://10.0.0.236/trunk@1471 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-12 22:28:01 +00:00
troy
a1cde81868 Changed enum to conform with coding standards
git-svn-id: svn://10.0.0.236/trunk@1442 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-12 04:38:23 +00:00
troy
5a839584c7 Change to nsIFrame API
git-svn-id: svn://10.0.0.236/trunk@1441 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-12 04:17:56 +00:00
troy
66c14fdbb1 Wrapped VerifyLines() inside of a NS_DEBUG #define
git-svn-id: svn://10.0.0.236/trunk@1384 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-11 18:54:15 +00:00
troy
b83e1077b0 More incremental reflow work.
git-svn-id: svn://10.0.0.236/trunk@1383 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-11 18:38:10 +00:00
troy
1b3c6fc947 Work in progress on block incremental reflow
git-svn-id: svn://10.0.0.236/trunk@1375 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-09 03:52:29 +00:00
kipp
220394c0ec Support width & height ala css1
git-svn-id: svn://10.0.0.236/trunk@1250 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-07 21:50:56 +00:00
troy
4a9b848ec2 Work in progress
git-svn-id: svn://10.0.0.236/trunk@1242 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-07 21:10:07 +00:00
troy
bfddc50483 Work on getting floaters working again
git-svn-id: svn://10.0.0.236/trunk@1219 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-07 05:25:08 +00:00
kipp
ee8301ea61 Implemented destroy-lines
git-svn-id: svn://10.0.0.236/trunk@1212 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-07 03:45:29 +00:00
kipp
99983b9346 Ported to new CreateFrame/CreateContinuingFrame APIs; removed some debris code
git-svn-id: svn://10.0.0.236/trunk@1203 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-07 00:06:53 +00:00
troy
22a5d2831e Frames no longet store the content index-in-parent
git-svn-id: svn://10.0.0.236/trunk@1169 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-05 23:56:50 +00:00
troy
d14a6a735d Added ContentInserted handler
git-svn-id: svn://10.0.0.236/trunk@1098 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-04 18:32:12 +00:00
troy
087c280a87 Work in progress for incremental reflow (insert)
git-svn-id: svn://10.0.0.236/trunk@1097 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-04 17:54:45 +00:00
troy
7fb32b9f33 Added ComputeDesiredRect() to share some common code between DoResizeReflow()
and IncrementalReflow()


git-svn-id: svn://10.0.0.236/trunk@1077 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-03 04:57:29 +00:00
troy
000dc3a44d Made sure to set previous bottom margin when restoring reflow state
git-svn-id: svn://10.0.0.236/trunk@1075 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-03 04:37:56 +00:00
troy
0973be9e03 Fixed a problem with mY not being updated properly for a bottom
margin


git-svn-id: svn://10.0.0.236/trunk@1074 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-03 04:16:13 +00:00
troy
295ea0d708 Changed body to create block pseudo-frame instead of a column pseudo frame,
and hooked up the reflow appended code


git-svn-id: svn://10.0.0.236/trunk@1072 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-03 03:51:48 +00:00
kipp
292cd327b7 Spanked nsBlockFrame: newly rewritten, broken into two pieces (see nsLineLayout.h,.cpp for the line layout code)
git-svn-id: svn://10.0.0.236/trunk@1058 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-02 00:56:24 +00:00
kostello
7cde78d07b Made SetStyleContext take the presentation context as a parameter
Made DidSetStyleContext virtual, since we need to override the behavior in subclasses


git-svn-id: svn://10.0.0.236/trunk@1026 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-01 20:43:42 +00:00
peterl
f102a97623 updated to new value class api
git-svn-id: svn://10.0.0.236/trunk@924 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-30 19:55:51 +00:00
troy
a10eab0307 Changed space manager to return a list of available and unavailable trapezoids
git-svn-id: svn://10.0.0.236/trunk@821 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-29 00:58:16 +00:00
buster
a762e593b2 sped up nsBlockFrame significantly by reducing the number of times we resolve style by almost 50% on initial layout
(percentage savings go way up as the window is resized)


git-svn-id: svn://10.0.0.236/trunk@720 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-27 22:33:55 +00:00
kipp
902295a137 Fix porting bugs - made it compile on IRIX
git-svn-id: svn://10.0.0.236/trunk@677 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-26 02:59:29 +00:00
kipp
b87f9199b6 Port to removal of nsStyleMolecule
git-svn-id: svn://10.0.0.236/trunk@665 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-25 18:48:48 +00:00
troy
479019563e Added more position properties and removed some stuff from nsStyleMolecule
git-svn-id: svn://10.0.0.236/trunk@587 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-24 03:50:38 +00:00
troy
5a581d1cad More CSS position work
git-svn-id: svn://10.0.0.236/trunk@545 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-23 15:39:48 +00:00
troy
112c68d521 Work in progress on absolutely positioned elements
git-svn-id: svn://10.0.0.236/trunk@509 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-22 16:06:21 +00:00
peterl
90b63547ac WIP moving margin, border & padding out of nsStyleMolecule
Switch to nsIPtr for style context ptrs to eliminate leaks


git-svn-id: svn://10.0.0.236/trunk@497 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-22 06:37:57 +00:00
troy
8fa41c7a75 Changed space manager to pass in the frame that's associated with a block
of unavailable space


git-svn-id: svn://10.0.0.236/trunk@479 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-21 23:06:41 +00:00
troy
e669c44ba0 Changed the space manager interface to return trapezoids instead
of rects


git-svn-id: svn://10.0.0.236/trunk@418 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-20 23:53:47 +00:00
troy
bec18bf03a Changed to using continuing frames for runaround of left/right floaters
git-svn-id: svn://10.0.0.236/trunk@414 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-20 19:56:35 +00:00
troy
c6bcea0c20 Made it so that continuing frames have a top margin of 0
git-svn-id: svn://10.0.0.236/trunk@407 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-20 04:37:49 +00:00
troy
a7dc1c48ab Fixed a problem where mLastContentIsComplete wasn't getting set right
for block-level elements


git-svn-id: svn://10.0.0.236/trunk@373 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-18 22:06:05 +00:00
troy
0246c9bb5c Changed IsSplittable to have three return values
git-svn-id: svn://10.0.0.236/trunk@367 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-17 23:08:20 +00:00
troy
fd68898ebd Changed nsIFrame member functions to return a nsresult
git-svn-id: svn://10.0.0.236/trunk@346 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-17 01:41:24 +00:00
kipp
fb1503758e moved to pub
git-svn-id: svn://10.0.0.236/trunk@165 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-13 20:24:54 +00:00