97 Commits

Author SHA1 Message Date
dbaron%fas.harvard.edu
e8821b1085 Clean up unneeded includes of nsStyleUtil.h, and some other include cleanup in MathML. r=rbs b=71257 (|#include| changes only)
git-svn-id: svn://10.0.0.236/trunk@127461 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-16 11:52:20 +00:00
bzbarsky%mit.edu
7b3559d1f9 Fieldset should look at its computed width even when there is no
legend.  Bug 162502, r=jkeiser, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@127232 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-14 02:28:23 +00:00
jkeiser%netscape.com
3d64c27797 Make form controls in fieldsets work (bug 121127), r=rods@netscape.com, sr=bzbarsky@mit.edu
git-svn-id: svn://10.0.0.236/trunk@126792 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-08 20:38:40 +00:00
karnaze%netscape.com
49e0a9f4cb bug 145305 - split floaters during printing. sr=attinasi, r=alexsavulov.
git-svn-id: svn://10.0.0.236/trunk@122236 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-28 22:50:43 +00:00
jst%netscape.com
0e34136ef1 Fixing bug 146034. Getting rid of nsHTMLIIDs.{h,cpp}. r=jfrancis@netscape.com, sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@122039 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-23 00:00:34 +00:00
waterson%netscape.com
5bae3657e6 Bug 129115. Change the reflow path from a list structure to a tree structure to amortize state recovery and damage propagation costs. Eliminate table timeout reflows. r=kin,karnaze,rods,rbs; sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@121265 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 18:22:41 +00:00
aaronl%netscape.com
d9575605b1 Fixing bustage. --disable-accessibility is broken
git-svn-id: svn://10.0.0.236/trunk@114660 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 03:23:18 +00:00
aaronl%netscape.com
424f513e6a Active Accessibility: support HTML tags <fieldset> and <legend>. r=jgaunt, sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@114631 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 01:34:42 +00:00
bernd.mielke%snafu.de
1cbad10dec fieldset reflow cleanup:
bug 120958 report correct maxElementSize under table reflow conditions
bug 48318 implement correct default alignement under bidi conditions, make legend alignment
          indepedent of fieldset content if fieldset size is not content driven.
bug 80422 route trough events for floats inside a fieldset
bug 42302 honour padding-top
bug 60375 large maxElementsize overwrite computedWidth
r=karnaze sr=waterson


git-svn-id: svn://10.0.0.236/trunk@113292 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-31 05:09:13 +00:00
dbaron%fas.harvard.edu
8897c8f5b7 Backing out Bernd's checkin for bug 110596 to fix crashes / weird display. b=118991 r=bernd
git-svn-id: svn://10.0.0.236/trunk@111718 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 19:17:46 +00:00
brade%netscape.com
71c2917a5d remove unused static kLegendFrameCID saving 16 bytes (bug 117927; rs=glazou)
git-svn-id: svn://10.0.0.236/trunk@111696 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 15:41:11 +00:00
dbaron%fas.harvard.edu
b7194a0ea8 Replace the BodyFixupRule with code in nsCSSRendering to fix all the problems with dynamic style changes and backgrounds on the root element and the BODY element. Change the way the HTMLDocumentColorRule (for the table color quirk) is initialized since it used to depend on the BodyFixupRule. b=116161 (also fixes other bugs) r=attinasi sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@111511 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-07 23:46:07 +00:00
bernd.mielke%snafu.de
779d00d083 add form frames to debug reflow bug 115096 r=karnaze sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@111500 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-07 19:55:56 +00:00
waterson%netscape.com
b6978c3e09 Bug 115113. Eliminate nsIReflowCommand, and just use nsHTMLReflowCommand directly. r=karnaze, sr=attinasi.
git-svn-id: svn://10.0.0.236/trunk@110644 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-17 22:39:59 +00:00
karnaze%netscape.com
d8577654db bug 113424 - mechanism for percent height frames inside table cells to receive special height reflow. sr=attinasi, r=alexsavulov
git-svn-id: svn://10.0.0.236/trunk@110006 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 14:51:12 +00:00
karnaze%netscape.com
65fe290a5b bug 103925 (2nd patch) - flag pixel rounding errors in display reflow debugging. sr=attinasi, r=bernd
git-svn-id: svn://10.0.0.236/trunk@108053 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-14 13:40:03 +00:00
bzbarsky%mit.edu
068756d821 Use NS_LITERAL_STRING instead of NS_ConvertASCIItoUCS2 where possible
(i.e. where the string is a literal).  Bug 104159, r=jag, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@107987 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-14 01:33:42 +00:00
karnaze%netscape.com
4ff0e5cecb bug 103925 - general reflow debugging capability. sr=attinasi, r=alexsavulov
git-svn-id: svn://10.0.0.236/trunk@106524 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-29 01:43:59 +00:00
gerv%gerv.net
13afb6d0f9 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
git-svn-id: svn://10.0.0.236/trunk@104119 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 20:14:13 +00:00
waterson%netscape.com
289f661b27 Bug 96228. Make nsContainerFrame::PositionFrameView position _only_ the frame's view (don't recur). Explicitly call nsContainerFrame::PositionChildViews as appropriate when moving a frame post-Reflow. Consolidate view positioning logic duplicated between PositionFrameView and SyncFrameViewAfterReflow, which now correctly computes offset for anonymous view in nsScrollFrame and accounts for scrolled views. r=kmcclusk,karnaze sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@103388 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-21 00:53:29 +00:00
karnaze%netscape.com
1540a4c12e bug 68998 - added extra param to Paint, PaintChild, PaintChildren used by tables in standard mode. sr=waterson, r=alexsavulov.
git-svn-id: svn://10.0.0.236/trunk@103193 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 12:35:19 +00:00
waterson%netscape.com
43c613727c Bug 55086. Change nsContainerFrame::PositionFrameView() to position child views. Eliminate the |aView| parameter from that method, because the view can be retrieved from the frame and need not be done by the caller. Eliminate the NS_FRAME_NO_MOVE_CHILD_VIEWS flag, which was read-only; i.e., never set by anyone. r=dbaron, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@102321 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 20:27:19 +00:00
hyatt%netscape.com
b7b1cb3691 Fix for 78695 (rule matching improvements). r/sr=attinasi, jst, waterson
git-svn-id: svn://10.0.0.236/trunk@96136 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-31 22:19:43 +00:00
kin%netscape.com
096b3da5ca Fix non-debug build bustage.
git-svn-id: svn://10.0.0.236/trunk@94662 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-11 15:19:28 +00:00
attinasi%netscape.com
53442aec1a Fixes crash deleting legend frame. r=rods sr=waterson b=70648
git-svn-id: svn://10.0.0.236/trunk@94657 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-11 14:26:04 +00:00
rods%netscape.com
793e57b78c Display frame reflow counts (turned via config file define)
Bug 71514 r=kmclusk sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@89416 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 01:47:22 +00:00
pierre%netscape.com
8944a57fe0 Reinstate my changes that were backed out 10 days ago. #43457 split nsStyleSpacing into 4 smaller structures: nsStyleBorder, nsStylePadding, nsStyleMargin, nsStyleOutline. r=attinasi,sr=buster.
git-svn-id: svn://10.0.0.236/trunk@86533 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 09:57:26 +00:00
rods%netscape.com
b23e7af50b This checkin enables mozilla to support the printing of selection, the printing of page ranges, and
the printing of headers and footers.
Printing of selection is implemented by the frames figuring out if they are in the selection and painting
if they or not they they don't paint. This also only allows the printing of the first page of
selections, alothough it is well documented where this is implemeted so it can be removed.
Bugs 63426, 31218, 61075 r=dcone,kmcclusk,erik,buster sr=waterson


git-svn-id: svn://10.0.0.236/trunk@85624 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 14:09:34 +00:00
mcafee%netscape.com
644a6ffc68 Backing out pierre's change from 1/20 for performance reasons (66263). r=attinasi, a=granrose, phil
git-svn-id: svn://10.0.0.236/trunk@85463 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 02:58:12 +00:00
pierre%netscape.com
148e913722 #43457 split nsStyleSpacing into 4 smaller structures: nsStyleBorder, nsStylePadding, nsStyleMargin, nsStyleOutline. Review=attinasi. Pending Approval: buster.
git-svn-id: svn://10.0.0.236/trunk@85210 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-20 22:46:54 +00:00
rods%netscape.com
a6e0d47c5a removing most all NS_DEFINE_IID and replacing them with NS_GET_IID macros
Bug 61274, r=buster sr=waterson


git-svn-id: svn://10.0.0.236/trunk@84377 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 20:44:42 +00:00
warren%netscape.com
a8b9664a8c Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc.
git-svn-id: svn://10.0.0.236/trunk@81967 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 22:17:53 +00:00
warren%netscape.com
c6b67eceeb Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson
git-svn-id: svn://10.0.0.236/trunk@81885 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 22:43:51 +00:00
rods%netscape.com
1921a95c8a A "margin" variable isn't being set up in the correct spot.
b=41472 r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@73759 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-06 13:22:12 +00:00
buster%netscape.com
f1259dab72 bug 35964, partial fix
r=rods


git-svn-id: svn://10.0.0.236/trunk@69900 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 22:51:42 +00:00
evaughan%netscape.com
cd4a9a369b 1) Scrolling menus
2) many bug fixes
3) box debuging flags


git-svn-id: svn://10.0.0.236/trunk@69737 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 04:12:31 +00:00
evaughan%netscape.com
ff486e57f1 1) StyleChange coelescing
2) Warning fixes
3) Table fixes


git-svn-id: svn://10.0.0.236/trunk@67099 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 07:10:48 +00:00
rods%netscape.com
a54cc52332 Add ifdef'ed Performance Reflow Counting code
git-svn-id: svn://10.0.0.236/trunk@66762 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 21:51:35 +00:00
pierre%netscape.com
c84deb6d8c Fix 32199 (visibility:collapse is not being interpreted as hidden on block and inline level elements) and parts of 21701 (misuse of style attr mVisible).
In the following files, replacing disp->mVisible with disp->IsVisible() is a BUG FIX: nsBlockFrame, nsBulletFrame, nsHRFrame, nsHTMLContainerFrame, nsImageFrame, nsTextFrame.

In all the other files, replacing disp->mVisible with disp->IsVisible() or disp->IsVisibleOrCollapsed() is merely a SYNTACTICAL CHANGE. The respective owners will later review the use of IsVisibleOrCollapsed() and in some cases replace it with IsVisible(). See bug 21701.


git-svn-id: svn://10.0.0.236/trunk@63284 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 10:15:13 +00:00
evaughan%netscape.com
a9aadf75b0 1) Fixed freeze because of sync drawing in forms
2) Fixed fieldset blocker

-r rods, granrose


git-svn-id: svn://10.0.0.236/trunk@60336 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-10 21:36:28 +00:00
evaughan%netscape.com
a268db39c4 1) implememted box reflow coelescing.
2) implemented gfx scrollbars for list boxes
3) fixed progess meter to be an animated gif
4) fixed bugs 23521, 24721, 19114, 20546, 24385, 24457, 23156, 20226, 22543

-r hyatt, troy, rod


git-svn-id: svn://10.0.0.236/trunk@60253 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-09 22:02:40 +00:00
nisheeth%netscape.com
969869e05b a=chofmann. r=rods, attinasi. The frame's state bits were getting reset by the NS_NewFieldSetFrame() method. This was causing asserts in layout because the frame did not have its dirty bit set. Fixed.
git-svn-id: svn://10.0.0.236/trunk@58301 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-20 17:14:34 +00:00
attinasi%netscape.com
694d2e01a7 Added flags to factory method to allow NS_BLOCK_SPACE_MGR to be specified for abs. Positioned fieldsets. Fixes bug 23611. r=rods,pierre
git-svn-id: svn://10.0.0.236/trunk@58104 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-18 15:42:45 +00:00
rods%netscape.com
4a4558506b reworked some more of the fieldset's reflow (not in build yet)
git-svn-id: svn://10.0.0.236/trunk@57419 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 20:40:06 +00:00
rods%netscape.com
c96e497a7c Reworked frame creation and creation of it's children for bug 23156,
not turned on yet.


git-svn-id: svn://10.0.0.236/trunk@57226 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-09 02:05:25 +00:00
rods%netscape.com
fb5e39b501 fixed visibility check error
r=kmcclusk bug=21701


git-svn-id: svn://10.0.0.236/trunk@56400 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 19:54:21 +00:00
hyatt%netscape.com
7e24c61109 Implementing a generalized recycler and arena for all layout frames. Hoping to improve
bug #9489.  Should also definitely fix bug #15916. r=troy


git-svn-id: svn://10.0.0.236/trunk@55321 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-04 23:49:50 +00:00
tbogard%aol.net
ae5a81e394 Changed nsIPresContext& to nsIPresContext*. Changed nsEventStatus& to nsEventStatus*. Now more compatible with XPIDL. a=vidur r=scc
git-svn-id: svn://10.0.0.236/trunk@54392 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-24 06:03:41 +00:00
troy%netscape.com
3f61543a91 WillReflow/DidReflow changes and changes to the way view positioning
and sizing works


git-svn-id: svn://10.0.0.236/trunk@53998 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-19 15:33:29 +00:00
dmose%mozilla.org
92d791b7b0 updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@52908 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:40:37 +00:00