From 1c6540fe424d4c4f095c51fdc8c8e4ca1f72e0ed Mon Sep 17 00:00:00 2001 From: Alan Hogan Date: Tue, 18 Jan 2011 13:23:15 -0800 Subject: [PATCH] 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. --- css/html5demos.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/css/html5demos.css b/css/html5demos.css index 2ce335a..ddc57b1 100644 --- a/css/html5demos.css +++ b/css/html5demos.css @@ -67,7 +67,7 @@ footer > * { content: '...quickly'; } */ -[contenteditable]:hover { +[contenteditable]:hover:not(:focus) { outline: 1px dotted #ccc; }