setAndAssertScale = (x, y, z) => {
  if (userAgent.GECKO ||
      userAgent.IE && !userAgent.isDocumentModeOrHigher(10)) {
    // Mozilla and <IE10 do not support CSSMatrix.
    return;
  }
  const success = transform.setScale(element, x, y, z);
  assertTrue(success);
  const scale = transform.getScale(element);
  assertEquals(x, scale.x);
  assertEquals(y, scale.y);
  assertEquals(z, scale.z);
}
Sets a transform translation and asserts the translation was applied.
@param {number} x The horizontal scale
@param {number} y The vertical scale
@param {number} z The depth scale