1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 13:47:45 +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:
Andreas Kling 2020-06-13 10:54:58 +02:00
parent 6de937a689
commit 784ed004e6
6 changed files with 26 additions and 14 deletions

View file

@ -104,6 +104,7 @@ enum class ValueID {
Left,
Right,
Justify,
VendorSpecificCenter,
};
enum class Position {