Translate causes some elements to duplicate
Reported by
j...@framba.ch,
Dec 4
|
|||||
Issue descriptionUserAgent: 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
,
Dec 4
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.
,
Dec 5
,
Dec 5
,
Dec 5
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.!
,
Dec 5
|
|||||
►
Sign in to add a comment |
|||||
Comment 1 by reids...@gmail.com
, Dec 4