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

LibWeb: Add CSS::Time::to_milliseconds()

This commit is contained in:
Ali Mohammad Pur 2023-05-26 23:30:11 +03:30 committed by Andreas Kling
parent b7e3a68bfc
commit f07c4ffbc8
2 changed files with 12 additions and 0 deletions

View file

@ -27,6 +27,7 @@ public:
ErrorOr<String> to_string() const;
float to_seconds() const;
double to_milliseconds() const;
Type type() const { return m_type; }
float raw_value() const { return m_value; }