mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 13:28:11 +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
|
@ -281,8 +281,8 @@ Optional<CSS::TextAlign> StyleProperties::text_align() const
|
|||
return CSS::TextAlign::Right;
|
||||
case CSS::ValueID::Justify:
|
||||
return CSS::TextAlign::Justify;
|
||||
case CSS::ValueID::VendorSpecificCenter:
|
||||
return CSS::TextAlign::VendorSpecificCenter;
|
||||
case CSS::ValueID::LibwebCenter:
|
||||
return CSS::TextAlign::LibwebCenter;
|
||||
default:
|
||||
return {};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue