Re: [csswg-drafts] [css-cascade] Better name for "custom origins"? (#4981)

The word "scope" is already loaded, and I think there's a distinct difference in the purpose:

- A **scope** generally relates to DOM structure, where an author wants something like: 
  - styles that only apply in a specific nested component DOM
  - or the "first layer" of that component DOM, but not nested components
  - extra weight given to the most "proximate" ancestor selector
- These "custom origins" represent layers of _intent_, not specifically related to DOM structure:
  - weighting a "theme" over a "framework" over a "reset", even when all three are applied globally
  - might reflect literal "source" of styles (app, design system, 3rd-party framework, etc) but not always
  

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

Received on Thursday, 30 April 2020 16:48:02 UTC