#include <string>
#include <string_view>
|
| std::string | donner::css::SerializeIdentifier (std::string_view value) |
| | Serialize value as a CSS identifier, per CSSOM "serialize an identifier", so that it reads back as exactly value in selector or keyword position.
|
| std::string | donner::css::SerializeStringContents (std::string_view value, char quote) |
| | Serialize value as the contents of a CSS string delimited by quote, per CSSOM "serialize
a string" but without the surrounding quotes: the quote character, backslash and control characters are escaped.
|
| std::string | donner::css::SerializeUrlTokenValue (std::string_view value) |
| | Serialize value as the value of an unquoted url(...) token, escaping every character that would end the token or make it a bad url (whitespace, quotes, parentheses, backslash, control characters).
|