Analytical expressions are derived for the derivatives of the crack-surface displacement field, with respect to the lengths of the major and minor axes, respectively, of an elliptical crack embedded in an infinite isotropic elastic solid, when the crack faces are subjected to arbitrary tractions. These results are shown to lead, in turn, to analytical expressions for weight functions for the stress intensity factors along the fronts of elliptical-shaped embedded or part-elliptical shaped surface flaws, when a simple two-parameter characterization of the stress intensity variation along the flaw border is used. In the case of part-elliptical surface flaws, a finite-element alternating method, based on the Schwartz-Neumann superposition technique, is proposed to determine the coefficients in the analytical expressions for crack-surface displacements, and their gradients with respect to the crack dimensions.