I haven’t done any changes to email styling from how it is shipped, and I’ve been keeping up with all releases on tests-passed.
I don’t see any of these differences in protonmail; they look the same through that whole time.
I know that email HTML formatting is a hot mess, and I’m aware that there’s a whole service industry around testing email formatting (e.g. litmus’s email testing service). But I’m curious whether this was an intentional change, or a side effect of some other fix, or “gmail is being random”…
I’ve sent myself a test summary from Meta and that’s still centered for me in gmail… I’m guessing maybe there’s some conditional content block that I’m not seeing in the test that was missed in the earlier change that is pushing the layout over… @Falco could you forward one of the emails where you can see the issue?
In a non-clipped email there’s an empty td to the left and right of the td width="650" (the td width="650" contains the content, and the left/right tds adjust their widths to fill the remaining space equally, which centers the content)
When the email is clipped, that right td isn’t there:
…so the left td adjusts to fill the available width, and pushes the content td all the way to the right…
I guess I can fix this by making each content block in the email center itself independently, then in the case of the email being clipped maybe only the clipped section is aligned incorrectly…
Aha! I confirm that when I open up the right-justified late December email (in my case before the year in review) with “View entire message” it does show centered.
What a weird and not wonderful gmail rendering bug. Certainly explains why it didn’t show up on protonmail.
Just to be clear, my asking about this isn’t meant to imply any obligation to change it to work around the gmail bug, and I’m just grateful to understand what happened.