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

Issue 2041653002: Clamp radial gradient end radii (Closed)

Created:
4 years, 6 months ago by f(malita)
Modified:
4 years, 6 months ago
Reviewers:
fs
CC:
darktears, apavlov+blink_chromium.org, blink-reviews, blink-reviews-css, chromium-reviews, dglazkov+blink, rwlbuis
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Clamp radial gradient end radii Ensure that the end radius stays within finite float range, to avoid degenerate cases down the line. BUG=616993 R=fs@opera.com Committed: https://crrev.com/08e2d2a00072b39e91bfb3d8665c06fa0cc55f68 Cr-Commit-Position: refs/heads/master@{#398029}

Patch Set 1 #

Patch Set 2 : #

Total comments: 2

Patch Set 3 : review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+69 lines, -8 lines) Patch
A third_party/WebKit/LayoutTests/fast/gradients/radial-clamping.html View 1 chunk +59 lines, -0 lines 0 comments Download
A + third_party/WebKit/LayoutTests/fast/gradients/radial-clamping-expected.txt View 1 chunk +1 line, -3 lines 0 comments Download
M third_party/WebKit/Source/core/css/CSSGradientValue.cpp View 1 2 3 chunks +9 lines, -5 lines 0 comments Download

Messages

Total messages: 12 (6 generated)
f(malita)
4 years, 6 months ago (2016-06-05 16:35:54 UTC) #3
fs
LGTM https://codereview.chromium.org/2041653002/diff/20001/third_party/WebKit/Source/core/css/CSSGradientValue.cpp File third_party/WebKit/Source/core/css/CSSGradientValue.cpp (right): https://codereview.chromium.org/2041653002/diff/20001/third_party/WebKit/Source/core/css/CSSGradientValue.cpp#newcode1058 third_party/WebKit/Source/core/css/CSSGradientValue.cpp:1058: float a = clampTo<float>(sqrtf(p.x() * p.x() + p.y() ...
4 years, 6 months ago (2016-06-05 23:34:02 UTC) #4
f(malita)
https://codereview.chromium.org/2041653002/diff/20001/third_party/WebKit/Source/core/css/CSSGradientValue.cpp File third_party/WebKit/Source/core/css/CSSGradientValue.cpp (right): https://codereview.chromium.org/2041653002/diff/20001/third_party/WebKit/Source/core/css/CSSGradientValue.cpp#newcode1058 third_party/WebKit/Source/core/css/CSSGradientValue.cpp:1058: float a = clampTo<float>(sqrtf(p.x() * p.x() + p.y() * ...
4 years, 6 months ago (2016-06-06 13:13:10 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2041653002/40001
4 years, 6 months ago (2016-06-06 14:41:18 UTC) #8
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 6 months ago (2016-06-06 15:17:30 UTC) #10
commit-bot: I haz the power
4 years, 6 months ago (2016-06-06 15:18:53 UTC) #12
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/08e2d2a00072b39e91bfb3d8665c06fa0cc55f68
Cr-Commit-Position: refs/heads/master@{#398029}

Powered by Google App Engine
This is Rietveld 408576698