mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
layout: Support percentage widths in inline-blocks.
Improves Twitter.
This commit is contained in:
parent
0a737d90f2
commit
d5ca1a18dc
6 changed files with 52 additions and 4 deletions
|
@ -2134,9 +2134,9 @@ pub trait ISizeAndMarginsComputer {
|
|||
}
|
||||
|
||||
fn containing_block_inline_size(&self,
|
||||
_: &mut BlockFlow,
|
||||
parent_flow_inline_size: Au,
|
||||
_: &LayoutContext)
|
||||
_: &mut BlockFlow,
|
||||
parent_flow_inline_size: Au,
|
||||
_: &LayoutContext)
|
||||
-> Au {
|
||||
parent_flow_inline_size
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue