| Summary: | [CSS Shapes] inset complex calc() args vanish in serialized computed style | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Rebecca Hauck <rhauck> | ||||||||
| Component: | CSS | Assignee: | 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: |
|
||||||||||
Created attachment 226049 [details]
Test case for bug
Note: This uses testharness.js and the relative path in the test assumes the test is run from LayoutTests/fast/shapes/parsing Created attachment 226052 [details]
fixed test case file (added prefixes)
Created attachment 228766 [details]
Patch
Comment on attachment 228766 [details] Patch Note: the simplest serialization for shapes will be implemented in bug #129825. Comment on attachment 228766 [details]
Patch
r=me
Comment on attachment 228766 [details] Patch Clearing flags on attachment: 228766 Committed r166894: <http://trac.webkit.org/changeset/166894> All reviewed patches have been landed. Closing bug. |
The attached test file tests this: inset(calc(25%*3 - 10in)) getComputedStyle(div).getPropertyValue('-webkit-shape-outside') returns: inset( round 0px 0px 0px 0px / 0px 0px 0px 0px) The inset args completely vanish. Some additional info: - The inline style version of this test passes - If I drop the '- 10in' from the calc() the args don't vanish