Bug 121922

Summary: [css-shapes] Shapes are not resolved the same way in shape-inside and clip-path
Product: WebKit Reporter: François REMY <fremycompany_pub>
Component: Layout and RenderingAssignee: Bem Jones-Bey <bjonesbe>
Status: RESOLVED FIXED    
Severity: Normal CC: bjonesbe, buildbot, commit-queue, esprehn+autocc, glenn, kondapallykalyan, rniwa
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
URL: http://codepen.io/anon/pen/ahmyk
Attachments:
Description Flags
Patch
none
Archive of layout-test-results from webkit-ews-15 for mac-mountainlion-wk2
none
Archive of layout-test-results from webkit-ews-02 for mac-mountainlion
none
Patch none

Description François REMY 2013-09-25 13:22:29 PDT
For a repro, please refer to:
- http://codepen.io/anon/pen/ahmyk

The right behavior per-spec is the clip-path one (ie: use the demi-diagonal of the content box as 100% reference). CSS Shapes needs to be modified to comply.

For more context, please have a look at the following discussion on www-style:
- http://lists.w3.org/Archives/Public/www-style/2013Sep/0114.html
Comment 1 Bem Jones-Bey 2013-09-26 13:57:33 PDT
Created attachment 212742 [details]
Patch
Comment 2 Bem Jones-Bey 2013-09-26 14:18:56 PDT
Comment on attachment 212742 [details]
Patch

I'm going to have to update this.
Comment 3 Build Bot 2013-09-26 14:43:19 PDT
Comment on attachment 212742 [details]
Patch

Attachment 212742 [details] did not pass mac-wk2-ews (mac-wk2):
Output: http://webkit-queues.appspot.com/results/2611006

New failing tests:
fast/shapes/shape-inside/shape-inside-on-nested-container-with-unresolved-height.html
Comment 4 Build Bot 2013-09-26 14:43:20 PDT
Created attachment 212750 [details]
Archive of layout-test-results from webkit-ews-15 for mac-mountainlion-wk2

The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews.
Bot: webkit-ews-15  Port: mac-mountainlion-wk2  Platform: Mac OS X 10.8.5
Comment 5 Build Bot 2013-09-26 15:07:37 PDT
Comment on attachment 212742 [details]
Patch

Attachment 212742 [details] did not pass mac-ews (mac):
Output: http://webkit-queues.appspot.com/results/2620008

New failing tests:
fast/shapes/shape-inside/shape-inside-on-nested-container-with-unresolved-height.html
Comment 6 Build Bot 2013-09-26 15:07:40 PDT
Created attachment 212757 [details]
Archive of layout-test-results from webkit-ews-02 for mac-mountainlion

The attached test failures were seen while running run-webkit-tests on the mac-ews.
Bot: webkit-ews-02  Port: mac-mountainlion  Platform: Mac OS X 10.8.5
Comment 7 Bem Jones-Bey 2013-09-26 15:16:53 PDT
Created attachment 212759 [details]
Patch
Comment 8 Andreas Kling 2013-09-27 08:29:30 PDT
Comment on attachment 212759 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=212759&action=review

r=me

> LayoutTests/ChangeLog:11
> +        Update the nested container with unresolved height test because with a
> +        circle it isn't really testing just for unresolved height behavior.

Good idea!
Comment 9 WebKit Commit Bot 2013-09-27 08:54:25 PDT
Comment on attachment 212759 [details]
Patch

Clearing flags on attachment: 212759

Committed r156545: <http://trac.webkit.org/changeset/156545>
Comment 10 WebKit Commit Bot 2013-09-27 08:54:27 PDT
All reviewed patches have been landed.  Closing bug.