Update Animation Timing links and terminology to the HTML specification.

This commit is contained in:
Ms2ger 2015-08-05 09:21:08 +02:00
parent ac533b1466
commit d2077dd245
4 changed files with 15 additions and 16 deletions

View file

@ -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);