mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 06:58:11 +00:00
LibWeb: Implement <center> as -libweb-center
To get the expected behavior for <center>, we needed a special text alignment mode that centers block-level elements (and not just line box fragments.)
This commit is contained in:
parent
6de937a689
commit
784ed004e6
6 changed files with 26 additions and 14 deletions
|
@ -53,6 +53,8 @@ String IdentifierStyleValue::to_string() const
|
|||
return "(invalid)";
|
||||
case CSS::ValueID::VendorSpecificLink:
|
||||
return "-libweb-link";
|
||||
case CSS::ValueID::VendorSpecificCenter:
|
||||
return "-libweb-center";
|
||||
case CSS::ValueID::VendorSpecificPaletteDesktopBackground:
|
||||
return "-libweb-palette-desktop-background";
|
||||
case CSS::ValueID::VendorSpecificPaletteActiveWindowBorder1:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue