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
8ac7e950
Commit
8ac7e950
authored
Apr 05, 2012
by
Jacek Caban
Committed by
Alexandre Julliard
Apr 05, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Added IHTMLImgElement::onerror implementation.
parent
039a9a5a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
6 deletions
+10
-6
htmlevent.c
dlls/mshtml/htmlevent.c
+2
-2
htmlimg.c
dlls/mshtml/htmlimg.c
+8
-4
No files found.
dlls/mshtml/htmlevent.c
View file @
8ac7e950
...
...
@@ -164,7 +164,7 @@ static const event_info_t event_info[] = {
{
dragstartW
,
ondragstartW
,
EVENTT_MOUSE
,
DISPID_EVMETH_ONDRAGSTART
,
EVENT_CANCELABLE
},
{
errorW
,
onerrorW
,
EVENTT_NONE
,
DISPID_EVMETH_ONERROR
,
0
},
EVENT_NODEHANDLER
},
{
focusW
,
onfocusW
,
EVENTT_HTML
,
DISPID_EVMETH_ONFOCUS
,
EVENT_DEFAULTLISTENER
},
{
keydownW
,
onkeydownW
,
EVENTT_KEY
,
DISPID_EVMETH_ONKEYDOWN
,
...
...
@@ -195,7 +195,7 @@ static const event_info_t event_info[] = {
EVENT_DEFAULTLISTENER
|
EVENT_BUBBLE
|
EVENT_CANCELABLE
}
};
static
const
eventid_t
node_handled_list
[]
=
{
EVENTID_LOAD
};
static
const
eventid_t
node_handled_list
[]
=
{
EVENTID_
ERROR
,
EVENTID_
LOAD
};
eventid_t
str_to_eid
(
LPCWSTR
str
)
{
...
...
dlls/mshtml/htmlimg.c
View file @
8ac7e950
...
...
@@ -420,15 +420,19 @@ static HRESULT WINAPI HTMLImgElement_get_onload(IHTMLImgElement *iface, VARIANT
static
HRESULT
WINAPI
HTMLImgElement_put_onerror
(
IHTMLImgElement
*
iface
,
VARIANT
v
)
{
HTMLImgElement
*
This
=
impl_from_IHTMLImgElement
(
iface
);
FIXME
(
"(%p)->()
\n
"
,
This
);
return
E_NOTIMPL
;
TRACE
(
"(%p)->()
\n
"
,
This
);
return
set_node_event
(
&
This
->
element
.
node
,
EVENTID_ERROR
,
&
v
);
}
static
HRESULT
WINAPI
HTMLImgElement_get_onerror
(
IHTMLImgElement
*
iface
,
VARIANT
*
p
)
{
HTMLImgElement
*
This
=
impl_from_IHTMLImgElement
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
E_NOTIMPL
;
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
get_node_event
(
&
This
->
element
.
node
,
EVENTID_ERROR
,
p
);
}
static
HRESULT
WINAPI
HTMLImgElement_put_onabort
(
IHTMLImgElement
*
iface
,
VARIANT
v
)
...
...
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