chromium/chrome/browser/resources/extensions/shortcut_input.html

<style include="cr-icons cr-hidden-style">
  #main {
    position: relative;
    width: 200px;
  }

  #clear {
    --cr-icon-button-size: 28px;
    position: absolute;
    right: 2px;
  }

  #input {
    --cr-input-readonly-opacity: 1;
  }

  :host-context([dir='rtl']) #clear {
    left: -2px;
    right: inherit;
  }

</style>
<div id="main">
    <cr-input id="input" readonly="[[readonly_]]"
      aria-label="[[computeInputAriaLabel_(item, command)]]"
      placeholder="[[computePlaceholder_(readonly_)]]"
      invalid="[[getIsInvalid_(error_)]]"
      error-message="[[getErrorString_(error_,
          '$i18nPolymer{shortcutIncludeStartModifier}',
          '$i18nPolymer{shortcutTooManyModifiers}',
          '$i18nPolymer{shortcutNeedCharacter}')]]"
      value="[[computeText_(shortcut)]]">
    <cr-icon-button id="edit"
        title="$i18n{edit}"
        aria-label="[[computeEditButtonAriaLabel_(item, command)]]"
        slot="suffix" class="icon-edit no-overlap"
        on-click="onEditClick_"></cr-icon-button>
  </cr-input>
</div>