Closed
Description
Hi,
I am having issue with fractional element dimensions.
Reproduction:
- Launch
Samples/demo.exe
- Go to Sandbox tab
- Paste code on the left:
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
- Paste code on the right:
div {
width: 100px;
height: 9.4px;
background-color: red;
}
- See unexpected white horizontal lines.
Expected result: (chrome)
https://jsfiddle.net/mfv29rxt/
You might wonder, why I need fractional dimensions. In most of the time you want to achieve scalable user interface, so you use hv
or dp
units. Then fractional dimensions are calculated by library.