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

Support the @supports CSS at-rule #730

Closed
MurakamiShinyu opened this issue Jun 11, 2021 · 1 comment · Fixed by #762
Closed

Support the @supports CSS at-rule #730

MurakamiShinyu opened this issue Jun 11, 2021 · 1 comment · Fixed by #762
Assignees
Labels
feature request P1 Priority 1: Required for MVP (Minimum Viable Product) spec conformance

Comments

@MurakamiShinyu
Copy link
Member

MurakamiShinyu commented Jun 11, 2021

Support the Feature queries: the @supports rule.

@MurakamiShinyu MurakamiShinyu self-assigned this Aug 28, 2021
@MurakamiShinyu MurakamiShinyu added the P1 Priority 1: Required for MVP (Minimum Viable Product) label Aug 30, 2021
MurakamiShinyu added a commit that referenced this issue Aug 31, 2021
MurakamiShinyu added a commit that referenced this issue Sep 3, 2021
Spec: CSS Conditional Rules Module Level 3 https://www.w3.org/TR/css-conditional-3/

Tests: https://github.com/web-platform-tests/wpt/tree/master/css/css-conditional

Now it passes all non-javascript tests in the https://github.com/web-platform-tests/wpt/tree/master/css/css-conditional
except "at-supports-040.html" that is for the Level 4 `selector(...)` not supported yet
and "css-supports-042.xht" that is an edge case that Chromium also fails.

resolves #730
@MurakamiShinyu
Copy link
Member Author

MurakamiShinyu commented Sep 3, 2021

Spec: CSS Conditional Rules Module Level 3 https://www.w3.org/TR/css-conditional-3/

Tests: https://github.com/web-platform-tests/wpt/tree/master/css/css-conditional

Now Vivliostyle passes all non-javascript tests in https://github.com/web-platform-tests/wpt/tree/master/css/css-conditional
except "at-supports-040.html" that is for the Level 4 selector(...) not supported yet
and "css-supports-042.xht" that is an edge case that Chromium also fails.

See examples of the tests:

and the failed (not supported) examples:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request P1 Priority 1: Required for MVP (Minimum Viable Product) spec conformance
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant