"Doesn't shadow DOM provide total encapsulation?" Nope! As written in the spec: The top-level elements of a shadow tree inherit from their host element.
確定! 回上一頁