[wp-trac] [WordPress Trac] #61147: CSS: Parse Error. html :where([style * =border-top-color])

WordPress Trac noreply at wordpress.org
Sat May 4 15:49:17 UTC 2024


#61147: CSS: Parse Error. html :where([style * =border-top-color])
--------------------------+-----------------------------
 Reporter:  jasonmader    |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  6.5
 Severity:  minor         |   Keywords:
  Focuses:  css           |
--------------------------+-----------------------------
 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.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/61147>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list