Commit bb1ff337 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

mshtml: Don't expose readyState property to elements in IE11 mode.

parent 5962a0ea
......@@ -6301,6 +6301,7 @@ void HTMLElement_init_dispex_info(dispex_data_t *info, compat_mode_t mode)
{
static const dispex_hook_t elem2_ie11_hooks[] = {
{DISPID_IHTMLELEMENT2_DOSCROLL, NULL},
{DISPID_IHTMLELEMENT2_READYSTATE, NULL},
{DISPID_UNKNOWN}
};
......
......@@ -32,6 +32,7 @@ sync_test("elem_props", function() {
var v = document.documentMode;
test_exposed("doScroll", v < 11);
test_exposed("readyState", v < 11);
test_exposed("querySelectorAll", v >= 8);
test_exposed("textContent", v >= 9);
test_exposed("prefix", v >= 9);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment