Bug 90020
Summary: | Changing a shorthand from initial to a value doesn't change the css property value | ||
---|---|---|---|
Product: | WebKit | Reporter: | Tony Chang <tony> |
Component: | CSS | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED WORKSFORME | ||
Severity: | Normal | CC: | arpitabahuguna, bfulgham, menard, pravind.2k4 |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Tony Chang
Here's a test case:
http://plexode.com/eval3/#ht=%3Cdiv%20id%3Dx%3Ex%3C%2Fdiv%3E&ohh=1&ohj=1&jt=x.style.background%20%3D%20'initial'%3B%0Ax.style.background%20%3D%20'red'%3B%0Ax.style.background%0A&ojh=1&ojj=1&ms=100&oth=0&otj=0&cex=1
Note that getComputedStyle(x).background returns the full computed value as expected.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Pravin D
Hi Tony,