mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-06 17:11:51 +00:00
LibWeb: Add opt-in tracing of invalidate_layout_tree() calls with reason
This commit is contained in:
parent
c333042e63
commit
415079bc11
Notes:
github-actions[bot]
2025-03-08 02:39:05 +00:00
Author: https://github.com/awesomekling
Commit: 415079bc11
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3852
8 changed files with 46 additions and 12 deletions
|
@ -964,7 +964,7 @@ void KeyframeEffect::update_computed_properties()
|
|||
if (invalidation.relayout)
|
||||
document.set_needs_layout();
|
||||
if (invalidation.rebuild_layout_tree)
|
||||
document.invalidate_layout_tree();
|
||||
document.invalidate_layout_tree(DOM::InvalidateLayoutTreeReason::KeyframeEffect);
|
||||
if (invalidation.repaint) {
|
||||
document.set_needs_display();
|
||||
document.set_needs_to_resolve_paint_only_properties();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue