mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Update Animation Timing links and terminology to the HTML specification.
This commit is contained in:
parent
ac533b1466
commit
d2077dd245
4 changed files with 15 additions and 16 deletions
|
@ -519,7 +519,7 @@ impl<'a> WindowMethods for &'a Window {
|
|||
base64_atob(atob)
|
||||
}
|
||||
|
||||
/// https://w3c.github.io/animation-timing/#dom-windowanimationtiming-requestanimationframe
|
||||
/// https://html.spec.whatwg.org/multipage/#dom-window-requestanimationframe
|
||||
fn RequestAnimationFrame(self, callback: Rc<FrameRequestCallback>) -> i32 {
|
||||
let doc = self.Document();
|
||||
|
||||
|
@ -531,7 +531,7 @@ impl<'a> WindowMethods for &'a Window {
|
|||
doc.r().request_animation_frame(Box::new(callback))
|
||||
}
|
||||
|
||||
/// https://w3c.github.io/animation-timing/#dom-windowanimationtiming-cancelanimationframe
|
||||
/// https://html.spec.whatwg.org/multipage/#dom-window-cancelanimationframe
|
||||
fn CancelAnimationFrame(self, ident: i32) {
|
||||
let doc = self.Document();
|
||||
doc.r().cancel_animation_frame(ident);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue