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

Unified Diff: Source/core/rendering/shapes/RasterShape.cpp

Issue 63623002: [CSS Shapes] Image shape-outside with vertical gaps is handled incorrectly (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Removed "-webkit" prefix from the test case Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/fast/shapes/shape-outside-floats/shape-outside-floats-image-vgap-expected.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/shapes/RasterShape.cpp
diff --git a/Source/core/rendering/shapes/RasterShape.cpp b/Source/core/rendering/shapes/RasterShape.cpp
index d7826cf0351bec01d8ae4079508254f5eacf9ce5..bba751812a54a49bd5c1f3de8f5ea77a8171730a 100644
--- a/Source/core/rendering/shapes/RasterShape.cpp
+++ b/Source/core/rendering/shapes/RasterShape.cpp
@@ -209,11 +209,6 @@ void RasterShapeIntervals::getExcludedIntervals(int y1, int y2, IntShapeInterval
y1 = std::max(y1, bounds().y());
y2 = std::min(y2, bounds().maxY());
- for (int y = y1; y < y2; y++) {
- if (intervalsAt(y).isEmpty())
- return;
- }
-
result = intervalsAt(y1);
for (int y = y1 + 1; y < y2; y++) {
IntShapeIntervals intervals;
« no previous file with comments | « LayoutTests/fast/shapes/shape-outside-floats/shape-outside-floats-image-vgap-expected.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698