mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 12:19:54 +00:00
LibWeb: Add element adjust_computed_style and move set_property() to it
This commit is contained in:
parent
928287b782
commit
69e4f924b7
Notes:
sideshowbarker
2024-07-17 08:34:29 +09:00
Author: https://github.com/bplaat
Commit: 69e4f924b7
Pull-request: https://github.com/SerenityOS/serenity/pull/23512
9 changed files with 30 additions and 23 deletions
|
@ -2250,6 +2250,9 @@ RefPtr<StyleProperties> StyleComputer::compute_style_impl(DOM::Element& element,
|
|||
// 7. Resolve effective overflow values
|
||||
resolve_effective_overflow_values(style);
|
||||
|
||||
// 8. Let the element adjust computed style
|
||||
element.adjust_computed_style(style);
|
||||
|
||||
return style;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue