kipp%netscape.com
d2b528951f
Moved floater reflow out of PlaceFloater and into AddFloater so that floaters are only reflowed during reflow, not during placement; Added code to support css 10.3.5; reflow floaters more often so that % width values are recomputed properly
...
git-svn-id: svn://10.0.0.236/trunk@16411 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 04:20:54 +00:00
kipp%netscape.com
2ce3039b2f
Print out state bits in hex too
...
git-svn-id: svn://10.0.0.236/trunk@16387 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 00:16:32 +00:00
kipp%netscape.com
a7b5b1756b
#ifdef'd out the outside-children state methods
...
git-svn-id: svn://10.0.0.236/trunk@16386 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 00:16:21 +00:00
kipp%netscape.com
24118eb742
Reworked line-height handling: correctly implements the spec; use value computed by nsHTMLReflowState::CalcLineHeight
...
git-svn-id: svn://10.0.0.236/trunk@16385 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 00:16:00 +00:00
kipp%netscape.com
d37bc79ff0
Removed CalcLineHeightFor
...
git-svn-id: svn://10.0.0.236/trunk@16384 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 00:15:11 +00:00
kipp%netscape.com
6d68b31e76
Added CalcLineHeight and store it in mLineHeight
...
git-svn-id: svn://10.0.0.236/trunk@16383 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 00:14:56 +00:00
kipp%netscape.com
4e857157a0
Added CalcLineHeight and apply it to inline non-replaced elements as a constrained height
...
git-svn-id: svn://10.0.0.236/trunk@16382 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 00:14:36 +00:00
kipp%netscape.com
c2218cb81a
Fixed rendering problems with lines with outside children; repaired code (currently unused an ifdef'd) to compute the lines outside children state
...
git-svn-id: svn://10.0.0.236/trunk@16380 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 00:14:09 +00:00
mjudge%netscape.com
e19079121c
adding in selection
...
git-svn-id: svn://10.0.0.236/trunk@16347 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-14 18:34:14 +00:00
kipp%netscape.com
21b1837275
When verify-reflow-all is enabled, update the display after each reflow and pause for a while
...
git-svn-id: svn://10.0.0.236/trunk@16323 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 19:21:05 +00:00
kipp%netscape.com
c8a7ca5e0b
Factored out whitespace trimming from horizontal alignment
...
git-svn-id: svn://10.0.0.236/trunk@16322 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 19:20:35 +00:00
kipp%netscape.com
79aff1475c
Made ListTag more usable for all frame types, not just derivations of nsFrame
...
git-svn-id: svn://10.0.0.236/trunk@16321 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 19:20:10 +00:00
kipp%netscape.com
82c8bb51be
Moved a #if 0 to get rid of a compiler warning
...
git-svn-id: svn://10.0.0.236/trunk@16320 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 19:19:48 +00:00
kipp%netscape.com
85576f2757
Reworked incremental reflow floater handling to place floaters as their state is recovered instead of moving them
...
git-svn-id: svn://10.0.0.236/trunk@16319 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 19:19:11 +00:00
kipp%netscape.com
23fbf960e6
Factored out floater sliding from SlideFrames; Added the dy value to the RecoverState method
...
git-svn-id: svn://10.0.0.236/trunk@16318 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 19:18:28 +00:00
kipp%netscape.com
ac10ae1a6e
Revised ClearFloaters to loop so that all appropriate floaters are cleared
...
git-svn-id: svn://10.0.0.236/trunk@16317 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 19:17:58 +00:00
troy%netscape.com
6d649a1f27
Changed inline and block reflow code to reset reflow state's isTopOfPage
...
data member based on whether IsAdjacentWithTop() is true
git-svn-id: svn://10.0.0.236/trunk@16315 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 17:59:30 +00:00
troy%netscape.com
5b41f50a55
Changed Reflow() to set isTopOfPage in reflow state
...
git-svn-id: svn://10.0.0.236/trunk@16314 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 17:58:18 +00:00
kipp%netscape.com
2008c897f6
I disabled selection rendering until it works again
...
git-svn-id: svn://10.0.0.236/trunk@16297 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 03:05:24 +00:00
kipp%netscape.com
3c1b246951
Compute correct Y coordinate after clear floaters; fixed bullet positioning bug when placing a bullet next to a block frame that has a carried-out top margin
...
git-svn-id: svn://10.0.0.236/trunk@16275 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 22:26:45 +00:00
kipp%netscape.com
a29aa1b885
When dealing with a percentage-width HR, don't let it impact the max-element-size.width inappropriately
...
git-svn-id: svn://10.0.0.236/trunk@16274 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 22:23:18 +00:00
kipp%netscape.com
ab5cde8c0a
Tweaked reflow status to be legible
...
git-svn-id: svn://10.0.0.236/trunk@16246 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 15:53:03 +00:00
kipp%netscape.com
bbdafa23dc
Changed breaking behavior so that empty frames don't trigger a break even if the horizontal space is already over committed
...
git-svn-id: svn://10.0.0.236/trunk@16245 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 15:50:12 +00:00
kipp%netscape.com
d8afc6ef07
Removed bogus assert that was tripping on spacer-frames; fixed up justification behavior (thanks harish!)
...
git-svn-id: svn://10.0.0.236/trunk@16244 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 15:49:07 +00:00
peterl%netscape.com
59edc94473
removed pseudo class atoms (moved to css atoms)
...
git-svn-id: svn://10.0.0.236/trunk@16209 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 02:36:36 +00:00
nisheeth%netscape.com
bc46c631a2
Added a new method, GetStyleHintForAttributeChange() to nsIHTMLContent.
...
git-svn-id: svn://10.0.0.236/trunk@16192 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 00:52:55 +00:00
troy%netscape.com
6a4e7032a9
Minor change to the flow of control to make it more readable
...
git-svn-id: svn://10.0.0.236/trunk@16117 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 03:20:31 +00:00
troy%netscape.com
09c5c0329a
Added print options for controlling whether odd and even pages are printed
...
git-svn-id: svn://10.0.0.236/trunk@16115 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 03:07:11 +00:00
troy%netscape.com
55cb5a040c
Fix for bug 1831 where an auto horizontal scrollbar was causing a vertical
...
scrollbar to be displayed even though it wasn't needed
git-svn-id: svn://10.0.0.236/trunk@16112 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 00:52:58 +00:00
kipp%netscape.com
78fe4cf1a1
Only zero out the height/ascent/descent if the empty text is not a pre-formatted piece of empty text, otherwise blank lines in PRE sections disappear
...
git-svn-id: svn://10.0.0.236/trunk@16110 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 00:30:52 +00:00
kipp%netscape.com
aae87bb6cc
Compute percentage base properly
...
git-svn-id: svn://10.0.0.236/trunk@16107 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 23:51:39 +00:00
troy%netscape.com
4694f541a3
Moved StartDocument/EndDocument calls to document viewer impl's Print() member
...
function. This fits better with the Mac's printing model
git-svn-id: svn://10.0.0.236/trunk@16099 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 22:36:57 +00:00
troy%netscape.com
0a0b7ae6b0
Added new atoms to nsLayoutAtoms for additional named frame child lists
...
git-svn-id: svn://10.0.0.236/trunk@16032 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 05:30:17 +00:00
kipp%netscape.com
a048610ac8
Backed out one change
...
git-svn-id: svn://10.0.0.236/trunk@16027 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 03:40:42 +00:00
cltbld%netscape.com
cd400f55ba
add nsBlockBandData.h per kipp's addition
...
git-svn-id: svn://10.0.0.236/trunk@16009 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 23:25:30 +00:00
kipp%netscape.com
5f8a1a12d4
new
...
git-svn-id: svn://10.0.0.236/trunk@15993 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 21:44:22 +00:00
kipp%netscape.com
59ad825d3e
Added some debug checks to sizes; keep zero sized items on the same line whenever possible
...
git-svn-id: svn://10.0.0.236/trunk@15992 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 21:43:42 +00:00
kipp%netscape.com
5014326024
Factored out the block-band-data class; fixed a bug with treating block objects that weren't really nsBlockFrame's like they were (bug #1713 )
...
git-svn-id: svn://10.0.0.236/trunk@15991 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 21:43:15 +00:00
kipp%netscape.com
c79140ae51
Added nsBlockBandData
...
git-svn-id: svn://10.0.0.236/trunk@15990 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 21:42:35 +00:00
mjudge%netscape.com
03ace6e2d1
chagnes to selection
...
git-svn-id: svn://10.0.0.236/trunk@15977 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 18:26:06 +00:00
kipp%netscape.com
14ec540a13
Fixed bug #1621 - if a floater was too wide and it was right aligned it would end up positioned off the left edge of the block
...
git-svn-id: svn://10.0.0.236/trunk@15961 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 03:57:12 +00:00
kipp%netscape.com
9e360eec32
Removed check for a band count of when when clearing floaters because if the floater is large the band may only have one trapezoid in it
...
git-svn-id: svn://10.0.0.236/trunk@15959 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 03:47:44 +00:00
troy%netscape.com
d0f172e81d
Improved height calculation when there are floaters. Now we check against
...
the content area y-most rather than the frame bounds y-most. This ensures
that border and padding are respected along the bottom edge
git-svn-id: svn://10.0.0.236/trunk@15942 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 00:01:12 +00:00
kipp%netscape.com
2c0c8a72a7
Disabled fixed height/width ignoring code for shrink-wrap blocks; fixed crash bug with premature deleting of a line
...
git-svn-id: svn://10.0.0.236/trunk@15938 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 22:28:55 +00:00
kipp%netscape.com
2c7beba568
Added DeleteLine method
...
git-svn-id: svn://10.0.0.236/trunk@15937 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 22:28:23 +00:00
kipp%netscape.com
d596ead678
Slightly better handling of left/right block margins
...
git-svn-id: svn://10.0.0.236/trunk@15932 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 19:34:41 +00:00
harishd%netscape.com
5928b4de66
Changed all the places that previously accessed mBorderStyle and mBorderColor
...
with the new methods added in nsStyleSpacing
git-svn-id: svn://10.0.0.236/trunk@15922 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 18:53:07 +00:00
troy%netscape.com
a2f34c611a
Added support for printing multiple pages
...
git-svn-id: svn://10.0.0.236/trunk@15901 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 03:43:02 +00:00
kipp%netscape.com
5e7cf3bb10
Setup first-letter-style to be off by default
...
git-svn-id: svn://10.0.0.236/trunk@15850 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-05 16:05:52 +00:00
kipp%netscape.com
c45965fd71
Removed handling of block frames (its done by nsBlockReflowContext now)
...
git-svn-id: svn://10.0.0.236/trunk@15849 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-05 16:05:23 +00:00