Support (browser) version-specific styles
-----------------------------------------
Key: TRINIDAD-1042
URL: https://issues.apache.org/jira/browse/TRINIDAD-1042
Project: MyFaces Trinidad
Issue Type: New Feature
Components: Skinning
Affects Versions: 1.2.7-core, 1.0.6-core
Reporter: Andy Schwartz
Priority: Minor
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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.