summaryrefslogtreecommitdiff
path: root/src/select/properties/helpers.c
diff options
context:
space:
mode:
authorMichael Drake <Michael Drake tlsa@netsurf-browser.org>2020-11-15 15:34:44 +0000
committerMichael Drake <Michael Drake tlsa@netsurf-browser.org>2020-11-15 15:34:44 +0000
commite2b4077eed0ad778847cd7b17406e8bf8b61a4ae (patch)
treecd44e465d51834374990cbab95f4c1310373ba6a /src/select/properties/helpers.c
parentd7c1541ac2d21577e58f2839879e71a2cebed229 (diff)
downloadlibcss-e2b4077eed0ad778847cd7b17406e8bf8b61a4ae.tar.gz
libcss-e2b4077eed0ad778847cd7b17406e8bf8b61a4ae.tar.bz2
parse: properties: Add property-specific unit class masks.
There's a table we can index into for calc(): const uint32_t property_unit_mask[CSS_N_PROPERTIES] And there are #defines for where the code is already property-specific, avoiding the lookup.
Diffstat (limited to 'src/select/properties/helpers.c')
0 files changed, 0 insertions, 0 deletions