Skip to content

Vite test: HTML nested CSS returns wrong color (black instead of grey) #8834

@Boshen

Description

@Boshen

Description

In the Vite tests (Linux), playground/html/__tests__/html.spec.ts fails:

  • nested > css: expect(await getColor('p')).toBe('grey') — received 'black'
  • nested w/ query > css: same failure

This suggests rolldown is not correctly handling CSS in nested HTML pages — the <p> element's color style is not being applied.

Environment

  • Linux only (passes on Windows)
  • Test is in the cloned Vite repo (rolldown-canary branch), not directly in this repo

CI Logs

https://github.com/rolldown/rolldown/actions/runs/23378843001

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions