mozilla-b2g/gaia — pull request #25197 by jrburke (2014-10-15 22:14:48+00:00)
Title: Bug 1083288 - Lag when typing on keyboard after press Next button during config

The comment in the file says most of the important information. The .before and .after are the class names the Cards object puts on cards that are not the current (".center") card, so only activates when not in the center.

Tested on device, style is fairly targeted given the .sup-progress-container qualifier, which is element that is used to center the progress spinner. Only matches this card setup case. The other cases of a progress element:

* message_reader: when loading the message contents. The progress element is removed when the content is loaded though.
* message_reader: for showing an attachment download. The default state for the wrapping div is display: none though, and is only shown if in the downloading state.

So this change should result in all the cases where progress spinners were interfering.