[Webkit-unassigned] [Bug 196389] New: [css-values-3] Computed value of calc() expression in linear-gradient function incorrect

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 28 20:39:58 PDT 2019


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

            Bug ID: 196389
           Summary: [css-values-3] Computed value of calc() expression in
                    linear-gradient function incorrect
           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: browserbugs2 at gtalbot.org

Test
****

http://www.gtalbot.org/BrowserBugsSection/CSS3Values/trac-webkit-linear-gradient-calc.html



Expected result: 
linear-gradient(90deg, rgb(255, 255, 0), rgb(0, 0, 255) 50%)



Actual result in Epiphany 3.31.90-8061c1929 (WebKitGTK 2.24.0):
linear-gradient(calc(90deg), rgb(255, 255, 0), rgb(0, 0, 255) calc(50%))

- - - - - 

Firefox 68.0a1 buildID=20190327175114 achieves expected result.

- - - - - 

The original test is

https://trac.webkit.org/browser/webkit/trunk/LayoutTests/css3/calc/webkit-gradient-calc.html

and is using 
-webkit-gradient(linear,...) 
which is not standard.
linear-gradient() is standard.

- - - - - 

Correspondent Blink Issue:
https://bugs.chromium.org/p/chromium/issues/detail?id=947377

- - - - - 

I searched for duplicate and did not find any; I do not know if bug 52378 is still active.

-- 
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/20190329/54c00864/attachment.html>


More information about the webkit-unassigned mailing list