[Webkit-unassigned] [Bug 42916] New: -webkit-box-shadow renders box-shadow behind an image element if specified for img
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Jul 23 16:13:32 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=42916
Summary: -webkit-box-shadow renders box-shadow behind an image
element if specified for img
Product: WebKit
Version: 528+ (Nightly build)
Platform: PC
URL: http://dl.dropbox.com/u/952/pola/index.html
OS/Version: Mac OS X 10.5
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: CSS
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: divya.manian at gmail.com
The spec says box-shadow should render on all elements. The inset shadow seems to render behind the contents of the element, this would be fine for all elements except the image element, where it should render in front of the image to serve any useful purpose.
You can see this in action on the URL mentioned. The left image does not seem to have any box-shadow, but the right image (which is a transparent version of the left one) has them.
Also reducing the opacity of the image does not seem to have any effect on getting the box-shadow to show (but using an image with inherent alpha transparency works).
This is a cross-browser issue: Safari/Chrome/Opera/Firefox.
--
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