servo/components/layout_2020/flow
Oriol Brufau 38d2ad9592
Support <div align="..."> and <center> on inline layout (#31388)
As per HTML [1], <div align="..."> and <center> should behave as if they
had the text-align property set to the corresponding value.

Servo implements that as internal text-align values because there should
the extra effect of aligning block descendants, but that part has not
been implemented yet. This patch only adds support for inline layout.

[1]: https://html.spec.whatwg.org/multipage/rendering.html#flow-content-3
2024-02-23 15:36:36 +00:00
..
construct.rs layout: Do whitespace collapse during breaking and shaping (#31322) 2024-02-13 23:08:00 +00:00
float.rs make ContainingBlock use Au for inline_size and block_size (#31370) 2024-02-20 09:14:44 +00:00
inline.rs Support <div align="..."> and <center> on inline layout (#31388) 2024-02-23 15:36:36 +00:00
line.rs layout: make padding and border use Au in pbm (#31289) 2024-02-12 22:49:50 +00:00
mod.rs Do not adjust margins in over-constrained cases (#31345) 2024-02-21 17:07:20 +00:00
root.rs make size of DefiniteContainingBlock use app units (#31369) 2024-02-17 01:10:14 +00:00
text_run.rs layout: Add initial support for text-transform (#31396) 2024-02-22 14:15:59 +00:00