Skip to content

CSS Parsing error for ::scroll-marker #1177

Description

@tirtza-weinfeld

::scroll-marker, ::scroll-marker-group, and scroll-marker-group property are not parsed.

Part of CSS Overflow Module Level 5 — shipped in Chrome 135+.

Error via Next.js Turbopack:

'scroll-marker' is not recognized as a valid pseudo-element.
Did you mean ':scroll-marker' (pseudo-class) or is this a typo?

CSS that triggers it:

.carousel {
  scroll-marker-group: after;
}

.carousel > *::scroll-marker {
  content: "";
}

.carousel > *::scroll-marker:target-current {
  background: oklch(0.5 0 0 / 0.6);
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions