zhaohuihua / 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 8 years ago

GoogleCodeExporter commented 8 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: