Created attachment 224147 [details] test-case Last line at the shape-outside doesn't respect the shape-margin of a complex self-intersecting polygon.
Created attachment 224148 [details] screenshot
This bug got fixed through the recent optimizations on polygon-shape.