On OS X, an input element or `contenteditable`-enabled element gains a distinctive blue outline on focus. However, that focus is lost on hover, unless we exempt its focused state from the selector.

This commit is contained in:
Alan Hogan 2011-01-18 13:23:15 -08:00
parent 38fe49acbb
commit 1c6540fe42
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ footer > * {
content: '...quickly';
}
*/
[contenteditable]:hover {
[contenteditable]:hover:not(:focus) {
outline: 1px dotted #ccc;
}