While resetting, do not explicitly set css for child nodes

Child nodes of type textarea, input and button.
See https://bugzilla.wikimedia.org/show_bug.cgi?id=39992