The attached tests has a 50 x 100 right float with a margin-left set to 10px and a shape-margin set to 20px and the parent element is 100px x 100px. A 50px Ahem character should not fit to flow no the left side of the float. Instead, it should be pushed beneath the float just as it would if the shape-outside was not defined. The reference file is just that - it is set up the same way, just without the shape-outside property (nor the red failure element).
Created attachment 235546 [details]
test case for bug
Created attachment 235547 [details]
Created attachment 235633 [details]
new test file that fails when CSS Shapes isn't implemented or enabled (the other one didn't)
Created attachment 235634 [details]
new reference file
(In reply to comment #3)
> Created an attachment (id=235633) [details]
> new test file that fails when CSS Shapes isn't implemented or enabled (the other one didn't)
The test refers to support/square.png, which isn't included.
Created attachment 235752 [details]
sorry about that - attached.
Created attachment 235917 [details]
Comment on attachment 235917 [details]
I'm tweaking the test a bit to make it more robust.
Created attachment 235983 [details]
Made test more robust by switching to a left float so that the wrapped content hits up against the flat bottom of the shape margin, not the rounded corner.
Comment on attachment 235983 [details]
Clearing flags on attachment: 235983
Committed r172010: <http://trac.webkit.org/changeset/172010>
All reviewed patches have been landed. Closing bug.
(In reply to comment #10)
> (From update of attachment 235983 [details])
> Clearing flags on attachment: 235983
> Committed r172010: <http://trac.webkit.org/changeset/172010>
The test fast/shapes/shape-outside-floats/shape-outside-image-shape-margin.html fails on GTK. Reported here: https://bugs.webkit.org/show_bug.cgi?id=135585