You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When clicking the "View translated message" in Gmail, the content of the email is translated. But also the rendering changes as the CSS no longer matches the HTML.
Showing my original message Gmail is rendering
<divid=":2an" class="a3s aiL msg4527639058425575520"><u></u><div><divrole="article" aria-label="email name" lang="en" dir="ltr" style="font-size:medium;font-size:max(16px,1rem)"><h1class="m_4527639058425575520foo">Gmail préfixe incorrectement les noms de classe lorsque la traduction est activée
</h1><divclass="yj6qo"></div><divclass="adL"></div></div><divclass="adL"></div></div><divclass="adL"></div></div>
After clicking translate, the original email is set to display:none and a copy of the content is created adjacent to it as
<divid=":3kz" class="a3s aiL " dir="ltr"><u></u><div><divlang="en" dir="ltr" style="font-size:medium;font-size:max(16px,1rem)"><h1class="m_8895087920744474942foo"> Gmail incorrectly prefixes class names when translation is enabled</h1></div></div></div>
Here we can see the class msg4527639058425575520 isn't included on the wrapping div.
And the class on the h1 is changed from m_4527639058425575520foo to m_8895087920744474942foo
The CSS stays the same.
When clicking the "View translated message" in Gmail, the content of the email is translated. But also the rendering changes as the CSS no longer matches the HTML.
Showing my original message Gmail is rendering
And styles
After clicking translate, the original email is set to
display:none
and a copy of the content is created adjacent to it asHere we can see the class
msg4527639058425575520
isn't included on the wrapping div.And the class on the h1 is changed from
m_4527639058425575520foo
tom_8895087920744474942foo
The CSS stays the same.
This appears to be very similar to a previous issue Gmail incorrectly prefixes HTML when turning images on
The text was updated successfully, but these errors were encountered: