[ https://issues.apache.org/jira/browse/TRINIDAD-2170?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13873631#comment-13873631 ]
Prakash Udupa commented on TRINIDAD-2170: ----------------------------------------- Improved this implementation a bit as in related TRINIDAD-2444. > There is no way to specify a real pseudo element in a skin css. > --------------------------------------------------------------- > > Key: TRINIDAD-2170 > URL: https://issues.apache.org/jira/browse/TRINIDAD-2170 > Project: MyFaces Trinidad > Issue Type: Bug > Components: Skinning > Affects Versions: 2.0.0-core > Environment: any > Reporter: Mark Yvanovich > Assignee: Matt Cooper > Fix For: 2.0.1-core > > Attachments: TRINIDAD-2170_1.2.12.6.2-branch.patch, > TRINIDAD-2170_trunk.patch > > Original Estimate: 72h > Remaining Estimate: 72h > > If you need a real css pseudo element rendered to the generated css, there is > currently no way to do this. The :: sequence will always be replaced with a > _. For example, to be able to skin the placeholder text in FF, you would > specify: > af|inputText::content::-moz-placeholder {} > The generated selector needs to be: > af_inputText_content::-moz-placeholder {} > Currently, the generated CSS will output: > af_inputText_content_-moz-placeholder {} > One solution would be to have a whilelist of pseudo elements that we should > render as is rather than replace the '::' with a '_'. -- This message was sent by Atlassian JIRA (v6.1.5#6160)