949 Commits

Author SHA1 Message Date
kipp%netscape.com
0100dd306f Fix up painting issue; if we end up with a negative damage area then convert to damaging everything
git-svn-id: svn://10.0.0.236/trunk@15105 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-21 17:21:18 +00:00
troy%netscape.com
b060981c1a Improved efficiency by avoiding the dreadfully slow NS_MakeAbsoluteURL() and
only setting the image loader's URL and base URL for the initial reflow


git-svn-id: svn://10.0.0.236/trunk@15100 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-21 04:04:41 +00:00
kipp%netscape.com
ce366ccfba Fixed scroll-frame code to properly fill in the max-element-size
git-svn-id: svn://10.0.0.236/trunk@15098 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-21 03:52:01 +00:00
cyeh%netscape.com
79654fb86d Removing static makefiles as a part of the transition to Autoconf. I have taken great
care to only remove makefiles affailiated with building nglayout. I have also verified that
the build at this point in time succesfully builds with autoconf.

If you must recover one of these makefiles, you can use the static tag STATIC_MAKEFILES.
If I removed a makefile that you need, please e-mail cyeh@netscape.com.


git-svn-id: svn://10.0.0.236/trunk@15084 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-21 00:34:32 +00:00
joki%netscape.com
fe983ab777 Fixing a submit/reset event bug, frame destruction reentrancy bug, and an imagemap bug.
git-svn-id: svn://10.0.0.236/trunk@15081 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-21 00:19:36 +00:00
troy%netscape.com
021ed0f162 Added nsHTMLAtoms::wrappedFramePseudo and changed ConstructFrame() to use
it instead of nsHTMLAtoms::columnPseudo


git-svn-id: svn://10.0.0.236/trunk@15068 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 23:27:59 +00:00
kipp%netscape.com
29dc17dcda Use revised GetContainingBlockContentWidth method
git-svn-id: svn://10.0.0.236/trunk@15058 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 22:28:00 +00:00
kipp%netscape.com
699867e794 Support margins on the child frame
git-svn-id: svn://10.0.0.236/trunk@15057 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 22:27:33 +00:00
kipp%netscape.com
a207569b1c Work around more bugs in the style context code and use old margin calculations; factored get-containing-block-width better
git-svn-id: svn://10.0.0.236/trunk@15056 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 22:27:21 +00:00
kipp%netscape.com
8212a41c48 Disable fixed behavior when we are shrink wrapping so that floating tables (for example) can ignore their width if necessary
git-svn-id: svn://10.0.0.236/trunk@15055 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 22:24:20 +00:00
buster%netscape.com
38df9d7aff added tablePseudo
git-svn-id: svn://10.0.0.236/trunk@15045 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 21:05:31 +00:00
kipp%netscape.com
18ec528130 Added support for StyleChanged reflow reason
git-svn-id: svn://10.0.0.236/trunk@15020 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 17:41:44 +00:00
kipp%netscape.com
4c0e7bb48f Temporary workaround for style issue
git-svn-id: svn://10.0.0.236/trunk@15019 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 17:39:11 +00:00
kipp%netscape.com
8e874e3769 Added mBorderPadding to cache computed value in case percentages are used; renamed class to nsImageFrame
git-svn-id: svn://10.0.0.236/trunk@15014 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 17:21:02 +00:00
kipp%netscape.com
b08cebd76d Use revised API's for computing the border/padding
git-svn-id: svn://10.0.0.236/trunk@15013 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 17:20:29 +00:00
kipp%netscape.com
257cb2e34e Define new API's to compute margin/border/padding/border+padding and handle percentages correctly
git-svn-id: svn://10.0.0.236/trunk@15012 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 17:19:26 +00:00
kipp%netscape.com
74b2e97658 Use revised API's to get percentage padding/borders value right
git-svn-id: svn://10.0.0.236/trunk@15011 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 17:18:58 +00:00
kipp%netscape.com
4d8d60d08d Use revised margin calculation api's; center blocks that have auto margins
git-svn-id: svn://10.0.0.236/trunk@15010 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 17:18:12 +00:00
kipp%netscape.com
115cd2b9ad Use Get methods from style context instead of deprecated methods
git-svn-id: svn://10.0.0.236/trunk@15009 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 17:13:28 +00:00
kipp%netscape.com
07371bd0cd Updated leaf api's to better support caching of computed border/padding when percentages are used
git-svn-id: svn://10.0.0.236/trunk@15008 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 17:13:02 +00:00
kipp%netscape.com
b5fd638826 Added mBorderPadding to cache computed value in case percentages are used
git-svn-id: svn://10.0.0.236/trunk@15007 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 17:12:39 +00:00
kipp%netscape.com
b982296c15 Added mBorderPadding to cache computed value in case percentages are used; renamed class to nsImageFrame
git-svn-id: svn://10.0.0.236/trunk@15006 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 17:12:25 +00:00
troy%netscape.com
c3380a7354 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


git-svn-id: svn://10.0.0.236/trunk@15002 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 06:31:55 +00:00
troy%netscape.com
c80a6013b3 Removed some #include lines that are no longer needed
git-svn-id: svn://10.0.0.236/trunk@14997 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 05:22:45 +00:00
kipp%netscape.com
38fb3310d6 Improved the regression dump data somewhat
git-svn-id: svn://10.0.0.236/trunk@14953 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-19 18:51:53 +00:00
kipp%netscape.com
6eb8511825 Override FrameForPoint so that floaters/bullets get events
git-svn-id: svn://10.0.0.236/trunk@14952 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-19 18:09:57 +00:00
kipp%netscape.com
9ac80e4d0f Factored out FrameForPoint code into one that takes a particular list
git-svn-id: svn://10.0.0.236/trunk@14951 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-19 18:09:03 +00:00
kipp%netscape.com
7380c40198 Added XMLQuote to quote special characters; changed MakeFrameName to avoid needing quoting
git-svn-id: svn://10.0.0.236/trunk@14949 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-19 17:55:22 +00:00
kipp%netscape.com
b527c7f026 Added DumpRegressionData; revised ListTag; added GetFrameName
git-svn-id: svn://10.0.0.236/trunk@14946 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-19 17:22:29 +00:00
troy%netscape.com
ac75bce1c1 Changed to make sure we mark the absolutely positioned element's view as
having transparent content if the visibility is hidden


git-svn-id: svn://10.0.0.236/trunk@14929 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-19 04:26:51 +00:00
troy%netscape.com
72f91661b7 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


git-svn-id: svn://10.0.0.236/trunk@14928 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-19 03:52:29 +00:00
troy%netscape.com
e82def0806 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


git-svn-id: svn://10.0.0.236/trunk@14921 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-19 01:39:07 +00:00
joki%netscape.com
63292505da Modify event flow to avoid walking into trashed frames.
git-svn-id: svn://10.0.0.236/trunk@14919 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-19 00:43:36 +00:00
kipp%netscape.com
475de74c3e Use new methods in nsHTMLReflowState to discover the proper width to base the text-indent percentage on (bug #1048)
git-svn-id: svn://10.0.0.236/trunk@14915 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-19 00:00:18 +00:00
kipp%netscape.com
d2c756191e Added two new utility methods on nsHTMLReflowState for finding a containing block's reflow state and for finding a containing blocks content width
git-svn-id: svn://10.0.0.236/trunk@14914 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 23:59:49 +00:00
troy%netscape.com
3fb74be141 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


git-svn-id: svn://10.0.0.236/trunk@14909 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 23:49:44 +00:00
troy%netscape.com
3a125ad21a Added some constants to use when referring to child list name indices
git-svn-id: svn://10.0.0.236/trunk@14871 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 06:13:58 +00:00
joki%netscape.com
f1462f4d55 Reworking internal event code to use nsIFrame::GetFrameForPoint
Adding new functionality through nsEventStateManager (cursor change, enter/exit events, tab navig)


git-svn-id: svn://10.0.0.236/trunk@14864 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 05:25:26 +00:00
troy%netscape.com
9cb560bf11 Removed mFlags from nsBodyFrame and now we use the mFlags defined by
nsBlockFrame


git-svn-id: svn://10.0.0.236/trunk@14857 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 04:16:03 +00:00
troy%netscape.com
e6e0bfb280 Fixed a couple of cases where I missed calling the base class
git-svn-id: svn://10.0.0.236/trunk@14856 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 04:06:19 +00:00
troy%netscape.com
1d92304a59 Removed mChildCount member data
git-svn-id: svn://10.0.0.236/trunk@14853 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 03:44:08 +00:00
troy%netscape.com
221b0b3bfd Made sure the block's SetFlags() member function is called. This fixes shrink
wrapping so it works again


git-svn-id: svn://10.0.0.236/trunk@14852 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 03:27:04 +00:00
peterl%netscape.com
01c47ed171 cleaned up cursor style handling
git-svn-id: svn://10.0.0.236/trunk@14845 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 02:11:54 +00:00
peterl%netscape.com
79bb1b728a added text pseudo tag
git-svn-id: svn://10.0.0.236/trunk@14842 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 02:09:53 +00:00
amusil%netscape.com
be4a82caa2 Bug fix for 1201. Now use the size parameters from the object tag as a determinant of size.
git-svn-id: svn://10.0.0.236/trunk@14824 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-17 23:29:20 +00:00
kipp%netscape.com
18241f0edb Revised max-element-size computation somewhat so that floaters are accounted for better
git-svn-id: svn://10.0.0.236/trunk@14817 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-17 22:28:51 +00:00
troy%netscape.com
663a7d26dc Changed the body to be a subclass of nsBlockFrame rather than contain a
block frame


git-svn-id: svn://10.0.0.236/trunk@14803 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-17 16:37:39 +00:00
troy%netscape.com
af98c8b1d4 Fixed CreateWrapperFrame() so it resets the geometric and content parent pointers
of the frame being wrapped


git-svn-id: svn://10.0.0.236/trunk@14796 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-17 05:47:06 +00:00
troy%netscape.com
c3c113628e Fixed problem that caused Mac build to break
git-svn-id: svn://10.0.0.236/trunk@14784 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-17 02:37:47 +00:00
vidur%netscape.com
c67a7ad987 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.
git-svn-id: svn://10.0.0.236/trunk@14781 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-17 02:14:38 +00:00