aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--components/layout_2020/flow/inline.rs2
1 files changed, 0 insertions, 2 deletions
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<TextFragment> {
- // 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;
}