summaryrefslogtreecommitdiff
path: root/test/dump_computed.h
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2022-11-03 08:57:49 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2022-11-03 08:57:49 +0000
commit4d9a3d3e1dcdaa912dd00341a668ced672847a26 (patch)
tree7cab02417579d8bd54f87a784d7f425dc8c44d05 /test/dump_computed.h
parent3c0c6b6def402f0c0b654974e193c8c4bf55047f (diff)
downloadlibcss-4d9a3d3e1dcdaa912dd00341a668ced672847a26.tar.gz
libcss-4d9a3d3e1dcdaa912dd00341a668ced672847a26.tar.bz2
tests: Add tests for position:sticky
Diffstat (limited to 'test/dump_computed.h')
-rw-r--r--test/dump_computed.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/dump_computed.h b/test/dump_computed.h
index a5c4f13..2ce7849 100644
--- a/test/dump_computed.h
+++ b/test/dump_computed.h
@@ -2725,6 +2725,9 @@ static void dump_computed_style(const css_computed_style *style, char *buf,
case CSS_POSITION_FIXED:
wrote = snprintf(ptr, *len, "position: fixed\n");
break;
+ case CSS_POSITION_STICKY:
+ wrote = snprintf(ptr, *len, "position: sticky\n");
+ break;
default:
wrote = 0;
break;