| Summary: | Weird rendering bug in rendering of a rem unit provided through a custom property when two animations present | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Roman Komarov <kizmarh> | ||||||
| Component: | Animations | Assignee: | Nobody <webkit-unassigned> | ||||||
| Status: | NEW --- | ||||||||
| Severity: | Normal | CC: | dino, graouts, karlcow, simon.fraser, webkit-bug-importer, zalan | ||||||
| Priority: | P2 | Keywords: | BrowserCompat, InRadar | ||||||
| Version: | Safari 16 | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Attachments: |
|
||||||||
|
Description
Roman Komarov
2023-06-28 12:17:40 PDT
Created attachment 466862 [details]
rendering in safari, firefox, chrome
Safari Technology Preview 173 19616.1.20.2
Firefox Nightly 116.0a1 11623.6.28
Google Chrome Canary 117.0.5859.0 5859.0
```
@keyframes with-bg {
from {
background: pink;
}
}
@keyframes with-variable {
from {
--foo: initial;
}
}
.item {
--height: 2rem;
height: var(--height);
animation:
with-bg reverse forwards,
with-variable forwards;
}
```
2em, 2ex are working but not 2rem
|