1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 09:08:12 +00:00

LibWeb: Support "pt" length units :^)

This commit is contained in:
Andreas Kling 2020-06-28 15:25:32 +02:00
parent 7fc988b919
commit 7d3c8d066f
3 changed files with 9 additions and 23 deletions

View file

@ -47,6 +47,8 @@ const char* Length::unit_name() const
switch (m_type) {
case Type::Px:
return "px";
case Type::Pt:
return "pt";
case Type::Em:
return "em";
case Type::Rem: