Commit 5affa31b authored by Joel Einbinder's avatar Joel Einbinder Committed by Commit Bot

DevTools: Hide the console gap elements from the accessibility tree

Change-Id: Ib3b65c377de9b6fed273bbf6d41daf7d6f275f66
Reviewed-on: https://chromium-review.googlesource.com/1188878Reviewed-by: default avatarAndrey Lushnikov <lushnikov@chromium.org>
Commit-Queue: Andrey Lushnikov <lushnikov@chromium.org>
Cr-Commit-Position: refs/heads/master@{#586047}
parent 48a9c061
...@@ -51,6 +51,9 @@ Console.ConsoleViewport = class { ...@@ -51,6 +51,9 @@ Console.ConsoleViewport = class {
this._topGapElement.textContent = '\uFEFF'; this._topGapElement.textContent = '\uFEFF';
this._bottomGapElement.textContent = '\uFEFF'; this._bottomGapElement.textContent = '\uFEFF';
UI.ARIAUtils.markAsHidden(this._topGapElement);
UI.ARIAUtils.markAsHidden(this._bottomGapElement);
this._provider = provider; this._provider = provider;
this.element.addEventListener('scroll', this._onScroll.bind(this), false); this.element.addEventListener('scroll', this._onScroll.bind(this), false);
this.element.addEventListener('copy', this._onCopy.bind(this), false); this.element.addEventListener('copy', this._onCopy.bind(this), false);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment