roc+%cs.cmu.edu
140fbb3377
Bug 330934. Set a nsIFrame's stylecontext in its constructor, to ensure that there's always one available for GetPresContext() to use even if Init hasn't been called. Patch by Marc Liddell, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@193022 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-26 21:30:36 +00:00
bmlk%gmx.de
7984fc7818
adjust start col index when looping over rtl colspans bug 331344 r/sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@193011 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-26 15:58:34 +00:00
bmlk%gmx.de
c5a8baedf8
insist on an inner table frame, resistance to any other childlist, bug 329768, r/sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@192579 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-18 07:18:54 +00:00
pavlov%pavlov.net
b5c7a440ef
backing out roc's patch for bug 328926 due to crash running tests on vc8 machines.
...
git-svn-id: svn://10.0.0.236/trunk@192407 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-15 06:43:36 +00:00
roc+%cs.cmu.edu
6e36f2c733
Bug 328926. Remove aPresContext parameter from Destroy and SetInitialChildList. patch by Marc Liddell, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@192399 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-15 03:14:02 +00:00
roc+%cs.cmu.edu
c469d694c3
Bug 330300. Move mFrame from nsDisplayItem subclasses up to nsDisplayItem itself, and make GetUnderlyingFrame an inline non-virtual function. Patch by Alfred Peng, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@192331 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-14 20:43:18 +00:00
roc+%cs.cmu.edu
38a9722e9f
Bug 328926. Remove aPresContext from nsIFrame::Init and nsIFrame::DidSetStyleContext. r+sr=roc, patch by Marc Liddell
...
git-svn-id: svn://10.0.0.236/trunk@192085 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-09 18:55:21 +00:00
bmlk%gmx.de
d32433877f
Don't create dead cells if the position is outside the cellmap boundaries. bug 328339 r/sr=bz
...
git-svn-id: svn://10.0.0.236/trunk@191764 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-04 05:32:38 +00:00
bmlk%gmx.de
24256cd622
Make visibility:collapse work again after the display list change. Implement overflow handling and view synchronization for collapsed frames. bug 326551 r/sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@191763 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-04 05:26:57 +00:00
timeless%mozdev.org
faf573a28d
Bug 298277 remove useless references to nsVoidArray
...
r=dbaron sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@191016 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-23 10:30:59 +00:00
uriber%gmail.com
9abc8fa432
Bug 299065: Bidi resolution needs to split inlines in addition to text frames. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@190744 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-21 21:33:47 +00:00
bmlk%gmx.de
41058f11de
don't shrink cells below borderpadding in fixed layout, bug 308019 r/sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@189770 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-11 11:12:40 +00:00
bzbarsky%mit.edu
fb8579f413
Fix leak bug 324969 -- make sure to call virtual destructors.
...
git-svn-id: svn://10.0.0.236/trunk@188434 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-29 18:48:58 +00:00
bmlk%gmx.de
e3e8c752e5
reorder row groups to keep them in sync when the nextinflow changes underneath bug 302911 r/sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@188384 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-28 06:14:11 +00:00
roc+%cs.cmu.edu
df8627e29b
Bug 317375. Reorganize frame painting and mouse event targeting around frame display lists. Some review from dbaron, lots of testing help from Martijn, Julien and others
...
git-svn-id: svn://10.0.0.236/trunk@188202 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-26 02:29:17 +00:00
bmlk%gmx.de
4383794384
error in the patch for bug 307367, spotted by jag
...
git-svn-id: svn://10.0.0.236/trunk@187961 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-21 10:14:38 +00:00
bmlk%gmx.de
ee493b4c1d
use scaledpixels to convert from CSS pixels to realword pixels bug=307367 r/sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@187960 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-21 09:54:07 +00:00
bzbarsky%mit.edu
4c22ca3414
Make sure to call the right destructor on cellmap info structs. Bug 302725,
...
r=bernd, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@187593 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-13 21:08:17 +00:00
bmlk%gmx.de
a9a12da5e7
insert new rowgroup cellmaps in the order predicted by OrderRowGroups, bug=317554 r/sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@186183 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-16 19:10:56 +00:00
bmlk%gmx.de
d800c5f869
Do not prevent the creation of multiple captions, but display only the first one, bug 309322 r/sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@185643 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-03 15:13:08 +00:00
bmlk%gmx.de
94e71e5ef7
fix for null pointer deref, only rowspans span into the row below. bug 316636 r/sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@185330 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-28 19:29:26 +00:00
bmlk%gmx.de
a141bbaebf
fix for a regression from bug 271789, deadcells are nearly equivalent to complete cellmap holes, bug 317148 r/sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@185050 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-21 18:08:30 +00:00
timeless%mozdev.org
a05383ef1b
Bug 106386 Correct misspellings in source code
...
patch by mats.palmgren@bredband.net r=dbaron sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@185018 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-20 22:05:24 +00:00
bsmedberg%covad.net
0217e2f9a9
Bug 313309 part 2 - change the NS_DEFINE_STATIC_IID_ACCESSOR macro to NS_DECLARE, and make a NS_DEFINE_ macro that's outside the class declaration, r=shaver
...
git-svn-id: svn://10.0.0.236/trunk@184456 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-11 14:36:26 +00:00
bmlk%gmx.de
9df90b5471
mark cell hooles that are not caused by zero spans as dead, this will limit searches when a search is initiated at other cell hooles. bug 271789 r/sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@184451 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-11 05:22:18 +00:00
bmlk%gmx.de
f45b33da68
limit search for real table cells to place where they can be expected, bug 313295 r/sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@184151 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-04 18:41:32 +00:00
roc+%cs.cmu.edu
c4e0410c6e
Bug 313817. DeCOMtaminate more NS_New*Frame functions. r+sr=roc, patch by Marc Liddell
...
git-svn-id: svn://10.0.0.236/trunk@184129 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-04 02:38:33 +00:00
bmlk%gmx.de
96883f3c47
look for originating table cells only at places where they are supposed to be bug 313295 r/sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@183240 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-29 13:45:38 +00:00
mrbkap%gmail.com
ac0b1c376e
bug 314197: Change this often-firing table assertion into a warning. r=bernd sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@183209 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-28 19:49:51 +00:00
mats.palmgren%bredband.net
6e512c8d9f
Return the frame count for the given line 'aLineNumber', not the line where we find the first frame. b=308052 r=bernd sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@182348 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-17 00:03:05 +00:00
bmlk%gmx.de
212fccadfd
handle baseline for empty table cells closer to the new description in CSS2.1, bug 291060 r/sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@181584 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-04 15:47:21 +00:00
bmlk%gmx.de
ab0cfb3125
Do not rely on addcells to compute correctly mRowCount. bug 308752 r/sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@180930 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-25 18:42:31 +00:00
roc+%cs.cmu.edu
aeacb4d477
Bug 108310. Make GetFrameForPoint take frame-relative coordinates, not bogus relative-to-some-view-or-other, and simplify the signature. r+sr=roc, patch by Eli Friedman.
...
git-svn-id: svn://10.0.0.236/trunk@180551 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-19 02:15:54 +00:00
bzbarsky%mit.edu
c77345cff3
Fix crash bug 302118, patch by bernd, r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@180023 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-12 13:44:15 +00:00
bzbarsky%mit.edu
c3d2c5e7a2
Remove the pointless nsIContent arg of nsIFrame::AttributeChanged. Bug 281390,
...
patch by Vidar Braut Haarr <vhaarr+bmo@gmail.com>, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@179800 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-07 16:49:21 +00:00
bmlk%gmx.de
b22f3e984d
limit pctHeightObserver to quirks mode bug 305975 r/sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@179308 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-30 16:14:53 +00:00
timeless%mozdev.org
c2fcb662c5
Bug 277553 clicking on Textarea with a RTL direction doesnt work
...
patch by uriber@gmail.com r=bz sr=bz a=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@177023 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-02 21:55:55 +00:00
bmlk%gmx.de
f0cdc1dedb
fix reflow reason for special height reflow, reevaluate height reflow conditions as tables with fixed layout might have one reflow less bug 293761 r/sr=roc a=asa
...
git-svn-id: svn://10.0.0.236/trunk@174927 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-21 04:50:42 +00:00
timeless%mozdev.org
dde2e4eda3
Bug 294823 ASSERTION: max element width exceeded desired width: 'PR_FALSE'
...
patch by bernd r=roc sr=roc a=asa
git-svn-id: svn://10.0.0.236/trunk@174712 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-16 18:22:38 +00:00
bzbarsky%mit.edu
d7cdf419a0
Fix leak in table background painting. Bug 295236, r=bernd, sr=dveditz, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@173727 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-24 04:15:05 +00:00
bzbarsky%mit.edu
3f6088524e
Fix border width inheritance by keeping track of both the border width we'd
...
have if our style were not none/hidden and the actual computed border width.
Bug 290377, r+sr=dbaron, a=asa
git-svn-id: svn://10.0.0.236/trunk@172872 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-29 15:44:38 +00:00
roc+%cs.cmu.edu
131435cb9a
Bug 240276. Make nsHTMLScrollFrame be a regular HTML frame, not a box frame, so we don't have to go through box layout. It gets its own reflow implementation that handles min-max and lots of other good stuff. rs+sr=dbaron,a=asa
...
git-svn-id: svn://10.0.0.236/trunk@172836 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-28 21:57:22 +00:00
dbaron%dbaron.org
f94ce77397
Fix too-much-overflow regression by making border-collapse cells store the full width of the border rather than just the inside half of it. Also make BCPixelSize 16-bit instead of 8-bit and use it in more places, and a little other cleanup. b=286794 r=bernd sr=roc a=brendan
...
git-svn-id: svn://10.0.0.236/trunk@171857 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-07 18:04:38 +00:00
bmlk%gmx.de
b5b65a13ed
we need enough space to insert a cell even at the end of a row, bug=284575 r/sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@171569 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-04 17:20:08 +00:00
bmlk%gmx.de
6733807ecf
prevent negative available widths for rowgroups when changing from an empty table to one with cells and cellspacing, bug 271047 r/sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@171373 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-30 07:42:49 +00:00
dbaron%dbaron.org
8b93b2aa52
Fix coverity uninitialized variable warnings in layout. b=288092 r=bernd sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@171357 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-30 01:50:56 +00:00
bmlk%gmx.de
0cb4778ab7
build warnings (shadow + unused variables) bug 287097 r/sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@171163 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-24 19:02:59 +00:00
bmlk%gmx.de
dc30d31527
take vertical margins into account during height constrained situations like printing. bug 285006 r/sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@170920 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-19 17:59:11 +00:00
dbaron%dbaron.org
a92ac96d32
Make overflow area for border-collapse table cells include the whole border (and maybe a pixel more) so that style change invalidation of border-collapse table cells will invalidate what got changed. b=271755 r=bernd sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@170866 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-18 02:15:44 +00:00
roc+%cs.cmu.edu
d368c128cd
Bug 285030. Ensure BCData::mCornerBevel is initialized. r=bernd, sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@170250 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-06 21:18:54 +00:00