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

Support CSS Block layout (Display::Block) #405

Closed
Tracked by #345
nicoburns opened this issue Mar 22, 2023 · 0 comments · Fixed by #474
Closed
Tracked by #345

Support CSS Block layout (Display::Block) #405

nicoburns opened this issue Mar 22, 2023 · 0 comments · Fixed by #474
Labels
enhancement New feature or request
Milestone

Comments

@nicoburns
Copy link
Collaborator

nicoburns commented Mar 22, 2023

What problem does this solve or what need does it fill?

While it is a quirky layout mode that's not ideally suited to application layout, it is commonly used in web layouts and is a necessary for anyone wishing to do full HTML/CSS layout accurately.

What solution would you like?

Implement support for Display::Block in Taffy:

Additional context

This may potentially clash with some of the proposed changes in #326 as Block layout seems to require access to the styles of descendent nodes that are not direct children. However, this would also be required for Subgrid layout, and I think it can be resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant