replace Constrainable with ConstrainablePattern, per Bug 25604