WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
179942
cross-fade(...) grammar/parsing does not match latest spec
https://bugs.webkit.org/show_bug.cgi?id=179942
Summary
cross-fade(...) grammar/parsing does not match latest spec
Fredrik Söderquist
Reported
2017-11-22 05:31:21 PST
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.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2017-11-27 12:59:08 PST
<
rdar://problem/35705284
>
Chris Nardi
Comment 2
2018-01-28 12:55:00 PST
I raised a spec issue for this at
https://github.com/w3c/csswg-drafts/issues/2234
.
Ahmad Saleem
Comment 3
2023-04-07 21:36:25 PDT
https://jsfiddle.net/ericwilligers/jLjn13c6/
_______ Safari 16.4: cross-fade(url("
https://example.com/foo.png
"), url("
https://example.com/bar.png
"), 0.2) Chrome Canary 114: -webkit-cross-fade(url("
https://example.com/foo.png
"), url("
https://example.com/bar.png
"), 0.2) Firefox Nightly 113: url("
https://example.com/foo.png
")
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug