Hi,
A patch is provided for Jira issue 2111
<https://issues.apache.org/jira/browse/TRINIDAD-2111>.
The patch (tri-code-24082011.patch) introduces a way to specify css
rules specific to touchScreen devices.Agents capture a capability named
"touchScreen" with valid values of none, single and multiple.
Syntax implemented allows user to specify rules as follows:
@agent (touchScreen:none) {
/* Some styles that should not be rendered on touchScreen devices. */
}
@agent (touchScreen:single) {
/* some styles specific for touchScreen with single touch. */
}
@agent (touchScreen:multiple) {
/* some styles specific for touchScreen with multiple touch. */
}
@agent (touchScreen) {
/* some touchScreen specific styles for all touch devices: both
single and multiple touch. */
}
@agent webkit and (version: 9) and (touchScreen:single) {
/* some touchScreen specific styles for touch devices with single
touch running webkit version 6. */
}
@agent gecko and (version: 6), webkit and (touchScreen:single) {
/* styles to be rendered on version 6 of gecko agent and single
touch devices running webkit */
}
Thanks
Anand