Border Image Slice incorrect in HiDPI
Steps to reproduce
- Display scaling factor must be >1. This doesn't seem to effect LoDPI displays
- Use a border-image with slices such as here: https://github.com/danrabbit/border-image-slice-bug-example/blob/master/example.vala#L5
I've created a small example here: https://github.com/danrabbit/border-image-slice-bug-example
Current behavior
Border images are sliced incorrectly. The slice looks to be more units than it should be. In my above example, the slice ends up being 11 units (22px) wide
Expected outcome
According to the CSS, the slice should be 10 units (20px) wide
Version information
3.22.28-1ubuntu3 from Ubuntu 18.04
Additional information
These two screenshots are using the same images and CSS.
This is the correct behavior at 1x scaling:
This is the incorrect behavior at 2x scaling:
Edited by Danielle Foré