Jim-an / ie7-js

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

In IE6, "hover" pseudo class will not work on emulated selectors. #317

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. tag>tag>tag>a:hover {...} will not work

What is the expected output? What do you see instead?
tag>tag>tag>a:hover {...} should work.

What version of the product are you using? On what operating system?
2.1(beta4), Windows XP, IE6

Please provide any additional information below.

changing line 621 of src/ie8.js from:
var HYPERLINK = /a(#[\w-]+)?(\.[\w-]+)?:(hover|active)/i;
to:
var HYPERLINK = /[^>\+\]](#[\w-]*)a(#[\w-]+)?(\.[\w-]+)?:(hover|active)/i;
works, however, this is by no means a perfect or even recommended solution.

Original issue reported on code.google.com by john.kie...@gmail.com on 8 Apr 2011 at 4:22