Problem/Motivation

The -webkit vendor prefix is no longer needed on linear-gradient CSS values for any browsers after 2014: https://caniuse.com/?search=linear-gradient

Steps to reproduce

Proposed resolution

Remove any -webkit-linear-gradient CSS.

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

Comments

longwave created an issue. See original summary.

longwave’s picture

PostCSS is actually removing this for us already in some cases!

e.g. themes/claro/css/theme/ckeditor-dialog.pcss.css:

  background-image: -webkit-linear-gradient(top, #f6f6f3, #e7e7df);

This is automatically removed from themes/claro/css/theme/ckeditor-dialog.css.

longwave’s picture

Status: Active » Needs review
StatusFileSize
new36.25 KB

Status: Needs review » Needs work

The last submitted patch, 3: 3265596-3.patch, failed testing. View results

longwave’s picture

Status: Needs work » Needs review
StatusFileSize
new37.15 KB
longwave’s picture

StatusFileSize
new5.79 KB

Rerolled.

longwave’s picture

Title: Clean up -webkit-linear-gradient CSS » Remove obsolete -webkit-linear-gradient CSS
akram khan’s picture

Tested patch #6 it applied successfully and its remove -webkit-linear-gradient that are used

gaurav-mathur’s picture

Verified and applied patch #6 it works fine and remove all -webkit-linear-gradient that are there in css

mherchel’s picture

Status: Needs review » Reviewed & tested by the community

Latest patch LGTM and passes tests!

  • bnjmnm committed 581813e7 on 10.1.x
    Issue #3265596 by longwave, mherchel: Remove obsolete -webkit-linear-...

  • bnjmnm committed db0bd74a on 10.0.x
    Issue #3265596 by longwave, mherchel: Remove obsolete -webkit-linear-...
bnjmnm’s picture

Status: Reviewed & tested by the community » Fixed

Committed to 10.1.x and cherry picked to 10.0.x since it is nondisruptive and 10 should have it's removals of obselete code occurring as early as possible within its release cycle.

Credit not granted for #8 or #9 as they do not include any information that is not already made known by the actual patch in #6. Screenshots are helpful for patches that result in visual changes to the UI, but are entirely unnecessary otherwise.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.