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

Tapestry should have support for IE conditional stylesheets

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 5.0.15
    • 5.2.0
    • None
    • 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

            hlship Howard Lewis Ship
            hlship Howard Lewis Ship
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: