Bug 132313 - [CSS Shapes] complex calc values for shape-margin return null for computed style
Summary: [CSS Shapes] complex calc values for shape-margin return null for computed style
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Zoltan Horvath
URL:
Keywords:
Depends on:
Blocks: 98664
  Show dependency treegraph
 
Reported: 2014-04-28 17:34 PDT by Rebecca Hauck
Modified: 2014-04-29 09:16 PDT (History)
7 users (show)

See Also:


Attachments
test case for the bug (995 bytes, text/html)
2014-04-28 17:35 PDT, Rebecca Hauck
no flags Details
Patch (3.71 KB, patch)
2014-04-29 00:23 PDT, Zoltan Horvath
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Rebecca Hauck 2014-04-28 17:34:17 PDT
The attached test has this:

-webkit-shape-margin: calc(25%*3 - 10in);

getPropertyValue() on the computedStyle returns null. Simpler calc values are fine - for this one, remove the "- 10in" and the test passes.
Comment 1 Rebecca Hauck 2014-04-28 17:35:16 PDT
Created attachment 230340 [details]
test case for the bug
Comment 2 Zoltan Horvath 2014-04-29 00:23:54 PDT
Created attachment 230359 [details]
Patch
Comment 3 Bem Jones-Bey 2014-04-29 08:45:45 PDT
Comment on attachment 230359 [details]
Patch

r=me
Comment 4 WebKit Commit Bot 2014-04-29 09:16:39 PDT
Comment on attachment 230359 [details]
Patch

Clearing flags on attachment: 230359

Committed r167935: <http://trac.webkit.org/changeset/167935>
Comment 5 WebKit Commit Bot 2014-04-29 09:16:43 PDT
All reviewed patches have been landed.  Closing bug.