bzbarsky%mit.edu
811e223ae1
Let generated content content nodes know when their frames go away. Bug
...
237975, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@155241 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-20 19:20:16 +00:00
gerv%gerv.net
2ac510b678
Bug 236613: change to MPL/LGPL/GPL tri-license.
...
git-svn-id: svn://10.0.0.236/trunk@155068 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 14:30:37 +00:00
roc+%cs.cmu.edu
722bca28f8
Bug 236910. Elements that clip their backgrounds do not present a uniform background. r+sr=dbaron,a=choffman
...
git-svn-id: svn://10.0.0.236/trunk@154348 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-28 21:05:29 +00:00
roc+%cs.cmu.edu
44185c6657
Bug 235264. Clean up invalidation to go through a single nsIFrame::Invalidate function and take account of 'outline' where necessary. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@153808 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-10 03:09:05 +00:00
bryner%brianryner.com
d956db112f
Get rid of nsIFrameManager abstract interface to the frame manager. Bug 233972, r+sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@153111 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-23 21:29:06 +00:00
roc+%cs.cmu.edu
1b122ed826
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.
...
git-svn-id: svn://10.0.0.236/trunk@153080 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-22 03:31:30 +00:00
bryner%brianryner.com
8542d06d80
attempting to fix HP-UX/AIX/IRIX bustage (bug 228378)
...
git-svn-id: svn://10.0.0.236/trunk@151156 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-11 00:24:37 +00:00
roc+%cs.cmu.edu
4bdc65b3e2
Bug 228378. Clean up nsRegion. patch by Dainis Jonitis. r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@151143 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-10 16:18:36 +00:00
roc+%cs.cmu.edu
986d8acdaa
Bug 225820. Fold nsFrameInnerFrame into nsFrameOuterFrame, rename to nsSubDocumentFrame, and generally clean up this mess. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@151139 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-10 05:36:32 +00:00
roc+%cs.cmu.edu
35c266025d
Bug 190735. deCOMtaminate nsIFrame::FirstChild and nsIFrame::GetAdditionalChildListName. r+sr=bz
...
git-svn-id: svn://10.0.0.236/trunk@151077 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-09 14:20:53 +00:00
bryner%brianryner.com
b5347dd60c
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.
...
git-svn-id: svn://10.0.0.236/trunk@150598 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-21 05:36:36 +00:00
uid502
bdc0f5a1e4
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
...
git-svn-id: svn://10.0.0.236/trunk@148696 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-01 22:34:59 +00:00
uid502
e56ed2443c
Bug 190735. DeCOMtaminate nsIFrame::GetFrameType. r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@148665 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-31 20:19:18 +00:00
bryner%brianryner.com
eeddf02bde
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.
...
git-svn-id: svn://10.0.0.236/trunk@148257 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-22 06:09:48 +00:00
uid502
f97b0819f2
Bug 165149. More cleanup. Make nsStyleContext::GetPseudoType return a weak pointer. Also remove unnecessary arguments to nsHTMLContainerFrame::CreateViewForFrame. r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@148055 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-17 02:38:37 +00:00
uid502
6b34cca104
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
...
git-svn-id: svn://10.0.0.236/trunk@147868 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-11 12:00:05 +00:00
dbaron%dbaron.org
75df55b0bf
Make sure we include the overflow area in the size of views, for blocks and inlines, at least. b=79315 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@145090 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-23 00:14:16 +00:00
jaggernaut%netscape.com
f34216bf2d
Bug 25886: Get rid of a bunch of unused NS_DEFINE_IID, NS_DEFINE_CID. r=caillon, sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@144992 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-20 07:47:59 +00:00
roc+%cs.cmu.edu
62382bd5e2
ongoing deCOMtamination work. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@144220 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-27 18:13:48 +00:00
kin%netscape.com
dd78f4c325
Trying to fix commercial win32 build bustage.
...
git-svn-id: svn://10.0.0.236/trunk@144194 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-26 16:44:48 +00:00
roc+%cs.cmu.edu
fc35098277
Ongoing deCOMtamination. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@144189 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-26 11:30:17 +00:00
dbaron%dbaron.org
519cf3b3d3
DeCOMtaminate nsIFrame::GetView and SetView, and add HasView, GetClosestView, and AreAncestorViewsVisible to consolidate common patterns. b=208004 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@143960 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-19 23:44:01 +00:00
roc+%cs.cmu.edu
39cdc612bb
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
...
git-svn-id: svn://10.0.0.236/trunk@143164 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-02 04:38:53 +00:00
roc+%cs.cmu.edu
360ffeb90a
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
...
git-svn-id: svn://10.0.0.236/trunk@143163 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-02 04:03:07 +00:00
dbaron%dbaron.org
69da9d4a19
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
...
git-svn-id: svn://10.0.0.236/trunk@142488 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-15 03:42:21 +00:00
roc+%cs.cmu.edu
d4ac9a5795
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
...
git-svn-id: svn://10.0.0.236/trunk@140858 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-08 20:50:57 +00:00
roc+%cs.cmu.edu
c43b1f1f74
Bug 113232. Support translucent chrome. Relanding, fingers crossed. r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@140762 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-06 02:49:40 +00:00
darin%netscape.com
418b92e9d5
backing out roc+%cs.cmu.edu check-in for bug 113232
...
git-svn-id: svn://10.0.0.236/trunk@140172 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-25 00:07:00 +00:00
darin%netscape.com
d3432f8912
backing seth out, for blocker fixes
...
git-svn-id: svn://10.0.0.236/trunk@140171 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-24 23:20:04 +00:00
sspitzer%netscape.com
eeb894ca8c
fix for regression bug #198946
...
"repainting horribly broken"
caused by roc's checkin for bug #113232
this is roc's patch for the problem.
git-svn-id: svn://10.0.0.236/trunk@140159 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-24 20:41:10 +00:00
roc+%cs.cmu.edu
4afc0e3336
Bug 113232. Make 'background:transparent' work on top-level XUL windows. r=pavlov,kmcclusk,bzbarsky,sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@140131 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-24 04:54:48 +00:00
ere%atp.fi
1d8497ec03
Fix for bug 194738: Phoenix/Mozilla minimizes to toolbar then re-opens.
...
r=roc+moz
sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@138953 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-05 14:26:31 +00:00
roc+%cs.cmu.edu
6963c1c429
Bug 157445. Be more aggressive about making visibility:hidden elements have visible views. r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@138256 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-23 02:22:14 +00:00
roc+%cs.cmu.edu
c545904f90
Bug 180502. Repaint only changed area whenever a view is resized by the generic nsContainerFrame::SyncFrameView. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@138235 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 21:53:42 +00:00
dbaron%dbaron.org
e6a2b29ebf
Remove nsISizeOfHandler and associated SizeOf methods. b=106792 r=bzbarsky sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@138193 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 15:34:38 +00:00
bryner%netscape.com
c44337949a
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.
...
git-svn-id: svn://10.0.0.236/trunk@138129 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 00:32:13 +00:00
roc+%cs.cmu.edu
f488de6005
Bug 117631. -moz-border-radius can make views transparent. r+sr=bz
...
git-svn-id: svn://10.0.0.236/trunk@136609 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-19 00:28:02 +00:00
dbaron%dbaron.org
c8812581f2
Change |DEBUG_dbaron| to |DEBUG_dbaron_off| for stuff that I don't want to see anymore.
...
git-svn-id: svn://10.0.0.236/trunk@136437 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-16 21:05:09 +00:00
dbaron%dbaron.org
a569c670f5
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
...
git-svn-id: svn://10.0.0.236/trunk@136064 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-09 14:26:32 +00:00
alecf%netscape.com
677908c45e
another comment typo that was sitting in my tree, again no reviewer...
...
git-svn-id: svn://10.0.0.236/trunk@135955 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-07 23:16:05 +00:00
sicking%bigfoot.com
6f8753e832
Bug 8929: Kill NS_COMFALSE
...
r=peterv sr=bz
git-svn-id: svn://10.0.0.236/trunk@134398 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-25 11:21:22 +00:00
dbaron%fas.harvard.edu
307f43b5a1
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
...
git-svn-id: svn://10.0.0.236/trunk@134006 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-17 15:37:56 +00:00
karnaze%netscape.com
3d58e9c1e1
bug 176030 - Make Destroy fix up prev/next-in-flow pointers. a=roc, sr=bzbarsky, r=bernd.
...
git-svn-id: svn://10.0.0.236/trunk@132710 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-30 15:33:36 +00:00
karnaze%netscape.com
7e2beae782
bug 163614 - Changed DeleteChildsNextInFlow to DeleteNextInFlowChild, params, and callers. sr=kin, r=alexsavulov,dcone
...
git-svn-id: svn://10.0.0.236/trunk@131456 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-08 20:35:26 +00:00
roc+%cs.cmu.edu
e0d103b8be
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
...
git-svn-id: svn://10.0.0.236/trunk@131386 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-08 04:09:38 +00:00
roc+%cs.cmu.edu
e25496d35f
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
...
git-svn-id: svn://10.0.0.236/trunk@130792 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-30 11:56:37 +00:00
pete.zha%sun.com
ad380ffdf5
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
git-svn-id: svn://10.0.0.236/trunk@129772 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-17 02:49:30 +00:00
roc+%cs.cmu.edu
4f2eb464ee
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
...
git-svn-id: svn://10.0.0.236/trunk@128736 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-03 21:53:22 +00:00
roc+%cs.cmu.edu
45a8f7c62d
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
...
git-svn-id: svn://10.0.0.236/trunk@128522 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-30 03:32:05 +00:00
roc+%cs.cmu.edu
c6bb83f66a
Bug 160936. Add type nsChangeHint for style hints. Make it a set of bits. Make sure an NS_STYLE_HINT_REFLOW always also does a repaint of the frame. r=dbaron,sr=kin
...
git-svn-id: svn://10.0.0.236/trunk@128041 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-24 14:41:28 +00:00