mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 12:07:45 +00:00
LibWeb: Make table headings centered by default
This commit is contained in:
parent
1968cb0cc5
commit
4dc98af419
1 changed files with 9 additions and 0 deletions
|
@ -525,6 +525,15 @@ td, th {
|
||||||
|
|
||||||
th {
|
th {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
|
/*
|
||||||
|
The text-align property for table headings is non-standard, but all
|
||||||
|
existing user-agents seem to render them centered by default.
|
||||||
|
|
||||||
|
See:
|
||||||
|
- https://trac.webkit.org/browser/trunk/Source/WebCore/css/html.css?rev=295625#L272
|
||||||
|
- https://searchfox.org/mozilla-central/rev/0b55b868c17835942d40ca3fedfca8057481207b/layout/style/res/html.css#473
|
||||||
|
*/
|
||||||
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
caption {
|
caption {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue