[Webkit-unassigned] [Bug 134249] New: The color of the box-shadow CSS property does not inherit correctly from the color CSS property

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 24 07:06:40 PDT 2014


https://bugs.webkit.org/show_bug.cgi?id=134249

           Summary: The color of the box-shadow CSS property does not
                    inherit correctly from the color CSS property
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh
        OS/Version: Mac OS X 10.9
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: xavier at 7studio.fr


Other browsers tested:
  Chrome 35.0.1916.153 m: FAIL
  Firefox 30.0: OK
  IE 11.0.9: OK
  Opera 12.17: OK

What steps will reproduce the problem?
1. Nest two depths of `div` HTML element twice (one after the other).
2. Apply the same `box-shadow` CSS property without defining the color on the last depth in each one.
3. Apply the `color` CSS property on the first depth with a different value for each one.

What is the expected result?
If it is absent, the color of the shadow should be taken from the `color` CSS property as it is defined in the CSS3 specification of W3C.
http://www.w3.org/TR/css3-background/#shadow-color

What happens instead?
The color of the shadow does not change and is identical to the color of the first drop-shadow painted in the page.

It seems that the problem does not exist/happen when the `color` and `box-shadow` CSS properties are applied at the same time on the same HTML element.
I have opened the same issue for Blink here: https://code.google.com/p/chromium/issues/detail?id=388209

-- 
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