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
9269cda8
Commit
9269cda8
authored
Sep 07, 2018
by
Jacek Caban
Committed by
Alexandre Julliard
Sep 07, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Added IHTMLCSSStyleDeclaration::removeProperty implementation.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
78b8ee54
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
2 deletions
+12
-2
htmlstyle.c
dlls/mshtml/htmlstyle.c
+12
-2
No files found.
dlls/mshtml/htmlstyle.c
View file @
9269cda8
...
...
@@ -4766,8 +4766,18 @@ static HRESULT WINAPI HTMLCSSStyleDeclaration_getPropertyPriority(IHTMLCSSStyleD
static
HRESULT
WINAPI
HTMLCSSStyleDeclaration_removeProperty
(
IHTMLCSSStyleDeclaration
*
iface
,
BSTR
bstrPropertyName
,
BSTR
*
pbstrPropertyValue
)
{
HTMLStyle
*
This
=
impl_from_IHTMLCSSStyleDeclaration
(
iface
);
FIXME
(
"(%p)->(%s %p)
\n
"
,
This
,
debugstr_w
(
bstrPropertyName
),
pbstrPropertyValue
);
return
E_NOTIMPL
;
const
style_tbl_entry_t
*
style_entry
;
nsAString
name_str
,
ret_str
;
nsresult
nsres
;
TRACE
(
"(%p)->(%s %p)
\n
"
,
This
,
debugstr_w
(
bstrPropertyName
),
pbstrPropertyValue
);
style_entry
=
lookup_style_tbl
(
bstrPropertyName
);
nsAString_InitDepend
(
&
name_str
,
style_entry
?
style_entry
->
name
:
bstrPropertyName
);
nsAString_Init
(
&
ret_str
,
NULL
);
nsres
=
nsIDOMCSSStyleDeclaration_RemoveProperty
(
This
->
nsstyle
,
&
name_str
,
&
ret_str
);
nsAString_Finish
(
&
name_str
);
return
return_nsstr
(
nsres
,
&
ret_str
,
pbstrPropertyValue
);
}
static
HRESULT
WINAPI
HTMLCSSStyleDeclaration_setProperty
(
IHTMLCSSStyleDeclaration
*
iface
,
BSTR
bstrPropertyName
,
VARIANT
*
pvarPropertyValue
,
VARIANT
*
pvarPropertyPriority
)
...
...
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