Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include floats in calculation of minimum cell height #2301

Merged
merged 1 commit into from
Nov 12, 2024
Merged

Include floats in calculation of minimum cell height #2301

merged 1 commit into from
Nov 12, 2024

Conversation

liZe
Copy link
Member

@liZe liZe commented Nov 11, 2024

We calculate the height of a cell by rendering the cell as a block after setting an auto height to the cell. This way, it can grow if needed.

But setting the height attribute is not enough: we take care of floats in finish_block_formatting_context, that checks for the style value: we have to fake this value too.

Related to #2216. Fix #2293.

We calculate the height of a cell by rendering the cell as a block after
setting an auto height to the cell. This way, it can grow if needed.

But setting the height attribute is not enough: we take care of floats in
finish_block_formatting_context, that checks for the style value: we have to
fake this value too.

Related to #2216. Fix #2293.
@liZe liZe merged commit d0fcb3c into main Nov 12, 2024
13 checks passed
@liZe liZe deleted the fix_2293 branch November 12, 2024 08:30
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.

v63.0 margin is ignored for block inside inline-block
2 participants