[csswg-drafts] [css-animations-1] Font-relative units in keyframes (#3751)

andruud has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-animations-1] Font-relative units in keyframes ==
What does `em` resolve against in the following animation?

```
@keyframes anim1 {
    from { font-size: 10px; width: 10em; }
    to   { font-size: 20px; width: 20em; }
}
```

In Chrome, `anim1` produces an animation for `width` in `em`-space, where `em` is resolved against the animated `font-size` for each frame.

In FF, `anim1` produces an animation for `width` from `160px` to `320px`, i.e. the `font-size` of the keyframe is ignored.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3751 using your GitHub account

Received on Wednesday, 20 March 2019 14:15:09 UTC