dbaron@dbaron.org
f98e358469
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
7143d14503
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
64a0e971e9
Bug 113232. Support translucent chrome. Relanding, fingers crossed. r+sr=bzbarsky
2003-04-06 02:49:40 +00:00
darin@netscape.com
bf9e9f7959
backing out roc+%cs.cmu.edu check-in for bug 113232
2003-03-25 00:07:00 +00:00
darin@netscape.com
357cf5611c
backing seth out, for blocker fixes
2003-03-24 23:20:04 +00:00
sspitzer@netscape.com
27524a099e
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
3e9d14157c
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
408200960d
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
f218b5ad25
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
2de1329be2
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
834096485c
Remove nsISizeOfHandler and associated SizeOf methods. b=106792 r=bzbarsky sr=jst
2003-02-22 15:34:38 +00:00
bryner@netscape.com
ba58162e96
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
e38abadd82
Bug 117631. -moz-border-radius can make views transparent. r+sr=bz
2003-01-19 00:28:02 +00:00
dbaron@dbaron.org
02d4875a87
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
1c37d177d4
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
5065dc6558
another comment typo that was sitting in my tree, again no reviewer...
2003-01-07 23:16:05 +00:00
sicking@bigfoot.com
4b50c34806
Bug 8929: Kill NS_COMFALSE
...
r=peterv sr=bz
2002-11-25 11:21:22 +00:00
dbaron@fas.harvard.edu
72f2298b73
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
587f0cc185
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
e11b43eac2
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
4063e41136
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
8d1393e3de
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
44ee65f198
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
6c372d4b78
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
69c5ef48bf
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
roc+@cs.cmu.edu
458e434a36
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
2002-08-24 14:41:28 +00:00
kmcclusk@netscape.com
c2f217ac88
Place position:absolute, fixed, relative elements above non positioned elements. b=137853 r=roc+moz sr=kin
2002-07-02 12:50:14 +00:00
kmcclusk@netscape.com
7309d4ab5d
backing out change to see if pageload times go back to normal (Don't place position:absolute, fixed, relative elements above non positioned elements) b=137853
2002-07-02 04:38:35 +00:00
kmcclusk@netscape.com
375488173e
Place position:absolute, fixed, relative elements above non positioned elements. b=137853 r=roc+moz sr=kin
2002-07-02 02:53:35 +00:00
kmcclusk@netscape.com
700be16df5
Save and restore transformation matrix translation components instead of setting a negative translation while painting to eliminate off by one pixel rendering errors in 120DPI display mode. bug=80530 r=dbaron sr=waterson
2002-06-17 23:35:15 +00:00
dbaron@fas.harvard.edu
1c8634debe
Fix crashes related to editing of HR elements by wrapping generated content for leaf frames in an extra frame so :before and :after are always the first/last children of the primary frame. Disable generated content for floating and absolutely positioned leaf frames. b=141054 sr=waterson r=kin
2002-06-12 03:27:48 +00:00
roc+@cs.cmu.edu
efbece7089
Bug 142461. Make sure clipped views are not marked transparent. r=kmcclusk,sr=waterson
2002-06-04 04:44:03 +00:00
jst@netscape.com
78ccba6821
Fixing bug 146034. Getting rid of nsHTMLIIDs.{h,cpp}. r=jfrancis@netscape.com, sr=rpotts@netscape.com
2002-05-23 00:00:34 +00:00
rods@netscape.com
194902231b
This backs out the previous patch and just check to see if it is also a
...
listControlFrame to see if it should set the visibility to false in
nsContainerFrame
Bug 92333 r=dcone sr=attinasi a=asa adt=jaime
2002-04-05 12:13:23 +00:00
karnaze@netscape.com
8e2b4781ce
bug 130550 - Added nsIFrame::CanPaintBackground, to treat nsTableOuterFrame as transparent. a=asa, sr=attinasi, r=roc+moz
2002-03-31 22:43:40 +00:00
peterlubczynski@netscape.com
66e3979854
Fix for topcrash attempting to paint a null frame, bug 110650 r=kmcclusk@netscape.com sr=beard
2002-02-28 04:54:50 +00:00
roc+@cs.cmu.edu
e8c4e091dc
Bug 91516. Organize view managers into a tree so that IFRAMEs can be rendered and event-processed coherently with their containing documents. r=kmcclusk,rods,sr=attinasi
2002-02-19 21:33:26 +00:00
roc+@cs.cmu.edu
50585fcdf6
Bug 124713. Fix transparency flag when clipping a view that grew bigger than its frame. r=kmcclusk,sr=attinasi
2002-02-15 13:15:45 +00:00
kin@netscape.com
34a3766b12
Fix for bug 83650 (textarea control has problems with caret positioning at end)
...
and bug 97207 (textarea pastes sometimes misplaced by failing to reposition).
- Added new utility method GetOriginToViewOffset().
- Modified nsPresShell::HandleEvent(), nsBoxFrame::GetFrameForPoint(),
and nsContainerFrame::GetFrameForPointUsing() to factor in the
offset from GetOriginToViewOffset() to insure that the point
used is always transformed into the correct coordinate system.
Files modified:
mozilla/layout/base/public/nsIFrame.h
mozilla/layout/html/base/src/nsContainerFrame.cpp
mozilla/layout/html/base/src/nsFrame.cpp
mozilla/layout/html/base/src/nsFrame.h
mozilla/layout/html/base/src/nsPresShell.cpp
mozilla/layout/xul/base/src/nsBoxFrame.cpp
r=kmcclusk@netscape.com sr=sfraser@netscape.com
2002-02-07 22:39:15 +00:00
roc+@cs.cmu.edu
2f78e452bf
Bug 13213. Allow views to extend above and to the left of their owner frames. r=kmcclusk,rs=waterson
2002-01-27 07:56:23 +00:00
jst@netscape.com
74f7d6a45d
Fixing bug 120899. Changing the NS_WARN_IF_FALSE() macro so that it can't be mis-used in optimized builds. This change makes the macro not usable in expressions that are supposed to be evaluated in release code since the macro now expands to nothing in non-debug builds. Also eliminate NS_VALIDATE which is equally mis-usable. r=dbaron@fas.harvard.edu, sr=brendan@mozilla.org
2002-01-24 09:20:51 +00:00
dbaron@fas.harvard.edu
2757494bd9
Make sure backgrounds are painted correctly by using the correct background to set up information on the view. b=119462 r=pierre sr=hyatt
2002-01-14 15:00:30 +00:00
waterson@netscape.com
d05e65aea2
Bug 115113. Eliminate nsIReflowCommand, and just use nsHTMLReflowCommand directly. r=karnaze, sr=attinasi.
2001-12-17 22:39:59 +00:00
karnaze@netscape.com
3c367a5d13
bug 113424 - mechanism for percent height frames inside table cells to receive special height reflow. sr=attinasi, r=alexsavulov
2001-12-07 14:51:12 +00:00
roc+@cs.cmu.edu
90daa9bd9d
Bug 87839. Mark a view as transparent if it is being clipped smaller than the frame. r=kmcclusk,sr=attinasi
2001-12-06 03:16:35 +00:00
roc+@cs.cmu.edu
5b7457dc0e
Bug 73382. Clean up view manager interfaces, 2nd attempt. r=kmcclusk,rs=attinasi
2001-12-01 14:31:45 +00:00
roc+@cs.cmu.edu
2196e347f9
My cleanup checkin for bug 73382 caused 5% increase in page load times. Backing out.
2001-11-24 05:37:25 +00:00
roc+@cs.cmu.edu
644b8cfc16
View manage interface cleanup. Bug 73382. r=kmcclusk, sr=attinasi
2001-11-22 05:26:32 +00:00
dbaron@fas.harvard.edu
d3f01c8c10
Remove unnecessary XPCOM interface around nsSpaceManager. b=102453 r=jag sr=waterson
2001-10-26 05:06:07 +00:00
dbaron@fas.harvard.edu
4b1de618fc
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