public PropertyStatus checkStatus(
StyleProperty property, StyleValue inputValue,
StatusUsage usage, PropertyValues inputValues,
StyleValue deviceValue) {
PropertyDetails details = detailsSet.getPropertyDetails(property);
if (details == null) {
// The property is not supported on the target device so assume
// that it can just be discarded.
return PropertyStatus.CLEARABLE;
}
final boolean initialKnown =
(details.getInitialValueAccuracy() ==
InitialValueAccuracy.KNOWN);
// The property can be cleared if it will have no effect on the styling
// on the device. In general that means that it can be cleared if its
// value matches the value that the device would use in the event that