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

Issue 185133006: [CSS Shapes] Serialize circle/ellipse positions (Closed)

Created:
6 years, 9 months ago by rwlbuis
Modified:
6 years, 9 months ago
Reviewers:
Bear Travis, eseidel
CC:
blink-reviews, ed+blinkwatch_opera.com, dglazkov+blink, apavlov+blink_chromium.org, darktears, rune+blink, leviw_travelin_and_unemployed, Hans Muller, Bem Jones-Bey (adobe)
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

[CSS Shapes] Serialize circle/ellipse positions Circle/ellipse positions should always be present when serialized, and should only have the 2 or 4-valued form. Keywords are converted to percentages and simplified where possible. This patch adds some additional processing that converts the parsed position into the serialized format, before converting it to text. See http://dev.w3.org/csswg/css-shapes/#basic-shape-serialization. Ported from: https://bugs.webkit.org/show_bug.cgi?id=129404 https://bugs.webkit.org/show_bug.cgi?id=129726 BUG=322165 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=168876

Patch Set 1 #

Patch Set 2 : Add ellipse portion #

Patch Set 3 : Fix test results #

Total comments: 1

Patch Set 4 : Fix test expectation #

Unified diffs Side-by-side diffs Delta from patch set Stats (+107 lines, -47 lines) Patch
M LayoutTests/animations/interpolation/shape-outside.html View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/animations/interpolation/shape-outside-expected.txt View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/fast/masking/parsing-clip-path-shape.html View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/fast/masking/parsing-clip-path-shape-expected.txt View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/fast/shapes/parsing/parsing-shape-inside-expected.txt View 1 2 3 chunks +17 lines, -13 lines 0 comments Download
M LayoutTests/fast/shapes/parsing/parsing-shape-outside-expected.txt View 1 2 3 chunks +17 lines, -13 lines 0 comments Download
M LayoutTests/fast/shapes/parsing/parsing-test-utils.js View 1 2 chunks +15 lines, -13 lines 0 comments Download
M Source/core/css/CSSBasicShapes.cpp View 1 3 chunks +54 lines, -4 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
rwlbuis
The circle part of this has gone into WebKit https://bugs.webkit.org/show_bug.cgi?id=129404 and the ellipse part (tiny ...
6 years, 9 months ago (2014-03-05 23:20:03 UTC) #1
rwlbuis
On 2014/03/05 23:20:03, rwlbuis wrote: > The circle part of this has gone into WebKit ...
6 years, 9 months ago (2014-03-10 19:20:35 UTC) #2
eseidel
6 years, 9 months ago (2014-03-10 20:10:07 UTC) #3
eseidel
6 years, 9 months ago (2014-03-10 20:11:03 UTC) #4
Bear Travis
The code lgtm, fwiw, though I think the test mentioned above may need tweaking. https://codereview.chromium.org/185133006/diff/40001/LayoutTests/animations/interpolation/shape-outside-expected.txt ...
6 years, 9 months ago (2014-03-10 22:56:46 UTC) #5
rwlbuis
On 2014/03/10 22:56:46, Bear Travis wrote: > The code lgtm, fwiw, though I think the ...
6 years, 9 months ago (2014-03-10 23:17:26 UTC) #6
Bear Travis
> Is it possible to make such an adjustment? Thanks for the fixup!
6 years, 9 months ago (2014-03-10 23:18:29 UTC) #7
eseidel
lgtm
6 years, 9 months ago (2014-03-10 23:23:27 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rob.buis@samsung.com/185133006/80001
6 years, 9 months ago (2014-03-10 23:23:31 UTC) #9
commit-bot: I haz the power
6 years, 9 months ago (2014-03-10 23:33:11 UTC) #10
Message was sent while issue was closed.
Change committed as 168876

Powered by Google App Engine
This is Rietveld 408576698