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

Issue 792531 link

Starred by 2 users

Issue metadata

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



Sign in to add a comment

Formatting not retained upon copying

Reported by jidanni@gmail.com, Dec 6 2017

Issue description

UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.40 Safari/537.36

Steps to reproduce the problem:
1. User highlights area as in attachment.
2. User tries to copy area as best one could.

What is the expected behavior?
Formatting retained upon pasting elsewhere.

What went wrong?
Formatting lost upon pasting elsewhere:

offsetHeight
:
202
offsetLeft
:
8
offsetParent
:
body
offsetTop
:
86
offsetWidth
:
956

Did this work before? N/A 

Chrome version: 63.0.3239.40  Channel: n/a
OS Version: 
Flash Version: 

Each column becomes a newline in itself.
 

Comment 1 by jidanni@gmail.com, Dec 6 2017

ff.jpg
33.1 KB View Download

Comment 2 by jidanni@gmail.com, Dec 6 2017

Ultimate_proof.jpg
58.3 KB View Download

Comment 3 by jidanni@gmail.com, Dec 6 2017

Maybe the underline, though rightly linked, is wrongly skewing the totals?

Comment 4 by jidanni@gmail.com, Dec 6 2017

Here the <strong> area should be at least 222px high, no? But it says 198.
s.html
258 bytes View Download
strong.jpg
33.9 KB View Download
Cc: sc00335...@techmahindra.com
Labels: Triaged-ET Needs-Feedback Needs-Triage-M63
Unable to reproduce this issue on reported version 63.0.3239.40 and on latest dev 64.0.3278.0        using Ubuntu 14.04 with steps mentioned below. Attaching screenshot for reference.

1. Opened attached html file present in comment#4.
2. Opened devtools and hovered on Strong tag and observed 222x246 only.

@Reporter: Could you please check the screenshot and let us know if we miss anything. This would help in further triaging of the issue.

Thanks!
792531.png
142 KB View Download
Status: WontFix (was: Unconfirmed)
comment 4 and the original issue seem to be different problems.

I believe comment 4 is due to font and OS rendering differences. There are a lot of reasons for element height so I can't debug it from here.


The original issue (about formatting) is separate and I agree that is not ideal. We don't have a plan to fix the copypaste of these values soon, as it's not a very common operation for our users.  

Comment 7 by jidanni@gmail.com, Dec 15 2017

Oops I see my screenshots were meant for https://bugs.chromium.org/p/chromium/issues/detail?id=792531

Comment 8 by jidanni@gmail.com, Dec 15 2017

Sorry.
All I know is I opened two bug reports and pasted various things into each.
https://bugs.chromium.org/p/chromium/issues/detail?id=791327
https://bugs.chromium.org/p/chromium/issues/detail?id=792531
The interesting conclusion is that on Linux the linked height of the box
doesn't reach as high as it should.

Sign in to add a comment