layout: Add documentation about table layout (#31535)

Co-authored-by: Oriol Brufau <obrufau@igalia.com>
This commit is contained in:
Martin Robinson 2024-03-08 13:57:23 +01:00 committed by GitHub
parent dd6c929cc6
commit 7e8a1503ba
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 61 additions and 6 deletions

View file

@ -73,7 +73,7 @@ struct ColumnLayout {
/// A helper struct that performs the layout of the box tree version
/// of a table into the fragment tree version. This implements
/// <https://drafts.csswg.org/css-tables/#table-layout-algorithm>
struct TableLayout<'a> {
pub(crate) struct TableLayout<'a> {
table: &'a Table,
pbm: PaddingBorderMargin,
rows: Vec<RowLayout>,