Flex 4 descendant pseudo selectors with CSS -


Provides Flex 4 as descendant CSS selectors and pseudor selectors:

  s | DropDownList: Open (font-size: 11;} S | DropDownList #labelDisplay {font-size: 12;}  

However, if I want to do the same thing, then Do not think:

  s | DropDownList: open #labelDisplay {font-size: 13;}  

Is it possible with the pseudo-selectors of the lineage ?

(I see styleName.open at

it looks like

As such it may be a flex bug.

When : open is not used in the pseudo-selector, then the lineage style Is not implemented, as you found:

  s | dropdown list #label display (font-size: 12;) S | DropDownList: open #labelDisplay {font-size: 14; }  

But, if you use the pseudor selector; Even empty, no style information; it seems to fix:

  s | dropdown list #labelDisplay {font-size: 12;} / * fixes this line * / s | DropDownList: Open {} s | DropDownList: Open #labelDisplay {font-size: 14; }  

I can see the same behavior in SDK 4.0, 4.1 and 4.5. Not so, but at least one is a workaround.


Comments