Opened 6 years ago
Closed 5 years ago
#46786 closed defect (bug) (fixed)
Twenty Twelve: Background gradient argument
Reported by: | man4toman | Owned by: | SergeyBiryukov |
---|---|---|---|
Milestone: | 5.2 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Bundled Theme | Keywords: | has-patch commit |
Focuses: | Cc: |
Description
The first argument of the linear-gradient should be 'to top', not 'top'.
Attachments (2)
Change History (6)
#1
@
6 years ago
- Keywords commit added
- Milestone changed from Awaiting Review to 5.2
- Version trunk deleted
#2
@
6 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.
Thanks @man4toman,
The patch seems to address all
linear-gradient
rules in the CSS. I am marking this forcommit
.BTW, the
Version
tag is for the version in which this issue was introduced, not for the version tested against.Related #46770