summaryrefslogtreecommitdiff
path: root/src/parse/parse.c
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2009-02-15 01:59:58 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2009-02-15 01:59:58 +0000
commit90e05332d329663b9616bae2792b7cb36d03e13f (patch)
tree9ce4334e8293e546ee6fb95730465dd18723c4d6 /src/parse/parse.c
parent59cfdab5159981b97cd5b3b3cfd1d22f0600f5db (diff)
downloadlibcss-90e05332d329663b9616bae2792b7cb36d03e13f.tar.gz
libcss-90e05332d329663b9616bae2792b7cb36d03e13f.tar.bz2
Quirks mode parsing
svn path=/trunk/libcss/; revision=6519
Diffstat (limited to 'src/parse/parse.c')
-rw-r--r--src/parse/parse.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/parse/parse.c b/src/parse/parse.c
index 50bd362..a1b77b0 100644
--- a/src/parse/parse.c
+++ b/src/parse/parse.c
@@ -413,6 +413,17 @@ const char *css_parser_read_charset(css_parser *parser,
return parserutils_inputstream_read_charset(parser->stream, source);
}
+/**
+ * Quirks permitted when parsing
+ *
+ * \param parser Parser to query
+ * \return True if quirks permitted, false otherwise
+ */
+bool css_parser_quirks_permitted(css_parser *parser)
+{
+ return parser->quirks;
+}
+
/******************************************************************************
* Helper functions *
******************************************************************************/