Live data from Hacker News

Gmail will now support CSS media queries

googleappsdeveloper.blogspot.com

31–40 of 70 posts

Re: Gmail will now support CSS media queries

#31
although this was announced on friday, it has yet to be enabled (at least on test emails i've been developing). I'm not sure why it was announced without the feature being generally available, but i guess whenever they flip the switch, old emails will be upgraded to use the style tags embedded in them?

Even without media queries, enabling blocks in html emails is huge (google was the last holdout). For anyone developing html emails, this is a nice set of changes.

Re: Gmail will now support CSS media queries

#32
post #24

Earlier quoted context omitted.

Good luck stopping a browser from implementing a "fun" javascript API just because it opens a security or usability hole in email.

Put it in a safe iframe, whats the catch?

Everything. iframes can't fuck with you code, but they are 1. displayed in your page (is this a good idea, does this iframe agree with how your page will display it). 2. Is leaking information to this iframe (and consequently, that iframe's server that this email had been opened) a good idea (no. 100% it's not.). 3. Can someone else contrive another vector of page control or information leak that suits their motives and hasn't been considered a priori by you (also yes, 100%. Never underestimate the motivation or creativity of others).

Never, ever, EVER embed an iframe thinking it will make your life better.

Re: Gmail will now support CSS media queries

#33
post #23
post #19

Earlier quoted context omitted.

Because it's harder to read.

Plus the accessibility story is a nightmare.

Morse is readily adaptable to whatever you can sense: I've experienced it with sound, light, and vibration. Taste, heat, and smell might not work so well.

For input, you need to be able to reliably close and open a switch. This may be difficult for people with tremors, but many accessibility systems are built around single bit inputs, so it's a start. If you can manage another input method, it can be translated to Morse as well.

Internationalization is harder, it's not a good fit for non-alphabetic languages.

Re: Gmail will now support CSS media queries

#34
post #14

I always wish we could go back to plaintext emails.

One of the benefits of using a text-based email client, is that it forces emails to be text.

Sadly... no it doesn't. I use emacs for my email, and while I could make it not render html email at all, the vast majority of my correspondence is with people sending rich emails through outlook. So... yeah, html it is.

Re: Gmail will now support CSS media queries

#35
post #33
post #23

Earlier quoted context omitted.

Plus the accessibility story is a nightmare.

Morse is readily adaptable to whatever you can sense: I've experienced it with sound, light, and vibration. Taste, heat, and smell might not work so well. For input, you need to be able to reliably close and open a switch. This may be difficult for people with tremors, but many accessibility systems are built around single bit inputs, so it's a start. If you can manage another input method, it can be translated to Mo…

You are correct, I was being snide.

Morse code is highly translatable to other senses assuming that the audience had a reason to learn it. I can't think of a single disability with lack of temporal awareness, and only a few with impediments to temporal perception (as you noted).

That said, I don't know ANY blind sea captains. This will be a problem for adoption.

Re: Gmail will now support CSS media queries

#36
post #12

The last time this got submitted and ended up with comments is here (though this is the forth time this has been submitted in as many days). https://news.ycombinator.com/item?id=12500838

I really dislike this new dedup algorithm.

I feel like I'm reading Hacker Rehashed News

Re: Gmail will now support CSS media queries

#38

I would just love to see an update to the Gmail app on iOS - very far behind Outlook imho.

I don't know what you're looking for in an email client, but Gmail's future is the Inbox app.

I tried inbox for a while, it tries to be too intelligent and I ended up missing important stuff because of it.

Re: Gmail will now support CSS media queries

#39

This is a great thing. One more metric by which to filter out spam. If I am receiving an email from an actual person, it will be plain text, perhaps with 1-2 links or images, and will not contain any CSS.

A bit passive aggressive don't you think?

There are plenty of reputable email clients that add extra styling to make email look better that are not necessarily spam.

Post reply on HN