Unexpected nonstandard direction

Created on 19 June 2023, over 1 year ago

Problem/Motivation

Running sonnarqube we found a bug on ln 20 & 172 of ckeditor.admin.css

Why is this an issue?
linear-gradient was standardized with CSS3. Before that, it was possible to use different non-standard values to define the gradient’s direction. Because these values are not standard, they are not supported in all browsers and therefore they should no longer be used in order to get the expected gradient in the latest browser versions that support CSS3.

This rule raises an issue when the first parameter of a linear-gradient is not a valid or angle.

Steps to reproduce

change the property top to "to top" shold be enough, if not, we have to define the angle"

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

🇪🇸Spain paucala

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024