Commit ffac861e authored by bondd's avatar bondd Committed by Commit bot

Fix 'chrome://settings/searchEngines' regression.

Fix for URL text selection regression in
'chrome://settings/searchEngines'.

BUG=427385

Review URL: https://codereview.chromium.org/682663002

Cr-Commit-Position: refs/heads/master@{#301421}
parent 7223acba
...@@ -428,7 +428,9 @@ cr.define('options', function() { ...@@ -428,7 +428,9 @@ cr.define('options', function() {
this.setAttribute('inlineeditable', ''); this.setAttribute('inlineeditable', '');
this.addEventListener('hasElementFocusChange', this.addEventListener('hasElementFocusChange',
this.handleListFocusChange_); this.handleListFocusChange_);
this.removeAttribute('tabindex'); // <list> isn't focusable by default, but cr.ui.List defaults tabindex to
// 0 if it's not set.
this.tabIndex = -1;
}, },
/** /**
......
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