mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
reduce max_inline_size inside breaking strategy by border_padding
This commit is contained in:
parent
aa900b91aa
commit
ba0a670876
1 changed files with 1 additions and 1 deletions
|
@ -1644,7 +1644,7 @@ impl Fragment {
|
|||
_ => return None,
|
||||
};
|
||||
|
||||
let mut remaining_inline_size = max_inline_size;
|
||||
let mut remaining_inline_size = max_inline_size - self.border_padding.inline_start_end();
|
||||
let mut inline_start_range = Range::new(text_fragment_info.range.begin(), ByteIndex(0));
|
||||
let mut inline_end_range = None;
|
||||
let mut overflowing = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue