1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 02:37:42 +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

@ -35,6 +35,8 @@ public:
TableBox(DOM::Document&, DOM::Element*, NonnullRefPtr<CSS::StyleProperties>);
TableBox(DOM::Document&, DOM::Element*, CSS::ComputedValues);
virtual ~TableBox() override;
static CSS::Display static_display() { return CSS::Display::Table; }
};
}