summaryrefslogtreecommitdiff
path: root/src/css.hh
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2014-02-15 23:58:41 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2014-02-15 23:58:41 +0100
commit891ba8ec637c42a173dd5b044de4e56f86a33fec (patch)
tree5230b92f5c38966a52e61a58cedbd6f413a96c19 /src/css.hh
parentff62eabe7e4045721c8a22fb0d0ab75dc85cdb06 (diff)
share user agent style between CssContext's
Diffstat (limited to 'src/css.hh')
-rw-r--r--src/css.hh1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/css.hh b/src/css.hh
index 239bffaf..c7398559 100644
--- a/src/css.hh
+++ b/src/css.hh
@@ -498,6 +498,7 @@ class CssStyleSheet {
*/
class CssContext {
private:
+ static CssStyleSheet userAgentSheet;
CssStyleSheet sheet[CSS_PRIMARY_USER_IMPORTANT + 1];
MatchCache matchCache[CSS_PRIMARY_USER_IMPORTANT + 1];
int pos;