caillon%returnzero.com
5ba9439c07
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
hyatt%netscape.com
e8710c1495
Fix for 169373, make HTML form controls fully support native look on Windows XP. r/sr=hewitt/blake
2002-09-21 01:03:38 +00:00
alecf%netscape.com
214146625e
fix for bug 163736 - consolidate gfx2 into gfx, and remove the gfx2 DLL from the build.
...
r=pavlov, sr=rbs
includes creating a new "Shared" library which shares gfx code between all platforms
2002-09-12 04:43:31 +00:00
caillon%returnzero.com
add1e76599
Bug 45557 - Rounded transparent borders are not transparent.
...
r=bzbarsky sr=jag
2002-08-30 06:39:34 +00:00
dcone%netscape.com
53276bf5e0
b=148598 r=mcclusky,sr=kin Speed up scrolling
2002-08-18 00:46:00 +00:00
dbaron%fas.harvard.edu
839c83ca5d
Move FindNonTransparentBackground from nsStyleUtil to nsCSSRendering so that nsStyleUtil doesn't need to be in content/shared. b=71257 r=heikki sr=bzbarsky
2002-08-11 17:56:15 +00:00
dcone%netscape.com
a0cbe2a500
Backing out changes for the background speedup.. it broke some hoovering code.. on a web page.
...
I want to investigate this before I leave the patch in.
2002-08-02 18:21:33 +00:00
dcone%netscape.com
218c5049d8
b=148598 r=peterl sr=kin a=asa. This speeds up scrolling with very large backgrounds.
2002-07-31 17:13:25 +00:00
dcone%netscape.com
a064c6edca
Backing out changes. Something is interacting wrong with scroll bars.. so I will investigate.
2002-07-29 17:48:22 +00:00
dcone%netscape.com
2aed7eb5c6
b=148598 Very Slow scrolling. r=rods sr=kin a=asa. Fixed the update area for the background images. Improves scrolling 100%
2002-07-29 13:28:32 +00:00
dbaron%fas.harvard.edu
6a089b4f2a
Replace assertion with a comment explaining why we need to null-check the result of |nsIDOMHTMLDocument::GetBody|. b=119351 r=kin sr=waterson
2002-05-08 19:27:40 +00:00
pinkerton%netscape.com
bb66767179
fix build bustage
2002-04-12 15:26:05 +00:00
dcone%netscape.com
02e7316517
b=135208 r=kmcclusk@netscape.com sr=attinasi a=asa Fixed printing of color text when we dont
...
have a background.
2002-04-12 14:30:00 +00:00
karnaze%netscape.com
ef8486e013
bug 134845 - avoid dividing by zero during pixel rounding. a=asa, adt=jamiejr, sr=attinasi, r=kin
2002-04-06 22:28:39 +00:00
kmcclusk%netscape.com
6ae53f54f8
suppress the painting of partially decoded background images bug 129908; r=pavlov sr=attinasi a=asa
2002-03-23 04:33:37 +00:00
bzbarsky%mit.edu
ff83e74591
Make FindBackground not QI to nsIHTMLBodyElement -- this makes it much
...
faster. Bug 129079, r=rjesup@wgate.com , sr=jst, a=asa
2002-03-05 23:17:32 +00:00
bzbarsky%mit.edu
15ad250cad
Make <body> backgrounds draw in XHTML as XML. Bug 127374, r=dbaron,
...
sr=attinasi, a=shaver
2002-02-25 22:18:26 +00:00
pinkerton%netscape.com
ecc86da3a2
fix crash where we could dereference a null reference. shuffle some code around to ensure that can't happen anymore. r=ben/sr=blake/a=thesteve for smoketest blocker bug 126770
2002-02-20 21:51:25 +00:00
pinkerton%netscape.com
07a4e16549
don't bail on bg drawing when moz-appearance is set on a root. r=bryner/sr=hyatt. bug#119736
2002-02-20 02:14:18 +00:00
roc+%cs.cmu.edu
59d3d1ebd0
Bug 91516. Organize view managers into a tree so that IFRAMEs can be rendered and event-processed coherently with their containing documents. r=kmcclusk,rods,sr=attinasi
2002-02-19 21:33:26 +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
dcone%netscape.com
998f5ccf40
Fix print preview. r=rods sr = attinasi bug =117072. Only control backgrounds painting for printing.
2002-01-15 22:37:15 +00:00
dbaron%fas.harvard.edu
e6598e05b6
Make sure backgrounds are painted correctly by using the correct background to set up information on the view. b=119462 r=pierre sr=hyatt
2002-01-14 15:00:30 +00:00
dbaron%fas.harvard.edu
f833b1af22
Fix background painting as the default color while leaving a page. b=118867 r=sfraser sr=jst
2002-01-11 19:38:21 +00:00
dbaron%fas.harvard.edu
8c29d1138a
Fix crash on certain pages. b=118829 r=jag sr=waterson
2002-01-09 02:36:49 +00:00
dbaron%fas.harvard.edu
568a104e66
Remove unused and incorrect code, clean up some other similar code. b=116301 r=jag sr=jst
2002-01-08 15:13:02 +00:00
dbaron%fas.harvard.edu
887e35d7b3
Remove bogus/noisy assertion. b=118676 / 116161
2002-01-08 04:11:25 +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
pinkerton%netscape.com
4c5dccf906
Fix infinite loop when |shrinkage| goes below zero. Blocker for mach-o
...
build. r=dbaron/sr=blake. bug#116240
2001-12-20 18:02:43 +00:00
hyatt%netscape.com
0ec3f045d8
Fix for 112980, nsITheme API and dynamic skin switching re-enabling. r=ben, sr=waterson
2001-12-17 22:51:39 +00:00
hewitt%netscape.com
c580303351
113789 - -moz-border-colors doesn't recognize transparent, r=ben, sr=hyatt
2001-12-11 11:13:16 +00:00
dcone%netscape.com
6c7808bbc0
bug=96870 Add methods onto the nsIPresContext for setting and getting the background painting
...
boolean so printing can turn on and off backgrounds. r=peterl sr=attinasi
2001-12-11 05:57:37 +00:00
dbaron%fas.harvard.edu
2541b83e4f
Tweaking XP_MACOSX ifdefs in a few more places, including a fix for background image clipping. b=111795 r=pinkerton sr=sfraser
2001-12-06 00:09:21 +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
roc+%cs.cmu.edu
c88233916b
Bug 73382. Clean up view manager interfaces, 2nd attempt. r=kmcclusk,rs=attinasi
2001-12-01 14:31:45 +00:00
dcone%netscape.com
30419dc2d1
Put in a check so backgrounds are not printed. This is temporary until 96870 is fixed. r=rods sr=attinasi
2001-11-27 14:50:35 +00:00
roc+%cs.cmu.edu
c26c9711f3
My cleanup checkin for bug 73382 caused 5% increase in page load times. Backing out.
2001-11-24 05:37:25 +00:00
roc+%cs.cmu.edu
04ab1d58c5
View manage interface cleanup. Bug 73382. r=kmcclusk, sr=attinasi
2001-11-22 05:26:32 +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
attinasi%netscape.com
2046bd1c34
Improvements for invert outline colors (Mac and Linux work now). b=73884 r=kmcclusk sr=kin
2001-10-03 00:08:25 +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
dbaron%fas.harvard.edu
917fff3b3e
Null check to fix topcrash bug 97226. r=hixie sr=waterson
2001-09-10 19:36:59 +00:00
dcone%netscape.com
61c42e0de0
b=73884 r=peterl sr=attinasi invert mode support added
2001-08-21 22:37:17 +00:00
ian%hixie.ch
0da971e40c
Make the canvas background use the root element's frame's origin instead of the canvas frame's origin. Bug 46446; r=dcone, sr=attinasi
2001-08-17 23:26:29 +00:00
pavlov%netscape.com
880bac0d69
fixing 94933 r=jst sr=hyatt
2001-08-15 05:24:29 +00:00
pavlov%netscape.com
1e20984ef0
fixing bug 78690. removing old imagelib. r=jst sr=waterson
2001-08-09 20:22:39 +00:00
dbaron%fas.harvard.edu
9d35ed31a4
Fix bad getters on nsIDocument and nsIScriptContext to use out params rather than return |AddRef|ed pointers. b=81289 r=jaggernaut sr=jst a=asa
2001-06-20 03:27:48 +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
dcone%netscape.com
858044937b
r=kmmclusk sr=attinasi b=62245. clamp the border size.
2001-04-16 13:14:40 +00:00
pinkerton%netscape.com
e4150a604d
don't re-create 1000 element array's of nsPoints every time the routine is called. r=dcone/sr=sfraser. bug 69101.
2001-02-20 01:14:03 +00:00
disttsc%bart.nl
6e984b2b28
``background-position not relative to padding edge when background-repeat is not 'no-repeat' [BG]''. bug=7039, author=Hixie,jag, r=jag,Hixie,dcone, moa=dcone, sr=buster
2001-02-15 03:25:22 +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
rods%netscape.com
edb0c6270c
removing most all NS_DEFINE_IID and replacing them with NS_GET_IID macros
...
Bug 61274, r=buster sr=waterson
2001-01-04 20:44:42 +00:00
koehler%mythrium.com
37ea41723f
Bug 59528 - BeOS: images are drawn outside of its bounding box - r=cls
2000-12-22 23:19:04 +00:00
warren%netscape.com
cd56c0575b
Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc.
2000-10-28 22:17:53 +00:00
warren%netscape.com
9a6d92a433
Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson
2000-10-27 22:43:51 +00:00
rods%netscape.com
58af58b21e
adding comments to the fix that already got checked in.
...
a=waterson r=attinasi
2000-09-20 14:47:18 +00:00
bienvenu%netscape.com
d5e488cde1
fix crash replying to outlook message with dashed frame 52130 r=buster,waterson
2000-09-20 04:02:20 +00:00
sfraser%netscape.com
4af1765061
Part of the fix for 20743, add flag to tell us if a drawing surface is short-lived, so we can allocate in temp mem (on Mac). r=pavlov
2000-09-13 07:02:30 +00:00
jst%netscape.com
7aa7ed7f6d
Fixing nsbeta3+ bug 28277. Add a callback to nsHTMLImageElement so that we know when a image created in JavaScript has loaded (or fails to load), this is needed to support onload and onerror event fireing and also to support the '.complete' property on images create in JavaScript. r=nisheeth@netscape.com
2000-09-01 07:05:08 +00:00
rods%netscape.com
7f0dcda2ea
Temporarily changed outline to be mozoutline, this will enable us to get links
...
to show a focus rect. When we get outlines really working, then mozoutline will go away.
b=48973 r=attinasi
2000-08-24 13:45:48 +00:00
pierre%netscape.com
c41ffd137d
49550: uninitialized variable. Thanks to bruce@cubik.org (Bruce Mitchener)
2000-08-23 03:57:13 +00:00
pierre%netscape.com
fc4ab5d947
49154: uninitialized variable. Thanks to bruce@cubik.org (Bruce Mitchener)
2000-08-17 08:26:53 +00:00
attinasi%netscape.com
7701e70031
Part of fix to allow background on BODY element to be inherited. b=47127 r=pierre
2000-08-04 20:44:08 +00:00
pierre%netscape.com
e2194f4f34
#42139 "background-position misinterpreted with fixed backgrounds". Fixed a regression introduced during the last checkin. r=attinasi.
2000-06-16 00:50:56 +00:00
dbaron%fas.harvard.edu
f0115afa13
Fix leak of nsImageGTK (or equivalent on other platforms). r=waterson@netscape.com
2000-06-15 02:15:36 +00:00
attinasi%netscape.com
235a64963f
Fixed crash when a textarea control has fixed-backgrounfd attachment. b=40118 r=kmcclusk
2000-06-07 23:06:41 +00:00
dcone%netscape.com
50de329936
Fixed background color under border. b=13934. R=Attinasi
2000-06-05 13:58:05 +00:00
dcone%netscape.com
999da07458
Fixed double drawing lines for buttons
2000-05-15 04:55:49 +00:00
bryner%uiuc.edu
e5c3adbd79
New and improved background tiling code for GTK. We take an offset into
...
the image as a parameter so we avoid drawing the whole tile if it's not
all needed. Also, we can avoid setting any clip regions at all this
way, and avoid trips to the X server. Fixes several background rendering
problems. Also fix a signedness problem in the compositing code
(r=tor). r=pavlov.
2000-05-12 06:29:37 +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
attinasi%netscape.com
bade3fb598
Fixed problem where continuation frames were repeating the background image even when no-repeat was set. b=38764 r=buster
2000-05-10 23:24:08 +00:00
attinasi%netscape.com
16403a2e19
Fixed a problem where background images on the BODY were not getting painted properly the first time they were loaded. b=36811 r=kmcklusk@netscape.com
2000-05-09 00:53:51 +00:00
dcone%netscape.com
da4105b736
Put in the Tiling call from the RenderingContextImpl.
2000-04-24 04:36:05 +00:00
jst%netscape.com
75c2e94a05
Backing out dcones last changes since they made linux tinderbox go orange, and the toolbar wasn't properly drawn with the changes.
2000-04-20 16:22:10 +00:00
dcone%netscape.com
630efa09d1
Turned on the Fast Background Rendering.
2000-04-20 14:00:22 +00:00
pnunn%netscape.com
d7030dd86b
bug#34444: blocker bug. Backing out changes for dcone. pnunn.
2000-04-04 20:04:40 +00:00
dcone%netscape.com
77701e6a5b
Took out the code to do the Tiling.. a method in nsRenderingContext will now do this. This gives each platform
...
the option of tiling.. and optimizing for speed. Windows will now be very fast for small tiles that are transparent.
2000-04-04 13:38:36 +00:00
attinasi%netscape.com
431a24ae53
Fixed warning from Mac compiler: no prototype for local static function.
2000-03-30 07:20:16 +00:00
attinasi%netscape.com
d012c2b572
Background color for border style -moz-bg-inset and -moz-bg-outset is now obtained from the HTML element instead of nearest ancestor with non-transparent bgcolor (only in Quirks Mode). r=rods b=8524
2000-03-30 06:27:32 +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
dbaron%fas.harvard.edu
c046415a7a
Fix a leak of a device context. r=dcone@netscape.com
2000-03-16 01:21:58 +00:00
troy%netscape.com
9eb066a4eb
b=29893. Pollmann had added code to keep us from crashing. I made sure
...
that the correct tiling behavior happened in the case where the viewport
isn't scrollable
2000-03-14 04:55:42 +00:00
pollmann%netscape.com
5622a49a33
Bug 30317: Crash fix for scrolling=no, background-attachment: fixed pages r=evaughan, a=rickg
2000-03-09 05:54:58 +00:00
attinasi%netscape.com
1ddf942ed0
PaintBorder and RenderSide now tell the StyleUtil function FindNonTransparentBackground to use the parent of the context to find the bgcolor in Quirks mode. r=karnaze b=8524
2000-02-11 01:23:04 +00:00
attinasi%netscape.com
22e7312184
backout of accidental checkin...
2000-02-10 20:21:29 +00:00
attinasi%netscape.com
b57e81919a
PaintBorder and RenderSide now tell the StyleUtil function FindNonTransparentBackground to use the parent of the context to find the bgcolor in Quirks mode. r=karnaze b=8524
2000-02-10 19:22:00 +00:00
pavlov%netscape.com
f3d78aee1d
aww, I fixed my favorite bug. The "interesting" toolbar contest is now over. (bug 20496) r=mcafee,large_penguin
2000-02-04 23:14:38 +00:00
dcone%netscape.com
360be95564
fixed backgrounds. r=rods
2000-02-01 16:03:13 +00:00
dcone%netscape.com
8fba6004e9
Fixed some problems with rounded borders. r=rods
2000-01-14 14:43:05 +00:00
dcone%netscape.com
e4e814a923
Small error in background rendering that index is 0 instead if i. r=rods. b=23704
2000-01-12 15:36:24 +00:00
sspitzer%netscape.com
fbd97e9856
fix warnings.
1999-12-28 19:37:29 +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
pierre%netscape.com
74c0693bb2
16381 "Need to be able to specify -moz-border-radius for each corner". Made changes in the following files in order to store the radius as a nsCSSRect and support 4 new -moz-border-radius properties (topLeft, topRight, bottomRight, bottomLeft):
nsCSSDeclaration.cpp
nsCSSParser.cpp
nsCSSPropList.h
nsCSSStyleRule.cpp
nsICSSDeclaration.h
nsIStyleContext.h
nsStyleContext.cpp
nsCSSRendering.cpp
The (small) changes in nsCSSRendering.cpp are temporary. It's just to reflect the changes made elsewhere in the style context. The code that actually draws the RoundRect with a different radius for each corner will be implemented later today.
1999-12-22 11:30:22 +00:00
kmcclusk%netscape.com
4df6cffe8e
Added NS_RELEASE's to fix leaking of nsIImage's. bug=19114; r=karnaze@netscape.com
1999-12-03 00:06:32 +00:00
dcone%netscape.com
e980952da4
Took out the clip for backgrounds.. not needed r=rods. bug=16685
1999-12-01 14:45:59 +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
dcone%netscape.com
1b778eadc9
Thickness of side is now checked. Fixed bug 14944. r=rods
1999-11-18 16:03:45 +00:00
dcone%netscape.com
3c24d927ea
Move the dotted and dashed rouned corner code to fall into solid until it is supported by code
...
r=rods. Bug fixed 13944
1999-11-18 15:09:02 +00:00
dcone%netscape.com
dee8f4a5a5
DrawDashedSides now used the correct height and width for the right and bottom
1999-11-15 15:33:25 +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
sfraser%netscape.com
13525c0af2
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.
1999-11-04 22:26:57 +00:00
dcone%netscape.com
d871f3d1eb
Fixed a divide by zero crasher, and cleaned up borders. r=buster
1999-11-03 05:46:01 +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
troy%netscape.com
87afecabc0
Changed SetView/GetView to take an additional argument which is the
...
pres context
1999-10-26 04:44:41 +00:00
dcone%netscape.com
c1a0029188
Fixed warning.
1999-10-22 13:29:06 +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
dcone%netscape.com
317cd9edf5
Fixed some warnings
1999-10-07 20:40:00 +00:00
dcone%netscape.com
edf1bb0675
Turned on the background tiling optimization.. Reviewed By rods
1999-10-07 14:57:32 +00:00
dcone%netscape.com
de58b40e53
added background fix.. commented out for now until other platforms are tested
1999-10-01 14:35:20 +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
troy%netscape.com
c4d6cf70d3
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
1999-08-29 03:25:56 +00:00
dcone%netscape.com
918bc1fe7d
removed a debug printf
1999-08-27 20:58:37 +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
461e2800c5
removed some unused variables to get rid of some warnings
1999-08-25 13:39:41 +00:00
troy%netscape.com
7404d57f49
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
ee1c505730
#ifdef out annoying printf.
1999-08-25 04:01:57 +00:00
troy%netscape.com
df668a079e
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
4503dca5fe
Fixed some warnings, and some roundoff for the curves
1999-08-24 14:51:16 +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
harishd%netscape.com
9db5447de6
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
2ba05e9bf2
Added failure check for call to nsStyleData::GetBorder()
1999-07-28 04:48:34 +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
troy%netscape.com
2564e77725
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
cf87ffff0a
Fixed background rendering
1999-07-27 06:41:34 +00:00
dcone%netscape.com
5e3ed1564c
fixed background tile clipping bug.
1999-07-19 14:37:36 +00:00
dcone%netscape.com
56e7a48d52
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
e13d067261
Fixed some compiler warnings
1999-07-02 22:39:32 +00:00
dcone%netscape.com
cc52bf67e6
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
d2b09d863b
Fix for bug #5680 . Re-arranged some assertion checking code
1999-04-29 18:29:56 +00:00
troy%netscape.com
4d366f928b
Fixed a comment
1999-04-25 04:14:06 +00:00
troy%netscape.com
dc03d4fd22
Added support for fixed background attachment
1999-04-25 02:43:50 +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
c08626bd0e
added the rounded rectangle code for style
1999-04-19 05:27:55 +00:00
kipp%netscape.com
a75693e1fa
Updated to use new image loading apis
1999-04-13 21:52:19 +00:00
peterl%netscape.com
888bd39b4a
added transparent border support
1999-03-28 04:30:28 +00:00
kipp%netscape.com
1dd581bfed
Remove dead global-variable nonsense
1999-03-05 19:23:52 +00:00
kipp%netscape.com
b476316084
Pass in default image size when loading image
1999-02-26 17:12:05 +00:00
kipp%netscape.com
36c243cdc0
COMized nsIPresShell and nsIPresContext
1999-02-12 17:45:58 +00:00
troy%netscape.com
bcc69e2898
Work-in-progress for replaced elements that can't be rendered
1999-02-04 17:03:46 +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
abbf50e310
Got stylecontext info into PaintBorder() for displaying
...
CSS borders.
1999-01-22 22:24:05 +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
4ee5cb0ef1
comments, so many comments!
1999-01-03 19:23:21 +00:00
buster%netscape.com
ae7cb6e3da
right dashed borders now work
...
dashed borders along a span now mostly work
1998-12-30 22:39:49 +00:00
buster%netscape.com
c34896d000
CSS2 table collapsing border rendering
1998-12-30 06:47:26 +00:00
buster%netscape.com
c79c7550fb
DrawBorderEdge fixes
1998-12-23 15:48:50 +00:00
buster%netscape.com
c869f97f4c
fixes for PaintBorderEdges
1998-12-21 06:37:10 +00:00
buster%netscape.com
e0d6677573
added PainBorderSegments
1998-12-17 22:58:51 +00:00
kipp%netscape.com
4f352d5736
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
6961a03286
Fixed border drawing to not draw zero sized borders
1998-12-10 17:50:11 +00:00
harishd%netscape.com
2adb142aa5
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
7a9e1a4bc1
changes for pixel scaling/printing.
1998-11-14 01:52:27 +00:00
michaelp%netscape.com
fc225bf7c1
changes to support nsIRenderingContext that conforms to COM conventions.
1998-10-30 02:08:25 +00:00
kipp%netscape.com
6ad745856d
Reworked background rendering to properly handle the background-position properties
1998-10-27 16:50:19 +00:00
peterl%netscape.com
f5f59ee897
reversed ridge & groove rendering
1998-10-26 23:18:32 +00:00
karnaze%netscape.com
70a0abb395
fixed Mac bug due to undeclared index in for loop
1998-10-08 14:58:32 +00:00
karnaze%netscape.com
42797648cf
fieldset, legend support. fixed bug #987
1998-10-08 04:38:41 +00:00
kipp%netscape.com
bb57a6d08f
Added callback to image loading api
1998-09-26 18:36:59 +00:00
kipp%netscape.com
a995b1ec9f
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
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
karnaze%netscape.com
8cdf00711c
support for frameset cells without frames, fixed nsCSSRendering paint background divide by zero
1998-08-05 22:24:56 +00:00
peterl%netscape.com
714146a525
rounding support
1998-07-31 23:34:45 +00:00
peterl%netscape.com
094f51e1e6
renamed LoadImage
1998-07-31 05:59:31 +00:00
michaelp%netscape.com
4ce7ab5a99
improved performance of background rendering.
1998-07-30 23:31:42 +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
302ac6c6d4
Fixed it so backgrounds are properly tiled again
1998-07-22 18:34:14 +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%netscape.com
25d601cd32
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
8a3882d546
Added background color to image loading member functions
1998-07-16 04:34:59 +00:00
karnaze
505cf9d7ac
fixed divide by zero, test9 has sub sub doc.
1998-06-18 18:33:34 +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
michaelp
b5140d2751
added support for front-to-back view rendering.
1998-05-27 02:13:28 +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
thom
aa407491f5
fixed compile errors for mac
1998-05-19 23:11:28 +00:00
peterl
a74065d6fc
sync to nsStyleSpacing api changes
1998-05-12 22:58:14 +00:00
kipp
619471fc16
Use new image loading API's
1998-05-11 22:58:20 +00:00
kipp
e09e86128b
Use new LoadImage API
1998-05-09 03:23:54 +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