roc+%cs.cmu.edu
557b089a47
Bug 328926. Remove aPresContext parameter from Destroy and SetInitialChildList. patch by Marc Liddell, r+sr=roc
2006-03-15 03:14:02 +00:00
roc+%cs.cmu.edu
c2801ebbd7
Bug 328926. Remove aPresContext from nsIFrame::Init and nsIFrame::DidSetStyleContext. r+sr=roc, patch by Marc Liddell
2006-03-09 18:55:21 +00:00
roc+%cs.cmu.edu
f132edee94
Bug 256311. Improve block reflow performance in the presence of many empty lines, by being more aggressive about caching block and line emptiness state, and by stashing a reference to a line that we know has nothing but empty lines above it. Relanding because I accidentally backed it out. r+sr=dbaron
2006-02-27 04:15:05 +00:00
roc+%cs.cmu.edu
1fac9c6d76
Backing out changes for bug 326944, really this time\!
2006-02-27 04:13:51 +00:00
roc+%cs.cmu.edu
bde356f1f5
Backing out changes for bug 326944.
2006-02-27 03:22:03 +00:00
roc+%cs.cmu.edu
e344f390f8
Bug 256311. Improve block reflow performance in the presence of many empty lines, by being more aggressive about caching block and line emptiness state, and by stashing a reference to a line that we know has nothing but empty lines above it. r+sr=dbaron
2006-02-27 02:51:57 +00:00
roc+%cs.cmu.edu
b7126ee8e0
Bug 326944. Remove nsIComboboxControlFrame. r+sr=roc, patch by Marc Liddell
2006-02-27 02:33:26 +00:00
uriber%gmail.com
c7032d59bb
Bug 299065: Bidi resolution needs to split inlines in addition to text frames. r+sr=dbaron
2006-02-21 21:33:47 +00:00
roc+%cs.cmu.edu
77bca74243
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
2006-01-26 02:29:17 +00:00
roc+%cs.cmu.edu
a710fcd15d
Bug 316281. Rework GetContentAndOffsetsFromPoint. r=uriber,sr=roc,patch by Eli Friedman
2005-12-07 23:08:39 +00:00
timeless%mozdev.org
1c34e68034
Bug 106386 Correct misspellings in source code
...
patch by mats.palmgren@bredband.net r=dbaron sr=dbaron
2005-11-20 22:05:24 +00:00
roc+%cs.cmu.edu
520b30a7f7
Bug 313817. DeCOMtaminate more NS_New*Frame functions. r+sr=roc, patch by Marc Liddell
2005-11-04 02:38:33 +00:00
roc+%cs.cmu.edu
fed343c43a
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.
2005-09-19 02:15:54 +00:00
bzbarsky%mit.edu
cf64715ae5
Remove the pointless nsIContent arg of nsIFrame::AttributeChanged. Bug 281390,
...
patch by Vidar Braut Haarr <vhaarr+bmo@gmail.com>, r+sr=bzbarsky
2005-09-07 16:49:21 +00:00
roc+%cs.cmu.edu
f246fa2bbd
Bug 280987. Remove aPresContext from nsIFrameDebug::List. r+sr=roc, patch by Vidar Braut Harr.
2005-09-06 21:34:50 +00:00
timeless%mozdev.org
f3dd2fbc15
Bug 291436 r:\mozilla\layout\generic\nsBlockFrame.h(628) : warning C4099: 'nsBlockFrame::nsAutoOOFFrameList' : type name first seen using 'struct' now seen using 'class'
...
r=roc sr=roc a=shaver
2005-06-01 16:28:06 +00:00
bzbarsky%mit.edu
b6e9b8ecd1
Fix list renumbering regression. Bug 293070, r+sr+a=dbaron
2005-05-17 03:15:14 +00:00
roc+%cs.cmu.edu
87c224f2cb
Bug 263825. Make paginated floats work, and other fixes. r+sr=dbaron
2005-03-23 03:35:08 +00:00
bzbarsky%mit.edu
f03bac09cc
Add an IsFloatContainingBlock() method on nsIFrame, use this in the frame
...
constructor. Make sure the div inside an <object> when we do our "we need a
plugin" thing has the space manager bit set. Bug 283385, bug 285165, bug
286111. r+sr=roc
2005-03-18 04:13:05 +00:00
bzbarsky%mit.edu
54d585f2af
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
2005-02-07 01:58:25 +00:00
roc+%cs.cmu.edu
3ff2296f52
Bug 263099. Fix coordinate translation in event handling when finding the relevant line of nested blocks. r+sr=bzbarsky
2005-02-07 01:09:58 +00:00
neil%parkwaycc.co.uk
74e2aa375a
Bug 276100 GetOriginToView has unused PresContext argument p=bugmail@q1n.org r+sr=dbaron
2005-01-01 17:26:29 +00:00
bugzilla%arlen.demon.co.uk
3d7261604c
Bug 270708 remove nsPresContext variable from AttributeChanged and cleaned up comment in nsIFrame.h
...
p=bugmail@q1n.org r=pkwarren sr=bzbarsky
2004-12-31 01:13:27 +00:00
roc+%cs.cmu.edu
13a6502805
Bug 209694. Major rework of margin-collapsing and clearance to match CSS 2.1 rules. Also includes major incremental reflow fixes for those situations. See the bug for details. rubber-stamp r+sr=dbaron
2004-11-25 14:51:00 +00:00
roc+%cs.cmu.edu
b7dfbedd1f
Changing IsFrameEmpty to IsSelfEmpty as dbaron requested and I forgot to do before checking in.
2004-11-15 05:01:11 +00:00
roc+%cs.cmu.edu
fbb67978a5
Bug 261064. Compute static absolute positions more accurately. Also, ensure that static absolutely positioned frames are moved when their placeholders move. Also, ensure that absolutely positioned frames positioned relative to the left or bottom edge of their container move when the container size changes. r+sr=dbaron (rubberstamp)
2004-11-14 20:22:58 +00:00
roc+%cs.cmu.edu
c237520c89
Bug 251162. Landing experimental implementation of CSS3 columns. r+sr=dbaron
2004-10-08 12:17:10 +00:00
bryner%brianryner.com
f67d250152
Unify box and frame trees by moving nsIBox methods onto nsIFrame. XUL-box frames can call the superclass nsBox implementation, all other frames get the nsFrame implementation of the box methods, which acts like nsBoxToBlockAdaptor used to. Bug 258513, r+sr=roc.
2004-09-28 18:37:50 +00:00
roc+%cs.cmu.edu
3a3ac38479
Bug 257216. Fix sundry block issues for columns. In particular, remove overflowing floats from the space manager before we compute the space manager's XMost and YMost to include in the block size. r+sr=dbaron
2004-09-13 13:35:46 +00:00
roc+%cs.cmu.edu
34a39349e6
Relanding fix for bug 253977, now that state bits prevent GetOverflowLines from being expensive. Fix a few columns-hurting block bugs. 1) Always drain overflow lines on any kind of block reflow. 2) Set NS_FRAME_REFLOW_NEXTINFLOW in the reflow status whenever reflow of the block's next-in-flow is required. 3) Search overflow lines when we're looking for frame continuations to delete. 4) Show overflow area in nsContainerFrame frame dump. r+sr=dbaron
2004-08-26 12:38:50 +00:00
roc+%cs.cmu.edu
5990b839d3
Bug 256937. Use state bits to avoid expensive property lookups in GetOverflowLines/OutOfFlows/Placeholders. r+sr=dbaron
2004-08-26 03:07:05 +00:00
roc+%cs.cmu.edu
01147f5d80
Bug 253977 backout because of possible Tp regression on btek.
2004-08-22 03:50:59 +00:00
roc+%cs.cmu.edu
aca07ab169
Bug 253977. Fix a few columns-hurting block bugs. 1) Always drain overflow lines on any kind of block reflow. 2) Set NS_FRAME_REFLOW_NEXTINFLOW in the reflow status whenever reflow of the block's next-in-flow is required. 3) Search overflow lines when we're looking for frame continuations to delete. 4) Show overflow area in nsContainerFrame frame dump. r+sr=dbaron
2004-08-22 03:00:46 +00:00
bryner%brianryner.com
5c02a6978c
Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc
2004-07-31 23:15:21 +00:00
jim_nance%yahoo.com
824a6d1d0c
Fix But #250105 - Add Arena for nsLineLayout buffers. r+sr=roc
2004-07-15 17:50:34 +00:00
aaronleventhal%moonset.net
092ea261a2
Bug 242594. Expose list and list item objects, and bullet text. r=Louie.Zhao, sr=jst/dbaron
2004-06-04 19:28:36 +00:00
smontagu%smontagu.org
82d48e1672
DeCOMtaminate nsIFrame Set/GetProperty and merge Set/GetBidiProperty with it. Bug 117751, r+sr=roc
2004-06-01 06:20:16 +00:00
roc+%cs.cmu.edu
44b2bd59f6
Bug 230417. When a placeholder frame lands in a block's overflowList, put its out of flow frame in a new child list, overflowOutOfFlowsList
2004-05-05 02:30:33 +00:00
gerv%gerv.net
708b56cff4
Bug 236613: change to MPL/LGPL/GPL tri-license.
2004-04-18 14:30:37 +00:00
bzbarsky%mit.edu
04b19c480d
Change the way regression tests get the framestate to make it possible to mask
...
out irrelevant state bits as needed. Apply this to NS_BLOCK_HAS_LINE_CURSOR.
Bug 237955, r+sr=roc, a=dbaron
2004-04-04 01:48:16 +00:00
dbaron%dbaron.org
41c16857c2
DeCOMify nsIFrame::IsPercentageBase and rename to IsContainingBlock. b=237169 r+sr=bzbarsky a=brendan
2004-03-12 04:40:17 +00:00
roc+%cs.cmu.edu
2ab13be9a5
Fixing bustage, hopefully, THIS TIME
2004-03-07 19:23:53 +00:00
roc+%cs.cmu.edu
c7e522958e
Bug 51938. Cache recently accessed line if the lines' combinedArea.y/ymosts are nondecreasing --- speeds up painting and event handling on large blocks. r+sr=bzbarsky
2004-03-07 18:04:24 +00:00
bryner%brianryner.com
bc74f0b352
More nsIPresContext deCOMtamination (bug 229371). Removed GetBaseURL, rename GetMedium to Medium and inline it, remove virtual style resolution methods that forward to style set (callers will call style set methods directly). Removed PresContext parameter to StyleSet style resolution functions. r+sr=dbaron.
2004-01-28 00:18:22 +00:00
roc+%cs.cmu.edu
e7f165c614
Bug 190735. deCOMtaminate nsIFrame::FirstChild and nsIFrame::GetAdditionalChildListName. r+sr=bz
2004-01-09 14:20:53 +00:00
dbaron%dbaron.org
8856db0238
Clean up nsIFrame::IsEmpty signature and move towards making 'white-space' work on inlines. b=191699 r+sr=roc
2003-11-10 23:36:06 +00:00
uid502
d81619b4fa
Bug 190735. DeCOMtaminate nsIFrame::GetFrameType. r+sr=bzbarsky
2003-10-31 20:19:18 +00:00
dbaron%dbaron.org
3de4dc91e0
Use the correct term "float" instead of "floater". b=218654 r+sr=bzbarsky
2003-10-13 21:51:02 +00:00
bzbarsky%mit.edu
dc2a9b8f46
Use UnionRect instead of reimplementing it in the block code. Bug 220741,
...
r+sr=dbaron
2003-10-10 01:12:55 +00:00
kyle.yuan%sun.com
6562d22599
Bug 215220 Unable to receive caret-move event in HTML document
...
r=aaron, sr=henry.jia
Bug 217311 [ATK Accessibility] wrong text structure for HTML text
r=bolian.yin (Not in the default build)
Bug 218992 no placeholder for broken image
r=bolian.yin (Not in the default build)
This patch aims at solving some ATK accessible text issues. The main parts of this patch (inside accessibility/src/atk directory or the #ifdef MOZ_ACCESSIBILITY_ATK/#endif macro) are not in the default build (it gets built only when the default toolkit set to gtk2)
2003-09-14 12:56:21 +00:00
dbaron%dbaron.org
d85698fd40
Remove hint parameter from AttributeChanged methods and simplify style hint mechanism. b=211308 r+sr=bzbarsky
2003-07-11 21:16:12 +00:00
roc+%cs.cmu.edu
e7bf73c0d8
Bug 201767. Make nsBlockFrame::GetAdditionalChildListNames return the overflowList. Also, don't create scrollbars in print contexts except for the viewport scrollbar. r+sr=bzbarsky.
2003-04-22 01:33:14 +00:00
bzbarsky%mit.edu
0b85b42edc
Fix crash when composer and comboboxes interact. The real fix is in
...
nsComboboxControlFrame; the nsBlockFrame changes are just cleanup the fix
enables. Bug 197942, r=jkeiser, sr=dbaron.
2003-04-12 16:06:54 +00:00
kyle.yuan%sun.com
a8574cad31
Bug 193656 [ATK Accessibility] implement accessible object for block frame
...
r=aaronl, sr=henry.jia
2003-03-05 02:51:36 +00:00
dbaron%dbaron.org
0ec06d045f
Change the way we calculate max-element-width for blocks with floaters: stop trying (and sometimes failing) to ensure that there can always be text next to the floater. b=186593 r+sr=roc+moz
2003-02-22 16:19:31 +00:00
dbaron%dbaron.org
6dd68f3c64
Remove nsISizeOfHandler and associated SizeOf methods. b=106792 r=bzbarsky sr=jst
2003-02-22 15:34:38 +00:00
bryner%netscape.com
e43f5a49fd
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.
2003-02-22 00:32:13 +00:00
dbaron%dbaron.org
57124d8115
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
2003-01-09 14:26:32 +00:00
dbaron%fas.harvard.edu
34a1e37f7e
Correctly implement text-decoration in standards mode by drawing the underline on the element with the text-decoration property set. Refactor painting code a bit to avoid code duplication. Patch by Esben Mose Hansen <esben@oek.dk>, with paint refactoring and some other changes by dbaron. r=dbaron sr=bzbarsky b=1777
2002-12-11 04:00:18 +00:00
karnaze%netscape.com
0f0042a430
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
2002-12-04 00:58:52 +00:00
dbaron%fas.harvard.edu
d7be43384d
Fix margin collapsing of margins other than the first child's top margin out of the top of a block. b=44242, 18206 r=roc (mostly)
2002-11-28 19:29:28 +00:00
karnaze%netscape.com
92c3444803
bug 127145 - split blocks with computed heights. a=asa, sr=kin, r=alexsavulov.
2002-10-21 14:54:00 +00:00
karnaze%netscape.com
40902d04df
bug 163614 - Changed DeleteChildsNextInFlow to DeleteNextInFlowChild, params, and callers. sr=kin, r=alexsavulov,dcone
2002-10-08 20:35:26 +00:00
karnaze%netscape.com
d71ccf1e46
bug 157915 - Use the parent of the continued frame when calling DeleteChildsNextInFlow. sr=kin, r=alexsavulov
2002-09-24 22:13:20 +00:00
roc+%cs.cmu.edu
1b93fe2b31
Bug 75121. Incrementally reflow absolute frames without doing a resize-reflow of the container. Patch by dbaron and roc. r=dbaron,r=roc,sr=kin
2002-09-24 11:43:48 +00:00
dbaron%fas.harvard.edu
e2d870b917
Fix regression causing scrollbars not to be extended by absolutely positioned elements in some cases. Also removed unused |FixParentAndView|. b=154230 r=bzbarsky sr=jst
2002-08-06 12:54:52 +00:00
karnaze%netscape.com
b342f8f732
bug 153785 - Added function to undo splitting floaters when the line they are on gets moved to the next page. Cached the break type of the last floater that gets split in the block reflow state so that the frame afterh the floater's continuation can combine that break type with its own. a=asa, sr=kin, r=alexsavulov
2002-07-17 01:48:56 +00:00
dbaron%fas.harvard.edu
e63a11c0e8
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
2002-06-25 21:16:17 +00:00
karnaze%netscape.com
8458aad931
bug 151620 - always use quirk line-height inside a td. sr=waterson, r=dbaron.
2002-06-19 22:28:47 +00:00
rods%netscape.com
89bbd44ace
Add PR_LOGGING for printing
...
Bug 121622 r=dcone sr=kin
2002-06-19 21:51:13 +00:00
karnaze%netscape.com
29f4ff0184
bug 148245 - only split floaters when printing if the height is constrained, never split floating first letters. sr=waterson
2002-06-14 14:30:33 +00:00
karnaze%netscape.com
1faf4c0592
bug 145305 - split floaters during printing. sr=attinasi, r=alexsavulov.
2002-05-28 22:50:43 +00:00
waterson%netscape.com
e3554c37cc
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
2002-05-10 18:22:41 +00:00
waterson%netscape.com
d572531e5b
Bug 138057. Eliminate nsBlockFrame::RememberFloaterDamage, instead recording the damage when we reflow the floater. This allows us to catch several cases that we weren't catching before, so we no longer need to dirty all the line boxes when an incremental reflow targeted at a float arrives. r=dbaron, sr=attinasi.
2002-04-26 19:19:39 +00:00
karnaze%netscape.com
2b094e1eca
bug 128804 - moved optimization of text controls to nsBlockReflowState and initialized it earlier. a=dbaron, sr=attinasi, r=alexsavulov.
2002-03-12 15:48:52 +00:00
dbaron%fas.harvard.edu
a293c9dc19
Bug 117374: nsBlockFrame::UpdateSpaceManager is no longer needed since nsBlockReflowState::RecoverFloaters does the same work.
...
Bug 113895: Pass |aDeltaY| as 0 for recursive calls to RecoverFloaters.
b=117374 r=attinasi sr=waterson
2002-01-06 18:14:00 +00:00
waterson%netscape.com
f60b980b7f
Bug 116230 et al; fix-on-a-fix for bug 91423. Don't always retarget to the primary frame: stop at the first continuation after a hard-break if there is one. Also, move retargeting to reflow state setup. r=rbs, sr=nobody.
2002-01-05 01:42:36 +00:00
waterson%netscape.com
f072fdfb99
Bug 117769. Remove vestigial |aStopPulling| parameter from nsBlockFrame::PullFrameFrom; clean up surrounding logic. r=dbaron, sr=attinasi.
2002-01-02 22:10:13 +00:00
waterson%netscape.com
854831c91c
Bug 115113. Eliminate nsIReflowCommand, and just use nsHTMLReflowCommand directly. r=karnaze, sr=attinasi.
2001-12-17 22:39:59 +00:00
evaughan%netscape.com
b5e2981ee1
Facelift for nsBoxToBlockAdaptor -r hyatt -sr waterson #110328
...
Grid memory leak -r naving -sr hewitt #109490
2001-12-03 23:41:13 +00:00
bzbarsky%mit.edu
f2ee8260a0
Use NS_LITERAL_STRING instead of NS_ConvertASCIItoUCS2 where possible
...
(i.e. where the string is a literal). Bug 104159, r=jag, sr=alecf
2001-11-14 01:33:42 +00:00
rods%netscape.com
cff42fbac8
Oops, I didn't mean to check this in, removing my change to turn it on again
2001-11-04 03:40:27 +00:00
rods%netscape.com
37a4501149
Initial check in for print preview work it is complied in for Windows and linix only
...
The bulk of print preview can be turned on/off with NS_PRINT_PREVIEW define
Bug 107562 r=kmcclusk sr=attinasi
2001-11-03 14:59:39 +00:00
dbaron%fas.harvard.edu
6e86902faa
Remove unnecessary XPCOM interface around nsSpaceManager. b=102453 r=jag sr=waterson
2001-10-26 05:06:07 +00:00
dbaron%fas.harvard.edu
157c017816
Bug 86947:
...
Make the line list doubly linked and access it through a list class and iterators.
Stop recomputing margins on all of the children of each block in the reflow chain (which causes O(N^2) state recovery during incremental reflow). Instead, add a second dirty bit to the lines and walk backwards through the line list to recompute vertical margins only when either dirty bit is set and the previous line was not reflowed. Add nsIFrame::IsEmpty to identify frames through which margins collapse.
Fix O(N^2) propagation of float damage by maintaining a set of intervals damaged by floats (bug 61962) and be sure to damage the correct areas (bug 48138).
Introduce nsCollapsingMargin to do correct collapsing of combinations of positive and negative margins (bug 50142).
Clean up some odds and ends and fix another smaller O(N^2) problem in nsBlockFrame::AddFrames.
r=attinasi, rbs sr=waterson
2001-10-25 01:08:40 +00:00
gerv%gerv.net
4e12e44b2f
Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
2001-09-28 20:14:13 +00:00
karnaze%netscape.com
e908dd0313
bug 68998 - added extra param to Paint, PaintChild, PaintChildren used by tables in standard mode. sr=waterson, r=alexsavulov.
2001-09-19 12:35:19 +00:00
hyatt%netscape.com
62d3de24fd
Fix for 95475. r=jag, sr=ben, a=dbaron
2001-08-25 02:01:08 +00:00
dbaron%fas.harvard.edu
fc01a17366
Make the width of floats with |width: auto| depend only on the width of the containing block and the contents of the float and not on the available space. Remove the loop calling ReflowFloater at different positions that is no longer needed, and remove the caching of the max element size for that loop that was not being invalidated correctly between reflows. Fix handling of margin, border, and padding for computation of available width for |width: auto| floaters. r=attinasi sr=waterson b= 85876, 82314, 82315, 85216, 85874, 86746
2001-07-19 02:33:43 +00:00
dbaron%fas.harvard.edu
077fc4d427
Add some comments to code about issues that we should look at, remove some unused code, rename some unnecessarily-overloaded functions, fix some typos, and make a few minor style changes. b=88735 r=waterson sr=attinasi
2001-07-04 02:00:05 +00:00
waterson%netscape.com
b55568be36
Bug 59200. Merge floater reflow and placement into FlowAndPlaceFloater() to deal with the fact that a floater may need to be reflowed as its 'pushed' to a new location. For auto-width floaters, ensure that the floater is not flowed at a width less than its max-element-size. Enforce CSS2 section 9.5.1 rule [2] by maintaining mLastFloaterY in the reflow state. r=rbs, sr=attinasi.
2001-05-21 23:03:46 +00:00
rbs%maths.uq.edu.au
cd754102d3
Change the place where the ascent is grabbed in the case where the first line is a block. Needed to fix bug=78389 r=waterson
2001-05-19 09:53:59 +00:00
mjudge%netscape.com
62aec426fa
62971 sr= hyatt r=kin/waterson fix for changing how we find the line given an event point
...
this will now do a binary search muuuch faster worst case than before
2001-05-11 08:04:29 +00:00
waterson%netscape.com
7567c5e94d
Bug 76727. Remove redundancy from BRS_ISINLINEINCRREFLOW optimization; take advantage of existing control flow. Also, correct misc misspelling. r=rbs@maths.uq.edu.au; sr=attinasi@netscape.com
2001-05-03 20:11:50 +00:00
waterson%netscape.com
6584908739
Bug 77414. Break nsBlockReflowState out into its own files. sr=attinasi
2001-05-01 04:22:57 +00:00
waterson%netscape.com
31af8a6d5d
Bugs 76721, 76724. Remove vestigial |aDeltaY| argument from RecoverStateFrom() methods. Remove redundant implementation of GetAvailableSpace(). r=dbaron, sr=attinasi.
2001-04-28 02:34:58 +00:00
attinasi%netscape.com
6bec8d8990
b=70731 r=dcone sr=waterson - fixes crasher while printing
2001-03-14 06:45:41 +00:00
rods%netscape.com
1c8f290f5d
Don't paint blocks that shouldn't be painted when printing
...
Bug 67296 r=kmcclusk sr=attinasi
2001-03-08 02:46:44 +00:00
waterson%netscape.com
f5d1d74918
Bug 71181. Revert attinasi's changes for bug 70730.
2001-03-07 20:15:35 +00:00
attinasi%netscape.com
2026961bdd
Fix for printing crash when bulleted items have no bullet and we assume they do. Added assertion to help find the cause of the problem, and checks for null to prevent the crash. b=70730 r=dcone sr=waterson
2001-03-07 00:38:45 +00:00
rbs%maths.uq.edu.au
2b65370bf6
Shift frame-state bits in implementations to the 12 higher bits - bug 68411 r=karnaze sr=waterson
2001-02-23 12:42:12 +00:00
buster%netscape.com
a017796f68
bug 45152 (Typed text does not render in TextAreas with a horizontal scrollbar)
...
fixed by adding a flag in nsLineBox for the content of a line to mark it "forceInvalidate",
logic in nsLineLayout to set the line dirty for initial reflow of text frames,
and logic in block to check the new flag.
r=kin
2000-08-24 04:26:43 +00:00
rbs%maths.uq.edu.au
af8754b765
Enable the code to export the baseline out of the block frame code to support 'vertical-article: baseline' in table-cells. bug 10207. a:waterson@mozilla.org. was r:buster@netscape.com.
2000-07-28 09:18:15 +00:00
waterson%netscape.com
1a2ffa3da2
Bug 44709. Maintain renumbering depth on stack, instead of in a global. r=roc+moz@cs.cmu.edu
2000-07-28 09:02:34 +00:00
waterson%netscape.com
9bd4266798
Bug 19051. Remove code that computed and maintained nsTextRun. Instead, compute 'next text' when required by crawling the frame tree in nsLineLayout::FindNextText(). r=roc+moz@cs.cmu.edu
2000-07-27 05:16:08 +00:00
dbaron%fas.harvard.edu
d05d4bef76
Fix bug 43882 (dogfood+) by removing special handling of empty P elements. (Most of the diffs are whitespace changes.) This also fixes bugs 43369, 43991, and 18050. However, it exposes a few other issues as well (the most important of which, nuking top margins on first *normal flow* children of BODY and TD, was previously fixed only in some cases, but shouldn't be hard to fix in general). r=waterson
2000-06-29 22:03:42 +00:00
buster%netscape.com
9665a1c5fa
fixed bug 41757
...
file also contains some debug only code (disabled), another bug fix (also disabled), the removal of
some obsolete code that was already #ifdef'd out, and a bunch of new comments
r=mjudge, waterson
2000-06-11 22:14:33 +00:00
rbs%maths.uq.edu.au
1a36f0816d
[#ifdef MOZ_MATHML: not yet part of default build]. Export the baseline out of the block frame code to support 'vertical-align: baseline' in table-cells. bug 10207. r:buster@netscape.com. a:waterson@mozilla.org
2000-06-05 08:24:18 +00:00
buster%netscape.com
c1c9bfa09b
effectively removed area frame
...
work troy was holding in his tree
r=buster
2000-05-09 05:11:12 +00:00
troy%netscape.com
a8143dd431
b=36202 Patch from roc+moz@cs.cmu.edu that makes sure we invalidate if
...
necessary when pulling up frames
2000-04-19 03:12:13 +00:00
troy%netscape.com
e7c5adfb56
Made FindLineFor() public because I need to call it from the HTML reflow
...
state code
2000-04-14 04:05:58 +00:00
buster%netscape.com
1c6eca645a
bug 29595 (and others)
...
fixes layout of pages where a single line is impacted by 2 or more floaters
r=troy
2000-03-22 23:19:10 +00:00
dbaron%fas.harvard.edu
87e19c9cef
Fix event targetting bugs by using paint layers in GetFrameForPoint, testing for visibility, and trying GetFrameForPoint on additional views if one fails. r=joki@netscape.com(, hyatt@netscape.com) b=12232,20051,21304,24474,26785, and remaining issues from 23161.
2000-03-22 02:43:08 +00:00
troy%netscape.com
8a78d916a5
b=21657 a=chofmann@netscape.com Made "overflow list" a full fledged
...
child list and changed ReparentFrameView() to check it.
2000-01-22 01:16:50 +00:00
nisheeth%netscape.com
56525e3574
r=troy. Reflow commands are now coalesced by block and inline frames. This fixes bug 985 in which we now generate 6 reflow commands instead of 257.
2000-01-12 08:28:24 +00:00
troy%netscape.com
f08e81815b
More work on getting block frames to incrementally update their
...
maximum width
2000-01-08 03:58:27 +00:00
hyatt%netscape.com
de2eaede42
Implementing a generalized recycler and arena for all layout frames. Hoping to improve
...
bug #9489 . Should also definitely fix bug #15916 . r=troy
1999-12-04 23:49:50 +00:00
tbogard%aol.net
af1ce8d410
Changed nsIPresContext& to nsIPresContext*. Changed nsEventStatus& to nsEventStatus*. Now more compatible with XPIDL. a=vidur r=scc
1999-11-24 06:03:41 +00:00
dmose%mozilla.org
5312eacf8c
updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
1999-11-06 03:40:37 +00:00
kipp%netscape.com
ef6a9e0b86
r=troy; remove another 4 bytes from each block frame for a total of 10% today :-)
1999-11-03 00:42:12 +00:00
kipp%netscape.com
f6d66c6b92
r=troy; Shrink block frames by 4 bytes per instance by making the overflow-lines instance variable a frame property
1999-11-02 23:42:52 +00:00
troy%netscape.com
1585a751fb
Moved a bunch of stuff out to a nsIFrameDebug interface
1999-11-01 22:12:45 +00:00
kipp%netscape.com
0a512d8393
r=troy; reworked the way that blocks inside of inline elements are handled. It's all in the frame construction code now (bugs 15999, 16737)
1999-11-01 15:24:57 +00:00
troy%netscape.com
87afecabc0
Changed SetView/GetView to take an additional argument which is the
...
pres context
1999-10-26 04:44:41 +00:00
kipp%netscape.com
a5c69dc5af
Fixed O(N^2) debug logic bug; speed up paint loop by avoiding painting too much now that we have combined-area (bug 7455, 12297)
1999-10-19 23:04:19 +00:00
peterl%netscape.com
a6adfea707
Added namespace ID to the AttributeChanged notification
...
Part fo the fix for Bug 15153
r=troy
1999-10-15 23:16:45 +00:00
kipp%netscape.com
d29d16b728
r=troy; Cleaned up line-box API (prep work for bug #12297 ; more coming); Support new line iterator API change ( #16176 )
1999-10-12 23:24:22 +00:00
troy%netscape.com
72ee697f6c
Frame space reductions. r=kipp@netscape.com
...
Table cell frames and table caption frames now use block frames and not area
frames. This saves 24 bytes per frame instance
1999-10-08 04:32:46 +00:00
peterl%netscape.com
700674fb14
removed ReResolveStyleContext
1999-09-21 07:56:18 +00:00
kipp%netscape.com
becb3704d9
Fixed various bugs including incremental list reflow (9742) and some table bugs with right floaters
1999-09-17 23:16:43 +00:00
kipp%netscape.com
f4124f6283
Fixed bugs 4572, 7400 and maybe 802
1999-09-16 19:56:36 +00:00
kipp%netscape.com
6488f7b26e
Fixed various incremental reflow bugs (1764,12890,1910,2222) and list bullet painting bug (10675,13599)
1999-09-15 00:28:10 +00:00
kipp%netscape.com
7fe2679e86
Updated SizeOf methods to not waste space when doing a non-debug build
1999-09-01 01:02:16 +00:00
kipp%netscape.com
f808fbb193
Reimplemented SizeOf methods in some of the frame classes; partial rework of first-line handling snapshot
1999-08-31 03:09:40 +00:00
kipp%netscape.com
e40963e370
Reduce stack size by allocating nsLineLayout objects from the heap when the frame tree depth gets too big (bug #10310 )
1999-08-27 21:45:37 +00:00
troy%netscape.com
5e93e674c5
Fixed incremental painting problem
1999-08-01 16:50:52 +00:00
troy%netscape.com
c551fe3166
Renamed DeleteFrame() to Destroy()
1999-07-22 02:24:52 +00:00
kipp%netscape.com
02571dde05
Various and sundry bug fixes
1999-07-14 17:26:20 +00:00
troy%netscape.com
ee38ccd817
Changed Reflow() and ReflowDirtyLines() to invalidate the damaged areas
...
after an incremental reflow
1999-07-14 15:16:56 +00:00
kipp%netscape.com
4846f41f1f
Reworked frame factory methods; fixed bug 4519
1999-05-11 22:03:29 +00:00
kipp%netscape.com
8dfb604de1
Removed some cruft
1999-04-28 00:19:28 +00:00
kipp%netscape.com
9b854acf63
Added first letter support
1999-04-27 22:11:05 +00:00
kipp%netscape.com
065b96c776
Fixed up child incremental reflow to only reflow the necessary number of lines (hopefully)
1999-04-21 19:58:38 +00:00
kipp%netscape.com
44f26158bb
Fixed up insertion code to support inserting blocks; tweaked FirstChild impl to work better; removed some no longer needed code
1999-04-20 21:51:39 +00:00
kipp%netscape.com
d1c19b975e
Implement first-line support; update some api's to use nsIPresContext*'s instead of nsIpresContext&'s
1999-04-20 00:27:43 +00:00
joki%netscape.com
e4361b7994
Fix event handling on background areas of tags.
1999-04-13 21:29:08 +00:00
kipp%netscape.com
ce589ecd6e
Reworked the state recovery logic for incremental reflow
1999-04-03 18:59:01 +00:00
kipp%netscape.com
7799a4ecc0
Reflow floater frames using the block reflow context
1999-04-01 01:37:36 +00:00
kipp%netscape.com
b1b830e9e8
Added methods to support pre-collapsing of top-margins; expose class-id for nsBlockReflowContext code
1999-03-27 01:21:21 +00:00
kipp%netscape.com
d6f3145b96
Fixed bugs #1277 , #2007 and #1517 and #1918 ; rendering is improved for floaters and a minimim height rule is now enforced for computed-height situations
1999-03-26 00:39:04 +00:00
peterl%netscape.com
32d3372e42
augmented ReResolveStyleContext to capture style change information
1999-03-25 06:43:38 +00:00
kipp%netscape.com
a8cf737ef9
Redid ReflowFloater api
1999-03-23 04:25:20 +00:00
kipp%netscape.com
0c0dc2ebd7
Added GetDepth debug method
1999-03-22 22:41:09 +00:00
kipp%netscape.com
84ec5e1b82
Support redo-reflow for lines to handle reflow around large floaters
1999-03-21 01:15:12 +00:00
kipp%netscape.com
521d0a1247
Fix wide layout bug in todays build; fixed bug #4013 as well and bug #2589
1999-03-19 23:05:56 +00:00
kipp%netscape.com
c9067260be
Spanked to collapse inline-reflow with line-layout into line-layout; fixed bugs #1278 , #1990 , #3527 , #1670 , etc.
1999-03-18 21:03:25 +00:00
kipp%netscape.com
2916ad11f9
Fixed numerous frame removed bugs (bug #3262 )
1999-03-16 19:36:00 +00:00
kipp%netscape.com
40529e4640
nsBlockReflowState no longer is-a nsHTMLReflowState; fixes to numerous bugs; reworked to use computed values from reflow-state
1999-03-05 04:21:32 +00:00
kipp%netscape.com
a8d4b57b12
Find text runs more often (bug #3278 , 3265); floaters are now handled mostly by the frame construction code
1999-02-26 17:04:44 +00:00
troy%netscape.com
3bdf672129
Removed nsIFrame::CreateContinuingFrame()
1999-02-25 05:31:15 +00:00
vidur%netscape.com
93609d0604
Added nsIStyleSheetLinkingElement interface and implemented it for LINK and STYLE elements. Got attribute modifications for lists and list items working (including correct renumbering of lists when attribute values change).
1999-02-23 19:18:12 +00:00
kipp%netscape.com
c972607d82
Process bullets better so that they are vertically aligned properly
1999-02-18 22:22:55 +00:00
kipp%netscape.com
36c243cdc0
COMized nsIPresShell and nsIPresContext
1999-02-12 17:45:58 +00:00
troy%netscape.com
2ac7b86865
Changed GetAdditionalChildListName() and FirstChild() to use ** instead
...
of *&
1999-02-10 02:25:01 +00:00
kipp%netscape.com
6953c4a7c8
Whacked away nsBaseIBFrame and BLOCK_IS_INLINE cruft
1999-02-09 17:31:33 +00:00
kipp%netscape.com
361ca345fb
Changed base-ib-frame to implement AppendFrames/InsertFrames/RemoveFrame directly; changed args to DoRemoveFrame; updated the anonymous block to have a slightly different method set to manipulate its children
1999-02-02 17:31:09 +00:00
kipp%netscape.com
859dde6287
Renamed InsertNewFrame->s; defined nsAnonymousBlock class
1999-02-01 17:28:39 +00:00
kipp%netscape.com
7f96144059
Spanked away SizeOf methods and nsIListFilter
1999-01-16 00:00:50 +00:00
kipp%netscape.com
4243726f6a
Switch to using nsFrameList for frame lists
1999-01-15 22:53:39 +00:00
kipp%netscape.com
50b331f35c
Reinstated the last set of checkins that were backed out
1999-01-05 23:01:54 +00:00
donm%netscape.com
9b2666a111
backing out changes against a long red tree. would like to clear
...
the hook. -donm
1999-01-05 18:16:05 +00:00
kipp%netscape.com
3a981f0215
Removed aPrevSibling from DoRemoveFrame's arg list
1999-01-05 17:49:44 +00:00
kipp%netscape.com
40c2cfef07
Fixed numerous compiler warnings (hopefully) from the mac build
1998-12-18 17:34:34 +00:00
kipp%netscape.com
c29e5116c7
Revised frame Paint API
1998-12-18 15:54:23 +00:00
kipp%netscape.com
b5ddc4184d
Clean up max-element-size computations; added code to remove empty lines (disabled for now)
1998-12-17 18:52:10 +00:00
kipp%netscape.com
c2c34891ef
Factored out floater sliding from SlideFrames; Added the dy value to the RecoverState method
1998-12-12 19:18:28 +00:00
troy%netscape.com
7ec6a2c281
Added new atoms to nsLayoutAtoms for additional named frame child lists
1998-12-09 05:30:17 +00:00
kipp%netscape.com
be0240395a
Added DeleteLine method
1998-12-07 22:28:23 +00:00
kipp%netscape.com
907f06864c
Major spankage; refactored code; common base class for block/inline frames
1998-12-05 16:02:08 +00:00
troy%netscape.com
2a4b2c503f
Added Init() member function to nsIFrame
1998-12-03 06:31:43 +00:00
kipp%netscape.com
157425553e
Override FrameForPoint so that floaters/bullets get events
1998-11-19 18:09:57 +00:00
kipp%netscape.com
a6926809f0
Added DumpRegressionData; revised ListTag; added GetFrameName
1998-11-19 17:22:29 +00:00
troy%netscape.com
9d1564cf4a
Added some constants to use when referring to child list name indices
1998-11-18 06:13:58 +00:00
kipp%netscape.com
389de1de86
Added in nsHTMLReflowState argument to ReflowFrame so that callers can properly initialize it
1998-11-17 01:04:21 +00:00
troy%netscape.com
d6a65c024a
Split class declaration out into a separate header file so the body frame
...
can be a derived class
1998-11-16 17:11:12 +00:00
kipp%netscape.com
8244706ce7
nuked
1998-09-23 20:11:22 +00:00
kipp%netscape.com
be50f363a2
Spanked hard to reorg code around nsInlineReflow; rework list handling; rework factoring of inline/block reflow
1998-09-23 02:25:26 +00:00
troy%netscape.com
9adcf5d319
Cleaned up frame construction code
1998-09-17 04:07:58 +00:00
kipp%netscape.com
8f2807a027
Removed css/layout directory
1998-09-15 00:19:49 +00:00
kipp
1a446c2e3f
New and improved (?) line layout
1998-06-25 16:33:10 +00:00
troy
f8b11bcac8
Changed block to do the initial reflow of a floater. Also fixed a problem
...
with floated tables crashing
1998-06-10 05:33:38 +00:00
kipp
cacb19b895
Updated reflow-inline-child to handle the new nsIInlineFrame api
1998-06-09 17:32:27 +00:00
kipp
e3bb53161d
Added mPrevMarginSynthetic flag
1998-06-04 17:49:29 +00:00
kipp
9be24b0fac
Added SetFirstChild; made line layout a friend of block frame
1998-06-01 23:37:55 +00:00
kipp
9191e6894f
Partial support for BR clear behavior
1998-05-30 17:45:15 +00:00
troy
7a485fcc40
Changed nsReflowState structs to be linked together
1998-05-29 20:36:05 +00:00
kipp
24a708a050
Consolidated list handling state variables
1998-05-29 18:25:14 +00:00
kipp
8bf7e83385
Removed some unused list layout cruft
1998-05-29 02:33:50 +00:00
kipp
b9d5409399
Added list state for line layout
1998-05-29 02:11:38 +00:00
troy
4910a3a407
Added 'ns' prefix to class name
1998-05-28 02:37:37 +00:00