tests: Add CSS test for comment detection
Tests recent fix.
This commit is contained in:
@ -184,6 +184,8 @@ EXTRA_DIST += \
|
||||
colors-errors.ref.css \
|
||||
colors-red.css \
|
||||
colors-red.ref.css \
|
||||
comment-detection.css \
|
||||
comment-detection.ref.css \
|
||||
cross-fade-basic.css \
|
||||
css-21-malformed-declarations.css \
|
||||
css-21-malformed-declarations.errors \
|
||||
|
||||
11
tests/css/parser/comment-detection.css
Normal file
11
tests/css/parser/comment-detection.css
Normal file
@ -0,0 +1,11 @@
|
||||
/*/
|
||||
a { color: blue; }
|
||||
*/
|
||||
|
||||
/*\*/
|
||||
b { color: inherit; }
|
||||
/* */
|
||||
|
||||
/**/
|
||||
c { color: inherit; }
|
||||
/* */
|
||||
7
tests/css/parser/comment-detection.ref.css
Normal file
7
tests/css/parser/comment-detection.ref.css
Normal file
@ -0,0 +1,7 @@
|
||||
b {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
c {
|
||||
color: inherit;
|
||||
}
|
||||
Reference in New Issue
Block a user