You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@royale.apache.org by GitBox <gi...@apache.org> on 2017/11/25 22:35:53 UTC

[GitHub] Harbs opened a new issue #20: HTML CSS selectors converted to class selectors

Harbs opened a new issue #20: HTML CSS selectors converted to class selectors
URL: https://github.com/apache/royale-compiler/issues/20
 
 
   The following MXML:
   ````
       <fx:Style>
           @namespace "http://www.w3.org/1999/xhtml";
           div{
   
           }
           h1{font-size: 32px; margin: .67em 0 }
           h2{font-size: 24px; margin: .75em 0 }
           h3{font-size: 19px; margin: .83em 0 }
           h4{font-size: 16px; margin: .1em 0 }
           h5{font-size: 14px; margin: 1.5em 0 }
           h6{font-size: 13px; margin: 1.67em 0 }
           h1, h2, h3, h4, h5, h6{
               font-weight: bolder;
           }
   ````
   Is output as the following css:
   ````
   .div {
   }
   
   
   .h1 {
           margin: .67em 0;
           font-size: 32px;
           font-weight: bolder;
   }
   
   
   .h2 {
           margin: .75em 0;
           font-size: 24px;
           font-weight: bolder;
   }
   
   
   .h3 {
           margin: .83em 0;
           font-size: 19px;
           font-weight: bolder;
   }
   
   
   .h4 {
           margin: .1em 0;
           font-size: 16px;
           font-weight: bolder;
   }
   
   
   .h5 {
           margin: 1.5em 0;
           font-size: 14px;
           font-weight: bolder;
   }
   
   
   .h6 {
           margin: 1.67em 0;
           font-size: 13px;
           font-weight: bolder;
   }
   ````
   The selectors should pass through as-is and not have the dot appended.

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


With regards,
Apache Git Services