servo/components/layout_2020
Martin Robinson d169a82d2e
layout: Implement proper absolute child position for flexbox (#33346)
This implements the requirements outlined in the [flexbox specification]
about how to position absolute children of flex containers. We must
establish a static position rectangle (to use if all insets are auto)
and also align the child into that rectangle.

[flebox specification]: https://drafts.csswg.org/css-flexbox/#abspos-items

Signed-off-by: Martin Robinson <mrobinson@igalia.com>
Co-authored-by: Oriol Brufau <obrufau@igalia.com>
2024-09-09 14:44:16 +00:00
..
display_list tidy: Fix rustdoc warnings and add a tidy check for a common URL issue (#33366) 2024-09-08 15:04:19 +00:00
flexbox layout: Implement proper absolute child position for flexbox (#33346) 2024-09-09 14:44:16 +00:00
flow layout: Implement proper absolute child position for flexbox (#33346) 2024-09-09 14:44:16 +00:00
fragment_tree layout: Implement proper absolute child position for flexbox (#33346) 2024-09-09 14:44:16 +00:00
table layout: Implement proper absolute child position for flexbox (#33346) 2024-09-09 14:44:16 +00:00
tests Remove lazy static (#33078) 2024-08-16 03:57:09 +00:00
Cargo.toml layout: Stop using unicode-segmentation in layout (#33250) 2024-08-29 14:51:39 +00:00
cell.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
context.rs Rename gfx to fonts (#32556) 2024-06-19 20:26:19 +00:00
dom.rs clippy: Fix warnings in shared and config, fonts, layout, and layout_2020 components (#32674) 2024-07-04 14:18:58 +00:00
dom_traversal.rs layout: Fix display of new text in textarea elements (#32886) 2024-07-30 14:39:17 +00:00
formatting_contexts.rs Fix various issues with replaced elements in flex layout (#33263) 2024-08-30 23:39:18 +00:00
geom.rs layout: Implement proper absolute child position for flexbox (#33346) 2024-09-09 14:44:16 +00:00
layout_debug.rs clippy: Fix warnings in shared and config, fonts, layout, and layout_2020 components (#32674) 2024-07-04 14:18:58 +00:00
lib.rs layout: Add an indefinite containing block for intrinsic sizing (#33204) 2024-08-29 14:10:46 +00:00
lists.rs layout: Add a basic support for list-style-position: outside (#32114) 2024-04-22 14:23:35 +00:00
positioned.rs layout: Implement proper absolute child position for flexbox (#33346) 2024-09-09 14:44:16 +00:00
query.rs layout: Prepare for bidi by guarding all access to writing-mode (#33082) 2024-08-16 11:38:04 +00:00
replaced.rs Fix various issues with replaced elements in flex layout (#33263) 2024-08-30 23:39:18 +00:00
sizing.rs Fix various issues with replaced elements in flex layout (#33263) 2024-08-30 23:39:18 +00:00
style_ext.rs layout: Implement proper absolute child position for flexbox (#33346) 2024-09-09 14:44:16 +00:00
traversal.rs script: Split style and layout data in DOM nodes (#31985) 2024-04-04 07:56:51 +00:00