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
57b2075a
Commit
57b2075a
authored
Mar 16, 2012
by
Jacek Caban
Committed by
Alexandre Julliard
Mar 16, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Added IHTMLCurrentStyle2::get_filter implementation.
parent
34833825
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
2 deletions
+17
-2
htmlcurstyle.c
dlls/mshtml/htmlcurstyle.c
+17
-2
No files found.
dlls/mshtml/htmlcurstyle.c
View file @
57b2075a
...
...
@@ -42,6 +42,7 @@ struct HTMLCurrentStyle {
LONG
ref
;
nsIDOMCSSStyleDeclaration
*
nsstyle
;
HTMLElement
*
elem
;
};
static
inline
HTMLCurrentStyle
*
impl_from_IHTMLCurrentStyle
(
IHTMLCurrentStyle
*
iface
)
...
...
@@ -118,6 +119,7 @@ static ULONG WINAPI HTMLCurrentStyle_Release(IHTMLCurrentStyle *iface)
if
(
!
ref
)
{
if
(
This
->
nsstyle
)
nsIDOMCSSStyleDeclaration_Release
(
This
->
nsstyle
);
IHTMLElement_Release
(
&
This
->
elem
->
IHTMLElement_iface
);
release_dispex
(
&
This
->
dispex
);
heap_free
(
This
);
}
...
...
@@ -1054,8 +1056,18 @@ static HRESULT WINAPI HTMLCurrentStyle2_get_zoom(IHTMLCurrentStyle2 *iface, VARI
static
HRESULT
WINAPI
HTMLCurrentStyle2_get_filter
(
IHTMLCurrentStyle2
*
iface
,
BSTR
*
p
)
{
HTMLCurrentStyle
*
This
=
impl_from_IHTMLCurrentStyle2
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
E_NOTIMPL
;
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
p
);
if
(
This
->
elem
->
filter
)
{
*
p
=
SysAllocString
(
This
->
elem
->
filter
);
if
(
!*
p
)
return
E_OUTOFMEMORY
;
}
else
{
*
p
=
NULL
;
}
return
S_OK
;
}
static
HRESULT
WINAPI
HTMLCurrentStyle2_get_textAlignLast
(
IHTMLCurrentStyle2
*
iface
,
BSTR
*
p
)
...
...
@@ -1349,6 +1361,9 @@ HRESULT HTMLCurrentStyle_Create(HTMLElement *elem, IHTMLCurrentStyle **p)
init_dispex
(
&
ret
->
dispex
,
(
IUnknown
*
)
&
ret
->
IHTMLCurrentStyle_iface
,
&
HTMLCurrentStyle_dispex
);
IHTMLElement_AddRef
(
&
elem
->
IHTMLElement_iface
);
ret
->
elem
=
elem
;
*
p
=
&
ret
->
IHTMLCurrentStyle_iface
;
return
S_OK
;
}
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