Bug 78494
| Summary: | When transforms are transitioned to cause overflow, scrollbars do not appear until transition finishes | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Boris Zbarsky <bzbarsky> |
| Component: | CSS | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | ahmad.saleem792, andersca, simon.fraser |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| URL: | https://bugzilla.mozilla.org/attachment.cgi?id=596623 | ||
Boris Zbarsky
See https://bugzilla.mozilla.org/attachment.cgi?id=596623 for a testcase.
Gecko and Presto get this right: the scrollbar appears once there is overflow.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Simon Fraser (smfr)
This is somewhat by design. We don't want to slow down accelerated transform animations by having to recompute overflow for every frame. Perhaps we could recompute overflow at the start of the transition, using the final transform value though.
Boris Zbarsky
If you think the spec should allow this behavior, then it should probably do so explicitly...
Ahmad Saleem
WebKit ToT (266957@main) only get 'horizontal' scrollbar once the 'text' go out of window view while Firefox Nightly 118 and Chrome Canary 118 show 'horizontal' scrollbar from start.