LibWeb: Support "pt" length units :^)

This commit is contained in:
Andreas Kling 2020-06-28 15:25:32 +02:00
commit 7d3c8d066f
Notes: sideshowbarker 2024-07-19 05:20:20 +09:00
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: