servo/components/layout_2020
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
..
display_list script: Do not run layout in a thread (#31346) 2024-02-23 08:14:10 +00:00
flexbox make ContainingBlock use Au for inline_size and block_size (#31370) 2024-02-20 09:14:44 +00:00
flow Support <div align="..."> and <center> on inline layout (#31388) 2024-02-23 15:36:36 +00:00
fragment_tree layout: Add support for table rows, columns, rowgroups and colgroups (#31341) 2024-02-20 13:22:02 +00:00
table layout: Add support for table rows, columns, rowgroups and colgroups (#31341) 2024-02-20 13:22:02 +00:00
tests layout: Add initial support for text-transform (#31396) 2024-02-22 14:15:59 +00:00
Cargo.toml layout: Add initial support for text-transform (#31396) 2024-02-22 14:15:59 +00:00
cell.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
context.rs Lint layout_2020 with clippy (#31169) 2024-01-25 09:03:31 +00:00
dom.rs Lint layout_2020 with clippy (#31169) 2024-01-25 09:03:31 +00:00
dom_traversal.rs Lint layout_2020 with clippy (#31169) 2024-01-25 09:03:31 +00:00
formatting_contexts.rs layout: Start work on table row height and vertical-align (#31246) 2024-02-10 08:03:01 +00:00
geom.rs make ContainingBlock use Au for inline_size and block_size (#31370) 2024-02-20 09:14:44 +00:00
layout_debug.rs Lint layout_2020 with clippy (#31169) 2024-01-25 09:03:31 +00:00
lib.rs make ContainingBlock use Au for inline_size and block_size (#31370) 2024-02-20 09:14:44 +00:00
lists.rs rustdoc: Fix many rustdoc errors (#31147) 2024-01-22 13:13:48 +00:00
positioned.rs layout: Add support for table rows, columns, rowgroups and colgroups (#31341) 2024-02-20 13:22:02 +00:00
query.rs script: Do not run layout in a thread (#31346) 2024-02-23 08:14:10 +00:00
replaced.rs style: Remove dependency on servo_url (#31358) 2024-02-16 11:56:35 +00:00
sizing.rs layout: Implement computation of table column widths (#31165) 2024-01-25 23:13:13 +00:00
style_ext.rs make ContainingBlock use Au for inline_size and block_size (#31370) 2024-02-20 09:14:44 +00:00
traversal.rs Lint layout_2020 with clippy (#31169) 2024-01-25 09:03:31 +00:00