-
Notifications
You must be signed in to change notification settings - Fork 715
[web-animations] Reject both "float" and "offset" in keyframes object #4331
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
if we allow both |
Yes, rejecting |
cc @majido |
Actually, this is already covered by the procedure to process a keyframe-like object. That has:
It only ever does a So in the test case here:
So in step 4 animation properties should be empty. So this appears to be a blink bug. @BorisChiou do you mind adding a WPT for it? Perhaps by adding |
OK, I will add some for |
Add `float` into gNonAnimatableProps so make sure it should be rejected. This has been discussed in w3c/csswg-drafts#4331.
Add `float` into gNonAnimatableProps so make sure it should be rejected. This has been discussed in w3c/csswg-drafts#4331.
Will be fixed in Chromium by https://chromium-review.googlesource.com/c/chromium/src/+/1822622 |
Bug: w3c/csswg-drafts#4331 Change-Id: I82de40b04f5a59a21708724e3c30b2de14818a2a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1822622 Reviewed-by: Kevin Ellis <kevers@chromium.org> Commit-Queue: Stephen McGruer <smcgruer@chromium.org> Cr-Commit-Position: refs/heads/master@{#699774}
…eyframe-like object., a=testonly Automatic update from web-platform-tests [web-animations] Reject "float" in the keyframe-like object. Add `float` into gNonAnimatableProps so make sure it should be rejected. This has been discussed in w3c/csswg-drafts#4331. -- wpt-commits: 936469d6b8c40a84dcd18c506f46ea0c0e308f83 wpt-pr: 19239
…eyframe-like object., a=testonly Automatic update from web-platform-tests [web-animations] Reject "float" in the keyframe-like object. Add `float` into gNonAnimatableProps so make sure it should be rejected. This has been discussed in w3c/csswg-drafts#4331. -- wpt-commits: 936469d6b8c40a84dcd18c506f46ea0c0e308f83 wpt-pr: 19239
…eyframe-like object., a=testonly Automatic update from web-platform-tests [web-animations] Reject "float" in the keyframe-like object. Add `float` into gNonAnimatableProps so make sure it should be rejected. This has been discussed in w3c/csswg-drafts#4331. -- wpt-commits: 936469d6b8c40a84dcd18c506f46ea0c0e308f83 wpt-pr: 19239 UltraBlame original commit: b477df391f593916fc785daece8caf3374d9ed4f
…eyframe-like object., a=testonly Automatic update from web-platform-tests [web-animations] Reject "float" in the keyframe-like object. Add `float` into gNonAnimatableProps so make sure it should be rejected. This has been discussed in w3c/csswg-drafts#4331. -- wpt-commits: 936469d6b8c40a84dcd18c506f46ea0c0e308f83 wpt-pr: 19239 UltraBlame original commit: b477df391f593916fc785daece8caf3374d9ed4f
…eyframe-like object., a=testonly Automatic update from web-platform-tests [web-animations] Reject "float" in the keyframe-like object. Add `float` into gNonAnimatableProps so make sure it should be rejected. This has been discussed in w3c/csswg-drafts#4331. -- wpt-commits: 936469d6b8c40a84dcd18c506f46ea0c0e308f83 wpt-pr: 19239 UltraBlame original commit: b477df391f593916fc785daece8caf3374d9ed4f
…eyframe-like object., a=testonly Automatic update from web-platform-tests [web-animations] Reject "float" in the keyframe-like object. Add `float` into gNonAnimatableProps so make sure it should be rejected. This has been discussed in w3c/csswg-drafts#4331. -- wpt-commits: 936469d6b8c40a84dcd18c506f46ea0c0e308f83 wpt-pr: 19239
Based on the spec, we use
cssFloat
andcssOffset
to representfloat
property andoffset
property for IDL name conversion. We rejectoffset
if is it not a double value because it is a special attribute in BaseKeyframe. For consistency, maybe we should also rejectfloat
in keyframes object, and should only acceptcssFloat
. (It seems Blink still acceptfloat
in keyframes object.)e.g.
@birtles If you agree with this, could we add a note in the spec to mention that we reject both
offset
andfloat
in keyframes object?The text was updated successfully, but these errors were encountered: