mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-18 15:32:22 +00:00
LibWeb: Implement <center> as -libweb-center
To get the expected behavior for <center>, we needed a special text alignment mode that centers block-level elements (and not just line box fragments.)
This commit is contained in:
parent
6de937a689
commit
784ed004e6
Notes:
sideshowbarker
2024-07-19 05:40:33 +09:00
Author: https://github.com/awesomekling
Commit: 784ed004e6
6 changed files with 26 additions and 14 deletions
|
@ -59,7 +59,7 @@ article, aside, section {
|
|||
}
|
||||
|
||||
center {
|
||||
text-align: center;
|
||||
text-align: -libweb-center;
|
||||
}
|
||||
|
||||
h1, h2, h3 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue