mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 22:47:47 +00:00
LibWeb: Add ViewportPaintable to represent viewports in the paint tree
This patch just adds the new root paintable and updates the tests expectations. The next patch will move painting logic from the layout viewport to the paint viewport.
This commit is contained in:
parent
136ac1a6a5
commit
c01c4b41e2
389 changed files with 441 additions and 384 deletions
|
@ -29,6 +29,8 @@ public:
|
|||
void recompute_selection_states();
|
||||
|
||||
private:
|
||||
virtual JS::GCPtr<Painting::Paintable> create_paintable() const override;
|
||||
|
||||
void build_stacking_context_tree();
|
||||
virtual bool is_viewport() const override { return true; }
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue