mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:58:12 +00:00
LibWeb: Generate the CSS::ValueID enum and its helper functions
This commit is contained in:
parent
92d8e559ba
commit
17c529e6c5
11 changed files with 421 additions and 550 deletions
|
@ -127,7 +127,7 @@ void InlineFormattingContext::run(Box&, LayoutMode layout_mode)
|
|||
|
||||
switch (text_align) {
|
||||
case CSS::TextAlign::Center:
|
||||
case CSS::TextAlign::VendorSpecificCenter:
|
||||
case CSS::TextAlign::LibwebCenter:
|
||||
x_offset += excess_horizontal_space / 2;
|
||||
break;
|
||||
case CSS::TextAlign::Right:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue