1502 Commits

Author SHA1 Message Date
bernd.mielke%snafu.de
63c27e6db9 Implement for table captions caption-side: left and right, also <caption align="left"> and right, further vertical-align:top, middle and bottom for table captions bug 3166 r=karnaze sr=kin
git-svn-id: svn://10.0.0.236/trunk@133384 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-08 05:29:34 +00:00
karnaze%netscape.com
3d58e9c1e1 bug 176030 - Make Destroy fix up prev/next-in-flow pointers. a=roc, sr=bzbarsky, r=bernd.
git-svn-id: svn://10.0.0.236/trunk@132710 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-30 15:33:36 +00:00
bernd.mielke%snafu.de
c43119a53d pass selection correctly to the children of a caption, bug 164313, r=dbaron sr=bzbarsky a=dbaron
git-svn-id: svn://10.0.0.236/trunk@132507 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-25 04:53:41 +00:00
caillon%returnzero.com
0f7366d6d0 Correcting our background painting code per the latest CSS specs. By default, backgrounds should be painted to the border
area, and not the padding area as per the CSS 2 Errata, CSS2.1 and CSS3.  Also, implementing the CSS3 'background-clip'
and 'background-origin' properties (currently with -moz- prefixes) to control this behavior.
Bug 162252, r=dbaron sr=roc+moz


git-svn-id: svn://10.0.0.236/trunk@131419 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-08 10:24:53 +00:00
karnaze%netscape.com
cc81dbe612 bug 165772 - rewrite of SplitSpanningCells and most of SplitRowGroup to better handle splitting of rowspan cells. sr=kin, r=alexsavulov
git-svn-id: svn://10.0.0.236/trunk@131076 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-03 14:33:23 +00:00
rbs%maths.uq.edu.au
22f904d76a fix typo, b=40721, r=karnaze, sr=kin
git-svn-id: svn://10.0.0.236/trunk@130907 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-01 19:40:28 +00:00
karnaze%netscape.com
50553919ea bug 160014 - recalc cellspacing total when balancing. sr=kin, r=kmcclusk
git-svn-id: svn://10.0.0.236/trunk@129631 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-15 01:59:21 +00:00
karnaze%netscape.com
5327a7f9d3 bug 154780 - make the computed width for a cell unconstrained when the table will re-initialize or re-balance. a=rjesup, sr=kin, r=alexsavulov.
git-svn-id: svn://10.0.0.236/trunk@129098 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-09 18:46:06 +00:00
karnaze%netscape.com
f7e67af4b3 bug 154780 - Revised bernd's patch. treat null unit margins as auto. leave the cell avail width at 0 if a strategy init will occur. sr=kin, r=alexsavulov.
git-svn-id: svn://10.0.0.236/trunk@128780 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-04 00:10:43 +00:00
karnaze%netscape.com
2ad50a9fa3 bug 162691 - don't include siblings which will be next in flows when ordering row groups. sr=kin, r=bernd.
git-svn-id: svn://10.0.0.236/trunk@128566 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-30 16:30:04 +00:00
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
bernd.mielke%snafu.de
18ce09091c improved lookup of cellmap for the repeated thead and tfoot sections during printing bug 159358 patch by karnaze r=bernd sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@127055 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-12 04:55:29 +00:00
dbaron%fas.harvard.edu
1be537f3c0 Move FindNonTransparentBackground from nsStyleUtil to nsCSSRendering so that nsStyleUtil doesn't need to be in content/shared. b=71257 r=heikki sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@127035 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-11 17:56:15 +00:00
bernd.mielke%snafu.de
89d147429a bug 155652 build warning fix r=karnaze sr=bz
git-svn-id: svn://10.0.0.236/trunk@126890 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-09 09:30:41 +00:00
bzbarsky%mit.edu
7a8ba23608 Fix allocation of whitespace in table-layout:fixed to handle rounding
errors better.  Bug 157890, r=karnaze, sr=dbaron, a=asa


git-svn-id: svn://10.0.0.236/trunk@126040 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-30 02:29:03 +00:00
bernd.mielke%snafu.de
38f87f8a57 bug 131687 Take into acount MIN_adj width as it has been included in totals before r=karnaze sr=waterson
git-svn-id: svn://10.0.0.236/trunk@124473 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-02 04:39:16 +00:00
dbaron%fas.harvard.edu
7e821aaa94 Convert handwritten GetIID methods to use NS_DEFINE_STATIC_IID_ACCESSOR and add |const| to GetCID methods so that static |nsID|s are declared as |const|. b=153525 sr=jag r=bryner
git-svn-id: svn://10.0.0.236/trunk@124073 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-26 03:38:55 +00:00
dbaron%fas.harvard.edu
7c4652cc16 Split strict mode into almost-standards and full-standards mode, where the only quirk in almost standards mode is the quirky inline box model. Remove previous fix for bug 151620. Tweak mode detection to use almost-standards for XHTML Transitional, HTML 4.01 transitional with system ID, and for IBM system DOCTYPE. b=153032 r=karnaze, bzbarsky, harishd sr=waterson
git-svn-id: svn://10.0.0.236/trunk@124017 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-25 21:16:17 +00:00
bernd.mielke%snafu.de
95201415ad bug 151888 - use SafeElementAt as we use it in all other places r=karnaze sr=kin
git-svn-id: svn://10.0.0.236/trunk@123997 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-25 06:58:49 +00:00
karnaze%netscape.com
6ff33d9292 bug 127022 - make sure the desired width is at least as big as the max element width. sr=kin, r=alexsavulov
git-svn-id: svn://10.0.0.236/trunk@123642 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-19 23:16:33 +00:00
karnaze%netscape.com
e7dfc78299 bug 114706 - only use last height as desired size if a special reflow occurred during an incremental reflow. sr=kin
git-svn-id: svn://10.0.0.236/trunk@123627 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-19 22:42:41 +00:00
karnaze%netscape.com
6b5f0435d2 bug 127544 - fixed asserts when there are no cells in a row group and there is a column. sr=kin, r=alexsavulov.
git-svn-id: svn://10.0.0.236/trunk@123625 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-19 22:35:59 +00:00
karnaze%netscape.com
21b23754fb bug 149436 - shanmu's patch to fix crash on OSF/1, sr=kin, r=karnaze
git-svn-id: svn://10.0.0.236/trunk@123582 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-19 13:43:19 +00:00
karnaze%netscape.com
c982f01623 bug 151956 - make sure child of row group is a row in CalcRowHeights. sr=kin, r=bernd.
git-svn-id: svn://10.0.0.236/trunk@123581 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-19 13:37:18 +00:00
karnaze%netscape.com
9f770f5106 bug 151230 - consider style width when calculating avail width for a cell only during initial reflow. sr=kin, r=alexsavulov
git-svn-id: svn://10.0.0.236/trunk@123315 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-14 14:21:03 +00:00
karnaze%netscape.com
e241f72315 bug 148338 - fixed optimization in nsTableRowGroupFrame::CalculateRowHeights to only process the newly added rows. sr=waterson, r=bernd
git-svn-id: svn://10.0.0.236/trunk@123314 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-14 14:17:01 +00:00
karnaze%netscape.com
fbaf4d843a bug 144024 - Don't store first in flow row groups and rows in map border iterator. Use row group of first in flow row group when accessing offset for borders. sr=attinasi, r=alexsavulov
git-svn-id: svn://10.0.0.236/trunk@122421 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-31 14:40:51 +00:00
bernd.mielke%snafu.de
886ec4bd2d removal of debug cruft bug 146474 r=karnaze sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@122269 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-29 18:55:34 +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
waterson%netscape.com
bb86b1d414 Bug 145272. Handle incremental reflows that are targeted at a child of a caption frame. r=karnaze, sr=jst
git-svn-id: svn://10.0.0.236/trunk@122086 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-23 18:51:02 +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
dbaron%fas.harvard.edu
5d19a6a9e8 Store containing block reflow state so we don't have to walk up the tree to find it every time. b=143706 r=attinasi sr=waterson
git-svn-id: svn://10.0.0.236/trunk@121465 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 12:59:55 +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
karnaze%netscape.com
67ff631786 bug 141021 - skip row reflow optimization of cell when the cell hasn't had a pass2 reflow. sr=waterson, r=bernd.
git-svn-id: svn://10.0.0.236/trunk@121170 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 14:44:02 +00:00
karnaze%netscape.com
fc7ff3663e bug 120107 - calc max/max-elem sizes when requested during an unconstrained incremental reflow. sr=waterson, r=bernd.
git-svn-id: svn://10.0.0.236/trunk@121165 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 14:28:28 +00:00
bernd.mielke%snafu.de
8dbd814839 hide also collapsed borders when the table is hidden, bug 135782 r=karnaze sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@120420 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 05:33:11 +00:00
karnaze%netscape.com
786a9b3275 bug 138436 - remove redundant style change reflows on auto-layout table. sr=attinasi, r=alexsavulov
git-svn-id: svn://10.0.0.236/trunk@120120 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 15:54:37 +00:00
joki%netscape.com
97d0bb3a1f Fix for 93111, Make table row and col frame invalid as direct targets of mouseevents. Mouseevents on table should hit cells or the table itself instead. r:dbaron, sr:jst
git-svn-id: svn://10.0.0.236/trunk@118962 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-14 21:52:52 +00:00
karnaze%netscape.com
6dcf85a892 bug 125543 - Prevent row groups from splitting in the reflow preceeding a special height reflow. Cells are only notified that they should observe a percent height element if the element is inside the table's cell. Percent height elements inside the body will have a height based on the page height when printing. sr=kin, r=alexsavulov.
git-svn-id: svn://10.0.0.236/trunk@118648 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 21:32:41 +00:00
attinasi%netscape.com
bd0e2b8bad stop positioning views for floaters before the frame is placed - avoids flicker due to painting at erroneous position. b=128133 r=karnaze,dbaron sr=waterson a=roc,jaimejr
git-svn-id: svn://10.0.0.236/trunk@118446 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-07 18:26:35 +00:00
karnaze%netscape.com
312699b125 bug 135112 - correctly set border collapse damage area and fix it if incorrect when borders are calculated. a=asa, adt=jaimejr, sr=attinasi, r=bernd
git-svn-id: svn://10.0.0.236/trunk@118408 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-06 22:56:45 +00:00
karnaze%netscape.com
4d74eadb99 bug 133948 - don't reset HadSpecialReflow bit so that subsequent resize reflows will occur whenever a special height reflow has ever occured. a=asa, adt=jaimejr, sr=attinasi, r=bernd
git-svn-id: svn://10.0.0.236/trunk@118407 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-06 22:42:39 +00:00
karnaze%netscape.com
b5480ba60f bug 134845 - avoid dividing by zero during pixel rounding. a=asa, adt=jamiejr, sr=attinasi, r=kin
git-svn-id: svn://10.0.0.236/trunk@118406 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-06 22:28:39 +00:00
karnaze%netscape.com
f0d801b686 bug 131020 - process special height reflow when initiator is the containing table. a=roc+moz, sr=attinasi, r=bernd.
git-svn-id: svn://10.0.0.236/trunk@117851 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-01 06:46:17 +00:00
karnaze%netscape.com
d9d3b6459d bug 130550 - Added nsIFrame::CanPaintBackground, to treat nsTableOuterFrame as transparent. a=asa, sr=attinasi, r=roc+moz
git-svn-id: svn://10.0.0.236/trunk@117816 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-31 22:43:40 +00:00
karnaze%netscape.com
169d7315ed bug 133756 - always return last height during special height reflow. a=roc+moz, sr=attinasi, r=alexsavulov
git-svn-id: svn://10.0.0.236/trunk@117801 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-31 17:44:57 +00:00
dbaron%fas.harvard.edu
94075d45c2 Remove |aForceUnique| parameter from style context resolving methods, and corresponding flag from nsStyleContext, since the only caller was ReResolveStyleContext (on the assumption that other callers used it). Allow ReResolveStyleContext to benefit from FindChildWithRules and allow it to re-resolve to the same tree even when called on the root style context. b=133821 r=attinasi sr=hyatt a=asa
git-svn-id: svn://10.0.0.236/trunk@117795 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-31 16:59:00 +00:00
karnaze%netscape.com
3cc1086578 bug 123983 - set mIsTopOfPage in the reflow state, fix desired height in rows and row groups, clean up nsTableRowGroupFrame::SplitRowGroups and handle more cases of splitting/moving rows. a=roc+moz, sr=attinasi, r=alexsavulov
git-svn-id: svn://10.0.0.236/trunk@117609 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-27 05:50:24 +00:00
dbaron%fas.harvard.edu
0b4effd4ea Fix 2 cases where ReResolveStyleContext was broken, causing serious problems with dynamic style reresolution. Change nsIFrame::GetStyleContextProvider to GetParentStyleContextFrame, always use its result rather than using the parent frame in some cases, and move a bit of the complexity into the GetParentStyleContextFrame implementations. Fix block-within-inline case (bug 129350) using a special-previous-sibling frame property and ensuring that NS_FRAME_IS_SPECIAL is copied when frames are split. Fix out-of-flow frame case (bug 88154) by going to the placeholder map and by parenting the placeholder frame style contexts to the style context from their frame parent rather than the out-of-flow frame. b=129350 r=attinasi sr=hyatt a=asa
git-svn-id: svn://10.0.0.236/trunk@117556 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-27 02:38:13 +00:00
sicking%bigfoot.com
4256d59c55 Bug 41983: Make (x)html-elements support namespaced attributes.
r=heikki sr=jst a=roc+moz


git-svn-id: svn://10.0.0.236/trunk@117531 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-27 00:13:57 +00:00