LibWeb: Port CSSKeyframeRules interface from DeprecatedString to String

This commit is contained in:
Shannon Booth 2023-08-27 19:03:48 +12:00 committed by Andrew Kaster
parent 15334a68df
commit f3e5335096
Notes: sideshowbarker 2024-07-16 22:24:48 +09:00
2 changed files with 4 additions and 4 deletions

View file

@ -29,12 +29,12 @@ public:
CSS::Percentage key() const { return m_key; }
JS::NonnullGCPtr<CSSStyleDeclaration> style() const { return m_declarations; }
DeprecatedString key_text() const
String key_text() const
{
return m_key.to_string().to_deprecated_string();
return m_key.to_string();
}
void set_key_text(DeprecatedString const& key_text)
void set_key_text(String const& key_text)
{
dbgln("FIXME: CSSKeyframeRule::set_key_text is not implemented: {}", key_text);
}

View file

@ -1,6 +1,6 @@
#import <CSS/CSSRule.idl>
[Exposed=Window]
[Exposed=Window, UseNewAKString]
interface CSSKeyframeRule : CSSRule {
attribute CSSOMString keyText;
[SameObject, PutForwards=cssText] readonly attribute CSSStyleDeclaration style;