Comments (4)
If you change the order of your css, then your page will work in IE6:
chnage:
.test.test2{background:#ccc;}
.test2 {background:none;}
into:
.test2 {background:none;}
.test.test2{background:#ccc;}
Original comment by [email protected]
on 15 Jan 2008 at 3:05
from ie7-js.
This is related to CSS specificity. IE7 replaces unknown selectors with an IE7
class
so that:
.test.test2 --> .ie7_class0
The trouble is that this changes the specificity of the rule. IE7 attempts to
keep as
much of the rule's specificity as it can. I've improved the algorithm slightly
in the
next release and this particular bug will be fixed by the change, However, there
where still be occasional situations where this bug will still show up.
Original comment by [email protected]
on 15 Jan 2008 at 8:23
- Changed state: Started
from ie7-js.
Original comment by [email protected]
on 15 Jan 2008 at 8:26
from ie7-js.
This is now as fixed as is possible but still not 100% fixed. :-(
Original comment by [email protected]
on 4 Feb 2008 at 6:29
- Changed state: Fixed
from ie7-js.
Related Issues (20)
- TypeError: navigator.appVersion.match(/MSIE (\d\.\d)/) is null
- IE8 (ie9.js): the `nth-child` selector inside media queries is not parsed HOT 2
- Script does not run properly if using X-UA-Compatible emulation.
- IE7 - content disappears on initial load
- Focus on Select Element no display the background color in the hole element in ie6, HOT 1
- Unable to get value of the property 'slice': object is null or undefined
- ::before, ::after tags background not showing when i give postion absoulte
- unable to enter text in input text
- Having '@' in image filename breaks all css. HOT 1
- Bad argument in IE7 on line 2079
- appversion detection fails on IE10 HOT 1
- IE8.js produces error toLowerCase not supported
- IE7 Issue
- Assign Class To TDs For IE
- Issues with FontAwesome HOT 4
- :checked with input which has {display: none;} doesnt work
- png transparency ie9.js work with beta3 but not with beta 4 on ie8
- selectors & pseudo classes conflict HOT 9
- Breaking respond.js
- compatible with css "initial" property?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ie7-js.