Package com.google.caja.lang.css.CssSchema

Examples of com.google.caja.lang.css.CssSchema.SymbolInfo


   * <a href="http://www.w3.org/TR/CSS21/syndata.html#length-units">Lengths</a>
   * require units unless the value is zero.  All browsers assume px if the
   * suffix is missing.
   */
  private void fixTerms(AncestorChain<? extends CssTree> t) {
    SymbolInfo stdColors = cssSchema.getSymbol(Name.css("color-standard"));
    final Pattern stdColorMatcher;
    if (stdColors != null) {
      stdColorMatcher = new CssPropertyPatterns(cssSchema)
          .cssPropertyToJavaRegex(stdColors.sig);
    } else {
View Full Code Here


   * <a href="http://www.w3.org/TR/CSS21/syndata.html#length-units">Lengths</a>
   * require units unless the value is zero.  All browsers assume px if the
   * suffix is missing.
   */
  private void fixTerms(AncestorChain<? extends CssTree> t) {
    SymbolInfo stdColors = schema.getSymbol(Name.css("color-standard"));
    final Pattern stdColorMatcher;
    if (stdColors != null) {
      stdColorMatcher = new CssPropertyPatterns(schema)
          .cssPropertyToJavaRegex(stdColors.sig);
    } else {
View Full Code Here

TOP

Related Classes of com.google.caja.lang.css.CssSchema.SymbolInfo

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.