Bug 20485 - style.getProperty("overflow") returns an empty string
Summary: style.getProperty("overflow") returns an empty string
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Major
Assignee: Timothy Hatcher
Depends on:
Reported: 2008-08-22 07:50 PDT by Timothy Hatcher
Modified: 2008-08-22 11:40 PDT (History)
2 users (show)

See Also:

Proposed patch (8.40 KB, patch)
2008-08-22 10:12 PDT, Timothy Hatcher
mitz: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.