mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-09 09:34:57 +09:00
LibWeb/Painting: Call Base::resolve_paint_properties() from children
This commit is contained in:
parent
d127d412c8
commit
fd2414ba35
Notes:
github-actions[bot]
2025-02-28 12:51:35 +00:00
Author: https://github.com/AtkinsSJ
Commit: fd2414ba35
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3644
1 changed files with 3 additions and 1 deletions
|
@ -1214,6 +1214,8 @@ CSSPixelRect PaintableBox::transform_box_rect() const
|
|||
|
||||
void PaintableBox::resolve_paint_properties()
|
||||
{
|
||||
Base::resolve_paint_properties();
|
||||
|
||||
auto const& computed_values = this->computed_values();
|
||||
auto const& layout_node = this->layout_node();
|
||||
|
||||
|
@ -1316,7 +1318,7 @@ void PaintableBox::resolve_paint_properties()
|
|||
|
||||
void PaintableWithLines::resolve_paint_properties()
|
||||
{
|
||||
PaintableBox::resolve_paint_properties();
|
||||
Base::resolve_paint_properties();
|
||||
|
||||
auto const& layout_node = this->layout_node();
|
||||
for (auto const& fragment : fragments()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue