mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-30 14:20:21 +00:00
LibJS+LibWeb: Wrap raw JS::Cell*/& fields in GCPtr/NonnullGCPtr
This commit is contained in:
parent
1df3652e27
commit
7c0c1c8f49
Notes:
sideshowbarker
2024-07-17 00:53:02 +09:00
Author: https://github.com/mattco98
Commit: 7c0c1c8f49
Pull-request: https://github.com/SerenityOS/serenity/pull/17743
Reviewed-by: https://github.com/linusg ✅
214 changed files with 825 additions and 827 deletions
|
@ -321,7 +321,7 @@ CSSPixels FormattingContext::compute_auto_height_for_block_formatting_context_ro
|
|||
// In addition, if the element has any floating descendants
|
||||
// whose bottom margin edge is below the element's bottom content edge,
|
||||
// then the height is increased to include those edges.
|
||||
for (auto* floating_box : m_state.get(root).floating_descendants()) {
|
||||
for (auto floating_box : m_state.get(root).floating_descendants()) {
|
||||
// NOTE: Floating box coordinates are relative to their own containing block,
|
||||
// which may or may not be the BFC root.
|
||||
auto margin_box = margin_box_rect_in_ancestor_coordinate_space(*floating_box, root, m_state);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue