Граф коммитов

123 Коммитов

Автор SHA1 Сообщение Дата
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 4955d7cabf Fixing indentation 2003-04-22 01:34:30 +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
roc+%cs.cmu.edu 12c5a8aa8b Bug 201300. Get rid of document observer from nsGfxScrollFrame. r+sr=bz 2003-04-09 11:27:09 +00:00
roc+%cs.cmu.edu 61cded3928 Bug 201299. Make lazy scrollbars more selective to avoid XUL tree and listbox problems. r+sr=bzbarsky 2003-04-09 11:17:42 +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 9ce6c8be14 Bug 199607. Fix smoothscrolling bugs. r+sr=dbaron 2003-04-05 11:41:19 +00:00
roc+%cs.cmu.edu 64131124e6 Bug 174049. Smooth scrolling. Original patch by Neil cronin. r+sr=kin 2003-03-24 05:29:45 +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%dbaron.org 14c5b6b776 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag 2003-01-08 21:19:10 +00:00
dbaron%fas.harvard.edu 28018a8db9 Reduce code size by using PaintSelf member function to paint background, border, and outline. b=184702 r+sr=roc 2002-12-23 22:05:47 +00:00
bzbarsky%mit.edu fe53f95e60 Make the CSSLoader correctly order stylesheets as they are dynamically added
and removed via the DOM.  Clean up the nsIDocument stylesheet accessors.  Clean
up nsIDocumentObserver stylesheet stuff a bit.  Make style sheets visible in
the CSSOM (though not completely accessible) from the moment the load is kicked
off.  Make us have sheet objects that can be manipulated via CSSOM even for
failed loads. Bug 107567, bug 47734, bug 57225, bug 178407.
r=sicking,  sr=peterv.
2002-12-03 05:48:14 +00:00
bzbarsky%mit.edu 8d74297dfa Fire onScroll after the scrolling has happened. Bug 179857, r=jkeiser, sr=jst 2002-11-14 20:00:13 +00:00
timeless%mac.com 15e2521a6d Bug 77716 Scrollbar is loading asynchronously! - Trunk [@ nsCSSFrameConstructor::ConstructDocElementFrame] [@ .__ptr_glue - nsCSSFrameConstructor::ContentInserted]
patch by hyatt r=jag,dbaron sr=bz, a=dbaron
2002-10-24 03:11:53 +00:00
blakeross%telocity.com 16dc03df95 171994 - crash resizing using splitter btwn download panels. patch by roc, r=me sr=hyatt. 2002-10-01 22:53:43 +00:00
roc+%cs.cmu.edu 3ba4db53e3 Bug 145212. Fix overflow:auto on auto-height elements. r=hyatt,sr=kin 2002-10-01 01:23:47 +00:00
radha%netscape.com ef66be7029 Fix for bug 156312. onScroll events fire when scroll doesn't happen. r=saari sr=jst. 2002-09-25 21:29:33 +00:00
pete.zha%sun.com 43caf39ffc Browser crash when close print preview in a page has fixed DIV
bug=163800, this patch is to backout previou checkin for this bug to reslove layout regression
r=rods@netscape.com sr=roc+moz@cs.cmu.edu
2002-09-24 11:53:20 +00:00
pinkerton%netscape.com b7ebdb2bab make sure |increment| attribute change notification is sent for horiz scrollbars too. oops ;) (bug 161365, r=bryner/sr=sfraser). 2002-09-20 14:50:43 +00:00
pinkerton%netscape.com 4950c426ea make sure |increment| attribute change notification is sent. fixes bug where native scrollbars wouldn't know the increment so up/down arrows didn't work (bug 161365, r=bryner/sr=sfraser). 2002-09-18 22:38:23 +00:00
dougt%netscape.com 68faeb5241 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com 2002-09-07 17:13:19 +00:00
mjudge%netscape.com a07cba5734 4302 r=jfrancis sr=kin. pageup/down bug with navigation. 2002-08-26 20:55:30 +00:00
roc+%cs.cmu.edu cb32a0f906 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
pete.zha%sun.com aa33d31a25 Browser crash when close print preview in a page has fixed DIV
bug=163800 r=rods sr=jst
2002-08-21 08:56:58 +00:00
jkeiser%netscape.com 78b069a372 Change ns(I)GfxTextControlFrame(2) -> ns(I)TextControlFrame (bug 129909), r=rods
@netscape.com, sr=bzbarsky@mit.edu, a=asa
2002-07-26 20:57:24 +00:00
dbaron%fas.harvard.edu d35e32612b Ensure that scroll position listeners are properly unregistered. b=114221 sr=waterson r=attinasi 2002-07-09 04:30:28 +00:00
radha%netscape.com f39992a397 Fix for bug # 35011. r=jst sr=kin. window.onscroll and element.onscroll don't fire. 2002-06-20 21:47:59 +00:00
jaggernaut%netscape.com 270fced72b Back out changes for bug 35011 (context menu, ctrl+key, page-up/down all stopped working in browser). 2002-06-19 12:37:57 +00:00
radha%netscape.com 376379c878 Fix for bug # 35011. window.onscroll and element.onscroll don't fire. r=joki sr=jst 2002-06-18 23:01:48 +00:00
karnaze%netscape.com 1faf4c0592 bug 145305 - split floaters during printing. sr=attinasi, r=alexsavulov. 2002-05-28 22:50:43 +00:00
jst%netscape.com 1075a3f80d 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
dbaron%fas.harvard.edu 07103ecbea Fix up and enable hierarchical :hover and remove the hacks that made :hover work for anchors without it. Pass mask rather than pseudo-class to ContentStatesChanged notifications. Optimize event state changes in the style system by passing state mask to HasStateDependentStyle and using it in HasStateDependentStyle implementations. b=5693 r=bryner, joki sr=hyatt 2002-04-11 03:49:30 +00:00
bryner%netscape.com d2229cbf68 - Implement the :checked CSS pseudoclass which maps to the "selected" property on option elements.
- Eliminate the _moz-option-selected attribute; move the actual selected state into the option content node.
- Change all users of _moz-option-selected to use :checked.
- Add a third parameter to nsIDocument[Observer]::ContentStatesChanged to indicate which pseudoclass changed, this is used for optimizing handling of :checked state changes.

Bug 128947, r=dbaron, sr=jst, a=asa.
2002-03-07 03:34:29 +00:00
dcone%netscape.com f7e8a4bf6d b=96870 r=rods sr=attinasi Fixed printing so backgrounds can be turned on and off. 2002-02-15 14:48:12 +00:00
rods%netscape.com 680453a8c3 Fixes the problem where PrintPreview is getting multiple Initial reflows
and includes a minor optimization when resizing the view during box layout
Bug 118968 r=attinasi sr=hyatt a=brendan
2002-01-23 02:53:02 +00:00
brade%netscape.com 4e6324d24f remove unused statics kWidgetCID, kScrollingViewCID, kViewCID saving 48 bytes (bug 117927; rs=glazou) 2002-01-09 15:38:01 +00:00
dcone%netscape.com f0d6906f6a bug = 117072. r=rods sr=attinasi. set the paintbackground to true before paint. Fixes paint preview. 2002-01-08 14:58:52 +00:00
hyatt%netscape.com 0ec3f045d8 Fix for 112980, nsITheme API and dynamic skin switching re-enabling. r=ben, sr=waterson 2001-12-17 22:51:39 +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
sfraser%netscape.com 8e1bfdb0a7 Fix for bug 115162 -- shrink data structures by converting PRBool to PRPackedBool. r=dp, sr=waterson 2001-12-14 23:13:08 +00:00
karnaze%netscape.com 436e1ac49e bug 103925 (2nd patch) - flag pixel rounding errors in display reflow debugging. sr=attinasi, r=bernd 2001-11-14 13:40:03 +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
karnaze%netscape.com e38dff73f8 bug 103925 - general reflow debugging capability. sr=attinasi, r=alexsavulov 2001-10-29 01:43:59 +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
hyatt%netscape.com 0c8c1348b3 Fix for 104336, deCOMtaminate rulenode, rulewalker, frames, r=dbaron, sr=waterson 2001-10-24 00:01:09 +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
waterson%netscape.com bac705737b Bug 73235. Don't add scrollbar's width to MES. r=attinasi, sr=hyatt 2001-09-27 20:52:45 +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