neil%parkwaycc.co.uk
869014801a
Bug 267302 Views should be created by the view manager r+sr=roc
2004-11-04 15:06:50 +00:00
dbaron%dbaron.org
8c3204dca3
Fix effect of horizontal padding/border on text-decorations on broken inlines. b=258126 r+sr=bzbarsky
2004-10-25 23:48:29 +00:00
roc+%cs.cmu.edu
6146e49d29
Bug 259032. DeCOMtaminate nsIFrame::GetNext/PrevInFlow. r+sr=roc, patch by Will Levine
2004-09-14 02:28:03 +00:00
bryner%brianryner.com
cc807b07b1
Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc
2004-07-31 23:15:21 +00:00
roc+%cs.cmu.edu
f8feba3ada
Bug 107518 and others... Make CreateViewForFrame reparent any views on frame descendants to the new view. This ensures that the view hierarchy stays in sync with the frame hierarchy. r+sr=dbaron
2004-05-13 15:33:18 +00:00
gerv%gerv.net
85ce8c146b
Bug 236613: change to MPL/LGPL/GPL tri-license.
2004-04-18 14:30:37 +00:00
bryner%brianryner.com
93f6dc27e6
DeCOMtaminate nsCSSFrameConstructor (bug 231157). This gets rid of the nsIStyleFrameConstruction and nsICSSFrameConstructor interfaces. The frame constructor now has the same lifetime as the pres shell. r+sr=dbaron.
2004-01-21 23:05:10 +00:00
peterv%propagandism.org
b73f7d8861
Miscellaneous cleanup. r/sr=jst.
2004-01-18 10:45:26 +00:00
roc+%cs.cmu.edu
4ce233447a
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
2a50602bc0
Bug 190735. deCOMtaminate nsIFrame::FirstChild and nsIFrame::GetAdditionalChildListName. r+sr=bz
2004-01-09 14:20:53 +00:00
bryner%brianryner.com
9c81944cb6
Eliminate nsIStyleSet as an XPCOM interface, making the implementation internal to layout. Frame constructor ownership moves to the pres shell, and the style set methods that forward to the frame constructor are gone. Rewrote style set sheet add/remove to reduce code size. For more details, see bug 64116. r+sr=dbaron.
2004-01-07 22:30:53 +00:00
bryner%brianryner.com
5aeafaa8a6
deCOMtaminate nsIPresContext::GetCompatibilityMode / SetCompatibilityMode (bug 229081). r+sr=bzbarsky.
2003-12-24 21:51:50 +00:00
bryner%brianryner.com
7264501b7b
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
dbaron%dbaron.org
c3c15dce0c
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
bzbarsky%mit.edu
2d17fe0d1d
Bail out early if we have no area to invalidate anyway. Bug 224871, r+sr=roc
2003-11-07 03:00:30 +00:00
uid502
50383ff50a
Bug 190735. DeCOMtaminate nsIFrame::GetFrameType. r+sr=bzbarsky
2003-10-31 20:19:18 +00:00
uid502
b83221b617
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
c612494d00
Bug 217604. Ensure out-of-flow frames are ordered in content order. Ensure views are maintained in frame/content order.
2003-10-15 00:49:03 +00:00
roc+%cs.cmu.edu
55a49cd4d6
Ongoing deCOMtamination. r+sr=dbaron
2003-06-29 03:43:05 +00:00
dbaron%dbaron.org
9c12eac8af
Fix strict mode text-decoration when one line of the inline contains no text. b=210016,210012 r+sr=bzbarsky
2003-06-20 01:42:32 +00:00
dbaron%dbaron.org
42b06cc4f5
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
dbaron%dbaron.org
a15b9f2cf4
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
f2dc5c2442
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
825677d0f1
Bug 197065. Do more complete invalidation on block size changes. r=jkeiser,sr=dbaron
2003-04-05 21:27:45 +00:00
bryner%netscape.com
cc390fbe51
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
c4a2fbccb3
Fix strict mode 'text-decoration' on table-cells. b=189386 r+sr=bzbarsky
2003-01-17 23:42:37 +00:00
dbaron%fas.harvard.edu
818581d1d9
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
dbaron%fas.harvard.edu
247be7782a
Text decorations should not be painted on elements with 'visibity: hidden'. b=185581 r+sr=roc
2002-12-19 00:24:18 +00:00
dbaron%fas.harvard.edu
2c8a506a47
Correctly implement text-decoration in standards mode by drawing the underline on the element with the text-decoration property set. Refactor painting code a bit to avoid code duplication. Patch by Esben Mose Hansen <esben@oek.dk>, with paint refactoring and some other changes by dbaron. r=dbaron sr=bzbarsky b=1777
2002-12-11 04:00:18 +00:00
dbaron%fas.harvard.edu
b2f992acb9
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
caillon%returnzero.com
7871a3af0d
Correcting our background painting code per the latest CSS specs. By default, backgrounds should be painted to the border
...
area, and not the padding area as per the CSS 2 Errata, CSS2.1 and CSS3. Also, implementing the CSS3 'background-clip'
and 'background-origin' properties (currently with -moz- prefixes) to control this behavior.
Bug 162252, r=dbaron sr=roc+moz
2002-10-08 10:24:53 +00:00
roc+%cs.cmu.edu
3681ee88af
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
kmcclusk%netscape.com
353410cea2
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
e89c78b98a
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
a84a43a1c8
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
karnaze%netscape.com
dc7e454eb3
bug 145305 - split floaters during printing. sr=attinasi, r=alexsavulov.
2002-05-28 22:50:43 +00:00
jst%netscape.com
c510ff0346
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
waterson%netscape.com
926ecba1d9
Bug 129115. Change the reflow path from a list structure to a tree structure to amortize state recovery and damage propagation costs. Eliminate table timeout reflows. r=kin,karnaze,rods,rbs; sr=attinasi
2002-05-10 18:22:41 +00:00
jkeiser%netscape.com
8f265ba15e
Make iframe border repaint when style changes (bug 124507), r=waterson@netscape.com, sr=attinasi@netscape.com
2002-04-28 07:53:41 +00:00
timeless%mac.com
e24ea538d5
Bug 124744 remove nsIPtr
...
r=bryner sr=alecf
2002-02-12 04:12:50 +00:00
dbaron%fas.harvard.edu
1db5b984db
Replace the BodyFixupRule with code in nsCSSRendering to fix all the problems with dynamic style changes and backgrounds on the root element and the BODY element. Change the way the HTMLDocumentColorRule (for the table color quirk) is initialized since it used to depend on the BodyFixupRule. b=116161 (also fixes other bugs) r=attinasi sr=hyatt
2002-01-07 23:46:07 +00:00
waterson%netscape.com
cf319e2bda
Bug 115113. Eliminate nsIReflowCommand, and just use nsHTMLReflowCommand directly. r=karnaze, sr=attinasi.
2001-12-17 22:39:59 +00:00
roc+%cs.cmu.edu
544c375270
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
563ec66cf4
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
38a0f22173
View manage interface cleanup. Bug 73382. r=kmcclusk, sr=attinasi
2001-11-22 05:26:32 +00:00
dbaron%fas.harvard.edu
75d32bb579
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
gerv%gerv.net
f385eb981a
Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
2001-09-28 20:14:13 +00:00
karnaze%netscape.com
a77cb3b548
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
2bf7260d28
Fix for 78695 (rule matching improvements). r/sr=attinasi, jst, waterson
2001-05-31 22:19:43 +00:00
hyatt%netscape.com
31a850a277
Fix for 77002. reviewers=jst,waterson,hixie,shaver,brendan,pavlov
2001-04-25 19:52:49 +00:00
sfraser%netscape.com
98b3d5f2b0
Blue boxes be gone! Fixing 58121, r=jfrancis, sr=attinasi.
2001-04-12 01:26:57 +00:00
kmcclusk%netscape.com
b257b00b3d
Removed code which prevented reparenting of views + added code to check floating child list when reparenting views bug 71032; sr = waterson@netscape.com; r=dcone@netscape.com
2001-03-23 14:43:09 +00:00
pierre%netscape.com
ad19cf4c81
Reinstate my changes that were backed out 10 days ago. #43457 split nsStyleSpacing into 4 smaller structures: nsStyleBorder, nsStylePadding, nsStyleMargin, nsStyleOutline. r=attinasi,sr=buster.
2001-02-07 09:57:26 +00:00
mcafee%netscape.com
2a02bb78fd
Backing out pierre's change from 1/20 for performance reasons (66263). r=attinasi, a=granrose, phil
2001-01-25 02:58:12 +00:00
pierre%netscape.com
531ba68b54
#43457 split nsStyleSpacing into 4 smaller structures: nsStyleBorder, nsStylePadding, nsStyleMargin, nsStyleOutline. Review=attinasi. Pending Approval: buster.
2001-01-20 22:46:54 +00:00
rods%netscape.com
c81b2c3b26
removing most all NS_DEFINE_IID and replacing them with NS_GET_IID macros
...
Bug 61274, r=buster sr=waterson
2001-01-04 20:44:42 +00:00
dbaron%fas.harvard.edu
9430a92e06
Clean up easily fixed unnecessary includes and exports of implementation header files in layout. b=63766 r=jst@netscape.com sr=buster@netscape.com
2000-12-30 19:22:22 +00:00
dbaron%fas.harvard.edu
d415d67ba1
Paint backgrounds and borders for inline elements in the foreground layer. b=36710, 27757 r=buster@netscape.com
2000-09-04 21:45:47 +00:00
roc+%cs.cmu.edu
3e74bddc5d
Adding call to new view API so that the view of a fixed-position frame has a Z-order/clipping parent which is not its geometric parent. Bug 39621. r,a=waterson
2000-08-12 19:44:11 +00:00
sfraser%netscape.com
a19bcfbde3
Fix for bug 25161 -- allow editor to handle pages with forms by implementing user-select and user-input for form controls. r=rods, pierre, mjudge.
2000-08-08 23:38:00 +00:00
dcone%netscape.com
b6328fe6e3
Check to see if the view had been reparented.. b=44718 a=mcclusk
2000-08-08 14:11:09 +00:00
cmanske%netscape.com
ac1a390f5c
Add code to paint selection border around Named Anchor frames when rect is not null - used only in Editor when Named Anchor is represented by an image. r=mjudge
2000-05-16 22:12:54 +00:00
troy%netscape.com
8b0eb04e08
Reinstated clipping code which had been backed out because it caused
...
a problem for XUL layout. I added a workaround for the XUL problem
2000-04-25 04:43:11 +00:00
putterman%netscape.com
af52293cd0
Backing out troy's changes to fix various UI blocker bugs.
2000-04-24 22:15:55 +00:00
troy%netscape.com
e7e6cea972
Fixed CreateViewForFrame() to check for a block-level frame with
...
'overflow' set to 'hidden' and force the frame to have a view. This
way child frames with views are clipped correctly
2000-04-23 04:55:27 +00:00
pierre%netscape.com
4b5db8f52f
Fix 32199 (visibility:collapse is not being interpreted as hidden on block and inline level elements) and parts of 21701 (misuse of style attr mVisible).
In the following files, replacing disp->mVisible with disp->IsVisible() is a BUG FIX: nsBlockFrame, nsBulletFrame, nsHRFrame, nsHTMLContainerFrame, nsImageFrame, nsTextFrame.
In all the other files, replacing disp->mVisible with disp->IsVisible() or disp->IsVisibleOrCollapsed() is merely a SYNTACTICAL CHANGE. The respective owners will later review the use of IsVisibleOrCollapsed() and in some cases replace it with IsVisible(). See bug 21701.
2000-03-17 10:15:13 +00:00
troy%netscape.com
062aa95872
b=5588. Added new function ReparentFrameViewList() that is much faster
...
then ReparentFrameView() when you have a list of child frames
2000-03-12 03:09:36 +00:00
troy%netscape.com
73a3709284
b=21657 a=chofmann@netscape.com Made "overflow list" a full fledged
...
child list and changed ReparentFrameView() to check it.
2000-01-22 01:16:50 +00:00
troy%netscape.com
a6b6c4cdc7
Changed to respect 'z-index' of 'auto' and call SetViewAutoZIndex()
1999-12-08 04:49:20 +00:00
pierre%netscape.com
8599cb76a4
Backing-out previous change which had the effect of getting rid of the widgets for *all* fixed positioned elements. Removing widgets is a goal at term but it's something that we want to leave to the View Manager folk(s) or at least do in sync with them.
1999-12-01 05:10:50 +00:00
pierre%netscape.com
537d50025c
18163 "Use of fixed positioning in style sheet corrupts display". Don't create empty widgets for fixed positioned elements in order to avoid problems in the View Manager (GetDrawingSurface) where we end up copying uninitialized bitmaps to the screen. The main reason for fixing the bug here instead of within the View Manager is that we'll get rid of widgets altogether over time.
1999-12-01 04:10:02 +00:00
tbogard%aol.net
a0640b60c4
Changed nsIPresContext& to nsIPresContext*. Changed nsEventStatus& to nsEventStatus*. Now more compatible with XPIDL. a=vidur r=scc
1999-11-24 06:03:41 +00:00
dmose%mozilla.org
42fc94a6ec
updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
1999-11-06 03:40:37 +00:00
troy%netscape.com
a47e8db44b
Changed SetView/GetView to take an additional argument which is the
...
pres context
1999-10-26 04:44:41 +00:00
peterl%netscape.com
45ae24d59f
manage view visibility better, hide collapsed views and hidden views with widgets
1999-09-29 03:37:02 +00:00
troy%netscape.com
3b9c13faa9
Fixes for bug #2552 and bug #10961
1999-09-26 20:40:29 +00:00
troy%netscape.com
4e647eca28
In CreateViewForFrame() removed code that was hiding view if the 'visibility'
...
property is 'hidden'
1999-09-15 04:54:00 +00:00
troy%netscape.com
25d90dc5f3
Removed code in CreateViewForFrame() that always forced relatively positioned
...
and absolutely positioned frames to have transparent views. It's not needed
now that bug #11637 is fixed
1999-09-15 04:16:31 +00:00
troy%netscape.com
a62ed57ff4
Fixed compiler warning
1999-09-01 04:32:45 +00:00
troy%netscape.com
ecc21c953c
Fix for bug #12864 . Changed CreateViewForFrame() so it respects the z-index
...
of relatively positioned elements
1999-09-01 01:10:24 +00:00
kipp%netscape.com
21d217a586
Don't paint frames that are unflowable
1999-08-27 21:48:21 +00:00
troy%netscape.com
17b13f5eb6
Reworked ReparentFrameView() to make it more efficient
1999-08-24 19:26:03 +00:00
rods%netscape.com
efa83b4cb5
added PaintOutline to paint CSS outlines to paint method
1999-08-19 14:35:48 +00:00
peterl%netscape.com
d5f47d0408
moved scrolled content pseudo to layout atoms
1999-08-08 01:15:30 +00:00
kipp%netscape.com
842f158c03
Eliminate a warning
1999-07-14 17:28:00 +00:00
evaughan%netscape.com
2b76d2dc93
Fixed some visibility bugs in order to make the tab widget work correctly.
1999-05-19 22:14:11 +00:00
troy%netscape.com
3ce2fbb10a
Fixed a problem where CreateViewForFrame() was setting NS_VIEW_PUBLIC_FLAG_DONT_BITBLT
...
all the time
1999-04-24 04:53:42 +00:00
troy%netscape.com
c378456c03
Changed the handling for fixed backgrounds a little
1999-04-21 22:08:01 +00:00
troy%netscape.com
2381754d68
Changed CreateViewForFrame() so it takes into account fixed background
...
attachments and sets NS_VIEW_PUBLIC_FLAG_DONT_BITBLT
1999-04-21 21:27:50 +00:00
troy%netscape.com
4fda80d9f5
Added ReparentFrameView() and changed the block and inline code
...
to call it when pushing/pulling frames
1999-04-11 04:22:00 +00:00
troy%netscape.com
66741a66a0
Added a comment
1999-04-06 02:57:47 +00:00
kipp%netscape.com
fab8db134e
Whacked paint methods to use new constants
1999-03-26 00:39:35 +00:00
peterl%netscape.com
78240897f9
augmented ReResolveStyleContext to capture style change information
1999-03-25 06:43:38 +00:00
kipp%netscape.com
f7b3921a2c
Spanked to collapse inline-reflow with line-layout into line-layout; fixed bugs #1278 , #1990 , #3527 , #1670 , etc.
1999-03-18 21:03:25 +00:00
warren%netscape.com
c50687b845
nsRepository -> nsIComponentManager changes.
1999-03-09 09:44:27 +00:00
kipp%netscape.com
cfa5bbce41
Fixed remaining issues with operator new/delete
1999-02-26 19:26:29 +00:00
kipp%netscape.com
194cbded42
Removed MoveOutOfFlow
1999-02-26 17:07:01 +00:00
troy%netscape.com
dfdacc8159
Changed nsIFrame::Init() to take an additional parameter
1999-02-25 03:27:57 +00:00
troy%netscape.com
8dfabdf1a8
Changed GetNextInFlow() and GetPrevInFlow() to be pointer arguments and
...
not references
1999-02-24 04:48:08 +00:00
troy%netscape.com
55d2703151
Added CreateContinuingFrame() function to frame construction code
1999-02-24 04:03:50 +00:00