FLUID-5727: PrefsEditor.css is missing the ";" at the end of the the src property for the @font-face style

Metadata

Source
FLUID-5727
Type
Bug
Priority
Major
Status
Closed
Resolution
Won't Fix
Assignee
Justin Obara
Reporter
Justin Obara
Created
2015-07-29T10:41:41.969-0400
Updated
2019-07-12T09:14:56.772-0400
Versions
N/A
Fixed Versions
  1. 2.0
Component
  1. Build Scripts
  2. Prefs Framework

Description

The PrefsEditor.styl file does include a ";" at the end, but it seems that the generated file (PrefsEditor.css) is missing it. This is causing a CSS error.

in PrefsEditor.styl

@font-face {
font-family: 'InfusionIcons';
src: url('../fonts/InfusionIcons-PrefsEditor.ttf'),
url('../fonts/InfusionIcons-PrefsEditor.eot');
}

in PrefsEditor.css

@font-face {
font-family: 'InfusionIcons';
src: url("../fonts/InfusionIcons-PrefsEditor.ttf"), url("../fonts/InfusionIcons-PrefsEditor.eot")
}

Comments

  • Justin Obara commented 2016-08-22T10:10:09.164-0400

    It appears that the ";" is stripped out of the compressed version only. I could also not reproduce the case where an error or warning is thrown by a browser related to it.