mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:37:35 +00:00
LibWeb: Make layout tree have non-const pointers to the DOM
Const pointers into the DOM was a nice idea, but in practice, there are too many situations where the layout tree wants to some non-const thing to the DOM.
This commit is contained in:
parent
a4eadeb80d
commit
fffc5896d8
33 changed files with 38 additions and 43 deletions
|
@ -30,11 +30,9 @@
|
|||
|
||||
namespace Web {
|
||||
|
||||
class LayoutTableRow;
|
||||
|
||||
class LayoutTable final : public LayoutBlock {
|
||||
public:
|
||||
LayoutTable(DOM::Document&, const DOM::Element&, NonnullRefPtr<CSS::StyleProperties>);
|
||||
LayoutTable(DOM::Document&, DOM::Element&, NonnullRefPtr<CSS::StyleProperties>);
|
||||
virtual ~LayoutTable() override;
|
||||
|
||||
virtual void layout(LayoutMode = LayoutMode::Default) override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue