fix parsing to handle minified style sheet
safety check for lines array index
always select first css value
Merge pull request #6270 from adobe/randy/issue-6231-2

Always select first css value
Merge pull request #6205 from adobe/randy/issue-6146

Fix CSS parsing to handle minified style sheet