From 0afc9b5119fb5c3aec0bc0afc34f24f2bbd03896 Mon Sep 17 00:00:00 2001 From: Jonathan Desrosiers Date: Thu, 4 Apr 2019 18:25:21 +0000 Subject: [PATCH] Twenty Eleven: Correct `linear-gradient` direction argument syntax. In CSS, the `linear-gradient` function requires that the direction value explicitly use `to` instead of an implicit `from`. Props: ianbelanger, Malae, man4toman. Fixes #46770. git-svn-id: https://develop.svn.wordpress.org/trunk@45109 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-content/themes/twentyeleven/colors/dark.css | 2 +- src/wp-content/themes/twentyeleven/style.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-content/themes/twentyeleven/colors/dark.css b/src/wp-content/themes/twentyeleven/colors/dark.css index 63b809fd65..d2868d67ad 100644 --- a/src/wp-content/themes/twentyeleven/colors/dark.css +++ b/src/wp-content/themes/twentyeleven/colors/dark.css @@ -335,7 +335,7 @@ section.feature-image.large img { background: -o-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,1) 100%); /* Opera11.10+ */ background: -ms-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,1) 100%); /* IE10+ */ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#000000',GradientType=0 ); /* IE6-9 */ - background: linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,1) 100%); /* W3C */ + background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,1) 100%); /* W3C */ } .feature-slider a { background: #c3c3c3; diff --git a/src/wp-content/themes/twentyeleven/style.css b/src/wp-content/themes/twentyeleven/style.css index 5e6429f814..724619ad3a 100644 --- a/src/wp-content/themes/twentyeleven/style.css +++ b/src/wp-content/themes/twentyeleven/style.css @@ -1584,7 +1584,7 @@ section.feature-image.large img { background: -o-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%); /* Opera11.10+ */ background: -ms-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%); /* IE10+ */ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#ffffff',GradientType=0 ); /* IE6-9 */ - background: linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%); /* W3C */ + background: linear-gradient(to bottom, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%); /* W3C */ width: 100%; height: 45px; position: absolute;