Bug 132313

Summary: [CSS Shapes] complex calc values for shape-margin return null for computed style
Product: WebKit Reporter: Rebecca Hauck <rhauck>
Component: CSSAssignee: Zoltan Horvath <zoltan>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, esprehn+autocc, glenn, gyuyoung.kim, macpherson, menard, zoltan
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 98664    
Attachments:
Description Flags
test case for the bug
none
Patch none

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.