bzbarsky@mit.edu
cd31296572
Use the right langgroup when getting the font metrics for drawing text
...
decorations. Bug 210330, patch by Uri Bernstein <uriber@gmail.com >,
r=smontagu, sr=bzbarsky, a=dbaron
2005-05-12 20:02:33 +00:00
bzbarsky@mit.edu
9d506b60da
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
b7debc2516
Bug 288949. Don't try to use view reparenting to handle scrolled child views. Also, fix regression so that listboxes don't always have widgets. r+sr=dbaron,a=asa.
2005-04-07 23:54:28 +00:00
roc+@cs.cmu.edu
10d748aa71
Bug 285996C. Ensure that object frames create the widget for their view correctly the first time, and don't let them try to create a widget again when there already is one. r+sr=dbaron,a=asa.
2005-04-07 03:59:02 +00:00
cvshook@sicking.cc
0215f40fbf
Bug 236476: Change GetHTMLAttribute to GetParsedAttr. Also fixes bug 232706 by removing final uses of nsHTMLValue.
...
r=bz sr=jst
2005-01-25 00:02:58 +00:00
neil@parkwaycc.co.uk
954ec4a8a9
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
timeless@mozdev.org
2349e1cddb
Bug 106386 Correct misspellings in source code
...
patch by ajvincent@gmail.com r=dbradley rs=brendan
2004-11-10 07:27:11 +00:00
neil@parkwaycc.co.uk
524edd3289
Bug 267302 Views should be created by the view manager r+sr=roc
2004-11-04 15:06:50 +00:00
dbaron@dbaron.org
666c0b62c4
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
f6d4272f10
Bug 259032. DeCOMtaminate nsIFrame::GetNext/PrevInFlow. r+sr=roc, patch by Will Levine
2004-09-14 02:28:03 +00:00
bryner@brianryner.com
6cde4639f0
Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc
2004-07-31 23:15:21 +00:00
roc+@cs.cmu.edu
8665f2a871
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
a1ec040a65
Bug 236613: change to MPL/LGPL/GPL tri-license.
2004-04-18 14:30:37 +00:00
bryner@brianryner.com
d9d66e38d5
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
e00186c47b
Miscellaneous cleanup. r/sr=jst.
2004-01-18 10:45:26 +00:00
roc+@cs.cmu.edu
404878514e
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
d8fd3d5bb4
Bug 190735. deCOMtaminate nsIFrame::FirstChild and nsIFrame::GetAdditionalChildListName. r+sr=bz
2004-01-09 14:20:53 +00:00
bryner@brianryner.com
a90ec6ff21
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
01533e488c
deCOMtaminate nsIPresContext::GetCompatibilityMode / SetCompatibilityMode (bug 229081). r+sr=bzbarsky.
2003-12-24 21:51:50 +00:00
bryner@brianryner.com
640685cbe9
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
3696673382
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
226ba452e0
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
4fc4723244
Bug 190735. DeCOMtaminate nsIFrame::GetFrameType. r+sr=bzbarsky
2003-10-31 20:19:18 +00:00
uid502
308b50e2e9
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
5d99a8c63c
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
dc58ced898
Ongoing deCOMtamination. r+sr=dbaron
2003-06-29 03:43:05 +00:00
dbaron@dbaron.org
fe05bcfe51
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
384f320c3a
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
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
f3d81cb0cf
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
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
dbaron@dbaron.org
fb4166eb68
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
8859d5e783
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
9f03959924
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
4c4f65aba0
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
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
caillon@returnzero.com
0d9875f0a1
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
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
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
karnaze@netscape.com
7ce5d8ded3
bug 145305 - split floaters during printing. sr=attinasi, r=alexsavulov.
2002-05-28 22:50:43 +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
waterson@netscape.com
a7380946d3
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
8d9f286e84
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
cad7cf3287
Bug 124744 remove nsIPtr
...
r=bryner sr=alecf
2002-02-12 04:12:50 +00:00
dbaron@fas.harvard.edu
edc54e6926
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
d05e65aea2
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
5b7457dc0e
Bug 73382. Clean up view manager interfaces, 2nd attempt. r=kmcclusk,rs=attinasi
2001-12-01 14:31:45 +00:00