In http://crrev.com/c/2951481, I made it so that
every accessibility event marks its target node as dirty.
The first draft broke an important test -
NonInteractiveChangesAreBatched - because a
LayoutComplete event was marking the root object
dirty and triggering immediate updates rather than
deferred updates. To fix that, I made it so that
LayoutComplete didn't mark the root as dirty.
It turns out this caused a regression
(see crbug.com/1230823), so this patch uses a different
fix: let LayoutComplete mark the root dirty, but just
don't let that trigger an immediate update.
Bug: 1230823
AX-Relnotes: N/A
Change-Id: I7ad6fdda6c7831f10a71c0cae69a0defdd5655fc
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3072223
Commit-Queue: Dominic Mazzoni <dmazzoni@chromium.org>
Reviewed-by: Aaron Leventhal <aleventhal@chromium.org>
Cr-Commit-Position: refs/heads/master@{#909913}