summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn-Mark Bell <jmb@netsurf-browser.org>2015-03-10 01:21:55 (GMT)
committer John-Mark Bell <jmb@netsurf-browser.org>2015-03-10 01:21:55 (GMT)
commit8b9470af9d5237f425e6a00e1253f04990de3aa9 (patch)
tree343b809e1ab92fcdb6deeb75d607a93be54bf1e3
parent9a3112f46fcfce9952134fa230b5879ac33b8e3c (diff)
downloadlibcss-8b9470af9d5237f425e6a00e1253f04990de3aa9.tar.gz
libcss-8b9470af9d5237f425e6a00e1253f04990de3aa9.tar.bz2
Revert "Fix use of uninitialized values in style composition."
This reverts commit 9a3112f46fcfce9952134fa230b5879ac33b8e3c.
-rw-r--r--src/select/computed.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/select/computed.c b/src/select/computed.c
index caffc69..dc632f9 100644
--- a/src/select/computed.c
+++ b/src/select/computed.c
@@ -1159,7 +1159,7 @@ css_error css__compute_absolute_values(const css_computed_style *parent,
return error;
/* Fix up letter-spacing */
- error = compute_absolute_length_auto(style,
+ error = compute_absolute_length(style,
&ex_size.data.length,
get_letter_spacing,
set_letter_spacing);
@@ -1182,7 +1182,7 @@ css_error css__compute_absolute_values(const css_computed_style *parent,
return error;
/* Fix up word-spacing */
- error = compute_absolute_length_auto(style,
+ error = compute_absolute_length(style,
&ex_size.data.length,
get_word_spacing,
set_word_spacing);
@@ -1198,7 +1198,7 @@ css_error css__compute_absolute_values(const css_computed_style *parent,
return error;
/* Fix up column-width */
- error = compute_absolute_length_auto(style,
+ error = compute_absolute_length(style,
&ex_size.data.length,
get_column_width,
set_column_width);
@@ -1206,7 +1206,7 @@ css_error css__compute_absolute_values(const css_computed_style *parent,
return error;
/* Fix up column-gap */
- error = compute_absolute_length_auto(style,
+ error = compute_absolute_length(style,
&ex_size.data.length,
get_column_gap,
set_column_gap);