BUG=228782
Add support for computing the shape-outside shape-margin boundary for a polygon. This change is similar to the one added for padding polygons, see bug https://bugs.webkit.org/show_bug.cgi?id=112592. The algorithm used for computing the margin boundary is is provisional. It works correctly for convex polygons and will work correctly for non self-intersecting polygons whose margin boundary is the same shape as the original polygon.
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=148839
On 2013/04/22 16:01:26, Eric Seidel (Google) wrote: > Source/core/rendering/ExclusionPolygon.cpp:151: static inline FloatPolygon > *computeShapeMarginBounds(const FloatPolygon& ...
7 years, 8 months ago
(2013-04-22 16:55:54 UTC)
#4
On 2013/04/22 16:01:26, Eric Seidel (Google) wrote:
> Source/core/rendering/ExclusionPolygon.cpp:151: static inline FloatPolygon
> *computeShapeMarginBounds(const FloatPolygon& polygon, float margin, WindRule
> fillRule)
> * goes next to the type in WK style.
I've fixed this problem and will submit a separate patch for the smart pointer
changes.
Thanks for the review!
commit-bot: I haz the power
Retried try job too often on mac_layout_rel for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_layout_rel&number=2850
7 years, 8 months ago
(2013-04-22 17:35:22 UTC)
#5
On 2013/04/22 16:01:26, Eric Seidel (Google) wrote: > lgtm > > The OwnPtr usage (since ...
7 years, 8 months ago
(2013-04-23 15:23:34 UTC)
#9
Message was sent while issue was closed.
On 2013/04/22 16:01:26, Eric Seidel (Google) wrote:
> lgtm
>
> The OwnPtr usage (since it clearly extends beyond this patch) can be done in a
> second pass. But this code really should use smart pointers to avoid leaks.
:)
I've submitted a WebKit patch for this and will follow up with a Blink patch.
https://bugs.webkit.org/show_bug.cgi?id=114984
Issue 14220005: Add support for the simple case of shape-margin polygonal shape-outside
(Closed)
Created 7 years, 8 months ago by Hans Muller
Modified 7 years, 8 months ago
Reviewers: eseidel
Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Comments: 4