Bug 188961 - An animation expressed in rem units works differently when loading and when reloading
Summary: An animation expressed in rem units works differently when loading and when r...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Animations (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL: https://codepen.io/godIsMe/pen/LJGXgM
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2018-08-26 20:55 PDT by shaojun Zhou
Modified: 2018-08-31 08:57 PDT (History)
7 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description shaojun Zhou 2018-08-26 20:55:48 PDT
只有第一次打开的时候是正常的,刷新后,animation的rem计算就不是按html的font-size来计算了。其他样式内的rem计算没问题,问题demo地址:https://codepen.io/godIsMe/pen/LJGXgM
Comment 1 Alexey Proskuryakov 2018-08-30 10:36:24 PDT
Google translate says:

It is normal only when it is first opened. After the refresh, the animation's rem calculation is not calculated according to the html font-size. The rem calculation in other styles is no problem, the problem demo address: https://codepen.io/godIsMe/pen/LJGXgM
Comment 2 Radar WebKit Bug Importer 2018-08-31 08:57:01 PDT
<rdar://problem/43941977>
Comment 3 Radar WebKit Bug Importer 2018-08-31 08:57:03 PDT
<rdar://problem/43941984>