Commit Graph

869 Commits

Author SHA1 Message Date
dcone@netscape.com
53ebb15b83 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
325fa6e9b8 removed some unused variables to get rid of some warnings 1999-08-25 13:39:41 +00:00
troy@netscape.com
17a060ab89 Changed PaintBackground() so it doesn't always render the background color when
there's a background image that doesn't tile the entire bounds
1999-08-25 05:05:04 +00:00
ramiro@netscape.com
0a967756ad #ifdef out annoying printf. 1999-08-25 04:01:57 +00:00
troy@netscape.com
8f1fde9cec Added case selectors for NS_STYLE_BORDER_STYLE_HIDDEN. Treated just like
NS_STYLE_BORDER_STYLE_NONE
1999-08-24 21:47:55 +00:00
dcone@netscape.com
dea62f3345 Fixed some warnings, and some roundoff for the curves 1999-08-24 14:51:16 +00:00
rods@netscape.com
b1827fd5ee 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
harishd@netscape.com
7da01e88b0 Changing the order in which borders are painted for compatibility.
Used to be TOP,LEFT,BOTTOM,RIGHT, and now it's
BOTTOM,LEFT,TOP,RIGHT.  Fix for bug#11022
1999-08-10 18:13:50 +00:00
troy@netscape.com
99ae5771db Added failure check for call to nsStyleData::GetBorder() 1999-07-28 04:48:34 +00:00
kmcclusk@netscape.com
003825881c 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
troy@netscape.com
590a66f112 Fix for bug #10563 where we were triggering a post condition assertion. Changed
ComputeBackgroundAnchorPoint() to correctly calculate tile offset that is a
multiple of the tile
1999-07-27 14:13:09 +00:00
dcone@netscape.com
c3a812ef59 Fixed background rendering 1999-07-27 06:41:34 +00:00
dcone@netscape.com
b5ae889ded fixed background tile clipping bug. 1999-07-19 14:37:36 +00:00
dcone@netscape.com
10fe138110 Fixed printing to make sure all URL's are loaded before print.
Fixed the background tile render'er to save and restore clip.
1999-07-15 14:23:40 +00:00
troy@netscape.com
3542b1543b Fixed some compiler warnings 1999-07-02 22:39:32 +00:00
dcone@netscape.com
ea1271902d background Image speed up
Commented out the box around the printout until Troy returns
1999-06-11 14:43:14 +00:00
troy@netscape.com
8b0bff229c Fix for bug #5680. Re-arranged some assertion checking code 1999-04-29 18:29:56 +00:00
troy@netscape.com
843614e49d Fixed a comment 1999-04-25 04:14:06 +00:00
troy@netscape.com
c657dd4690 Added support for fixed background attachment 1999-04-25 02:43:50 +00:00
dcone@netscape.com
aae3f76f72 Updated with the background painting and anti-aliasing 1999-04-21 14:23:49 +00:00
dcone@netscape.com
120996d5d1 added the rounded rectangle code for style 1999-04-19 05:27:55 +00:00
kipp@netscape.com
b433979d7b Updated to use new image loading apis 1999-04-13 21:52:19 +00:00
peterl@netscape.com
d25e534811 added transparent border support 1999-03-28 04:30:28 +00:00
kipp@netscape.com
1d3f183597 Remove dead global-variable nonsense 1999-03-05 19:23:52 +00:00
kipp@netscape.com
89263c1950 Pass in default image size when loading image 1999-02-26 17:12:05 +00:00
kipp@netscape.com
74b2988510 COMized nsIPresShell and nsIPresContext 1999-02-12 17:45:58 +00:00
troy@netscape.com
5f09e64e3b Work-in-progress for replaced elements that can't be rendered 1999-02-04 17:03:46 +00:00
harishd@netscape.com
c806c84b6f 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
d776f3e8f6 Got stylecontext info into PaintBorder() for displaying
CSS borders.
1999-01-22 22:24:05 +00:00
troy@netscape.com
217ab2bc29 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
cb2d544857 comments, so many comments! 1999-01-03 19:23:21 +00:00
buster@netscape.com
357d4ccda8 right dashed borders now work
dashed borders along a span now mostly work
1998-12-30 22:39:49 +00:00
buster@netscape.com
ba067d4721 CSS2 table collapsing border rendering 1998-12-30 06:47:26 +00:00
buster@netscape.com
dcaeaec437 DrawBorderEdge fixes 1998-12-23 15:48:50 +00:00
buster@netscape.com
6d1e13ecd0 fixes for PaintBorderEdges 1998-12-21 06:37:10 +00:00
buster@netscape.com
02541201eb added PainBorderSegments 1998-12-17 22:58:51 +00:00
kipp@netscape.com
7513d3619c Repaired the background image rendering code to properly factor in the dirty-rect with background-position handling (bug #912) 1998-12-12 03:06:02 +00:00
kipp@netscape.com
85923ca558 Fixed border drawing to not draw zero sized borders 1998-12-10 17:50:11 +00:00
harishd@netscape.com
9b58f44920 Changed code that previously accessed mBorderStyle and mBorderColor
with new methods added in nsStyleSpacing
1998-12-07 19:02:13 +00:00
michaelp@netscape.com
614b76a37f changes for pixel scaling/printing. 1998-11-14 01:52:27 +00:00
michaelp@netscape.com
70e988371d changes to support nsIRenderingContext that conforms to COM conventions. 1998-10-30 02:08:25 +00:00
kipp@netscape.com
f72e46b284 Reworked background rendering to properly handle the background-position properties 1998-10-27 16:50:19 +00:00
peterl@netscape.com
f58be7ba4e reversed ridge & groove rendering 1998-10-26 23:18:32 +00:00
karnaze@netscape.com
0b397dcce1 fixed Mac bug due to undeclared index in for loop 1998-10-08 14:58:32 +00:00
karnaze@netscape.com
ffb876f867 fieldset, legend support. fixed bug #987 1998-10-08 04:38:41 +00:00
kipp@netscape.com
20197c5e01 Added callback to image loading api 1998-09-26 18:36:59 +00:00
kipp@netscape.com
3e54012177 Fixed background-image rendering so that when the entire background is not covered by the image the background color can be seen 1998-09-26 17:29:10 +00:00
kipp@netscape.com
a5e9310a8f 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
karnaze@netscape.com
f7abbf03f6 support for frameset cells without frames, fixed nsCSSRendering paint background divide by zero 1998-08-05 22:24:56 +00:00
peterl@netscape.com
dda833cded rounding support 1998-07-31 23:34:45 +00:00