New issue
Advanced search Search tips

Issue 911788 link

Starred by 3 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 2
Type: Bug



Sign in to add a comment

Translate causes some elements to duplicate

Reported by j...@framba.ch, Dec 4

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.0 Safari/537.36

Example URL:
https://joe.framba.ch/translate-dupe-repro/

Steps to reproduce the problem:
1. Wrap an "i" tag in an "a" tag with whitespace.
2. Translate the page.
3. See the "i" tag is duplicated.

What is the expected behavior?
Content should not be duplicate.

What went wrong?
Content is duplicated.

Does it occur on multiple sites: Yes

Is it a problem with a plugin? No 

Did this work before? N/A 

Does this work in other browsers? N/A

Chrome version: 72.0.3626.0  Channel: n/a
OS Version: OS X 10.12.6
Flash Version: 

Repro is available on Github at https://joe.framba.ch/translate-dupe-repro/ with source available at 
https://github.com/joeframbach/translate-dupe-repro/blob/master/index.html
 
Note: We have observed other instances where Google Chrome in-page translation is breaking webpage elements. For example, the "Next page" button in Amazon search results (mobile browser), it redirects people to the wrong page. Or similarly, the avatar icon in Amazon's mobile web Navigation Header (for Your Account) is duplicated. Not sure if any of these bugs share a root cause.
I've found that Translate injects `font` tags into the DOM, which causes `event.target` to no longer be the expected element in the onclick handler. That is a separate issue from this one. But, I think Google could cause the new injected `font` tags to be not interactable. The developer did not intent for them to be there and having it interactable and in the event handler bubbling is unexpected.
Labels: Needs-Triage-M72
Components: -Blink UI>Browser>Language>Translate
Cc: swarnasree.mukkala@chromium.org
Labels: Triaged-ET Target-73 M-73 FoundIn-71 FoundIn-70 FoundIn-73 FoundIn-72 OS-Linux OS-Windows
Status: Untriaged (was: Unconfirmed)
Able to reproduce on reported chrome #72.0.3626.0 and latest chrome #73.0.3630.0 by following steps as per comment#0 using Windows 10, Ubuntu 17.10 and Mac 10.12.6.

The behavior is being observed from M-60(#60.0.3112.113). This is non-regression issue hence marking it as untriaged and requesting someone from the dev team to look into the issue.
Thanks.!
Cc: ma...@chromium.org yyushkina@chromium.org frechette@chromium.org anthonyvd@chromium.org
Labels: Hotlist-TranslateElement
Status: Available (was: Untriaged)

Sign in to add a comment