1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-28 11:15:10 +00:00

LibWeb: Rename Layout::Node::style() => computed_values()

This commit is contained in:
Andreas Kling 2021-01-06 11:07:02 +01:00
parent e187a5365a
commit e5490ae1d1
6 changed files with 22 additions and 22 deletions

View file

@ -43,7 +43,7 @@ StackingContext::StackingContext(Box& box, StackingContext* parent)
// FIXME: Don't sort on every append..
quick_sort(m_parent->m_children, [](auto& a, auto& b) {
return a->m_box.style().z_index().value_or(0) < b->m_box.style().z_index().value_or(0);
return a->m_box.computed_values().z_index().value_or(0) < b->m_box.computed_values().z_index().value_or(0);
});
}
}