Clamp shape-margin to zero
commit95dfa50bb9b5adb462cabbb87639f65f2f5eebed
authorrob.buis@samsung.com <rob.buis@samsung.com>
Wed, 29 Apr 2015 00:46:56 +0000 (29 00:46 +0000)
committerrob.buis@samsung.com <rob.buis@samsung.com>
Wed, 29 Apr 2015 00:46:56 +0000 (29 00:46 +0000)
tree0a4bd453a1f2b732c0a889a624215dc413b8d142
parent8c0d4db47468b963eec2a8b943015fd75a9be294
Clamp shape-margin to zero

The shape-margin is supposed to be non-negative, this
is hinted at by the spec:
http://dev.w3.org/csswg/css-shapes/#shape-margin-property

BUG=450598

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

git-svn-id: svn://svn.chromium.org/blink/trunk@194638 bbb929c8-8fbe-4397-9dbb-9b2b20218538
third_party/WebKit/LayoutTests/fast/shapes/shape-outside-floats/shape-outside-negative-height-crash-width-expected.txt [new file with mode: 0644]
third_party/WebKit/LayoutTests/fast/shapes/shape-outside-floats/shape-outside-negative-height-crash-width.html [new file with mode: 0644]
third_party/WebKit/Source/core/layout/shapes/ShapeOutsideInfo.cpp