Summary: | [CSS Shapes] shape-margin not respected when it extends beyond an explicitly set margin | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Rebecca Hauck <rhauck> | ||||||||||||||||
Component: | CSS | Assignee: | Bem Jones-Bey <bjonesbe> | ||||||||||||||||
Status: | RESOLVED FIXED | ||||||||||||||||||
Severity: | Normal | CC: | bjonesbe, clopez, commit-queue, dino, esprehn+autocc, glenn, kondapallykalyan, simon.fraser, zoltan | ||||||||||||||||
Priority: | P2 | ||||||||||||||||||
Version: | 528+ (Nightly build) | ||||||||||||||||||
Hardware: | Unspecified | ||||||||||||||||||
OS: | Unspecified | ||||||||||||||||||
Attachments: |
|
Description
Rebecca Hauck
2014-07-25 15:53:37 PDT
Created attachment 235546 [details]
test case for bug
Created attachment 235547 [details]
reference file
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]
adding png
sorry about that - attached.
Created attachment 235917 [details]
Patch
Comment on attachment 235917 [details]
Patch
I'm tweaking the test a bit to make it more robust.
Created attachment 235983 [details]
Patch
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] Patch 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 |