aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/layout_task.rs
diff options
context:
space:
mode:
authorSimon Sapin <simon.sapin@exyr.org>2015-09-11 17:44:53 +0200
committerSimon Sapin <simon.sapin@exyr.org>2015-09-17 14:48:56 +0200
commitfeaf6f4c3fbee9cafb3fdf9981c3ab639a56195b (patch)
tree6aa73602c3f5622f05db26273a1c1feec28d65e4 /components/layout/layout_task.rs
parentd56ea10770f853fcb610e2ccc1f65049a3015f93 (diff)
downloadservo-feaf6f4c3fbee9cafb3fdf9981c3ab639a56195b.tar.gz
servo-feaf6f4c3fbee9cafb3fdf9981c3ab639a56195b.zip
Initial support for custom properties in CSSStyleDeclaration
Diffstat (limited to 'components/layout/layout_task.rs')
-rw-r--r--components/layout/layout_task.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/layout/layout_task.rs b/components/layout/layout_task.rs
index 1a8311e0a78..b6c8a9b4989 100644
--- a/components/layout/layout_task.rs
+++ b/components/layout/layout_task.rs
@@ -979,7 +979,7 @@ impl LayoutTask {
// FIXME: implement used value computation for line-height
property => {
rw_data.resolved_style_response =
- style.computed_value_to_string(property.as_slice());
+ style.computed_value_to_string(property.as_slice()).ok();
}
};
}