Re: [csswg-drafts] [css-pseudo-4] Add CSSPseudoElement.parentElement

I agree with @Loirooriol that "parent element" is a potentially confusing name for "originating element", because of newer pseudo-elements like ::part (or the various well-established, prefixed selectors for styling browser widgets) which might match an element inside a shadow tree, where that element has parent elements in the shadow structure.

-- 
GitHub Notification of comment by AmeliaBR
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2816#issuecomment-401459966 using your GitHub account

Received on Friday, 29 June 2018 20:04:40 UTC