• Aaron Leventhal's avatar
    Spaces getting eaten between words in rare cases · 41dca3ca
    Aaron Leventhal authored
    When two spans are separated by a line break, and the second span's text node
    also begins with a line break, the space shown in the layout is not rendered
    in the accessibility presentation.
    
    The computation to determine if there is rendered space adjacent to a space-only
    node must use the inline text boxes to get the most accurate representation
    of what is ultimately rendered.
    
    Bug: 821906
    Change-Id: Ie81134a95a8878d22a370e97b330e0eae5101d67
    Reviewed-on: https://chromium-review.googlesource.com/988375
    Commit-Queue: Aaron Leventhal <aleventhal@chromium.org>
    Reviewed-by: default avatarDominic Mazzoni <dmazzoni@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#547589}
    41dca3ca
span-expected-win.txt 2.48 KB