Benjamin Stover
89ff8b48d9
Bug 633627 Create shadow bitmap in device space r=joe
2011-08-31 09:03:58 -07:00
Mats Palmgren
4e2a044a66
Bug 653649 - New way of getting child lists from frames. (part 4/5) r=roc
...
Remove the nsIAtom* child list names and use child list ID enum instead.
2011-08-24 22:54:30 +02:00
Jeff Muizelaar
73429ee3df
Bug 660662. Eliminate NS_(ceil|floor). r=roc
...
These just called the system versions.
2011-05-30 15:08:55 -04:00
Jeff Walden
e79cfda6d9
Bug 609714 - Properly compute background image size for vector background images lacking intrinsic sizes or an intrinsic aspect ratio. r=dholbert, r=dbaron
2011-01-13 04:40:12 -06:00
Vitor Menezes
490e7106c0
Fix apparent rounding issues with new text decoration code. (Bug 403524) r=dbaron
...
Rendering text decorations far away from the frame's baseline seems to
sometimes introduce rounding issues. This patch addresses that by
avoiding snapped-baseline weirdness and using a different argument to
nsTextFrame::PaintTextDecorations in some computations that didn't
really need to use the snapped baseline anyway.
2011-08-03 11:30:58 -07:00
Ehsan Akhgari
b8774f8312
Back out bug 10209 and bug 656875 (its regression fix) from Aurora because the work on this bug has not been finished yet
2011-06-01 16:18:15 -04:00
Boris Zbarsky
c3a5928f30
Bug 480686. Don't assume that the next-continuation of an inline frame is in the same block; it could be in the next-in-flow of the block. r=roc
2011-06-26 12:48:37 -04:00
Mounir Lamouri
7088a42f04
Backout changeset bba3ada5314c (bug 480686) due to perma-orange.
2011-06-27 00:00:47 +02:00
Boris Zbarsky
f9ce5ae6ea
Bug 480686. Don't assume that the next-continuation of an inline frame is in the same block; it could be in the next-in-flow of the block. r=roc
2011-06-26 12:48:37 -04:00
Craig Topper
d1acc42088
Bug 654369 - Part 11: Remove OOM checks from layout/base r=bz
2011-04-28 22:02:40 -07:00
Ed Morley
e02f78569a
Bug 661584 - Code cleanup, substitute more PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc,ted
2011-06-25 16:06:02 +02:00
Michael Ventnor
e79b45377f
Bug 663028 - Make Print Preview themable with CSS, and modernize its look r=roc
2011-06-10 20:07:26 +10:00
Dominic Fandrey
532ec73933
Bug 645398 - Substitute PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc
2011-06-02 14:56:50 +02:00
Ms2ger
260ee642f6
Bug 660657 - Make nsCSSRendering::Init return void; r=roc
2011-06-02 14:56:46 +02:00
Ms2ger
715c681edc
Bug 660604 - Remove nsIHTMLDocument::GetBodyContentExternal; r=jst
2011-06-02 14:56:46 +02:00
Ed Morley
6e443492c7
Bug 614515 - Remove MOZ_SVG conditions. r=roc
2011-05-30 09:34:50 +02:00
Ehsan Akhgari
8c373030bb
Bug 10209 - Part 2: Implement the absolute positioning support for all frames; r=roc
2011-04-29 19:02:33 -04:00
Boris Zbarsky
892024b73b
Bug 654167. Fix drawing of thin 'border-style: double' border-collapsed borders. r=roc
2011-05-04 13:57:01 -04:00
Masayuki Nakano
eea86d3bb3
Bug 647421 -moz-text-decoration-color and -moz-text-decoration-style should be reset by text-decoration r=dbaron, sr=bzbarsky
2011-04-23 14:16:41 +09:00
Zack Weinberg
9fb3af6d46
Bug 651017, part 7: remove nsDeviceContext::CreateRenderingContextInstance and the CreateRenderingContext overload that takes a widget.
2011-04-16 21:08:22 -07:00
Zack Weinberg
0797b06d99
Bug 651017, part 5: mechanical changes.
2011-04-16 18:22:44 -07: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
414edefebf
Bug 641426. Part 4.2: Rename BaseMargin::side to BaseMargin::Side. r=cjones
2011-04-19 15:07:22 +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
Jan Küchler
8774547613
Bug 266236 part 3: Mechanical rename of nsIRenderingContext and nsThebesRenderingContext to nsRenderingContext. Mechanical substitution of nsRefPtr<nsRenderingContext> for nsCOMPtr<nsRenderingContext>.
2011-04-07 18:04:40 -07:00
Jan Küchler
ed48629385
Bug 266236 part 1: Preliminary API cleanup on nsIRenderingContext.
2011-04-07 18:04:39 -07:00
Mats Palmgren
e26d88acc5
Bug 640272 - Check load status for border images before trying to render them. r=bzbarsky
2011-04-04 13:41:02 +02:00
Masayuki Nakano
1fcc166fb4
Bug 59109 Part 2: Cleaning up current text decoration implementation r=dbaron
2011-03-31 21:26:49 +09:00
L. David Baron
bb741dcb37
Correctly handle non-repeating radial gradients in which all stops are at the same position. (Bug 635222) r=roc
2011-03-03 13:18:42 -08:00
Timothy Nikkel
67fc490ce2
Bug 622818. Don't clip fixed backgrounds to the viewport if we are inside a transform. r=roc a=blocking
2011-02-08 13:29:28 -06:00
Daniel Holbert
a079c1ed8e
Bug 628477: Remove declaration for now-defunct helper method PaintBackgroundLayer in nsCSSRendering.cpp. r=roc a=roc
2011-01-24 22:41:12 -08:00
Timothy Nikkel
2e111dab63
Bug 626536. Part 2. Don't use a rounded rect clip to draw a rounded rect background color. r=roc a=roc
2011-01-18 13:43:47 -06:00
Timothy Nikkel
0385a338db
Bug 626536. Part 1. Refactor the background clip code so that it stores its state in a struct we can pass around. r=roc a=roc
2011-01-18 13:43:47 -06:00
Boris Zbarsky
17c28f11e8
Bug 624301. Only change background clip to padding-box for solid borders if it's border-box to start with. r=dbaron
2011-01-14 10:34:39 -05:00
Robert O'Callahan
c6dcde7586
Bug 602757. Part 4: Let nsDisplayBackground::GetOpaqueRegion return opaque regions for arbitrary repeat modes, background-clip, border-radius, etc. r=tnikkel,sr=dbaron,a=blocking
2011-01-03 14:48:09 +13:00
Bas Schouten
153bcbcc97
Bug 615462: Only draw native theme for the dirty rect. r=roc a=blocking-final
2010-12-01 04:20:05 +01:00
Mats Palmgren
1c697a5f99
Bug 611574 - Inset box-shadow paints outside of buttons and fieldsets if blur radius is 0. r=roc a=blocking2.0:final
2010-11-27 23:49:40 +01:00
Robert O'Callahan
f54cf21c18
Bug 593839. Part 1: Use nsDisplayListBuilder::IsPaintingToWindow instead of gfxContext::DESTINED_FOR_SCREEN. r=tnikkel
2010-10-25 16:38:09 +02:00
L. David Baron
77b20c65b1
Change callers to use new nsIFrame overflow APIs. (Bug 542595, patch 20) r=roc a2.0=blocking2.0:beta8
2010-10-06 21:25:47 -07:00
L. David Baron
da1b8b4820
Support calc() on background-position, background-size, -moz-transform-origin, and background-image gradient stop positions. (Bug 594934) r=bzbarsky a=blocking2.0:betaN
...
(Note: this also depends on the change to nsStyleAnimation.cpp's StyleCoordToValue in bug 520234 and on other changes in that bug.)
2010-09-15 08:11:26 -07:00
L. David Baron
7ce7b1a471
Change storage of background-size and background-position to allow percentages and lengths. (Bug 594934) r=bzbarsky a=blocking2.0:betaN
2010-09-15 08:11:26 -07:00
L. David Baron
68e262fedc
Change the blur radius for -moz-box-shadow and text-shadow to match what is specified in css3-background, and the blur radius for canvas to follow what is specified in HTML5. (Bug 590039) r=roc a2.0=blocking2.0:beta6
...
This fixes the multiplication by 1.5 in
gfxAlphaBoxBlur::CalculateBlurRadius (originally added in changeset
ce9f05b57b95 for bug 467518) to work correctly. It was previously a
multiplication by 1 due to integer division. CalculateBlurRadius
previously multiplied by 1.880; it now multiplies by 2.820.
This changes canvas shadow handling to multiply shadowBlur by 2 before
taking its square root, as described in the spec. This means that
canvas shadow blurs 8px or smaller are 1.5 times larger than they were
previously (due to the CalculateBlurRadius change), and canvas shadow
blurs larger than 8px are 2.121 times larger than they were previously
(due to the CalculateBlurRadius change *and* the additional factor of
sqrt(2)).
This changes text-shadow and -moz-box-shadow handling to use
CalculateBlurRadius on half of the value given instead of passing the
value through directly. This means that text-shadow and box-shadow
blurs are multiplied by 1.410 relative to their old sizes. It also
means that we round rather than floor, so that the effect that used to
be drawn by a blur in the range 1px to 1.99px is now drawn by a blur
anywhere in the range 0.36px to 1.05px, the effect that used to be drawn
by a blur in the range 2px to 2.99px is now drawn by a blur anywhere in
the range 1.06px to 1.77px, what used to be a drawn by a blur in the
range 3px to 3.99px is now drawn by a blur anywhere in the range 1.78px
to 2.47px, etc.
2010-09-11 09:27:12 -07:00
Daniel Holbert
5c5ee3d517
Bug 594941: Handle imgIContainer::GetHeight/GetWidth failure in DrawBorderImage. r=roc a=roc
2010-09-10 10:42:57 -07:00
Zack Weinberg
7709b2d370
Bug 451134 (1/2): switch to the official border-radius property names: purely mechanical changes. r=dbaron a2.0=blocking2.0:beta6
...
This was generated with the command:
LC_ALL=C grep -irlEZe '[-_]moz[-_]border[-_]radius([-_](top|bottom)(right|left))?' * | xargs -0 perl -pi -e \
's/-moz-border-radius-(top|bottom)(left|right)/border-${1}-${2}-radius/gi;
s/_moz_border_radius_(top|bottom)Right/border_${1}_right_radius/g;
s/_moz_border_radius_(top|bottom)Left/border_${1}_left_radius/g;
s/-moz-border-radius/border-radius/gi;
s/_moz_border_radius/border_radius/g;'
2010-09-09 08:21:47 -07:00
Daniel Holbert
c37afa047e
Bug 276431 Patch 10: Make imgContainer::Draw take image-viewport-size, and improve nsLayoutUtils drawing wrappers. r=roc r=joe a=blocking
2010-09-08 13:40:39 -07:00
Bobby Holley
d01a81875a
Bug 592493 - Register border-images with the document image tracker.r=dbaron
2010-09-07 17:30:40 -07:00
L. David Baron
29a3c7ade2
Expose RectToGfxRect on nsLayoutUtils. (Bug 459144, patch 10) r=roc a2.0=blocking:beta6+
2010-09-07 15:20:35 -07:00
L. David Baron
7ac1cf8a64
Expose nsCSSRendering::ComputePixelRadii. (Bug 459144, patch 9) r=roc a2.0=blocking:beta6+
2010-09-07 15:20:35 -07:00