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/11 11:58:00 UTC
[jira] [Created] (TOBAGO-1776) Style RadioButton/Checkbox only by
CSS
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)