Verify style sharing does not ignore the "type" attribute.
No type
Type defined
Type defined empty
Type is foobar
No type
Type defined
Type defined empty
Type is foobar