mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 03:57:44 +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
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