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
6e116f52
Commit
6e116f52
authored
Feb 11, 2010
by
Jacek Caban
Committed by
Alexandre Julliard
Feb 11, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Added IHTMLStyle::get_border*Color implementation.
parent
1431e24f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
12 deletions
+18
-12
htmlstyle.c
dlls/mshtml/htmlstyle.c
+12
-6
dom.c
dlls/mshtml/tests/dom.c
+6
-6
No files found.
dlls/mshtml/htmlstyle.c
View file @
6e116f52
...
...
@@ -1533,8 +1533,10 @@ static HRESULT WINAPI HTMLStyle_put_borderTopColor(IHTMLStyle *iface, VARIANT v)
static
HRESULT
WINAPI
HTMLStyle_get_borderTopColor
(
IHTMLStyle
*
iface
,
VARIANT
*
p
)
{
HTMLStyle
*
This
=
HTMLSTYLE_THIS
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
E_NOTIMPL
;
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
get_nsstyle_attr_var
(
This
->
nsstyle
,
STYLEID_BORDER_TOP_COLOR
,
p
,
0
);
}
static
HRESULT
WINAPI
HTMLStyle_put_borderRightColor
(
IHTMLStyle
*
iface
,
VARIANT
v
)
...
...
@@ -1563,8 +1565,10 @@ static HRESULT WINAPI HTMLStyle_put_borderBottomColor(IHTMLStyle *iface, VARIANT
static
HRESULT
WINAPI
HTMLStyle_get_borderBottomColor
(
IHTMLStyle
*
iface
,
VARIANT
*
p
)
{
HTMLStyle
*
This
=
HTMLSTYLE_THIS
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
E_NOTIMPL
;
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
get_nsstyle_attr_var
(
This
->
nsstyle
,
STYLEID_BORDER_BOTTOM_COLOR
,
p
,
0
);
}
static
HRESULT
WINAPI
HTMLStyle_put_borderLeftColor
(
IHTMLStyle
*
iface
,
VARIANT
v
)
...
...
@@ -1577,8 +1581,10 @@ static HRESULT WINAPI HTMLStyle_put_borderLeftColor(IHTMLStyle *iface, VARIANT v
static
HRESULT
WINAPI
HTMLStyle_get_borderLeftColor
(
IHTMLStyle
*
iface
,
VARIANT
*
p
)
{
HTMLStyle
*
This
=
HTMLSTYLE_THIS
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
E_NOTIMPL
;
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
get_nsstyle_attr_var
(
This
->
nsstyle
,
STYLEID_BORDER_LEFT_COLOR
,
p
,
0
);
}
static
HRESULT
WINAPI
HTMLStyle_put_borderWidth
(
IHTMLStyle
*
iface
,
BSTR
v
)
...
...
dlls/mshtml/tests/dom.c
View file @
6e116f52
...
...
@@ -4522,8 +4522,8 @@ static void test_default_style(IHTMLStyle *style)
*/
V_BSTR
(
&
v
)
=
NULL
;
hres
=
IHTMLStyle_get_borderTopColor
(
style
,
&
v
);
todo_wine
ok
(
hres
==
S_OK
,
"get_borderTopColor failed: %08x
\n
"
,
hres
);
todo_wine
ok
(
!
strcmp_wa
(
V_BSTR
(
&
v
),
"red"
),
"str=%s
\n
"
,
wine_dbgstr_w
(
V_BSTR
(
&
v
)));
ok
(
hres
==
S_OK
,
"get_borderTopColor failed: %08x
\n
"
,
hres
);
ok
(
!
strcmp_wa
(
V_BSTR
(
&
v
),
"red"
),
"str=%s
\n
"
,
wine_dbgstr_w
(
V_BSTR
(
&
v
)));
VariantClear
(
&
v
);
V_BSTR
(
&
v
)
=
NULL
;
...
...
@@ -4556,8 +4556,8 @@ static void test_default_style(IHTMLStyle *style)
*/
V_BSTR
(
&
v
)
=
NULL
;
hres
=
IHTMLStyle_get_borderBottomColor
(
style
,
&
v
);
todo_wine
ok
(
hres
==
S_OK
,
"get_borderBottomColor failed: %08x
\n
"
,
hres
);
todo_wine
ok
(
!
strcmp_wa
(
V_BSTR
(
&
v
),
"red"
),
"str=%s
\n
"
,
wine_dbgstr_w
(
V_BSTR
(
&
v
)));
ok
(
hres
==
S_OK
,
"get_borderBottomColor failed: %08x
\n
"
,
hres
);
ok
(
!
strcmp_wa
(
V_BSTR
(
&
v
),
"red"
),
"str=%s
\n
"
,
wine_dbgstr_w
(
V_BSTR
(
&
v
)));
VariantClear
(
&
v
);
V_BSTR
(
&
v
)
=
NULL
;
...
...
@@ -4590,8 +4590,8 @@ static void test_default_style(IHTMLStyle *style)
*/
V_BSTR
(
&
v
)
=
NULL
;
hres
=
IHTMLStyle_get_borderLeftColor
(
style
,
&
v
);
todo_wine
ok
(
hres
==
S_OK
,
"get_borderLeftColor failed: %08x
\n
"
,
hres
);
todo_wine
ok
(
!
strcmp_wa
(
V_BSTR
(
&
v
),
"red"
),
"str=%s
\n
"
,
wine_dbgstr_w
(
V_BSTR
(
&
v
)));
ok
(
hres
==
S_OK
,
"get_borderLeftColor failed: %08x
\n
"
,
hres
);
ok
(
!
strcmp_wa
(
V_BSTR
(
&
v
),
"red"
),
"str=%s
\n
"
,
wine_dbgstr_w
(
V_BSTR
(
&
v
)));
VariantClear
(
&
v
);
V_BSTR
(
&
v
)
=
NULL
;
...
...
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