inheriter.inherit(values, inheritableValues);
} else {
// Make sure that all the computed properties for pseudo classes
// are set.
// todo Optimise this when PropertyValues are made lazy.
Iterator i = values.stylePropertyIterator();
while (i.hasNext()) {
StyleProperty property = (StyleProperty) i.next();
StyleValue specified = values.getSpecifiedValue(property);
if (specified != null) {
values.setComputedValue(property, specified);