New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 752541 link

Starred by 2 users

Issue metadata

Status: WontFix
Owner: ----
Closed: Aug 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

transform(50%, *) causes blurry content OR borders missing on text inputs when the full height of the element is an odd number of pixels.

Reported by jason.sp...@gmail.com, Aug 4 2017

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.90 Safari/537.36

Steps to reproduce the problem:
1. Have an element with a transform of -50%, and a height of an odd number of pixels
2. top border is missing on contained input elements OR all modal content is blurry
3. 

What is the expected behavior?
content is neither blurry, nor missing borders.

What went wrong?
Content was blurry or missing borders.

Did this work before? N/A 

Does this work in other browsers? N/A

Chrome version: 60.0.3112.90  Channel: stable
OS Version: 10.0
Flash Version: 

I can reproduce the blurry content bug on our internal site (cannot share that site as a repro) but can only reproduce the missing input borders on my repro.  I have attached screenshots of the blurriness when  (modalHeight % 2 === 1) (is an odd number of pixels tall).
 
blurry.html
3.2 KB View Download
chrome-modal-height=391px.png
20.6 KB View Download
chrome-modal-height=392px.png
16.9 KB View Download
Labels: Needs-Triage-M60
Cc: hdodda@chromium.org
Labels: Needs-Feedback
Tested the issue on windows on 10 & 7 using chrome M60 #60.0.3112.90 and M62 #62.0.3177.0 and observed input filed border is missing.

Attached screenshot for reference.

@jason.spradlin.chr-- Could you please check attached screenshot and  confr=irm if this is the issue , so that we can continue bisecting the issue.

Thanks!
752541.JPG
28.9 KB View Download
Yes this screenshot shows the correct issue.  Sorry i didn't get emailed regarding this.
Project Member

Comment 4 by sheriffbot@chromium.org, Aug 18 2017

Labels: -Needs-Feedback
Thank you for providing more feedback. Adding requester "hdodda@chromium.org" to the cc list and removing "Needs-Feedback" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Comment 5 by e...@chromium.org, Aug 21 2017

Status: WontFix (was: Unconfirmed)
When using transforms content is not aligned to device pixels resulting in the observed behavior. This is needed to allow smooth animations and avoiding stair-step like behavior.

Try to avoid using transforms to position static content.
Negative margins, absolute, or relative positioning all trigger device pixel alignment and are more suitable for re-positioning content.

That might be a good recommendation (not using transforms for positioning static content), but it is not a solution to the issue.

Sign in to add a comment