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
d1d2b46d
Commit
d1d2b46d
authored
Jul 15, 2011
by
Jacek Caban
Committed by
Alexandre Julliard
Jul 15, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Added IHTMLStyle::clip tests.
parent
b7934f0a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
+15
-0
dom.c
dlls/mshtml/tests/dom.c
+15
-0
No files found.
dlls/mshtml/tests/dom.c
View file @
d1d2b46d
...
...
@@ -5691,6 +5691,21 @@ static void test_default_style(IHTMLStyle *style)
hres
=
IHTMLStyle_put_borderLeftColor
(
style
,
vDefault
);
ok
(
hres
==
S_OK
,
"put_borderLeftColor: %08x
\n
"
,
hres
);
/* clip */
hres
=
IHTMLStyle_get_clip
(
style
,
&
str
);
ok
(
hres
==
S_OK
,
"get_clip failed: %08x
\n
"
,
hres
);
ok
(
!
str
,
"clip = %s
\n
"
,
wine_dbgstr_w
(
str
));
str
=
a2bstr
(
"rect(0px 1px 500px 505px)"
);
hres
=
IHTMLStyle_put_clip
(
style
,
str
);
ok
(
hres
==
S_OK
,
"put_clip failed: %08x
\n
"
,
hres
);
SysFreeString
(
str
);
hres
=
IHTMLStyle_get_clip
(
style
,
&
str
);
ok
(
hres
==
S_OK
,
"get_clip failed: %08x
\n
"
,
hres
);
ok
(
!
strcmp_wa
(
str
,
"rect(0px 1px 500px 505px)"
),
"clip = %s
\n
"
,
wine_dbgstr_w
(
str
));
SysFreeString
(
str
);
hres
=
IHTMLStyle_QueryInterface
(
style
,
&
IID_IHTMLStyle2
,
(
void
**
)
&
style2
);
ok
(
hres
==
S_OK
,
"Could not get IHTMLStyle2 iface: %08x
\n
"
,
hres
);
if
(
SUCCEEDED
(
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