summaryrefslogtreecommitdiff
path: root/framebuffer
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2014-08-20 11:08:35 +0100
committerMichael Drake <tlsa@netsurf-browser.org>2014-08-20 11:08:35 +0100
commit2cf3525b006d3eaf45adb3648d29d4590fc9927d (patch)
tree4e6e6a043ae4f5686c4f59ef4a30f36ea37af27e /framebuffer
parente5d2cba11f02c95712bf7aea3eb2f0eafa541046 (diff)
downloadnetsurf-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 'framebuffer')
0 files changed, 0 insertions, 0 deletions