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

Support (browser) version-specific styles

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 1.0.6-core, 1.2.7-core
    • 1.0.8-core, 1.2.8-core
    • Skinning
    • None

    Description

      Under the covers Trinidad still uses the legacy "XSS" style definition mechanism (eg. see base-desktop.xss). It would be nice to finally port these XSS files over to CSS, since the CSS is a far more familiar language. However, before we can do that, we need to add a few remaining XSS features which our not present in our CSS skinning implementation.

      One feature that we support in XSS but not in CSS is the ability to define (browser) version-specific styles. In XSS, this is done via the "versions" attribute on the <styleSheet> element. In our CSS skins, we already support agent-specific styles via "@agent" rules. Perhaps we can enhance this to include version information. For example, we currently can do:

      @agent ie

      { ie-specific styles }

      It would be nice to be able to do:

      @agent ie6

      { ie6-specific styles here }

      @agent ie7

      { ie7-specific styles here }

      Logging this issue to request that we add similar support to CSS skinning, with the goal of being able to convert our XSS files over to CSS.

      Attachments

        Activity

          People

            cristi.toth Cristi Toth
            andy.schwartz Andy Schwartz
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: