Bug 131191 - [CSS Shapes] shape-outside does not parse attr() values
Summary: [CSS Shapes] shape-outside does not parse attr() values
Status: RESOLVED LATER
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Bem Jones-Bey
URL:
Keywords:
Depends on:
Blocks: 98664
  Show dependency treegraph
 
Reported: 2014-04-03 16:52 PDT by Rebecca Hauck
Modified: 2014-04-07 10:38 PDT (History)
1 user (show)

See Also:


Attachments
Test case for bug (2.11 KB, text/html)
2014-04-03 16:54 PDT, Rebecca Hauck
no flags Details
ref file for test (1.24 KB, text/html)
2014-04-03 16:55 PDT, Rebecca Hauck
no flags Details
parsing test (807 bytes, text/html)
2014-04-03 16:57 PDT, Rebecca Hauck
no flags Details
image file for tests (6.15 KB, image/png)
2014-04-03 16:57 PDT, Rebecca Hauck
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.