Index: tools/dom/src/Dimension.dart |
diff --git a/tools/dom/src/Dimension.dart b/tools/dom/src/Dimension.dart |
index 6286ae9fc553441c057bb6be8209155f1e2fc8a6..d9b34d9e5d7fc1eb4c39962535311f6712c3a736 100644 |
--- a/tools/dom/src/Dimension.dart |
+++ b/tools/dom/src/Dimension.dart |
@@ -66,8 +66,8 @@ class Dimension { |
_unit = cssValue.substring(cssValue.length - 2); |
} |
if (cssValue.contains('.')) { |
- _value = double.parse(cssValue.substring(0, |
- cssValue.length - _unit.length)); |
+ _value = |
+ double.parse(cssValue.substring(0, cssValue.length - _unit.length)); |
} else { |
_value = int.parse(cssValue.substring(0, cssValue.length - _unit.length)); |
} |