-
Notifications
You must be signed in to change notification settings - Fork 4
media
attribute contents are missing in the AST
#70
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
Comments
Thank you for posting the report. Hmm... I think it might be difficult to include the |
We do not have an immediate need to edit the contents. There currently already exists an A source: {
input: [Input],
start: [Object],
inline: false,
conditional: true,
lang: 'css',
syntax: [Object]
}, |
If we don't consider |
This is very low prio for us and totally fine if it can't be done :) It would be nice if users of |
Uh oh!
There was an error while loading. Please reload this page.
I might be overlooking something but it seems that
media
attribute contents ofstyle
tags are missing in the AST.I would expect the
media
contents (min-width: 500px
) to be present in the AST.They are there as part of
raws.codeBefore
but this is a raw string.To add support for
Document
andpostcss-html
inpostcss-preset-env
we need to be able to distinguish unconditional from conditional style tags.Is this something that can be added?
This might need to be part of the PostCSS API, so we don't need to have syntax plugin specific code in
postcss-preset-env
.AST
The text was updated successfully, but these errors were encountered: