1
Fork 0
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:
Aliaksandr Kalenik 2023-01-09 07:17:28 +03:00 committed by Andreas Kling
parent 1bdc4e6b29
commit c8337e9ee8
3 changed files with 7 additions and 10 deletions

View file

@ -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>);