summaryrefslogtreecommitdiff
path: root/src/select/properties/top.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/select/properties/top.c')
-rw-r--r--src/select/properties/top.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/select/properties/top.c b/src/select/properties/top.c
index 7fe31e7..f982fc9 100644
--- a/src/select/properties/top.c
+++ b/src/select/properties/top.c
@@ -29,7 +29,7 @@ css_error set_top_from_hint(const css_hint *hint,
css_error initial_top(css_select_state *state)
{
- return set_top(state->result, CSS_TOP_AUTO, 0, CSS_UNIT_PX);
+ return set_top(state->computed, CSS_TOP_AUTO, 0, CSS_UNIT_PX);
}
css_error compose_top(const css_computed_style *parent,