mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 20:29:18 +00:00
parent
a0b44ff5e7
commit
85b424464a
Notes:
github-actions[bot]
2025-01-21 16:49:39 +00:00
Author: https://github.com/trflynn89
Commit: 85b424464a
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3335
191 changed files with 574 additions and 574 deletions
|
@ -158,7 +158,7 @@ CSSPixels InlineLevelIterator::next_non_whitespace_sequence_width()
|
|||
break;
|
||||
if (next_item.is_collapsible_whitespace)
|
||||
break;
|
||||
auto& next_text_node = verify_cast<Layout::TextNode>(*(next_item.node));
|
||||
auto& next_text_node = as<Layout::TextNode>(*(next_item.node));
|
||||
auto next_view = next_text_node.text_for_rendering().bytes_as_string_view().substring_view(next_item.offset_in_node, next_item.length_in_node);
|
||||
if (next_view.is_whitespace())
|
||||
break;
|
||||
|
@ -614,7 +614,7 @@ Optional<InlineLevelIterator::Item> InlineLevelIterator::next_without_lookahead(
|
|||
const_cast<Layout::ReplacedBox&>(replaced_box).prepare_for_replaced_layout();
|
||||
}
|
||||
|
||||
auto& box = verify_cast<Layout::Box>(*m_current_node);
|
||||
auto& box = as<Layout::Box>(*m_current_node);
|
||||
auto& box_state = m_layout_state.get(box);
|
||||
m_inline_formatting_context.dimension_box_on_line(box, m_layout_mode);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue