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
c7cb9f75
Commit
c7cb9f75
authored
Sep 02, 2011
by
Piotr Caban
Committed by
Alexandre Julliard
Sep 02, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Added HTMLAttributeCollection2_getNamedItem implementation.
parent
130c8342
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
4 deletions
+21
-4
htmlelem.c
dlls/mshtml/htmlelem.c
+21
-4
No files found.
dlls/mshtml/htmlelem.c
View file @
c7cb9f75
...
...
@@ -2403,8 +2403,26 @@ static HRESULT WINAPI HTMLAttributeCollection2_getNamedItem(IHTMLAttributeCollec
IHTMLDOMAttribute
**
newretNode
)
{
HTMLAttributeCollection
*
This
=
impl_from_IHTMLAttributeCollection2
(
iface
);
FIXME
(
"(%p)->(%s %p)
\n
"
,
This
,
debugstr_w
(
bstrName
),
newretNode
);
return
E_NOTIMPL
;
HTMLDOMAttribute
*
attr
;
DISPID
id
;
HRESULT
hres
;
TRACE
(
"(%p)->(%s %p)
\n
"
,
This
,
debugstr_w
(
bstrName
),
newretNode
);
hres
=
get_attr_dispid_by_name
(
This
,
bstrName
,
&
id
);
if
(
hres
==
DISP_E_UNKNOWNNAME
)
{
*
newretNode
=
NULL
;
return
S_OK
;
}
else
if
(
FAILED
(
hres
))
{
return
hres
;
}
hres
=
get_domattr
(
This
->
elem
,
id
,
&
attr
);
if
(
FAILED
(
hres
))
return
hres
;
*
newretNode
=
&
attr
->
IHTMLDOMAttribute_iface
;
return
S_OK
;
}
static
HRESULT
WINAPI
HTMLAttributeCollection2_setNamedItem
(
IHTMLAttributeCollection2
*
iface
,
...
...
@@ -2493,8 +2511,7 @@ static HRESULT WINAPI HTMLAttributeCollection3_getNamedItem(IHTMLAttributeCollec
IHTMLDOMAttribute
**
ppNodeOut
)
{
HTMLAttributeCollection
*
This
=
impl_from_IHTMLAttributeCollection3
(
iface
);
FIXME
(
"(%p)->(%s %p)
\n
"
,
This
,
debugstr_w
(
bstrName
),
ppNodeOut
);
return
E_NOTIMPL
;
return
IHTMLAttributeCollection2_getNamedItem
(
&
This
->
IHTMLAttributeCollection2_iface
,
bstrName
,
ppNodeOut
);
}
static
HRESULT
WINAPI
HTMLAttributeCollection3_setNamedItem
(
IHTMLAttributeCollection3
*
iface
,
...
...
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