134 Commits

Author SHA1 Message Date
dcone%netscape.com
cc7ba3518e Move the dotted and dashed rouned corner code to fall into solid until it is supported by code
r=rods.  Bug fixed 13944


git-svn-id: svn://10.0.0.236/trunk@53882 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-18 15:09:02 +00:00
dcone%netscape.com
d93bf4b996 DrawDashedSides now used the correct height and width for the right and bottom
git-svn-id: svn://10.0.0.236/trunk@53512 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-15 15:33:25 +00:00
dmose%mozilla.org
92d791b7b0 updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@52908 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:40:37 +00:00
sfraser%netscape.com
1cf929984f Fixes for 18029 and 16723 -- fix image drawing on Mac to use GWorlds, and put in api to lock and unlock pixels. r=pnunn, a=chofmann.
git-svn-id: svn://10.0.0.236/trunk@52811 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-04 22:26:57 +00:00
dcone%netscape.com
6d4e070e6b Fixed a divide by zero crasher, and cleaned up borders. r=buster
git-svn-id: svn://10.0.0.236/trunk@52684 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-03 05:46:01 +00:00
dcone%netscape.com
73c37400ce Added a clip for the borders and fixed how they are rendered. r=karnaze
bugs:10311,8737,14566


git-svn-id: svn://10.0.0.236/trunk@51847 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-26 14:34:17 +00:00
troy%netscape.com
bd46e7911f Changed SetView/GetView to take an additional argument which is the
pres context


git-svn-id: svn://10.0.0.236/trunk@51822 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-26 04:44:41 +00:00
dcone%netscape.com
fd397214fb Fixed warning.
git-svn-id: svn://10.0.0.236/trunk@51529 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-22 13:29:06 +00:00
dcone%netscape.com
9abd146c48 Fixed the rounded border rendering code to obey solid, and none style types.
Also bumped all the rounded rects onto pixel boundaries before rendering.


git-svn-id: svn://10.0.0.236/trunk@51258 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-20 14:46:27 +00:00
dcone%netscape.com
09be733a85 Fixed some warnings
git-svn-id: svn://10.0.0.236/trunk@50119 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 20:40:00 +00:00
dcone%netscape.com
75b915c855 Turned on the background tiling optimization.. Reviewed By rods
git-svn-id: svn://10.0.0.236/trunk@50110 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 14:57:32 +00:00
dcone%netscape.com
1cfea69ffd added background fix.. commented out for now until other platforms are tested
git-svn-id: svn://10.0.0.236/trunk@49581 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-01 14:35:20 +00:00
rods%netscape.com
b3d49bd415 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.


git-svn-id: svn://10.0.0.236/trunk@45887 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-03 14:12:09 +00:00
troy%netscape.com
cfa7416254 Fix for bug #12751. Optimized PaintBorder() so if the dirty rect is completely
inside of the border rect, then we don't paint anything. This speed up
incremental painting


git-svn-id: svn://10.0.0.236/trunk@45026 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-29 03:25:56 +00:00
dcone%netscape.com
32e80cb389 removed a debug printf
git-svn-id: svn://10.0.0.236/trunk@44872 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 20:58:37 +00:00
dcone%netscape.com
af7642739a Added a rounding parameter so rounded rects can be used as cirles if the radius is large enough
git-svn-id: svn://10.0.0.236/trunk@44839 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 14:37:47 +00:00
rods%netscape.com
426ee931d2 removed some unused variables to get rid of some warnings
git-svn-id: svn://10.0.0.236/trunk@44494 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-25 13:39:41 +00:00
troy%netscape.com
0e3d565b0a Changed PaintBackground() so it doesn't always render the background color when
there's a background image that doesn't tile the entire bounds


git-svn-id: svn://10.0.0.236/trunk@44452 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-25 05:05:04 +00:00
ramiro%netscape.com
898a4901e9 #ifdef out annoying printf.
git-svn-id: svn://10.0.0.236/trunk@44448 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-25 04:01:57 +00:00
troy%netscape.com
d5b529edc0 Added case selectors for NS_STYLE_BORDER_STYLE_HIDDEN. Treated just like
NS_STYLE_BORDER_STYLE_NONE


git-svn-id: svn://10.0.0.236/trunk@44353 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 21:47:55 +00:00
dcone%netscape.com
6ab12637d1 Fixed some warnings, and some roundoff for the curves
git-svn-id: svn://10.0.0.236/trunk@44293 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 14:51:16 +00:00
rods%netscape.com
0c6a0ed6dc 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
git-svn-id: svn://10.0.0.236/trunk@43606 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 14:22:47 +00:00
harishd%netscape.com
91a52e70b6 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


git-svn-id: svn://10.0.0.236/trunk@42973 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-10 18:13:50 +00:00
troy%netscape.com
08b0ac1ce2 Added failure check for call to nsStyleData::GetBorder()
git-svn-id: svn://10.0.0.236/trunk@41422 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-28 04:48:34 +00:00
kmcclusk%netscape.com
4da058a9e8 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.


git-svn-id: svn://10.0.0.236/trunk@41353 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-27 23:26:36 +00:00
troy%netscape.com
177b8110fa 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


git-svn-id: svn://10.0.0.236/trunk@41286 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-27 14:13:09 +00:00
dcone%netscape.com
1bc77a488a Fixed background rendering
git-svn-id: svn://10.0.0.236/trunk@41258 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-27 06:41:34 +00:00
dcone%netscape.com
42f86a271f fixed background tile clipping bug.
git-svn-id: svn://10.0.0.236/trunk@40105 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-19 14:37:36 +00:00
dcone%netscape.com
1b730ce55e Fixed printing to make sure all URL's are loaded before print.
Fixed the background tile render'er to save and restore clip.


git-svn-id: svn://10.0.0.236/trunk@39530 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-15 14:23:40 +00:00
troy%netscape.com
5c3178c877 Fixed some compiler warnings
git-svn-id: svn://10.0.0.236/trunk@38172 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-02 22:39:32 +00:00
dcone%netscape.com
c035592fb5 background Image speed up
Commented out the box around the printout until Troy returns


git-svn-id: svn://10.0.0.236/trunk@34797 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 14:43:14 +00:00
troy%netscape.com
7a5dd22f28 Fix for bug #5680. Re-arranged some assertion checking code
git-svn-id: svn://10.0.0.236/trunk@29793 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-29 18:29:56 +00:00
troy%netscape.com
713c4c17a7 Fixed a comment
git-svn-id: svn://10.0.0.236/trunk@29102 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-25 04:14:06 +00:00
troy%netscape.com
3f68dd05f9 Added support for fixed background attachment
git-svn-id: svn://10.0.0.236/trunk@29096 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-25 02:43:50 +00:00
dcone%netscape.com
ecfee6c40b Updated with the background painting and anti-aliasing
git-svn-id: svn://10.0.0.236/trunk@28458 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 14:23:49 +00:00
dcone%netscape.com
f60c977706 added the rounded rectangle code for style
git-svn-id: svn://10.0.0.236/trunk@28031 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 05:27:55 +00:00
kipp%netscape.com
b13d36e80c Updated to use new image loading apis
git-svn-id: svn://10.0.0.236/trunk@27391 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 21:52:19 +00:00
peterl%netscape.com
10035996a1 added transparent border support
git-svn-id: svn://10.0.0.236/trunk@25345 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-28 04:30:28 +00:00
kipp%netscape.com
1bd6230ab0 Remove dead global-variable nonsense
git-svn-id: svn://10.0.0.236/trunk@22902 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 19:23:52 +00:00
kipp%netscape.com
c8fe8ac18f Pass in default image size when loading image
git-svn-id: svn://10.0.0.236/trunk@22139 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 17:12:05 +00:00
kipp%netscape.com
9b917419dc COMized nsIPresShell and nsIPresContext
git-svn-id: svn://10.0.0.236/trunk@20570 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 17:45:58 +00:00
troy%netscape.com
1fa43367bb Work-in-progress for replaced elements that can't be rendered
git-svn-id: svn://10.0.0.236/trunk@19703 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 17:03:46 +00:00
harishd%netscape.com
7d19d006e0 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.


git-svn-id: svn://10.0.0.236/trunk@18849 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 00:31:47 +00:00
harishd%netscape.com
f95d3a13e2 Got stylecontext info into PaintBorder() for displaying
CSS borders.


git-svn-id: svn://10.0.0.236/trunk@18351 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 22:24:05 +00:00
troy%netscape.com
8a00831853 Fix for bug #1998. Now we render the background image over the padding area and not over the border area
git-svn-id: svn://10.0.0.236/trunk@17854 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 18:25:58 +00:00
buster%netscape.com
8d76cca127 comments, so many comments!
git-svn-id: svn://10.0.0.236/trunk@17079 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-03 19:23:21 +00:00
buster%netscape.com
92257be8b3 right dashed borders now work
dashed borders along a span now mostly work


git-svn-id: svn://10.0.0.236/trunk@17011 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-30 22:39:49 +00:00
buster%netscape.com
cca2fe54e4 CSS2 table collapsing border rendering
git-svn-id: svn://10.0.0.236/trunk@16988 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-30 06:47:26 +00:00
buster%netscape.com
217aa922ce DrawBorderEdge fixes
git-svn-id: svn://10.0.0.236/trunk@16847 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-23 15:48:50 +00:00
buster%netscape.com
49403601af fixes for PaintBorderEdges
git-svn-id: svn://10.0.0.236/trunk@16741 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-21 06:37:10 +00:00