[Webkit-unassigned] [Bug 141023] New: WebKit incorrectly treats unitless "0" in -webkit-animation value as "animation-delay", instead of "animation-iteration-count"
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Jan 28 19:17:14 PST 2015
https://bugs.webkit.org/show_bug.cgi?id=141023
Bug ID: 141023
Summary: WebKit incorrectly treats unitless "0" in
-webkit-animation value as "animation-delay", instead
of "animation-iteration-count"
Classification: Unclassified
Product: WebKit
Version: 528+ (Nightly build)
Hardware: PC
OS: Linux
Status: NEW
Severity: Normal
Priority: P2
Component: Animations
Assignee: webkit-unassigned at lists.webkit.org
Reporter: dholbert at mozilla.com
CC: dino at apple.com
Created attachment 245599
--> https://bugs.webkit.org/attachment.cgi?id=245599&action=review
testcase 1
STR:
1. Load attached testcase.
EXPECTED RESULTS:
Lime background on div.
ACTUAL RESULTS:
Red background on div.
Firefox 35 gives me EXPECTED RESULTS.
These webkit-based browsers on Ubuntu 14.10 give me ACTUAL RESULTS:
- epiphany-browser 3.10.3, using libwebkit2gtk-3.0-25
- Midori 0.4.3, not sure what webkit version
DISCUSSION:
The testcase has:
-webkit-animation: fadeIn 1s ease both 0;
animation: fadeIn 1s ease both 0;
It seems that webkit is parsing the final "0" there as a valid <time> and hence using it as an "animation-delay" value. However, it's not a valid <time> -- CSS <time> values require units. So it should instead be interpreted as an "animation-iteration-count" value, and be interpreted to mean that the animation shouldn't play (or should freeze at its first frame).
See https://code.google.com/p/chromium/issues/detail?id=453182 for corresponding blink bug, with more discussion of the spec & how <time> requires units. (particularly comments number 6 and 7 there.)
--
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/20150129/c96baf87/attachment-0002.html>
More information about the webkit-unassigned
mailing list