I have a .NET Framework 2.0 project and AxWebBrowser test management in Windows 7 with IE9 web browser.
When I put this code in my IE9 browser:
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=9">
</head>
<body>
<script>alert(document.documentMode);</script>
</body>
</html>
I get the value 9 - the way it is. But when I put the same code in AxWebBrowser in my project, I always get the value 8, and the HTML5 code does not work properly.
Where is the problem?
source
share