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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

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

My Faces - Dev mailing list
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:
  <input type="radio">Text

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