mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Add CSSKeyframesRule.{findRule, deleteRule, appendRule}
This commit is contained in:
parent
a9cd17ae96
commit
64442090ba
7 changed files with 145 additions and 39 deletions
|
@ -12,6 +12,7 @@ use dom::window::Window;
|
|||
use parking_lot::RwLock;
|
||||
use std::sync::Arc;
|
||||
use style::keyframes::Keyframe;
|
||||
use style_traits::ToCss;
|
||||
|
||||
#[dom_struct]
|
||||
pub struct CSSKeyframeRule {
|
||||
|
@ -44,7 +45,6 @@ impl SpecificCSSRule for CSSKeyframeRule {
|
|||
}
|
||||
|
||||
fn get_css(&self) -> DOMString {
|
||||
// self.keyframerule.read().to_css_string().into()
|
||||
"".into()
|
||||
self.keyframerule.read().to_css_string().into()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue