2 ms·
Hey, no worries, it's not boring! Specs are just hard to parse. Pedantic is the name of the game with W3 :) > Right, so such devices will be detected as "NOT a
by lelandfe 5y ago
Hey, no worries, it's not boring! Specs are just hard to parse. Pedantic is the name of the game with W3 :)
> Right, so such devices will be detected as "NOT a touch screen".
`hover: none` means it's a touch screen.
The idea being that the device shouldn't expect hover inputs. Hence "touch devices with a dedicated mouse can be detected as no-hover devices"
Paraphrased, the bit of the spec I quoted says "even if a touch laptop has a mouse, `hover: none` will still match". Here's a quick fiddle to show: https://jsfiddle.net/b2f69uya/ https://jsfiddle.net/b2f69uya/
Ultimately: if you have a touch control as a device's primary input, there's a guarantee that `hover: none` will be satisfied.
- jrochkind1 5y agooh gosh, I see. I'm so confused now I don't even know what I'm talking about, ok!
- lelandfe 5y agoIt's not you - naming things is hard! I definitely had to reread that line in the spec a bunch to get it as well. Cheers!