Skip to content

Conversation

@InvalidUsernameException
Copy link
Contributor

@InvalidUsernameException InvalidUsernameException commented Nov 26, 2025

Clip frames for overflow were applied based on whether the box in question had a non-identity matrix transformation associated with it. That however is not correct, since specifying a no-op transform like scale(1) still needs to apply clip overflow rectangles. So instead we need to check whether the element associated with the box in question has any CSS transforms.

This appears to have been a regression from 9bbc1cd (#6285) and effectively reverts that commit, but keeps its effect by unifying on the check for CSS transforms instead.

This fixes some background boxes being rendered for the invisible items of the carousels on https://computerbase.de/.

Before:
Before

After:
After

/cc @kalenikaliaksandr

Clip frames for overflow were applied based on whether the box in
question had a non-identity matrix transformation associated with it.
That however is not correct, since specifying a no-op transform like
`scale(1)` still needs to apply clip overflow rectangles. So instead we
need to check whether the element associated with the box in question
has any CSS transforms.

This appears to have been a regression from
9bbc1cd and effectively reverts that
commit, but keeps its effect by unifying on the check for CSS transforms
instead.

This fixes some background boxes being rendered for the invisible items
of the carousels on https://computerbase.de/.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants