Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(133)

Issue 1545673002: Inherit 'currentColor' as 'currentColor' for 'fill'/'stroke' properties (Closed)

Created:
4 years, 12 months ago by hyunjunekim2
Modified:
4 years, 12 months ago
Reviewers:
pdr., fs
CC:
blink-reviews, chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Inherit 'currentColor' as 'currentColor' for 'fill'/'stroke' properties So this CL is that resolve something property used by `currentColor` as the `color` property of the same element and it's inherited as `currentColor` not as the value. This updates the application of 'currentColor' to match the later versions of the spec[1] which states that: "If the value is inherited, it’s inherited as currentcolor, not as the value of the color property.". [1] https://drafts.csswg.org/css-color-4/#valdef-color-currentcolor Because of this, the test svg/W3C-SVG-1.1-SE/color-prop-05-t.svg will appear as a fail (but is incorrect after the spec changed.) BUG=571723 Committed: https://crrev.com/2e92c6870ec900369b54a38e7b015e32e104dce1 Cr-Commit-Position: refs/heads/master@{#366744}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : Rebased it. #

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -2 lines) Patch
M third_party/WebKit/LayoutTests/TestExpectations View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/svg/css/currentColor-inheritance-about-fill-color.svg View 1 chunk +8 lines, -0 lines 0 comments Download
A + third_party/WebKit/LayoutTests/svg/css/currentColor-inheritance-about-fill-color-expected.svg View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/svg/LayoutSVGResourcePaintServer.cpp View 1 1 chunk +5 lines, -1 line 0 comments Download

Messages

Total messages: 41 (27 generated)
hyunjunekim2
I split a test about currentColor.
4 years, 12 months ago (2015-12-22 15:27:26 UTC) #5
fs
On 2015/12/22 at 15:27:26, hyunjune.kim wrote: > I split a test about currentColor. I think ...
4 years, 12 months ago (2015-12-22 15:33:01 UTC) #6
hyunjunekim2
fs, Could you check PS4? Thank you. ;)
4 years, 12 months ago (2015-12-23 02:28:26 UTC) #11
fs
LGTM, but please update the description and subject. The subject should also be the first ...
4 years, 12 months ago (2015-12-23 10:41:56 UTC) #13
hyunjunekim2
fs, Could you check the description and subject?
4 years, 12 months ago (2015-12-23 11:45:42 UTC) #18
fs
On 2015/12/23 at 11:45:42, hyunjune.kim wrote: > fs, Could you check the description and subject? ...
4 years, 12 months ago (2015-12-23 11:52:02 UTC) #21
hyunjunekim2
fs, I changed them.
4 years, 12 months ago (2015-12-23 12:02:05 UTC) #25
fs
On 2015/12/23 at 12:02:05, hyunjune.kim wrote: > fs, I changed them. I tweaked it a ...
4 years, 12 months ago (2015-12-23 12:17:38 UTC) #27
hyunjunekim2
On 2015/12/23 12:17:38, fs wrote: > On 2015/12/23 at 12:02:05, hyunjune.kim wrote: > > fs, ...
4 years, 12 months ago (2015-12-23 13:16:51 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1545673002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1545673002/60001
4 years, 12 months ago (2015-12-23 13:47:25 UTC) #35
fs
On 2015/12/23 at 13:16:51, hyunjune.kim wrote: > On 2015/12/23 12:17:38, fs wrote: > > On ...
4 years, 12 months ago (2015-12-23 14:10:19 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1545673002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1545673002/60001
4 years, 12 months ago (2015-12-23 14:11:32 UTC) #38
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 12 months ago (2015-12-23 15:13:40 UTC) #39
commit-bot: I haz the power
4 years, 12 months ago (2015-12-23 15:14:34 UTC) #41
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/2e92c6870ec900369b54a38e7b015e32e104dce1
Cr-Commit-Position: refs/heads/master@{#366744}

Powered by Google App Engine
This is Rietveld 408576698