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
860d30ee
Commit
860d30ee
authored
Jun 24, 2007
by
Rob Shearman
Committed by
Alexandre Julliard
Jun 25, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Fix HTMLDocument3_get_documentElement to get the right nsIDOMNode.
parent
a9ebca28
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
htmldoc3.c
dlls/mshtml/htmldoc3.c
+7
-1
No files found.
dlls/mshtml/htmldoc3.c
View file @
860d30ee
...
...
@@ -117,6 +117,7 @@ static HRESULT WINAPI HTMLDocument3_get_documentElement(IHTMLDocument3 *iface, I
HTMLDocument
*
This
=
HTMLDOC3_THIS
(
iface
);
nsIDOMDocument
*
nsdoc
;
HTMLDOMNode
*
node
;
nsIDOMElement
*
nselem
=
NULL
;
nsresult
nsres
;
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
p
);
...
...
@@ -131,7 +132,12 @@ static HRESULT WINAPI HTMLDocument3_get_documentElement(IHTMLDocument3 *iface, I
ERR
(
"GetDocument failed: %08x
\n
"
,
nsres
);
if
(
nsdoc
)
{
node
=
get_node
(
This
,
(
nsIDOMNode
*
)
nsdoc
);
nsres
=
nsIDOMHTMLDocument_GetDocumentElement
(
nsdoc
,
&
nselem
);
if
(
NS_FAILED
(
nsres
))
ERR
(
"GetDocumentElement failed: %08x
\n
"
,
nsres
);
}
if
(
nselem
)
{
node
=
get_node
(
This
,
(
nsIDOMNode
*
)
nselem
);
nsIDOMDocument_Release
(
nsdoc
);
IHTMLDOMNode_QueryInterface
(
HTMLDOMNODE
(
node
),
&
IID_IHTMLElement
,
(
void
**
)
p
);
...
...
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