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

LibHTML: Flesh out the code to dump a StyleSheet object graph.

This commit is contained in:
Andreas Kling 2019-06-25 06:31:47 +02:00
parent 048705e1c2
commit 6469d7f043
3 changed files with 42 additions and 1 deletions

View file

@ -20,6 +20,8 @@ public:
Type type() const { return m_type; }
virtual String to_string() const = 0;
protected:
explicit StyleValue(Type);
@ -36,7 +38,7 @@ public:
{
}
String to_string() const { return m_string; }
String to_string() const override { return m_string; }
private:
String m_string;