Граф коммитов

158 Коммитов

Автор SHA1 Сообщение Дата
kipp%netscape.com ef43e0bd4f 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 1998-12-08 03:57:12 +00:00
kipp%netscape.com 0d7c32d9ad 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 1998-12-08 03:47:44 +00:00
kipp%netscape.com dc53d20c74 Disabled fixed height/width ignoring code for shrink-wrap blocks; fixed crash bug with premature deleting of a line 1998-12-07 22:28:55 +00:00
kipp%netscape.com e7aee39193 Major spankage; refactored code; common base class for block/inline frames 1998-12-05 16:02:08 +00:00
troy%netscape.com bd58bde76d Moved view creation to frame construction code. Also moved wrapping of
floated and absolutely positioned elements to frame construction code
1998-12-04 19:03:44 +00:00
troy%netscape.com 53cb72de5e Removed explicit call of base class constructor because it was
making Unix compilers unhappy
1998-12-03 07:20:59 +00:00
troy%netscape.com d97a31f115 Added Init() member function to nsIFrame 1998-12-03 06:31:43 +00:00
kipp%netscape.com a67079f75c Disable fixed behavior when we are shrink wrapping so that floating tables (for example) can ignore their width if necessary 1998-11-20 22:24:20 +00:00
kipp%netscape.com 64d09e5c2b Added support for StyleChanged reflow reason 1998-11-20 17:41:44 +00:00
kipp%netscape.com 1dcf401615 Use revised API's to get percentage padding/borders value right 1998-11-20 17:18:58 +00:00
kipp%netscape.com 318a5e31e4 Override FrameForPoint so that floaters/bullets get events 1998-11-19 18:09:57 +00:00
kipp%netscape.com 63107e9026 Added DumpRegressionData; revised ListTag; added GetFrameName 1998-11-19 17:22:29 +00:00
troy%netscape.com 82e5ab4bdd Fixed it so that we don't ignore painting child frames of a parent frame
thas has "visibility:hidden", because child elements can override their
parent's visibility
1998-11-19 03:52:29 +00:00
troy%netscape.com 63dc45e1f2 Added some constants to use when referring to child list name indices 1998-11-18 06:13:58 +00:00
joki%netscape.com 7716dc91e8 Reworking internal event code to use nsIFrame::GetFrameForPoint
Adding new functionality through nsEventStateManager (cursor change, enter/exit events, tab navig)
1998-11-18 05:25:26 +00:00
kipp%netscape.com 02b071a3cc Revised max-element-size computation somewhat so that floaters are accounted for better 1998-11-17 22:28:51 +00:00
kipp%netscape.com fc05c445ab Fixed up incremental reflow for content-changed and removed floaters 1998-11-17 01:04:45 +00:00
troy%netscape.com 3aedaace4d Split class declaration out into a separate header file so the body frame
can be a derived class
1998-11-16 17:11:12 +00:00
kipp%netscape.com c2f5352414 Removed extraneous bullet padding that was left-over from the pre-pseudo-style days 1998-11-15 01:17:05 +00:00
kipp%netscape.com 32ac80c46e Fixed frame-removed crash case (when we run out kids); bug #691 1998-11-14 21:57:38 +00:00
kipp%netscape.com 6a5fdb0d24 Basic support for :first-letter pseudo-elements 1998-11-14 21:01:26 +00:00
kipp%netscape.com 06f4321aef Modified List code to list floater list and bullet better; support multiple child lists; manage floater list properly 1998-11-14 19:28:11 +00:00
troy%netscape.com 2b86b49c95 Cleaned up the way construction of the root frame happens for XML documents.
We no longer create a pseudo root element
1998-11-12 23:03:35 +00:00
kipp%netscape.com 803e6b8d23 Fixed margin collapsing bug 1998-11-12 22:24:46 +00:00
kipp%netscape.com b8e7c399a3 Fixed some serious bugs in list bullet placement that prevented some relatively easy cases from working at all; this fixes up most outside list bullet cases 1998-11-12 18:19:22 +00:00
kipp%netscape.com 364129b3c8 Fixed list numbering to work again (whoops!); added support for display: compact (just the beginnings); more work-in-progress for :first-letter support 1998-11-12 16:32:56 +00:00
kipp%netscape.com 2035e515d7 Added a sleazy implementation of css2's run-in display type 1998-11-11 03:55:55 +00:00
kipp%netscape.com ebf7629df3 Tidy up by removing some old junky code 1998-11-10 18:03:29 +00:00
troy%netscape.com fd34820203 Renamed Init() to SetInitialChildList() and added an additional parameter
for the name of the child list
1998-11-10 06:05:32 +00:00
troy%netscape.com 02915d3677 First of a few changes to allow frames to have multiple child lists.
FirstChild() now takes an additional argument which is the name of the
child list.
1998-11-09 19:40:27 +00:00
kipp%netscape.com 777b189df1 Disabled some more dubious br/margin code 1998-11-09 17:54:37 +00:00
kipp%netscape.com bb0641ee17 Fixed nowrap support by computing max-element-size better 1998-11-06 02:09:21 +00:00
kipp%netscape.com bb4b401919 Temporary fix to get rid of the green text 1998-11-05 19:38:32 +00:00
kipp%netscape.com 2a74a81c52 Fixed a few more floater bugs; fixed incremental reflow bug with regards to BR tags (clear=all for example); support :first-line properly; work in progress on :first-letter 1998-11-05 19:33:01 +00:00
peterl%netscape.com 776a2683ef sync to style resolution api changes 1998-11-03 20:33:43 +00:00
troy%netscape.com 10c06c1b72 Renamed HaveConstrainedWidth() and HaveConstrainedHeight() to HaveFixedContentWidth()
and HaveFixedContentHeight()
1998-11-01 01:29:00 +00:00
kipp%netscape.com 769f9406a0 nit changes 1998-10-31 22:53:00 +00:00
kipp%netscape.com 09cf8e7724 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 1998-10-30 22:10:10 +00:00
michaelp%netscape.com 10921d7b0b changes to support nsIRenderingContext that conforms to COM conventions. 1998-10-30 02:08:25 +00:00
kipp%netscape.com 22764e9c4f Added justification support 1998-10-27 16:51:02 +00:00
buster%netscape.com 8c8a2f20a6 changed base code so only frames with 0 width AND 0 height are ignored.
this fixes http://home.netscape.com among others that use content-free
nested tables to generate background colors and other evil tricks.
1998-10-22 22:00:50 +00:00
kipp%netscape.com 98c55e2533 Use TextRun API instead of no-longer public variables 1998-10-20 00:21:54 +00:00
kipp%netscape.com 9a401ecee4 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 d83756adae 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 a85dafdfb7 Support clear attribute on floaters; nicer ListTag method 1998-10-15 23:27:12 +00:00
kipp%netscape.com 727f7cef52 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
kipp%netscape.com 3a4c8d38f4 Update frame count when frames are pushed to a new line so that alignment behaves properly 1998-10-12 18:43:07 +00:00
kipp%netscape.com e3998954e5 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 05a50b6ce3 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
kipp%netscape.com 6c09387c60 Pass through text-runs to the line layout engine; removed a debug printf 1998-10-10 04:33:06 +00:00