mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-10 01:59:31 +00:00
LibWeb: Convert CSS Token value to new FlyString
This commit is contained in:
parent
09f7682feb
commit
7fc72d3838
Notes:
sideshowbarker
2024-07-17 05:01:20 +09:00
Author: https://github.com/AtkinsSJ
Commit: 7fc72d3838
Pull-request: https://github.com/SerenityOS/serenity/pull/17440
Reviewed-by: https://github.com/linusg
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