[Webkit-unassigned] [Bug 179942] New: cross-fade(...) grammar/parsing does not match latest spec

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 22 05:31:21 PST 2017


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

            Bug ID: 179942
           Summary: cross-fade(...) grammar/parsing does not match latest
                    spec
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
               URL: https://drafts.csswg.org/css-images/#cross-fade-functi
                    on
                OS: Unspecified
            Status: NEW
          Keywords: FromImplementor, WebExposed
          Severity: Normal
          Priority: P2
         Component: Images
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: fs at opera.com
                CC: simon.fraser at apple.com

Copied from https://bugs.webkit.org/show_bug.cgi?id=157632#c3 :
---

Webkit implementation of the grammar and the latest spec are not the same.

cross-fade() = cross-fade( <cf-mixing-image> , <cf-final-image>? )
<cf-mixing-image> = <percentage>? && <image>
<cf-final-image> = <image> | <color>

So we have to put the percentage in front of it, and remove the comma.

Before:
-webkit-cross-fade(url(foo.png), url(bar.png), 20%)

After:
cross-fade(20% url(foo.png), url(bar.png))
---

If WontFixing this, then please consider raising an issue with the spec to change to the currently implemented grammar.

-- 
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/20171122/b1c59c32/attachment.html>


More information about the webkit-unassigned mailing list