repo.or.cz
/
chromium-blink-merge.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge Chromium + Blink git repositories
[chromium-blink-merge.git]
/
third_party
/
WebKit
/
LayoutTests
/
fast
/
media
/
empty-media-rule.html
blob
5cd92b10b5499f1e5c3027e6b5f45a6bc3506a23
1
<style>
2
div { color: red }
3
</style>
4
<style>
5
@media;
6
#t1 { color: green; }
7
</style>
8
<style>
9
@media{}
10
#t2 { color: green; }
11
</style>
12
13
<p>
Test that CSS parser stops parsing @media rule after a semicolon or a block.
</p>
14
15
<div
id=t1
>
Tests @media;. This text should be green.
</div>
16
<div
id=t2
>
Tests @media{}. This text should be green.
</div>