gajus / gajus/usus

Pseudo classes missing from extracted CSS?

Open
#18 2 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
800
Forks
33
PR merge metrics
No merged PRs in 30d

Description

I noticed `extractStyles` and `inlineStyles` does not produce any pseudo classes. E.g. `a:hover` was left out.

I realize this is all not `usus` specific (but CSS Coverage) but I was wondering why. Also: for critical styles I would expect these to be included.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing the extractStyles and inlineStyles entry points and reproduce the reported omission with a selector such as a:hover. Review how extracted CSS is filtered, then verify that the intended pseudo-class rules are retained for critical styles and add coverage for the reported case.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.