Axure / ie7-js

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

input:hover and input:focus for background color [regression] #225

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. use input:hover {background: red} in your css (or input:focus)
2. it's working with 2b3 ie7js
3. it's not working with any 2.1b1 version or iejs (on ie 5.5)

What is the expected output?
background color change on hover or focus on the inputs

What do you see instead?
it's not changing the background color

What version of the product are you using? On what operating system?
2.1b1 (on my server) win xp

Original issue reported on code.google.com by fun...@gmail.com on 21 Feb 2010 at 1:33

GoogleCodeExporter commented 9 years ago
I'm going to have to ask for a test page. One of the base tests for IE7.js is 
input:hover. This test passes on my IE5.5 installation as does input:focus.

I'll mark this bug as invalid until a test page is submitted (sorry).

BTW, thanks for your recent helpful comments in this forum.

Original comment by dean.edw...@gmail.com on 21 Feb 2010 at 2:51

GoogleCodeExporter commented 9 years ago

Original comment by dean.edw...@gmail.com on 21 Feb 2010 at 2:52

GoogleCodeExporter commented 9 years ago
ok iv found the culprit
there are 2 bugs

#1 the id bug
a)
add this in your css
#test input:focus {background: red}
#test input:hover {background: red}
it's not working
b)
use this instead
input:focus {background: red}
input:hover {background: red}
now it's working

#2 the background lock bug

if you have this css
#test input {background: green}
input:focus {background: red}
input:hover {background: red}
the focus and hover won't work

to fix it you have 2 choices
a) remove the id
input {background: green}
b) remove the background color
#test input {}

you can test it - it's reproducible
reopen please

Original comment by fun...@gmail.com on 21 Feb 2010 at 4:17

GoogleCodeExporter commented 9 years ago

Original comment by dean.edw...@gmail.com on 21 Feb 2010 at 12:57

GoogleCodeExporter commented 9 years ago

Original comment by dean.edw...@gmail.com on 21 Feb 2010 at 1:22

GoogleCodeExporter commented 9 years ago
This was quite a serious regression that only affected MSIE5.5. It is now fixed 
in 
version 2.1 beta 2.

Original comment by dean.edw...@gmail.com on 21 Feb 2010 at 3:07

GoogleCodeExporter commented 9 years ago
i hope it's the only one
thx for the fast response and fix ^^

Original comment by fun...@gmail.com on 21 Feb 2010 at 5:28