Math environments like align put vertical space around them, to separate them from the text. This is all well, and if I wanted to change that, I could check this question.
However, these environments also add vertical space (one \abovedisplayskip) above the math environment inside a floating figure. This way, the first line of the page is not aligned with the other first lines, which looks strange and wastes spaces.
As a MWE, I have this
\documentclass{article}
\usepackage{showframe,amsmath}
\begin{document}
This is regular text on the first line
\begin{align*}
\text{There is space before this, which is good}
\end{align*}
More regular textx.
\clearpage
\begin{figure}[t]
\begin{align*}
\text{This is not on the first line}
\end{align*}
\caption{A figure with extra space}
\end{figure}
Some text for the second page.
\end{document}
which produces
Am I expecting too much from Tex if I expect that space not to be there? And is there a way to fix this centrally, without affecting other vertical spaces around math environments?

alignwould be wrapped in afigure. For the few cases, just do\abovedisplayskip=0ptas first line of yourfigure. – LaRiFaRi Jul 28 '15 at 07:29alignetc. (e.g. lhs2tex), I’m usingalignonly as an example here. – Joachim Breitner Jul 28 '15 at 07:35figureto set\abovedisplayskip=0pt” would not work well. I’m surprised none else seems to be bothered by this extra space. – Joachim Breitner Jul 28 '15 at 07:41