Commit Graph

295 Commits

Author SHA1 Message Date
cvshook%sicking.cc
7db01c8d27 Bug 321294: Remove unused ReplaceFrame codepaths.
r/sr=roc
2006-01-10 22:58:37 +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
cst%andrew.cmu.edu
f9065cc1e4 Backing out patch for bug 94687 due to regressions 2005-09-29 20:35:06 +00:00
cst%andrew.cmu.edu
2509f6846c Bug 94687 First step of fixing z-index style in XUL - create views for children of stacks
r+sr=roc
2005-09-27 12:39:25 +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
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
roc+%cs.cmu.edu
8b9158491c Bug 306116. Use a loop instead of recursion while deleting next-in-flows to avoid stack overflow when reflowing really long text. r+sr=dbaron,a=asa 2005-09-06 01:26:50 +00:00
bzbarsky%mit.edu
8e208eced1 Make frames know whether they're leaves or not from the frame construction
point of view; use this in the frame constructor.  Bug 265367, r+sr=dbaron
2005-08-16 22:52:48 +00:00
roc+%cs.cmu.edu
6f9109be2b Bug 296377. Frames that use -moz-appearance may be transparent even if their background color is set, because the background color is not painted. r+sr=dbaron,a=chofmann 2005-06-21 21:53:10 +00:00
mats.palmgren%bredband.net
774f7d6bed Don't apply z-index to non-positioned elements. b=297425 r+sr=roc a=asa 2005-06-14 23:53:56 +00:00
mconnor%steelgryphon.com
a7ea2d2c15 bug 294324 - scrolling performance regression, patch by roc, r+sr=bz, a=shaver 2005-05-18 14:02:20 +00:00
bzbarsky%mit.edu
e61e1e1935 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
2005-04-29 15:44:38 +00:00
roc+%cs.cmu.edu
84b0577142 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 2005-04-28 21:57:22 +00:00
roc+%cs.cmu.edu
9062a6ea25 Bug 290432. Add push/pop translation functions to nsIRenderingContext so cairo can override them. r+sr=bzbarsky,a=asa 2005-04-19 22:58:33 +00:00
bzbarsky%mit.edu
48ba5ce32b Eliminate nsIContent::SetDocument/SetParent/SetBindingParent in favor of
BindToTree and UnbindFromTree methods.  Bug 286000, r=sicking, sr=jst
2005-04-05 23:54:35 +00:00
roc+%cs.cmu.edu
20d333fbf6 Bug 288117. Reland nsScrollBoxFrame removal. This will regress Tp a bit. r+sr=dbaron 2005-04-03 21:00:41 +00:00
dbaron%dbaron.org
36107f5980 Back out roc's checkin for bug 288117 to isolate performance regressions during tinderbox downtime. 2005-03-31 18:04:50 +00:00
roc+%cs.cmu.edu
5466f1cb0f Bug 288117. Fix up function name as dbaron requested. 2005-03-31 03:44:38 +00:00
roc+%cs.cmu.edu
f93b035647 Bug 288117. Eliminate nsScrollBoxFrame. r+sr=dbaron 2005-03-31 03:40:12 +00:00
roc+%cs.cmu.edu
74aa22c5f3 Bug 265566. Fix clipping of fixed-pos elements again. r+sr=dbaron 2005-03-07 22:12:53 +00:00
bzbarsky%mit.edu
e042c2f571 Move reflow command construction into nsPresShell::AppendReflowCommand, remove
some members, switch some callers to the non-COM-ish apis.  Bug 267085, r+sr=rbs
2005-02-08 00:59:52 +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
bzbarsky%mit.edu
edf26381af Overflowing inlines have transparent content in the view even if they have
non-visible overflow set, since overflow does not apply to inlines.  Bug
277200, r+sr=roc
2005-02-02 00:29:43 +00:00
roc+%cs.cmu.edu
86e95f1475 Bug 261238. Make widget z-ordering a closer approximation to what CSS2 wants. Also make GTK2 actually implement widget z-ordering. r=bzbarsky,blizzard sr=bzbarsky 2005-01-27 20:49:47 +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
bmlk%gmx.de
ca3e9f85c3 remove unused prescontext from PlaceFrameView, PlaceChildsView, ConsiderChildOverflow bug 276092 r/sr=dbaron 2004-12-27 15:05:18 +00:00
bmlk%gmx.de
d3197a9276 remove unused prescontext argument from GetOffsetFromView bug 276015 r/sr=dbaron 2004-12-26 19:48:54 +00:00
neil%parkwaycc.co.uk
a45fb5a046 Don't use QueryInterface to get a scrollable view from a view b=258521 r+sr=roc 2004-11-24 00:19:21 +00:00
smontagu%smontagu.org
bf4ea89835 Make layout debugger show pseudo-styles. Bug 268235, r+sr=roc. 2004-11-11 17:48:09 +00:00
bzbarsky%mit.edu
7fd8feb31d Create an api for easily converting between the coordinate systems of two
frames or two views.  Use this to fix the auto-positioning of abs pos boxes to
work no matter how their containing block and the block their placeholder lives
in are related, and convert various other callers to the new API.  Bug 266968,
r+sr=roc
2004-11-03 16:16:57 +00:00
dbaron%dbaron.org
76e0711fdd Treat 'visibility: collapse' the same as 'visibility: hidden'. b=264072 r+sr=roc 2004-10-13 15:12:14 +00:00
roc+%cs.cmu.edu
44a2fd5b52 Bug 259032. DeCOMtaminate nsIFrame::GetNext/PrevInFlow. r+sr=roc, patch by Will Levine 2004-09-14 02:28:03 +00:00
dbaron%dbaron.org
02e5799687 The slow codepaths for fixed background-attachment should only apply when there's a background image. b=258793 r+sr=roc 2004-09-13 05:39:27 +00:00
dbaron%dbaron.org
3827991ce7 Land bug 72747 in pieces: Implement overflow-x and overflow-y. b=72747 r+sr=roc 2004-09-05 00:04:04 +00:00
dbaron%dbaron.org
c1681a238f Backout the CSS parts of bug 72747 to see if that fixes the Tp regression. 2004-08-26 22:35:38 +00:00
dbaron%dbaron.org
5948a3cb75 Implement 'overflow-x' and 'overflow-y' CSS properties, long implemented by IE for Windows and proposed for CSS3. Implement scrolling='yes' and equivalents on frame and iframe. Various pieces of related cleanup (see comment 22 in bug). b=72747 r+sr=roc 2004-08-26 17:11:20 +00:00
roc+%cs.cmu.edu
dba4f07f62 Bug 133165. Draw the outline outside the frame's normal overflow area. r+sr=dbaron. Also, correct some trivial misuses of nsChangeHint, r+sr=mozbot 2004-08-26 00:07:56 +00:00
bryner%brianryner.com
b88692c5a1 Trying again to land support for content node properties (bug 253888). r=jst, sr=dbaron. 2004-08-24 18:50:29 +00:00
bryner%brianryner.com
0c08074b27 Backing out 253888 again due to Tp regression plus another problem I noticed (frame properties not getting destroyed on frame destruction) 2004-08-22 07:10:50 +00:00
bryner%brianryner.com
d86c91ac3a Second try at landing support for content node properties (bug 253888). r=jst, sr=dbaron. 2004-08-22 04:58:44 +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
8c24cc7e63 Backing out bug 253888 until I can figure out how to fix the crash 2004-08-21 06:27:54 +00:00
bryner%brianryner.com
11d98b36e5 Refactor the frame property code and use it for supporting properties on dom elements. Bug 253888, r=jst, sr=dbaron. 2004-08-21 05:09:50 +00:00
bzbarsky%mit.edu
abb7d4ca9a Make sure that GetFrameForPoint checks all layers of each float before moving
on to the next one.  Bug 253572, r+sr=roc
2004-08-10 22:24:00 +00:00
dbaron%dbaron.org
94bc9d26c8 Fix names of constants to correspond to the new definitions of the values of the 'overflow' property. b=69355 r+sr=roc 2004-08-10 01:32:10 +00:00
bryner%brianryner.com
6a8c79a9b2 Remove non-inlined version of nsIPresShell::GetDocument(). Bug 253889, r+sr=roc. 2004-08-02 04:52:55 +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
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
cab775b57b Backing out 233441. 2004-05-17 16:29:13 +00:00
roc+%cs.cmu.edu
e0fe2b43bd Bug 233441. Make nsViewManager always have a root view, you can't change it. r+sr=dbaron 2004-05-06 03:17:14 +00:00
bzbarsky%mit.edu
93e07d24dc Let generated content content nodes know when their frames go away. Bug
237975, r+sr=dbaron
2004-04-20 19:20:16 +00:00
gerv%gerv.net
708b56cff4 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:30:37 +00:00
roc+%cs.cmu.edu
54c1157975 Bug 236910. Elements that clip their backgrounds do not present a uniform background. r+sr=dbaron,a=choffman 2004-03-28 21:05:29 +00:00
roc+%cs.cmu.edu
8397ac8d8f 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
bryner%brianryner.com
225298a99e Get rid of nsIFrameManager abstract interface to the frame manager. Bug 233972, r+sr=roc. 2004-02-23 21:29:06 +00:00
roc+%cs.cmu.edu
8e85f2ae12 Bug 180931. If we move a frame temporarily during reflow, we'd better invalidate the whole overflow area because invalidates may have been issued at the temporary position. 2004-02-22 03:31:30 +00:00
bryner%brianryner.com
cd870d2172 attempting to fix HP-UX/AIX/IRIX bustage (bug 228378) 2004-01-11 00:24:37 +00:00
roc+%cs.cmu.edu
e1d625af68 Bug 228378. Clean up nsRegion. patch by Dainis Jonitis. r+sr=roc 2004-01-10 16:18:36 +00:00
roc+%cs.cmu.edu
9348803726 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
e7f165c614 Bug 190735. deCOMtaminate nsIFrame::FirstChild and nsIFrame::GetAdditionalChildListName. r+sr=bz 2004-01-09 14:20:53 +00:00
bryner%brianryner.com
dfe3513814 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
uid502
91e2869af8 Bug 212366. Make '-moz-opacity' behave like CSS3 opacity: it does not inherit by default, and it composites the element and all its children as a group. r+sr=dbaron 2003-11-01 22:34:59 +00:00
uid502
d81619b4fa Bug 190735. DeCOMtaminate nsIFrame::GetFrameType. r+sr=bzbarsky 2003-10-31 20:19:18 +00:00
bryner%brianryner.com
605cc06382 deCOMtaminate nsIDocument by changing methods to use return value instead of out-params, eliminating unused nsresult return values, moving some members to nsIDocument and inlining the getters/setters. Bug 222134, r=bzbarsky, sr=jst. 2003-10-22 06:09:48 +00:00
uid502
d521946094 Bug 165149. More cleanup. Make nsStyleContext::GetPseudoType return a weak pointer. Also remove unnecessary arguments to nsHTMLContainerFrame::CreateViewForFrame. r+sr=bzbarsky 2003-10-17 02:38:37 +00:00
uid502
7eecd9a0ef Bug 165149. Make children of a scrolled element inherit style directly from the element instead of via the scrolled frames. Add a new view property to indicate that the view is painted on a uniform background and use it to optimize scrolling, so that a scrolled element with a uniform background color can still be scrolled using bitblits. r+sr=dbaron 2003-10-11 12:00:05 +00:00
dbaron%dbaron.org
7008f7eb21 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
jaggernaut%netscape.com
83c571e877 Bug 25886: Get rid of a bunch of unused NS_DEFINE_IID, NS_DEFINE_CID. r=caillon, sr=dbaron 2003-07-20 07:47:59 +00:00
roc+%cs.cmu.edu
3d6b2b44f3 ongoing deCOMtamination work. r+sr=dbaron 2003-06-27 18:13:48 +00:00
kin%netscape.com
d7512728d7 Trying to fix commercial win32 build bustage. 2003-06-26 16:44:48 +00:00
roc+%cs.cmu.edu
c5936391c8 Ongoing deCOMtamination. r+sr=dbaron 2003-06-26 11:30:17 +00:00
dbaron%dbaron.org
4afcaa0e69 DeCOMtaminate nsIFrame::GetView and SetView, and add HasView, GetClosestView, and AreAncestorViewsVisible to consolidate common patterns. b=208004 r+sr=roc 2003-06-19 23:44:01 +00:00
roc+%cs.cmu.edu
995075dc79 Bug 193686. nsContainerFrame needs to report the overflowList as one of its child frame lists. Also, overflow frames should be destroyed when their parent is destroyed. r+sr=dbaron 2003-06-02 04:38:53 +00:00
roc+%cs.cmu.edu
eb1d7efd30 Bug 193686. nsContainerFrame needs to report the overflowList as one of its child frame lists. Also, overflow frames should be destroyed when their parent is destroyed. r+sr=dbaron 2003-06-02 04:03:07 +00:00
dbaron%dbaron.org
75ff60c62f 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 2003-05-15 03:42:21 +00:00
roc+%cs.cmu.edu
3936b4c393 Bug 126263. Whack comboboxes/listboxes to use Gfx scrollbars. Also, make scrollbars attach their XBL content only when they become visible, to avoid pageload hit. r+sr=dbaron 2003-04-08 20:50:57 +00:00
roc+%cs.cmu.edu
d21b664b22 Bug 113232. Support translucent chrome. Relanding, fingers crossed. r+sr=bzbarsky 2003-04-06 02:49:40 +00:00
darin%netscape.com
06db7d7b43 backing out roc+%cs.cmu.edu check-in for bug 113232 2003-03-25 00:07:00 +00:00
darin%netscape.com
1cc9401e27 backing seth out, for blocker fixes 2003-03-24 23:20:04 +00:00
sspitzer%netscape.com
881436c9dc fix for regression bug #198946
"repainting horribly broken"
caused by roc's checkin for bug #113232
this is roc's patch for the problem.
2003-03-24 20:41:10 +00:00
roc+%cs.cmu.edu
3dace14ed6 Bug 113232. Make 'background:transparent' work on top-level XUL windows. r=pavlov,kmcclusk,bzbarsky,sr=bzbarsky 2003-03-24 04:54:48 +00:00
ere%atp.fi
0db46aa009 Fix for bug 194738: Phoenix/Mozilla minimizes to toolbar then re-opens.
r=roc+moz
sr=bzbarsky
2003-03-05 14:26:31 +00:00
roc+%cs.cmu.edu
96b5516d32 Bug 157445. Be more aggressive about making visibility:hidden elements have visible views. r+sr=bzbarsky 2003-02-23 02:22:14 +00:00
roc+%cs.cmu.edu
f4e000a5fa Bug 180502. Repaint only changed area whenever a view is resized by the generic nsContainerFrame::SyncFrameView. r+sr=dbaron 2003-02-22 21:53:42 +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
roc+%cs.cmu.edu
d43619e30c Bug 117631. -moz-border-radius can make views transparent. r+sr=bz 2003-01-19 00:28:02 +00:00
dbaron%dbaron.org
827d985eac Change |DEBUG_dbaron| to |DEBUG_dbaron_off| for stuff that I don't want to see anymore. 2003-01-16 21:05:09 +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
alecf%netscape.com
a834e8a209 another comment typo that was sitting in my tree, again no reviewer... 2003-01-07 23:16:05 +00:00
sicking%bigfoot.com
8d87d5e285 Bug 8929: Kill NS_COMFALSE
r=peterv sr=bz
2002-11-25 11:21:22 +00:00
dbaron%fas.harvard.edu
f6b1702067 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 2002-11-17 15:37:56 +00:00
karnaze%netscape.com
e802c4dc50 bug 176030 - Make Destroy fix up prev/next-in-flow pointers. a=roc, sr=bzbarsky, r=bernd. 2002-10-30 15:33:36 +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
roc+%cs.cmu.edu
8fc1ada6c9 Bug 172227. Fix rendering garbage by removing a bogus optimization in nsContainerFrame::SyncFrameViewAfterReflow --- we *always* need to update the view transparency in case FRAME_OUTSIDE_CHILDREN changed. r=dbaron,sr=kin 2002-10-08 04:09:38 +00:00
roc+%cs.cmu.edu
88a7759322 Bug 113083. Concentrate view setup code into a few shared functions in nsContainerFrame. Only change style-dependent view properties after style change, not during reflow, in response to nsChangeHint_SyncFrameView. Change 'clip' to only do SyncFrameView, not reflow. r=dbaron,sr=kin 2002-09-30 11:56:37 +00:00
pete.zha%sun.com
ea38f8803d Sun Forte 7FCS builds crash in layout/ when compiled with -xO3 or higher
bug=164368 r=roc+moz@cs.cmu.edu sr=sfraser@netscape.com
patch by Roland.Mainz@informatik.med.uni-giessen.de
2002-09-17 02:49:30 +00:00
roc+%cs.cmu.edu
23f188782e Bug 164625. Remove references to nsRectFast, they're not needed and this shouldn't be used outside of the nsRegion code. Patch by Dainis_Jonitis@swh-t.lv. r=roc,sr=kin 2002-09-03 21:53:22 +00:00
roc+%cs.cmu.edu
78f830028e Bug 164625. Native regions on Linux (and probably some other platforms) are limited to 16bit signed coordinates, so we have to use our own region implementation to manipulate regions in twips space. Using our own regions should also improve performance. r=kmcclusk,sr=kin 2002-08-30 03:32:05 +00:00