Skip to content

nested list marker: specificity is not followed properly #18028

@djlguzman

Description

@djlguzman

What version of Tailwind CSS are you using?

v4.1.6

What build tool (or framework if it abstracts the build tool) are you using?

Tailwind Playground

What version of Node.js are you using?

Tailwind Playground

What browser are you using?

Google Chrome

What operating system are you using?

macOS

Reproduction URL

https://play.tailwindcss.com/zfRYhU376t

Describe your issue

2nd li tag is using its parent li marker class instead of its own marker class name. I believe with how specificity works it should be using its own marker:text-base rather than parent's marker:text-lg class?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions