• Nektarios Paisios's avatar
    Fixed selection intents to take into account platform behavior · b462a346
    Nektarios Paisios authored
    On Windows, moving forward by one word should move to the start of the next word, punctuation or line break.
    On other platforms, it should first try to move to the end of the current word.
    This patch clarifies the attached accessibility event intents to specify whether we
    are moving to the end of the current word or to the start of the next one when selecting forward.
    
    Also, this patch fixes the "sentence/line/paragraphboundary" granularities to
    expose more information on the boundary they move to, depending on the selection direction.
    It fixes the "sentence/line/paragraph" granularities to always indicate that they move to the start of the
    next / previous boundary.
    
    AX-Relnotes: n/a.
    
    R=dmazzoni@chromium.org
    
    Change-Id: I3298f0d73b6bb5d123a15be34fc8c6c587d9594c
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2238186Reviewed-by: default avatarYoshifumi Inoue <yosin@chromium.org>
    Reviewed-by: default avatarDominic Mazzoni <dmazzoni@chromium.org>
    Commit-Queue: Nektarios Paisios <nektar@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#776835}
    b462a346
contenteditable-notifications.html 2.26 KB