FLUID-5946: PrefsEditor.css has extra ";" after background-image styles

Metadata

Source
FLUID-5946
Type
Bug
Priority
Major
Status
Closed
Resolution
Fixed
Assignee
Justin Obara
Reporter
Justin Obara
Created
2016-08-22T09:18:13.696-0400
Updated
2016-08-22T12:06:45.032-0400
Versions
N/A
Fixed Versions
  1. 2.0
Component
  1. Prefs Framework

Description

The compiled PrefsEditor.css generated from PrefsEditor.styl stylus file outputs with extra ";" after the background-image styles. This causes warnings in Safari "Invalid CSS property declaration at: ;"

Example output:

.fl-prefsEditor .fl-slider a {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    height: 1.5em;
    width: 1.5em;
    margin-top: -.4em;
    margin-left: -.4em;
    background-color: #fff;
    border: 1px solid #b3b3b3;
    border-radius: 2em;
    box-shadow: 4px 2px 3px rgba(0, 0, 0, 0.3);
    background-image: -webkit-linear-gradient(right top, #fff 46%, #e9eaea 73%);
    ;
    background-image: -moz-linear-gradient(right top, #fff 46%, #e9eaea 73%);
    ;
    background-image: -o-linear-gradient(right top, #fff 46%, #e9eaea 73%);
    ;
    background-image: -ms-linear-gradient(right top, #fff 46%, #e9eaea 73%);
    ;
    background-image: linear-gradient(right top, #fff 46%, #e9eaea 73%);
    ;
}

Environments

Safari 9.1.2 ( Mac OS 10.11 )

Comments