diff options
author | Martin Robinson <mrobinson@igalia.com> | 2023-12-01 13:48:22 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-01 12:48:22 +0000 |
commit | 20a73721de2f1a8a0b29905617783148bd3cfaff (patch) | |
tree | 660bf88a55f10b323b9e408ae5deee1dd989a57a | |
parent | cdbd60fe53f64f08efcf9715c4655e38cd1d7ddd (diff) | |
download | servo-20a73721de2f1a8a0b29905617783148bd3cfaff.tar.gz servo-20a73721de2f1a8a0b29905617783148bd3cfaff.zip |
Remove a comment that is no longer valid (#30806)
The update of `max_block_size` here no longer happens.
-rw-r--r-- | components/layout_2020/flow/inline.rs | 2 |
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; } |