Allow non-null outline with null stroke, fixes #18060

Add in additional checks for null stroke. #fixes 18060
Merge branch 't18060' of github.com:kagetsume/dojox into t18060