1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 04:17:35 +00:00

LibWeb: Implement most of the CSS table fixup algorithm

This patch implements the "remove irrelevant boxes" and "generate
missing child wrappers" parts of table fixup.

"Generate missing parents" is left as a task for our future selves.
This commit is contained in:
Andreas Kling 2021-01-07 18:00:51 +01:00
parent 0fd577084f
commit 56c2cc4162
5 changed files with 175 additions and 1 deletions

View file

@ -41,6 +41,8 @@ public:
size_t colspan() const;
static CSS::Display static_display() { return CSS::Display::TableCell; }
private:
virtual float width_of_logical_containing_block() const override;
};