mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Fix percentage height calculation, absolute containing block height calculations.
It's not possible to correctly determine during the css cascade whether the container height is explicitly specified. Additionally, the spec https://drafts.csswg.org/css2/visudet.html#the-height-property says this should affect the *used* height, rather than the computed height. This significantly improves the layout in #6643.
This commit is contained in:
parent
ffe4bd25a4
commit
b9fea3deb3
10 changed files with 151 additions and 119 deletions
|
@ -873,7 +873,6 @@ pub mod computed {
|
|||
pub inherited_font_size: longhands::font_size::computed_value::T,
|
||||
pub inherited_text_decorations_in_effect:
|
||||
longhands::_servo_text_decorations_in_effect::computed_value::T,
|
||||
pub inherited_height: longhands::height::computed_value::T,
|
||||
pub color: longhands::color::computed_value::T,
|
||||
pub text_decoration: longhands::text_decoration::computed_value::T,
|
||||
pub font_size: longhands::font_size::computed_value::T,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue