Skip to content

Commit 24d53ec

Browse files
tlsajmb202
andcommitted
test: Add test for bad rule in at media block
Based on fuzzing test input generated by Aaron Boxer: #22 Co-authored-by: John-Mark Bell <[email protected]>
1 parent 330cb7e commit 24d53ec

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

test/data/parse2/dodgy-media-block.dat

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,17 @@
77
| .outer
88
| top: 0px
99
#reset
10+
11+
#data
12+
@media screen { b; }
13+
p { padding: 0; }
14+
#errors
15+
#expected
16+
| @media 040
17+
| b
18+
| p
19+
| padding-top: 0px
20+
| padding-right: 0px
21+
| padding-bottom: 0px
22+
| padding-left: 0px
23+
#reset

0 commit comments

Comments
 (0)