Make WordPress Core

Opened 5 months ago

Last modified 3 months ago

#61147 new defect (bug)

CSS: Parse Error. html :where([style * =border-top-color])

Reported by: jasonmader's profile jasonmader Owned by:
Milestone: Awaiting Review Priority: normal
Severity: minor Version: 6.5
Component: Editor Keywords: reporter-feedback
Focuses: css Cc:

Description

Inline css, such as,

<style id='wp-block-library-inline-css'>
    html :where([style * =border-top-color]) {
        border-top-style:solid
    }
</style>

ends up with a space between * and = that wasn't there in the file wp-includes/css/dist/block-library/style.css but is an error on the w3c validator.

Change History (2)

#1 @desrosj
3 months ago

  • Component changed from General to Editor
  • Keywords reporter-feedback added

My apologies that this took so long to receive a response, @jasonmader.

Could you give this another check on a site running the latest version of WordPress? I've checked a few sites that I have and a fresh test site and I'm unable to reproduce it.

#2 @jasonmader
3 months ago

I just checked the current release of 6.6 and no longer have the space between * and = either.

Note: See TracTickets for help on using tickets.