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

LibWeb: Make table headings centered by default

This commit is contained in:
Dominique Liberda 2023-07-23 21:09:48 +02:00 committed by Linus Groh
parent 1968cb0cc5
commit 4dc98af419

View file

@ -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 {