mirror of
https://github.com/servo/servo.git
synced 2025-07-22 14:53:49 +01:00
Remove a comment that is no longer valid (#30806)
The update of `max_block_size` here no longer happens.
This commit is contained in:
parent
cdbd60fe53
commit
20a73721de
1 changed files with 0 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue