• Maksim Ivanov's avatar
    Fix CSS for dots intervals in <pin-keyboard> · 3608445d
    Maksim Ivanov authored
    Introduce a separate variable that allows the user of the
    <pin-keyboard> Polymer element to control the "letter-spacing" attribute
    of the input field.
    
    This fixes the flaky issue introduced in https://crrev.com/c/2069324
    that was sometimes causing the "letter-spacing" attribute to be not set
    on <pin-keyboard>'s input at all. (Presumably, the problem was due to
    self-referring to the variable from its var() expression.)
    
    Bug: 1051859
    Test: start SAML login using a smart card, type 8 digits in the PIN dialog, verify that all 8 dots fit into the input field but the dots aren't touching each other
    Change-Id: I0deb28782ddcd320bc3b6f35ddf10c1da0491233
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2082378
    Commit-Queue: Maksim Ivanov <emaxx@chromium.org>
    Reviewed-by: default avatarRoman Sorokin [CET] <rsorokin@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#746385}
    3608445d
security_token_pin.css 799 Bytes