1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 20:47:45 +00:00

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

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;
}