mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 17:47:44 +00:00
LibWeb: Implement @supports
serialization
This commit is contained in:
parent
1cec8e473f
commit
dfba0cb2d9
3 changed files with 55 additions and 2 deletions
|
@ -17,8 +17,7 @@ CSSSupportsRule::CSSSupportsRule(NonnullRefPtr<Supports>&& supports, NonnullRefP
|
|||
|
||||
String CSSSupportsRule::condition_text() const
|
||||
{
|
||||
// FIXME: Serializing supports rules!
|
||||
return "<supports-condition>";
|
||||
return m_supports->to_string();
|
||||
}
|
||||
|
||||
void CSSSupportsRule::set_condition_text(String text)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue