diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2010-01-12 20:56:08 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2010-01-12 20:56:08 +0000 |
commit | 46e3a946d7b2f7d68f3753a37c6f68a732a36f01 (patch) | |
tree | 7fb3b470499776274246cb261b13785ecd254e6e /src/stylesheet.h | |
parent | 41d14d090b1ce6b34865c12b3d1c980bd0fa36e8 (diff) | |
download | libcss-46e3a946d7b2f7d68f3753a37c6f68a732a36f01.tar.gz libcss-46e3a946d7b2f7d68f3753a37c6f68a732a36f01.tar.bz2 |
Origin and media are not properties of the stylesheet.
They are properties of the context in which the stylesheet is used.
Therefore, for top-level sheets, this information must be provided at selection
time. For child sheets, the origin is inherited from their parent and the
applicable media types are specified on the linking mechanism.
svn path=/trunk/libcss/; revision=9802
Diffstat (limited to 'src/stylesheet.h')
-rw-r--r-- | src/stylesheet.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/stylesheet.h b/src/stylesheet.h index df095d9..10a9827 100644 --- a/src/stylesheet.h +++ b/src/stylesheet.h @@ -157,9 +157,6 @@ struct css_stylesheet { char *url; /**< URL of this sheet */ char *title; /**< Title of this sheet */ - css_origin origin; /**< Origin of stylesheet */ - uint64_t media; /**< Bitfield of media types */ - void *ownerNode; /**< Owning node in document */ css_rule *ownerRule; /**< Owning rule in parent */ |