Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CssMediaQuery abstraction #47

Open
gcotelli opened this issue Jul 23, 2021 · 0 comments
Open

Add CssMediaQuery abstraction #47

gcotelli opened this issue Jul 23, 2021 · 0 comments
Assignees

Comments

@gcotelli
Copy link
Member

Currently, CSS media queries are embedded in media query rules, but they can be abstracted away so they became useful in other contexts. For example, a proper media query abstraction can be used as a parameter in many others IETF contexts like HTTP Link Headers.

The proposal is to have something like CssMediaQuery containing the media type and a list of media query expressions. It can be extracted by looking at CssMediaQueryExpression , CssMediaQueryRule and CssMediaQueryRuleBuilder.

@gcotelli gcotelli self-assigned this Jul 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant