mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 04:09:13 +00:00
LibWeb: Skip backing store allocation for traversables created for SVG
Recently, we moved the backing store manager into Navigable, which means we now try to allocate a backing store for all navigables, including those corresponding to SVG image documents. This change disables that behavior for all navigables except top-level non-SVG traversables, because otherwise it causes issues when we stop repainting: the browser process was notified about an allocated backing stores that does not correspond to the page, and then all subsequent repaints are ignored until the window is resized.
This commit is contained in:
parent
1e0013a3bc
commit
4f9aca4302
Notes:
github-actions[bot]
2025-07-12 22:07:43 +00:00
Author: https://github.com/kalenikaliaksandr
Commit: 4f9aca4302
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5419
2 changed files with 5 additions and 0 deletions
|
@ -220,6 +220,8 @@ public:
|
|||
|
||||
void set_should_show_line_box_borders(bool value) { m_should_show_line_box_borders = value; }
|
||||
|
||||
bool is_svg_page() const { return m_is_svg_page; }
|
||||
|
||||
template<typename T>
|
||||
bool fast_is() const = delete;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue