Fix this bug in Chrome 20.0.1115.1 dev-m
I found a bug in chrome20.
Do you know anything about that?
HTML(http://jsdo.it/GeckoTang/x9Lo)
<iframe src="http://jsrun.it/GeckoTang/x9Lo"></iframe>
HTML(http://jsrun.it/GeckoTang/x9Lo)
<div id="hoge1">
<div id="hoge2">
<a href="#hoge1">#hoge1</a>
<a href="#hoge2">#hoge2</a>
</div>
</div>
CSS
#hoge1:target {background:red;}
#hoge1:target [href$="#hoge1"]{font-weight:bold;}
#hoge2:target {background:gold;}
#hoge2:target [href$="#hoge2"]{font-weight:bold;}
- not working
- chrome 20.0.1096.1 dev-m
- 20.0.1104.0 canary
- working
- Chrome 19.0.1084.24 beta (Mac)
- Chrome18
- IE9
- Firefox11.0
- Firefox3.6.12
- Firefox10.0
- Firefox Nightly13.0a
- Safari5.1.5
Try using
namein addition toidon the targets.