RESOLVED DUPLICATE of bug 58511 83210
webkit fails IETC box-shadow-002
https://bugs.webkit.org/show_bug.cgi?id=83210
Summary webkit fails IETC box-shadow-002
Dave Tharp
Reported 2012-04-04 13:54:11 PDT
No red should be visible on the rendered page.
Attachments
Patch (3.44 KB, patch)
2012-04-04 15:28 PDT, Dave Tharp
no flags
Dave Tharp
Comment 1 2012-04-04 15:12:57 PDT
Here's the crux of the problem: The CSS in the test htm file specifies the box-shadow thusly: box-shadow: 50px 10px 0px 10px ; The important thing to note here is that there is no shadow color specified. IE, Mozilla, and Opera default the shadow color to black. WebKit defaults the color to transparent. Unfortunately, the spec ( http://www.w3.org/TR/css3-background/#the-box-shadow ) does not seem to specify the behavior when no color is given. It does show that color is indeed optional. It seems that IE, Mozilla, and Opera have all interpreted a lack of specified color to mean "default to black". And this actually makes sense to me. I mean, why would you specify a shadow if it wasn't going to be visible anyway?
Dave Tharp
Comment 2 2012-04-04 15:13:32 PDT
Note the same root issue is the cause of bug 83223.
Dave Tharp
Comment 3 2012-04-04 15:28:07 PDT
Simon Fraser (smfr)
Comment 4 2012-04-05 16:26:42 PDT
*** This bug has been marked as a duplicate of bug 58511 ***
Eric Seidel (no email)
Comment 5 2012-04-19 15:51:15 PDT
Comment on attachment 135698 [details] Patch Cleared review? from attachment 135698 [details] so that this bug does not appear in http://webkit.org/pending-review. If you would like this patch reviewed, please attach it to a new bug (or re-open this bug before marking it for review again).
Note You need to log in before you can comment on or make changes to this bug.