[Webkit-unassigned] [Bug 57946] New: getComputedStyle() doesn't support CSS3 multiple backgrounds
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Apr 6 07:12:13 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=57946
Summary: getComputedStyle() doesn't support CSS3 multiple
backgrounds
Product: WebKit
Version: 528+ (Nightly build)
Platform: Macintosh
OS/Version: Mac OS X 10.6
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: CSS
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: andredion at gmail.com
If a given element has multiple background applied, getComputedStyle() will only return the first value.
E.g.,
#test {
background-image: url('test1.png'), url('test2.png');
background-repeat: no-repeat, repeat-x;
background-position: 0 0, 100px 100px;
-webkit-background-size: 10px, 100px;
}
------
var cs = window.getComputedStyle(document.getElementById('test'));
cs.backgroundImage; // url('test1.png')
cs.backgroundRepeat; // no-repeat
cs.backgroundPosition; // 0px 0px
cs.WebkitBackgroundSize; // 10px
--
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