Re: [csswg-drafts] [css-cascade] [css-nesting] Figure out whether we're fine with "shifting up" bare declarations after rules (#8738)

I am looking at the pages on the use counter and there seem to be a lot of false positives. I haven't found a real error here. 🤔 


https://www.jamieoliver.com/

_Selectors for rules before the declaration are for other elements_

```css
.slick-slide {
    float: left;
    height: 100%;
    min-height: 1px;
    [dir=rtl] & {
        float: right
    }

    img {
        display: block
    }

    &.slick-loading img {
        display: none
    }

    display: none; /* here */
    &.dragging img {
        pointer-events: none
    }

    .slick-initialized & {
        display: block
    }

    .slick-loading & {
        visibility: hidden
    }

    .slick-vertical & {
        display: block;
        height: auto;
        border: 1px solid transparent
    }
}
```

https://www.furniturevillage.co.uk/

_Can't nest pseudo element selectors, so would never work anyway_

```css
.resource-loader:before {
    background-image: url("data:image/svg+xml;charset=US-...");
    .ie-browser .resource-loader:before {
        background: none; /* here */
    }

    -o-background-size: 100px;
    background-size: 100px;
    background-position: center center;
    z-index: 7076
}
```


https://www.goat.com/en-nl

_other elements and other properties_

```css
.hideScrollbars {
    &::-webkit-scrollbar {
        -webkit-appearance: none;
        display: none
    }

    -ms-overflow-style: none;
    scrollbar-width: none
}
```

-------

I am unsure if this list was reset when the use counter was refined.

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


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

Received on Tuesday, 9 April 2024 11:19:31 UTC