mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-20 00:08:55 +00:00
LibWeb: Improve style propagation to anonymous wrappers
- We now propagate changes in font and line-height to anonymous wrappers when doing a partial style update after invalidation. - We no longer (incorrectly) propagate style from table wrapper boxes to the table root, since inheritance works in the other direction. Fixes #22395
This commit is contained in:
parent
242d1d8eba
commit
4a35693dd7
Notes:
sideshowbarker
2024-07-17 03:03:15 +09:00
Author: https://github.com/awesomekling
Commit: 4a35693dd7
Pull-request: https://github.com/SerenityOS/serenity/pull/22642
Issue: https://github.com/SerenityOS/serenity/issues/22395
6 changed files with 94 additions and 8 deletions
|
@ -237,6 +237,7 @@ protected:
|
|||
|
||||
private:
|
||||
void reset_table_box_computed_values_used_by_wrapper_to_init_values();
|
||||
void propagate_style_to_anonymous_wrappers();
|
||||
|
||||
CSS::ComputedValues m_computed_values;
|
||||
RefPtr<Gfx::FontCascadeList const> m_font_list;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue