mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-13 20:14:57 -10:00
Automatic update from web-platform-tests Remove vendor prefixes from intrinsic sizes -- wpt-commits: 68e498925a0ce4c7c875669bfb05d6f9badbb5df wpt-pr: 32018
44 lines
664 B
CSS
44 lines
664 B
CSS
/*
|
|
Take every possible line break so the box width is the width of largest
|
|
unbreakable line box.
|
|
*/
|
|
.min-content {
|
|
width: min-content;
|
|
}
|
|
|
|
.max-content {
|
|
width: max-content;
|
|
}
|
|
|
|
/*
|
|
Shrink wrap just like floating.
|
|
max(min-content, min(max-content, fill-available))
|
|
*/
|
|
.fit-content {
|
|
width: fit-content;
|
|
}
|
|
|
|
.max-width-min-content {
|
|
max-width: min-content;
|
|
}
|
|
|
|
.max-width-max-content {
|
|
max-width: max-content;
|
|
}
|
|
|
|
.max-width-fit-content {
|
|
max-width: fit-content;
|
|
}
|
|
|
|
.min-width-min-content {
|
|
min-width: min-content;
|
|
}
|
|
|
|
.min-width-max-content {
|
|
min-width: max-content;
|
|
}
|
|
|
|
.min-width-fit-content {
|
|
min-width: fit-content;
|
|
}
|