[Webkit-unassigned] [Bug 60609] Implement CSSPropertyMargin and CSSPropertyPadding in CSSStyleApplyProperty.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 11 20:46:21 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=60609





--- Comment #8 from Luke Macpherson <macpherson at chromium.org>  2011-05-11 20:46:21 PST ---
(In reply to comment #7)
> Can we detect this change with getComputedStyle?

I just tested setting "padding: 0px;", "padding: auto;", "padding: 10%". In all cases getComputedStyle(e).getPropertyValue("padding-left") returns a px value; in the first two cases is 0px.
I think that means this change is not detectable from JS because it always returns the calculated pixel value.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list