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

Issue 2908053002: CSS Conic Gradients: do not support unitless 0 angles (Closed)

Created:
3 years, 6 months ago by Eric Willigers
Modified:
3 years, 6 months ago
Reviewers:
f(malita)
CC:
chromium-reviews, blink-reviews-css, dglazkov+blink, apavlov+blink_chromium.org, darktears, blink-reviews, rwlbuis
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

CSS Conic Gradients: do not support unitless 0 angles A recent spec change means that 0 is no longer supported as a valid value for angles. https://github.com/w3c/csswg-drafts/issues/1162#issuecomment-293637767 Linear gradients, like CSS transform, are an exception and are explicitly specified to support unitless 0, to avoid breaking existing pages: https://drafts.csswg.org/css-images-3/#linear-gradients https://drafts.csswg.org/css-transforms/#valdef-transform-rotate Conic gradients, being a new feature that has not yet shipped in browsers, should only support angles with explicit units. https://drafts.csswg.org/css-images-4/#conic-gradients We update the parsing of conic gradients to reject unitless 0 angles. BUG=727195 Review-Url: https://codereview.chromium.org/2908053002 Cr-Commit-Position: refs/heads/master@{#475562} Committed: https://chromium.googlesource.com/chromium/src/+/a3410f5c72de0fecf8772dbeeee95514e57c4cb0

Patch Set 1 #

Messages

Total messages: 12 (8 generated)
Eric Willigers
3 years, 6 months ago (2017-05-29 04:51:39 UTC) #3
f(malita)
LGTM
3 years, 6 months ago (2017-05-30 13:40:42 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2908053002/1
3 years, 6 months ago (2017-05-30 14:05:10 UTC) #9
commit-bot: I haz the power
3 years, 6 months ago (2017-05-30 16:50:44 UTC) #12
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/a3410f5c72de0fecf8772dbeeee9...

Powered by Google App Engine
This is Rietveld 408576698