ICEfaces
  1. ICEfaces
  2. ICE-2482

Opera Mobile not Recognizing Multiple Stylesheets

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.6.2
    • Fix Version/s: 1.7DR#3, 1.7
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      Windows XP Professional
      jboss 4.0.5.GA

      Description

      The ice:outputStyle component will do some browser sniffing and add a browser specific stylesheet. Although this is working, I noticed that with an updated version of the Opera Mobile browser it was no longer recognizing the browser specific stylesheet.

        Activity

        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Ken Fyten made changes -
        Fix Version/s 1.7 [ 10080 ]
        Ken Fyten made changes -
        Fix Version/s 1.7DR#3 [ 10112 ]
        Brad Kroeger made changes -
        Link This issue blocks ICE-1996 [ ICE-1996 ]
        Hide
        Brad Kroeger added a comment -

        Revision #15316

        Show
        Brad Kroeger added a comment - Revision #15316
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #15316 Fri Dec 07 14:02:57 MST 2007 brad.kroeger ICE-2482 Adding "title" attribute to the link tag.
        Files Changed
        Commit graph MODIFY /icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/style/OutputStyleRenderer.java
        Brad Kroeger made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Brad Kroeger added a comment -

        From the W3C spec:

        Specify that the style sheet is persistent, preferred, or alternate:

        • To make a style sheet persistent, set the rel attribute to "stylesheet" and don't set the title attribute.
        • To make a style sheet preferred, set the rel attribute to "stylesheet" and name the style sheet with the title attribute.
        • To specify an alternate style sheet, set the rel attribute to "alternate stylesheet" and name the style sheet with the title attribute.

        As the browser specific stylesheet is preferred, I modified the component to set the title attribute in the link tag and the browser now recognizes the browser specific stylesheet.

        Show
        Brad Kroeger added a comment - From the W3C spec: Specify that the style sheet is persistent, preferred, or alternate: To make a style sheet persistent, set the rel attribute to "stylesheet" and don't set the title attribute. To make a style sheet preferred, set the rel attribute to "stylesheet" and name the style sheet with the title attribute. To specify an alternate style sheet, set the rel attribute to "alternate stylesheet" and name the style sheet with the title attribute. As the browser specific stylesheet is preferred, I modified the component to set the title attribute in the link tag and the browser now recognizes the browser specific stylesheet.
        Brad Kroeger created issue -

          People

          • Assignee:
            Unassigned
            Reporter:
            Brad Kroeger
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: