summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/support/width-keyword-classes.css
blob: e7775276038f307b7cdb0a75d19ee24f67619c2a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
/*
    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;
}