Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix block size for absolute replaced element #19184

Merged
Merged
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Prev

fix linelength warning

  • Loading branch information
bobthekingofegypt committed Nov 22, 2017
commit d723712c9f7fda412a3a0ba7d676b459ae79b117
@@ -1259,7 +1259,8 @@ impl BlockFlow {
// TODO: Right now, this content block-size value includes the
// margin because of erroneous block-size calculation in fragment.
// Check this when that has been fixed.
let block_size_used_val = self.fragment.border_box.size.block - self.fragment.border_padding.block_start_end();
let block_size_used_val = self.fragment.border_box.size.block -
self.fragment.border_padding.block_start_end();
solution = Some(BSizeConstraintSolution::solve_vertical_constraints_abs_replaced(
block_size_used_val,
margin_block_start,
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.