Bug 1409031 - Correct markup for element.getContainer docs. r?whimboo
MozReview-Commit-ID: KkfKLxy8cmJ
--- a/testing/marionette/element.js
+++ b/testing/marionette/element.js
@@ -808,19 +808,20 @@ element.inViewport = function(el, x = un
vp.top <= c.y + win.pageYOffset &&
c.y + win.pageYOffset <= vp.bottom);
};
/**
* Gets the element's container element.
*
* An element container is defined by the WebDriver
- * specification to be an <option> element in a valid element context
- * (https://html.spec.whatwg.org/#concept-element-contexts), meaning
- * that it has an ancestral element that is either <datalist> or <select>.
+ * specification to be an <tt><option></tt> element in a
+ * <a href="https://html.spec.whatwg.org/#concept-element-contexts">valid
+ * element context</a>, meaning that it has an ancestral element
+ * that is either <tt><datalist></tt> or <tt><select></tt>.
*
* If the element does not have a valid context, its container element
* is itself.
*
* @param {Element} el
* Element to get the container of.
*
* @return {Element}