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
abd7056b
Commit
abd7056b
authored
Oct 10, 2008
by
Alistair Leslie-Hughes
Committed by
Alexandre Julliard
Oct 10, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Implement IHTMLStyle put/get borderWidth.
parent
fbfb165d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
htmlstyle.c
dlls/mshtml/htmlstyle.c
+7
-4
htmlstyle.h
dlls/mshtml/htmlstyle.h
+1
-0
No files found.
dlls/mshtml/htmlstyle.c
View file @
abd7056b
...
...
@@ -44,6 +44,8 @@ static const WCHAR attrBorder[] =
{
'b'
,
'o'
,
'r'
,
'd'
,
'e'
,
'r'
,
0
};
static
const
WCHAR
attrBorderLeft
[]
=
{
'b'
,
'o'
,
'r'
,
'd'
,
'e'
,
'r'
,
'-'
,
'l'
,
'e'
,
'f'
,
't'
,
0
};
static
const
WCHAR
attrBorderWidth
[]
=
{
'b'
,
'o'
,
'r'
,
'd'
,
'e'
,
'r'
,
'-'
,
'w'
,
'i'
,
'd'
,
't'
,
'h'
,
0
};
static
const
WCHAR
attrColor
[]
=
{
'c'
,
'o'
,
'l'
,
'o'
,
'r'
,
0
};
static
const
WCHAR
attrCursor
[]
=
...
...
@@ -98,6 +100,7 @@ static const struct{
{
attrBackgroundImage
,
DISPID_IHTMLSTYLE_BACKGROUNDIMAGE
},
{
attrBorder
,
DISPID_IHTMLSTYLE_BORDER
},
{
attrBorderLeft
,
DISPID_IHTMLSTYLE_BORDERLEFT
},
{
attrBorderWidth
,
DISPID_IHTMLSTYLE_BORDERWIDTH
},
{
attrColor
,
DISPID_IHTMLSTYLE_COLOR
},
{
attrCursor
,
DISPID_IHTMLSTYLE_CURSOR
},
{
attrDisplay
,
DISPID_IHTMLSTYLE_DISPLAY
},
...
...
@@ -1240,15 +1243,15 @@ static HRESULT WINAPI HTMLStyle_get_borderLeftColor(IHTMLStyle *iface, VARIANT *
static
HRESULT
WINAPI
HTMLStyle_put_borderWidth
(
IHTMLStyle
*
iface
,
BSTR
v
)
{
HTMLStyle
*
This
=
HTMLSTYLE_THIS
(
iface
);
FIXM
E
(
"(%p)->(%s)
\n
"
,
This
,
debugstr_w
(
v
));
return
E_NOTIMPL
;
TRAC
E
(
"(%p)->(%s)
\n
"
,
This
,
debugstr_w
(
v
));
return
set_style_attr
(
This
,
STYLEID_BORDER_WIDTH
,
v
,
ATTR_FIX_PX
)
;
}
static
HRESULT
WINAPI
HTMLStyle_get_borderWidth
(
IHTMLStyle
*
iface
,
BSTR
*
p
)
{
HTMLStyle
*
This
=
HTMLSTYLE_THIS
(
iface
);
FIXM
E
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
E_NOTIMPL
;
TRAC
E
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
get_style_attr
(
This
,
STYLEID_BORDER_WIDTH
,
p
)
;
}
static
HRESULT
WINAPI
HTMLStyle_put_borderTopWidth
(
IHTMLStyle
*
iface
,
VARIANT
v
)
...
...
dlls/mshtml/htmlstyle.h
View file @
abd7056b
...
...
@@ -36,6 +36,7 @@ typedef enum {
STYLEID_BACKGROUND_IMAGE
,
STYLEID_BORDER
,
STYLEID_BORDER_LEFT
,
STYLEID_BORDER_WIDTH
,
STYLEID_COLOR
,
STYLEID_CURSOR
,
STYLEID_DISPLAY
,
...
...
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