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 #
Messages
Total messages: 6 (0 generated)
|