Revert "Fix issue: using a CSS style directive in a widget constructor parameter"

This reverts commit ec1ec150b0f7160db05d031f1d683ea2e3b9d286.