[ 
https://issues.apache.org/jira/browse/TRINIDAD-2111?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13093436#comment-13093436
 ] 

Anand V Nath commented on TRINIDAD-2111:
----------------------------------------

The patch (tri-code-24082011.patch) introduces a way to specify css rules 
specific to touchScreen devices. TouchScreen device agents have capability 
marked by "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 */
}

> skinning ability for tablet devices (ipad, iphone etc)
> ------------------------------------------------------
>
>                 Key: TRINIDAD-2111
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-2111
>             Project: MyFaces Trinidad
>          Issue Type: New Feature
>          Components: Skinning
>            Reporter: Anand V Nath
>            Assignee: Andrew Robinson
>             Fix For: 2.0.1
>
>         Attachments: tri-code-07072011.patch, tri-code-24082011.patch
>
>
> Skinning requirements for tablet devices are different from desktop. So it is 
> desirable to have a skin hierarchy support for tablet devices.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to