[wp-trac] [WordPress Trac] #49062: Twenty Twenty Style sheet Showing Error

WordPress Trac noreply at wordpress.org
Sat Dec 21 18:08:26 UTC 2019


#49062: Twenty Twenty Style sheet Showing Error
---------------------------+----------------------------------
 Reporter:  prashantvatsh  |       Owner:  (none)
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Bundled Theme  |     Version:  5.3.2
 Severity:  normal         |  Resolution:
 Keywords:  dev-feedback   |     Focuses:  css, administration
---------------------------+----------------------------------

Comment (by SergeyBiryukov):

 Replying to [comment:2 SergeyBiryukov]:
 > It's not quite clear what exactly the error is, since there's no error
 message, and in my testing when trying to find out which CSS rules cause
 the error I got different results every time.

 As an example, this CSS file displays the same "There is 1 error" message
 without showing the exact error:
 {{{
 /*
 Theme Name: Twenty Twenty
 */

 body.template-full-width .entry-content > .alignright {
         margin-right: calc(( 100vw - 120rem ) / 2);
 }
 }}}

 Removing the spaces around the inner brackets `(100vw - 120rem)` appears
 to somehow "resolve" it.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/49062#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list