aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmlscriptelement.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/htmlscriptelement.rs')
-rw-r--r--components/script/dom/htmlscriptelement.rs14
1 files changed, 7 insertions, 7 deletions
diff --git a/components/script/dom/htmlscriptelement.rs b/components/script/dom/htmlscriptelement.rs
index 1108f8438f8..1a21ce28a1c 100644
--- a/components/script/dom/htmlscriptelement.rs
+++ b/components/script/dom/htmlscriptelement.rs
@@ -49,13 +49,13 @@ use uuid::Uuid;
pub struct HTMLScriptElement {
htmlelement: HTMLElement,
- /// https://html.spec.whatwg.org/multipage/#already-started
+ /// <https://html.spec.whatwg.org/multipage/#already-started>
already_started: Cell<bool>,
- /// https://html.spec.whatwg.org/multipage/#parser-inserted
+ /// <https://html.spec.whatwg.org/multipage/#parser-inserted>
parser_inserted: Cell<bool>,
- /// https://html.spec.whatwg.org/multipage/#non-blocking
+ /// <https://html.spec.whatwg.org/multipage/#non-blocking>
///
/// (currently unused)
non_blocking: Cell<bool>,
@@ -190,7 +190,7 @@ impl FetchResponseListener for ScriptContext {
}
}
- /// https://html.spec.whatwg.org/multipage/#fetch-a-classic-script
+ /// <https://html.spec.whatwg.org/multipage/#fetch-a-classic-script>
/// step 4-9
fn process_response_eof(&mut self, response: Result<(), NetworkError>) {
// Step 5.
@@ -226,7 +226,7 @@ impl FetchResponseListener for ScriptContext {
impl PreInvoke for ScriptContext {}
-/// https://html.spec.whatwg.org/multipage/#fetch-a-classic-script
+/// <https://html.spec.whatwg.org/multipage/#fetch-a-classic-script>
fn fetch_a_classic_script(script: &HTMLScriptElement,
kind: ExternalScriptKind,
url: ServoUrl,
@@ -286,7 +286,7 @@ fn fetch_a_classic_script(script: &HTMLScriptElement,
}
impl HTMLScriptElement {
- /// https://html.spec.whatwg.org/multipage/#prepare-a-script
+ /// <https://html.spec.whatwg.org/multipage/#prepare-a-script>
pub fn prepare(&self) {
// Step 1.
if self.already_started.get() {
@@ -500,7 +500,7 @@ impl HTMLScriptElement {
}
}
- /// https://html.spec.whatwg.org/multipage/#execute-the-script-block
+ /// <https://html.spec.whatwg.org/multipage/#execute-the-script-block>
pub fn execute(&self, result: Result<ClassicScript, NetworkError>) {
// Step 1.
let doc = document_from_node(self);