aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/servoparser
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/servoparser')
-rw-r--r--components/script/dom/servoparser/async_html.rs2
-rw-r--r--components/script/dom/servoparser/mod.rs4
2 files changed, 3 insertions, 3 deletions
diff --git a/components/script/dom/servoparser/async_html.rs b/components/script/dom/servoparser/async_html.rs
index 2e24623e264..3c717f57b71 100644
--- a/components/script/dom/servoparser/async_html.rs
+++ b/components/script/dom/servoparser/async_html.rs
@@ -880,7 +880,7 @@ impl TreeSink for Sink {
}
/// <https://html.spec.whatwg.org/multipage/#html-integration-point>
- /// Specifically, the <annotation-xml> cases.
+ /// Specifically, the `<annotation-xml>` cases.
fn is_mathml_annotation_xml_integration_point(&self, handle: &Self::Handle) -> bool {
let node_data = self.get_parse_node_data(&handle.id);
node_data.is_integration_point
diff --git a/components/script/dom/servoparser/mod.rs b/components/script/dom/servoparser/mod.rs
index 632a0442548..bb450a32296 100644
--- a/components/script/dom/servoparser/mod.rs
+++ b/components/script/dom/servoparser/mod.rs
@@ -339,7 +339,7 @@ impl ServoParser {
self.script_created_parser || self.script_nesting_level.get() > 0
}
- /// Steps 6-8 of https://html.spec.whatwg.org/multipage/#document.write()
+ /// Steps 6-8 of <https://html.spec.whatwg.org/multipage/#document.write()>
pub fn write(&self, text: Vec<DOMString>) {
assert!(self.can_write());
@@ -1301,7 +1301,7 @@ impl TreeSink for Sink {
}
}
-/// https://html.spec.whatwg.org/multipage/#create-an-element-for-the-token
+/// <https://html.spec.whatwg.org/multipage/#create-an-element-for-the-token>
fn create_element_for_token(
name: QualName,
attrs: Vec<ElementAttribute>,