Re: [csswg-drafts] [css-scoping] Inclusive vs exclusive lower boundary (#6577)

Just throwing in another random thought:

Should there be some explicit way of styling the lower boundary?

Something along the lines of

```css
@scope ([data-scope="main-component"]) to ([data-scope]) {
   * { color: red; } /* Generally, we do not want to style the lower boundary; probably the most common case */
   *+*, *+:lower-boundary { margin-top: 1em; } /* occasionally we might want to explicitly include the lower boundary too */
}
```

Is there a better way around it with what we currently have? Is this worth opening its own issue for?

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


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

Received on Wednesday, 21 September 2022 05:22:04 UTC