- From: Mallory via GitHub <sysbot+gh@w3.org>
- Date: Wed, 16 Nov 2016 12:19:49 +0000
- To: public-css-archive@w3.org
\o/
I'm tired of writing
```
<script>
document.addEventListener('mousedown',function() {
document.body.classList.add('mouseDetected');
},false);
document.addEventListener('keydown',function() {
document.body.classList.remove('mouseDetected');
},false);
</script>
...
elements blah:focus {
super awesome visible fugly focus styles;
}
.mouseDetected elements blah:focus {
nope nope nope
or the graphic designer will have my head
}
```
because while it does work well enough for most things on desktop,
mobile is a whole screwy other world. Plus it's javascript for what
feels like should be a pure styling thing.
--
GitHub Notification of comment by StommePoes
Please view or discuss this issue at
https://github.com/w3c/csswg-drafts/pull/709#issuecomment-260932878
using your GitHub account
Received on Wednesday, 16 November 2016 12:19:55 UTC