Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在Shadow DOM中放置 CSS 样式时,我没有找到任何有关内存消耗的信息。
如果我在一个页面上有一千个特定Web 组件的实例(每个都有通过影子根的样式);嵌入式样式占用的内存是通过外部样式表执行相同样式的 999 倍吗?