[android] Fix handling of missing width and height when using flex

This commit is contained in:
Mikael Sand
2019-01-26 17:29:27 +02:00
parent 2919cfa8c3
commit 599f8d1e9f
@@ -184,6 +184,9 @@ class PropHelper {
https://drafts.csswg.org/css-fonts-3/#propdef-font-size
https://drafts.csswg.org/css2/fonts.html#propdef-font-size
*/
if (length == null) {
return offset;
}
SVGLengthUnitType unitType = length.unit;
double value = length.value;
double unit = 1;