Skip to content

[css-overflow-5] scroll-marker-group on root scroller? #11802

@flackr

Description

@flackr

Should we allow scroll-marker-group: before | after on the root element? E.g.

:root {
  scroll-marker-group: before;
}
:root::scroll-marker-group {
  position: fixed; 
  top: 8px;
}

This seems like reasonable behavior to me but would be slightly different than on typical overflow divs. In particular, the ::scroll-marker-group can't be a sibling to the content, but will be more like a ::before or ::after pseudo-element being a regular child.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Wednesday Morning

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions