Created attachment 193587 [details]
Example of the bug
With some ellipses, the segment value is too short, allowing text to intrude into the shape.
Created attachment 195605 [details]
Expanded test case
The problem occurs for all Exclusion shapes and only occurs when the shape's logicalTop is non-zero, which causes the float's bounds to be adjusted. The new test case demos the problem for circle, ellipse, and polygon.
Created attachment 195667 [details]
Fix coordinate calculation
Comment on attachment 195667 [details]
View in context: https://bugs.webkit.org/attachment.cgi?id=195667&action=review
> + in the right place, we just want to simulate the shape's effect.
I would see that as a comment in the code as it's useful to understand the testing code.
Created attachment 195789 [details]
Add requested comment
Comment on attachment 195789 [details]
Clearing flags on attachment: 195789
Committed r147250: <http://trac.webkit.org/changeset/147250>
All reviewed patches have been landed. Closing bug.