Created attachment 175043 [details] Examples of the bug When an element with shape-inside has padding, and the shape has coordinates other than 0, 0, the padding is ignored. When the x coordinate differs from zero, the left padding is ignored. When the y coordinate differs from zero, the top padding is ignored. See the attachment for examples.
I just noticed that it doesn't just ignore the padding, it ignores the border as well. If you need an example, I can compose one, but it is simple to see just by playing with the border widths on the original example.
Created attachment 186123 [details] Implementing correct box-sizing behavior Accounting for the offsets from the border box based on the box-sizing css property value.
Created attachment 187135 [details] Merging with mainline
Comment on attachment 187135 [details] Merging with mainline r=me
Comment on attachment 187135 [details] Merging with mainline Clearing flags on attachment: 187135 Committed r142164: <http://trac.webkit.org/changeset/142164>
All reviewed patches have been landed. Closing bug.