Bug 188961

Summary: An animation expressed in rem units works differently when loading and when reloading
Product: WebKit Reporter: shaojun Zhou <yanjun.zsj>
Component: AnimationsAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: bfulgham, dino, graouts, mmaxfield, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
URL: https://codepen.io/godIsMe/pen/LJGXgM

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>