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
commit 6dbba6ad85
Notes: sideshowbarker 2024-07-19 11:40:28 +09:00
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,
};
}