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

UNCONFIRMED
Unassigned

Status

()

Core
Layout
P3
normal
UNCONFIRMED
2 years ago
9 months ago

People

(Reporter: Brandon Frohs, Unassigned)

Tracking

({testcase})

47 Branch
testcase
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(2 attachments)

(Reporter)

Description

2 years ago
Created attachment 8769218 [details]
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.
(Reporter)

Comment 1

2 years ago
Created attachment 8769219 [details]
pixel-rounding-reftest.html

Reftest using `height` instead of `box-shadow`.

Updated

2 years ago
Component: Untriaged → Layout
Product: Firefox → Core

Updated

2 years ago
Keywords: testcase

Updated

9 months ago
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.