| Summary: | Render issue with CSS media-query targeting prefers-reduced-motion and with reduce motion enabled | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Stuart Colville <stuart> |
| Component: | CSS | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW --- | ||
| Severity: | Normal | CC: | cfleizach, dante3333, dino, graouts, jcraig, mmso, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Other | ||
| Hardware: | All | ||
| OS: | Unspecified | ||
|
Description
Stuart Colville
2022-07-08 08:52:25 PDT
A workaround is to use `transition-duration: 0s` see https://jsbin.com/buzoseq/9/edit?html,css,js,output (In reply to Stuart Colville from comment #1) > A workaround is to use `transition-duration: 0s` see > https://jsbin.com/buzoseq/9/edit?html,css,js,output Actually, this workaround isn't viable, a non-zero value is still needed otherwise transition events don't fire. `transition-duration: 0.01ms` seems to work (and still fires ontransitionrun and ontransitionend whereas `transition-duration: 0.001ms` causes the visibility issue (though this needs further testing - it works on desktop Safari). Here's an updated test-case using `transition-duration: 0.01ms` and showing the events firing: https://jsbin.com/buzoseq/19/edit?html,css,js,console,output |