diff --git a/lib/legacy/legacy-element-mixin.js b/lib/legacy/legacy-element-mixin.js index 213c3078b4..d3714a2d49 100644 --- a/lib/legacy/legacy-element-mixin.js +++ b/lib/legacy/legacy-element-mixin.js @@ -517,6 +517,8 @@ export const LegacyElementMixin = dedupingMixin((base) => { * is contained. This is a shorthand for * `this.getRootNode().host`. * @this {Element} + * @return {?Node} The element whose local dom within which this element is + * contained. */ get domHost() { let root = wrap(this).getRootNode(); @@ -940,9 +942,9 @@ export const LegacyElementMixin = dedupingMixin((base) => { * Cross-platform helper for setting an element's CSS `translate3d` * property. * - * @param {number} x X offset. - * @param {number} y Y offset. - * @param {number} z Z offset. + * @param {number|string} x X offset. + * @param {number|string} y Y offset. + * @param {number|string} z Z offset. * @param {Element=} node Element to apply the transform to. * Defaults to `this`. * @return {void}