Zack Weinberg
3e3bff664d
Bug 266236 part 9: Move nsBoundingMetrics to its own header and prune inclusions of nsRenderingContext.h.
2011-04-07 18:04:40 -07: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
Masayuki Nakano
1fcc166fb4
Bug 59109 Part 2: Cleaning up current text decoration implementation r=dbaron
2011-03-31 21:26:49 +09: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
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
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
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
L. David Baron
cc9b0ccf05
Move nsCSSRendering::GetBorderRadiusTwips to nsIFrame and rename it to ComputeBorderRadii. (Bug 459144, patch 1) r=roc a2.0=blocking:beta6+
2010-09-07 15:20:34 -07:00
Zack Weinberg
9f3a8d953f
Bug 471643: Evaluate vertical percentages in border-radius relative to box height. r=dbaron a2.0=blocking:beta6+
2010-08-31 12:05:11 -04:00
Robert O'Callahan
c03744476d
Bug 581222. Extend gfxAlphaBlur to support "spread radii". r=vlad
2010-08-23 21:30:07 +12:00
Mark Banner
65b0742531
Backed out changeset f600448ae7db / bug 471643 due to reftest failures
2010-08-19 09:27:01 +01:00
Zack Weinberg
f48f539ca6
Bug 471643: Make vertical percentages in border-radius relative to box height. r=dbaron
2010-08-19 09:45:32 +02:00
Timothy Nikkel
364fa64b9c
Bug 563878. Part 1c. Misc layout cleanup. r=mats
...
(transplanted from 2c4a36b7e9ea2125b9daaab242202be4c34e46a5)
2010-06-05 15:29:49 -05:00
Michael Ventnor
21516fafe0
Bug 544099 - Highly optimise -moz-box-shadow for common cases by allowing layout to specify an area where blurring is not needed r=roc,joe
2010-04-18 13:13:10 +10:00
Masayuki Nakano
58fb9c9575
Bug 556694 Selection color isn't reverted when input field is specified only background-color r=dbaron
2010-04-08 21:44:57 +09:00
L. David Baron
5d547bc63e
Use the appropriate color based on visitedness for 'outline-color'. (Bug 147777) r=zweinberg
2010-04-02 18:58:26 -07:00
L. David Baron
4c83580927
Use the appropriate color based on visitedness for nsCSSRendering::PaintBorder users of the 'border-*-color' properties. (Bug 147777) r=zweinberg
2010-04-02 18:58:26 -07:00
L. David Baron
21c8a7d37e
Make PaintBackgroundWithSC and related methods operate on nsStyleContext* rather than const nsStyleBackground*. (Bug 147777) r=zweinberg
2010-04-02 18:58:26 -07:00
Serge Gautherie
2dc64cb7bc
Backed out changeset: b3d6a8724029 of
...
Bug 544099 - Allow shadow blurring to skip areas where blurring is unnecessary; Patch 3.1.
which breaks comm-central.
2010-02-04 20:55:10 +01:00
Michael Ventnor
3560539cf0
Bug 544099 - Allow shadow blurring to skip areas where blurring is unnecessary; Patch 3.1.
...
r=roc.
2010-02-04 19:15:03 +01:00
Robert O'Callahan
fff39da5f4
Bug 531371. Correctly propagate the backround from a <body style="display: table"> to the viewport as needed. r=bzbarsky
2009-12-01 12:21:00 -05:00
Robert O'Callahan
b4aa87b933
Bug 513395: Implement revised CSS gradient notation (2/2): rendering
2009-11-02 11:36:43 -08:00
Jeff Walden
645b258f09
Bug 509329 - Various issues with invalidation of backgrounds propagated from body to the canvas, and with sized backgrounds. r=dbaron
2009-10-22 16:46:08 -07:00
Michael Ventnor
9a468033db
Bug 512988 - Text-shadow blur and underline messes up with padding-left. r+sr=roc
2009-09-18 20:18:35 +02:00
Bobby Holley
684e46c218
Bug 435296 - Sync decode handling for decode-on-draw. r=roc
2009-09-12 16:44:18 -06:00
Dão Gottwald
77730b0314
Backed out changeset 1e6d52401dd2
2009-09-04 15:32:17 +02:00
Michael Ventnor
b40db5e2d3
Bug 512988 - Text-shadow blur and underline messes up with padding-left. r+sr=roc
2009-09-04 14:24:26 +02:00
Michael Ventnor
b08d62114b
Bug 479220: Implement support for CSS gradients: -moz-linear-gradient() and -moz-radial-gradient(). r=roc, dbaron
2009-08-01 08:53:40 -07:00
Dão Gottwald
199fb785b6
Backed out changeset c086fca6fc55
2009-07-31 14:35:48 +02:00
Michael Ventnor
251c35256e
Bug 479220 - Implement the CSS gradients proposal. r=roc,dbaron sr=roc
2009-07-31 13:32:32 +02:00
Timothy Nikkel
9ed46b25ee
Bug 488242. Make iframes with semi-transparent backgrounds work correctly by painting all canvas background colors using a dedicated fallback background color display item. r+sr=roc
2009-07-04 21:30:59 +12:00
Robert O'Callahan
0d073a71fe
Bug 494667. Don't apply optimization to shrink drawn background area to exclude solid borders, if we're not going to draw those borders (e.g. in tables with collapsing borders). r+sr=dbaron,a=beltzner
2009-05-28 17:01:42 +12:00
Michael Ventnor
157a84772c
Bug 489319 - Box shadow's OptimizeVisibility() should take border radii into account. r+sr=roc
2009-04-24 11:24:44 +02:00
Robert Longson
fb792f097f
Bug 486933 - image-rendering does not work on body or root CSS background images. r+sr=roc
2009-04-10 14:41:59 +01:00
Boris Zbarsky
bad370bcd0
Backed out changeset 86c8e18f20eb (bug 486933) due to landing on orange tree.
2009-04-09 11:54:43 -04:00
Robert Longson
07726db65b
Bug 486933 - image-rendering does not work on body or root CSS background images. r+sr=roc
2009-04-09 13:17:50 +01:00
Robert Longson
ad93eabf2c
Backout Bug 486933 on suspicion of causing reftest machine issues
2009-04-07 00:57:50 +01:00
Robert Longson
39b38430e3
Bug 486933 - image-rendering does not work on body or root CSS background images. r+sr=roc
2009-04-06 22:00:29 +01:00
Masayuki Nakano
3c52796fc8
Bug 486708 Should lift up selection underline as far as possible if it overflows from the descent space r+sr=roc
2009-04-06 14:53:00 +09:00
Masayuki Nakano
202351fbc8
Bug 338209 Make spellchecker use thicker wavy underlines instead of dotted underlines r+sr=roc
2009-04-03 16:26:28 +09:00
Zack Weinberg
c6de6120b4
Bug 476557. Update view manager cache of page background color in PresShell::Paint, not nsCSSRendering::PaintBackground; permits a small API cleanup. r+sr=roc
2009-02-16 14:11:34 +13:00
Michael Ventnor
87dd7633de
Bug 476738. Implement 'inset' box-shadows. r+sr=roc,r=dbaron
2009-02-10 21:45:13 +13:00
Michael Ventnor
8d8b00c8e5
Bug 472410. Don't adjust selection colors if the background is a -moz-appearance that we can't know anything about. r+sr=roc
2009-01-09 13:29:38 +13:00
Michael Ventnor
81bf6790df
Bug 468018 - Optimize box-shadow rendering even further by doing more intersections; r=vladimir
2008-12-06 19:54:36 +01:00
Michael Ventnor
8325d1cfe2
Bug 458031. Take dirty rect into account to limit box-shadow computation. r+sr=roc
2008-12-03 10:16:22 +13:00
Masayuki Nakano
77680216ee
Bug 461512 nsCSSColorUtils doesn't support alpha color (border color is always solid color if the border-style is groove, ridge, inset, outset) r+sr=roc
2008-10-28 11:05:38 +09:00
Vladimir Vukicevic
099e3af7df
b=450178; add generic 8-bit alpha box blur in thebes (patch from Eric Bulter); r=vlad
2008-09-25 12:53:09 -07:00
Zack Weinberg
d6490a813c
Bug 456792 - Two more API cleanups for nsCSSRendering; patch 2; r+sr=roc
2008-09-25 18:03:15 +02:00
Zack Weinberg
3c23960489
Bug 456792 - Two more API cleanups for nsCSSRendering; patch 1; r+sr=roc
2008-09-25 17:53:27 +02:00
Zack Weinberg
6e07dbd270
Bug 456152 - slight API cleanup for nsCSSRendering::PaintBackground; r+sr=roc
2008-09-24 06:07:22 +02:00