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
ea99533e
Commit
ea99533e
authored
Oct 27, 2010
by
Jacek Caban
Committed by
Alexandre Julliard
Oct 28, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Added IHTMLObjectElement stub implementation.
parent
cb65dbf3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
23 additions
and
3 deletions
+23
-3
Makefile.in
dlls/mshtml/Makefile.in
+1
-0
htmlelem.c
dlls/mshtml/htmlelem.c
+3
-0
htmlobject.c
dlls/mshtml/htmlobject.c
+0
-0
mshtml_private.h
dlls/mshtml/mshtml_private.h
+1
-0
dom.c
dlls/mshtml/tests/dom.c
+18
-3
No files found.
dlls/mshtml/Makefile.in
View file @
ea99533e
...
...
@@ -30,6 +30,7 @@ C_SRCS = \
htmlinput.c
\
htmllocation.c
\
htmlnode.c
\
htmlobject.c
\
htmloption.c
\
htmlscreen.c
\
htmlscript.c
\
...
...
dlls/mshtml/htmlelem.c
View file @
ea99533e
...
...
@@ -1659,6 +1659,7 @@ HTMLElement *HTMLElement_Create(HTMLDocumentNode *doc, nsIDOMNode *nsnode, BOOL
static
const
WCHAR
wszIFRAME
[]
=
{
'I'
,
'F'
,
'R'
,
'A'
,
'M'
,
'E'
,
0
};
static
const
WCHAR
wszIMG
[]
=
{
'I'
,
'M'
,
'G'
,
0
};
static
const
WCHAR
wszINPUT
[]
=
{
'I'
,
'N'
,
'P'
,
'U'
,
'T'
,
0
};
static
const
WCHAR
wszOBJECT
[]
=
{
'O'
,
'B'
,
'J'
,
'E'
,
'C'
,
'T'
,
0
};
static
const
WCHAR
wszOPTION
[]
=
{
'O'
,
'P'
,
'T'
,
'I'
,
'O'
,
'N'
,
0
};
static
const
WCHAR
wszSCRIPT
[]
=
{
'S'
,
'C'
,
'R'
,
'I'
,
'P'
,
'T'
,
0
};
static
const
WCHAR
wszSELECT
[]
=
{
'S'
,
'E'
,
'L'
,
'E'
,
'C'
,
'T'
,
0
};
...
...
@@ -1689,6 +1690,8 @@ HTMLElement *HTMLElement_Create(HTMLDocumentNode *doc, nsIDOMNode *nsnode, BOOL
ret
=
HTMLImgElement_Create
(
doc
,
nselem
);
else
if
(
!
strcmpW
(
class_name
,
wszINPUT
))
ret
=
HTMLInputElement_Create
(
doc
,
nselem
);
else
if
(
!
strcmpW
(
class_name
,
wszOBJECT
))
ret
=
HTMLObjectElement_Create
(
doc
,
nselem
);
else
if
(
!
strcmpW
(
class_name
,
wszOPTION
))
ret
=
HTMLOptionElement_Create
(
doc
,
nselem
);
else
if
(
!
strcmpW
(
class_name
,
wszSCRIPT
))
...
...
dlls/mshtml/htmlobject.c
0 → 100644
View file @
ea99533e
This diff is collapsed.
Click to expand it.
dlls/mshtml/mshtml_private.h
View file @
ea99533e
...
...
@@ -810,6 +810,7 @@ HTMLElement *HTMLFrameElement_Create(HTMLDocumentNode*,nsIDOMHTMLElement*);
HTMLElement
*
HTMLIFrame_Create
(
HTMLDocumentNode
*
,
nsIDOMHTMLElement
*
);
HTMLElement
*
HTMLImgElement_Create
(
HTMLDocumentNode
*
,
nsIDOMHTMLElement
*
);
HTMLElement
*
HTMLInputElement_Create
(
HTMLDocumentNode
*
,
nsIDOMHTMLElement
*
);
HTMLElement
*
HTMLObjectElement_Create
(
HTMLDocumentNode
*
,
nsIDOMHTMLElement
*
);
HTMLElement
*
HTMLOptionElement_Create
(
HTMLDocumentNode
*
,
nsIDOMHTMLElement
*
);
HTMLElement
*
HTMLScriptElement_Create
(
HTMLDocumentNode
*
,
nsIDOMHTMLElement
*
);
HTMLElement
*
HTMLSelectElement_Create
(
HTMLDocumentNode
*
,
nsIDOMHTMLElement
*
);
...
...
dlls/mshtml/tests/dom.c
View file @
ea99533e
...
...
@@ -48,7 +48,7 @@ static const char elem_test_str[] =
"<textarea id=
\"
X
\"
>text text</textarea>"
"<table id=
\"
tbl
\"
><tbody><tr></tr><tr id=
\"
row2
\"
><td>td1 text</td><td>td2 text</td></tr></tbody></table>"
"<script id=
\"
sc
\"
type=
\"
text/javascript
\"
><!--
\n
function Testing() {}
\n
// -->
\n
</script>"
"<test />"
"<test />
<object></object>
"
"<img id=
\"
imgid
\"
name=
\"
WineImg
\"
/>"
"<iframe src=
\"
about:blank
\"
id=
\"
ifr
\"
></iframe>"
"<form id=
\"
frm
\"
></form>"
...
...
@@ -100,7 +100,8 @@ typedef enum {
ET_TD
,
ET_IFRAME
,
ET_FORM
,
ET_FRAME
ET_FRAME
,
ET_OBJECT
}
elem_type_t
;
static
const
IID
*
const
none_iids
[]
=
{
...
...
@@ -324,6 +325,18 @@ static const IID * const frame_iids[] = {
NULL
};
static
const
IID
*
const
object_iids
[]
=
{
&
IID_IHTMLDOMNode
,
&
IID_IHTMLDOMNode2
,
&
IID_IHTMLElement
,
&
IID_IHTMLElement2
,
&
IID_IHTMLElement3
,
&
IID_IHTMLObjectElement
,
&
IID_IDispatchEx
,
/* FIXME: No IConnectionPointContainer */
NULL
};
static
const
IID
*
const
iframe_iids
[]
=
{
&
IID_IHTMLDOMNode
,
&
IID_IHTMLDOMNode2
,
...
...
@@ -421,7 +434,8 @@ static const elem_type_info_t elem_type_infos[] = {
{
"TD"
,
td_iids
,
NULL
},
{
"IFRAME"
,
iframe_iids
,
&
DIID_DispHTMLIFrame
},
{
"FORM"
,
form_iids
,
&
DIID_DispHTMLFormElement
},
{
"FRAME"
,
frame_iids
,
&
DIID_DispHTMLFrameElement
}
{
"FRAME"
,
frame_iids
,
&
DIID_DispHTMLFrameElement
},
{
"OBJECT"
,
object_iids
,
NULL
}
};
static
const
char
*
dbgstr_guid
(
REFIID
riid
)
...
...
@@ -5784,6 +5798,7 @@ static void test_elems(IHTMLDocument2 *doc)
ET_TD
,
ET_SCRIPT
,
ET_TEST
,
ET_OBJECT
,
ET_IMG
,
ET_IFRAME
,
ET_FORM
...
...
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