5 border:
5px solid salmon;
10 border:
5px solid orange;
13 display: inline-block;
16 background-color: pink;
19 border-collapse: collapse;
23 <div class=
"table" data-expected-width=
134>
24 <div class=
"td" data-expected-width=
114>
25 <div class=
"child"></div>
26 <div class=
"child"></div>
30 <div class=
"table" style=
"width: min-content" data-expected-width=
80>
31 <div class=
"td" data-expected-width=
60>
32 <div class=
"child"></div>
33 <div class=
"child"></div>
37 <div class=
"table" style=
"width: max-content" data-expected-width=
134>
38 <div class=
"td" data-expected-width=
114>
39 <div class=
"child"></div>
40 <div class=
"child"></div>
44 <div class=
"table" style=
"width: fit-content" data-expected-width=
134>
45 <div class=
"td" data-expected-width=
114>
46 <div class=
"child"></div>
47 <div class=
"child"></div>
51 <div style=
"width: 134px">
52 <div class=
"table" style=
"width: fit-content" data-expected-width=
134>
53 <div class=
"td" data-expected-width=
114>
54 <div class=
"child"></div>
55 <div class=
"child"></div>
60 <div style=
"width: 133px">
61 <div class=
"table" style=
"width: fit-content" data-expected-width=
133>
62 <div class=
"td" data-expected-width=
113>
63 <div class=
"child"></div>
64 <div class=
"child"></div>
69 <div style=
"width: 400px">
70 <div class=
"table" style=
"width: -webkit-fill-available" data-expected-width=
400>
71 <div class=
"td" data-expected-width=
380>
72 <div class=
"child"></div>
73 <div class=
"child"></div>
78 <div class=
"table collapse" data-expected-width=
114>
79 <div class=
"td" data-expected-width=
109>
80 <div class=
"child"></div>
81 <div class=
"child"></div>
85 <div class=
"table collapse" style=
"width: min-content" data-expected-width=
60>
86 <div class=
"td" data-expected-width=
55>
87 <div class=
"child"></div>
88 <div class=
"child"></div>
92 <div class=
"table collapse" style=
"width: max-content" data-expected-width=
114>
93 <div class=
"td" data-expected-width=
109>
94 <div class=
"child"></div>
95 <div class=
"child"></div>
99 <div class=
"table collapse" style=
"width: fit-content" data-expected-width=
114>
100 <div class=
"td" data-expected-width=
109>
101 <div class=
"child"></div>
102 <div class=
"child"></div>
106 <div style=
"width: 114px">
107 <div class=
"table collapse" style=
"width: fit-content" data-expected-width=
114>
108 <div class=
"td" data-expected-width=
109>
109 <div class=
"child"></div>
110 <div class=
"child"></div>
115 <div style=
"width: 113px">
116 <div class=
"table collapse" style=
"width: fit-content" data-expected-width=
113>
117 <div class=
"td" data-expected-width=
108>
118 <div class=
"child"></div>
119 <div class=
"child"></div>
124 <div style=
"width: 400px">
125 <div class=
"table collapse" style=
"width: -webkit-fill-available" data-expected-width=
400>
126 <div class=
"td" data-expected-width=
395>
127 <div class=
"child"></div>
128 <div class=
"child"></div>
133 <script src=
"../../resources/check-layout.js"></script>
135 checkLayout('.table');