user1965305
user1965305

Reputation: 11

Why does some IE9 supports css selectors, but some others doesn't?

IE9 on my desktop supports css selectors perfect.
But same IE9 on other computer does not.

I've tested on http://tools.css3.info/selectors-test/test.html.

Both computers are running Windows7.
Why does it happen in the same browser, same OS?

Upvotes: 1

Views: 49

Answers (2)

Sampson
Sampson

Reputation: 268344

IE9 should behave the in same way regardless what machine it's on. The only way you could get variable behavior like this is if you have a different browser mode, or document mode instructing the browser to behave as though it were an older version. Other than this, the document would have to be in compatibility mode, either by the direction of the user, or by being placed on the Compatibility View List.

Press F12 to open up your Developer Tools. In there you will see the Browser Mode, and the Document Mode at the top-right of the tools. I'm using IE10, but you can see below what I'm referring to:

enter image description here

Further Reading: Compatibility Modes

Upvotes: 2

Colin Pear
Colin Pear

Reputation: 3100

My first thought would be that on one of the machines IE is probably running in compatability mode and the css selectors you are using dont work when its in that rendering mode.

Upvotes: 0

Related Questions