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

not pars some css style #755

Open
masoudnkh opened this issue Nov 1, 2024 · 2 comments
Open

not pars some css style #755

masoudnkh opened this issue Nov 1, 2024 · 2 comments

Comments

@masoudnkh
Copy link

i use php-css-parser but not coverage this code:

.wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
    background-color: rgb(240 240 240 / 10%)!important;
}

remove unused css code and good work for all code but when i exclude ".wp-block-table.is-style-stripes" the output is empty like:

.wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
}
@oliverklee
Copy link
Contributor

Hi @masoudnkh, thanks for reporting this issue.

I still don't quite understand the problem. Could you please post the exact CSS you parse, the code you execute, and the CSS you get back, and the CSS you'd expect to get back? Thanks!

@oliverklee
Copy link
Contributor

Also, could you please post which version of PHP-CSS-Parser you're using?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants