mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 09:19:03 +00:00
LibWeb/Painting: Call Base::resolve_paint_properties() from children
This commit is contained in:
committed by
Andreas Kling
parent
d127d412c8
commit
fd2414ba35
@@ -1214,6 +1214,8 @@ CSSPixelRect PaintableBox::transform_box_rect() const
|
|||||||
|
|
||||||
void PaintableBox::resolve_paint_properties()
|
void PaintableBox::resolve_paint_properties()
|
||||||
{
|
{
|
||||||
|
Base::resolve_paint_properties();
|
||||||
|
|
||||||
auto const& computed_values = this->computed_values();
|
auto const& computed_values = this->computed_values();
|
||||||
auto const& layout_node = this->layout_node();
|
auto const& layout_node = this->layout_node();
|
||||||
|
|
||||||
@@ -1316,7 +1318,7 @@ void PaintableBox::resolve_paint_properties()
|
|||||||
|
|
||||||
void PaintableWithLines::resolve_paint_properties()
|
void PaintableWithLines::resolve_paint_properties()
|
||||||
{
|
{
|
||||||
PaintableBox::resolve_paint_properties();
|
Base::resolve_paint_properties();
|
||||||
|
|
||||||
auto const& layout_node = this->layout_node();
|
auto const& layout_node = this->layout_node();
|
||||||
for (auto const& fragment : fragments()) {
|
for (auto const& fragment : fragments()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user