summaryrefslogtreecommitdiff
path: root/src/select/arena.h
diff options
context:
space:
mode:
authorMichael Drake <Michael Drake tlsa@netsurf-browser.org>2019-05-12 16:17:12 +0100
committerMichael Drake <Michael Drake tlsa@netsurf-browser.org>2019-05-12 16:23:27 +0100
commit4989d72549b53f751d2999a771e0bc6737015810 (patch)
tree744c15bc5403563cc11be3ad1af94a2447b523f2 /src/select/arena.h
parentd09f33131b8079f3886e0827cf458e1fc2c7f2d6 (diff)
downloadlibcss-4989d72549b53f751d2999a771e0bc6737015810.tar.gz
libcss-4989d72549b53f751d2999a771e0bc6737015810.tar.bz2
Computed styles: Drop uncommon extension blocks.
They were a space saving feature, but they became largely redundant with computed style sharing. They also made the code complex and buggy in many places. E.g. the cascade, inheritance / composition, and intial values all needed to behave corretly when they, or their parent, had or didn't have an uncommon block. Also, only the uncommon block was really used. Fixes: https://bugs.netsurf-browser.org/mantis/view.php?id=2641
Diffstat (limited to 'src/select/arena.h')
-rw-r--r--src/select/arena.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/select/arena.h b/src/select/arena.h
index af06050..5da5a5d 100644
--- a/src/select/arena.h
+++ b/src/select/arena.h
@@ -10,7 +10,6 @@
#define css_select_arena_h_
struct css_computed_style;
-struct css_computed_uncommon;
/*
* Add computed style to the style sharing arena, or exchange for existing
@@ -32,14 +31,5 @@ enum css_error css__arena_intern_style(struct css_computed_style **style);
*/
enum css_error css__arena_remove_style(struct css_computed_style *style);
-/*
- * Remove a computed style's uncommon block from the style sharing arena
- *
- * \params uncommon The uncommon style to remove from the style sharing arena
- * \return CSS_OK on success or appropriate error otherwise.
- */
-enum css_error css__arena_remove_uncommon_style(
- struct css_computed_uncommon *uncommon);
-
#endif