|
Support colors w/ alpha in SVG 'stop' elements and 'feFlood'
When a color w/ alpha is specified (via rgba(...)) as stop-color on
a SVG 'stop' element, or as flood-color (or equivalent) on 'feFlood',
then modulate the alpha-channel with the stop-opacity or flood-opacity
respectively to produce the final color to use.
BUG= 331516
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=164690
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+123 lines, -0 lines) |
Patch |
|
A |
LayoutTests/svg/custom/gradient-rgba-stop-color.svg
|
View
|
1
2
3
|
1 chunk |
+11 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/svg/custom/gradient-rgba-stop-color-expected.svg
|
View
|
1
2
3
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/svg/custom/gradient-rgba-stop-color-w-opacity-1.svg
|
View
|
1
|
1 chunk |
+11 lines, -0 lines |
0 comments
|
Download
|
|
A + |
LayoutTests/svg/custom/gradient-rgba-stop-color-w-opacity-1-expected.svg
|
View
|
1
2
3
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
|
A |
LayoutTests/svg/custom/gradient-rgba-stop-color-w-opacity-2.svg
|
View
|
1
2
3
|
1 chunk |
+11 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/svg/custom/gradient-rgba-stop-color-w-opacity-2-expected.svg
|
View
|
1
2
3
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/svg/custom/gradient-rgba-stop-color-w-opacity-3.svg
|
View
|
1
|
1 chunk |
+11 lines, -0 lines |
0 comments
|
Download
|
|
A + |
LayoutTests/svg/custom/gradient-rgba-stop-color-w-opacity-3-expected.svg
|
View
|
1
2
3
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
|
A |
LayoutTests/svg/custom/gradient-rgba-stop-color-w-opacity-4.svg
|
View
|
1
|
1 chunk |
+11 lines, -0 lines |
0 comments
|
Download
|
|
A + |
LayoutTests/svg/custom/gradient-rgba-stop-color-w-opacity-4-expected.svg
|
View
|
1
2
3
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
|
A |
LayoutTests/svg/filters/feFlood-rgba-flood-color.svg
|
View
|
1
2
3
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/svg/filters/feFlood-rgba-flood-color-expected.svg
|
View
|
1
2
3
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/svg/filters/feFlood-rgba-flood-color-w-opacity-1.svg
|
View
|
1
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/svg/filters/feFlood-rgba-flood-color-w-opacity-1-expected.svg
|
View
|
1
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/svg/filters/feFlood-rgba-flood-color-w-opacity-2.svg
|
View
|
1
2
3
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/svg/filters/feFlood-rgba-flood-color-w-opacity-2-expected.svg
|
View
|
1
2
3
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/svg/filters/feFlood-rgba-flood-color-w-opacity-3.svg
|
View
|
1
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/svg/filters/feFlood-rgba-flood-color-w-opacity-3-expected.svg
|
View
|
1
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/svg/filters/feFlood-rgba-flood-color-w-opacity-4.svg
|
View
|
1
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/svg/filters/feFlood-rgba-flood-color-w-opacity-4-expected.svg
|
View
|
1
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/svg/SVGStopElement.cpp
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/platform/graphics/Color.h
|
View
|
1
2
3
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/platform/graphics/Color.cpp
|
View
|
1
2
3
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/platform/graphics/filters/FEFlood.cpp
|
View
|
1
2
3
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
Total messages: 10 (0 generated)
|