Commit 5b715332 authored by dbeam's avatar dbeam Committed by Commit bot

history: remove focus outline when using touch on mobile.

R=estade@chromium.org
BUG=421816

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

Cr-Commit-Position: refs/heads/master@{#314337}
parent a5f61e43
......@@ -4,6 +4,10 @@
/* This file contains styles specific to Android and iOS. */
html:not(.focus-outline-visible) :focus {
outline: none;
}
html {
height: 100%;
}
......
......@@ -58,10 +58,7 @@ cr.define('cr.ui', function() {
* @type {boolean}
*/
set visible(visible) {
if (visible)
this.classList_.add(CLASS_NAME);
else
this.classList_.remove(CLASS_NAME);
this.classList_.toggle(CLASS_NAME, visible);
},
get visible() {
return this.classList_.contains(CLASS_NAME);
......
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