Bug 131191

Summary: [CSS Shapes] shape-outside does not parse attr() values
Product: WebKit Reporter: Rebecca Hauck <rhauck>
Component: CSSAssignee: Bem Jones-Bey <bjonesbe>
Severity: Normal CC: bjonesbe
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 98664    
Description Flags
Test case for bug
ref file for test
parsing test
image file for tests none

Description Rebecca Hauck 2014-04-03 16:52:48 PDT
Two tests attached that exhibit this - one is the W3C reftest that uncovered it (and is derived from this explicit example in the spec), the other is a simplified javascript parsing test that passes when a url() value is given and fails on the att() case.  The actual image is not needed for these cases, but attaching one just to make the test whole.

Note: This uses testharness.js and the relative path in the test assumes the test is run from LayoutTests/fast/shapes/parsing
Comment 1 Rebecca Hauck 2014-04-03 16:54:45 PDT
Created attachment 228557 [details]
Test case for bug
Comment 2 Rebecca Hauck 2014-04-03 16:55:39 PDT
Created attachment 228558 [details]
ref file for test
Comment 3 Rebecca Hauck 2014-04-03 16:57:27 PDT
Created attachment 228559 [details]
parsing test
Comment 4 Rebecca Hauck 2014-04-03 16:57:45 PDT
Created attachment 228560 [details]
image file for tests
Comment 5 Bem Jones-Bey 2014-04-07 10:38:05 PDT
This use of attr() is not implemented in WebKit in general, so shape-outside will not be able to support it until attr() itself supports URLs.