diff --git a/components/layout_2020/flow/inline.rs b/components/layout_2020/flow/inline.rs index 552b01b6331..83856afa7c7 100644 --- a/components/layout_2020/flow/inline.rs +++ b/components/layout_2020/flow/inline.rs @@ -2025,8 +2025,6 @@ impl TextRunLineItem { } fn layout(self, state: &mut LineItemLayoutState) -> Option { - // This happens after updating the `max_block_size`, because even trimmed newlines - // should affect the height of the line. if self.text.is_empty() { return None; }