• Aaron Leventhal's avatar
    ARIA grids is not mixing well with aria-owns · c4633477
    Aaron Leventhal authored
    Remove RemapAriaRolesDueToParent:
    - It's harmless to have cells, rows etc. exist without a parent table.
      Having code in Blink to remap these roles causes complexity and
      issues with aria-owns. Adding any complexity to do this is more
      trouble than it's worth
    - Remapping kListBoxOption to a kMenuItem when it's in a kMenu is
      related to old code inherited from WebKit. WebKit made efforts
      to try to change role=option or <option> elements inside a
      role=menu to menuitems, but this is just not worth it.
    
    Also, 2 old tests that failed now pass, so the -expected.txt files
    are removed -- the expectations were only there to allow the failures.
    
    Bug: 1150481
    Change-Id: I7342e3c15bf2dd3d877f90e682db7d68bf8c9142
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2568365Reviewed-by: default avatarDominic Mazzoni <dmazzoni@chromium.org>
    Commit-Queue: Aaron Leventhal <aleventhal@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#834008}
    c4633477
aria-grid.html 505 Bytes