Menu

#73 Stylesheet starts with any special characters truncates entire style sheet

0.9.22
closed
RBRi
None
1
2017-02-23
2017-01-18
Asiya
No

Stylesheet starts with any special characters truncates entire style sheet instead of skipping the specific block

Example 1:
Input :
&test
h1{
color:Red;
}
h1{
color:Red;
}
ouput : ---

Example 2:
Input:
/comments
h1{
color:Red;
}
h1{
color:Red;
}
output : ----

While reaching the below block in SACParserCSS3.java > styleSheetRuleList()

if (token.kind == EOF) {
{if ("" != null) return;}
}
here , token is NULL, hence retuned without reading any style blocks

Discussion

  • RBRi

    RBRi - 2017-01-21
    • status: open --> accepted
     
  • RBRi

    RBRi - 2017-02-23
    • status: accepted --> closed
     

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.