Commit Graph

1134 Commits

Author SHA1 Message Date
kipp%netscape.com
79dd1e596d Define new API's to compute margin/border/padding/border+padding and handle percentages correctly 1998-11-20 17:19:26 +00:00
kipp%netscape.com
7b0a080513 Use revised API's to get percentage padding/borders value right 1998-11-20 17:18:58 +00:00
kipp%netscape.com
19a31f599b Use revised margin calculation api's; center blocks that have auto margins 1998-11-20 17:18:12 +00:00
kipp%netscape.com
ac2b613d40 Use Get methods from style context instead of deprecated methods 1998-11-20 17:13:28 +00:00
kipp%netscape.com
deb074f83f Updated leaf api's to better support caching of computed border/padding when percentages are used 1998-11-20 17:13:02 +00:00
kipp%netscape.com
200bf59a53 Added mBorderPadding to cache computed value in case percentages are used 1998-11-20 17:12:39 +00:00
kipp%netscape.com
f4b67a0608 Added mBorderPadding to cache computed value in case percentages are used; renamed class to nsImageFrame 1998-11-20 17:12:25 +00:00
troy%netscape.com
79aed9646d Added temporary workaround to image frame code to compensate for the fact
that HandleEvent() and GetCursor() are being called with the point not being
translated to the frame's local coordinate space
1998-11-20 06:31:55 +00:00
troy%netscape.com
5bdb79ef7f Removed some #include lines that are no longer needed 1998-11-20 05:22:45 +00:00
kipp%netscape.com
9582e9f3ec Improved the regression dump data somewhat 1998-11-19 18:51:53 +00:00
kipp%netscape.com
157425553e Override FrameForPoint so that floaters/bullets get events 1998-11-19 18:09:57 +00:00
kipp%netscape.com
f120c59e08 Factored out FrameForPoint code into one that takes a particular list 1998-11-19 18:09:03 +00:00
kipp%netscape.com
50e5afb598 Added XMLQuote to quote special characters; changed MakeFrameName to avoid needing quoting 1998-11-19 17:55:22 +00:00
kipp%netscape.com
a6926809f0 Added DumpRegressionData; revised ListTag; added GetFrameName 1998-11-19 17:22:29 +00:00
troy%netscape.com
53d3c08626 Changed to make sure we mark the absolutely positioned element's view as
having transparent content if the visibility is hidden
1998-11-19 04:26:51 +00:00
troy%netscape.com
89d24c72ce 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
22f284d54b Fix for bug #1265. For incremental reflow now checks for the case where the new
height is smaller than the old height and makes sure we erase the entire area
1998-11-19 01:39:07 +00:00
joki%netscape.com
65520ba928 Modify event flow to avoid walking into trashed frames. 1998-11-19 00:43:36 +00:00
kipp%netscape.com
0fc2a76de0 Use new methods in nsHTMLReflowState to discover the proper width to base the text-indent percentage on (bug #1048) 1998-11-19 00:00:18 +00:00
kipp%netscape.com
6681f98a46 Added two new utility methods on nsHTMLReflowState for finding a containing block's reflow state and for finding a containing blocks content width 1998-11-18 23:59:49 +00:00
troy%netscape.com
d4cf65cd18 Changed Reflow() to make sure that the child is sized at least as big as the max size
we gave it as part of the reflow command
1998-11-18 23:49:44 +00:00
troy%netscape.com
9d1564cf4a Added some constants to use when referring to child list name indices 1998-11-18 06:13:58 +00:00
joki%netscape.com
77fd9c2652 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
troy%netscape.com
69fb6f5543 Removed mFlags from nsBodyFrame and now we use the mFlags defined by
nsBlockFrame
1998-11-18 04:16:03 +00:00
troy%netscape.com
cab003320a Fixed a couple of cases where I missed calling the base class 1998-11-18 04:06:19 +00:00
troy%netscape.com
2fdc3b4633 Removed mChildCount member data 1998-11-18 03:44:08 +00:00
troy%netscape.com
74212908e2 Made sure the block's SetFlags() member function is called. This fixes shrink
wrapping so it works again
1998-11-18 03:27:04 +00:00
peterl%netscape.com
265c4ca8a7 cleaned up cursor style handling 1998-11-18 02:11:54 +00:00
peterl%netscape.com
e26b45e286 added text pseudo tag 1998-11-18 02:09:53 +00:00
amusil%netscape.com
e960e8007a Bug fix for 1201. Now use the size parameters from the object tag as a determinant of size. 1998-11-17 23:29:20 +00:00
kipp%netscape.com
552551e512 Revised max-element-size computation somewhat so that floaters are accounted for better 1998-11-17 22:28:51 +00:00
troy%netscape.com
f350be91c1 Changed the body to be a subclass of nsBlockFrame rather than contain a
block frame
1998-11-17 16:37:39 +00:00
troy%netscape.com
4f1b20b058 Fixed CreateWrapperFrame() so it resets the geometric and content parent pointers
of the frame being wrapped
1998-11-17 05:47:06 +00:00
troy%netscape.com
688027c9d3 Fixed problem that caused Mac build to break 1998-11-17 02:37:47 +00:00
vidur%netscape.com
026c273104 Changes to allow disabling and enabling of style sheets. Introduced ReconstructFrames to nsIFrameConstructor. CSSStyleSheets now remember their document. Temporary fix to allow text content inside CSS tables. 1998-11-17 02:14:38 +00:00
kipp%netscape.com
2757f6e3d4 Fixed up incremental reflow for content-changed and removed floaters 1998-11-17 01:04:45 +00:00
kipp%netscape.com
389de1de86 Added in nsHTMLReflowState argument to ReflowFrame so that callers can properly initialize it 1998-11-17 01:04:21 +00:00
kipp%netscape.com
b1f6b6473f Tidy up; added some tracing 1998-11-17 01:03:59 +00:00
kipp%netscape.com
b4c8bce4e2 Removed DidReflow hack again 1998-11-17 01:03:41 +00:00
kipp%netscape.com
c3aca28e6c Look on all lists for frames 1998-11-17 01:03:28 +00:00
troy%netscape.com
bb256efbb7 Changed Reflow() to deal with reflow commands targeted at the root frame 1998-11-16 23:16:03 +00:00
troy%netscape.com
bd01f5a4c1 Added null pointer check in DidSetStyleContext(). This keeps us from crashing
on XML documents
1998-11-16 21:45:24 +00:00
troy%netscape.com
a435cf3ef5 Reinstated hack to have the placeholder frame forward the DidReflow() notification
to the floated frame. Needed until the block frame properly handles FirstChild()
and returns the list of floated frames
1998-11-16 18:33:21 +00:00
troy%netscape.com
d6a65c024a 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
11b65a83d4 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
e45a5dc20c Attempt to compute max-element-size better 1998-11-15 01:13:44 +00:00
kipp%netscape.com
40136f9ee9 Tidy the max-element-size code 1998-11-15 01:13:25 +00:00
kipp%netscape.com
e9a7d36567 Properly walk up the tree to find the real color 1998-11-15 00:20:52 +00:00
kipp%netscape.com
6ad169555b Fixed bug #1257: the bug was that we were overrunning the transformers malloc'd buffer because the mBufferLength was never being updated 1998-11-14 22:27:50 +00:00
kipp%netscape.com
7c3763c3e0 Removed and unused member variable 1998-11-14 22:27:06 +00:00
kipp%netscape.com
68f8209644 Fixed frame-removed crash case (when we run out kids); bug #691 1998-11-14 21:57:38 +00:00
kipp%netscape.com
6bc24733d4 Basic support for :first-letter pseudo-elements 1998-11-14 21:01:26 +00:00
kipp%netscape.com
973c0a528c Eliminated NewFrame 1998-11-14 19:28:34 +00:00
kipp%netscape.com
f064456558 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
kipp%netscape.com
381815af96 Removed hacks that were mostly block-frame bug workarounds 1998-11-14 19:26:57 +00:00
kipp%netscape.com
11391735ba DidReflow now supports multiple child lists; added DeleteFrameList helper method 1998-11-14 19:25:34 +00:00
michaelp%netscape.com
7a9e1a4bc1 changes for pixel scaling/printing. 1998-11-14 01:52:27 +00:00
vidur%netscape.com
d5fc2aaaea Added support for XLink - simple links and show=replace or new. Modified nsILinkHandler interface. 1998-11-14 00:21:19 +00:00
joki%netscape.com
d316927b48 Modify cursor setting code to check css cursor setting for containers. 1998-11-13 23:58:52 +00:00
troy%netscape.com
87eff9d2bf Changed GetLoadImageFailed() so it checks with the image loader rather
than just using the value of mLoadImageFailed. Fixes bug #1287
1998-11-13 21:31:50 +00:00
troy%netscape.com
59a9e518ba Added check for SRC being an empty string 1998-11-13 18:38:16 +00:00
troy%netscape.com
36fd247c25 Changed it so that if there's a NULL URL then we set the mLoadImageFailed
flag and don't try and load the broken image URL. Only on Windows for now
until Mac and Unix support the image icons
1998-11-13 17:00:54 +00:00
troy%netscape.com
59c09cffdc Removed an assert that was incorrect and that triggered when print
previewing test1
1998-11-13 05:17:08 +00:00
rickg%netscape.com
ba3ddb1078 fixed a crash that someone missed 1998-11-13 04:58:35 +00:00
troy%netscape.com
555b09f7bd Added a scroll frame for print preview 1998-11-13 04:22:23 +00:00
troy%netscape.com
8e56559948 Added ListTag() member function 1998-11-13 02:20:31 +00:00
vidur%netscape.com
dbf2544c2b Added script handling to XML content sink. Made sure frame construction by tag wasn't done for XML. 1998-11-12 23:55:47 +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
alecf%netscape.com
72b7591567 fix for unix bustage 1998-11-12 20:27:31 +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
4520864b33 Support for display: compact 1998-11-12 16:32:19 +00:00
kipp%netscape.com
45356c7502 Some support for first-letter style 1998-11-12 16:31:38 +00:00
troy%netscape.com
383e706f7d Changed slightly the check for whether the vertical scrollbar will be hidden.
This way it works better for XML documents that have an initial value for the
overflow property
1998-11-12 03:56:57 +00:00
vidur%netscape.com
8723f8326b Added XML display support. Split nsGenericHTMLElement into generic and HTML-specific components. Minor style modification. New XML classes and interfaces. 1998-11-11 22:06:16 +00:00
troy%netscape.com
3c6f99e1d7 Eliminated the hack where the scroll frame was creating a BODY wrapper for
the scrolled frame. Now the frame construction code creates the wrapper
frame
1998-11-11 04:43:13 +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
85c8ae6bcf Added a method to support propogation of the mRunInFrame info down into the reflow of a block 1998-11-11 03:55:23 +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
kipp%netscape.com
dfbd908044 Added mRunInFrame to the html reflow state so that run-in frame handling can be forwarded from a parent block to a child block 1998-11-11 03:54:15 +00:00
cls%seawood.org
288a1c7f8c Fixes to resource install for xpfe. Fixes to make MOZ_NATIVE_* work again. Thanks to Jeremy Lea <reg@shale.csir.co.za> for the diffs. 1998-11-11 01:53:49 +00:00
kipp%netscape.com
ef7315d187 Fixed AddFrame method hiding 1998-11-10 19:20:53 +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
afb208283b Removed obsolete IIDs 1998-11-10 18:03:53 +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
kipp%netscape.com
eaa75a51fe nuked 1998-11-10 18:02:20 +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
joki%netscape.com
561847577e Stop dual event flow through both frames kids and view kids. Now flows through views. 1998-11-10 00:35:30 +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
troy%netscape.com
3c62625d97 Added support for using foreground color and background color from user
preferences. Also made it so we observe the preferences, get a callback if
they change, and then do a style change reflow
1998-11-06 16:16:01 +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
troy%netscape.com
6214cab218 Changed BODY frame to create a continuing block frame during Init() if
the body has a prev-in-flow
1998-11-05 21:41:12 +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
e6375145fe Added GetAvailWidth 1998-11-05 19:30:45 +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
troy%netscape.com
de38423189 Added some temporary code to GetContainingBlock() to make sure we return
a frame that supports the nsIAbsoluteItems interface
1998-11-04 05:35:33 +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
kipp%netscape.com
043a97b611 Added an assertion 1998-11-04 00:29:39 +00:00
kipp%netscape.com
723caba947 Removed my style-changed work-around from last time (because it breaks incremental reflow badly); revised QueryInterface to use the revised way of casting 1998-11-04 00:29:17 +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
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
joki%netscape.com
7a58f918de Adding submit event type 1998-11-02 23:05:46 +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
bc8ba33541 Removed mInlineAware 1998-10-31 22:50:26 +00:00
kipp%netscape.com
12dbdf6cdd Added vertical alignment tracing; use new line layout white-space handling routines 1998-10-31 22:50:16 +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
0f88fd3cc0 Changed InitConstraints() to set the constraint to be "fixed content"
rather than "constrained" if there's an explicit width or height property
specified
1998-10-31 17:56:37 +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
sar%netscape.com
54b32fe09a nsDOMEVent.h -> nsDOMEvent.h to fix build bustage 1998-10-31 02:15:35 +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
fcee38d414 Support mCombinedArea computation 1998-10-30 22:15:16 +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
f9095ecab3 Added mCombinedArea to the metrics; added MoveInSpaceManager to the html-reflow methods 1998-10-30 22:13:14 +00:00
kipp%netscape.com
3d6c47fc43 Removed anchored-items IID 1998-10-30 22:12:33 +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
b7d0e76c3a fixed a comment 1998-10-30 22:09:13 +00:00
kipp%netscape.com
00631d2c5e Removed nsIAnchoredItems from the body frame; body no longer handles floaters 1998-10-30 22:08:48 +00:00
kipp%netscape.com
9cff3505a4 Removed nsIAnchoredItems from the body frame; body no longer handles floaters; allow style change to turn into a full reflow 1998-10-30 22:08:32 +00:00
kipp%netscape.com
69df327e3e Moved frame-border rendering debug hook here 1998-10-30 22:06:14 +00:00
troy%netscape.com
409492dd67 Moved cursor and mouse enter/exit related logic from RootContentFrame to
body frame
1998-10-30 21:54:57 +00:00
troy%netscape.com
75a3527336 Fixed ComputeDesiredSize() to make sure it includes the absolutely positioned
items
1998-10-30 21:43:16 +00:00
troy%netscape.com
cc5ad37044 Some fixes to correctly compute the desired size 1998-10-30 05:50:07 +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
e8f864f12c Added code to honor constrained width 1998-10-28 21:10:20 +00:00
troy%netscape.com
e447235e34 Sets the scrolling view's scroll preference and checks whether the scrolled
frame is a BODY frame
1998-10-28 17:29:51 +00:00
cls%seawood.org
411ab80ce3 New autoconf files for nglayout 1998-10-28 03:53:57 +00:00
kipp%netscape.com
b25c3384c4 Removed old usage of AddPlacedFrame 1998-10-28 02:40:36 +00:00
kipp%netscape.com
0848982512 Fixed bug #1173 - the margin.top was subtracted instead of added... 1998-10-28 02:36:06 +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
troy%netscape.com
e3a47e2933 Made sure to set the opacity and z-index when creating the views 1998-10-26 21:46:33 +00:00
troy%netscape.com
baf46fce94 Changed to handle incremental reflow 1998-10-26 20:32:32 +00:00
troy%netscape.com
ad0678461d Passed in the z-index for InsertChild() call 1998-10-26 20:01:40 +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
kipp%netscape.com
b987962daf Added new atoms 1998-10-26 17:27:04 +00:00
troy%netscape.com
0cadccb4e3 Changed the ordering so we mark the scrolled view as having transparent
content before setting the scrolling view's scrolled view
1998-10-25 04:15:08 +00:00
troy%netscape.com
cb194ac5fa Added code to decide whether the view has transparent content based on
whether the background color is transparent
1998-10-24 05:03:33 +00:00
troy%netscape.com
6b3423d21a Added code to repaint the scrolled frame during a resize reflow 1998-10-24 04:57:48 +00:00
michaelp%netscape.com
5afda242db changes to support opacity. 1998-10-23 17:54:23 +00:00
troy%netscape.com
5ca8612785 Removed dead code 1998-10-23 02:36:07 +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
f6c9594f8f Reduced the number of frames 1998-10-22 21:44:30 +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
troy%netscape.com
9b9a796719 Added new pseudo class style :SCROLLED-CONTENT 1998-10-22 20:12:34 +00:00
troy%netscape.com
ad2a696256 Removed some dead code 1998-10-22 18:32:43 +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
84222783bc Make sure that everything fits when wrapping is off; in addition give wrapped objects all the room that they want 1998-10-21 20:02:36 +00:00
troy%netscape.com
e4d5c45705 Changed to use new SetControlInsets() feature of scrolling view 1998-10-21 16:07:07 +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
24008ebb0c Added text transformer to the build 1998-10-20 00:23:44 +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
edb75ce15e s/NBU/word 1998-10-20 00:22:24 +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
kipp%netscape.com
c3a0922d04 Added accessor for the line number 1998-10-17 01:06:17 +00:00
kipp%netscape.com
a134288b35 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
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
e0ae19a560 Disabled line-height for inline elements; align top/bottom objects better 1998-10-16 22:04:47 +00:00
karnaze%netscape.com
1c777f29bf added iframe, textarea, fieldset, legend to InlineReplaced list 1998-10-16 21:00:55 +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
80dacaee7e Support line-height property 1998-10-16 03:49:35 +00:00
kipp%netscape.com
1de030a6f3 Added CalcLineHeightFor method 1998-10-16 03:48:48 +00:00
kipp%netscape.com
aba091f50e Repaired a comment 1998-10-16 03:48:00 +00:00
kipp%netscape.com
1d04286873 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
9d2b85fa64 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
04f8faaf39 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
226f8032b2 Added ListTag; changed GetColumnAvailSpace to take a reflow state 1998-10-15 23:28:05 +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
vidur%netscape.com
4d87ce50d3 Changes to allow absolutely positioned frames to move 1998-10-15 20:26:54 +00:00
troy%netscape.com
a3faadc325 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
c151b51242 Added new atom 1998-10-15 05:11:40 +00:00
kipp%netscape.com
c01a050ddd Change CreateAbsoluteView API so pass in a style context 1998-10-15 01:27:49 +00:00
kipp%netscape.com
a93c244b68 Set opacity in view 1998-10-15 01:27:25 +00:00
troy%netscape.com
0b0f2c3e12 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
639760bb7b Pass in style context 1998-10-14 20:11:33 +00:00
kipp%netscape.com
c7d9ce1572 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
783eca0357 Create views when necessary 1998-10-14 20:10:36 +00:00
kipp%netscape.com
fcb61a671c 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
0eed0c008c Changed nsScrollViewFrame to wrap child frame in a BODY if necessary 1998-10-14 00:03:27 +00:00
troy%netscape.com
f919eae25a Changed nsScrollingViewFrame's Reflow() member function to check for a
transparent background
1998-10-13 23:42:21 +00:00
kipp%netscape.com
50b6eb8316 Init minWidth,minHeight to keep purify happy 1998-10-13 22:08:34 +00:00
kipp%netscape.com
9bba4ff432 Removed unused maxWidth,maxHeight variables 1998-10-13 22:08:15 +00:00
karnaze%netscape.com
c82d985b8a 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
2719cddbf8 New and improved vertical alignment code 1998-10-13 20:42:08 +00:00
troy%netscape.com
d6cb0bb812 More work in progress for scroll frame 1998-10-13 04:48:58 +00:00
troy%netscape.com
713db072d6 Work in progress on scroll frame code 1998-10-12 22:13:23 +00:00
michaelp%netscape.com
571598c41c added comment. 1998-10-12 21:12:06 +00:00
kipp%netscape.com
981d874132 Return break-before when none of the text gets used 1998-10-12 18:44:58 +00:00
kipp%netscape.com
f467a8ae21 Removed maxAscent/maxDescent; made them computed values 1998-10-12 18:44:18 +00:00
kipp%netscape.com
d899c4e8cf use new vertical-align-frames api 1998-10-12 18:43:41 +00:00
kipp%netscape.com
ad26a95ac9 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
999bf82ffa changes per-kipp to make views transparent. 1998-10-12 18:07:28 +00:00
kipp%netscape.com
70a7013da7 Fixed a bug with identifying inline-replaced elements 1998-10-12 17:09:57 +00:00
kipp%netscape.com
a77548baff 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
ea5a5735f5 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
cb569a69be fixed for new passing of pres context into API. 1998-10-11 00:58:53 +00:00
kipp%netscape.com
367bee9920 Implement look-ahead logic for word breaking 1998-10-10 04:35:21 +00:00
kipp%netscape.com
2031470780 Added methods to support word breaking 1998-10-10 04:35:01 +00:00