mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 23:47:45 +00:00
LibWeb: Fix invalidation of CSS properties that do not affect layout
Recently, we moved the resolution of CSS properties that do not affect layout to occur within LayoutState::commit(). This decision was a mistake as it breaks invalidation. With this change, we now re-resolve all properties that do not affect layout before each repaint.
This commit is contained in:
parent
955d73657e
commit
1af466babf
11 changed files with 314 additions and 250 deletions
|
@ -14,7 +14,7 @@
|
|||
namespace Web::Painting {
|
||||
|
||||
class PaintableFragment {
|
||||
friend struct Layout::LayoutState;
|
||||
friend class ViewportPaintable;
|
||||
|
||||
public:
|
||||
explicit PaintableFragment(Layout::LineBoxFragment const&);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue