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:
parent
7fc988b919
commit
7d3c8d066f
3 changed files with 9 additions and 23 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue