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
29d8c366
Commit
29d8c366
authored
May 04, 2008
by
Jacek Caban
Committed by
Alexandre Julliard
May 05, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Added IMG element tests.
parent
19ec36c9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
2 deletions
+17
-2
dom.c
dlls/mshtml/tests/dom.c
+17
-2
No files found.
dlls/mshtml/tests/dom.c
View file @
29d8c366
...
...
@@ -48,6 +48,7 @@ static const char elem_test_str[] =
"<table><tbody></tbody></table>"
"<script id=
\"
sc
\"
type=
\"
text/javascript
\"
></script>"
"<test />"
"<img /"
"</body></html>"
;
static
const
char
indent_test_str
[]
=
"<html><head><title>test</title></head><body>abc<br /><a href=
\"
about:blank
\"
>123</a></body></html>"
;
...
...
@@ -81,7 +82,8 @@ typedef enum {
ET_TBODY
,
ET_SCRIPT
,
ET_TEST
,
ET_COMMENT
ET_COMMENT
,
ET_IMG
}
elem_type_t
;
static
REFIID
const
none_iids
[]
=
{
...
...
@@ -221,6 +223,17 @@ static REFIID const comment_iids[] = {
NULL
};
static
REFIID
const
img_iids
[]
=
{
&
IID_IHTMLDOMNode
,
&
IID_IHTMLDOMNode2
,
&
IID_IHTMLElement
,
&
IID_IHTMLElement2
,
&
IID_IDispatchEx
,
&
IID_IHTMLImgElement
,
&
IID_IConnectionPointContainer
,
NULL
};
typedef
struct
{
const
char
*
tag
;
REFIID
*
iids
;
...
...
@@ -246,7 +259,8 @@ static const elem_type_info_t elem_type_infos[] = {
{
"TBODY"
,
elem_iids
,
NULL
},
{
"SCRIPT"
,
script_iids
,
NULL
},
{
"TEST"
,
elem_iids
,
&
DIID_DispHTMLUnknownElement
},
{
"!"
,
comment_iids
,
&
DIID_DispHTMLCommentElement
}
{
"!"
,
comment_iids
,
&
DIID_DispHTMLCommentElement
},
{
"IMG"
,
img_iids
,
&
DIID_DispHTMLImg
}
};
static
const
char
*
dbgstr_w
(
LPCWSTR
str
)
...
...
@@ -1524,6 +1538,7 @@ static void test_elems(IHTMLDocument2 *doc)
ET_TBODY
,
ET_SCRIPT
,
ET_TEST
,
ET_IMG
};
static
const
elem_type_t
item_types
[]
=
{
...
...
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