testFontSizeOverridesStyleAttr() {
    setUpFontSizeTests();
    FIELDMOCK.$replay();

    HELPER.select('1', 0, '4', 1);  // Selects 1234.
    FORMATTER.execCommandInternal(BasicTextFormatter.COMMAND.FONT_SIZE, 6);

    assertFontSizes(
        'New font size should override existing font size',
        {'1': 32, '23': 32, '4': 32});

    if (BrowserFeature.DOESNT_OVERRIDE_FONT_SIZE_IN_STYLE_ATTR) {
      const span = HELPER.findTextNode('23').parentNode;
      assertFalse(
          'Style attribute should be gone',
          span.getAttributeNode('style') != null &&
              span.getAttributeNode('style').specified);
    }

    FIELDMOCK.$verify();
  }
Regression test for {@bug 1286408}. Tests that when you change the font
size of a selection, any font size styles that were nested inside are
removed.
@suppress {visibility} suppression added to enable type checking