bryner%brianryner.com
b5347dd60c
Change all callers of nsIPresContext::GetShell() to use the non-refcounting versions. Most callers now use PresShell(), a few that were checking for null conditions are using GetPresShell() -- this will be remedied once we can ensure that a prescontext never has a null pres shell. Bug 227690, r+sr=bzbarsky.
...
git-svn-id: svn://10.0.0.236/trunk@150598 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-21 05:36:36 +00:00
dbaron%dbaron.org
8f6d91f175
Don't mess with overflow area during first pass reflow. b=222336 Patch from Bernd Mielke <bernd_mozilla@gmx.de>. r+sr=dbaron a=brendan
...
git-svn-id: svn://10.0.0.236/trunk@150385 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-17 01:33:57 +00:00
dbaron%dbaron.org
a040cc3995
Fix regressions of 'overflow: hidden' on various table display types. b=221140 r=bernd sr=roc a=asa
...
git-svn-id: svn://10.0.0.236/trunk@150259 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-12 23:00:54 +00:00
dbaron%dbaron.org
a8191642ef
Do inheritance without layout-dependent computations, per CSS2.1. Remove eStyleUnit_Inherit and nsStyleCoord::SetInheritValue. b=205790 r+sr=bzbarsky a=asa
...
git-svn-id: svn://10.0.0.236/trunk@149687 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-24 19:46:25 +00:00
bzbarsky%mit.edu
8cc0bfcd8e
Use SafeElementAt for accesses that may be out of bounds. Bug 226163, r=bernd,
...
sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@149541 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-19 06:20:14 +00:00
uid502
e56ed2443c
Bug 190735. DeCOMtaminate nsIFrame::GetFrameType. r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@148665 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-31 20:19:18 +00:00
bmlk%gmx.de
94f16f07a5
reinitialize layout strategy in response to a style incr. reflow targeted at a table frame bug 222467 r/sr=bzbarsky
...
make debug statement more compact bug 220448 r/sr=jst
git-svn-id: svn://10.0.0.236/trunk@148135 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-19 19:23:11 +00:00
bmlk%gmx.de
205e630bce
allow empty row groups in the border collapse access to the cellmap. bug 217769 r/sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@147360 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-27 12:00:56 +00:00
jst%mozilla.jstenback.com
ef67a47aab
Fixing bug 215981. DeCOMtaminating nsIContent and nsIDocument some, and also some minor changes to other related interfaces. r=caillon@aillon.org, sr=peterv@propagandism.org.
...
git-svn-id: svn://10.0.0.236/trunk@147354 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-27 04:18:26 +00:00
bmlk%gmx.de
deb5f49052
overflow area implementation for table frames, bug 173277 r=jkeiser sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@146838 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-13 16:26:30 +00:00
dbaron%dbaron.org
80cf7ecc33
Reflow the children with style changed reason when a style changed reflow is targeted at a table. Patch from Bernd Mielke <bernd_mozilla@gmx.de>. b=198506 r+sr=dbaron a=brendan
...
git-svn-id: svn://10.0.0.236/trunk@145992 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-14 06:15:10 +00:00
roc+%cs.cmu.edu
b4657fef30
Ongoing deCOMtamination. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@144510 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-07 02:01:29 +00:00
bmlk%gmx.de
941c8a1041
the mew of colspan cell needs to be redistributed this can only be done during the strategy init. bug 207208 r=jkeiser sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@143461 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-09 17:51:25 +00:00
bmlk%gmx.de
fed872aa02
border collapse - lookup the correct border owner style, bug 196133, r=jkeiser sr=roc+moz
...
git-svn-id: svn://10.0.0.236/trunk@143142 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-31 14:49:18 +00:00
dbaron%dbaron.org
69da9d4a19
Clean up API (and its callers) for getting style data: remove unneeded null checks and switch to new inline member functions (one for each struct) that return values. b=197205 r+sr=roc a=brendan
...
git-svn-id: svn://10.0.0.236/trunk@142488 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-15 03:42:21 +00:00
bzbarsky%mit.edu
7961c32e38
fixing typo in error message. Bug 196449, patch by anedah-9@student.luth.se
...
(Andre Dahlqvist), r=bernd, sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@140631 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-03 05:35:51 +00:00
bmlk%gmx.de
46c75680d5
change table cell width to content width, bug 119100 r=jkeiser sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@139957 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-21 19:35:36 +00:00
roc+%cs.cmu.edu
ad79d0e7da
Bug 191938. 'Dont print backgrounds' by setting background to white. also clean up unused params and make background-attachment:fixed work in printing/printpreview. r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@138258 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-23 02:49:22 +00:00
bernd.mielke%snafu.de
83bcdd3b07
improve rowspan border collapse handling, bug 157047 r=jkeiser, sr=roc+moz
...
git-svn-id: svn://10.0.0.236/trunk@138217 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 19:24:49 +00:00
dbaron%dbaron.org
e6a2b29ebf
Remove nsISizeOfHandler and associated SizeOf methods. b=106792 r=bzbarsky sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@138193 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 15:34:38 +00:00
bryner%netscape.com
c44337949a
Remove nsIStyleContext (bug 114713), r/sr=dbaron. Changed lots of methods to use nsStyleContext* or already_AddRefed<nsStyleContext> as return values, depending on whether a reference is returned. Turn on nsRefPtr (bug 104346), and change nsDerivedSafe to not declare AddRef and Release explicitly virtual, r=jag, sr=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@138129 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 00:32:13 +00:00
dbaron%dbaron.org
a569c670f5
Replace computation of max-element-size (height and width) with max-element-width alone, since the max-element-height is practically unused and not meaningful for layout. b=186953 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@136064 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-09 14:26:32 +00:00
bernd.mielke%snafu.de
6a5e37a38b
fix bustage
...
git-svn-id: svn://10.0.0.236/trunk@135933 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-07 06:08:23 +00:00
bernd.mielke%snafu.de
cdc88ff9b8
fix border draw glitchin border collapse mode caused by an uninitialized variable bug 128930, patch karnaze@netscape.com r=bernd sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@135930 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-07 05:14:54 +00:00
jkeiser%netscape.com
d5d000ed33
Make empty tables with fixes layout show up (bug 128873), r=karnaze@netscape.com, sr=bzbarsky@mit.edu
...
git-svn-id: svn://10.0.0.236/trunk@135340 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-16 07:58:39 +00:00
bernd.mielke%snafu.de
9b8af87292
dont paint borders for hidden table frames, callqueryinterface cleanup bug 32199 r=karnaze sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@135304 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-14 17:52:27 +00:00
karnaze%netscape.com
15faa7640c
bug 127286 (part II due to cvs problems) - Handle splitting of floaters when lines impacting them are outside the block containing the floaters. sr=kin, r=alexsavulov
...
git-svn-id: svn://10.0.0.236/trunk@134740 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-04 00:58:52 +00:00
karnaze%netscape.com
971e0c5824
bug 183274 - bernd's patch to fix some typos and wrong max value. sr=bzbarsky, r=karnaze
...
git-svn-id: svn://10.0.0.236/trunk@134713 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-03 20:20:53 +00:00
sicking%bigfoot.com
6f8753e832
Bug 8929: Kill NS_COMFALSE
...
r=peterv sr=bz
git-svn-id: svn://10.0.0.236/trunk@134398 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-25 11:21:22 +00:00
karnaze%netscape.com
1432927ab9
bug 91491 - Invalidate the correct area when there is a caption. Invalidate max of area before reflow and area after. sr=kin, r=bernd.
...
git-svn-id: svn://10.0.0.236/trunk@134267 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-21 15:28:02 +00:00
dbaron%fas.harvard.edu
307f43b5a1
Consolidate all CSS pseudos and split them into three atom lists to distinguish between pseudo-classes, pseudo-elements, and fake-pseudo-elements used for anonymous boxes. b=147887 r,sr=roc,bz
...
git-svn-id: svn://10.0.0.236/trunk@134006 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-17 15:37:56 +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
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
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
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
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
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
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
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
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
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
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