[wp-trac] [WordPress Trac] #35314: Background color should be applied to the body element instead of html
WordPress Trac
noreply at wordpress.org
Tue Jan 5 01:00:20 UTC 2016
#35314: Background color should be applied to the body element instead of html
--------------------------------+-----------------------------
Reporter: michaelarestad | Owner:
Type: enhancement | Status: new
Priority: lowest | Milestone: Awaiting Review
Component: Administration | Version: trunk
Severity: trivial | Keywords:
Focuses: ui, administration |
--------------------------------+-----------------------------
Currently, the background colour for the admin is applied to `html` rather
than `body`. This is not ideal. When applied to `body`, `html` inherits
the colour. I know it sounds backwards, but that's how it works.
If a plugin attempts to add a background colour to `body`, there will be
occasions when both the `html` background colour and the `body` background
colour are visible at the same time.
I think simply using `body` is more flexible. I have included a patch.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35314>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list