From 87bb5ba381558a2074723157ea3b02519ac5cc09 Mon Sep 17 00:00:00 2001 From: Anthony Ramine Date: Thu, 14 Sep 2017 13:52:25 +0200 Subject: [PATCH] Fix some HTMLMediaElement spec links --- components/script/dom/htmlmediaelement.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/components/script/dom/htmlmediaelement.rs b/components/script/dom/htmlmediaelement.rs index 497d6089804..92a5a10a725 100644 --- a/components/script/dom/htmlmediaelement.rs +++ b/components/script/dom/htmlmediaelement.rs @@ -45,13 +45,13 @@ use time::{self, Timespec, Duration}; #[dom_struct] pub struct HTMLMediaElement { htmlelement: HTMLElement, - /// https://html.spec.whatwg.org/multipage/#dom-media-networkstate-2 + /// https://html.spec.whatwg.org/multipage/#dom-media-networkstate // FIXME(nox): Use an enum. network_state: Cell, - /// https://html.spec.whatwg.org/multipage/#dom-media-readystate-2 + /// https://html.spec.whatwg.org/multipage/#dom-media-readystate // FIXME(nox): Use an enum. ready_state: Cell, - /// https://html.spec.whatwg.org/multipage/#dom-media-currentsrc-2 + /// https://html.spec.whatwg.org/multipage/#dom-media-currentsrc current_src: DOMRefCell, // FIXME(nox): Document this one, I have no idea what it is used for. generation_id: Cell, @@ -59,9 +59,9 @@ pub struct HTMLMediaElement { /// /// Reset to false every time the load algorithm is invoked. fired_loadeddata_event: Cell, - /// https://html.spec.whatwg.org/multipage/#dom-media-error-2 + /// https://html.spec.whatwg.org/multipage/#dom-media-error error: MutNullableJS, - /// https://html.spec.whatwg.org/multipage/#dom-media-paused-2 + /// https://html.spec.whatwg.org/multipage/#dom-media-paused paused: Cell, /// https://html.spec.whatwg.org/multipage/#attr-media-autoplay autoplaying: Cell,