You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Henning Noeth (JIRA)" <de...@myfaces.apache.org> on 2017/08/17 14:20:00 UTC

[jira] [Resolved] (TOBAGO-1776) Style RadioButton/Checkbox only by CSS

     [ https://issues.apache.org/jira/browse/TOBAGO-1776?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Henning Noeth resolved TOBAGO-1776.
-----------------------------------
       Resolution: Fixed
    Fix Version/s: 4.0.0

> Style RadioButton/Checkbox only by CSS
> --------------------------------------
>
>                 Key: TOBAGO-1776
>                 URL: https://issues.apache.org/jira/browse/TOBAGO-1776
>             Project: MyFaces Tobago
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 3.0.4
>            Reporter: Henning Noeth
>            Assignee: Henning Noeth
>            Priority: Minor
>             Fix For: 4.0.0
>
>
> Currently Tobago renders checkboxes and radiobuttons as follows:
> {code}<label>
>   <input type="radio">Text
> </label>{code}
> To style a radio button, pseudo css elements are needed. But input cannot have content. This includes pseudo elements.
> A pseudo element could be created on the label. But the style cannot depend on the status of the input tag, because CSS have not a parent() selector.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)