1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 10:38:11 +00:00

LibHTML: Implement CSS text-align: left/center/right

This was easier than I imagined; we just shift each line box to the
left based on the alignment and the remaining space on each line. :^)
This commit is contained in:
Andreas Kling 2019-10-16 20:32:17 +02:00
parent 2366c330e3
commit 6dbba6ad85
3 changed files with 31 additions and 2 deletions

View file

@ -14,6 +14,9 @@ namespace CSS {
enum class ValueID {
Invalid,
VendorSpecificLink,
Center,
Left,
Right,
};
}