6 #--foo { color: green; }
8 .-foo { color: green; }
9 .--foo { color: green; }
11 .fail { color: green; }
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>