summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2014-12-29 18:02:56 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2014-12-29 18:02:56 +0000
commit193640287aba0c574c1a4b2fd63133f29e1b42d6 (patch)
treeed037edd47fbf77ac10bbe03776c25f6793f8512
parente66f4133ef6c036f2f8a53b8df94fe80453c7983 (diff)
downloadlibcss-193640287aba0c574c1a4b2fd63133f29e1b42d6.tar.gz
libcss-193640287aba0c574c1a4b2fd63133f29e1b42d6.tar.bz2
Add comment to explain choice of defaults in the default uncommon extension block.
-rw-r--r--src/select/propset.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/select/propset.h b/src/select/propset.h
index 769d3b3..08a083a 100644
--- a/src/select/propset.h
+++ b/src/select/propset.h
@@ -16,6 +16,8 @@
/* Important: keep this file in sync with computed.h */
/** \todo Is there a better way to ensure this happens? */
+/** Default values are 'initial value', unless the property is inherited,
+ * in which case it is 'inherit'. */
static const css_computed_uncommon default_uncommon = {
{ (CSS_LETTER_SPACING_INHERIT << 2) | CSS_OUTLINE_COLOR_INVERT,
(CSS_OUTLINE_WIDTH_MEDIUM << 1) | CSS_BORDER_SPACING_INHERIT,