Commit Graph

727 Commits

Author SHA1 Message Date
aaronleventhal@moonset.net
221e3f182c 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
3fa48e3a2b DeCOMtaminate nsIFrame Set/GetProperty and merge Set/GetBidiProperty with it. Bug 117751, r+sr=roc 2004-06-01 06:20:16 +00:00
dbaron@dbaron.org
5d4f2d8457 When we do two passes on an incremental reflow in order to update maximum width, do max-element-width calculation on the second pass too so that floats have their max-element-width cached for state recovery. b=217527 r+sr=roc 2004-05-31 17:41:50 +00:00
roc+@cs.cmu.edu
2f91bec3ca 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
dbaron@dbaron.org
fe56d877b9 Remove hacks no longer needed since text inputs became reflow roots (instead of using the IncrementalDamageConstrained hack. b=241833 r+sr=rbs 2004-05-04 23:56:25 +00:00
dbaron@dbaron.org
c88308f326 Only call SetLineWrapped when line doesn't end in BR. b=238472 r+sr=roc 2004-04-23 19:27:14 +00:00
gerv@gerv.net
a1ec040a65 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:30:37 +00:00
tor@cs.brown.edu
02dfd13b0b Bug 240274 - remove PopState() argument. r=blizzard, sr=bryner 2004-04-18 13:13:35 +00:00
bzbarsky@mit.edu
4fc914dc9e When appending frames to a block after a <br>, just put them into a new line
right away instead of waiting for reflow to come about and fix it up.  This
speeds up things that append nodes including <br> to a block one at a time
(e.g. editor or content scripts) Bug 240291, r+sr=dbaron
2004-04-13 01:45:57 +00:00
bzbarsky@mit.edu
00465c118c Fix dirty reflows of bullets to deal with an empty first line (whitespace
followed by block) in the parent block.  Bug 206602, r+sr=dbaron
2004-04-13 01:38:10 +00:00
bryner@brianryner.com
5ddc9f91a1 More nsIPresContext deCOMtamination (bug 229371). r+sr=roc. 2004-04-13 00:28:44 +00:00
bzbarsky@mit.edu
2c80fe6fce Don't do a O(N) walk over all lines when painting floats, since we already have
a nice sorted list of floats about.  Bug 52005, r+sr=dbaron, a=brendan
2004-04-09 21:08:09 +00:00
bzbarsky@mit.edu
26de7e932f 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
bzbarsky@mit.edu
1b33d95b02 Clear the line cursor when child frames are added or removed. Bug 236947,
r+sr=roc, a=chofmann
2004-03-14 18:19:24 +00:00
dbaron@dbaron.org
92743fad12 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
bfa2b2d5c6 Bug 235264. Clean up invalidation to go through a single nsIFrame::Invalidate function and take account of 'outline' where necessary. r+sr=dbaron 2004-03-10 03:09:05 +00:00
roc+@cs.cmu.edu
f383fceeb2 Fixing bustage, hopefully 2004-03-07 18:50:11 +00:00
roc+@cs.cmu.edu
11a1310d27 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
180d96f792 Get rid of nsIFrameManager abstract interface to the frame manager. Bug 233972, r+sr=roc. 2004-02-23 21:29:06 +00:00
bryner@brianryner.com
9a3c56b36f Inline boolean getters and setters on nsIPresContext, and change the storage to a bitfield. Bug 229371, r+sr=roc. 2004-02-20 17:49:01 +00:00
dbaron@dbaron.org
12fbe08be1 A little cleanup. b=229654 r+sr=bzbarsky 2004-02-09 05:22:58 +00:00
dbaron@dbaron.org
ac9cbe4d38 Allow PushLines to push the first line. b=185357 r+sr=roc 2004-02-03 18:19:42 +00:00
bryner@brianryner.com
662d805035 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
dbaron@dbaron.org
ab4bef4055 Fix a bunch of errors in incremental computation of maximum width and max-element-size that were causing incremental reflow bugs. b=39683, 217369 r+sr=roc 2004-01-27 05:47:55 +00:00
dbaron@dbaron.org
876a92f426 Change name of variable so this code makes sense. 2004-01-24 20:21:32 +00:00
cbiesinger@web.de
292a40e738 Bug 231372
GetCombinedArea could be faster/better
make it return an nsRect as return value instead of out parameter.
r=dbaron sr=bzbarsky
2004-01-22 15:06:25 +00:00
dbaron@dbaron.org
89f9cc1c4e Use |const|. DEBUG-only. 2004-01-21 23:08:51 +00:00
bzbarsky@mit.edu
52cef119af Back out accidentally committed code. Bug 230852, r+sr=roc 2004-01-18 18:20:57 +00:00
roc+@cs.cmu.edu
404878514e Bug 225820. Fold nsFrameInnerFrame into nsFrameOuterFrame, rename to nsSubDocumentFrame, and generally clean up this mess. r+sr=dbaron 2004-01-10 05:36:32 +00:00
roc+@cs.cmu.edu
d8fd3d5bb4 Bug 190735. deCOMtaminate nsIFrame::FirstChild and nsIFrame::GetAdditionalChildListName. r+sr=bz 2004-01-09 14:20:53 +00:00
bryner@brianryner.com
01533e488c deCOMtaminate nsIPresContext::GetCompatibilityMode / SetCompatibilityMode (bug 229081). r+sr=bzbarsky. 2003-12-24 21:51:50 +00:00
bryner@brianryner.com
640685cbe9 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. 2003-12-21 05:36:36 +00:00
neil@parkwaycc.co.uk
ee37054283 Bug 90906 Remove unused variables p=gautheri@noos.fr r/sr=dbaron 2003-12-20 18:09:21 +00:00
dbaron@dbaron.org
b5d202780d Fix incremental reflow bugs by being consistent about max-element-width for percentage widths whether or not the reflow is an unconstrained width (as initial always is when we care about max-element-width) or constrained width (as some incremental reflows are). b=215857 r=bernd sr=bzbarsky a=brendan 2003-11-24 19:48:25 +00:00
dbaron@dbaron.org
8891f27a52 Do inheritance without layout-dependent computations, per CSS2.1. Remove eStyleUnit_Inherit and nsStyleCoord::SetInheritValue. b=205790 r+sr=bzbarsky a=asa 2003-11-24 19:46:25 +00:00
dbaron@dbaron.org
ed6e8050f3 Add comments connecting two quirks. 2003-11-16 18:49:00 +00:00
dbaron@dbaron.org
4b2f1ba8a3 Remove BRS_NOWRAP. b=191699 r+sr=roc 2003-11-11 19:24:01 +00:00
dbaron@dbaron.org
3696673382 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
4fc4723244 Bug 190735. DeCOMtaminate nsIFrame::GetFrameType. r+sr=bzbarsky 2003-10-31 20:19:18 +00:00
dbaron@dbaron.org
9446ce805f Use the correct term "float" instead of "floater". b=218654 r+sr=bzbarsky 2003-10-13 21:51:02 +00:00
bzbarsky@mit.edu
ed01f44dc8 Use UnionRect instead of reimplementing it in the block code. Bug 220741,
r+sr=dbaron
2003-10-10 01:12:55 +00:00
bmlk@gmx.de
68d9c55528 Don't overoptimize when absolute frames are reflown and the containing block should return a MEW. bug 192267 r/sr=dbaron 2003-09-20 11:35:29 +00:00
dbaron@dbaron.org
cd0b0608b2 Fix additional regression from bug 86947. b=216736 r+sr=roc 2003-09-16 22:05:47 +00:00
kyle.yuan@sun.com
fde77d42ed 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
darin@meer.net
6d87bdc4a1 fixes bug 216736 "regression from patch for bug 86947" r+sr=dbaron a=brendan 2003-08-20 16:49:27 +00:00
dbaron@dbaron.org
2c91043d4a Make sure we include the overflow area in the size of views, for blocks and inlines, at least. b=79315 r+sr=roc 2003-07-23 00:14:16 +00:00
dbaron@dbaron.org
0333746964 Fix top vs bottom typo. b=190743 r+sr=bzbarsky 2003-07-22 06:13:45 +00:00
roc+@cs.cmu.edu
547aa7de9b Bug 207477. Clean up nsBlockFrame, and don't suppress invalidation in nsBlockFrame::ReflowLine if it's a resize reflow. r+sr=dbaron 2003-07-15 00:04:43 +00:00
dbaron@dbaron.org
660339f971 Remove hint parameter from AttributeChanged methods and simplify style hint mechanism. b=211308 r+sr=bzbarsky 2003-07-11 21:16:12 +00:00
timeless@mozdev.org
03eb1c3259 Bug 211183 Infinite loop in nsBlockFrame::DoRemoveFrame
r=dbaron sr=dbaron
2003-07-01 18:28:30 +00:00