use validateCssUnit for widgetOutput width and height