mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 05:57:44 +00:00
LibWeb: Convert CSS Token value to new FlyString
This commit is contained in:
parent
09f7682feb
commit
7fc72d3838
4 changed files with 20 additions and 23 deletions
|
@ -42,7 +42,7 @@ DeprecatedString Token::to_deprecated_string() const
|
|||
case Type::BadUrl:
|
||||
return "url()";
|
||||
case Type::Delim:
|
||||
return m_value;
|
||||
return DeprecatedString(m_value.bytes_as_string_view());
|
||||
case Type::Number:
|
||||
return DeprecatedString::number(m_number_value.value());
|
||||
case Type::Percentage:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue