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

Bug [validator]: Mandatory style (js enabled) opacity 0 #1242

Closed
raed667 opened this issue Dec 24, 2015 · 4 comments
Closed

Bug [validator]: Mandatory style (js enabled) opacity 0 #1242

raed667 opened this issue Dec 24, 2015 · 4 comments

Comments

@raed667
Copy link

raed667 commented Dec 24, 2015

It looks like when I try to properly format my HTML code like this :

    <style>
        body {
            opacity: 0
        }
     </style>
    <noscript>
        <style>
            body {
                opacity: 1
            }
        </style>
    </noscript>

The validator outputs an error even though it is 100% equivalent to :

<style>body {opacity: 0}</style><noscript><style>body {opacity: 1}</style></noscript>

Which passes.

@cramforce
Copy link
Member

This is a somewhat known issue. @Gregable Is it on the current roadmap to switch to a CSS parser to validate the boilerplate?

@raed667
Copy link
Author

raed667 commented Dec 24, 2015

@cramforce my bad if this is a known issue, I tried to look for it in the Issues but without any luck.

@cramforce
Copy link
Member

@RaedsLab More like: I knew this was an issue :) Thanks for the report. We'll use it to track progress on this, although I can't promise immediate fixes. Probably better to not format for a while.

@ericlindley-g ericlindley-g added this to the M2 milestone Feb 5, 2016
@rudygalfi rudygalfi modified the milestones: M2, Backlog Mar 4, 2016
@Gregable
Copy link
Member

This variant is deprecated, so we won't be doing anything to support this version beyond the current state.

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

6 participants