diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2014-08-20 11:08:35 +0100 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2014-08-20 11:08:35 +0100 |
commit | 2cf3525b006d3eaf45adb3648d29d4590fc9927d (patch) | |
tree | 4e6e6a043ae4f5686c4f59ef4a30f36ea37af27e /gtk/scaffolding.c | |
parent | e5d2cba11f02c95712bf7aea3eb2f0eafa541046 (diff) | |
download | netsurf-2cf3525b006d3eaf45adb3648d29d4590fc9927d.tar.gz netsurf-2cf3525b006d3eaf45adb3648d29d4590fc9927d.tar.bz2 |
Fix text selection.
Values returned by nscss_len2px are actually libcss fixed-points,
so convert the result to pixels. Also reduce the amount by which
the top of descendant bboxes are extended to 3/4 of the text
height, which is the maximum possible amount that the text can
protrude above the box when line-height is reduced.
Diffstat (limited to 'gtk/scaffolding.c')
0 files changed, 0 insertions, 0 deletions