summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2008-09-25 07:56:31 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2008-09-25 07:56:31 +0000
commit1e5dee524f9fbff6c811dba66ff404882b02b900 (patch)
tree51147d8036b9307de71495bab1956230370895a8 /src
parent5af318eebe18cbac3eed9b860fcf997850ad9259 (diff)
downloadlibcss-1e5dee524f9fbff6c811dba66ff404882b02b900.tar.gz
libcss-1e5dee524f9fbff6c811dba66ff404882b02b900.tar.bz2
Mechanism for the client to select the language level.
svn path=/trunk/libcss/; revision=5436
Diffstat (limited to 'src')
-rw-r--r--src/stylesheet.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/stylesheet.c b/src/stylesheet.c
index b61bb56..35bc13c 100644
--- a/src/stylesheet.c
+++ b/src/stylesheet.c
@@ -13,6 +13,7 @@
/**
* Create a stylesheet
*
+ * \param level The language level of the stylesheet
* \param url URL of stylesheet
* \param title Title of stylesheet
* \param origin Origin of stylesheet
@@ -23,7 +24,8 @@
* \param alloc_pw Client private data for alloc
* \return Pointer to stylesheet on success, NULL otherwise
*/
-css_stylesheet *css_stylesheet_create(const char *url, const char *title,
+css_stylesheet *css_stylesheet_create(css_language_level level,
+ const char *url, const char *title,
css_origin origin, uint32_t media,
css_import_handler import_callback, void *import_pw,
css_alloc alloc, void *alloc_pw)
@@ -41,7 +43,6 @@ css_stylesheet *css_stylesheet_create(const char *url, const char *title,
memset(sheet, 0, sizeof(css_stylesheet));
/** \todo need a parser instance */
- /** \todo need way of letting client select language level */
/** \todo create selector hash */