LibWeb: Add default UA style for some table-related elements

This commit is contained in:
Andreas Kling 2020-05-28 12:43:29 +02:00
parent 5e53c45113
commit 3d09bac888
Notes: sideshowbarker 2024-07-19 06:02:33 +09:00

View file

@ -127,14 +127,40 @@ table {
display: table;
}
thead {
display: table-header-group;
vertical-align: middle;
border-color: inherit;
}
tbody {
display: table-row-group;
vertical-align: middle;
border-color: inherit;
}
tfoot {
display: table-footer-group;
vertical-align: middle;
border-color: inherit;
}
tr {
display: table-row;
}
td {
td, th {
display: table-cell;
}
col {
display: table-column;
}
colgroup {
display: table-column-group;
}
basefont {
display: block;
}