summaryrefslogtreecommitdiff
path: root/content/handlers/css/utils.c
Commit message (Collapse)AuthorAgeFilesLines
* css/utils.c: Fix vw/vh handling in len2ptDaniel Silverstone2019-06-301-2/+2
| | | | | | | | | We were using integer multiplication rather than fixed-point multiplication when calculating point sizes relative to the viewport. This fixes that. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* CSS: One inch is 96 css pixels.Michael Drake2019-05-071-2/+2
|
* CSS: Use helper to convert form css to physical pixels.Michael Drake2019-05-061-2/+1
|
* Convert css_len2pt and css_len2px for CSS pixels.Michael Drake2019-05-061-15/+20
|
* CSS utils: Handle new units in length conversion routines.Michael Drake2018-01-051-8/+136
| | | | | This causes a ripple effect of all the callsites needing information they didn't have.
* Allow include directories to be added by sub makefilesVincent Sanders2016-06-061-1/+1
|
* move the CSS content handlerVincent Sanders2016-05-261-0/+127