Uploaded image for project: 'MyFaces Trinidad'
  1. MyFaces Trinidad
  2. TRINIDAD-2170

There is no way to specify a real pseudo element in a skin css.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.0-core
    • 2.0.1-core
    • Skinning
    • None
    • any

    Description

      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 '_'.

      Attachments

        1. TRINIDAD-2170_1.2.12.6.2-branch.patch
          15 kB
          Prakash Udupa
        2. TRINIDAD-2170_trunk.patch
          15 kB
          Prakash Udupa

        Activity

          People

            mattcooper Matt Cooper
            mark.yvanovich@oracle.com Mark Yvanovich
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 72h
                72h
                Remaining:
                Remaining Estimate - 72h
                72h
                Logged:
                Time Spent - Not Specified
                Not Specified