* Create a configuration.
*
* @return The newly created configuration.
*/
private static CompilerConfiguration createConfiguration() {
CompilerConfiguration configuration = new CompilerConfigurationImpl();
configuration.setSource(StyleSheetSource.DEVICE);
configuration.setSupportedPseudoEntities(
new DevicePseudoStyleEntities());
configuration.setSpecificityCalculator(
new SpecificityCalculatorImpl());
return configuration;
}