mirror of
https://github.com/servo/servo.git
synced 2025-07-22 14:53:49 +01:00
layout: Include padding in the content block-size when computing the
block-size value when `height: auto` is specified for absolutely-positioned elements. Improves "Edit links" on the Wikipedia sidebar.
This commit is contained in:
parent
a8b0fb1e79
commit
2f3b3eb4c4
4 changed files with 43 additions and 1 deletions
|
@ -1112,7 +1112,7 @@ impl BlockFlow {
|
|||
let static_b_offset = self.static_b_offset;
|
||||
|
||||
// This is the stored content block-size value from assign-block-size
|
||||
let content_block_size = self.fragment.content_box().size.block;
|
||||
let content_block_size = self.fragment.border_box.size.block;
|
||||
|
||||
let mut solution = None;
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue