RESOLVED FIXED Bug 20485
style.getProperty("overflow") returns an empty string
https://bugs.webkit.org/show_bug.cgi?id=20485
Summary style.getProperty("overflow") returns an empty string
Timothy Hatcher
Reported 2008-08-22 07:50:04 PDT
Toggling the overflow CSS property in the Inspector removes it when trying to enable it again.
Attachments
Proposed patch (8.40 KB, patch)
2008-08-22 10:12 PDT, Timothy Hatcher
mitz: review+
Timothy Hatcher
Comment 1 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.
Timothy Hatcher
Comment 2 2008-08-22 10:08:25 PDT
I have a simple fix.
Timothy Hatcher
Comment 3 2008-08-22 10:12:28 PDT
Created attachment 22941 [details] Proposed patch
mitz
Comment 4 2008-08-22 10:21:13 PDT
Comment on attachment 22941 [details] Proposed patch r=me
Timothy Hatcher
Comment 5 2008-08-22 11:40:41 PDT
Landed in r35892.
Note You need to log in before you can comment on or make changes to this bug.