Skip to content

Ability for CSS Reader to include Selector Weight and Media Query Weight #5

Open

Description

@paceaux

Now that we have the basic ability for getting the weight of a media query, now it's time to bring that into CSSReader

  1. import at-rule.js
  2. import selector.js
  3. calculate weight on a CSSRule
  4. recursively walk up parentRule and add weight
  5. Then produce total score on a CSSRule

Activity

  1. self-assigned this
    on Dec 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions