CSS Master

(Primo) #1
Property Description Acceptable values
Presence and accuracy of the none | coarse | fine
primary pointing device as
determined by the user agent

pointer

Presence and accuracy of any none | coarse | fine
pointing device available to the
user

any-pointer

Which scanning process is used interlace | progressive
by the output display

scan

none | initial-only |
enabled

Whether scripting languages are
supported for the current
document

scripting

Whether the content can be none | slow | normal
modified after output (think
paper versus screens)

update-frequency

Onediscretefeaturequerythatwecanusenowishover(alongwithany-hover).
Asyoumayhaveguessedbythename,thehovermediafeaturequeryallowsusto
setdifferentstylesbasedonwhethertheprimaryinputmechanismsupportsthe
:hoverstate.Theany-hoverfeatureworksmuchthesameway,butappliestoany
inputmechanism,notjusttheprimaryone.Sincethisisadiscretefeaturetype,this
propertyhasjustthreepossiblevalues:

■ none:devicehasnohoverstate

■ on-demand:devicesometimeshasahoverstate;forexample,afteralongpress
(mostbrowsersanddevices)

■ hover:devicehasahoverstate

Considerthecaseofradiobuttonsandcheckboxformcontrolsontouchscreens.
Touchscreenstypicallyhaveanon-demandhoverstate,butmaylackonecom-
pletely.Adult-sizedfingersarealsofatterthanthepointersofmostmouseor
trackpadinputs.Forthosedevices,wemightwanttoaddmorepaddingaroundthe
label,makingiteasiertotap:

286 CSS Master

Free download pdf