Bug 27921

Summary: [Gtk] -webkit-box-shadow renders as a black background
Product: WebKit Reporter: Tom Adams <tom>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: jmalonzo, krit, mrobinson
Priority: P2 Keywords: Gtk
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Linux   
URL: http://webkit.org/blog/86/box-shadow/
Attachments:
Description Flags
Rendering of associated URL in WebKit/GTK+ (uzbl browser).
none
Test case showing what works and what doesn't. none

Tom Adams
Reported 2009-08-01 11:14:54 PDT
Created attachment 33937 [details] Rendering of associated URL in WebKit/GTK+ (uzbl browser). (Version is libwebkit-1.1.10-2 (WebKit/GTK+), from Arch Linux's extra repository). 1) -webkit-box-shadow properties cause the element to acquire a black background (similar to background: black). 2) "-webkit-box-shadow: none" works as expected (renders no box shadow, and no erronious background). 3) Using 4 length parameters also renders no box shadow and no erronious background. See the attached screenshot and test case (which I will add in a comment).
Attachments
Rendering of associated URL in WebKit/GTK+ (uzbl browser). (6.52 KB, image/png)
2009-08-01 11:14 PDT, Tom Adams
no flags
Test case showing what works and what doesn't. (576 bytes, text/html)
2009-08-01 11:17 PDT, Tom Adams
no flags
Tom Adams
Comment 1 2009-08-01 11:17:09 PDT
Created attachment 33938 [details] Test case showing what works and what doesn't.
Jan Alonzo
Comment 2 2009-08-02 01:05:53 PDT
I don't get a black background in my ToT build but I don't get a box-shadow either.
Dirk Schulze
Comment 3 2009-08-16 09:16:09 PDT
There shouldn't be any background. And I don't see a shadow either. BoxShadows are "disabled" or better not supprted. Cairo do not support bluring. We have to blur the shadow our self. Did you modified the source code in GraphicsContext.cpp?
Dirk Schulze
Comment 4 2009-12-16 06:10:02 PST
We have real shadow support now. Can you test it again please?
Martin Robinson
Comment 5 2010-10-06 12:26:27 PDT
This is certainly fixed now. I'm going to close the bug, but feel free to open a new bug if there more problems with box shadow.
Note You need to log in before you can comment on or make changes to this bug.