Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DevTools: Prevent the ARIA alert from obscuring DevTools
The alert element must be visible for a screen reader to read it, so we place it far off the left edge of the screen. However extremely large text could cause it to overflow onto the page. This patch limits the width of the element, and also limits the max text length of the alerts for better performance. Bug: 845766 Change-Id: I79aadcf863f09ebfdaf2bcb3ba579b891fec2351 Reviewed-on: https://chromium-review.googlesource.com/1067690 Reviewed-by: Dmitry Gozman <dgozman@chromium.org> Commit-Queue: Joel Einbinder <einbinder@chromium.org> Cr-Commit-Position: refs/heads/master@{#561490}
- Loading branch information