Bug 20485

Summary: style.getProperty("overflow") returns an empty string
Product: WebKit Reporter: Timothy Hatcher <timothy>
Component: CSSAssignee: Timothy Hatcher <timothy>
Severity: Major CC: aroben, kmccullough
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Description Flags
Proposed patch mitz: review+

Description Timothy Hatcher 2008-08-22 07:50:04 PDT
Toggling the overflow CSS property in the Inspector removes it when trying to enable it again.
Comment 1 Timothy Hatcher 2008-08-22 10:08:07 PDT
This turns out to be a bug in CSSMutableStyleDeclaration not returning a value for the overflow property, since overflow split into overflow-x and overflow-y and became a shorthand.
Comment 2 Timothy Hatcher 2008-08-22 10:08:25 PDT
I have a simple fix.
Comment 3 Timothy Hatcher 2008-08-22 10:12:28 PDT
Created attachment 22941 [details]
Proposed patch
Comment 4 mitz 2008-08-22 10:21:13 PDT
Comment on attachment 22941 [details]
Proposed patch

Comment 5 Timothy Hatcher 2008-08-22 11:40:41 PDT
Landed in r35892.