New issue
Advanced search Search tips

Issue 636385 link

Starred by 1 user

Issue metadata

Status: WontFix
Merged: issue 760936
Owner: ----
Closed: Mar 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Compat



Sign in to add a comment

CSSOM View properties gets rounded to integer

Reported by netmosf...@gmail.com, Aug 10 2016

Issue description

UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36

Example URL:

Steps to reproduce the problem:
cssom properties such as scrollTop, scrollLeft etc don't support fractional offsets (as specified in the working draft).

What is the expected behavior?

What went wrong?
values seem always rounded to integer. breaks sites if browsed with a device having a DPR != 1 and there is no sane workaround, afaik

thanks

Does it occur on multiple sites: N/A

Is it a problem with a plugin? N/A 

Did this work before? N/A 

Does this work in other browsers? N/A 

Chrome version: 52.0.2743.116  Channel: stable
OS Version: 6.1 (Windows 7, Windows Server 2008 R2)
Flash Version: Shockwave Flash 22.0 r0
 
Components: UI
Labels: Needs-Feedback
netmosfera@Could you please provide detailed reproducible steps with actual and expected behavior screencast for better understanding the issue to triage it further.
does this help? http://i.imgur.com/EJwo48f.gif sometimes the scrollbar can't reach the scroll-end. basically, scrollTop + clientHeight is not equal to scrollHeight, and is in fact a pixel smaller

i also tried to get the same value through getBoundingClientRect but is wrong too.
Project Member

Comment 3 by sheriffbot@chromium.org, Aug 18 2016

Labels: -Needs-Feedback Needs-Review
Owner: ssamanoori@chromium.org
Thank you for providing more feedback. Adding requester "ssamanoori@chromium.org" for another review and adding "Needs-Review" label for tracking.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Labels: Hotlist-Recharge-BouncingOwner
Owner: ----
Status: Untriaged (was: Unconfirmed)
This owner is not able to receive e-mails, please re-triage.

Comment 5 by cda...@chromium.org, Mar 13 2017

Labels: -Needs-Review
Cleaning up sheriffbot label "Needs-Review" label as a part of modified "Needs-Feedback" sheriffbot rule. [ref bug for cleanup 684919]
Components: -UI Blink>CSS
Labels: -OS-Windows
Components: -Blink>CSS Blink>Scroll
Mergedinto: 760936
Status: Duplicate (was: Untriaged)

Comment 8 by bokan@chromium.org, Mar 5 2018

Cc: bokan@chromium.org
Status: WontFix (was: Duplicate)
This is not a dup, CSSOM view properties are different from the newly introduced visualViewport properties. However, this bug is really old - we've since shipped fractional scroll offsets for properties like scrollLeft/Top so I'm closing this bug. Feel free to reply here if you're still having issues and I can take a closer look.

Sign in to add a comment