myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henning Noeth (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Created] (TOBAGO-1776) Style RadioButton/Checkbox only by CSS
Date Fri, 11 Aug 2017 11:58:00 GMT
Henning Noeth created TOBAGO-1776:
-------------------------------------

             Summary: 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


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)

Mime
View raw message