New issue
Advanced search Search tips

Issue 629828 link

Starred by 5 users

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 3
Type: Bug



Sign in to add a comment

getBoundingClientRect for Range objects does not return correct fractional widths

Project Member Reported by drott@chromium.org, Jul 20 2016

Issue description

Version: Canary, Tot, July 20th 2016

What steps will reproduce the problem?
(1) Visit http://codepen.io/anon/pen/akYvkO
(2) Observe output of getBoundingClientRect().width for sub ranges of the text run

What is the expected output?

Not 100% clear yet, but if subpixel layout is enabled, then correct fractional values should appear for the whole text as well as subranges.

What do you see instead?
On Mac, Chromium reports a fractional value for the complete width, but not for sub ranges, which does not seem right.
On Linux, Chromium reports fractional values with identical fractional part, which does not seem right.
On Windows (through Remote Desktop), Chromium reports fractional values with identical fractional part, which does not seem right.


 

Comment 1 by drott@chromium.org, Jul 20 2016

Summary: getBoundingClientRect for text ranges does not return correct fractional widths (was: getBoundingClientRect for text ranges does not return fractional widths)

Comment 2 by drott@chromium.org, Jul 20 2016

Summary: getBoundingClientRect for Range objects does not return correct fractional widths (was: getBoundingClientRect for text ranges does not return correct fractional widths)

Comment 3 by e...@chromium.org, Jul 22 2016

Status: Available (was: Untriaged)
Project Member

Comment 4 by sheriffbot@chromium.org, Jul 24 2017

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available. If you change it back, also remove the "Hotlist-Recharge-Cold" label.

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

Comment 5 by e...@chromium.org, Jul 31 2017

Status: Available (was: Untriaged)
Project Member

Comment 6 by sheriffbot@chromium.org, Jul 31

Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Labels: Fixed-In-LayoutNG
Status: Available (was: Untriaged)
Status: Assigned (was: Available)

Sign in to add a comment