Issue metadata
Sign in to add a comment
|
Do not copy text with zero size
Reported by
c.adhit...@gmail.com,
Jan 26 2017
|
||||||||||||||||||||||||
Issue descriptionUserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36 Steps to reproduce the problem: 1. Style an element's font size as 0px 2. Insert it between other visible text 3. Select and copy the entire thing - you'll see that the zero-size text is also copied. Proof of concept: https://adtac.github.io/chrome-zero-size-text/index.html What is the expected behavior? This should not be the default behavior. Because a `display: none` style does not select the hidden text and this is similar to that. What went wrong? When the text is selected and copied, the zero-size text is copied too. Proof of concept: https://adtac.github.io/chrome-zero-size-text/index.html Did this work before? N/A Chrome version: 55.0.2883.87 Channel: stable OS Version: Fedora 23 Flash Version: Shockwave Flash 24.0 r0
,
Jan 26 2017
This has been reported before, and our stance is that you should never paste untrusted text directly into the terminal. Please see bug 247535 for more discussion. |
|||||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||||
Comment 1 by elawrence@chromium.org
, Jan 26 2017Labels: OS-Chrome OS-Mac OS-Windows