WPF WebBrowser Control - position:fixed Element jumps while scrolling (Windows 8)

 ̄綄美尐妖づ 提交于 2019-11-26 19:12:39
noseratio

If there are discrepancies in behavior of the same web page loaded into WebBrowser control and standalone IE browser, the problem can often be fixed by implementing WebBrowser Feature Control.

Once the feature control has been implemented, it makes sense to verify that <!DOCTYPE html> is observed by WebBrowser and the page is actually rendered in HTML5 standard mode, here's how.

[UPDATE] The OP's sample page actually renders correctly when FEATURE_BROWSER_EMULATION is set to 9000 and the META tag is fixed to be <meta http-equiv="X-UA-Compatible" content="IE=9" /> (content="IE9" is not a valid value).

We checked again on a new Machine also running Windows 8 and the error was gone, after some checks we determined that the new Machine had some new Updates for Windows 8 installed. We went to check for Updates on the Surface and after applying all Updates the Error seems to be gone.

Without any recompilation or further settings just by applying the latest Win 8 Updates the error is fixed.

Scrolling is smooth now. Same executable no changes, so i guess it was some bug in the runtime libs after all.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!