mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-25 17:10:23 +00:00
LibWeb: Port CSSKeyframeRules interface from DeprecatedString to String
This commit is contained in:
parent
15334a68df
commit
f3e5335096
Notes:
sideshowbarker
2024-07-16 22:24:48 +09:00
Author: https://github.com/shannonbooth Commit: https://github.com/SerenityOS/serenity/commit/f3e5335096 Pull-request: https://github.com/SerenityOS/serenity/pull/20799 Reviewed-by: https://github.com/ADKaster ✅
2 changed files with 4 additions and 4 deletions
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue