[wp-trac] [WordPress Trac] #54040: Changing element text or background color should only affect color

WordPress Trac noreply at wordpress.org
Tue Aug 31 14:23:09 UTC 2021


#54040: Changing element text or background color should only affect color
--------------------------+------------------------------
 Reporter:  brylie        |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Editor        |     Version:  5.8
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:  css
--------------------------+------------------------------

Comment (by joyously):

 Styling is not subject to that arbitrary principle.
 The fact is that adding a background color makes the content look bad when
 the color stops right at the edge of it. A little padding with `box-
 sizing: border-box` looks much better.

 The problem is that the styling should not be done by the editor or
 individual blocks. The styling should be done by the theme. If you are
 proposing that those styles are removed, I would agree, but for a
 different reason.

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


More information about the wp-trac mailing list