diff options
author | James Bursa <james@netsurf-browser.org> | 2005-05-21 23:30:19 +0000 |
---|---|---|
committer | James Bursa <james@netsurf-browser.org> | 2005-05-21 23:30:19 +0000 |
commit | ff74a126f7a0b37ca81e5bd78d691aea1436884a (patch) | |
tree | 394d6d916102b24aee58a2af72ba776dc4bcaea4 /render/html.h | |
parent | 9edb2fb92ca5d02406142edc8443b6d3e54e8ac5 (diff) | |
download | netsurf-ff74a126f7a0b37ca81e5bd78d691aea1436884a.tar.gz netsurf-ff74a126f7a0b37ca81e5bd78d691aea1436884a.tar.bz2 |
[project @ 2005-05-21 23:30:19 by bursa]
Improve selector specificity support by adding "working stylesheets" with pre-sorted lists of rules. This also simplifies css_get_style(). The stylesheet origin is now encoded in the specificity. Improve output of css_dump_style().
svn path=/import/netsurf/; revision=1729
Diffstat (limited to 'render/html.h')
-rw-r--r-- | render/html.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/render/html.h b/render/html.h index 38b65b950..3bc71d834 100644 --- a/render/html.h +++ b/render/html.h @@ -69,6 +69,8 @@ struct content_html_data { /** Stylesheets. Each may be 0. */ struct content **stylesheet_content; struct css_style *style; /**< Base style. */ + /** Working stylesheet. */ + struct css_working_stylesheet *working_stylesheet; /** Number of entries in object. */ unsigned int object_count; |