mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
layout: <th>
should have text-align: center
when the child of an element with text-align: initial
(#33427)
This behavir is enabled via a special CSS value that we can share with Gecko. Signed-off-by: Martin Robinson <mrobinson@igalia.com> Co-authored-by: Oriol Brufau <obrufau@igalia.com>
This commit is contained in:
parent
219a2f2038
commit
db0aee6b58
4 changed files with 18 additions and 26 deletions
|
@ -296,7 +296,10 @@ table {
|
|||
text-indent: initial;
|
||||
}
|
||||
td, th { padding: 1px; }
|
||||
th { font-weight: bold; }
|
||||
th {
|
||||
font-weight: bold;
|
||||
text-align: -moz-center-or-inherit;
|
||||
}
|
||||
|
||||
thead, tbody, tfoot, table > tr { vertical-align: middle; }
|
||||
tr, td, th { vertical-align: inherit; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue