[wp-trac] [WordPress Trac] #44776: CSS definitions for <sub> and <sup> are reversed
WordPress Trac
noreply at wordpress.org
Sun Aug 12 07:38:53 UTC 2018
#44776: CSS definitions for <sub> and <sup> are reversed
-------------------------------+------------------------------
Reporter: Greg Raven | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Bundled Theme | Version: 4.9.8
Severity: normal | Resolution:
Keywords: reporter-feedback | Focuses:
-------------------------------+------------------------------
Comment (by JDTrower):
I can confirm that a brand new install of WordPress 4.9.8 and Twenty
Sixteen 1.5 does result in the subscript and superscript being reversed.
At fault is the editor-style.css file which currently has:
{{{
sub {
top: -6px;
}
sup {
bottom: -3px;
}
}}}
It should be
{{{
sup {
top: -6px;
}
sub {
bottom: -3px;
}
}}}
Making this change on my fresh install allowed for the superscript and
subscript to display correctly in the Visual editor. I'd be happy to
create a patch for this, once I get my development system back up and
functioning within the next day or so.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/44776#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list