445 Commits

Author SHA1 Message Date
kipp%netscape.com
9d89c1d838 Work around append frames bug (by breaking insert!) for now; added some asserts hither and yon to help prevent furthur regressions like this
git-svn-id: svn://10.0.0.236/trunk@28212 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 03:42:32 +00:00
kipp%netscape.com
2fe859b76d Implement first-line support; update some api's to use nsIPresContext*'s instead of nsIpresContext&'s
git-svn-id: svn://10.0.0.236/trunk@28185 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 00:27:43 +00:00
joki%netscape.com
14135f22e6 Fix event handling on background areas of tags.
git-svn-id: svn://10.0.0.236/trunk@27371 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 21:29:08 +00:00
troy%netscape.com
a40295762e Added ReparentFrameView() and changed the block and inline code
to call it when pushing/pulling frames


git-svn-id: svn://10.0.0.236/trunk@27086 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-11 04:22:00 +00:00
kipp%netscape.com
4387adb210 Support clip property; fix bug 4836 and speed things up slightly by avoiding max-element-size computations when not needed
git-svn-id: svn://10.0.0.236/trunk@27026 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 17:31:45 +00:00
kipp%netscape.com
5de0e46140 Implement frame sliding during incremental reflow; fixed to not double factor in the delta-y
git-svn-id: svn://10.0.0.236/trunk@26174 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-03 21:54:00 +00:00
kipp%netscape.com
37f9403e9e Reworked the state recovery logic for incremental reflow
git-svn-id: svn://10.0.0.236/trunk@26158 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-03 18:59:01 +00:00
kipp%netscape.com
951e615c71 Reflow floater frames using the block reflow context
git-svn-id: svn://10.0.0.236/trunk@25782 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 01:37:36 +00:00
kipp%netscape.com
ef9d0f734e Removed unsupported css2 'compact' support ; fixed bug #2013 with floater placement
git-svn-id: svn://10.0.0.236/trunk@25645 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 04:10:27 +00:00
kipp%netscape.com
938792cba5 Use shared is-html-paragraph method; fixed handling of floater widths for bug #2949
git-svn-id: svn://10.0.0.236/trunk@25492 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-29 23:44:45 +00:00
warren%netscape.com
afbfb7b666 PR_FALSE is not nsnull!
git-svn-id: svn://10.0.0.236/trunk@25317 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-27 02:56:52 +00:00
kipp%netscape.com
72843bd8a8 Reworked vertical margin handling; fixed some issues with floater placement and clearing and block element clearing (bugs #1080, #1808, ...
git-svn-id: svn://10.0.0.236/trunk@25292 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-27 01:22:14 +00:00
kipp%netscape.com
1a8d633e4e Fixed bugs #1277, #2007 and #1517 and #1918; rendering is improved for floaters and a minimim height rule is now enforced for computed-height situations
git-svn-id: svn://10.0.0.236/trunk@25153 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 00:39:04 +00:00
peterl%netscape.com
233822bc0d augmented ReResolveStyleContext to capture style change information
git-svn-id: svn://10.0.0.236/trunk@25093 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 06:43:38 +00:00
kipp%netscape.com
4091823455 Fixed up floater combined area calculations
git-svn-id: svn://10.0.0.236/trunk@24992 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-24 15:42:19 +00:00
pierre%netscape.com
b99fe92e31 Backed out my previous changes because of performance degradation in deeply nested tables. Will increase the stack size in Mac applications instead.
git-svn-id: svn://10.0.0.236/trunk@24869 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 20:35:38 +00:00
pierre%netscape.com
72a233be93 fixed #3899 "Raptor doesn't jam": in nsBlockFrame::Reflow, allocated a 4Kb nsLineLayout in the heap rather than on the stack
git-svn-id: svn://10.0.0.236/trunk@24823 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 08:24:01 +00:00
kipp%netscape.com
6fa5329610 Compute floater combined area properly; reflow floaters when placed including below-current-line floaters
git-svn-id: svn://10.0.0.236/trunk@24789 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 04:28:20 +00:00
kipp%netscape.com
1f77886edb Handle both left or right floaters impacting a line; fixed assert to be more accurate
git-svn-id: svn://10.0.0.236/trunk@24763 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 01:33:36 +00:00
kipp%netscape.com
085fd06130 Improve max-element-size computations and diagnostics
git-svn-id: svn://10.0.0.236/trunk@24717 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 23:03:31 +00:00
kipp%netscape.com
af25c30033 More cleanup of the combined-area computations; make sure we render every line when we have outside children; fixed up max-element-size computations to not double count floaters
git-svn-id: svn://10.0.0.236/trunk@24716 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 22:42:30 +00:00
kipp%netscape.com
6823c95c0f Cleaned up combined area calculations
git-svn-id: svn://10.0.0.236/trunk@24690 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 20:46:09 +00:00
kipp%netscape.com
a6e54a1b19 Support redo-reflow for lines to handle reflow around large floaters
git-svn-id: svn://10.0.0.236/trunk@24604 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-21 01:15:12 +00:00
kipp%netscape.com
27d5937b9b Use CRAZY macros for debug noise
git-svn-id: svn://10.0.0.236/trunk@24595 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 21:57:03 +00:00
kipp%netscape.com
3a827eb066 Reworked the way that the final metrics are computed; support min/max width/height; track max-element-size issues better; disabled compact frame handling
git-svn-id: svn://10.0.0.236/trunk@24590 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 19:40:13 +00:00
kipp%netscape.com
c931f7d0ce Fixed centering of list bullets (bug #4040)
git-svn-id: svn://10.0.0.236/trunk@24528 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 01:37:43 +00:00
kipp%netscape.com
d48d7d0f1f Fix wide layout bug in todays build; fixed bug #4013 as well and bug #2589
git-svn-id: svn://10.0.0.236/trunk@24488 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 23:05:56 +00:00
kipp%netscape.com
83f5d0de70 Spanked to collapse inline-reflow with line-layout into line-layout; fixed bugs #1278, #1990, #3527, #1670, etc.
git-svn-id: svn://10.0.0.236/trunk@24321 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-18 21:03:25 +00:00
kipp%netscape.com
99c54cef53 Fixed numerous frame removed bugs (bug #3262)
git-svn-id: svn://10.0.0.236/trunk@24215 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-16 19:36:00 +00:00
kipp%netscape.com
566d18356c Compute combined-area more sanely; handle another nasty top margin bug (1910)
git-svn-id: svn://10.0.0.236/trunk@23180 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-08 19:24:07 +00:00
kipp%netscape.com
7d9aebda71 Cleanup state recomputation; fix bug # 3453 crasher; debug out some max-element-size issues
git-svn-id: svn://10.0.0.236/trunk@22905 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 19:25:44 +00:00
kipp%netscape.com
bcf95a83f5 nsBlockReflowState no longer is-a nsHTMLReflowState; fixes to numerous bugs; reworked to use computed values from reflow-state
git-svn-id: svn://10.0.0.236/trunk@22837 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 04:21:32 +00:00
kipp%netscape.com
b677533b37 Removed ifdef'd out code
git-svn-id: svn://10.0.0.236/trunk@22188 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 19:22:20 +00:00
kipp%netscape.com
c306aa9bfe Find text runs more often (bug #3278, 3265); floaters are now handled mostly by the frame construction code
git-svn-id: svn://10.0.0.236/trunk@22129 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 17:04:44 +00:00
vidur%netscape.com
9270605250 Made style reresolution propogate down to the bullet frames for list items. Added list related attribute tests.
git-svn-id: svn://10.0.0.236/trunk@21947 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 19:14:35 +00:00
troy%netscape.com
b51e46e943 Removed nsIFrame::CreateContinuingFrame()
git-svn-id: svn://10.0.0.236/trunk@21866 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 05:31:15 +00:00
troy%netscape.com
f293c578fd Changed nsIFrame::Init() to take an additional parameter
git-svn-id: svn://10.0.0.236/trunk@21843 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 03:27:57 +00:00
troy%netscape.com
cc2323242f Changed GetNextInFlow() and GetPrevInFlow() to be pointer arguments and
not references


git-svn-id: svn://10.0.0.236/trunk@21702 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 04:48:08 +00:00
kipp%netscape.com
9731c74c2c Compute minimum-line-height and store it into the inline-reflow context
git-svn-id: svn://10.0.0.236/trunk@21629 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 19:32:00 +00:00
vidur%netscape.com
2eade89c6f Fixed casing for nsCOMPtr inclusion
git-svn-id: svn://10.0.0.236/trunk@21626 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 19:22:53 +00:00
vidur%netscape.com
c1da744044 Added nsIStyleSheetLinkingElement interface and implemented it for LINK and STYLE elements. Got attribute modifications for lists and list items working (including correct renumbering of lists when attribute values change).
git-svn-id: svn://10.0.0.236/trunk@21624 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 19:18:12 +00:00
kipp%netscape.com
f768475e63 Process bullets better so that they are vertically aligned properly
git-svn-id: svn://10.0.0.236/trunk@21198 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 22:22:55 +00:00
kipp%netscape.com
d1a27c7e27 Fixed bug #3161 - removed bogus assertion
git-svn-id: svn://10.0.0.236/trunk@21161 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 18:25:45 +00:00
troy%netscape.com
477db97893 Fixed build bustage
git-svn-id: svn://10.0.0.236/trunk@20577 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 18:18:34 +00:00
kipp%netscape.com
9b917419dc COMized nsIPresShell and nsIPresContext
git-svn-id: svn://10.0.0.236/trunk@20570 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 17:45:58 +00:00
troy%netscape.com
fcbf19b87f API changes for nsIPresContext ResolveStyleContextFor and ResolvePseudoStyleContextFor
git-svn-id: svn://10.0.0.236/trunk@20413 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 15:56:23 +00:00
troy%netscape.com
c6590e6940 Re-ordered DeleteFrame() code to fix a FMR
git-svn-id: svn://10.0.0.236/trunk@20269 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 18:12:24 +00:00
troy%netscape.com
bd78450e96 Changed GetNextSibling() to use a pointer argument instead of a reference
git-svn-id: svn://10.0.0.236/trunk@20223 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 06:13:38 +00:00
troy%netscape.com
339afcce8a Changed a bunch more nsIFrame member functions to be pointer arguments
instead of references


git-svn-id: svn://10.0.0.236/trunk@20222 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 05:38:18 +00:00
troy%netscape.com
3635a7c72c Changed GetAdditionalChildListName() and FirstChild() to use ** instead
of *&


git-svn-id: svn://10.0.0.236/trunk@20212 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 02:25:01 +00:00