[Webkit-unassigned] [Bug 203442] New: calc() serialization doesn't match the spec

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Oct 25 18:34:28 PDT 2019


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

            Bug ID: 203442
           Summary: calc() serialization doesn't match the spec
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: simon.fraser at apple.com

We fail a lot of calc() WPT because our serialization doesn't match the spec. There are a few problems:
* we fail to simplify calc(1 + -2) to calc(1 - 2)
* we don't sort the arguments
* we serialize min(a, b) as calc(min(a, b))
* we serialize calc(a + b + c) as calc(a + (b + c))

-- 
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/20191026/e67a0425/attachment-0001.htm>


More information about the webkit-unassigned mailing list