WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
188961
An animation expressed in rem units works differently when loading and when reloading
https://bugs.webkit.org/show_bug.cgi?id=188961
Summary
An animation expressed in rem units works differently when loading and when r...
shaojun Zhou
Reported
2018-08-26 20:55:48 PDT
只有第一次打开的时候是正常的,刷新后,animation的rem计算就不是按html的font-size来计算了。其他样式内的rem计算没问题,问题demo地址:
https://codepen.io/godIsMe/pen/LJGXgM
Attachments
Add attachment
proposed patch, testcase, etc.
Alexey Proskuryakov
Comment 1
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
Radar WebKit Bug Importer
Comment 2
2018-08-31 08:57:01 PDT
<
rdar://problem/43941977
>
Radar WebKit Bug Importer
Comment 3
2018-08-31 08:57:03 PDT
<
rdar://problem/43941984
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug