4 border:
5px solid salmon;
8 border:
5px solid orange;
11 display: inline-block;
14 background-color: pink;
17 border-collapse: collapse;
21 <table data-expected-width=
140>
22 <td data-expected-width=
116>
23 <div class=
"child"></div>
24 <div class=
"child"></div>
28 <table style=
"width: min-content" data-expected-width=
86>
29 <td data-expected-width=
62>
30 <div class=
"child"></div>
31 <div class=
"child"></div>
35 <table style=
"width: max-content" data-expected-width=
140>
36 <td data-expected-width=
116>
37 <div class=
"child"></div>
38 <div class=
"child"></div>
42 <table style=
"width: fit-content" data-expected-width=
140>
43 <td data-expected-width=
116>
44 <div class=
"child"></div>
45 <div class=
"child"></div>
49 <div style=
"width: 140px">
50 <table style=
"width: fit-content" data-expected-width=
140>
51 <td data-expected-width=
116>
52 <div class=
"child"></div>
53 <div class=
"child"></div>
58 <div style=
"width: 139px">
59 <table style=
"width: fit-content" data-expected-width=
139>
60 <td data-expected-width=
115>
61 <div class=
"child"></div>
62 <div class=
"child"></div>
67 <div style=
"width: 400px">
68 <table style=
"width: -webkit-fill-available" data-expected-width=
400>
69 <td data-expected-width=
376>
70 <div class=
"child"></div>
71 <div class=
"child"></div>
76 <table class=
"collapse" data-expected-width=
116>
77 <td data-expected-width=
111>
78 <div class=
"child"></div>
79 <div class=
"child"></div>
83 <table class=
"collapse" style=
"width: min-content" data-expected-width=
62>
84 <td data-expected-width=
57>
85 <div class=
"child"></div>
86 <div class=
"child"></div>
90 <table class=
"collapse" style=
"width: max-content" data-expected-width=
116>
91 <td data-expected-width=
111>
92 <div class=
"child"></div>
93 <div class=
"child"></div>
97 <table class=
"collapse" style=
"width: fit-content" data-expected-width=
116>
98 <td data-expected-width=
111>
99 <div class=
"child"></div>
100 <div class=
"child"></div>
104 <div style=
"width: 116px">
105 <table class=
"collapse" style=
"width: fit-content" data-expected-width=
116>
106 <td data-expected-width=
111>
107 <div class=
"child"></div>
108 <div class=
"child"></div>
113 <div style=
"width: 115px">
114 <table class=
"collapse" style=
"width: fit-content" data-expected-width=
115>
115 <td data-expected-width=
110>
116 <div class=
"child"></div>
117 <div class=
"child"></div>
122 <div style=
"width: 400px">
123 <table class=
"collapse" style=
"width: -webkit-fill-available" data-expected-width=
400>
124 <td data-expected-width=
395>
125 <div class=
"child"></div>
126 <div class=
"child"></div>
131 <script src=
"../../resources/check-layout.js"></script>
133 checkLayout('table');