littlebearz / ie7-js

Automatically exported from code.google.com/p/ie7-js
0 stars 0 forks source link

:target makes the script adds tabIndex="0" to all elements #350

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
<style type="text/css">:target { /* some css */ }</style>

The above rule makes the script add tabIndex="0" to all elements (including 
html and body) on IE 6/7/8.

It may not be a big issue in IE 6 and 7, but in IE 8, every element now shows 
dotted outline when you click on it.

Please see the attached demo page.

Original issue reported on code.google.com by elegance...@gmail.com on 11 Nov 2011 at 6:46

Attachments: