aharui commented on issue #505: ItemRenderer on Basic DataGrid doesn't work on 
0.9.6
URL: https://github.com/apache/royale-asjs/issues/505#issuecomment-542993376
 
 
   Might be a bug in the CSSStyleImpl.  
   
   Some styles like `IDataProviderItemRendererMapper` are pruned from the CSS 
output because they are aren't CSS compliant (the ClassReference value, for 
example).  Background-color will make it into the final CSS output and will be 
applied by the browser.  Our code must look up the value in a different data 
structure.  It isn't obvious why it doesn't work as a class selector instead of 
a type selector.
   
   You can specify a class selector or type selector using similar logic to any 
other CSS styling, but keep in mind that the compiler does know how to prune 
unused type-selectors but generally does not prune class selectors.
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to