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

Issue 225183016: [CSS Shapes] polygon y-value calc() args serialize incorrectly (Closed)

Created:
6 years, 8 months ago by rwlbuis
Modified:
6 years, 8 months ago
Reviewers:
Zoltan, eseidel
CC:
blink-reviews, ed+blinkwatch_opera.com, dglazkov+blink, apavlov+blink_chromium.org, darktears, rune+blink, rwlbuis, alancutter (OOO until 2018)
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

[CSS Shapes] polygon y-value calc() args serialize incorrectly The code hit ASSERT(isCalculation(value)) in CSSParser::createPrimitiveNumbericValue, because CSSParser::validUnit had been called on both coordinates, which set the value for m_parsedCalculation, but only one of the coordinates was calculation value. I reordered calling valudUnit and createPrimitiveNumbericValue to be called in the correct order on the coordinates. I added the new test case to parsing-test-utils.js. This is a merge of http://trac.webkit.org/changeset/166813 by Zoltan Horvath <zoltan@webkit.org>;. BUG=350182 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=171689

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -1 line) Patch
M LayoutTests/fast/shapes/parsing/parsing-shape-outside-expected.txt View 1 chunk +4 lines, -0 lines 0 comments Download
M LayoutTests/fast/shapes/parsing/parsing-test-utils.js View 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/css/parser/CSSPropertyParser.cpp View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 6 (0 generated)
rwlbuis
Handing over to Zoltan for a first look.
6 years, 8 months ago (2014-04-07 20:07:22 UTC) #1
Zoltan
lgtm, thanks Rob!
6 years, 8 months ago (2014-04-07 21:15:39 UTC) #2
rwlbuis
A very useful fix IMHO!
6 years, 8 months ago (2014-04-07 21:18:59 UTC) #3
eseidel
lgtm
6 years, 8 months ago (2014-04-15 19:59:30 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rob.buis@samsung.com/225183016/1
6 years, 8 months ago (2014-04-15 19:59:43 UTC) #5
commit-bot: I haz the power
6 years, 8 months ago (2014-04-15 20:10:24 UTC) #6
Message was sent while issue was closed.
Change committed as 171689

Powered by Google App Engine
This is Rietveld 408576698