Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
44a31494
Commit
44a31494
authored
Jun 25, 2008
by
Jacek Caban
Committed by
Alexandre Julliard
Jun 26, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Added DOCUMENT_NODE type support.
parent
beeaea11
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
htmlnode.c
dlls/mshtml/htmlnode.c
+3
-0
dom.c
dlls/mshtml/tests/dom.c
+2
-0
No files found.
dlls/mshtml/htmlnode.c
View file @
44a31494
...
@@ -370,6 +370,9 @@ static HRESULT WINAPI HTMLDOMNode_get_nodeType(IHTMLDOMNode *iface, long *p)
...
@@ -370,6 +370,9 @@ static HRESULT WINAPI HTMLDOMNode_get_nodeType(IHTMLDOMNode *iface, long *p)
case
COMMENT_NODE
:
case
COMMENT_NODE
:
*
p
=
8
;
*
p
=
8
;
break
;
break
;
case
DOCUMENT_NODE
:
*
p
=
9
;
break
;
default:
default:
/*
/*
* FIXME:
* FIXME:
...
...
dlls/mshtml/tests/dom.c
View file @
44a31494
...
@@ -2068,6 +2068,8 @@ static void test_elems(IHTMLDocument2 *doc)
...
@@ -2068,6 +2068,8 @@ static void test_elems(IHTMLDocument2 *doc)
IHTMLDOMNode_Release
(
node2
);
IHTMLDOMNode_Release
(
node2
);
ok
(
node
!=
NULL
,
"node == NULL
\n
"
);
ok
(
node
!=
NULL
,
"node == NULL
\n
"
);
test_node_name
((
IUnknown
*
)
node
,
"#document"
);
test_node_name
((
IUnknown
*
)
node
,
"#document"
);
type
=
get_node_type
((
IUnknown
*
)
node
);
ok
(
type
==
9
,
"type=%ld, expected 9
\n
"
,
type
);
node2
=
test_node_get_parent
((
IUnknown
*
)
node
);
node2
=
test_node_get_parent
((
IUnknown
*
)
node
);
IHTMLDOMNode_Release
(
node
);
IHTMLDOMNode_Release
(
node
);
ok
(
node2
==
NULL
,
"node != NULL
\n
"
);
ok
(
node2
==
NULL
,
"node != NULL
\n
"
);
...
...
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