You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "teckpro (JIRA)" <de...@myfaces.apache.org> on 2010/08/11 14:18:17 UTC
[jira] Created: (TRINIDAD-1880) Changing the font-color of
middle/top portion of a disabled tab doesn't work for Internet Explorer
(v6-v8)
Changing the font-color of middle/top portion of a disabled tab doesn't work for Internet Explorer (v6-v8)
----------------------------------------------------------------------------------------------------------
Key: TRINIDAD-1880
URL: https://issues.apache.org/jira/browse/TRINIDAD-1880
Project: MyFaces Trinidad
Issue Type: Bug
Components: Skinning
Affects Versions: 1.0.8-core
Environment: windows xp, ie6, ie7, ie8
trinidad package: ...-api-1.0.8.jar and ...-impl-1.0.8.jar
Reporter: teckpro
hi there,
usually the (css-) skinning for an inactive middle tab works with "af|navigationPane::tabs-inactive af|navigationPane::tabs-mid" and i got no problem there. unfortunately the documentation doesn't explain how to style disabled-inactive tabs. so after trying a bit i found out that
"af|navigationPane::tabs-inactive:disabled af|navigationPane::tabs-mid"
is the correct css-class for skinning the color. but then i realized that it has no effect at all for every version of the IE and again unfortunately our customer works exclusively with IE and nothing else.
can someone help me or fix the problem?
thanks in advance
jonathan
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (TRINIDAD-1880) Changing the font-color of
middle/top portion of a disabled tab doesn't work for Internet Explorer
(v6-v8)
Posted by "teckpro (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/TRINIDAD-1880?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12898145#action_12898145 ]
teckpro commented on TRINIDAD-1880:
-----------------------------------
hi,
first of all thank you for your quick answer.
As you already noticed the problem appears on all versions of the IE. So, as you already mentioned, your first assumption isn't the problem. as far as I can see, it's the fact that trinidad puts an "af|navigationPane::tabs-mid" inside the effective "af|navigationPane::tabs-inactive:disabled". Here my rendered html-code of the whole middle part of the disabled tab:
<table cellpadding="0" cellspacing="0" border="0" summary="" class="af_navigationPane_tabs-inactive p_AFDisabled">
<tbody>
<tr>
<td class="af_navigationPane_tabs-mid">Krankentagegeld</td>
</tr>
/* Bottomline starts here */ <tr><td class="af_navigationPane_tabs-bottom-mid"><div class="af_navigationPane_tabs-bottom-mid-content"></div></td></tr>
</tbody></table></td>
I'm pretty sure that IE overrides the "disabled"-styles with the regular "tab-mid"-styles. At the moment I'm solving the problem by using a different/the rendered class-names. if using the following style:
table.p_AFDisabled td.af_navigationPane_tabs-mid {
background-image: url(../../images/huk/tabs/tab_inaktiv_mitte.png);
background-repeat: repeat-x;
height: 19px;
color: red;
}
my disabled tab has the right font-color. The issue with that "solution" is, that i don't know if the ":disabled" statement will always be rendered as "p_AFDisabled". If so I'm good with that, if not I still could need some help ... (till now it has always been rendered that way)
thanks
jonathan
> Changing the font-color of middle/top portion of a disabled tab doesn't work for Internet Explorer (v6-v8)
> ----------------------------------------------------------------------------------------------------------
>
> Key: TRINIDAD-1880
> URL: https://issues.apache.org/jira/browse/TRINIDAD-1880
> Project: MyFaces Trinidad
> Issue Type: Bug
> Components: Skinning
> Affects Versions: 1.0.8-core
> Environment: windows xp, ie6, ie7, ie8
> trinidad package: ...-api-1.0.8.jar and ...-impl-1.0.8.jar
> Reporter: teckpro
>
> hi there,
> usually the (css-) skinning for an inactive middle tab works with "af|navigationPane::tabs-inactive af|navigationPane::tabs-mid" and i got no problem there. unfortunately the documentation doesn't explain how to style disabled-inactive tabs. so after trying a bit i found out that
> "af|navigationPane::tabs-inactive:disabled af|navigationPane::tabs-mid"
> is the correct css-class for skinning the color. but then i realized that it has no effect at all for every version of the IE and again unfortunately our customer works exclusively with IE and nothing else.
> can someone help me or fix the problem?
> thanks in advance
> jonathan
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (TRINIDAD-1880) Changing the font-color of
middle/top portion of a disabled tab doesn't work for Internet Explorer
(v6-v8)
Posted by "Matt Cooper (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/TRINIDAD-1880?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12897807#action_12897807 ]
Matt Cooper commented on TRINIDAD-1880:
---------------------------------------
If what you are seeing reproduces in all versions of IE then perhaps this is simply a matter of CSS specificity; your disabled selector is less specific than the selector that is winning.
Here's a good page that describes how specificity is calculated:
http://www.w3.org/TR/CSS2/cascade.html#specificity
> Changing the font-color of middle/top portion of a disabled tab doesn't work for Internet Explorer (v6-v8)
> ----------------------------------------------------------------------------------------------------------
>
> Key: TRINIDAD-1880
> URL: https://issues.apache.org/jira/browse/TRINIDAD-1880
> Project: MyFaces Trinidad
> Issue Type: Bug
> Components: Skinning
> Affects Versions: 1.0.8-core
> Environment: windows xp, ie6, ie7, ie8
> trinidad package: ...-api-1.0.8.jar and ...-impl-1.0.8.jar
> Reporter: teckpro
>
> hi there,
> usually the (css-) skinning for an inactive middle tab works with "af|navigationPane::tabs-inactive af|navigationPane::tabs-mid" and i got no problem there. unfortunately the documentation doesn't explain how to style disabled-inactive tabs. so after trying a bit i found out that
> "af|navigationPane::tabs-inactive:disabled af|navigationPane::tabs-mid"
> is the correct css-class for skinning the color. but then i realized that it has no effect at all for every version of the IE and again unfortunately our customer works exclusively with IE and nothing else.
> can someone help me or fix the problem?
> thanks in advance
> jonathan
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (TRINIDAD-1880) Changing the font-color of
middle/top portion of a disabled tab doesn't work for Internet Explorer
(v6-v8)
Posted by "Matt Cooper (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/TRINIDAD-1880?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12897806#action_12897806 ]
Matt Cooper commented on TRINIDAD-1880:
---------------------------------------
I vaguely remember IE6 having a problem with not being able to handle a certain kind of selector. I don't recall if it was compound selectors (e.g. ".x.y"), containment selectors (e.g. ".x .y"), or a combination of both (e.g. ".x.y .z"). It sounds like this might be what you are running into.
Can you confirm which version(s) of Internet Explorer you are having this problem in; is this only a problem in IE6?
I don't have access to a computer that runs IE6 but a definition like this appears to be working in IE7 and IE8.
> Changing the font-color of middle/top portion of a disabled tab doesn't work for Internet Explorer (v6-v8)
> ----------------------------------------------------------------------------------------------------------
>
> Key: TRINIDAD-1880
> URL: https://issues.apache.org/jira/browse/TRINIDAD-1880
> Project: MyFaces Trinidad
> Issue Type: Bug
> Components: Skinning
> Affects Versions: 1.0.8-core
> Environment: windows xp, ie6, ie7, ie8
> trinidad package: ...-api-1.0.8.jar and ...-impl-1.0.8.jar
> Reporter: teckpro
>
> hi there,
> usually the (css-) skinning for an inactive middle tab works with "af|navigationPane::tabs-inactive af|navigationPane::tabs-mid" and i got no problem there. unfortunately the documentation doesn't explain how to style disabled-inactive tabs. so after trying a bit i found out that
> "af|navigationPane::tabs-inactive:disabled af|navigationPane::tabs-mid"
> is the correct css-class for skinning the color. but then i realized that it has no effect at all for every version of the IE and again unfortunately our customer works exclusively with IE and nothing else.
> can someone help me or fix the problem?
> thanks in advance
> jonathan
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.