aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout_2020/fragment_tree/mod.rs
diff options
context:
space:
mode:
authorMartin Robinson <mrobinson@igalia.com>2024-02-20 14:22:02 +0100
committerGitHub <noreply@github.com>2024-02-20 13:22:02 +0000
commit02ae1f448ef3cae3cd0a58dbd145a741b8561f5b (patch)
tree62ba458722ba45720958aff9763e34bf2a732f7b /components/layout_2020/fragment_tree/mod.rs
parent74c07db56c281787009c8f1c1bd311f4fd3f6d19 (diff)
downloadservo-02ae1f448ef3cae3cd0a58dbd145a741b8561f5b.tar.gz
servo-02ae1f448ef3cae3cd0a58dbd145a741b8561f5b.zip
layout: Add support for table rows, columns, rowgroups and colgroups (#31341)
This adds support for table rows, columns, rowgroups and colgroups. There are few additions here: 1. The createion of fragments, which allows script queries and hit testing to work properly. These fragments are empty as all cells are still direct descendants of the table fragment. 2. Properly handling size information from tracks and track groups as well as frustrating rules about reordering rowgroups. 3. Painting a background seemlessly across track groups and groups. This is a thing that isn't done in legacy layout (nor WebKit)! Co-authored-by: Oriol Brufau <obrufau@igalia.com>
Diffstat (limited to 'components/layout_2020/fragment_tree/mod.rs')
-rw-r--r--components/layout_2020/fragment_tree/mod.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/components/layout_2020/fragment_tree/mod.rs b/components/layout_2020/fragment_tree/mod.rs
index 03e112d7adf..4579638685a 100644
--- a/components/layout_2020/fragment_tree/mod.rs
+++ b/components/layout_2020/fragment_tree/mod.rs
@@ -8,6 +8,7 @@ mod containing_block;
mod fragment;
mod fragment_tree;
mod hoisted_shared_fragment;
+mod positioning_fragment;
pub(crate) use base_fragment::*;
pub(crate) use box_fragment::*;
@@ -15,3 +16,4 @@ pub(crate) use containing_block::*;
pub(crate) use fragment::*;
pub use fragment_tree::*;
pub(crate) use hoisted_shared_fragment::*;
+pub(crate) use positioning_fragment::*;