Class EliminateUnitsFromZeroNumericValues

java.lang.Object
com.google.common.css.compiler.ast.DefaultTreeVisitor
com.google.common.css.compiler.passes.EliminateUnitsFromZeroNumericValues
All Implemented Interfaces:
AtRuleHandler, CssCompilerPass, CssTreeVisitor

public class EliminateUnitsFromZeroNumericValues extends DefaultTreeVisitor implements CssCompilerPass
A compiler pass that eliminates useless units from 0.

It is only allowed to eliminate units from relative or absolute length units. See: CSS 2 length units and CSS 3 length units