mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:47:36 +00:00
LibWeb: Remove inheritance of TableRowGroupBox
from BlockContainer
Having `TableRowGroupBox` not inherited from `BlockContainer` allows to write more simpler layout code.
This commit is contained in:
parent
1bdc4e6b29
commit
c8337e9ee8
3 changed files with 7 additions and 10 deletions
|
@ -6,12 +6,12 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <LibWeb/Layout/BlockContainer.h>
|
||||
#include <LibWeb/Layout/Box.h>
|
||||
|
||||
namespace Web::Layout {
|
||||
|
||||
class TableRowGroupBox final : public BlockContainer {
|
||||
JS_CELL(TableRowGroupBox, BlockContainer);
|
||||
class TableRowGroupBox final : public Box {
|
||||
JS_CELL(TableRowGroupBox, Box);
|
||||
|
||||
public:
|
||||
TableRowGroupBox(DOM::Document&, DOM::Element*, NonnullRefPtr<CSS::StyleProperties>);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue