Open Bug 1285571 Opened 9 years ago Updated 3 years ago

Div with box-shadow and top:0.5px painted as if it were 0.5px shorter than it is

Categories

(Core :: Layout, defect, P3)

47 Branch
defect

Tracking

()

UNCONFIRMED

People

(Reporter: brandon, Unassigned)

Details

(Keywords: testcase)

Attachments

(2 files)

Attached file pixel-rounding.html
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:47.0) Gecko/20100101 Firefox/47.0 Build ID: 20160606113944 Steps to reproduce: 1. Open `pixel-rounding.html` attachment on a non-hi-dpi monitor 2. Magnify the pixels (not with built-in zoom) to see difference easier (color picker in dev tools is great for this) Actual results: Top 3 pixels are black while the bottom pixels are gray. Expected results: Bottom pixels should also be black.
Reftest using `height` instead of `box-shadow`.
Component: Untriaged → Layout
Product: Firefox → Core
Keywords: testcase
Priority: -- → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: