You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Max Starets (JIRA)" <de...@myfaces.apache.org> on 2010/02/12 23:14:27 UTC

[jira] Created: (TRINIDAD-1722) Trinidad 2: Wrong locale rule used in skinng

Trinidad 2: Wrong locale rule used in skinng
--------------------------------------------

                 Key: TRINIDAD-1722
                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1722
             Project: MyFaces Trinidad
          Issue Type: Bug
          Components: Skinning
    Affects Versions: 2.0.0-alpha-2
            Reporter: Max Starets


To reproduce the issue,  run table.jspx in Firefox with the latest 2.0.x branch. Notice that the font size is huge. For some strange reason, the skin picks up the following Thai locale rule in base-desktop.xss:

<!-- And on Thai Gecko - see bug 3897341 - bump the font size up -->
<styleSheet platforms="windows linux" browsers="gecko" locales="th">
  <style name="AFDefaultFontFamily">
    <property name="font-family">Browallia New,Arial,Helvetica,Geneva,sans-serif</property>
    <property name="font-size">16pt</property>
  </style>

If you remove the rule, everything runs fine. If you use IE, it works fine too.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (TRINIDAD-1722) Trinidad 2: Wrong locale rule used in skinng

Posted by "Max Starets (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/TRINIDAD-1722?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Max Starets resolved TRINIDAD-1722.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.0-alpha-2
         Assignee: Max Starets

Thanks for the patch, Andy Schwartz!

> Trinidad 2: Wrong locale rule used in skinng
> --------------------------------------------
>
>                 Key: TRINIDAD-1722
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1722
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Skinning
>    Affects Versions: 2.0.0-alpha-2
>            Reporter: Max Starets
>            Assignee: Max Starets
>             Fix For: 2.0.0-alpha-2
>
>         Attachments: trinidad-1722.patch
>
>
> To reproduce the issue,  run table.jspx in Firefox with the latest 2.0.x branch. Notice that the font size is huge. For some strange reason, the skin picks up the following Thai locale rule in base-desktop.xss:
> <!-- And on Thai Gecko - see bug 3897341 - bump the font size up -->
> <styleSheet platforms="windows linux" browsers="gecko" locales="th">
>   <style name="AFDefaultFontFamily">
>     <property name="font-family">Browallia New,Arial,Helvetica,Geneva,sans-serif</property>
>     <property name="font-size">16pt</property>
>   </style>
> If you remove the rule, everything runs fine. If you use IE, it works fine too.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.