Bug 188961
| Summary: | An animation expressed in rem units works differently when loading and when reloading | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | shaojun Zhou <yanjun.zsj> |
| Component: | Animations | Assignee: | 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 | ||
shaojun Zhou
只有第一次打开的时候是正常的,刷新后,animation的rem计算就不是按html的font-size来计算了。其他样式内的rem计算没问题,问题demo地址:https://codepen.io/godIsMe/pen/LJGXgM
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Alexey Proskuryakov
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
<rdar://problem/43941977>
Radar WebKit Bug Importer
<rdar://problem/43941984>