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
22ba44b4
Commit
22ba44b4
authored
Nov 14, 2010
by
Jacek Caban
Committed by
Alexandre Julliard
Nov 15, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Correctly handle DOCUMENT_FRAGMENT_NODE in IHTMLDOMNode::get_nodeType.
parent
04ad7321
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
htmlnode.c
dlls/mshtml/htmlnode.c
+3
-0
jstest.html
dlls/mshtml/tests/jstest.html
+1
-0
No files found.
dlls/mshtml/htmlnode.c
View file @
22ba44b4
...
...
@@ -368,6 +368,9 @@ static HRESULT WINAPI HTMLDOMNode_get_nodeType(IHTMLDOMNode *iface, LONG *p)
case
DOCUMENT_NODE
:
*
p
=
9
;
break
;
case
DOCUMENT_FRAGMENT_NODE
:
*
p
=
11
;
break
;
default:
/*
* FIXME:
...
...
dlls/mshtml/tests/jstest.html
View file @
22ba44b4
...
...
@@ -36,6 +36,7 @@ function test_createDocumentFragment() {
ok
(
typeof
(
fragment
)
===
"object"
,
"typeof(fragmend) = "
+
typeof
(
fragment
));
ok
(
fragment
.
parentWindow
===
window
,
"fragment.parentWindow != window"
);
ok
(
fragment
.
nodeType
===
11
,
"fragment.nodeType = "
+
fragment
.
nodeType
);
ok
(
fragment
.
nodeName
===
"#document-fragment"
,
"fragment.nodeName = "
+
fragment
.
nodeName
);
}
...
...
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