mshtml: Fix DISPID_IE8_ELEMENTMAX define.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Jacek Caban 2021-04-15 18:49:56 +02:00 committed by Alexandre Julliard
parent 828077e3b3
commit f343235c6e
2 changed files with 3 additions and 1 deletions

View File

@ -33,6 +33,7 @@ sync_test("elem_props", function() {
test_exposed("doScroll", v < 11);
test_exposed("readyState", v < 11);
test_exposed("clientTop", true);
test_exposed("querySelectorAll", v >= 8);
test_exposed("textContent", v >= 9);
test_exposed("prefix", v >= 9);
@ -41,6 +42,7 @@ sync_test("elem_props", function() {
test_exposed("getElementsByClassName", v >= 9);
test_exposed("removeAttributeNS", v >= 9);
test_exposed("addEventListener", v >= 9);
if (v != 8 /* todo_wine */) test_exposed("hasAttribute", v >= 8);
test_exposed("removeEventListener", v >= 9);
test_exposed("dispatchEvent", v >= 9);
test_exposed("msSetPointerCapture", v >= 10);

View File

@ -249,7 +249,7 @@
#define DISPID_IE8_SELECT DISPID_IE8_NORMAL_FIRST
#define DISPID_IE8_ELEMENTBASE (DISPID_ELEMENT+200)
#define DISPID_IE8_ELEMENTMAX (DISPID_SITE-1)
#define DISPID_IE8_ELEMENTMAX (DISPID_IE8_ELEMENTBASE+40)
#define DISPID_IE8_ELEMENT DISPID_IE8_ELEMENTBASE
#define DISPID_IE8_FRAMESITEBASE (DISPID_FRAMESITE+1120)