[wp-trac] [WordPress Trac] #34147: _custom_background_cb() prints background-position in wrong order

WordPress Trac noreply at wordpress.org
Mon Oct 5 09:03:24 UTC 2015


#34147: _custom_background_cb() prints background-position in wrong order
-------------------------------+------------------------------
 Reporter:  swedish boy        |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Themes             |     Version:
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------
Changes (by swissspidy):

 * keywords:   => reporter-feedback


Comment:

 According to [https://drafts.csswg.org/css-backgrounds-3/#background-
 position the spec] the order isn't relevant.

 > Note that a pair of keywords can be reordered while a combination of
 keyword and length or percentage cannot. So ‘center left’ is valid while
 ‘50% left’ is not.

 > x should come before y for browser compatibility

 Can you elaborate on which browsers don't understand this?

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


More information about the wp-trac mailing list