summaryrefslogtreecommitdiff
path: root/src/parse/important.h
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2009-06-18 20:07:47 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2009-06-18 20:07:47 +0000
commit4ff509a419cf48774d31f27e11a59edef1fd52d2 (patch)
tree42b86995bf3d9bb890e20a703b94acc0f2e538da /src/parse/important.h
parent2e21ea7e931bc501a6af8f1761d68407fb232731 (diff)
downloadlibcss-4ff509a419cf48774d31f27e11a59edef1fd52d2.tar.gz
libcss-4ff509a419cf48774d31f27e11a59edef1fd52d2.tar.bz2
Centralise !important handling.
Document background-attachment parser and make it behave correctly. svn path=/trunk/libcss/; revision=7856
Diffstat (limited to 'src/parse/important.h')
-rw-r--r--src/parse/important.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/parse/important.h b/src/parse/important.h
new file mode 100644
index 0000000..9faafef
--- /dev/null
+++ b/src/parse/important.h
@@ -0,0 +1,20 @@
+/*
+ * This file is part of LibCSS.
+ * Licensed under the MIT License,
+ * http://www.opensource.org/licenses/mit-license.php
+ * Copyright 2009 John-Mark Bell <jmb@netsurf-browser.org>
+ */
+
+#ifndef css_parse_important_h_
+#define css_parse_important_h_
+
+#include "stylesheet.h"
+#include "parse/language.h"
+
+css_error parse_important(css_language *c,
+ const parserutils_vector *vector, int *ctx,
+ uint8_t *result);
+
+void make_style_important(css_style *style);
+
+#endif