troy%netscape.com
9421d8093b
Fixed FindFrameWithContent() to do a better job of recognizing placeholder
...
frames and skipping them
1999-01-07 04:47:43 +00:00
karnaze%netscape.com
e8b01f3e65
Preliminary changes to support align="char"
1999-01-07 01:00:07 +00:00
brade%netscape.com
7cf519f500
reduce Macintosh compiler warnings byadding prototype
1999-01-06 18:52:58 +00:00
troy%netscape.com
c4fdc16c32
This time I think I got 'em in alphabetical order...
1999-01-06 04:41:47 +00:00
troy%netscape.com
4889338bcb
Did a better job of alphabetizing the source files
1999-01-06 04:39:33 +00:00
troy%netscape.com
7f16b026c6
Renamed nsFRameReflowState.cpp to nsHTMLReflowState.cpp
1999-01-06 03:46:55 +00:00
troy%netscape.com
59d1bc8ea5
Replaced "maxSize" member if nsReflowState with "availableWidth" and
...
"availableHeight"
1999-01-05 23:31:18 +00:00
kipp%netscape.com
8fc647b798
Use macros from nsTextFragment
1999-01-05 23:02:27 +00:00
kipp%netscape.com
eedfe48223
Reinstated the last set of checkins that were backed out
1999-01-05 23:01:54 +00:00
troy%netscape.com
a8ad5f82cb
Initial check-in
1999-01-05 19:44:41 +00:00
donm%netscape.com
4de9f3ce79
backing out changes against a long red tree. would like to clear
...
the hook. -donm
1999-01-05 18:16:05 +00:00
kipp%netscape.com
1bb63c7c14
Fix handling of removed-child incremental reflow to no longer crash (bug #1941 ); also disabled incremental behavior for remove and inserted for now so that layout looks correct
1999-01-05 17:50:41 +00:00
kipp%netscape.com
6d76be6bac
Removed aPrevSibling from DoRemoveFrame's arg list
1999-01-05 17:49:44 +00:00
amusil%netscape.com
6a0e7ba4b2
Temporary workaround so that plugins display correctly. This will change after support for
...
CSS borders and padding are added.
1999-01-04 23:45:38 +00:00
troy%netscape.com
76dc813a2c
Changed nsISpaceManager interface to conform to XP-COM conventions on
...
return values
1999-01-04 04:54:33 +00:00
troy%netscape.com
d41efd6b76
Moved enum and replaced it with #defines
1999-01-03 00:31:46 +00:00
troy%netscape.com
99ddeb519f
Changed comment to reflect the current state of the tree
1999-01-02 23:05:08 +00:00
troy%netscape.com
84c0ab655a
Changed computed width calculation for internal table elements to take
...
border/padding into account
1999-01-02 22:54:12 +00:00
troy%netscape.com
70276dcf16
Added logic to make sure that internal table elements have reasonable
...
values for the computed width/height
1999-01-02 21:03:51 +00:00
troy%netscape.com
34f0a7ddad
Changed CreatePlaceholderFrame() to use a pseudo element style context
...
(:PLACEHOLDER-FRAME) for the placeholder frame. This way it looks like an
inline static frame with a specified size of (0, 0)
1999-01-02 20:51:43 +00:00
troy%netscape.com
840a4698d6
Fix for bug 2109. If the child's maxSize.width is smaller than the containing
...
block's computed width then use it instead
1999-01-02 19:21:32 +00:00
troy%netscape.com
0d6811e355
Changed InitConstraints() to handle inline, block-level, and floated elements
...
(replaced and non-replaced)
1998-12-31 23:07:00 +00:00
troy%netscape.com
8646017faa
Better computation of computed width and height and margins for block-level
...
elements
1998-12-31 05:35:38 +00:00
troy%netscape.com
781a43ae69
Changed width/height constraints in nsHTMLReflowState struct
1998-12-30 17:50:00 +00:00
troy%netscape.com
2d85339219
Fixed it up to compile, because the Mac is still building it...
1998-12-29 05:54:59 +00:00
troy%netscape.com
baf55d6c2c
Fixed it up to compile again, because the Mac is still building it...
1998-12-29 05:53:54 +00:00
troy%netscape.com
7bcdac6547
Changed some of the member functions to conform to XP-COM conventions for
...
returning a nsresult
1998-12-29 04:56:31 +00:00
troy%netscape.com
7baf302727
Renamed FindFrameWithContent() to GetPrimaryFrameFor()
1998-12-29 04:45:18 +00:00
troy%netscape.com
e1f9e8b29f
Moved logic that deals with moving absolutely positioned frames out of the
...
flow to the frame construction code
1998-12-29 03:38:16 +00:00
troy%netscape.com
ace9d4b531
Fix for bug #1924
1998-12-22 05:02:46 +00:00
troy%netscape.com
03b64f86a8
Fix for bug #1942 . Also made it so we respect 'width' and 'height' properties
...
specified on the HTML element
1998-12-22 03:49:04 +00:00
troy%netscape.com
900f469395
Renamed NS_NewHTMLFrame() to NS_NewRootFrame()
1998-12-21 18:22:44 +00:00
troy%netscape.com
c9dedf070c
Changed the frame hierarchy, and changed how scrolling works. Also added
...
nsAreaFrame which replaces nsBodyFrame which is no longer used
1998-12-20 23:29:47 +00:00
peterl%netscape.com
e75a76898d
sync to new attribute api
1998-12-20 01:21:23 +00:00
kipp%netscape.com
6367ebbf6e
Implement GetSkipSides so that continued inline frames render properly
1998-12-18 22:12:42 +00:00
kipp%netscape.com
60100e4875
Display inline borders/background during content painting, not during background painting (per css2 spec)
1998-12-18 22:12:15 +00:00
akkana%netscape.com
82c8536d57
Attempt to patch mac build error
1998-12-18 21:04:33 +00:00
troy%netscape.com
ee05805c44
Added nsAreaFrame.cpp
1998-12-18 17:59:13 +00:00
troy%netscape.com
369705bd32
Initial check-in
1998-12-18 17:54:54 +00:00
kipp%netscape.com
12fb04dd78
Fixed numerous compiler warnings (hopefully) from the mac build
1998-12-18 17:34:34 +00:00
troy%netscape.com
a7f838d8d2
Minor cleanup
1998-12-18 17:33:23 +00:00
kipp%netscape.com
27f0cfe8cc
Revised frame Paint API
1998-12-18 15:54:23 +00:00
troy%netscape.com
391da56a27
Fixed a compiler warning by include nsHTMLParts.h
1998-12-18 05:52:05 +00:00
troy%netscape.com
ba748e2772
Fixed a couple of compiler wanrings by including nsHTMLParts.h
1998-12-18 05:50:19 +00:00
troy%netscape.com
a7e0f68492
Fixed a compiler warning by including nsHTMLParts.h
1998-12-18 05:44:26 +00:00
troy%netscape.com
a6c6ab3970
Eliminated a bunch of code now that CreateViewForFrame() takes care of calling
...
SetScrolledView()
1998-12-18 05:26:16 +00:00
troy%netscape.com
bafe726e8e
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
1998-12-18 05:25:36 +00:00
scc%netscape.com
2513a5445e
Added static IID() method. This member function will be generated automatically in the future.
1998-12-18 03:43:29 +00:00
troy%netscape.com
185e86393f
Backed the change back out
1998-12-17 22:25:59 +00:00
troy%netscape.com
7c9c4c7c05
Changed Paint() to only paing the border if the style info says we're visible
1998-12-17 21:34:41 +00:00
kipp%netscape.com
0fb65cd204
Disabled skid marks
1998-12-17 19:10:53 +00:00
kipp%netscape.com
5e0bed4f3a
nuked some tabs; added in comment to note where max-element-size computation should be fixed up
1998-12-17 18:55:13 +00:00
kipp%netscape.com
b03e5d743c
Added set/get empty line methods (currently unused)
1998-12-17 18:54:40 +00:00
kipp%netscape.com
3dd04cfacf
Add in border and padding to get the max-element-size right
1998-12-17 18:54:22 +00:00
kipp%netscape.com
91de046413
Add in margin top and bottom to max-element-size height
1998-12-17 18:54:07 +00:00
kipp%netscape.com
9749ce52a9
Added the AddBorderPaddingToMaxElementSize method to make it easy for implementors to get it right
1998-12-17 18:53:14 +00:00
kipp%netscape.com
353717e6fd
Factor in margins into in-flow-bounds rect; update max-element-size to include the margins around the block element
1998-12-17 18:52:45 +00:00
kipp%netscape.com
cabc48d518
Clean up max-element-size computations; added code to remove empty lines (disabled for now)
1998-12-17 18:52:10 +00:00
kipp%netscape.com
296dd55975
Added methods for get floater info in the band and a method to compute the impact on the max-element-size of the floaters
1998-12-17 18:50:45 +00:00
warren%netscape.com
b22a4e72fd
Networking changes: Reworked nsIURL, adding setters, factoring Open. Unsigned arguments for nsIStreamListener.
1998-12-16 05:40:20 +00:00
kipp%netscape.com
f6ab89cc1b
Removed bogus null pointer check
1998-12-15 17:59:49 +00:00
shaver%netscape.com
2e1488cb9a
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!]
1998-12-15 16:32:37 +00:00
michaelp%netscape.com
39c1230fba
made damagearea management more aggressive as a temporary fix until
...
individual classes can to the right thing.
1998-12-15 05:49:48 +00:00
kipp%netscape.com
a3461bca37
Added NS_FRAME_IS_REPLACED macro
1998-12-15 04:21:56 +00:00
kipp%netscape.com
0f5934738f
Fixed up absolute and floating frame types to support replaced variants
1998-12-15 04:21:28 +00:00
kipp%netscape.com
0367907f31
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
1998-12-15 04:20:54 +00:00
kipp%netscape.com
742a2097ec
Print out state bits in hex too
1998-12-15 00:16:32 +00:00
kipp%netscape.com
928bd75628
#ifdef'd out the outside-children state methods
1998-12-15 00:16:21 +00:00
kipp%netscape.com
ac68fc9c3d
Reworked line-height handling: correctly implements the spec; use value computed by nsHTMLReflowState::CalcLineHeight
1998-12-15 00:16:00 +00:00
kipp%netscape.com
8dddc9308f
Removed CalcLineHeightFor
1998-12-15 00:15:11 +00:00
kipp%netscape.com
c9fd0b4550
Added CalcLineHeight and store it in mLineHeight
1998-12-15 00:14:56 +00:00
kipp%netscape.com
8b61e19c33
Added CalcLineHeight and apply it to inline non-replaced elements as a constrained height
1998-12-15 00:14:36 +00:00
kipp%netscape.com
714bcb7b4a
Fixed rendering problems with lines with outside children; repaired code (currently unused an ifdef'd) to compute the lines outside children state
1998-12-15 00:14:09 +00:00
mjudge%netscape.com
209f6c6d41
adding in selection
1998-12-14 18:34:14 +00:00
kipp%netscape.com
bb447734b5
When verify-reflow-all is enabled, update the display after each reflow and pause for a while
1998-12-12 19:21:05 +00:00
kipp%netscape.com
3eb1822872
Factored out whitespace trimming from horizontal alignment
1998-12-12 19:20:35 +00:00
kipp%netscape.com
3590af65ad
Made ListTag more usable for all frame types, not just derivations of nsFrame
1998-12-12 19:20:10 +00:00
kipp%netscape.com
743b55214a
Moved a #if 0 to get rid of a compiler warning
1998-12-12 19:19:48 +00:00
kipp%netscape.com
307deab2f2
Reworked incremental reflow floater handling to place floaters as their state is recovered instead of moving them
1998-12-12 19:19:11 +00:00
kipp%netscape.com
52135613ce
Factored out floater sliding from SlideFrames; Added the dy value to the RecoverState method
1998-12-12 19:18:28 +00:00
kipp%netscape.com
96c0328b2a
Revised ClearFloaters to loop so that all appropriate floaters are cleared
1998-12-12 19:17:58 +00:00
troy%netscape.com
4da5dc8e56
Changed inline and block reflow code to reset reflow state's isTopOfPage
...
data member based on whether IsAdjacentWithTop() is true
1998-12-12 17:59:30 +00:00
troy%netscape.com
f6710a4955
Changed Reflow() to set isTopOfPage in reflow state
1998-12-12 17:58:18 +00:00
kipp%netscape.com
91edbe6b3f
I disabled selection rendering until it works again
1998-12-12 03:05:24 +00:00
kipp%netscape.com
7128e63df5
Compute correct Y coordinate after clear floaters; fixed bullet positioning bug when placing a bullet next to a block frame that has a carried-out top margin
1998-12-11 22:26:45 +00:00
kipp%netscape.com
d328e928e8
When dealing with a percentage-width HR, don't let it impact the max-element-size.width inappropriately
1998-12-11 22:23:18 +00:00
kipp%netscape.com
175119145a
Tweaked reflow status to be legible
1998-12-11 15:53:03 +00:00
kipp%netscape.com
0215aec5ca
Changed breaking behavior so that empty frames don't trigger a break even if the horizontal space is already over committed
1998-12-11 15:50:12 +00:00
kipp%netscape.com
745995739c
Removed bogus assert that was tripping on spacer-frames; fixed up justification behavior (thanks harish!)
1998-12-11 15:49:07 +00:00
peterl%netscape.com
2d4b5c2c1f
removed pseudo class atoms (moved to css atoms)
1998-12-11 02:36:36 +00:00
nisheeth%netscape.com
62ae4239f2
Added a new method, GetStyleHintForAttributeChange() to nsIHTMLContent.
1998-12-11 00:52:55 +00:00
troy%netscape.com
cc577bb700
Minor change to the flow of control to make it more readable
1998-12-10 03:20:31 +00:00
troy%netscape.com
5ea8f94dd6
Added print options for controlling whether odd and even pages are printed
1998-12-10 03:07:11 +00:00
troy%netscape.com
6f56c92d55
Fix for bug 1831 where an auto horizontal scrollbar was causing a vertical
...
scrollbar to be displayed even though it wasn't needed
1998-12-10 00:52:58 +00:00
kipp%netscape.com
36dd2bce12
Only zero out the height/ascent/descent if the empty text is not a pre-formatted piece of empty text, otherwise blank lines in PRE sections disappear
1998-12-10 00:30:52 +00:00
kipp%netscape.com
4406d09257
Compute percentage base properly
1998-12-09 23:51:39 +00:00
troy%netscape.com
b60421fcef
Moved StartDocument/EndDocument calls to document viewer impl's Print() member
...
function. This fits better with the Mac's printing model
1998-12-09 22:36:57 +00:00
troy%netscape.com
2a501cc669
Added new atoms to nsLayoutAtoms for additional named frame child lists
1998-12-09 05:30:17 +00:00
kipp%netscape.com
4ade3b797e
Backed out one change
1998-12-09 03:40:42 +00:00
cltbld%netscape.com
621f682be8
add nsBlockBandData.h per kipp's addition
1998-12-08 23:25:30 +00:00