roc+%cs.cmu.edu
b6ebd9961d
Bug 328926. Remove aPresContext parameter from nsIFrame::Destroy, nsIFrame::SetInitialChildList and nsIFrame::RemovedAsPrimaryFrame. patch by Marc Liddell, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@193976 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-10 00:16:29 +00:00
bmlk%gmx.de
930d9dd0a4
prevent a second call to SetInitialChildList bug=333288 r/sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@193965 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-09 18:43:46 +00:00
dbaron%dbaron.org
9911a9b756
Remove uses of MOZ_DECL_CTOR_COUNTER, which is always defined to nothing. b=332745 rs=roc,bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@193572 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-05 00:00:44 +00:00
sharparrow1%yahoo.com
4faf77261e
Bug 331415: some printing code cleanup. r+sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@193231 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-30 00:27:42 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
roc+%cs.cmu.edu
0f923db490
Bug 274516. Tables should use the ordered rowgroup array to decide which children to push, not just follow the sibling list. Also, repeating footers should not be pushed. r=bernd, sr=bzbarsky, a=choffman
...
git-svn-id: svn://10.0.0.236/trunk@169282 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-16 20:02:14 +00:00
bzbarsky%mit.edu
807f289552
Move reflow command construction into nsPresShell::AppendReflowCommand, remove
...
some members, switch some callers to the non-COM-ish apis. Bug 267085, r+sr=rbs
git-svn-id: svn://10.0.0.236/trunk@168953 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-08 00:59:52 +00:00
bzbarsky%mit.edu
2bea98552c
Remove prescontext args for some nsIFrame methods
...
(Append/Insert/Remove/ReplaceFrames) and for some methods in table land. Patch
by Vidar Braut Haarr <bugmail@q1n.org>, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@168894 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-07 01:58:25 +00:00
mats.palmgren%bredband.net
a32f025a3a
Don't page-break before or after a repeated frame. b=278983 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@168835 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-05 04:23:52 +00:00
bmlk%gmx.de
ec1972d403
Insert only one column group at a time and not all following siblings, bug 277062 r/sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@168645 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-01 18:07:44 +00:00
cvshook%sicking.cc
12f074b44e
Bug 236476: Change GetHTMLAttribute to GetParsedAttr. Also fixes bug 232706 by removing final uses of nsHTMLValue.
...
r=bz sr=jst
git-svn-id: svn://10.0.0.236/trunk@168269 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-25 00:02:58 +00:00
bmlk%gmx.de
17f1b0ea6a
improve the splitting of row groups in pagination mode, bug 272830 r/sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@167168 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-01 18:23:33 +00:00
neil%parkwaycc.co.uk
b6cfbdda85
Bug 276100 GetOriginToView has unused PresContext argument p=bugmail@q1n.org r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@167161 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-01 17:26:29 +00:00
bmlk%gmx.de
d5cb7cf961
style lookup correction for border collapse computation under rtl conditions, bug 267420 r=fantasai sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@167047 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-27 18:43:55 +00:00
bmlk%gmx.de
adcb976e59
remove unused prescontext from PlaceFrameView, PlaceChildsView, ConsiderChildOverflow bug 276092 r/sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@167045 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-27 15:05:18 +00:00
bmlk%gmx.de
f4ecc570fe
switch the frame sorting from the frame constructor to the table frame + a couple of build warning fixes, bug 269648, r/sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@166078 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-01 18:47:34 +00:00
bzbarsky%mit.edu
98e8d59a4a
Fix asserts by making sure that border-spacing is always computed to coord
...
values. Bug 270325, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@165948 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-30 18:30:58 +00:00
aaronleventhal%moonset.net
59b589b964
Bug 250269. Outlines not getting painted on buttons, radios, checkboxes, tables and table cells. r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@165254 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-11 15:07:22 +00:00
bmlk%gmx.de
6f857f9094
fix build bustage
...
git-svn-id: svn://10.0.0.236/trunk@164704 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-31 16:55:12 +00:00
bmlk%gmx.de
770ad874d6
paint borders rtl in border collapsed tables when dir=rtl is specified for the table, initial patch by dbaron bug 174470 r/sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@164701 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-31 15:52:52 +00:00
bmlk%gmx.de
73b91d2be3
change ref to pointer to catch spurious crash bug=264733 r/sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@164607 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-29 17:44:29 +00:00
bmlk%gmx.de
b11f6f0e87
reorganize CalCDominantBorder, reduce the number of arguments, change the border structure. make the rules handling more evident, bug 229883, With more than a little help from my friends (fantasai, boris) r/sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@163467 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-09 12:04:52 +00:00
bmlk%gmx.de
e6f5bc2c94
at the table bottom use this row as it is the only place where we dont paint above the row, bug 254538 r/sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@162531 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-19 18:15:37 +00:00
bmlk%gmx.de
6d3feed3dd
ensure a correct overflow area, even if the overflow is clipped, it should be the frame size under these conditions bug = 260241 r/sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@162529 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-19 09:50:41 +00:00
roc+%cs.cmu.edu
ab88d1e1ac
Bug 259032. DeCOMtaminate nsIFrame::GetNext/PrevInFlow. r+sr=roc, patch by Will Levine
...
git-svn-id: svn://10.0.0.236/trunk@162269 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-14 02:28:03 +00:00