Opened 9 years ago
Closed 9 years ago
#34147 closed defect (bug) (invalid)
_custom_background_cb() prints background-position in wrong order
Reported by: | swedish boy | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Customize | Keywords: | reporter-feedback |
Focuses: | Cc: |
Description
Even though browser are smart and can take css values (top, left, right) in any order x should come before y for browser compatibility.
https://core.trac.wordpress.org/browser/tags/4.3.1/src/wp-includes/theme.php#L1277
row 1275-1277 says:
if ( ! in_array( $position, array( 'center', 'right', 'left' ) ) ) $position = 'left'; $position = " background-position: top $position;";
Change History (4)
Note: See
TracTickets for help on using
tickets.
According to the spec the order isn't relevant.
Can you elaborate on which browsers don't understand this?