They are, until you reset them by setting all: unset. In this case, * applies to script and style too, and all includes display, so you’ll need to revert this right after.
By default (meaning the browser's default CSS) they are, but when you set all properties to unset, which is not equivalent to none, even the `display` property is concerned, so their content is displayed as text on the web page just like the content of a p or a div is.