Commit Graph

598 Commits

Author SHA1 Message Date
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
peterl@netscape.com
3dae0bdf83 renamed LoadImage 1998-07-31 05:59:31 +00:00
michaelp@netscape.com
7a7121d2e0 improved performance of background rendering. 1998-07-30 23:31:42 +00:00
michaelp@netscape.com
51373670a9 made color handling code in css part of the gfx color utilities. 1998-07-27 21:07:47 +00:00
troy@netscape.com
fe4f1f7f87 Fixed it so backgrounds are properly tiled again 1998-07-22 18:34:14 +00:00
troy@netscape.com
3d32e26332 Changed PaintBorder() to use the (x,y) that's passed in 1998-07-22 05:02:07 +00:00
troy@netscape.com
2f1442d674 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@netscape.com
52c36729d8 Fixed MakeSide() so it does a better job of drawing the correct pixels in
the case of 1-pixel thick lines
1998-07-21 09:30:03 +00:00
troy@netscape.com
aa3eead7ac Added background color to image loading member functions 1998-07-16 04:34:59 +00:00
karnaze
15e211b4c4 fixed divide by zero, test9 has sub sub doc. 1998-06-18 18:33:34 +00:00
troy
aed6c2620f Fixed a problem with thick left border edges being the wrong thickness 1998-06-18 05:43:32 +00:00
troy
8508702674 Reduced the number of polygon calls 1998-06-17 22:14:20 +00:00
michaelp
fc884237bf added support for front-to-back view rendering. 1998-05-27 02:13:28 +00:00
kostello
6c85e9d30c 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
thom
4dd73ab2b5 fixed compile errors for mac 1998-05-19 23:11:28 +00:00
peterl
f71a1a1308 sync to nsStyleSpacing api changes 1998-05-12 22:58:14 +00:00
kipp
aad25f374f Use new image loading API's 1998-05-11 22:58:20 +00:00
kipp
90e6cfcdca Use new LoadImage API 1998-05-09 03:23:54 +00:00
peterl
5c8b47d17b WIP moving margin, border & padding out of nsStyleMolecule 1998-04-22 06:39:35 +00:00
kipp
4683c6f4c0 moved to pub 1998-04-13 20:24:54 +00:00