W3C home > Mailing lists > Public > public-css-archive@w3.org > May 2021

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

From: Russell Bicknell via GitHub <sysbot+gh@w3.org>
Date: Fri, 14 May 2021 21:57:01 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-841522749-1621029419-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.4.0 : Thursday, 24 March 2022 20:27:23 UTC