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
b75e2c4d
Commit
b75e2c4d
authored
Oct 15, 2012
by
Jacek Caban
Committed by
Alexandre Julliard
Oct 15, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Added IHTMLLinkElement stub implementation.
parent
02f6ea92
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
19 additions
and
2 deletions
+19
-2
Makefile.in
dlls/mshtml/Makefile.in
+1
-0
htmlelem.c
dlls/mshtml/htmlelem.c
+2
-0
htmllink.c
dlls/mshtml/htmllink.c
+0
-0
mshtml_private.h
dlls/mshtml/mshtml_private.h
+3
-0
dom.c
dlls/mshtml/tests/dom.c
+13
-2
No files found.
dlls/mshtml/Makefile.in
View file @
b75e2c4d
...
...
@@ -31,6 +31,7 @@ C_SRCS = \
htmliframe.c
\
htmlimg.c
\
htmlinput.c
\
htmllink.c
\
htmllocation.c
\
htmlmeta.c
\
htmlnode.c
\
...
...
dlls/mshtml/htmlelem.c
View file @
b75e2c4d
...
...
@@ -45,6 +45,7 @@ static const WCHAR headW[] = {'H','E','A','D',0};
static
const
WCHAR
iframeW
[]
=
{
'I'
,
'F'
,
'R'
,
'A'
,
'M'
,
'E'
,
0
};
static
const
WCHAR
imgW
[]
=
{
'I'
,
'M'
,
'G'
,
0
};
static
const
WCHAR
inputW
[]
=
{
'I'
,
'N'
,
'P'
,
'U'
,
'T'
,
0
};
static
const
WCHAR
linkW
[]
=
{
'L'
,
'I'
,
'N'
,
'K'
,
0
};
static
const
WCHAR
metaW
[]
=
{
'M'
,
'E'
,
'T'
,
'A'
,
0
};
static
const
WCHAR
objectW
[]
=
{
'O'
,
'B'
,
'J'
,
'E'
,
'C'
,
'T'
,
0
};
static
const
WCHAR
optionW
[]
=
{
'O'
,
'P'
,
'T'
,
'I'
,
'O'
,
'N'
,
0
};
...
...
@@ -72,6 +73,7 @@ static const tag_desc_t tag_descs[] = {
{
iframeW
,
HTMLIFrame_Create
},
{
imgW
,
HTMLImgElement_Create
},
{
inputW
,
HTMLInputElement_Create
},
{
linkW
,
HTMLLinkElement_Create
},
{
metaW
,
HTMLMetaElement_Create
},
{
objectW
,
HTMLObjectElement_Create
},
{
optionW
,
HTMLOptionElement_Create
},
...
...
dlls/mshtml/htmllink.c
0 → 100644
View file @
b75e2c4d
This diff is collapsed.
Click to expand it.
dlls/mshtml/mshtml_private.h
View file @
b75e2c4d
...
...
@@ -92,6 +92,7 @@ typedef struct event_target_t event_target_t;
XDIID(DispHTMLIFrame) \
XDIID(DispHTMLImg) \
XDIID(DispHTMLInputElement) \
XDIID(DispHTMLLinkElement) \
XDIID(DispHTMLLocation) \
XDIID(DispHTMLMetaElement) \
XDIID(DispHTMLNavigator) \
...
...
@@ -151,6 +152,7 @@ typedef struct event_target_t event_target_t;
XIID(IHTMLImageElementFactory) \
XIID(IHTMLImgElement) \
XIID(IHTMLInputElement) \
XIID(IHTMLLinkElement) \
XIID(IHTMLLocation) \
XIID(IHTMLMetaElement) \
XIID(IHTMLMimeTypesCollection) \
...
...
@@ -879,6 +881,7 @@ HRESULT HTMLIFrame_Create(HTMLDocumentNode*,nsIDOMHTMLElement*,HTMLElement**) DE
HRESULT
HTMLStyleElement_Create
(
HTMLDocumentNode
*
,
nsIDOMHTMLElement
*
,
HTMLElement
**
)
DECLSPEC_HIDDEN
;
HRESULT
HTMLImgElement_Create
(
HTMLDocumentNode
*
,
nsIDOMHTMLElement
*
,
HTMLElement
**
)
DECLSPEC_HIDDEN
;
HRESULT
HTMLInputElement_Create
(
HTMLDocumentNode
*
,
nsIDOMHTMLElement
*
,
HTMLElement
**
)
DECLSPEC_HIDDEN
;
HRESULT
HTMLLinkElement_Create
(
HTMLDocumentNode
*
,
nsIDOMHTMLElement
*
,
HTMLElement
**
)
DECLSPEC_HIDDEN
;
HRESULT
HTMLMetaElement_Create
(
HTMLDocumentNode
*
,
nsIDOMHTMLElement
*
,
HTMLElement
**
)
DECLSPEC_HIDDEN
;
HRESULT
HTMLObjectElement_Create
(
HTMLDocumentNode
*
,
nsIDOMHTMLElement
*
,
HTMLElement
**
)
DECLSPEC_HIDDEN
;
HRESULT
HTMLOptionElement_Create
(
HTMLDocumentNode
*
,
nsIDOMHTMLElement
*
,
HTMLElement
**
)
DECLSPEC_HIDDEN
;
...
...
dlls/mshtml/tests/dom.c
View file @
b75e2c4d
...
...
@@ -48,6 +48,7 @@ static const char range_test2_str[] =
static
const
char
elem_test_str
[]
=
"<html><head><title>test</title><style id=
\"
styleid
\"
>.body { margin-right: 0px; }</style>"
"<meta id=
\"
metaid
\"
name=
\"
meta name
\"
http-equiv=
\"
Content-Type
\"
content=
\"
text/html; charset=utf-8
\"
>"
"<link id=
\"
linkid
\"
></head>"
"<body onload=
\"
Testing()
\"
>text test<!-- a comment -->"
"<a id=
\"
a
\"
href=
\"
http://test
\"
name=
\"
x
\"
>link</a>"
"<input id=
\"
in
\"
class=
\"
testclass
\"
tabIndex=
\"
2
\"
title=
\"
test title
\"
/>"
...
...
@@ -119,7 +120,8 @@ typedef enum {
ET_EMBED
,
ET_DIV
,
ET_META
,
ET_NOSCRIPT
ET_NOSCRIPT
,
ET_LINK
}
elem_type_t
;
static
const
IID
*
const
none_iids
[]
=
{
...
...
@@ -320,6 +322,13 @@ static const IID * const meta_iids[] = {
NULL
};
static
const
IID
*
const
link_iids
[]
=
{
ELEM_IFACES
,
&
IID_IHTMLLinkElement
,
&
IID_IConnectionPointContainer
,
NULL
};
static
const
IID
*
const
object_iids
[]
=
{
ELEM_IFACES
,
&
IID_IHTMLObjectElement
,
...
...
@@ -432,7 +441,8 @@ static const elem_type_info_t elem_type_infos[] = {
{
"EMBED"
,
embed_iids
,
&
DIID_DispHTMLEmbed
},
{
"DIV"
,
elem_iids
,
NULL
},
{
"META"
,
meta_iids
,
&
DIID_DispHTMLMetaElement
},
{
"NOSCRIPT"
,
elem_iids
,
NULL
/*&DIID_DispHTMLNoShowElement*/
}
{
"NOSCRIPT"
,
elem_iids
,
NULL
/*&DIID_DispHTMLNoShowElement*/
},
{
"LINK"
,
link_iids
,
&
DIID_DispHTMLLinkElement
}
};
static
const
char
*
dbgstr_guid
(
REFIID
riid
)
...
...
@@ -5277,6 +5287,7 @@ static void test_elems(IHTMLDocument2 *doc)
ET_TITLE
,
ET_STYLE
,
ET_META
,
ET_LINK
,
ET_BODY
,
ET_COMMENT
,
ET_A
,
...
...
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