diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2014-06-01 18:32:37 +0100 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2014-06-01 18:32:37 +0100 |
commit | c6d7f24987a90bc61e408c4249a6a212276b4174 (patch) | |
tree | 75a3f5478618e0e583db6f168193e7645c012dda /test/dump.h | |
parent | 89a4d061a46490d5fad3792a565a1a0114c400e0 (diff) | |
download | libcss-c6d7f24987a90bc61e408c4249a6a212276b4174.tar.gz libcss-c6d7f24987a90bc61e408c4249a6a212276b4174.tar.bz2 |
Add support for CSS3 overflow-x and overflow-y properties.
Now, overflow is a shorthand property setting both overflow-x and
overflow-y.
The getter for the computed overflow has been removed, and replaced
with two for overflow-x and overflow-y.
Diffstat (limited to 'test/dump.h')
-rw-r--r-- | test/dump.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/dump.h b/test/dump.h index 941117c..7ffec4f 100644 --- a/test/dump.h +++ b/test/dump.h @@ -425,7 +425,7 @@ static const char *opcode_names[] = { "outline-color", "outline-style", "outline-width", - "overflow", + "overflow-x", "padding-top", "padding-right", "padding-bottom", @@ -477,6 +477,7 @@ static const char *opcode_names[] = { "column-span", "column-width", "writing-mode", + "overflow-y", }; static void dump_css_fixed(css_fixed f, char **ptr) @@ -2076,7 +2077,8 @@ void dump_bytecode(css_style *style, char **ptr, uint32_t depth) break; } break; - case CSS_PROP_OVERFLOW: + case CSS_PROP_OVERFLOW_X: + case CSS_PROP_OVERFLOW_Y: switch (value) { case OVERFLOW_VISIBLE: *ptr += sprintf(*ptr, "visible"); |