Tapestry 5
  1. Tapestry 5
  2. TAP5-56

Tapestry should have support for IE conditional stylesheets

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Minor 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.

        Activity

        Howard M. Lewis Ship created issue -
        Howard M. Lewis Ship made changes -
        Field Original Value New Value
        Project Tapestry [ 10573 ] Tapestry 5 [ 12310833 ]
        Issue Type New Feature [ 2 ] Bug [ 1 ]
        Fix Version/s 5.1 [ 12312964 ]
        Key TAPESTRY-2553 TAP5-56
        Affects Version/s 5.0.13 [ 12313205 ]
        Howard M. Lewis Ship made changes -
        Affects Version/s 5.0.15 [ 12313429 ]
        Howard M. Lewis Ship made changes -
        Issue Type Bug [ 1 ] New Feature [ 2 ]
        Howard M. Lewis Ship made changes -
        Assignee Howard M. Lewis Ship [ hlship ]
        Howard M. Lewis Ship made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Howard M. Lewis Ship made changes -
        Status In Progress [ 3 ] Closed [ 6 ]
        Fix Version/s 5.2.0 [ 12314122 ]
        Resolution Fixed [ 1 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development