incubator-adffaces-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeanne Waldman (JIRA)" <adffaces-iss...@incubator.apache.org>
Subject [jira] Commented: (ADFFACES-206) CSS 2 composite selector is not supported in MSIE 6
Date Mon, 02 Oct 2006 19:16:21 GMT
    [ http://issues.apache.org/jira/browse/ADFFACES-206?page=comments#action_12439281 ] 
            
Jeanne Waldman commented on ADFFACES-206:
-----------------------------------------

This is some more background on the IE6 problem:
>From my tests, I've concluded that IE6 interprets composite selectors as, "Oh, they forgot
the comma".

If you type this:

.foo.p_AFDisabled {font-size:18pt; font-style:italic} 
.bar.p_AFDisabled{background-color:red}

In IE6, the above definition does not work as expected "class has 'foo AND p_AFDisabled'",

instead it works as if you typed: 

.foo, .p_AFDisabled {font-size:18pt; font-style:italic; color:pink} 
.bar, .p_AFDisabled {background-color:red; color:purple

So... . ALL style class definitions that contain p_AFDisabled will look like this:
.p_AFDisabled{font-size:18pt; font-style:italic; background-color:red; color:purple} 
/* color:purple instead of pink because in CSS, the last selector definition wins (regardless
of browser)*/

> CSS 2 composite selector is not supported in MSIE 6
> ---------------------------------------------------
>
>                 Key: ADFFACES-206
>                 URL: http://issues.apache.org/jira/browse/ADFFACES-206
>             Project: MyFaces ADF-Faces
>          Issue Type: Bug
>          Components: Skinning
>         Environment: Microsoft Internet Explorer 6 (and most likely older versions as
well)
>            Reporter: Simon Lessard
>
> Microsoft Internet Explorer 6 does not support CSS 2 composite selectors, e.g. ".someClass.anotherClass".
However, the skinning engine uses those for states mainly. For example, af|component:myState
will be parsed to .af_component.p_AFMyState in the generated CSS and the renderer will add
both classes on the component.
> MSIE 6 only evaluate the latest class in the classe list when evaluating composite selector
which has very bad results for some component.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message