You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Underlines less than 1px high are sometimes invisible due to rounding #7152
In the test case below, about a third of the list items are painted with no visible underline. The display list items for the missing underlines look like this:
Rect(28px×0.6833333333333333px at (48px,255.78333333333333px))
This rect is invisible after rounding because its top and bottom coordinates (255.7833px and 256.4667px) both round to the same whole pixel value (256px).
This test case reproduces the bug on my Linux box, though the behavior varies depending on the exact fonts installed in the system. Zooming in or out can cause the bug to appear or disappear, depending again on the font.
Activity
Fix servo#7152
Snap rectangles to nearest pixels consistently.
Snap rectangles to nearest pixels consistently.
Auto merge of #7161 - mbrubeck:underline, r=pcwalton
Snap rectangles to nearest pixels consistently.
Auto merge of #7161 - mbrubeck:underline, r=pcwalton
Snap rectangles to nearest pixels consistently.
Auto merge of #7577 - bjwbell:borders_pixel_rounding_bug, r=mbrubeck
Auto merge of #7577 - bjwbell:borders_pixel_rounding_bug, r=mbrubeck
servo: Merge #7577 - gfx: Fix bug with 1px width borders disappearing…
servo: Merge #7577 - gfx: Fix bug with 1px width borders disappearing…
servo: Merge #7577 - gfx: Fix bug with 1px width borders disappearing…
servo: Merge #7577 - gfx: Fix bug with 1px width borders disappearing…