LibWeb: Implement CSS::Token::to_string()

This outputs valid CSS, as opposed to to_debug_string().
This commit is contained in:
Sam Atkins 2021-11-24 12:57:21 +00:00 committed by Andreas Kling
commit cf07da082e
Notes: sideshowbarker 2024-07-18 00:42:26 +09:00
2 changed files with 63 additions and 0 deletions

View file

@ -157,6 +157,7 @@ public:
String bracket_string() const;
String bracket_mirror_string() const;
String to_string() const;
String to_debug_string() const;
Position const& start_position() const { return m_start_position; }