testPositioningAboveAnchor() {
    const node = dom.getElement('demoMenuButton');
    menuButton.decorate(node);

    // Show the menu.
    menuButton.setAlignMenuToStart(true);  // Should get overridden below
    menuButton.setScrollOnOverflow(true);  // Should get overridden below

    const position = new MenuAnchoredPosition(
        menuButton.getElement(), Corner.TOP_START,
        /* opt_adjust */ false, /* opt_resize */ false);
    menuButton.setMenuPosition(position);
    menuButton.setOpen(true);

    // Confirm the menu position
    const buttonBounds = style.getBounds(node);
    const menuNode = menuButton.getMenu().getElement();
    const menuBounds = style.getBounds(menuNode);

    assertRoughlyEquals(
        menuBounds.top + menuBounds.height, buttonBounds.top, 3);
    assertRoughlyEquals(menuBounds.left, buttonBounds.left, 3);
    // For this test to be valid, the node must have non-trival height.
    assertRoughlyEquals(node.offsetHeight, 19, 3);
  }
Test forced positioning above the button.
     @suppress {strictMissingProperties} suppression added to enable type
     checking