Bug 1409031 - Fix element.isBooleanAttribute markup. r?whimboo draft
authorAndreas Tolfsen <ato@sny.no>
Mon, 16 Oct 2017 15:30:57 +0100
changeset 680893 552c6e670a905debef773e70b270abb3c37cad7b
parent 680892 afc40fa7dbbf6fe1bed4fab9221e78ba709990f3
child 736002 4ad5ea7d62cf463677b34b4c2cb26ccae8505a3c
push id84664
push userbmo:ato@sny.no
push dateMon, 16 Oct 2017 14:31:31 +0000
reviewerswhimboo
bugs1409031
milestone58.0a1
Bug 1409031 - Fix element.isBooleanAttribute markup. r?whimboo MozReview-Commit-ID: JIH3y0FlT37
testing/marionette/element.js
--- a/testing/marionette/element.js
+++ b/testing/marionette/element.js
@@ -1066,17 +1066,17 @@ const boolEls = {
   track: ["default"],
   video: ["autoplay", "controls", "loop", "muted"],
 };
 
 /**
  * Tests if the attribute is a boolean attribute on element.
  *
  * @param {DOMElement} el
- *     Element to test if |attr| is a boolean attribute on.
+ *     Element to test if <var>attr</var> is a boolean attribute on.
  * @param {string} attr
  *     Attribute to test is a boolean attribute.
  *
  * @return {boolean}
  *     True if the attribute is boolean, false otherwise.
  */
 element.isBooleanAttribute = function(el, attr) {
   if (el.namespaceURI !== XMLNS) {