mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-04 23:30:20 +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
Notes:
sideshowbarker
2024-07-19 11:40:28 +09:00
Author: https://github.com/awesomekling
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