1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 18:37:35 +00:00

LibHTML: Finish the block width calculation

Also add horizontal box values to the layout tree dump.
This commit is contained in:
Andreas Kling 2019-08-18 08:09:56 +02:00
parent 587ddc5126
commit 70eca3b500
4 changed files with 78 additions and 15 deletions

View file

@ -40,3 +40,8 @@ private:
Type m_type { Type::Auto };
int m_value { 0 };
};
inline const LogStream& operator<<(const LogStream& stream, const Length& value)
{
return stream << value.to_string();
}