1
Fork 0
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:
Andreas Kling 2020-12-15 20:39:09 +01:00
parent 92d8e559ba
commit 17c529e6c5
11 changed files with 421 additions and 550 deletions

View file

@ -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 {};
}