[wp-trac] [WordPress Trac] #52623: Proposal: Add CSS variable for admin-bar height to core.

WordPress Trac noreply at wordpress.org
Thu Aug 26 19:17:01 UTC 2021


#52623: Proposal: Add CSS variable for admin-bar height to core.
-------------------------+----------------------
 Reporter:  nico23       |       Owner:  ryelle
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:  5.9
Component:  Themes       |     Version:  5.7
 Severity:  minor        |  Resolution:  fixed
 Keywords:  has-patch    |     Focuses:  ui, css
-------------------------+----------------------

Comment (by ryelle):

 Oh, that CSS is a workaround for IE6 and older browsers - in those
 browsers, `* html` is (incorrectly) interpreted as `html`, so it's a way
 to add browser-specific CSS to the page. In modern browsers, the `html`
 element is the root element, so `* html` doesn't match anything - even in
 an iframe, because the context of an iframe is restricted to that page
 (styles from outside don't affect it).

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


More information about the wp-trac mailing list