gehuangyi20 / ie7-js

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

IE9.js :nth-child():hover issue #240

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Visit http://david.research.ucf.edu/tabular/test1.html in IE8
2. Table cells do not change color when mouse hovers over row if an
nth-child() pseudoclass is applied.

What is the expected output? What do you see instead?
The entire row should turn blue when hovering over any cell in that row.
Instead only the rows that do not have an nth-child() pseudoclass applied
will change color.

What version of the product are you using? On what operating system?
Latest version in IE8.

Please provide any additional information below.
Solution:
Change line 1135 from the IE9.js from

if (appVersion < 7) {

to

if (appVersion < 9) {

Original issue reported on code.google.com by ISV.Damo...@gmail.com on 19 Apr 2010 at 3:57

GoogleCodeExporter commented 9 years ago
Can you provide a simpler test page please? Just reduce the problem down to its 
essentials. The HTML in that page is generated by JavaScript. I don't really 
have time 
to decipher it.

Original comment by dean.edw...@gmail.com on 25 Apr 2010 at 3:03

GoogleCodeExporter commented 9 years ago

Original comment by dean.edw...@gmail.com on 25 Apr 2010 at 3:04

GoogleCodeExporter commented 9 years ago
Here you go: http://dev4.david.research.ucf.edu/tabular/issue240.html

Original comment by ISV.Damo...@gmail.com on 26 Apr 2010 at 12:40

GoogleCodeExporter commented 9 years ago
Here's the corrected URL: http://david.research.ucf.edu/tabular/issue240.html

Original comment by ISV.Damo...@gmail.com on 26 Apr 2010 at 3:12

GoogleCodeExporter commented 9 years ago

Original comment by dean.edw...@gmail.com on 26 Apr 2010 at 3:16

GoogleCodeExporter commented 9 years ago

Original comment by dean.edw...@gmail.com on 27 Apr 2010 at 7:56

GoogleCodeExporter commented 9 years ago
Fixed in version 2.1 beta4.

Original comment by dean.edw...@gmail.com on 30 Apr 2010 at 9:15

GoogleCodeExporter commented 9 years ago
Thanks for your effort! I'm curious to see how you did it...

Original comment by ISV.Damo...@gmail.com on 30 Apr 2010 at 9:43

GoogleCodeExporter commented 9 years ago
IE7/8 has other bugs with :hover. So I thought it best to always let IE7.js 
handle the 
:hover selector.

Original comment by dean.edw...@gmail.com on 30 Apr 2010 at 9:47