mirror of
https://github.com/servo/servo.git
synced 2025-08-08 06:55:31 +01:00
Add initial support for table box tree construction (#30799)
This is the first part of constructing the box tree for table layout. No layout is actually done and the construction of tables is now hidden behind a flag (in order to not regress WPT). Notably, this does not handle anonymous table part construction, when the DOM does not reflect a fully-formed table. That's part two. Progress toward #27459. Co-authored-by: Oriol Brufau <obrufau@igalia.com> Co-authored-by: Manish Goregaokar <manishsmail@gmail.com>
This commit is contained in:
parent
63701b338c
commit
f0b4162328
12 changed files with 919 additions and 18 deletions
|
@ -2248,6 +2248,11 @@ impl AbsolutelyPositionedLineItem {
|
|||
block: Length::zero(),
|
||||
}
|
||||
},
|
||||
Display::GeneratingBox(DisplayGeneratingBox::LayoutInternal(_)) => {
|
||||
unreachable!(
|
||||
"The result of blockification should never be a layout-internal value."
|
||||
);
|
||||
},
|
||||
Display::Contents => {
|
||||
panic!("display:contents does not generate an abspos box")
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue