1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 08:47:44 +00:00

LibWeb: Add even more viewport-based Length units

`*vi` and `*vb` vary on which direction they check depending on whether
the writing mode is horizontal or vertical, so they will need some
modification once we support that.
This commit is contained in:
Sam Atkins 2023-04-28 19:50:09 +01:00 committed by Andreas Kling
parent 091a1ff527
commit d6e5e61ed4
2 changed files with 60 additions and 0 deletions

View file

@ -40,6 +40,14 @@ public:
Svh,
Lvh,
Dvh,
Vi,
Svi,
Lvi,
Dvi,
Vb,
Svb,
Lvb,
Dvb,
Vmin,
Svmin,
Lvmin,
@ -124,6 +132,14 @@ public:
|| m_type == Type::Svh
|| m_type == Type::Lvh
|| m_type == Type::Dvh
|| m_type == Type::Vi
|| m_type == Type::Svi
|| m_type == Type::Lvi
|| m_type == Type::Dvi
|| m_type == Type::Vb
|| m_type == Type::Svb
|| m_type == Type::Lvb
|| m_type == Type::Dvb
|| m_type == Type::Vmin
|| m_type == Type::Svmin
|| m_type == Type::Lvmin