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
957a50aa
Commit
957a50aa
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_textDecorationLineThrough.
parent
0bd62fdd
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 @
957a50aa
...
...
@@ -955,8 +955,10 @@ static HRESULT WINAPI HTMLStyle_get_textDecorationOverline(IHTMLStyle *iface, VA
static
HRESULT
WINAPI
HTMLStyle_put_textDecorationLineThrough
(
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
?
valLineThrough
:
emptyW
,
0
);
}
static
HRESULT
WINAPI
HTMLStyle_get_textDecorationLineThrough
(
IHTMLStyle
*
iface
,
VARIANT_BOOL
*
p
)
...
...
dlls/mshtml/tests/dom.c
View file @
957a50aa
...
...
@@ -2566,6 +2566,17 @@ static void test_default_style(IHTMLStyle *style)
ok
(
hres
==
S_OK
,
"get_textDecorationLineThrough failed: %08x
\n
"
,
hres
);
ok
(
b
==
VARIANT_FALSE
,
"textDecorationLineThrough = %x
\n
"
,
b
);
hres
=
IHTMLStyle_put_textDecorationLineThrough
(
style
,
VARIANT_TRUE
);
ok
(
hres
==
S_OK
,
"get_textDecorationLineThrough failed: %08x
\n
"
,
hres
);
ok
(
b
==
VARIANT_FALSE
,
"textDecorationLineThrough = %x
\n
"
,
b
);
hres
=
IHTMLStyle_get_textDecorationLineThrough
(
style
,
&
b
);
ok
(
hres
==
S_OK
,
"get_textDecorationLineThrough failed: %08x
\n
"
,
hres
);
ok
(
b
==
VARIANT_TRUE
,
"textDecorationLineThrough = %x
\n
"
,
b
);
hres
=
IHTMLStyle_put_textDecorationLineThrough
(
style
,
VARIANT_FALSE
);
ok
(
hres
==
S_OK
,
"get_textDecorationLineThrough failed: %08x
\n
"
,
hres
);
hres
=
IHTMLStyle_get_posWidth
(
style
,
NULL
);
ok
(
hres
==
E_POINTER
,
"get_posWidth 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