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:
parent
e187a5365a
commit
e5490ae1d1
6 changed files with 22 additions and 22 deletions
|
@ -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);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue