[wp-trac] [WordPress Trac] #40867: Twenty Sixteen: sup and sub styles inverted in editor-style.css

WordPress Trac noreply at wordpress.org
Thu May 25 20:36:12 UTC 2017


#40867: Twenty Sixteen: sup and sub styles inverted in editor-style.css
---------------------------+-----------------------------
 Reporter:  afercia        |      Owner:
     Type:  defect (bug)   |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  Bundled Theme  |    Version:
 Severity:  normal         |   Keywords:  needs-patch
  Focuses:                 |
---------------------------+-----------------------------
 Twenty Sixteen, as other themes, provides a stylesheet for the front-end
 and a stylesheet for the editor. Seems to me the styles for the `sup` and
 `sub` HTMl elements are inverted in `editor-style.css`:

 {{{
 sub {
         top: -6px;
 }

 sup {
         bottom: -3px;
 }
 }}}

 compared to the ones in `style.css`:

 {{{
 sup {
         top: -0.5em;
 }

 sub {
         bottom: -0.25em;
 }
 }}}

 This actually produces a `sup` element to be vertically aligned below the
 baseline in the editor, and vice-versa. Alignment in the front-end is
 correct.

 Haven't checked other bundled themes, but maybe worth checking.

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


More information about the wp-trac mailing list