mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 07:38:10 +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:
parent
2366c330e3
commit
6dbba6ad85
3 changed files with 31 additions and 2 deletions
|
@ -14,6 +14,9 @@ namespace CSS {
|
|||
enum class ValueID {
|
||||
Invalid,
|
||||
VendorSpecificLink,
|
||||
Center,
|
||||
Left,
|
||||
Right,
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue