ASSERTION FAILED: !m_parsedCalculation in blink::CSSPropertyParser::parseValue
commit7ad24532ab7f02bca55bb32706a561f1a3d00b89
authorrob.buis@samsung.com <rob.buis@samsung.com>
Tue, 11 Aug 2015 02:19:13 +0000 (11 02:19 +0000)
committerrob.buis@samsung.com <rob.buis@samsung.com>
Tue, 11 Aug 2015 02:19:13 +0000 (11 02:19 +0000)
treee3edbf156d9cc657d50bbeb24c8e105b120e920a
parent98f8d77ae316e0ee3e424d92b4fb995ddd2ef791
ASSERTION FAILED: !m_parsedCalculation in blink::CSSPropertyParser::parseValue

After calling validUnit a CSSPrimitiveValue is supposed to be created. In this
case the hasAngle check may prevent this, so do this check first.

BUG=518690

Review URL: https://codereview.chromium.org/1281783004

git-svn-id: svn://svn.chromium.org/blink/trunk@200284 bbb929c8-8fbe-4397-9dbb-9b2b20218538
third_party/WebKit/LayoutTests/fast/css/motion-degrees-calc-crash-expected.html [new file with mode: 0644]
third_party/WebKit/LayoutTests/fast/css/motion-degrees-calc-crash.html [new file with mode: 0644]
third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp