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 <div align="..."> and <center> in block layout #31423

Merged
merged 1 commit into from Feb 26, 2024

Commits on Feb 26, 2024

  1. Support <div align="..."> and <center> in block layout

    As per HTML [1], <div align="..."> and <center> should align descendants
    to the left/center/right. This is similar to having 'auto' margins [2],
    but without changing their used values [3].
    
    [1]: https://html.spec.whatwg.org/multipage/rendering.html#flow-content-3
    [2]: https://html.spec.whatwg.org/multipage/rendering.html#align-descendants
    [3]: whatwg/html#10149
    Loirooriol committed Feb 26, 2024
    Configuration menu
    Copy the full SHA
    c9496b6 View commit details
    Browse the repository at this point in the history