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
28278db7
Commit
28278db7
authored
Feb 08, 2009
by
Alistair Leslie-Hughes
Committed by
Alexandre Julliard
Feb 13, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Implement IHTMLStyle_put_textDecorationUnderline.
parent
957a50aa
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
2 deletions
+15
-2
htmlstyle.c
dlls/mshtml/htmlstyle.c
+4
-2
dom.c
dlls/mshtml/tests/dom.c
+11
-0
No files found.
dlls/mshtml/htmlstyle.c
View file @
28278db7
...
...
@@ -925,8 +925,10 @@ static HRESULT WINAPI HTMLStyle_get_textDecorationNone(IHTMLStyle *iface, VARIAN
static
HRESULT
WINAPI
HTMLStyle_put_textDecorationUnderline
(
IHTMLStyle
*
iface
,
VARIANT_BOOL
v
)
{
HTMLStyle
*
This
=
HTMLSTYLE_THIS
(
iface
);
FIXME
(
"(%p)->(%x)
\n
"
,
This
,
v
);
return
E_NOTIMPL
;
TRACE
(
"(%p)->(%x)
\n
"
,
This
,
v
);
return
set_style_attr
(
This
,
STYLEID_TEXT_DECORATION
,
v
?
valUnderline
:
emptyW
,
0
);
}
static
HRESULT
WINAPI
HTMLStyle_get_textDecorationUnderline
(
IHTMLStyle
*
iface
,
VARIANT_BOOL
*
p
)
...
...
dlls/mshtml/tests/dom.c
View file @
28278db7
...
...
@@ -2561,6 +2561,17 @@ static void test_default_style(IHTMLStyle *style)
ok
(
hres
==
S_OK
,
"get_textDecorationUnderline failed: %08x
\n
"
,
hres
);
ok
(
b
==
VARIANT_FALSE
,
"textDecorationUnderline = %x
\n
"
,
b
);
hres
=
IHTMLStyle_put_textDecorationUnderline
(
style
,
VARIANT_TRUE
);
ok
(
hres
==
S_OK
,
"get_textDecorationUnderline failed: %08x
\n
"
,
hres
);
ok
(
b
==
VARIANT_FALSE
,
"textDecorationUnderline = %x
\n
"
,
b
);
hres
=
IHTMLStyle_get_textDecorationUnderline
(
style
,
&
b
);
ok
(
hres
==
S_OK
,
"get_textDecorationUnderline failed: %08x
\n
"
,
hres
);
ok
(
b
==
VARIANT_TRUE
,
"textDecorationUnderline = %x
\n
"
,
b
);
hres
=
IHTMLStyle_put_textDecorationUnderline
(
style
,
VARIANT_FALSE
);
ok
(
hres
==
S_OK
,
"get_textDecorationUnderline failed: %08x
\n
"
,
hres
);
b
=
0xfefe
;
hres
=
IHTMLStyle_get_textDecorationLineThrough
(
style
,
&
b
);
ok
(
hres
==
S_OK
,
"get_textDecorationLineThrough failed: %08x
\n
"
,
hres
);
...
...
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