[Webkit-unassigned] [Bug 197158] New: Using CSS wide keywords as a fallback for variable substitution works inconsistently.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 22 08:36:48 PDT 2019


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

            Bug ID: 197158
           Summary: Using CSS wide keywords as a fallback for variable
                    substitution works inconsistently.
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: emilio at crisal.io

Created attachment 367940

  --> https://bugs.webkit.org/attachment.cgi?id=367940&action=review

Testcase.

STR: Open the attached test-case.

Expected result:

A 10px border of the initial color.

Actual result:

The border is transparent, but if I change `color: var(--unknown, initial)` by just `initial`, then it works. So `var(--unknown, inherit)` works but `var(--unknown, initial)` doesn't. I don't see why they should be different.

Chromium has the same bug: https://bugs.chromium.org/p/chromium/issues/detail?id=954963

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190422/9a98165d/attachment.html>


More information about the webkit-unassigned mailing list