mirror of
https://github.com/RGBCube/serenity
synced 2025-07-23 18:07:34 +00:00
LibWeb: Port CSSKeyframeRules interface from DeprecatedString to String
This commit is contained in:
parent
15334a68df
commit
f3e5335096
2 changed files with 4 additions and 4 deletions
|
@ -29,12 +29,12 @@ public:
|
||||||
CSS::Percentage key() const { return m_key; }
|
CSS::Percentage key() const { return m_key; }
|
||||||
JS::NonnullGCPtr<CSSStyleDeclaration> style() const { return m_declarations; }
|
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);
|
dbgln("FIXME: CSSKeyframeRule::set_key_text is not implemented: {}", key_text);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#import <CSS/CSSRule.idl>
|
#import <CSS/CSSRule.idl>
|
||||||
|
|
||||||
[Exposed=Window]
|
[Exposed=Window, UseNewAKString]
|
||||||
interface CSSKeyframeRule : CSSRule {
|
interface CSSKeyframeRule : CSSRule {
|
||||||
attribute CSSOMString keyText;
|
attribute CSSOMString keyText;
|
||||||
[SameObject, PutForwards=cssText] readonly attribute CSSStyleDeclaration style;
|
[SameObject, PutForwards=cssText] readonly attribute CSSStyleDeclaration style;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue