Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
d72d6403
Commit
d72d6403
authored
Jul 07, 2016
by
Jacek Caban
Committed by
Alexandre Julliard
Jul 07, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Export IElementSelector for all elements in compatibility mode >= IE8.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
c20c47b8
Hide whitespace changes
Inline
Side-by-side
Showing
26 changed files
with
87 additions
and
34 deletions
+87
-34
htmlanchor.c
dlls/mshtml/htmlanchor.c
+2
-1
htmlarea.c
dlls/mshtml/htmlarea.c
+2
-1
htmlbody.c
dlls/mshtml/htmlbody.c
+2
-1
htmlcomment.c
dlls/mshtml/htmlcomment.c
+2
-1
htmlelem.c
dlls/mshtml/htmlelem.c
+10
-3
htmlembed.c
dlls/mshtml/htmlembed.c
+2
-1
htmlform.c
dlls/mshtml/htmlform.c
+2
-1
htmlframe.c
dlls/mshtml/htmlframe.c
+2
-1
htmlgeneric.c
dlls/mshtml/htmlgeneric.c
+2
-1
htmlhead.c
dlls/mshtml/htmlhead.c
+6
-3
htmliframe.c
dlls/mshtml/htmliframe.c
+2
-1
htmlimg.c
dlls/mshtml/htmlimg.c
+2
-1
htmlinput.c
dlls/mshtml/htmlinput.c
+6
-3
htmllink.c
dlls/mshtml/htmllink.c
+2
-1
htmlmeta.c
dlls/mshtml/htmlmeta.c
+2
-1
htmlobject.c
dlls/mshtml/htmlobject.c
+2
-1
htmloption.c
dlls/mshtml/htmloption.c
+4
-2
htmlscript.c
dlls/mshtml/htmlscript.c
+2
-1
htmlselect.c
dlls/mshtml/htmlselect.c
+2
-1
htmlstyleelem.c
dlls/mshtml/htmlstyleelem.c
+2
-1
htmltable.c
dlls/mshtml/htmltable.c
+2
-1
htmltablecell.c
dlls/mshtml/htmltablecell.c
+2
-1
htmltablerow.c
dlls/mshtml/htmltablerow.c
+2
-1
htmltextarea.c
dlls/mshtml/htmltextarea.c
+2
-1
mshtml_private.h
dlls/mshtml/mshtml_private.h
+2
-2
documentmode.js
dlls/mshtml/tests/documentmode.js
+19
-1
No files found.
dlls/mshtml/htmlanchor.c
View file @
d72d6403
...
@@ -807,7 +807,8 @@ static const tid_t HTMLAnchorElement_iface_tids[] = {
...
@@ -807,7 +807,8 @@ static const tid_t HTMLAnchorElement_iface_tids[] = {
static
dispex_static_data_t
HTMLAnchorElement_dispex
=
{
static
dispex_static_data_t
HTMLAnchorElement_dispex
=
{
NULL
,
NULL
,
DispHTMLAnchorElement_tid
,
DispHTMLAnchorElement_tid
,
HTMLAnchorElement_iface_tids
HTMLAnchorElement_iface_tids
,
HTMLElement_init_dispex_info
};
};
HRESULT
HTMLAnchorElement_Create
(
HTMLDocumentNode
*
doc
,
nsIDOMHTMLElement
*
nselem
,
HTMLElement
**
elem
)
HRESULT
HTMLAnchorElement_Create
(
HTMLDocumentNode
*
doc
,
nsIDOMHTMLElement
*
nselem
,
HTMLElement
**
elem
)
...
...
dlls/mshtml/htmlarea.c
View file @
d72d6403
...
@@ -451,7 +451,8 @@ static const tid_t HTMLAreaElement_iface_tids[] = {
...
@@ -451,7 +451,8 @@ static const tid_t HTMLAreaElement_iface_tids[] = {
static
dispex_static_data_t
HTMLAreaElement_dispex
=
{
static
dispex_static_data_t
HTMLAreaElement_dispex
=
{
NULL
,
NULL
,
DispHTMLAreaElement_tid
,
DispHTMLAreaElement_tid
,
HTMLAreaElement_iface_tids
HTMLAreaElement_iface_tids
,
HTMLElement_init_dispex_info
};
};
HRESULT
HTMLAreaElement_Create
(
HTMLDocumentNode
*
doc
,
nsIDOMHTMLElement
*
nselem
,
HTMLElement
**
elem
)
HRESULT
HTMLAreaElement_Create
(
HTMLDocumentNode
*
doc
,
nsIDOMHTMLElement
*
nselem
,
HTMLElement
**
elem
)
...
...
dlls/mshtml/htmlbody.c
View file @
d72d6403
...
@@ -889,7 +889,8 @@ static const tid_t HTMLBodyElement_iface_tids[] = {
...
@@ -889,7 +889,8 @@ static const tid_t HTMLBodyElement_iface_tids[] = {
static
dispex_static_data_t
HTMLBodyElement_dispex
=
{
static
dispex_static_data_t
HTMLBodyElement_dispex
=
{
NULL
,
NULL
,
DispHTMLBody_tid
,
DispHTMLBody_tid
,
HTMLBodyElement_iface_tids
HTMLBodyElement_iface_tids
,
HTMLElement_init_dispex_info
};
};
HRESULT
HTMLBodyElement_Create
(
HTMLDocumentNode
*
doc
,
nsIDOMHTMLElement
*
nselem
,
HTMLElement
**
elem
)
HRESULT
HTMLBodyElement_Create
(
HTMLDocumentNode
*
doc
,
nsIDOMHTMLElement
*
nselem
,
HTMLElement
**
elem
)
...
...
dlls/mshtml/htmlcomment.c
View file @
d72d6403
...
@@ -200,7 +200,8 @@ static const tid_t HTMLCommentElement_iface_tids[] = {
...
@@ -200,7 +200,8 @@ static const tid_t HTMLCommentElement_iface_tids[] = {
static
dispex_static_data_t
HTMLCommentElement_dispex
=
{
static
dispex_static_data_t
HTMLCommentElement_dispex
=
{
NULL
,
NULL
,
DispHTMLCommentElement_tid
,
DispHTMLCommentElement_tid
,
HTMLCommentElement_iface_tids
HTMLCommentElement_iface_tids
,
HTMLElement_init_dispex_info
};
};
HRESULT
HTMLCommentElement_Create
(
HTMLDocumentNode
*
doc
,
nsIDOMNode
*
nsnode
,
HTMLElement
**
elem
)
HRESULT
HTMLCommentElement_Create
(
HTMLDocumentNode
*
doc
,
nsIDOMNode
*
nsnode
,
HTMLElement
**
elem
)
...
...
dlls/mshtml/htmlelem.c
View file @
d72d6403
...
@@ -5097,6 +5097,12 @@ static void HTMLElement_bind_event(DispatchEx *dispex, int eid)
...
@@ -5097,6 +5097,12 @@ static void HTMLElement_bind_event(DispatchEx *dispex, int eid)
}
}
}
}
void
HTMLElement_init_dispex_info
(
dispex_data_t
*
info
,
compat_mode_t
mode
)
{
if
(
mode
>=
COMPAT_MODE_IE8
)
dispex_info_add_interface
(
info
,
IElementSelector_tid
);
}
static
const
tid_t
HTMLElement_iface_tids
[]
=
{
static
const
tid_t
HTMLElement_iface_tids
[]
=
{
HTMLELEMENT_TIDS
,
HTMLELEMENT_TIDS
,
0
0
...
@@ -5114,7 +5120,8 @@ static dispex_static_data_vtbl_t HTMLElement_dispex_vtbl = {
...
@@ -5114,7 +5120,8 @@ static dispex_static_data_vtbl_t HTMLElement_dispex_vtbl = {
static
dispex_static_data_t
HTMLElement_dispex
=
{
static
dispex_static_data_t
HTMLElement_dispex
=
{
&
HTMLElement_dispex_vtbl
,
&
HTMLElement_dispex_vtbl
,
DispHTMLUnknownElement_tid
,
DispHTMLUnknownElement_tid
,
HTMLElement_iface_tids
HTMLElement_iface_tids
,
HTMLElement_init_dispex_info
};
};
void
HTMLElement_Init
(
HTMLElement
*
This
,
HTMLDocumentNode
*
doc
,
nsIDOMHTMLElement
*
nselem
,
dispex_static_data_t
*
dispex_data
)
void
HTMLElement_Init
(
HTMLElement
*
This
,
HTMLDocumentNode
*
doc
,
nsIDOMHTMLElement
*
nselem
,
dispex_static_data_t
*
dispex_data
)
...
@@ -5129,8 +5136,8 @@ void HTMLElement_Init(HTMLElement *This, HTMLDocumentNode *doc, nsIDOMHTMLElemen
...
@@ -5129,8 +5136,8 @@ void HTMLElement_Init(HTMLElement *This, HTMLDocumentNode *doc, nsIDOMHTMLElemen
if
(
dispex_data
&&
!
dispex_data
->
vtbl
)
if
(
dispex_data
&&
!
dispex_data
->
vtbl
)
dispex_data
->
vtbl
=
&
HTMLElement_dispex_vtbl
;
dispex_data
->
vtbl
=
&
HTMLElement_dispex_vtbl
;
init_dispex
(
&
This
->
node
.
event_target
.
dispex
,
(
IUnknown
*
)
&
This
->
IHTMLElement_iface
,
init_dispex
_with_compat_mode
(
&
This
->
node
.
event_target
.
dispex
,
(
IUnknown
*
)
&
This
->
IHTMLElement_iface
,
dispex_data
?
dispex_data
:
&
HTMLElement_dispex
);
dispex_data
?
dispex_data
:
&
HTMLElement_dispex
,
doc
->
document_mode
);
if
(
nselem
)
{
if
(
nselem
)
{
HTMLDOMNode_Init
(
doc
,
&
This
->
node
,
(
nsIDOMNode
*
)
nselem
);
HTMLDOMNode_Init
(
doc
,
&
This
->
node
,
(
nsIDOMNode
*
)
nselem
);
...
...
dlls/mshtml/htmlembed.c
View file @
d72d6403
...
@@ -267,7 +267,8 @@ static const tid_t HTMLEmbedElement_iface_tids[] = {
...
@@ -267,7 +267,8 @@ static const tid_t HTMLEmbedElement_iface_tids[] = {
static
dispex_static_data_t
HTMLEmbedElement_dispex
=
{
static
dispex_static_data_t
HTMLEmbedElement_dispex
=
{
NULL
,
NULL
,
DispHTMLEmbed_tid
,
DispHTMLEmbed_tid
,
HTMLEmbedElement_iface_tids
HTMLEmbedElement_iface_tids
,
HTMLElement_init_dispex_info
};
};
HRESULT
HTMLEmbedElement_Create
(
HTMLDocumentNode
*
doc
,
nsIDOMHTMLElement
*
nselem
,
HTMLElement
**
elem
)
HRESULT
HTMLEmbedElement_Create
(
HTMLDocumentNode
*
doc
,
nsIDOMHTMLElement
*
nselem
,
HTMLElement
**
elem
)
...
...
dlls/mshtml/htmlform.c
View file @
d72d6403
...
@@ -794,7 +794,8 @@ static const tid_t HTMLFormElement_iface_tids[] = {
...
@@ -794,7 +794,8 @@ static const tid_t HTMLFormElement_iface_tids[] = {
static
dispex_static_data_t
HTMLFormElement_dispex
=
{
static
dispex_static_data_t
HTMLFormElement_dispex
=
{
NULL
,
NULL
,
DispHTMLFormElement_tid
,
DispHTMLFormElement_tid
,
HTMLFormElement_iface_tids
HTMLFormElement_iface_tids
,
HTMLElement_init_dispex_info
};
};
HRESULT
HTMLFormElement_Create
(
HTMLDocumentNode
*
doc
,
nsIDOMHTMLElement
*
nselem
,
HTMLElement
**
elem
)
HRESULT
HTMLFormElement_Create
(
HTMLDocumentNode
*
doc
,
nsIDOMHTMLElement
*
nselem
,
HTMLElement
**
elem
)
...
...
dlls/mshtml/htmlframe.c
View file @
d72d6403
...
@@ -317,7 +317,8 @@ static const tid_t HTMLFrameElement_iface_tids[] = {
...
@@ -317,7 +317,8 @@ static const tid_t HTMLFrameElement_iface_tids[] = {
static
dispex_static_data_t
HTMLFrameElement_dispex
=
{
static
dispex_static_data_t
HTMLFrameElement_dispex
=
{
NULL
,
NULL
,
DispHTMLFrameElement_tid
,
DispHTMLFrameElement_tid
,
HTMLFrameElement_iface_tids
HTMLFrameElement_iface_tids
,
HTMLElement_init_dispex_info
};
};
HRESULT
HTMLFrameElement_Create
(
HTMLDocumentNode
*
doc
,
nsIDOMHTMLElement
*
nselem
,
HTMLElement
**
elem
)
HRESULT
HTMLFrameElement_Create
(
HTMLDocumentNode
*
doc
,
nsIDOMHTMLElement
*
nselem
,
HTMLElement
**
elem
)
...
...
dlls/mshtml/htmlgeneric.c
View file @
d72d6403
...
@@ -169,7 +169,8 @@ static const tid_t HTMLGenericElement_iface_tids[] = {
...
@@ -169,7 +169,8 @@ static const tid_t HTMLGenericElement_iface_tids[] = {
static
dispex_static_data_t
HTMLGenericElement_dispex
=
{
static
dispex_static_data_t
HTMLGenericElement_dispex
=
{
NULL
,
NULL
,
DispHTMLGenericElement_tid
,
DispHTMLGenericElement_tid
,
HTMLGenericElement_iface_tids
HTMLGenericElement_iface_tids
,
HTMLElement_init_dispex_info
};
};
HRESULT
HTMLGenericElement_Create
(
HTMLDocumentNode
*
doc
,
nsIDOMHTMLElement
*
nselem
,
HTMLElement
**
elem
)
HRESULT
HTMLGenericElement_Create
(
HTMLDocumentNode
*
doc
,
nsIDOMHTMLElement
*
nselem
,
HTMLElement
**
elem
)
...
...
dlls/mshtml/htmlhead.c
View file @
d72d6403
...
@@ -170,7 +170,8 @@ static const tid_t HTMLTitleElement_iface_tids[] = {
...
@@ -170,7 +170,8 @@ static const tid_t HTMLTitleElement_iface_tids[] = {
static
dispex_static_data_t
HTMLTitleElement_dispex
=
{
static
dispex_static_data_t
HTMLTitleElement_dispex
=
{
NULL
,
NULL
,
DispHTMLTitleElement_tid
,
DispHTMLTitleElement_tid
,
HTMLTitleElement_iface_tids
HTMLTitleElement_iface_tids
,
HTMLElement_init_dispex_info
};
};
HRESULT
HTMLTitleElement_Create
(
HTMLDocumentNode
*
doc
,
nsIDOMHTMLElement
*
nselem
,
HTMLElement
**
elem
)
HRESULT
HTMLTitleElement_Create
(
HTMLDocumentNode
*
doc
,
nsIDOMHTMLElement
*
nselem
,
HTMLElement
**
elem
)
...
@@ -352,7 +353,8 @@ static const tid_t HTMLHtmlElement_iface_tids[] = {
...
@@ -352,7 +353,8 @@ static const tid_t HTMLHtmlElement_iface_tids[] = {
static
dispex_static_data_t
HTMLHtmlElement_dispex
=
{
static
dispex_static_data_t
HTMLHtmlElement_dispex
=
{
NULL
,
NULL
,
DispHTMLHtmlElement_tid
,
DispHTMLHtmlElement_tid
,
HTMLHtmlElement_iface_tids
HTMLHtmlElement_iface_tids
,
HTMLElement_init_dispex_info
};
};
HRESULT
HTMLHtmlElement_Create
(
HTMLDocumentNode
*
doc
,
nsIDOMHTMLElement
*
nselem
,
HTMLElement
**
elem
)
HRESULT
HTMLHtmlElement_Create
(
HTMLDocumentNode
*
doc
,
nsIDOMHTMLElement
*
nselem
,
HTMLElement
**
elem
)
...
@@ -511,7 +513,8 @@ static const tid_t HTMLHeadElement_iface_tids[] = {
...
@@ -511,7 +513,8 @@ static const tid_t HTMLHeadElement_iface_tids[] = {
static
dispex_static_data_t
HTMLHeadElement_dispex
=
{
static
dispex_static_data_t
HTMLHeadElement_dispex
=
{
NULL
,
NULL
,
DispHTMLHeadElement_tid
,
DispHTMLHeadElement_tid
,
HTMLHeadElement_iface_tids
HTMLHeadElement_iface_tids
,
HTMLElement_init_dispex_info
};
};
HRESULT
HTMLHeadElement_Create
(
HTMLDocumentNode
*
doc
,
nsIDOMHTMLElement
*
nselem
,
HTMLElement
**
elem
)
HRESULT
HTMLHeadElement_Create
(
HTMLDocumentNode
*
doc
,
nsIDOMHTMLElement
*
nselem
,
HTMLElement
**
elem
)
...
...
dlls/mshtml/htmliframe.c
View file @
d72d6403
...
@@ -592,7 +592,8 @@ static const tid_t HTMLIFrame_iface_tids[] = {
...
@@ -592,7 +592,8 @@ static const tid_t HTMLIFrame_iface_tids[] = {
static
dispex_static_data_t
HTMLIFrame_dispex
=
{
static
dispex_static_data_t
HTMLIFrame_dispex
=
{
NULL
,
NULL
,
DispHTMLIFrame_tid
,
DispHTMLIFrame_tid
,
HTMLIFrame_iface_tids
HTMLIFrame_iface_tids
,
HTMLElement_init_dispex_info
};
};
HRESULT
HTMLIFrame_Create
(
HTMLDocumentNode
*
doc
,
nsIDOMHTMLElement
*
nselem
,
HTMLElement
**
elem
)
HRESULT
HTMLIFrame_Create
(
HTMLDocumentNode
*
doc
,
nsIDOMHTMLElement
*
nselem
,
HTMLElement
**
elem
)
...
...
dlls/mshtml/htmlimg.c
View file @
d72d6403
...
@@ -734,7 +734,8 @@ static const tid_t HTMLImgElement_iface_tids[] = {
...
@@ -734,7 +734,8 @@ static const tid_t HTMLImgElement_iface_tids[] = {
static
dispex_static_data_t
HTMLImgElement_dispex
=
{
static
dispex_static_data_t
HTMLImgElement_dispex
=
{
NULL
,
NULL
,
DispHTMLImg_tid
,
DispHTMLImg_tid
,
HTMLImgElement_iface_tids
HTMLImgElement_iface_tids
,
HTMLElement_init_dispex_info
};
};
HRESULT
HTMLImgElement_Create
(
HTMLDocumentNode
*
doc
,
nsIDOMHTMLElement
*
nselem
,
HTMLElement
**
elem
)
HRESULT
HTMLImgElement_Create
(
HTMLDocumentNode
*
doc
,
nsIDOMHTMLElement
*
nselem
,
HTMLElement
**
elem
)
...
...
dlls/mshtml/htmlinput.c
View file @
d72d6403
...
@@ -1345,7 +1345,8 @@ static const tid_t HTMLInputElement_iface_tids[] = {
...
@@ -1345,7 +1345,8 @@ static const tid_t HTMLInputElement_iface_tids[] = {
static
dispex_static_data_t
HTMLInputElement_dispex
=
{
static
dispex_static_data_t
HTMLInputElement_dispex
=
{
NULL
,
NULL
,
DispHTMLInputElement_tid
,
DispHTMLInputElement_tid
,
HTMLInputElement_iface_tids
HTMLInputElement_iface_tids
,
HTMLElement_init_dispex_info
};
};
HRESULT
HTMLInputElement_Create
(
HTMLDocumentNode
*
doc
,
nsIDOMHTMLElement
*
nselem
,
HTMLElement
**
elem
)
HRESULT
HTMLInputElement_Create
(
HTMLDocumentNode
*
doc
,
nsIDOMHTMLElement
*
nselem
,
HTMLElement
**
elem
)
...
@@ -1538,7 +1539,8 @@ static const tid_t HTMLLabelElement_iface_tids[] = {
...
@@ -1538,7 +1539,8 @@ static const tid_t HTMLLabelElement_iface_tids[] = {
static
dispex_static_data_t
HTMLLabelElement_dispex
=
{
static
dispex_static_data_t
HTMLLabelElement_dispex
=
{
NULL
,
NULL
,
DispHTMLLabelElement_tid
,
DispHTMLLabelElement_tid
,
HTMLLabelElement_iface_tids
HTMLLabelElement_iface_tids
,
HTMLElement_init_dispex_info
};
};
HRESULT
HTMLLabelElement_Create
(
HTMLDocumentNode
*
doc
,
nsIDOMHTMLElement
*
nselem
,
HTMLElement
**
elem
)
HRESULT
HTMLLabelElement_Create
(
HTMLDocumentNode
*
doc
,
nsIDOMHTMLElement
*
nselem
,
HTMLElement
**
elem
)
...
@@ -1888,7 +1890,8 @@ static const tid_t HTMLButtonElement_iface_tids[] = {
...
@@ -1888,7 +1890,8 @@ static const tid_t HTMLButtonElement_iface_tids[] = {
static
dispex_static_data_t
HTMLButtonElement_dispex
=
{
static
dispex_static_data_t
HTMLButtonElement_dispex
=
{
NULL
,
NULL
,
DispHTMLButtonElement_tid
,
DispHTMLButtonElement_tid
,
HTMLButtonElement_iface_tids
HTMLButtonElement_iface_tids
,
HTMLElement_init_dispex_info
};
};
HRESULT
HTMLButtonElement_Create
(
HTMLDocumentNode
*
doc
,
nsIDOMHTMLElement
*
nselem
,
HTMLElement
**
elem
)
HRESULT
HTMLButtonElement_Create
(
HTMLDocumentNode
*
doc
,
nsIDOMHTMLElement
*
nselem
,
HTMLElement
**
elem
)
...
...
dlls/mshtml/htmllink.c
View file @
d72d6403
...
@@ -449,7 +449,8 @@ static const tid_t HTMLLinkElement_iface_tids[] = {
...
@@ -449,7 +449,8 @@ static const tid_t HTMLLinkElement_iface_tids[] = {
static
dispex_static_data_t
HTMLLinkElement_dispex
=
{
static
dispex_static_data_t
HTMLLinkElement_dispex
=
{
NULL
,
NULL
,
DispHTMLLinkElement_tid
,
DispHTMLLinkElement_tid
,
HTMLLinkElement_iface_tids
HTMLLinkElement_iface_tids
,
HTMLElement_init_dispex_info
};
};
HRESULT
HTMLLinkElement_Create
(
HTMLDocumentNode
*
doc
,
nsIDOMHTMLElement
*
nselem
,
HTMLElement
**
elem
)
HRESULT
HTMLLinkElement_Create
(
HTMLDocumentNode
*
doc
,
nsIDOMHTMLElement
*
nselem
,
HTMLElement
**
elem
)
...
...
dlls/mshtml/htmlmeta.c
View file @
d72d6403
...
@@ -250,7 +250,8 @@ static const tid_t HTMLMetaElement_iface_tids[] = {
...
@@ -250,7 +250,8 @@ static const tid_t HTMLMetaElement_iface_tids[] = {
static
dispex_static_data_t
HTMLMetaElement_dispex
=
{
static
dispex_static_data_t
HTMLMetaElement_dispex
=
{
NULL
,
NULL
,
DispHTMLMetaElement_tid
,
DispHTMLMetaElement_tid
,
HTMLMetaElement_iface_tids
HTMLMetaElement_iface_tids
,
HTMLElement_init_dispex_info
};
};
HRESULT
HTMLMetaElement_Create
(
HTMLDocumentNode
*
doc
,
nsIDOMHTMLElement
*
nselem
,
HTMLElement
**
elem
)
HRESULT
HTMLMetaElement_Create
(
HTMLDocumentNode
*
doc
,
nsIDOMHTMLElement
*
nselem
,
HTMLElement
**
elem
)
...
...
dlls/mshtml/htmlobject.c
View file @
d72d6403
...
@@ -773,7 +773,8 @@ static const tid_t HTMLObjectElement_iface_tids[] = {
...
@@ -773,7 +773,8 @@ static const tid_t HTMLObjectElement_iface_tids[] = {
static
dispex_static_data_t
HTMLObjectElement_dispex
=
{
static
dispex_static_data_t
HTMLObjectElement_dispex
=
{
NULL
,
NULL
,
DispHTMLObjectElement_tid
,
DispHTMLObjectElement_tid
,
HTMLObjectElement_iface_tids
HTMLObjectElement_iface_tids
,
HTMLElement_init_dispex_info
};
};
HRESULT
HTMLObjectElement_Create
(
HTMLDocumentNode
*
doc
,
nsIDOMHTMLElement
*
nselem
,
HTMLElement
**
elem
)
HRESULT
HTMLObjectElement_Create
(
HTMLDocumentNode
*
doc
,
nsIDOMHTMLElement
*
nselem
,
HTMLElement
**
elem
)
...
...
dlls/mshtml/htmloption.c
View file @
d72d6403
...
@@ -444,7 +444,8 @@ static const tid_t HTMLOptionElement_iface_tids[] = {
...
@@ -444,7 +444,8 @@ static const tid_t HTMLOptionElement_iface_tids[] = {
static
dispex_static_data_t
HTMLOptionElement_dispex
=
{
static
dispex_static_data_t
HTMLOptionElement_dispex
=
{
NULL
,
NULL
,
DispHTMLOptionElement_tid
,
DispHTMLOptionElement_tid
,
HTMLOptionElement_iface_tids
HTMLOptionElement_iface_tids
,
HTMLElement_init_dispex_info
};
};
HRESULT
HTMLOptionElement_Create
(
HTMLDocumentNode
*
doc
,
nsIDOMHTMLElement
*
nselem
,
HTMLElement
**
elem
)
HRESULT
HTMLOptionElement_Create
(
HTMLDocumentNode
*
doc
,
nsIDOMHTMLElement
*
nselem
,
HTMLElement
**
elem
)
...
@@ -624,7 +625,8 @@ static const tid_t HTMLOptionElementFactory_iface_tids[] = {
...
@@ -624,7 +625,8 @@ static const tid_t HTMLOptionElementFactory_iface_tids[] = {
static
dispex_static_data_t
HTMLOptionElementFactory_dispex
=
{
static
dispex_static_data_t
HTMLOptionElementFactory_dispex
=
{
NULL
,
NULL
,
IHTMLOptionElementFactory_tid
,
IHTMLOptionElementFactory_tid
,
HTMLOptionElementFactory_iface_tids
HTMLOptionElementFactory_iface_tids
,
HTMLElement_init_dispex_info
};
};
HRESULT
HTMLOptionElementFactory_Create
(
HTMLInnerWindow
*
window
,
HTMLOptionElementFactory
**
ret_ptr
)
HRESULT
HTMLOptionElementFactory_Create
(
HTMLInnerWindow
*
window
,
HTMLOptionElementFactory
**
ret_ptr
)
...
...
dlls/mshtml/htmlscript.c
View file @
d72d6403
...
@@ -467,7 +467,8 @@ static const tid_t HTMLScriptElement_iface_tids[] = {
...
@@ -467,7 +467,8 @@ static const tid_t HTMLScriptElement_iface_tids[] = {
static
dispex_static_data_t
HTMLScriptElement_dispex
=
{
static
dispex_static_data_t
HTMLScriptElement_dispex
=
{
NULL
,
NULL
,
DispHTMLScriptElement_tid
,
DispHTMLScriptElement_tid
,
HTMLScriptElement_iface_tids
HTMLScriptElement_iface_tids
,
HTMLElement_init_dispex_info
};
};
HRESULT
HTMLScriptElement_Create
(
HTMLDocumentNode
*
doc
,
nsIDOMHTMLElement
*
nselem
,
HTMLElement
**
elem
)
HRESULT
HTMLScriptElement_Create
(
HTMLDocumentNode
*
doc
,
nsIDOMHTMLElement
*
nselem
,
HTMLElement
**
elem
)
...
...
dlls/mshtml/htmlselect.c
View file @
d72d6403
...
@@ -717,7 +717,8 @@ static const tid_t HTMLSelectElement_tids[] = {
...
@@ -717,7 +717,8 @@ static const tid_t HTMLSelectElement_tids[] = {
static
dispex_static_data_t
HTMLSelectElement_dispex
=
{
static
dispex_static_data_t
HTMLSelectElement_dispex
=
{
NULL
,
NULL
,
DispHTMLSelectElement_tid
,
DispHTMLSelectElement_tid
,
HTMLSelectElement_tids
HTMLSelectElement_tids
,
HTMLElement_init_dispex_info
};
};
HRESULT
HTMLSelectElement_Create
(
HTMLDocumentNode
*
doc
,
nsIDOMHTMLElement
*
nselem
,
HTMLElement
**
elem
)
HRESULT
HTMLSelectElement_Create
(
HTMLDocumentNode
*
doc
,
nsIDOMHTMLElement
*
nselem
,
HTMLElement
**
elem
)
...
...
dlls/mshtml/htmlstyleelem.c
View file @
d72d6403
...
@@ -367,7 +367,8 @@ static const tid_t HTMLStyleElement_iface_tids[] = {
...
@@ -367,7 +367,8 @@ static const tid_t HTMLStyleElement_iface_tids[] = {
static
dispex_static_data_t
HTMLStyleElement_dispex
=
{
static
dispex_static_data_t
HTMLStyleElement_dispex
=
{
NULL
,
NULL
,
DispHTMLStyleElement_tid
,
DispHTMLStyleElement_tid
,
HTMLStyleElement_iface_tids
HTMLStyleElement_iface_tids
,
HTMLElement_init_dispex_info
};
};
HRESULT
HTMLStyleElement_Create
(
HTMLDocumentNode
*
doc
,
nsIDOMHTMLElement
*
nselem
,
HTMLElement
**
elem
)
HRESULT
HTMLStyleElement_Create
(
HTMLDocumentNode
*
doc
,
nsIDOMHTMLElement
*
nselem
,
HTMLElement
**
elem
)
...
...
dlls/mshtml/htmltable.c
View file @
d72d6403
...
@@ -1072,7 +1072,8 @@ static const tid_t HTMLTable_iface_tids[] = {
...
@@ -1072,7 +1072,8 @@ static const tid_t HTMLTable_iface_tids[] = {
static
dispex_static_data_t
HTMLTable_dispex
=
{
static
dispex_static_data_t
HTMLTable_dispex
=
{
NULL
,
NULL
,
DispHTMLTable_tid
,
DispHTMLTable_tid
,
HTMLTable_iface_tids
HTMLTable_iface_tids
,
HTMLElement_init_dispex_info
};
};
HRESULT
HTMLTable_Create
(
HTMLDocumentNode
*
doc
,
nsIDOMHTMLElement
*
nselem
,
HTMLElement
**
elem
)
HRESULT
HTMLTable_Create
(
HTMLDocumentNode
*
doc
,
nsIDOMHTMLElement
*
nselem
,
HTMLElement
**
elem
)
...
...
dlls/mshtml/htmltablecell.c
View file @
d72d6403
...
@@ -447,7 +447,8 @@ static const tid_t HTMLTableCell_iface_tids[] = {
...
@@ -447,7 +447,8 @@ static const tid_t HTMLTableCell_iface_tids[] = {
static
dispex_static_data_t
HTMLTableCell_dispex
=
{
static
dispex_static_data_t
HTMLTableCell_dispex
=
{
NULL
,
NULL
,
DispHTMLTableCell_tid
,
DispHTMLTableCell_tid
,
HTMLTableCell_iface_tids
HTMLTableCell_iface_tids
,
HTMLElement_init_dispex_info
};
};
HRESULT
HTMLTableCell_Create
(
HTMLDocumentNode
*
doc
,
nsIDOMHTMLElement
*
nselem
,
HTMLElement
**
elem
)
HRESULT
HTMLTableCell_Create
(
HTMLDocumentNode
*
doc
,
nsIDOMHTMLElement
*
nselem
,
HTMLElement
**
elem
)
...
...
dlls/mshtml/htmltablerow.c
View file @
d72d6403
...
@@ -451,7 +451,8 @@ static const tid_t HTMLTableRow_iface_tids[] = {
...
@@ -451,7 +451,8 @@ static const tid_t HTMLTableRow_iface_tids[] = {
static
dispex_static_data_t
HTMLTableRow_dispex
=
{
static
dispex_static_data_t
HTMLTableRow_dispex
=
{
NULL
,
NULL
,
DispHTMLTableRow_tid
,
DispHTMLTableRow_tid
,
HTMLTableRow_iface_tids
HTMLTableRow_iface_tids
,
HTMLElement_init_dispex_info
};
};
HRESULT
HTMLTableRow_Create
(
HTMLDocumentNode
*
doc
,
nsIDOMHTMLElement
*
nselem
,
HTMLElement
**
elem
)
HRESULT
HTMLTableRow_Create
(
HTMLDocumentNode
*
doc
,
nsIDOMHTMLElement
*
nselem
,
HTMLElement
**
elem
)
...
...
dlls/mshtml/htmltextarea.c
View file @
d72d6403
...
@@ -505,7 +505,8 @@ static const tid_t HTMLTextAreaElement_iface_tids[] = {
...
@@ -505,7 +505,8 @@ static const tid_t HTMLTextAreaElement_iface_tids[] = {
static
dispex_static_data_t
HTMLTextAreaElement_dispex
=
{
static
dispex_static_data_t
HTMLTextAreaElement_dispex
=
{
NULL
,
NULL
,
DispHTMLTextAreaElement_tid
,
DispHTMLTextAreaElement_tid
,
HTMLTextAreaElement_iface_tids
HTMLTextAreaElement_iface_tids
,
HTMLElement_init_dispex_info
};
};
HRESULT
HTMLTextAreaElement_Create
(
HTMLDocumentNode
*
doc
,
nsIDOMHTMLElement
*
nselem
,
HTMLElement
**
elem
)
HRESULT
HTMLTextAreaElement_Create
(
HTMLDocumentNode
*
doc
,
nsIDOMHTMLElement
*
nselem
,
HTMLElement
**
elem
)
...
...
dlls/mshtml/mshtml_private.h
View file @
d72d6403
...
@@ -757,8 +757,7 @@ typedef struct {
...
@@ -757,8 +757,7 @@ typedef struct {
IHTMLElement2_tid, \
IHTMLElement2_tid, \
IHTMLElement3_tid, \
IHTMLElement3_tid, \
IHTMLElement4_tid, \
IHTMLElement4_tid, \
IHTMLUniqueName_tid, \
IHTMLUniqueName_tid
IElementSelector_tid
extern
cp_static_data_t
HTMLElementEvents2_data
DECLSPEC_HIDDEN
;
extern
cp_static_data_t
HTMLElementEvents2_data
DECLSPEC_HIDDEN
;
#define HTMLELEMENT_CPC {&DIID_HTMLElementEvents2, &HTMLElementEvents2_data}
#define HTMLELEMENT_CPC {&DIID_HTMLElementEvents2, &HTMLElementEvents2_data}
...
@@ -1031,6 +1030,7 @@ void HTMLElement_destructor(HTMLDOMNode*) DECLSPEC_HIDDEN;
...
@@ -1031,6 +1030,7 @@ void HTMLElement_destructor(HTMLDOMNode*) DECLSPEC_HIDDEN;
HRESULT
HTMLElement_clone
(
HTMLDOMNode
*
,
nsIDOMNode
*
,
HTMLDOMNode
**
)
DECLSPEC_HIDDEN
;
HRESULT
HTMLElement_clone
(
HTMLDOMNode
*
,
nsIDOMNode
*
,
HTMLDOMNode
**
)
DECLSPEC_HIDDEN
;
HRESULT
HTMLElement_get_attr_col
(
HTMLDOMNode
*
,
HTMLAttributeCollection
**
)
DECLSPEC_HIDDEN
;
HRESULT
HTMLElement_get_attr_col
(
HTMLDOMNode
*
,
HTMLAttributeCollection
**
)
DECLSPEC_HIDDEN
;
HRESULT
HTMLElement_handle_event
(
HTMLDOMNode
*
,
DWORD
,
nsIDOMEvent
*
,
BOOL
*
)
DECLSPEC_HIDDEN
;
HRESULT
HTMLElement_handle_event
(
HTMLDOMNode
*
,
DWORD
,
nsIDOMEvent
*
,
BOOL
*
)
DECLSPEC_HIDDEN
;
void
HTMLElement_init_dispex_info
(
dispex_data_t
*
,
compat_mode_t
)
DECLSPEC_HIDDEN
;
HRESULT
HTMLFrameBase_QI
(
HTMLFrameBase
*
,
REFIID
,
void
**
)
DECLSPEC_HIDDEN
;
HRESULT
HTMLFrameBase_QI
(
HTMLFrameBase
*
,
REFIID
,
void
**
)
DECLSPEC_HIDDEN
;
void
HTMLFrameBase_destructor
(
HTMLFrameBase
*
)
DECLSPEC_HIDDEN
;
void
HTMLFrameBase_destructor
(
HTMLFrameBase
*
)
DECLSPEC_HIDDEN
;
...
...
dlls/mshtml/tests/documentmode.js
View file @
d72d6403
...
@@ -16,6 +16,23 @@
...
@@ -16,6 +16,23 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
*/
function
test_elem_props
()
{
var
elem
=
document
.
documentElement
;
function
test_exposed
(
prop
,
expect
)
{
if
(
expect
)
ok
(
prop
in
elem
,
prop
+
" not found in element."
);
else
ok
(
!
(
prop
in
elem
),
prop
+
" found in element."
);
}
var
v
=
document
.
documentMode
;
test_exposed
(
"querySelectorAll"
,
v
>=
8
);
next_test
();
}
function
test_doc_mode
()
{
function
test_doc_mode
()
{
var
opt
=
parseInt
(
document
.
location
.
search
.
substring
(
1
));
var
opt
=
parseInt
(
document
.
location
.
search
.
substring
(
1
));
...
@@ -38,5 +55,6 @@ function test_doc_mode() {
...
@@ -38,5 +55,6 @@ function test_doc_mode() {
}
}
var
tests
=
[
var
tests
=
[
test_doc_mode
test_doc_mode
,
test_elem_props
];
];
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment