Add min/max-width/height support for inline-block

(… and other non-replaced atomic inline-level boxes.)
This commit is contained in:
Simon Sapin 2019-12-07 15:44:42 +01:00
parent 999dd72895
commit bf96988260
2 changed files with 35 additions and 5 deletions

View file

@ -29,6 +29,8 @@ pub(crate) struct IndependentFormattingContext {
pub(crate) struct IndependentLayout {
pub fragments: Vec<Fragment>,
/// https://drafts.csswg.org/css2/visudet.html#root-height
pub content_block_size: Length,
}