1066 Commits

Author SHA1 Message Date
troy%netscape.com
53950b34bb Changed the frame hierarchy, and changed how scrolling works. Also added
nsAreaFrame which replaces nsBodyFrame which is no longer used


git-svn-id: svn://10.0.0.236/trunk@16734 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-20 23:29:47 +00:00
peterl%netscape.com
52a0043631 sync to new attribute api
git-svn-id: svn://10.0.0.236/trunk@16723 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-20 01:21:23 +00:00
kipp%netscape.com
e5e296e58c Implement GetSkipSides so that continued inline frames render properly
git-svn-id: svn://10.0.0.236/trunk@16683 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-18 22:12:42 +00:00
kipp%netscape.com
275833b30d Display inline borders/background during content painting, not during background painting (per css2 spec)
git-svn-id: svn://10.0.0.236/trunk@16682 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-18 22:12:15 +00:00
akkana%netscape.com
4b24d97a17 Attempt to patch mac build error
git-svn-id: svn://10.0.0.236/trunk@16679 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-18 21:04:33 +00:00
troy%netscape.com
90fa7951a8 Added nsAreaFrame.cpp
git-svn-id: svn://10.0.0.236/trunk@16675 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-18 17:59:13 +00:00
troy%netscape.com
b47c186427 Initial check-in
git-svn-id: svn://10.0.0.236/trunk@16674 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-18 17:54:54 +00:00
kipp%netscape.com
d3035fbd10 Fixed numerous compiler warnings (hopefully) from the mac build
git-svn-id: svn://10.0.0.236/trunk@16673 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-18 17:34:34 +00:00
troy%netscape.com
f02e1a1119 Minor cleanup
git-svn-id: svn://10.0.0.236/trunk@16672 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-18 17:33:23 +00:00
kipp%netscape.com
eaee82d4b3 Revised frame Paint API
git-svn-id: svn://10.0.0.236/trunk@16666 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-18 15:54:23 +00:00
troy%netscape.com
1084cdf38d Fixed a compiler warning by include nsHTMLParts.h
git-svn-id: svn://10.0.0.236/trunk@16653 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-18 05:52:05 +00:00
troy%netscape.com
9c2ff0a7c5 Fixed a couple of compiler wanrings by including nsHTMLParts.h
git-svn-id: svn://10.0.0.236/trunk@16652 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-18 05:50:19 +00:00
troy%netscape.com
0985cec450 Fixed a compiler warning by including nsHTMLParts.h
git-svn-id: svn://10.0.0.236/trunk@16650 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-18 05:44:26 +00:00
troy%netscape.com
abce0b152c Eliminated a bunch of code now that CreateViewForFrame() takes care of calling
SetScrolledView()


git-svn-id: svn://10.0.0.236/trunk@16647 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-18 05:26:16 +00:00
troy%netscape.com
cb9f7f7608 Changed CreateViewForFrame() to check whether the parent view is a scrolling
view and if so use SetScrolledView() instead of the view manager's InsertChild().
This ensures that the scrolled frame's view is inserted as a child of the clip
view during the view initialization stage


git-svn-id: svn://10.0.0.236/trunk@16646 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-18 05:25:36 +00:00
scc%netscape.com
d20b401d1b Added static IID() method. This member function will be generated automatically in the future.
git-svn-id: svn://10.0.0.236/trunk@16636 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-18 03:43:29 +00:00
troy%netscape.com
9debb42671 Backed the change back out
git-svn-id: svn://10.0.0.236/trunk@16612 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 22:25:59 +00:00
troy%netscape.com
16badfe907 Changed Paint() to only paing the border if the style info says we're visible
git-svn-id: svn://10.0.0.236/trunk@16602 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 21:34:41 +00:00
kipp%netscape.com
1601fdb733 Disabled skid marks
git-svn-id: svn://10.0.0.236/trunk@16590 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 19:10:53 +00:00
kipp%netscape.com
c84da05ca6 nuked some tabs; added in comment to note where max-element-size computation should be fixed up
git-svn-id: svn://10.0.0.236/trunk@16588 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 18:55:13 +00:00
kipp%netscape.com
59fd0fcd5b Added set/get empty line methods (currently unused)
git-svn-id: svn://10.0.0.236/trunk@16587 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 18:54:40 +00:00
kipp%netscape.com
5a88b6edb8 Add in border and padding to get the max-element-size right
git-svn-id: svn://10.0.0.236/trunk@16586 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 18:54:22 +00:00
kipp%netscape.com
fbc5369c73 Add in margin top and bottom to max-element-size height
git-svn-id: svn://10.0.0.236/trunk@16585 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 18:54:07 +00:00
kipp%netscape.com
7f10d74dd3 Added the AddBorderPaddingToMaxElementSize method to make it easy for implementors to get it right
git-svn-id: svn://10.0.0.236/trunk@16584 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 18:53:14 +00:00
kipp%netscape.com
025e0d4ba8 Factor in margins into in-flow-bounds rect; update max-element-size to include the margins around the block element
git-svn-id: svn://10.0.0.236/trunk@16583 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 18:52:45 +00:00
kipp%netscape.com
c5f1d3ba49 Clean up max-element-size computations; added code to remove empty lines (disabled for now)
git-svn-id: svn://10.0.0.236/trunk@16582 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 18:52:10 +00:00
kipp%netscape.com
0dcc919b64 Added methods for get floater info in the band and a method to compute the impact on the max-element-size of the floaters
git-svn-id: svn://10.0.0.236/trunk@16581 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 18:50:45 +00:00
warren%netscape.com
5f54c1af03 Networking changes: Reworked nsIURL, adding setters, factoring Open. Unsigned arguments for nsIStreamListener.
git-svn-id: svn://10.0.0.236/trunk@16495 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 05:40:20 +00:00
kipp%netscape.com
17c732418d Removed bogus null pointer check
git-svn-id: svn://10.0.0.236/trunk@16446 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 17:59:49 +00:00
shaver%netscape.com
9e90a70671 Add --enable-debug=module1,module2 to selective turn on debugging.
Remove --enable-dom, because Mariner is dead (sob).
Rename some MODULE= lines to make the afore-mentioned --enable-debug
technique actually useful.  Feel free to recategorize.
Fix libraptorhtml.so link bogosity by disabling shared lib generation for the
sub-archives (libraptor*_s.a), so that we can put bin before lib in the
library path and still get the right effect.  We could disable static-lib
generation in most other places and cut the build time down a fair bit, too.
[NOTE: I'm getting on a train...msw@gimp.org has agreed to be my tinderbox
buddy.  Thanks, Matt!]


git-svn-id: svn://10.0.0.236/trunk@16441 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 16:32:37 +00:00
michaelp%netscape.com
5f60004b2a made damagearea management more aggressive as a temporary fix until
individual classes can to the right thing.


git-svn-id: svn://10.0.0.236/trunk@16418 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 05:49:48 +00:00
kipp%netscape.com
154911fa72 Added NS_FRAME_IS_REPLACED macro
git-svn-id: svn://10.0.0.236/trunk@16413 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 04:21:56 +00:00
kipp%netscape.com
2e8adddd5b Fixed up absolute and floating frame types to support replaced variants
git-svn-id: svn://10.0.0.236/trunk@16412 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 04:21:28 +00:00
kipp%netscape.com
d2b528951f Moved floater reflow out of PlaceFloater and into AddFloater so that floaters are only reflowed during reflow, not during placement; Added code to support css 10.3.5; reflow floaters more often so that % width values are recomputed properly
git-svn-id: svn://10.0.0.236/trunk@16411 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 04:20:54 +00:00
kipp%netscape.com
2ce3039b2f Print out state bits in hex too
git-svn-id: svn://10.0.0.236/trunk@16387 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 00:16:32 +00:00
kipp%netscape.com
a7b5b1756b #ifdef'd out the outside-children state methods
git-svn-id: svn://10.0.0.236/trunk@16386 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 00:16:21 +00:00
kipp%netscape.com
24118eb742 Reworked line-height handling: correctly implements the spec; use value computed by nsHTMLReflowState::CalcLineHeight
git-svn-id: svn://10.0.0.236/trunk@16385 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 00:16:00 +00:00
kipp%netscape.com
d37bc79ff0 Removed CalcLineHeightFor
git-svn-id: svn://10.0.0.236/trunk@16384 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 00:15:11 +00:00
kipp%netscape.com
6d68b31e76 Added CalcLineHeight and store it in mLineHeight
git-svn-id: svn://10.0.0.236/trunk@16383 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 00:14:56 +00:00
kipp%netscape.com
4e857157a0 Added CalcLineHeight and apply it to inline non-replaced elements as a constrained height
git-svn-id: svn://10.0.0.236/trunk@16382 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 00:14:36 +00:00
kipp%netscape.com
c2218cb81a Fixed rendering problems with lines with outside children; repaired code (currently unused an ifdef'd) to compute the lines outside children state
git-svn-id: svn://10.0.0.236/trunk@16380 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 00:14:09 +00:00
mjudge%netscape.com
e19079121c adding in selection
git-svn-id: svn://10.0.0.236/trunk@16347 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-14 18:34:14 +00:00
kipp%netscape.com
21b1837275 When verify-reflow-all is enabled, update the display after each reflow and pause for a while
git-svn-id: svn://10.0.0.236/trunk@16323 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 19:21:05 +00:00
kipp%netscape.com
c8a7ca5e0b Factored out whitespace trimming from horizontal alignment
git-svn-id: svn://10.0.0.236/trunk@16322 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 19:20:35 +00:00
kipp%netscape.com
79aff1475c Made ListTag more usable for all frame types, not just derivations of nsFrame
git-svn-id: svn://10.0.0.236/trunk@16321 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 19:20:10 +00:00
kipp%netscape.com
82c8bb51be Moved a #if 0 to get rid of a compiler warning
git-svn-id: svn://10.0.0.236/trunk@16320 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 19:19:48 +00:00
kipp%netscape.com
85576f2757 Reworked incremental reflow floater handling to place floaters as their state is recovered instead of moving them
git-svn-id: svn://10.0.0.236/trunk@16319 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 19:19:11 +00:00
kipp%netscape.com
23fbf960e6 Factored out floater sliding from SlideFrames; Added the dy value to the RecoverState method
git-svn-id: svn://10.0.0.236/trunk@16318 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 19:18:28 +00:00
kipp%netscape.com
ac10ae1a6e Revised ClearFloaters to loop so that all appropriate floaters are cleared
git-svn-id: svn://10.0.0.236/trunk@16317 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 19:17:58 +00:00
troy%netscape.com
6d649a1f27 Changed inline and block reflow code to reset reflow state's isTopOfPage
data member based on whether IsAdjacentWithTop() is true


git-svn-id: svn://10.0.0.236/trunk@16315 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 17:59:30 +00:00