We study the critical behavior of inhomogeneous random graphs in the so-called rank-1 case, where edges are present independently but with unequal edge occupation probabilities. The edge occupation probabilities are moderated by vertex weights, and are such that the degree of vertex i is close in distribution to a Poisson random variable with parameter wi, where wi denotes the weight of vertex i. We choose the weights such that the weight of a uniformly chosen vertex converges in distribution to a limiting random variable W. In this case, the proportion of vertices with degree k is close to the probability that a Poisson random variable with random parameter W takes the value k. We pay special attention to the power-law case, i.e., the case where is proportional to k-(t-1) for some power-law exponent t > 3, a property which is then inherited by the asymptotic degree distribution. We show that the critical behavior depends sensitively on the properties of the asymptotic degree distribution moderated by the asymptotic weight distribution W. Indeed, when for all k = 1 and some t > 4 and c > 0, the largest critical connected component in a graph of size n is of order n2/3, as it is for the critical Erdos-Rényi random graph. When, instead, for k large and some t¿(3,4) and c > 0, the largest critical connected component is of the much smaller order n(t-2)/(t-1).