diff options
author | Michael Drake <Michael Drake tlsa@netsurf-browser.org> | 2020-11-15 15:34:44 +0000 |
---|---|---|
committer | Michael Drake <Michael Drake tlsa@netsurf-browser.org> | 2020-11-15 15:34:44 +0000 |
commit | e2b4077eed0ad778847cd7b17406e8bf8b61a4ae (patch) | |
tree | cd44e465d51834374990cbab95f4c1310373ba6a /src/select/properties/helpers.c | |
parent | d7c1541ac2d21577e58f2839879e71a2cebed229 (diff) | |
download | libcss-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