[Webkit-unassigned] [Bug 13748] New: Box-shadow assigned by onCLick javascript event
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed May 16 08:44:33 PDT 2007
http://bugs.webkit.org/show_bug.cgi?id=13748
Summary: Box-shadow assigned by onCLick javascript event
Product: WebKit
Version: 522+ (nightly)
Platform: Macintosh
URL: http://www.pixelmedia.it/dev/webkit_bugreport/boxshadow.
html
OS/Version: Mac OS X 10.4
Status: UNCONFIRMED
Severity: Major
Priority: P2
Component: CSS
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: info at pixelmedia.it
I've created a simple DIV with a onclick event that change his class to give
him the box-shadow when a user click on it.
this is the CSS style:
div.boxShadowOff, div.boxShadowOn {
width:100px;
height:200px;
position:absolute;
top:100px;
left:200px;
background: #FF8000;
padding: 5px 5px 5px 15px;
-webkit-border-radius: 5px;
float:left;
}
div.boxShadowOn {
-webkit-box-shadow: 5px 5px 10px #888;
}
and this is the DIV:
<div class="boxShadowOff" onclick="this.className='boxShadowOn'"></div>
When I click on the DIV he changes the class but WebKit doesn't render the
box-shadow. The box-shadow is rendered only if I resize the browser window.
Try to see it.
--
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list