Web Component without props definitions breaks when passed custom attribute like `data-v-xxxxxxx`
Vue version
3.2.37
Link to minimal reproduction
Steps to reproduce
In The web component element generated after the definecustomelement is defined in the Vue file;
If the style tag in the Vue file contains the scoped attribute, the web component element will fail to resolve. Error: runtime dom esm-bundler. js:547 Uncaught TypeError: Cannot read properties of undefined (reading 'dataV671062ce')。
After removing the scoped attribute of the style tag in the Vue file, the web component is successfully parsed.
App.vue is an example of successful parsing, hasscoped.vue file is an example of parsing failure.
What is expected?
The scoped style tag in the Vue file does not affect the use of web component properties
What is actually happening?
The scoped style tag in the Vue file affects the use of webcomponent properties
System Info
No response
Any additional comments?
No response
This is not really caused by the scoped CSS attribute specifically, but any custom attribute/property added to a WC that doesn't have any props defined.