Bug 1858983 [wpt PR 42532] - Update wpt metadata, a=testonly
[gecko.git] / layout / reftests / css-parsing / two-dash-identifiers.html
blob9ea7854b92a820dd6719cdca763441df9034d492
1 <!DOCTYPE html>
2 <style>
3 .ok { color: red; }
4 #-- { color: green; }
5 #-foo { color: green }
6 #--foo { color: green; }
7 .-- { color: green; }
8 .-foo { color: green; }
9 .--foo { color: green; }
11 .fail { color: green; }
12 #- { color: red; }
13 .- { color: red; }
14 </style>
15 <div class="ok" id="--">This should be green.</div>
16 <div class="ok" id="-foo">This should be green.</div>
17 <div class="ok" id="--foo">This should be green.</div>
18 <div class="ok --">This should be green.</div>
19 <div class="ok -foo">This should be green.</div>
20 <div class="ok --foo">This should be green.</div>
21 <div class="fail" id="-">This should be green.</div>
22 <div class="fail -">This should be green.</div>