[wp-trac] [WordPress Trac] #53605: Twenty Twenty-One: Investigate duplicate rules in `ie-editor.css`

WordPress Trac noreply at wordpress.org
Fri Jul 30 22:15:18 UTC 2021


#53605: Twenty Twenty-One: Investigate duplicate rules in `ie-editor.css`
------------------------------------------+---------------------
 Reporter:  SergeyBiryukov                |       Owner:  (none)
     Type:  defect (bug)                  |      Status:  new
 Priority:  normal                        |   Milestone:  5.9
Component:  Bundled Theme                 |     Version:  trunk
 Severity:  normal                        |  Resolution:
 Keywords:  needs-testing good-first-bug  |     Focuses:
------------------------------------------+---------------------
Changes (by Shaharyar10):

 * version:   => trunk


Comment:

 Looking closer, assets/css/ie-editor.css has a lot more unnecessarily
 duplicated rules,

 {{{
 blockquote cite {
         font-weight: normal;
         letter-spacing: normal;
 }

 blockquote footer {
         font-weight: normal;
         letter-spacing: normal;
 }
 }}}
 I would expect to see this instead:
 {{{
 blockquote cite,
 blockquote footer {
         font-weight: normal;
         letter-spacing: normal;
 }
 }}}
 also for this
 {{{
 blockquote.alignleft p {
         font-size: 1.125rem;
         max-width: inherit;
         width: inherit;
 }

 blockquote.alignright p {
         font-size: 1.125rem;
         max-width: inherit;
         width: inherit;
 }
 }}}
 which should be like
 {{{
 blockquote.alignleft p,
 blockquote.alignright p {
         font-size: 1.125rem;
         max-width: inherit;
         width: inherit;
 }
 }}}
 Also there is another one
 {{{
 blockquote.alignleft cite {
         font-size: 1rem;
         letter-spacing: normal;
 }

 blockquote.alignleft footer {
         font-size: 1rem;
         letter-spacing: normal;
 }

 blockquote.alignright cite {
         font-size: 1rem;
         letter-spacing: normal;
 }

 blockquote.alignright footer {
         font-size: 1rem;
         letter-spacing: normal;
 }
 }}}
 and it should be like
 {{{
 blockquote.alignleft cite,
 blockquote.alignleft footer,
 blockquote.alignright cite,
 blockquote.alignright footer {
         font-size: 1rem;
         letter-spacing: normal;
 }
 }}}

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


More information about the wp-trac mailing list