background-opacity support

This commit is contained in:
John Firebaugh
2014-08-28 10:34:10 -07:00
parent e2c2ab843e
commit 9f734ee61d
7 changed files with 21 additions and 9 deletions

View File

@@ -636,6 +636,7 @@ void StyleParser::parseStyle(JSVal value, ClassProperties &klass) {
parseOptionalProperty<Function<float>>("raster-fade-duration", Key::RasterFade, klass, value);
parseOptionalProperty<PropertyTransition>("transition-raster-fade-duration", Key::RasterFade, klass, value);
parseOptionalProperty<Function<float>>("background-opacity", Key::BackgroundOpacity, klass, value);
parseOptionalProperty<Function<Color>>("background-color", Key::BackgroundColor, klass, value);
}