Opened 8 years ago
Closed 8 years ago
#46786 closed defect (bug) (fixed)
Twenty Twelve: Background gradient argument
| Reported by: | man4toman | Owned by: | SergeyBiryukov |
|---|---|---|---|
| Priority: | normal | Milestone: | 5.2 |
| Component: | Bundled Theme | Version: | |
| Severity: | normal | Keywords: | has-patch commit |
| Cc: | Focuses: |
Description
The first argument of the linear-gradient should be 'to top', not 'top'.
Attachments (2)
Change History (6)
#2
@
8 years ago
- Keywords commit removed
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.
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Thanks @man4toman,
The patch seems to address all
linear-gradientrules in the CSS. I am marking this forcommit.BTW, the
Versiontag is for the version in which this issue was introduced, not for the version tested against.Related #46770