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

Issue 226203010: [CSS Shapes] shape-outside from image doesn't load properly (Closed)

Created:
6 years, 8 months ago by Hans Muller
Modified:
6 years, 8 months ago
Reviewers:
eseidel, rwlbuis
CC:
blink-reviews, bemjb+rendering_chromium.org, dsinclair, zoltan1, eae+blinkwatch, leviw+renderwatch, jchaffraix+rendering, pdr., rune+blink
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

[CSS Shapes] shape-outside from image doesn't load properly Corrected a set of problems related to shape-outside image loading: - Make RenderImage::imageChanged() call super if there's a shape-outside image, because the shape-outside imageChanged() logic is in RenderBox. - Added the shape-outside image to appendImagesFromStyle(). - Moved the logic from RenderObject::removeShapeImageClient() from RenderObject::postDestroy() to RenderBox::willDestroy() because it's simpler that way. BUG=360668 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=171303

Patch Set 1 #

Patch Set 2 : Revised the test #

Total comments: 1

Patch Set 3 : RenderBox change per review feedback #

Patch Set 4 : corrected a flaw in clearShapeOutside that cropped up in webkit_unit_test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+60 lines, -14 lines) Patch
A LayoutTests/http/tests/css/shape-image-file.html View 1 1 chunk +23 lines, -0 lines 0 comments Download
A LayoutTests/http/tests/css/shape-image-file-expected.html View 1 chunk +20 lines, -0 lines 0 comments Download
M Source/core/rendering/RenderBlock.cpp View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/rendering/RenderBox.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/rendering/RenderBox.cpp View 1 2 3 1 chunk +11 lines, -1 line 0 comments Download
M Source/core/rendering/RenderImage.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/RenderObject.h View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/rendering/RenderObject.cpp View 1 2 3 2 chunks +0 lines, -10 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
Hans Muller
Some small changes that improve the way an image-valued shape-outside works when it's specified for ...
6 years, 8 months ago (2014-04-10 00:37:21 UTC) #1
eseidel
It's best if someone more familiar with shapes reviews these first (even if they aren't ...
6 years, 8 months ago (2014-04-10 00:39:10 UTC) #2
Hans Muller
On 2014/04/10 00:39:10, eseidel wrote: > It's best if someone more familiar with shapes reviews ...
6 years, 8 months ago (2014-04-10 00:42:42 UTC) #3
rwlbuis
lgtm with the one nit. https://codereview.chromium.org/226203010/diff/20001/Source/core/rendering/RenderBox.cpp File Source/core/rendering/RenderBox.cpp (right): https://codereview.chromium.org/226203010/diff/20001/Source/core/rendering/RenderBox.cpp#newcode116 Source/core/rendering/RenderBox.cpp:116: if (shapeValue) { Nit: ...
6 years, 8 months ago (2014-04-10 15:05:55 UTC) #4
Hans Muller
On 2014/04/10 15:05:55, rwlbuis wrote: > lgtm with the one nit. > > https://codereview.chromium.org/226203010/diff/20001/Source/core/rendering/RenderBox.cpp > ...
6 years, 8 months ago (2014-04-10 15:23:41 UTC) #5
Hans Muller
The CQ bit was checked by hmuller@adobe.com
6 years, 8 months ago (2014-04-10 15:23:50 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hmuller@adobe.com/226203010/40001
6 years, 8 months ago (2014-04-10 15:23:57 UTC) #7
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-10 15:38:35 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.blink on mac_blink_rel
6 years, 8 months ago (2014-04-10 15:38:35 UTC) #9
Hans Muller
The CQ bit was checked by hmuller@adobe.com
6 years, 8 months ago (2014-04-10 15:59:47 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hmuller@adobe.com/226203010/40001
6 years, 8 months ago (2014-04-10 15:59:55 UTC) #11
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-10 16:09:51 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.blink on mac_blink_rel
6 years, 8 months ago (2014-04-10 16:09:51 UTC) #13
Hans Muller
The CQ bit was checked by hmuller@adobe.com
6 years, 8 months ago (2014-04-10 16:47:11 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hmuller@adobe.com/226203010/40001
6 years, 8 months ago (2014-04-10 16:47:20 UTC) #15
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-10 16:57:26 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.blink on linux_blink_dbg
6 years, 8 months ago (2014-04-10 16:57:26 UTC) #17
Hans Muller
The CQ bit was checked by hmuller@adobe.com
6 years, 8 months ago (2014-04-10 20:00:08 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hmuller@adobe.com/226203010/60001
6 years, 8 months ago (2014-04-10 20:00:13 UTC) #19
commit-bot: I haz the power
6 years, 8 months ago (2014-04-10 21:05:52 UTC) #20
Message was sent while issue was closed.
Change committed as 171303

Powered by Google App Engine
This is Rietveld 408576698