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

Issue 844733004: [CSS Shapes] Negative raster shape height leads to crash (Closed)

Created:
5 years, 11 months ago by rwlbuis
Modified:
5 years, 11 months ago
CC:
blink-reviews, blink-reviews-rendering, Dominik Röttsches, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, zoltan1
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

[CSS Shapes] Negative raster shape height leads to crash This patch clamps the size of the margin box rect used to compute the raster shape on a float so the width and height cannot be negative. This makes it safe to use that rect to determine the size of the shape intervals data structure. This is a merge of http://trac.webkit.org/changeset/178054 by Bem Jones-Bey <bjonesbe@adobe.com>;. BUG=389585 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=188427

Patch Set 1 #

Total comments: 1

Patch Set 2 : Try 19px #

Patch Set 3 : Force line-height #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -2 lines) Patch
A LayoutTests/fast/shapes/shape-outside-floats/shape-outside-negative-height-crash.html View 1 2 1 chunk +27 lines, -0 lines 0 comments Download
A + LayoutTests/fast/shapes/shape-outside-floats/shape-outside-negative-height-crash-expected.txt View 1 chunk +2 lines, -1 line 0 comments Download
M Source/core/rendering/shapes/ShapeOutsideInfo.cpp View 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 12 (3 generated)
rwlbuis
PTAL, I don't think the win_rel failure is related.
5 years, 11 months ago (2015-01-08 22:10:58 UTC) #2
Bem Jones-Bey (adobe)
lgtm https://codereview.chromium.org/844733004/diff/1/LayoutTests/fast/shapes/shape-outside-floats/shape-outside-negative-height-crash.html File LayoutTests/fast/shapes/shape-outside-floats/shape-outside-negative-height-crash.html (right): https://codereview.chromium.org/844733004/diff/1/LayoutTests/fast/shapes/shape-outside-floats/shape-outside-negative-height-crash.html#newcode12 LayoutTests/fast/shapes/shape-outside-floats/shape-outside-negative-height-crash.html:12: margin-top: -29px; The WebKit patch has -19px here. ...
5 years, 11 months ago (2015-01-09 00:01:09 UTC) #3
rwlbuis
On 2015/01/09 00:01:09, Bem Jones-Bey (adobe) wrote: > lgtm > > https://codereview.chromium.org/844733004/diff/1/LayoutTests/fast/shapes/shape-outside-floats/shape-outside-negative-height-crash.html > File > ...
5 years, 11 months ago (2015-01-09 00:48:48 UTC) #4
Bem Jones-Bey (adobe)
On 2015/01/09 00:48:48, rwlbuis wrote: > On 2015/01/09 00:01:09, Bem Jones-Bey (adobe) wrote: > > ...
5 years, 11 months ago (2015-01-09 20:19:43 UTC) #5
rwlbuis
On 2015/01/09 20:19:43, Bem Jones-Bey (adobe) wrote: > On 2015/01/09 00:48:48, rwlbuis wrote: > > ...
5 years, 11 months ago (2015-01-14 22:55:49 UTC) #6
rwlbuis
PTAL
5 years, 11 months ago (2015-01-14 23:48:11 UTC) #8
leviw_travelin_and_unemployed
lgtm.
5 years, 11 months ago (2015-01-14 23:50:47 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/844733004/40001
5 years, 11 months ago (2015-01-14 23:56:08 UTC) #11
commit-bot: I haz the power
5 years, 11 months ago (2015-01-15 00:45:03 UTC) #12
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=188427

Powered by Google App Engine
This is Rietveld 408576698