diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2011-08-23 20:12:41 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2011-08-23 20:12:41 +0000 |
commit | 0b6d7198f4fc46961c57530e654691b5a66b36f0 (patch) | |
tree | 3e2a25ec514b4d9c34ea92dd79c4eafdc6008b76 /src/select/computed.h | |
parent | da47188a8369bb79884d37f3222c8bf8fabb7ea4 (diff) | |
download | libcss-0b6d7198f4fc46961c57530e654691b5a66b36f0.tar.gz libcss-0b6d7198f4fc46961c57530e654691b5a66b36f0.tar.bz2 |
Add support for selecting page-break-{before, after, inside}
Credit: James Montgomerie
svn path=/trunk/libcss/; revision=12645
Diffstat (limited to 'src/select/computed.h')
-rw-r--r-- | src/select/computed.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/src/select/computed.h b/src/select/computed.h index e77c0cc..6f19051 100644 --- a/src/select/computed.h +++ b/src/select/computed.h @@ -85,6 +85,17 @@ typedef struct css_computed_uncommon { css_computed_content_item *content; } css_computed_uncommon; +typedef struct css_computed_page { +/* + * page_break_after 3 + * page_break_before 3 + * page_break_inside 2 + * --- + * 8 bits + */ + uint8_t bits[1]; +} css_computed_page; + struct css_computed_style { /* * background_attachment 2 @@ -270,7 +281,7 @@ struct css_computed_style { css_computed_uncommon *uncommon;/**< Uncommon properties */ void *aural; /**< Aural properties */ - void *page; /**< Page properties */ + css_computed_page *page; /**< Page properties */ css_allocator_fn alloc; void *pw; |