Commit Graph

46 Commits

Author SHA1 Message Date
dbaron%fas.harvard.edu
4ffe012c9f Fix drawing of rounded borders and backgrounds on large elements by using PRInt32 instead of PRInt16. b=131233 r=dcone sr=attinasi a=asa 2002-03-16 15:25:16 +00:00
karnaze%netscape.com
679c575202 bug 41262 - new table border collapsing code. sr=attinasi, r=alexsavulov. 2002-02-19 15:48:28 +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
dbaron%fas.harvard.edu
c9c0a97163 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
hyatt%netscape.com
91bc6c4a6e Enhancements to CSS to enable multi-colored borders and painting of image subregions. 112988 and 112990. r=dbaron,hewitt for 112990, r=ben,hewitt for 112988 2001-12-05 08:35:05 +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
hyatt%netscape.com
b135c5b55a Fix for 78695 (rule matching improvements). r/sr=attinasi, jst, waterson 2001-05-31 22:19:43 +00:00
dcone%netscape.com
a81e76f9b1 bug 79477 r=kmmclusk sr=attinasi 2001-05-10 14:19:58 +00:00
pierre%netscape.com
9af01acf22 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
7ecf530933 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
62bf433a35 #43457 split nsStyleSpacing into 4 smaller structures: nsStyleBorder, nsStylePadding, nsStyleMargin, nsStyleOutline. Review=attinasi. Pending Approval: buster. 2001-01-20 22:46:54 +00:00
dcone%netscape.com
8365299e18 Fixed the curve drawing to use floating point.. corrects rounding problems 2000-05-11 03:59:43 +00:00
rods%netscape.com
3e11ee0c01 Added aIsOutline to arg to RenderSize so it can do the right thing when
drawing outlines. Also got rounded outlines to work (not dashed)
Added #if for PaintOuline to control whether it paints on the inside or outside
of the frame.
b=18579 r=dcone
2000-03-18 14:41:00 +00:00
dcone%netscape.com
360be95564 fixed backgrounds. r=rods 2000-02-01 16:03:13 +00:00
dcone%netscape.com
f7bfb1a5f7 Added support for selected rounded corners...can now round individual corners. r=rods 1999-12-23 20:48:07 +00:00
tbogard%aol.net
af1ce8d410 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
5312eacf8c updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:40:37 +00:00
dcone%netscape.com
eb5d6cfd19 Added a clip for the borders and fixed how they are rendered. r=karnaze
bugs:10311,8737,14566
1999-10-26 14:34:17 +00:00
dcone%netscape.com
8c53e876bb Fixed the rounded border rendering code to obey solid, and none style types.
Also bumped all the rounded rects onto pixel boundaries before rendering.
1999-10-20 14:46:27 +00:00
rods%netscape.com
a4d98e6a57 Added extra parameters so PaintBorder can be used to draw borders with a size that
is passed in instead of get the size from style.
1999-09-03 14:12:09 +00:00
dcone%netscape.com
4abe0ca7d3 Added a rounding parameter so rounded rects can be used as cirles if the radius is large enough 1999-08-27 14:37:47 +00:00
rods%netscape.com
300c700e00 Added a new method PaintOutline, and added a new parameter to PaintBorder to tell whether to get the style and color information from the border info or the outline info 1999-08-19 14:22:47 +00:00
kmcclusk%netscape.com
f9b64e775c bug #7032 Changed nsIWidget::Resize(...), nsIWidget::Move(...) to
use PRInt32 instead of PRUInt32. Modified Mac, and Linux to match.
bug #2010 Applied David Barrons patch for MakeSide ins CSSRendering.
nsIWidget - removed GetAbsoluteBounds - Not needed. Can use WidgetToScreen instead.
1999-07-27 23:26:36 +00:00
dcone%netscape.com
3b1a4260b6 Updated with the background painting and anti-aliasing 1999-04-21 14:23:49 +00:00
dcone%netscape.com
b8b86e2425 Fixed declaration to fix Mac build 1999-04-19 13:37:16 +00:00
dcone%netscape.com
c08626bd0e added the rounded rectangle code for style 1999-04-19 05:27:55 +00:00
kipp%netscape.com
1dd581bfed Remove dead global-variable nonsense 1999-03-05 19:23:52 +00:00
harishd%netscape.com
82420c7328 Changing the variable aElementColor to aBorderColor in Painborder(),
PaintBorderEdge(), DrawSide(), and MakeBevelColor().
The computed colors for all the  border style should be based on
the actual 'border-side-color' not the element's color after all.
1999-01-28 00:31:47 +00:00
harishd%netscape.com
69aa3480e6 Modified the PaintBorder(), MakeBevelColor(), DrawSide(),
PaintBorderEdge() methods.
1999-01-22 22:22:26 +00:00
troy%netscape.com
6d63084a70 Fix for bug #1998. Now we render the background image over the padding area and not over the border area 1999-01-15 18:25:58 +00:00
buster%netscape.com
c34896d000 CSS2 table collapsing border rendering 1998-12-30 06:47:26 +00:00
buster%netscape.com
e0d6677573 added PainBorderSegments 1998-12-17 22:58:51 +00:00
harishd%netscape.com
f3cdc3cfdb Included a new DrawDashedSide() function prototype and modified DrawSide() function. 1998-12-07 19:04:39 +00:00
karnaze%netscape.com
9fb22bd084 html 4 <BUTTON> basic functionality 1998-10-17 00:35:32 +00:00
karnaze%netscape.com
42797648cf fieldset, legend support. fixed bug #987 1998-10-08 04:38:41 +00:00
kipp%netscape.com
3df3b79365 Support a dx,dy value to adjust origin of image rendering; add in partial support for background-position property 1998-09-26 17:16:56 +00:00
michaelp%netscape.com
b636c3052c made color handling code in css part of the gfx color utilities. 1998-07-27 21:07:47 +00:00
troy%netscape.com
048270ffb0 Changed PaintBorder() to use the (x,y) that's passed in 1998-07-22 05:02:07 +00:00
troy%netscape.com
789a2dbe45 Changed nsCSSRendering::PaintBorder() so the entire rect is used
and not just the width and height
1998-07-22 02:46:00 +00:00
troy
948d7d756a Fixed a problem with thick left border edges being the wrong thickness 1998-06-18 05:43:32 +00:00
troy
b66023d41f Reduced the number of polygon calls 1998-06-17 22:14:20 +00:00
kostello
843b8a3ff9 Moved Get3DColors from HRPart to CSSRendering.
Modified Border Drawing Code to use Get3DColors for backwards compatibility purposes.
1998-05-26 20:52:59 +00:00
peterl
a74065d6fc sync to nsStyleSpacing api changes 1998-05-12 22:58:14 +00:00
peterl
6421bec370 WIP moving margin, border & padding out of nsStyleMolecule 1998-04-22 06:39:35 +00:00
kipp
098bef52b4 moved to pub 1998-04-13 20:24:54 +00:00