Uploaded image for project: 'Tapestry 5'
  1. Tapestry 5
  2. TAP5-56

Tapestry should have support for IE conditional stylesheets

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.0.15
    • Fix Version/s: 5.2.0
    • Component/s: None
    • Labels:
      None

      Description

      From the mailing list:

      hi,

      In my web application are different css for IE6 and IE7.

      <link rel="stylesheet" media="screen, projection"
      href='${asset:context:css/main.css}' />
      <!--[if IE 7]>
      <link rel="stylesheet" media="screen, projection"
      href='${asset:context:css/ie7.css}'" />
      <![endif]-->
      <!--[if lte IE 6]>
      <link rel="stylesheet" media="screen, projection"
      href='${asset:context:css/ie6.css}'" />
      <![endif]-->

      But IF IE7 and If IE6 are ordinary html comments, thats only browser
      understands.

      But Tapestry does not.

      Becouse of tapestry wants ${asset:context:css/main.css} to include css file,
      i have no chance to include ie7.css or ie6.css.

      Seems like something on RenderSupport could support this, much as we support media types.

        Attachments

          Activity

            People

            • Assignee:
              hlship Howard M. Lewis Ship
              Reporter:
              hlship Howard M. Lewis Ship
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: