diff options
author | Matt Watson <mattdangerw@gmail.com> | 2016-04-11 18:18:31 -0700 |
---|---|---|
committer | Matt Watson <mattdangerw@gmail.com> | 2016-04-12 16:58:55 -0700 |
commit | df08fc91bdc1d2e4c866122304fabe4dd298a7de (patch) | |
tree | ef9f5597367708108f3a76ce45b205ef279fbca9 /testsuite | |
parent | f9ba55eaad6b2bb1d85a2d78202c3abe6a0b67d0 (diff) | |
download | gtk+-df08fc91bdc1d2e4c866122304fabe4dd298a7de.tar.gz |
css: always get default font size in pixels
Fixes a couple bugs...
- Pixel font sizes in css would render as point sizes.
- For em font sizes, where the parent size was set and not default, we would
incorrectly convert a pixel value from points to pixels.
We'll always grab the default font size in pixels so we don't keep confusing
things.
Worth noting that gtk css font-size will still behave differently than the
web. Pango interprets font-size differently.
Diffstat (limited to 'testsuite')
0 files changed, 0 insertions, 0 deletions