initial support for min/max attributes
fix specs