Re: [csswg-drafts] [css-scoping] Handling global name-defining constructs in shadow trees (#1995)

If the decision to allow tree-scoped names to 'inherit' vs not is still an open question, then I'd like to chime in and say that I think that they should not inherit. I think names are much easier to reason about if names that don't have any explicit definition within the scope in which they're used always act as if that name is undefined, rather than having their behavior be dependent on context from outer scopes which can change if the inner scope is moved.

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 14 May 2021 21:57:03 UTC