<!DOCTYPE html>

<style>
@import "resources/width-keyword-classes.css";
@import "resources/intrinsic-size-contribution.css";
</style>

<div class="container max-content">
    <div class="item fit-content">XXX XXXXX</div>
</div>

<div class="container max-content">
    <div class="item fit-content border">XXX XXXXX</div>
</div>

<div class="container max-content">
    <div class="item fit-content padding">XXX XXXXX</div>
</div>

<div class="container max-content">
    <div class="item fit-content margin">XXX XXXXX</div>
</div>

<div class="container max-content">
    <div class="item fit-content border padding">XXX XXXXX</div>
</div>

<div class="container max-content">
    <div class="item fit-content border margin">XXX XXXXX</div>
</div>

<div class="container max-content">
    <div class="item fit-content border padding margin">XXX XXXXX</div>
</div>

