mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:47:44 +00:00
LibWeb: Remove inheritance of TableBox
from BlockContainer
Fixup rule that table roots need to be wrapped in anonymous block boxes need to be implemeted instead of having `TableBox` inherited from `BlockContainer`.
This commit is contained in:
parent
c8337e9ee8
commit
e107c83a57
4 changed files with 7 additions and 7 deletions
|
@ -6,12 +6,12 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <LibWeb/Layout/BlockContainer.h>
|
||||
#include <LibWeb/Layout/Box.h>
|
||||
|
||||
namespace Web::Layout {
|
||||
|
||||
class TableBox final : public Layout::BlockContainer {
|
||||
JS_CELL(TableBox, BlockContainer);
|
||||
class TableBox final : public Layout::Box {
|
||||
JS_CELL(TableBox, Box);
|
||||
|
||||
public:
|
||||
TableBox(DOM::Document&, DOM::Element*, NonnullRefPtr<CSS::StyleProperties>);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue