Ehsan Akhgari
478ad1a412
Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
...
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Michael Wu
0fe7772ece
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
2011-09-28 23:19:26 -07:00
Robert O'Callahan
9a0fb3b428
Bug 637852. Part 15: Don't round mOuterRect/mInnerRect if there's a scale factor in the current transform. r=joe
...
This avoids losing information when we're drawing into a high-resolution ThebesLayer. It works well with the
previous patch; for identity scale, this rounding of the inner/outer rects ensures pixel alignment of the edges,
but with non-identity scale the rectangle snapping ensures pixel alignment of the edges. This fixes reftest failures.
2011-06-23 00:11:28 +12:00
Robert O'Callahan
40e74dbdc9
Bug 637852. Part 14: Try to use snappable rects to draw solid borders instead of using stroke, when a scaling transform is present. r=joe
...
The goal here is to avoid antialiased border edges when drawing into high-resolution ThebesLayers. This fixes test failures.
2011-06-23 00:11:28 +12:00
Zack Weinberg
145a79dd39
Bug 651017, part 1: minimize inclusion of ns*DeviceContext.h; move the printing error codes to nsIDeviceContextSpec.h; os2 small widget cleanup.
2011-04-16 18:22:41 -07:00
Robert O'Callahan
22fd8aeac7
Bug 641426. Part 8: Replace gfxRect::Outset/Inset with Inflate/Deflate. Also slip in a conversion constructor from nsIntRect to gfxRect. r=tnikkel
2011-04-19 15:07:51 +12:00
Robert O'Callahan
fdc41c7a5a
Bug 641426. Part 3: Convert gfxRect::pos/size to x/y/width/height. r=joe,sr=cjones
2011-04-19 15:07:21 +12:00
Robert O'Callahan
ffd5268cd1
Bug 641426. Part 2: Remove a bunch of direct gfxRect::pos/size usage. r=joe
2011-04-19 15:07:21 +12:00
Robert O'Callahan
e43243e84a
Bug 641426. Part 1: Create Point and Size templates. r=joe,sr=cjones
2011-04-19 15:07:21 +12:00
L. David Baron
3b880ca6b2
Don't try drawing zero-width borders. (Bug 618071) r=roc a=blocking2.0:beta8
...
The allBordersSameWidth codepath for dashed borders will cause a cairo
error when given a width of zero, so we need to avoid hitting that.
It's also a waste of time.
2010-12-09 20:38:52 -08:00
Bas Schouten
6ffdae70cf
Bug 616495: Deal with some sides having no moz-border-colors at all. r=vlad a=blocking-beta8
2010-12-04 05:21:20 +01:00
Bas Schouten
74c5573f30
Bug 588271 - Part 4: Add specialized rendering codepaths for the most common border types. r=vlad a=blocking-betan
2010-12-02 14:17:58 +01:00
L. David Baron
297655fad8
Fix assertion (that should have turned the tree orange). (Bug 608458) r=roc a2.0=blocking(on 500141)
2010-11-16 09:56:03 -08:00
L. David Baron
3d3c347fb4
Fix another case of bad border-radius corners (and document a third that's not fixed). (Bug 500141) r=roc a2.0=blocking
2010-11-10 07:49:53 -08:00
Bas Schouten
0459316272
Bug 598202: Avoid drawing borders which are fully transparent. r=vlad a=vlad
2010-11-08 22:52:02 +01:00
L. David Baron
c363c569ed
Fix border-radius joins with differing styles adjacent to a zero-width border. (Bug 500141) r=roc a2.0=blocking-final
2010-10-26 11:30:42 -07:00
timeless
d8effcff7f
Bug 334571 Coverity 702, NS_SIDES array limit check - replace NS_FOR_CSS_SIDES defines with enum. r=zwol,mats
2010-04-27 18:15:02 +02:00
Craig Topper
076bc13756
Bug 557416: Remove unnecessary includes and forward declarations of nsPresContext. r=roc
2010-04-10 16:10:12 -04:00
Craig Topper
d130af344a
Bug 557416: Remove unnecessary includes and forward declarations of nsIPresShell. r=roc
2010-04-10 16:09:38 -04:00
Bernd
223b688a34
bug 43178 - replace incorrect border, frame and rules handling code in content by css rules, initial patch - fantasai, a lof of input - bz r=bzbarsky
2010-01-09 16:33:03 +01:00
Mats Palmgren
f82eedba5a
Replace PR_MIN/PR_MAX with NS_MIN/NS_MAX. b=512106 r=roc
2009-09-16 17:01:36 +02:00
Joe Drew
2919d8a083
Bug 753 - Remove nsIImage, gfxIImageFrame, and their implementations, and expose an equivalent api on imgIContainer. r=roc,josh,bz,longsonr,vlad,karlt,jimm,bsmedberg,mfinkle,peterw,peterv sr=vlad,roc
2009-07-20 18:50:15 -07:00
Arpad Borsos
471e3e73c0
Bug 492531 - Optimize some CSS and Reflow classes for memory usage; r+sr=dbaron
2009-05-13 10:26:48 +02:00
Zack Weinberg
0cc7758a9f
Bug 456219. Fix clipping to padding-rect with rounded corners. r+sr=roc
2009-01-09 13:28:32 +13:00
Robert O'Callahan
fb7d95f1e9
Backed out changeset 5041ce453104
2009-01-08 23:19:21 +13:00
Zack Weinberg
440b3cac59
Bug 456219. Fix clipping to padding-rect with rounded corners. r+sr=roc
2009-01-08 21:10:21 +13:00
L. David Baron
5842094046
bug 464970 - nsCSSBorderRenderer::AreBorderSideFinalStylesSame is too pessimistic. r=vlad, a=beltzner
2008-11-19 11:53:08 -05:00
Vladimir Vukicevic
786ba13abf
b=448193, 3d border effects missing with moz-border-radius; r=zweinberg
2008-10-09 14:49:15 -07:00
Zack Weinberg
c0d565ccfa
Bug 453916: treat transparency strictly as a special case of color alpha. r+sr=dbaron
2008-09-12 08:35:53 -07:00
Zack Weinberg
a293f973ab
Bug 446498 – use new border rendering for focus rectangles, and strip dead code. r+sr=vlad
2008-08-06 12:33:18 +02:00
Vladimir Vukicevic
6e6e5d2855
b=424423; border rendering is slow: Part 2; r+sr=roc
2008-07-23 10:25:51 -07:00
Vladimir Vukicevic
5c476f5935
b=424423, border rendering is slow: Part 1; r+sr=roc
2008-07-23 10:25:23 -07:00