testBubblePositionLeftToRight() {
    if (product.SAFARI) {
      // TODO(user): Disabled so we can get the rest of the Closure test
      // suite running in a continuous build. Will investigate later.
      return;
    }

    style.setStyle(bubble.bubbleContainer_, 'direction', 'ltr');
    prepareTargetWithGivenDirection('rtl');

    const expectedPos = getExpectedBubblePositionWithGivenAlignment();
    /**
     * @suppress {checkTypes,visibility} suppression added to enable type
     * checking
     */
    const pos = style.getFramedPageOffset(bubble.bubbleContainer_);
    assertRoughlyEquals(expectedPos.x, pos.x, 0.1);
    assertRoughlyEquals(expectedPos.y, pos.y, 0.1);
  }
Test for bug 1955511, the bubble should align to the right side
of the target element when the bubble is RTL, regardless of the
target element's directionality.
@suppress {visibility} suppression added to enable type checking