Commit Graph
732 Commits
Author SHA1 Message Date
troy@netscape.com c3a031b091 Changed scrolling view to use a clip view and to slide the scrolled
view up and down rather than maintain a logical scrolled offset
1998-10-19 00:44:28 +00:00
kipp@netscape.com 0fab2e49aa Added accessor for the line number 1998-10-17 01:06:17 +00:00
kipp@netscape.com 8e757a2b67 Compute text indent for the first frame in the first line of a body frame 1998-10-17 01:05:58 +00:00
kipp@netscape.com 522664b45c Use :BULLET style information to place bullets instead of hard coding off of the padding (Bug #1119) 1998-10-16 22:39:11 +00:00
kipp@netscape.com 5bac520ca8 Disabled line-height for inline elements; align top/bottom objects better 1998-10-16 22:04:47 +00:00
karnaze@netscape.com 6664ee43b1 added iframe, textarea, fieldset, legend to InlineReplaced list 1998-10-16 21:00:55 +00:00
kipp@netscape.com 186131c784 Support CSS2 floater placement by not allowing them on top of each other; fixed a bug with floater incemental reflow and spacemanager management 1998-10-16 20:22:39 +00:00
kipp@netscape.com 7f6290801c Tweaked the isFloated variable computation to only support left and right floaters 1998-10-16 20:21:11 +00:00
troy@netscape.com a8359de058 Added new state flag NS_FRAME_SYNC_FRAME_AND_VIEW for controlling
whether the view is automatically positioned and sized to stay in
sync with the frame
1998-10-16 20:09:32 +00:00
kipp@netscape.com 7850c88c43 Support line-height property 1998-10-16 03:49:35 +00:00
kipp@netscape.com 2cd66ea4ee Added CalcLineHeightFor method 1998-10-16 03:48:48 +00:00
kipp@netscape.com 6c3febfdc3 Repaired a comment 1998-10-16 03:48:00 +00:00
kipp@netscape.com 5201be029a Fixed negative left margin bug introduced into VerticalAlign...; eliminate usage of mFrameX and mFrameY and passing around bounds instead of using PerFrameData's mBounds. 1998-10-15 23:30:00 +00:00
kipp@netscape.com a431421af2 Removed mFrameX, mFrameY and stop passing around aBounds when the PerFrameData bounds can be used instead 1998-10-15 23:29:02 +00:00
kipp@netscape.com dd827323a3 Implement width/height constraints on non-top-level body's; implement nicer ListTag method 1998-10-15 23:28:36 +00:00
kipp@netscape.com a35e27a2ae Added ListTag; changed GetColumnAvailSpace to take a reflow state 1998-10-15 23:28:05 +00:00
kipp@netscape.com 66744cd160 Added a nicer ListTag method 1998-10-15 23:27:41 +00:00
kipp@netscape.com 916d9af6e1 Support clear attribute on floaters; nicer ListTag method 1998-10-15 23:27:12 +00:00
vidur@netscape.com c22f3d32df Changes to allow absolutely positioned frames to move 1998-10-15 20:26:54 +00:00
troy@netscape.com a5aac23ea7 Changed scroll view frame to have the scrolling view create a child widget.
This allows us to clip child views with widgets, e.g. form elements
1998-10-15 05:28:13 +00:00
kipp@netscape.com 28fdf9dabd Added new atom 1998-10-15 05:11:40 +00:00
kipp@netscape.com d89bcc668b Change CreateAbsoluteView API so pass in a style context 1998-10-15 01:27:49 +00:00
kipp@netscape.com 21539507b7 Set opacity in view 1998-10-15 01:27:25 +00:00
troy@netscape.com 09ec6ecbb4 Changed CreateViewForFrame() to mark the view as having transparent content
iff the background-color is transparent
1998-10-14 21:31:41 +00:00
kipp@netscape.com a315470e39 Pass in style context 1998-10-14 20:11:33 +00:00
kipp@netscape.com 59b9a08058 Revised frame sliding loop to use the pfd instead of the kid frames rect since now the kids rect is not valid until after vertical alignment 1998-10-14 20:11:12 +00:00
kipp@netscape.com 6dd96d2ded Create views when necessary 1998-10-14 20:10:36 +00:00
kipp@netscape.com 3bd593cd49 Create views when necessary; fixed code to avoid IsLeftMostChild when checking during flow floater placement (now that the childs rect is deferred until vertical alignment the code in IsLeftMostChild is no longer valid) 1998-10-14 20:10:08 +00:00
troy@netscape.com 547a0f46d0 Changed nsScrollViewFrame to wrap child frame in a BODY if necessary 1998-10-14 00:03:27 +00:00
troy@netscape.com fac24f043b Changed nsScrollingViewFrame's Reflow() member function to check for a
transparent background
1998-10-13 23:42:21 +00:00
kipp@netscape.com 5353b68e55 Init minWidth,minHeight to keep purify happy 1998-10-13 22:08:34 +00:00
kipp@netscape.com 0124ed125b Removed unused maxWidth,maxHeight variables 1998-10-13 22:08:15 +00:00
karnaze@netscape.com f9fc54790e fixed bug 958, checkboxes wrong background when not checked, select always multiple, text & texarea not reset. html 4 button work in progress. 1998-10-13 21:31:26 +00:00
kipp@netscape.com f3baf27453 New and improved vertical alignment code 1998-10-13 20:42:08 +00:00
troy@netscape.com 2428931cea More work in progress for scroll frame 1998-10-13 04:48:58 +00:00
troy@netscape.com 86761a4227 Work in progress on scroll frame code 1998-10-12 22:13:23 +00:00
michaelp@netscape.com e858bab205 added comment. 1998-10-12 21:12:06 +00:00
kipp@netscape.com fd5a059a8e Return break-before when none of the text gets used 1998-10-12 18:44:58 +00:00
kipp@netscape.com 42a6b662b5 Removed maxAscent/maxDescent; made them computed values 1998-10-12 18:44:18 +00:00
kipp@netscape.com dc4608b7ca use new vertical-align-frames api 1998-10-12 18:43:41 +00:00
kipp@netscape.com d0528d3863 Update frame count when frames are pushed to a new line so that alignment behaves properly 1998-10-12 18:43:07 +00:00
michaelp@netscape.com 7bbe393580 changes per-kipp to make views transparent. 1998-10-12 18:07:28 +00:00
kipp@netscape.com 861ae23d9f Fixed a bug with identifying inline-replaced elements 1998-10-12 17:09:57 +00:00
kipp@netscape.com a16b0dd7bf Removed nsCSSLayout::GetStyleSize and converted callers to use state in the html reflow state 1998-10-12 17:00:32 +00:00
kipp@netscape.com 9f8e72a224 Added an nsIPresContext& to html-reflow-state's ctors and used it to implement better percentage width/height handling 1998-10-12 14:48:02 +00:00
michaelp@netscape.com d32fbc8a05 fixed for new passing of pres context into API. 1998-10-11 00:58:53 +00:00
kipp@netscape.com e188e1f551 Implement look-ahead logic for word breaking 1998-10-10 04:35:21 +00:00
kipp@netscape.com 9cf87c96de Added methods to support word breaking 1998-10-10 04:35:01 +00:00
kipp@netscape.com 9d431aff20 Added mInNBU flag (used to cache line layout's value so that it doesn't change out from under inline reflow) 1998-10-10 04:34:29 +00:00
kipp@netscape.com dc047fc31b check for line layout's InNonBreakingUnit flag and save it and apply to available space checks and CanPlaceFrame to avoid breaking in the middle of a non breakable unit 1998-10-10 04:33:56 +00:00