Commit Graph

546 Commits

Author SHA1 Message Date
troy%netscape.com
8e56559948 Added ListTag() member function 1998-11-13 02:20:31 +00:00
troy%netscape.com
532ccd2885 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
ac0565a8f8 Fixed margin collapsing bug 1998-11-12 22:24:46 +00:00
kipp%netscape.com
f554f82547 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
784d48c0a8 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
45356c7502 Some support for first-letter style 1998-11-12 16:31:38 +00:00
rickg%netscape.com
d3b71028ee enabled view-source 1998-11-11 20:31:45 +00:00
kipp%netscape.com
2f43e35996 Added a sleazy implementation of css2's run-in display type 1998-11-11 03:55:55 +00:00
kipp%netscape.com
add7918774 Added run-in and compact display types to the TreatFrameAsBlockFrame method 1998-11-11 03:54:47 +00:00
karnaze%netscape.com
0051a7f8b8 fixed <frameset frameborder=no> allowed frame resizing 1998-11-10 20:49:51 +00:00
kipp%netscape.com
594ec210f9 Removed unused include 1998-11-10 19:16:32 +00:00
kipp%netscape.com
a6ea00c527 Use lineLayout object to pass on floater to the containing block 1998-11-10 18:04:34 +00:00
kipp%netscape.com
8b1973c472 Added InitFloater 1998-11-10 18:04:19 +00:00
kipp%netscape.com
34bf927f85 Use geometric parent to get containing block of the floater 1998-11-10 18:04:10 +00:00
kipp%netscape.com
366b13adac Removed GetReflowMetrics 1998-11-10 18:03:42 +00:00
kipp%netscape.com
edd04980fc Tidy up by removing some old junky code 1998-11-10 18:03:29 +00:00
troy%netscape.com
527ee073f8 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
6e8a40b6ce Added GetChildListName() member function 1998-11-10 04:31:02 +00:00
karnaze%netscape.com
aec75f892e form control content attribute changes (not all) reflected in layout; fixed scrolling on <iframe>, <frame>;
added nsImageControlFrame to handle <input type=image>.
1998-11-09 23:30:16 +00:00
troy%netscape.com
9d8145f033 Added GetAdditionalChildListName() as a way to discover additional
named child lists at runtime
1998-11-09 19:59:33 +00:00
troy%netscape.com
081c78e696 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
40dbf5063b Disabled some more dubious br/margin code 1998-11-09 17:54:37 +00:00
troy%netscape.com
5befa347fb Added a hack to make sure that the floated frame gets a DidReflow notification 1998-11-07 00:03:45 +00:00
kipp%netscape.com
07564642ae Fixed nowrap support by computing max-element-size better 1998-11-06 02:09:21 +00:00
peterl%netscape.com
eb27d38c27 turned bilnking off when the attribute goes away 1998-11-06 00:50:27 +00:00
kipp%netscape.com
1bafa4a69f Temporary fix to get rid of the green text 1998-11-05 19:38:32 +00:00
kipp%netscape.com
34aec22132 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
kipp%netscape.com
430d6b8b6f Make sure overflow lists get ReResolved too 1998-11-05 19:31:59 +00:00
kipp%netscape.com
c9dcd9009c Added UpdateStyleContexts for support change-out of style contexts 1998-11-05 19:31:39 +00:00
kipp%netscape.com
4957b3f0d6 Added code to repair the style-contexts when pushing/pulling frames for support of :first-line and :first-letter (and so on!) 1998-11-05 19:31:16 +00:00
kipp%netscape.com
ff42a3eb90 Added some first-letter support 1998-11-05 19:30:31 +00:00
kipp%netscape.com
c4da295fd8 Eliminated hacky version of :first-line support; lay some groundwork for :first-letter support 1998-11-05 19:27:42 +00:00
troy%netscape.com
04c879d6fb Changed frame construction code to create a simple page sequence frame
when paginated
1998-11-05 06:13:55 +00:00
troy%netscape.com
22d1bd6f04 Updated to work with new frame construction code 1998-11-05 06:12:57 +00:00
troy%netscape.com
34ef7d33db Added simple page sequence formatting object 1998-11-04 23:21:50 +00:00
troy%netscape.com
768d7859c8 Removed code for RootContentFrame class which is no longer used 1998-11-04 21:02:32 +00:00
buster%netscape.com
c7dbb849e8 nsHTMLReflowCommand now has mAttribute, the attribute that triggered StyleChanged reflow
for reflow commands of type other than StyleChanged, mAttribute is nsnull.
1998-11-04 19:26:25 +00:00
michaelp%netscape.com
dff35cf838 removed widget parameters from nsIView::Init(). added CreateWidget() and SetWidget()
APIs to replace this functionality. also added CreateScrollControls() to
nsIScrollableView.
1998-11-04 04:14:10 +00:00
peterl%netscape.com
ed14dc36b1 made parent context no longer be optional on re-resolve style context method 1998-11-03 21:29:14 +00:00
peterl%netscape.com
cedec7bc27 sync to style resolution api changes 1998-11-03 20:33:43 +00:00
peterl%netscape.com
e046b13589 sync to style resolution api changes
added reresolve support
1998-11-03 20:23:15 +00:00
peterl%netscape.com
2f5892eda7 removed pres context from get style context api
added re-resolve style method
1998-11-03 20:15:24 +00:00
michaelp%netscape.com
d2b75b1ba9 changed nsIView::Init() so that it no longer takes an opacity value. this
allows the view manager to maintain global state re: opacity.
1998-11-03 06:36:36 +00:00
troy%netscape.com
c347b9a308 Added some temporary code to ensure that the floated frame is deleted 1998-11-02 23:57:25 +00:00
troy%netscape.com
fe4e76d9d9 Renamed HaveConstrainedWidth() and HaveConstrainedHeight() to HaveFixedContentWidth()
and HaveFixedContentHeight()
1998-11-01 01:29:00 +00:00
kipp%netscape.com
eb832dc1a3 nit changes 1998-10-31 22:53:00 +00:00
kipp%netscape.com
de68bd9637 Removed a private assert 1998-10-31 22:50:38 +00:00
kipp%netscape.com
f41818bc4c Reworked white-space compression flags so that inline-reflow can detect white-space aware frames properly 1998-10-31 22:48:56 +00:00
kipp%netscape.com
3371afc510 Use revised line-layout whitespace compression methods; fixed trim to not trim out compressed whitespace; fixed code to break multi-span words when the first placable frame contains a breakable point 1998-10-31 22:48:21 +00:00
troy%netscape.com
633fecba5e Added code to invalidate the frame after a resize if there is border or
padding. Otherwise the border/padding area was left dirty
1998-10-31 04:40:01 +00:00
troy%netscape.com
e8b0525ac9 Changed DeleteFrame() to prevent unwanted view event dispatch during frame
destruction
1998-10-30 23:38:03 +00:00
kipp%netscape.com
149a21512a Support mCombinedArea in metrics; implement MoveInSpaceManager by passing it through to the children 1998-10-30 22:13:58 +00:00
kipp%netscape.com
89b3c4cc7c Cleaned up Paint method 1998-10-30 22:12:19 +00:00
kipp%netscape.com
915d9bece5 Added MoveInSpaceManager stub 1998-10-30 22:11:47 +00:00
kipp%netscape.com
5fb9eaee53 Added PaintChild method that properly handles OUTSIDE_CHILDREN bit 1998-10-30 22:11:06 +00:00
kipp%netscape.com
a10209c1f6 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
kipp%netscape.com
ea57904bdd Fixed a coordinate system bug with Offset method 1998-10-30 22:05:22 +00:00
kipp%netscape.com
413e835d6a Added NS_FRAME_OUTSIDE_CHILDREN bit 1998-10-30 22:04:56 +00:00
troy%netscape.com
3c5f78c11a Fixed it so border and padding style specified for the HTML element
work again
1998-10-30 05:18:59 +00:00
michaelp%netscape.com
fc225bf7c1 changes to support nsIRenderingContext that conforms to COM conventions. 1998-10-30 02:08:25 +00:00
troy%netscape.com
c16076d5ca Changed to use a scroll frame for the BODY 1998-10-29 23:25:02 +00:00
kipp%netscape.com
18aaa0bf5a Use normal font always when rendering text-decorations, not the small-caps font 1998-10-28 02:03:40 +00:00
buster%netscape.com
d2409e9b52 fixed nsInlineFrame to compile on MSVC 4.x by moving a method-scoped struct
to be class-scoped.
1998-10-27 23:13:03 +00:00
kipp%netscape.com
114ffe30ce Removed a skid mark 1998-10-27 16:53:48 +00:00
kipp%netscape.com
f9c31f6b2d Fixed underlining bug; support justification 1998-10-27 16:52:34 +00:00
kipp%netscape.com
ad7b8e1864 Implement justification methods 1998-10-27 16:52:10 +00:00
kipp%netscape.com
a6731c54fe Added methods to support justification 1998-10-27 16:51:21 +00:00
kipp%netscape.com
274d1bc566 Added justification support 1998-10-27 16:51:02 +00:00
michaelp%netscape.com
15de205f12 changes for removal of zindex from nsIView::Init(). 1998-10-27 03:37:03 +00:00
peterl%netscape.com
04a0fce0ba renamed cursor defines 1998-10-26 23:14:17 +00:00
kipp%netscape.com
a05bb7ee66 Support letter and word spacing 1998-10-26 17:27:53 +00:00
kipp%netscape.com
a5b11a0e33 Use computed word-len not out parameter that is unset at the time of usage 1998-10-26 17:27:35 +00:00
michaelp%netscape.com
5afda242db changes to support opacity. 1998-10-23 17:54:23 +00:00
karnaze%netscape.com
bcf54e9139 fixed frameborder=0 for <IFRAME>s 1998-10-23 17:52:45 +00:00
karnaze%netscape.com
2a0c2366bb implemented <LABEL>; document maintains list of forms as created; form element properly releases form controls. 1998-10-22 23:00:37 +00:00
buster%netscape.com
381df478eb 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
troy%netscape.com
afea3ec53b Fixed somecomments which had been copied from elsewhere and we not
completely accurate
1998-10-22 21:02:19 +00:00
kipp%netscape.com
bc0df52153 Slimmed down the implementation 1998-10-21 20:05:31 +00:00
kipp%netscape.com
a08c68342d Removed premature optimization of pre vs. non-pre 1998-10-21 20:03:54 +00:00
kipp%netscape.com
4d19ad1d4c Fixed lastFrag computation 1998-10-21 03:07:37 +00:00
kipp%netscape.com
8e19a713b7 Fixed lastFrag computation (doh!) 1998-10-21 03:04:46 +00:00
buster%netscape.com
e081a8bbf6 added AddFrame and RemoveFrame as incremental reflow support methods 1998-10-20 17:44:02 +00:00
kipp%netscape.com
44bf493a8a Implement capitalization trasnform and small-caps font-variant 1998-10-20 16:46:14 +00:00
kipp%netscape.com
51d1e35d56 Added support for capitalization transform 1998-10-20 16:45:14 +00:00
kipp%netscape.com
084fde0160 Added FindTextRunsFor method 1998-10-20 00:23:11 +00:00
kipp%netscape.com
1dc537c5f9 Removed nsTextRun; s/NonBreakingUnit/Word/ 1998-10-20 00:22:48 +00:00
kipp%netscape.com
767b366eda Use TextRun API instead of no-longer public variables 1998-10-20 00:21:54 +00:00
kipp%netscape.com
6f95672654 Spanked hard to use the nsTextTransformer 1998-10-20 00:21:18 +00:00
kipp%netscape.com
206b0ecefe new 1998-10-20 00:17:17 +00:00
troy%netscape.com
e2b6409d3e 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
troy%netscape.com
c1e6962039 Changed a SetFrameState call to not clobber the NS_FRAME_SYNC_FRAME_AND_VIEW
flag
1998-10-17 04:00:58 +00:00
kipp%netscape.com
c3a0922d04 Added accessor for the line number 1998-10-17 01:06:17 +00:00
kipp%netscape.com
c6b279a725 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
951e920f4b 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
1c7a31aab5 Tweaked the isFloated variable computation to only support left and right floaters 1998-10-16 20:21:11 +00:00
troy%netscape.com
6be0630937 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
aba091f50e Repaired a comment 1998-10-16 03:48:00 +00:00
kipp%netscape.com
580c31bce2 Added a nicer ListTag method 1998-10-15 23:27:41 +00:00
kipp%netscape.com
f2de42911f Support clear attribute on floaters; nicer ListTag method 1998-10-15 23:27:12 +00:00
kipp%netscape.com
fb3e6503a0 Create style context for blank frame; added in some missing release calls 1998-10-15 05:13:21 +00:00