[wp-trac] [WordPress Trac] #46770: Twenty Eleven: Background gradient argument

WordPress Trac noreply at wordpress.org
Wed Apr 3 16:24:22 UTC 2019


#46770: Twenty Eleven: Background gradient argument
------------------------------+-----------------------
 Reporter:  Malae             |       Owner:  (none)
     Type:  defect (bug)      |      Status:  assigned
 Priority:  normal            |   Milestone:  5.2
Component:  Bundled Theme     |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |     Focuses:
------------------------------+-----------------------

Comment (by ianbelanger):

 As pointed out by @joyously in #46786

 > The patch doesn't actually fix the problem, because this ticket was just
 written for syntax. The real problem is that the old syntax goes the other
 direction from the new syntax.
 > For example,
 > `-webkit-linear-gradient(top, #f4f4f4, #e6e6e6);`
 > will start at top with #f4f4f4 and go down to #e6e6e6. But
 > `linear-gradient(to top, #f4f4f4, #e6e6e6);`
 > will start at bottom with #f4f4f4 and go to top to #e6e6e6.

 So in 46770.4.diff I have switched `linear-gradient` to use `to bottom` to
 correct the issue.

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


More information about the wp-trac mailing list