diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2009-01-24 13:28:24 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2009-01-24 13:28:24 +0000 |
commit | b5ace38c94691ef5dfdb56fe0a5711d59ec73017 (patch) | |
tree | aaab8e5cfec90ea15f118f3b627f0cd2bf5f153d /src/parse/properties.c | |
parent | 064b2ea07b09327360e5702825d39470900147a6 (diff) | |
download | libcss-b5ace38c94691ef5dfdb56fe0a5711d59ec73017.tar.gz libcss-b5ace38c94691ef5dfdb56fe0a5711d59ec73017.tar.bz2 |
hidden is an invalid outline style.
svn path=/trunk/libcss/; revision=6232
Diffstat (limited to 'src/parse/properties.c')
-rw-r--r-- | src/parse/properties.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/parse/properties.c b/src/parse/properties.c index de30f07..e3133c1 100644 --- a/src/parse/properties.c +++ b/src/parse/properties.c @@ -4076,6 +4076,10 @@ css_error parse_outline_style(css_language *c, flags = getFlags(opv); value = getValue(opv) & ~SIDE_LEFT; + /* Hidden is invalid */ + if (value == BORDER_STYLE_HIDDEN) + return CSS_INVALID; + opv = buildOPV(OP_OUTLINE_STYLE, flags, value); *((uint32_t *) (*result)->bytecode) = opv; |