2 * Copyright 2006 Jacek Caban for CodeWeavers
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
30 #include "mshtml_private.h"
31 #include "htmlstyle.h"
33 #include "wine/debug.h"
35 WINE_DEFAULT_DEBUG_CHANNEL(mshtml
);
37 static const WCHAR
*font_style_values
[] = {
44 static const WCHAR
*font_variant_values
[] = {
50 static const WCHAR
*font_weight_values
[] = {
67 static const WCHAR
*background_repeat_values
[] = {
75 static const WCHAR
*text_decoration_values
[] = {
84 static const WCHAR
*border_style_values
[] = {
97 static const WCHAR
*overflow_values
[] = {
105 #define ATTR_FIX_PX 0x0001
106 #define ATTR_FIX_URL 0x0002
107 #define ATTR_STR_TO_INT 0x0004
108 #define ATTR_HEX_INT 0x0008
109 #define ATTR_REMOVE_COMMA 0x0010
110 #define ATTR_NO_NULL 0x0020
111 #define ATTR_COMPAT_IE10 0x0040
116 DISPID compat_dispid
;
118 const WCHAR
**allowed_values
;
121 static const style_tbl_entry_t style_tbl
[] = {
124 DISPID_IHTMLCSSSTYLEDECLARATION2_ANIMATION
,
130 DISPID_IHTMLCSSSTYLEDECLARATION2_ANIMATIONNAME
,
136 DISPID_IHTMLCSSSTYLEDECLARATION_BACKGROUND
,
140 L
"background-attachment",
141 DISPID_IHTMLCSSSTYLEDECLARATION_BACKGROUNDATTACHMENT
,
142 DISPID_A_BACKGROUNDATTACHMENT
146 DISPID_IHTMLCSSSTYLEDECLARATION_BACKGROUNDCLIP
,
151 DISPID_IHTMLCSSSTYLEDECLARATION_BACKGROUNDCOLOR
,
157 DISPID_IHTMLCSSSTYLEDECLARATION_BACKGROUNDIMAGE
,
158 DISPID_A_BACKGROUNDIMAGE
,
162 L
"background-position",
163 DISPID_IHTMLCSSSTYLEDECLARATION_BACKGROUNDPOSITION
,
164 DISPID_A_BACKGROUNDPOSITION
167 L
"background-position-x",
168 DISPID_IHTMLCSSSTYLEDECLARATION_BACKGROUNDPOSITIONX
,
169 DISPID_A_BACKGROUNDPOSX
,
173 L
"background-position-y",
174 DISPID_IHTMLCSSSTYLEDECLARATION_BACKGROUNDPOSITIONY
,
175 DISPID_A_BACKGROUNDPOSY
,
179 L
"background-repeat",
180 DISPID_IHTMLCSSSTYLEDECLARATION_BACKGROUNDREPEAT
,
181 DISPID_A_BACKGROUNDREPEAT
,
182 0, background_repeat_values
186 DISPID_IHTMLCSSSTYLEDECLARATION_BACKGROUNDSIZE
,
187 DISPID_A_IE9_BACKGROUNDSIZE
,
191 DISPID_IHTMLCSSSTYLEDECLARATION_BORDER
,
196 DISPID_IHTMLCSSSTYLEDECLARATION_BORDERBOTTOM
,
197 DISPID_A_BORDERBOTTOM
,
201 L
"border-bottom-color",
202 DISPID_IHTMLCSSSTYLEDECLARATION_BORDERBOTTOMCOLOR
,
203 DISPID_A_BORDERBOTTOMCOLOR
,
207 L
"border-bottom-style",
208 DISPID_IHTMLCSSSTYLEDECLARATION_BORDERBOTTOMSTYLE
,
209 DISPID_A_BORDERBOTTOMSTYLE
,
210 0, border_style_values
213 L
"border-bottom-width",
214 DISPID_IHTMLCSSSTYLEDECLARATION_BORDERBOTTOMWIDTH
,
215 DISPID_A_BORDERBOTTOMWIDTH
,
220 DISPID_IHTMLCSSSTYLEDECLARATION_BORDERCOLLAPSE
,
221 DISPID_A_BORDERCOLLAPSE
225 DISPID_IHTMLCSSSTYLEDECLARATION_BORDERCOLOR
,
230 DISPID_IHTMLCSSSTYLEDECLARATION_BORDERLEFT
,
235 L
"border-left-color",
236 DISPID_IHTMLCSSSTYLEDECLARATION_BORDERLEFTCOLOR
,
237 DISPID_A_BORDERLEFTCOLOR
,
241 L
"border-left-style",
242 DISPID_IHTMLCSSSTYLEDECLARATION_BORDERLEFTSTYLE
,
243 DISPID_A_BORDERLEFTSTYLE
,
244 0, border_style_values
247 L
"border-left-width",
248 DISPID_IHTMLCSSSTYLEDECLARATION_BORDERLEFTWIDTH
,
249 DISPID_A_BORDERLEFTWIDTH
,
254 DISPID_IHTMLCSSSTYLEDECLARATION_BORDERRIGHT
,
255 DISPID_A_BORDERRIGHT
,
259 L
"border-right-color",
260 DISPID_IHTMLCSSSTYLEDECLARATION_BORDERRIGHTCOLOR
,
261 DISPID_A_BORDERRIGHTCOLOR
,
265 L
"border-right-style",
266 DISPID_IHTMLCSSSTYLEDECLARATION_BORDERRIGHTSTYLE
,
267 DISPID_A_BORDERRIGHTSTYLE
,
268 0, border_style_values
271 L
"border-right-width",
272 DISPID_IHTMLCSSSTYLEDECLARATION_BORDERRIGHTWIDTH
,
273 DISPID_A_BORDERRIGHTWIDTH
,
278 DISPID_IHTMLCSSSTYLEDECLARATION_BORDERSPACING
,
279 DISPID_A_BORDERSPACING
283 DISPID_IHTMLCSSSTYLEDECLARATION_BORDERSTYLE
,
288 DISPID_IHTMLCSSSTYLEDECLARATION_BORDERTOP
,
294 DISPID_IHTMLCSSSTYLEDECLARATION_BORDERTOPCOLOR
,
295 DISPID_A_BORDERTOPCOLOR
,
300 DISPID_IHTMLCSSSTYLEDECLARATION_BORDERTOPSTYLE
,
301 DISPID_A_BORDERTOPSTYLE
,
302 0, border_style_values
306 DISPID_IHTMLCSSSTYLEDECLARATION_BORDERTOPWIDTH
,
307 DISPID_A_BORDERTOPWIDTH
311 DISPID_IHTMLCSSSTYLEDECLARATION_BORDERWIDTH
,
316 DISPID_IHTMLCSSSTYLEDECLARATION_BOTTOM
,
317 STDPROPID_XOBJ_BOTTOM
,
322 DISPID_IHTMLCSSSTYLEDECLARATION_BOXSIZING
,
327 DISPID_IHTMLCSSSTYLEDECLARATION_CLEAR
,
332 DISPID_IHTMLCSSSTYLEDECLARATION_CLIP
,
338 DISPID_IHTMLCSSSTYLEDECLARATION_COLOR
,
344 DISPID_IHTMLCSSSTYLEDECLARATION2_COLUMNCOUNT
,
350 DISPID_IHTMLCSSSTYLEDECLARATION2_COLUMNFILL
,
356 DISPID_IHTMLCSSSTYLEDECLARATION2_COLUMNGAP
,
362 DISPID_IHTMLCSSSTYLEDECLARATION2_COLUMNRULE
,
367 L
"column-rule-color",
368 DISPID_IHTMLCSSSTYLEDECLARATION2_COLUMNRULECOLOR
,
373 L
"column-rule-style",
374 DISPID_IHTMLCSSSTYLEDECLARATION2_COLUMNRULESTYLE
,
379 L
"column-rule-width",
380 DISPID_IHTMLCSSSTYLEDECLARATION2_COLUMNRULEWIDTH
,
386 DISPID_IHTMLCSSSTYLEDECLARATION2_COLUMNSPAN
,
392 DISPID_IHTMLCSSSTYLEDECLARATION2_COLUMNWIDTH
,
398 DISPID_IHTMLCSSSTYLEDECLARATION_CURSOR
,
403 DISPID_IHTMLCSSSTYLEDECLARATION_DIRECTION
,
408 DISPID_IHTMLCSSSTYLEDECLARATION_DISPLAY
,
413 DISPID_IHTMLCSSSTYLEDECLARATION_FILTER
,
418 DISPID_IHTMLCSSSTYLEDECLARATION_CSSFLOAT
,
423 DISPID_IHTMLCSSSTYLEDECLARATION_FONTFAMILY
,
428 DISPID_IHTMLCSSSTYLEDECLARATION_FONTSIZE
,
434 DISPID_IHTMLCSSSTYLEDECLARATION_FONTSTYLE
,
440 DISPID_IHTMLCSSSTYLEDECLARATION_FONTVARIANT
,
441 DISPID_A_FONTVARIANT
,
442 0, font_variant_values
446 DISPID_IHTMLCSSSTYLEDECLARATION_FONTWEIGHT
,
448 ATTR_STR_TO_INT
, font_weight_values
452 DISPID_IHTMLCSSSTYLEDECLARATION_HEIGHT
,
453 STDPROPID_XOBJ_HEIGHT
,
458 DISPID_IHTMLCSSSTYLEDECLARATION_LEFT
,
463 DISPID_IHTMLCSSSTYLEDECLARATION_LETTERSPACING
,
464 DISPID_A_LETTERSPACING
468 DISPID_IHTMLCSSSTYLEDECLARATION_LINEHEIGHT
,
473 DISPID_IHTMLCSSSTYLEDECLARATION_LISTSTYLE
,
477 L
"list-style-position",
478 DISPID_IHTMLCSSSTYLEDECLARATION_LISTSTYLEPOSITION
,
479 DISPID_A_LISTSTYLEPOSITION
483 DISPID_IHTMLCSSSTYLEDECLARATION_LISTSTYLETYPE
,
484 DISPID_A_LISTSTYLETYPE
488 DISPID_IHTMLCSSSTYLEDECLARATION_MARGIN
,
493 DISPID_IHTMLCSSSTYLEDECLARATION_MARGINBOTTOM
,
494 DISPID_A_MARGINBOTTOM
,
499 DISPID_IHTMLCSSSTYLEDECLARATION_MARGINLEFT
,
505 DISPID_IHTMLCSSSTYLEDECLARATION_MARGINRIGHT
,
506 DISPID_A_MARGINRIGHT
,
511 DISPID_IHTMLCSSSTYLEDECLARATION_MARGINTOP
,
517 DISPID_IHTMLCSSSTYLEDECLARATION_MAXHEIGHT
,
523 DISPID_IHTMLCSSSTYLEDECLARATION_MAXWIDTH
,
529 DISPID_IHTMLCSSSTYLEDECLARATION_MINHEIGHT
,
534 DISPID_IHTMLCSSSTYLEDECLARATION_MINWIDTH
,
540 DISPID_IHTMLCSSSTYLEDECLARATION_OPACITY
,
545 DISPID_IHTMLCSSSTYLEDECLARATION_OUTLINE
,
551 DISPID_IHTMLCSSSTYLEDECLARATION_OVERFLOW
,
557 DISPID_IHTMLCSSSTYLEDECLARATION_OVERFLOWX
,
562 DISPID_IHTMLCSSSTYLEDECLARATION_OVERFLOWY
,
567 DISPID_IHTMLCSSSTYLEDECLARATION_PADDING
,
572 DISPID_IHTMLCSSSTYLEDECLARATION_PADDINGBOTTOM
,
573 DISPID_A_PADDINGBOTTOM
,
578 DISPID_IHTMLCSSSTYLEDECLARATION_PADDINGLEFT
,
579 DISPID_A_PADDINGLEFT
,
584 DISPID_IHTMLCSSSTYLEDECLARATION_PADDINGRIGHT
,
585 DISPID_A_PADDINGRIGHT
,
590 DISPID_IHTMLCSSSTYLEDECLARATION_PADDINGTOP
,
596 DISPID_IHTMLCSSSTYLEDECLARATION_PAGEBREAKAFTER
,
597 DISPID_A_PAGEBREAKAFTER
600 L
"page-break-before",
601 DISPID_IHTMLCSSSTYLEDECLARATION_PAGEBREAKBEFORE
,
602 DISPID_A_PAGEBREAKBEFORE
606 DISPID_IHTMLCSSSTYLEDECLARATION2_PERSPECTIVE
,
611 DISPID_IHTMLCSSSTYLEDECLARATION_POSITION
,
616 DISPID_IHTMLCSSSTYLEDECLARATION_RIGHT
,
621 DISPID_IHTMLCSSSTYLEDECLARATION_TABLELAYOUT
,
626 DISPID_IHTMLCSSSTYLEDECLARATION_TEXTALIGN
,
627 STDPROPID_XOBJ_BLOCKALIGN
631 DISPID_IHTMLCSSSTYLEDECLARATION_TEXTDECORATION
,
632 DISPID_A_TEXTDECORATION
,
633 0, text_decoration_values
637 DISPID_IHTMLCSSSTYLEDECLARATION_TEXTINDENT
,
643 DISPID_IHTMLCSSSTYLEDECLARATION_TEXTTRANSFORM
,
644 DISPID_A_TEXTTRANSFORM
648 DISPID_IHTMLCSSSTYLEDECLARATION_TOP
,
653 DISPID_IHTMLCSSSTYLEDECLARATION2_TRANSFORM
,
659 DISPID_IHTMLCSSSTYLEDECLARATION2_TRANSITION
,
665 DISPID_IHTMLCSSSTYLEDECLARATION_VERTICALALIGN
,
666 DISPID_A_VERTICALALIGN
,
671 DISPID_IHTMLCSSSTYLEDECLARATION_VISIBILITY
,
676 DISPID_IHTMLCSSSTYLEDECLARATION_WHITESPACE
,
681 DISPID_IHTMLCSSSTYLEDECLARATION_WIDTH
,
682 STDPROPID_XOBJ_WIDTH
,
687 DISPID_IHTMLCSSSTYLEDECLARATION_WORDSPACING
,
692 DISPID_IHTMLCSSSTYLEDECLARATION_WORDWRAP
,
697 DISPID_IHTMLCSSSTYLEDECLARATION_ZINDEX
,
703 C_ASSERT(ARRAY_SIZE(style_tbl
) == STYLEID_MAX_VALUE
);
705 static const style_tbl_entry_t
*lookup_style_tbl(CSSStyle
*style
, const WCHAR
*name
)
707 int c
, i
, min
= 0, max
= ARRAY_SIZE(style_tbl
)-1;
712 c
= wcscmp(style_tbl
[i
].name
, name
);
714 if((style_tbl
[i
].flags
& ATTR_COMPAT_IE10
) && dispex_compat_mode(&style
->dispex
) < COMPAT_MODE_IE10
)
728 static void fix_px_value(nsAString
*nsstr
)
730 const WCHAR
*val
, *ptr
;
732 nsAString_GetData(nsstr
, &val
);
736 while(*ptr
&& iswspace(*ptr
))
741 while(*ptr
&& is_digit(*ptr
))
744 if(!*ptr
|| iswspace(*ptr
)) {
746 int len
= lstrlenW(val
)+1;
748 ret
= malloc((len
+ 2) * sizeof(WCHAR
));
749 memcpy(ret
, val
, (ptr
-val
)*sizeof(WCHAR
));
755 TRACE("fixed %s -> %s\n", debugstr_w(val
), debugstr_w(ret
));
757 nsAString_SetData(nsstr
, ret
);
762 while(*ptr
&& !iswspace(*ptr
))
767 static LPWSTR
fix_url_value(LPCWSTR val
)
771 static const WCHAR urlW
[] = {'u','r','l','('};
773 if(wcsncmp(val
, urlW
, ARRAY_SIZE(urlW
)) || !wcschr(val
, '\\'))
778 for(ptr
= ret
; *ptr
; ptr
++) {
786 static HRESULT
set_nsstyle_property(nsIDOMCSSStyleDeclaration
*nsstyle
, styleid_t sid
, const nsAString
*value
)
788 nsAString str_name
, str_empty
;
791 nsAString_InitDepend(&str_name
, style_tbl
[sid
].name
);
792 nsAString_InitDepend(&str_empty
, L
"");
793 nsres
= nsIDOMCSSStyleDeclaration_SetProperty(nsstyle
, &str_name
, value
, &str_empty
);
794 nsAString_Finish(&str_name
);
795 nsAString_Finish(&str_empty
);
797 WARN("SetProperty failed: %08lx\n", nsres
);
798 return map_nsresult(nsres
);
801 static HRESULT
var_to_styleval(CSSStyle
*style
, VARIANT
*v
, const style_tbl_entry_t
*entry
, nsAString
*nsstr
)
804 unsigned flags
= entry
&& dispex_compat_mode(&style
->dispex
) < COMPAT_MODE_IE9
807 hres
= variant_to_nsstr(v
, !!(flags
& ATTR_HEX_INT
), nsstr
);
808 if(SUCCEEDED(hres
) && (flags
& ATTR_FIX_PX
))
813 static inline HRESULT
set_style_property(CSSStyle
*style
, styleid_t sid
, const WCHAR
*value
)
820 if(value
&& *value
&& dispex_compat_mode(&style
->dispex
) < COMPAT_MODE_IE9
) {
821 flags
= style_tbl
[sid
].flags
;
823 if(style_tbl
[sid
].allowed_values
) {
825 for(iter
= style_tbl
[sid
].allowed_values
; *iter
; iter
++) {
826 if(!wcsicmp(*iter
, value
))
830 WARN("invalid value %s\n", debugstr_w(value
));
831 nsAString_InitDepend(&value_str
, L
"");
832 set_nsstyle_property(style
->nsstyle
, sid
, &value_str
);
833 nsAString_Finish(&value_str
);
838 if(flags
& ATTR_FIX_URL
)
839 val
= fix_url_value(value
);
842 nsAString_InitDepend(&value_str
, val
? val
: value
);
843 if(flags
& ATTR_FIX_PX
)
844 fix_px_value(&value_str
);
845 hres
= set_nsstyle_property(style
->nsstyle
, sid
, &value_str
);
846 nsAString_Finish(&value_str
);
851 static HRESULT
set_style_property_var(CSSStyle
*style
, styleid_t sid
, VARIANT
*value
)
856 hres
= var_to_styleval(style
, value
, &style_tbl
[sid
], &val
);
860 hres
= set_nsstyle_property(style
->nsstyle
, sid
, &val
);
861 nsAString_Finish(&val
);
865 static HRESULT
get_nsstyle_attr_nsval(nsIDOMCSSStyleDeclaration
*nsstyle
, styleid_t sid
, nsAString
*value
)
870 nsAString_InitDepend(&str_name
, style_tbl
[sid
].name
);
871 nsres
= nsIDOMCSSStyleDeclaration_GetPropertyValue(nsstyle
, &str_name
, value
);
872 nsAString_Finish(&str_name
);
874 WARN("GetPropertyValue failed: %08lx\n", nsres
);
875 return map_nsresult(nsres
);
878 static HRESULT
nsstyle_to_bstr(const WCHAR
*val
, DWORD flags
, BSTR
*p
)
884 *p
= (flags
& ATTR_NO_NULL
) ? SysAllocStringLen(NULL
, 0) : NULL
;
888 ret
= SysAllocString(val
);
890 return E_OUTOFMEMORY
;
892 len
= SysStringLen(ret
);
894 if(flags
& ATTR_REMOVE_COMMA
) {
898 for(ptr
= ret
; (ptr
= wcschr(ptr
, ',')); ptr
++)
904 new_ret
= SysAllocStringLen(NULL
, new_len
);
907 return E_OUTOFMEMORY
;
910 for(ptr2
= new_ret
, ptr
= ret
; *ptr
; ptr
++) {
924 static HRESULT
get_nsstyle_property(nsIDOMCSSStyleDeclaration
*nsstyle
, styleid_t sid
, compat_mode_t compat_mode
, BSTR
*p
)
927 const PRUnichar
*value
;
930 nsAString_Init(&str_value
, NULL
);
932 get_nsstyle_attr_nsval(nsstyle
, sid
, &str_value
);
934 nsAString_GetData(&str_value
, &value
);
935 hres
= nsstyle_to_bstr(value
, compat_mode
< COMPAT_MODE_IE9
? style_tbl
[sid
].flags
: 0, p
);
936 nsAString_Finish(&str_value
);
938 TRACE("%s -> %s\n", debugstr_w(style_tbl
[sid
].name
), debugstr_w(*p
));
942 static HRESULT
get_nsstyle_property_var(nsIDOMCSSStyleDeclaration
*nsstyle
, styleid_t sid
, compat_mode_t compat_mode
, VARIANT
*p
)
944 unsigned flags
= style_tbl
[sid
].flags
;
946 const PRUnichar
*value
;
950 nsAString_Init(&str_value
, NULL
);
952 get_nsstyle_attr_nsval(nsstyle
, sid
, &str_value
);
954 nsAString_GetData(&str_value
, &value
);
956 if((flags
& ATTR_STR_TO_INT
) && (*value
|| compat_mode
< COMPAT_MODE_IE9
)) {
957 const PRUnichar
*ptr
= value
;
966 while(is_digit(*ptr
))
967 i
= i
*10 + (*ptr
++ - '0');
971 V_I4(p
) = neg
? -i
: i
;
979 hres
= nsstyle_to_bstr(value
, compat_mode
< COMPAT_MODE_IE9
? flags
: 0, &str
);
980 if(SUCCEEDED(hres
)) {
986 nsAString_Finish(&str_value
);
988 TRACE("%s -> %s\n", debugstr_w(style_tbl
[sid
].name
), debugstr_variant(p
));
992 HRESULT
get_style_property(CSSStyle
*style
, styleid_t sid
, BSTR
*p
)
994 return get_nsstyle_property(style
->nsstyle
, sid
, dispex_compat_mode(&style
->dispex
), p
);
997 HRESULT
get_style_property_var(CSSStyle
*style
, styleid_t sid
, VARIANT
*v
)
999 return get_nsstyle_property_var(style
->nsstyle
, sid
, dispex_compat_mode(&style
->dispex
), v
);
1002 static HRESULT
check_style_attr_value(HTMLStyle
*This
, styleid_t sid
, LPCWSTR exval
, VARIANT_BOOL
*p
)
1004 nsAString str_value
;
1005 const PRUnichar
*value
;
1007 nsAString_Init(&str_value
, NULL
);
1009 get_nsstyle_attr_nsval(This
->css_style
.nsstyle
, sid
, &str_value
);
1011 nsAString_GetData(&str_value
, &value
);
1012 *p
= variant_bool(!wcscmp(value
, exval
));
1013 nsAString_Finish(&str_value
);
1015 TRACE("%s -> %x\n", debugstr_w(style_tbl
[sid
].name
), *p
);
1019 static inline HRESULT
set_style_pos(HTMLStyle
*This
, styleid_t sid
, float value
)
1023 value
= floor(value
);
1025 swprintf(szValue
, ARRAY_SIZE(szValue
), L
"%.0fpx", value
);
1027 return set_style_property(&This
->css_style
, sid
, szValue
);
1030 static HRESULT
set_style_pxattr(HTMLStyle
*style
, styleid_t sid
, LONG value
)
1032 WCHAR value_str
[16];
1034 swprintf(value_str
, ARRAY_SIZE(value_str
), L
"%dpx", value
);
1036 return set_style_property(&style
->css_style
, sid
, value_str
);
1039 static HRESULT
get_nsstyle_pos(HTMLStyle
*This
, styleid_t sid
, float *p
)
1041 nsAString str_value
;
1044 TRACE("%p %d %p\n", This
, sid
, p
);
1048 nsAString_Init(&str_value
, NULL
);
1050 hres
= get_nsstyle_attr_nsval(This
->css_style
.nsstyle
, sid
, &str_value
);
1054 const PRUnichar
*value
;
1056 nsAString_GetData(&str_value
, &value
);
1059 *p
= wcstol(value
, &ptr
, 10);
1061 if(*ptr
&& wcscmp(ptr
, L
"px"))
1063 nsAString_Finish(&str_value
);
1064 FIXME("only px values are currently supported\n");
1070 TRACE("ret %f\n", *p
);
1072 nsAString_Finish(&str_value
);
1076 static HRESULT
get_nsstyle_pixel_val(HTMLStyle
*This
, styleid_t sid
, LONG
*p
)
1078 nsAString str_value
;
1084 nsAString_Init(&str_value
, NULL
);
1086 hres
= get_nsstyle_attr_nsval(This
->css_style
.nsstyle
, sid
, &str_value
);
1089 const PRUnichar
*value
;
1091 nsAString_GetData(&str_value
, &value
);
1093 *p
= wcstol(value
, &ptr
, 10);
1096 /* Skip all digits. We have tests showing that we should not round the value. */
1097 while(is_digit(*++ptr
));
1101 if(!ptr
|| (*ptr
&& wcscmp(ptr
, L
"px")))
1105 nsAString_Finish(&str_value
);
1109 static BOOL
is_valid_border_style(BSTR v
)
1111 return !v
|| wcsicmp(v
, L
"none") == 0 || wcsicmp(v
, L
"dotted") == 0 ||
1112 wcsicmp(v
, L
"dashed") == 0 || wcsicmp(v
, L
"solid") == 0 ||
1113 wcsicmp(v
, L
"double") == 0 || wcsicmp(v
, L
"groove") == 0 ||
1114 wcsicmp(v
, L
"ridge") == 0 || wcsicmp(v
, L
"inset") == 0 ||
1115 wcsicmp(v
, L
"outset") == 0;
1118 static inline HTMLStyle
*impl_from_IHTMLStyle(IHTMLStyle
*iface
)
1120 return CONTAINING_RECORD(iface
, HTMLStyle
, IHTMLStyle_iface
);
1123 static HRESULT WINAPI
HTMLStyle_QueryInterface(IHTMLStyle
*iface
, REFIID riid
, void **ppv
)
1125 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1126 return IHTMLCSSStyleDeclaration_QueryInterface(&This
->css_style
.IHTMLCSSStyleDeclaration_iface
, riid
, ppv
);
1129 static ULONG WINAPI
HTMLStyle_AddRef(IHTMLStyle
*iface
)
1131 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1132 return IHTMLCSSStyleDeclaration_AddRef(&This
->css_style
.IHTMLCSSStyleDeclaration_iface
);
1135 static ULONG WINAPI
HTMLStyle_Release(IHTMLStyle
*iface
)
1137 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1138 return IHTMLCSSStyleDeclaration_Release(&This
->css_style
.IHTMLCSSStyleDeclaration_iface
);
1141 static HRESULT WINAPI
HTMLStyle_GetTypeInfoCount(IHTMLStyle
*iface
, UINT
*pctinfo
)
1143 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1144 return IDispatchEx_GetTypeInfoCount(&This
->css_style
.dispex
.IDispatchEx_iface
, pctinfo
);
1147 static HRESULT WINAPI
HTMLStyle_GetTypeInfo(IHTMLStyle
*iface
, UINT iTInfo
,
1148 LCID lcid
, ITypeInfo
**ppTInfo
)
1150 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1151 return IDispatchEx_GetTypeInfo(&This
->css_style
.dispex
.IDispatchEx_iface
, iTInfo
, lcid
, ppTInfo
);
1154 static HRESULT WINAPI
HTMLStyle_GetIDsOfNames(IHTMLStyle
*iface
, REFIID riid
,
1155 LPOLESTR
*rgszNames
, UINT cNames
,
1156 LCID lcid
, DISPID
*rgDispId
)
1158 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1159 return IDispatchEx_GetIDsOfNames(&This
->css_style
.dispex
.IDispatchEx_iface
, riid
, rgszNames
, cNames
,
1163 static HRESULT WINAPI
HTMLStyle_Invoke(IHTMLStyle
*iface
, DISPID dispIdMember
,
1164 REFIID riid
, LCID lcid
, WORD wFlags
, DISPPARAMS
*pDispParams
,
1165 VARIANT
*pVarResult
, EXCEPINFO
*pExcepInfo
, UINT
*puArgErr
)
1167 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1168 return IDispatchEx_Invoke(&This
->css_style
.dispex
.IDispatchEx_iface
, dispIdMember
, riid
, lcid
,
1169 wFlags
, pDispParams
, pVarResult
, pExcepInfo
, puArgErr
);
1172 static HRESULT WINAPI
HTMLStyle_put_fontFamily(IHTMLStyle
*iface
, BSTR v
)
1174 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1176 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
1178 return set_style_property(&This
->css_style
, STYLEID_FONT_FAMILY
, v
);
1181 static HRESULT WINAPI
HTMLStyle_get_fontFamily(IHTMLStyle
*iface
, BSTR
*p
)
1183 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1185 TRACE("(%p)->(%p)\n", This
, p
);
1187 return get_style_property(&This
->css_style
, STYLEID_FONT_FAMILY
, p
);
1190 static HRESULT WINAPI
HTMLStyle_put_fontStyle(IHTMLStyle
*iface
, BSTR v
)
1192 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1194 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
1196 return set_style_property(&This
->css_style
, STYLEID_FONT_STYLE
, v
);
1199 static HRESULT WINAPI
HTMLStyle_get_fontStyle(IHTMLStyle
*iface
, BSTR
*p
)
1201 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1203 TRACE("(%p)->(%p)\n", This
, p
);
1205 return get_style_property(&This
->css_style
, STYLEID_FONT_STYLE
, p
);
1208 static HRESULT WINAPI
HTMLStyle_put_fontVariant(IHTMLStyle
*iface
, BSTR v
)
1210 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1212 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
1214 return set_style_property(&This
->css_style
, STYLEID_FONT_VARIANT
, v
);
1217 static HRESULT WINAPI
HTMLStyle_get_fontVariant(IHTMLStyle
*iface
, BSTR
*p
)
1219 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1220 TRACE("(%p)->(%p)\n", This
, p
);
1223 return E_INVALIDARG
;
1225 return get_style_property(&This
->css_style
, STYLEID_FONT_VARIANT
, p
);
1228 static HRESULT WINAPI
HTMLStyle_put_fontWeight(IHTMLStyle
*iface
, BSTR v
)
1230 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1232 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
1234 return set_style_property(&This
->css_style
, STYLEID_FONT_WEIGHT
, v
);
1237 static HRESULT WINAPI
HTMLStyle_get_fontWeight(IHTMLStyle
*iface
, BSTR
*p
)
1239 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1241 TRACE("(%p)->(%p)\n", This
, p
);
1243 return get_style_property(&This
->css_style
, STYLEID_FONT_WEIGHT
, p
);
1246 static HRESULT WINAPI
HTMLStyle_put_fontSize(IHTMLStyle
*iface
, VARIANT v
)
1248 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1250 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
1252 return set_style_property_var(&This
->css_style
, STYLEID_FONT_SIZE
, &v
);
1255 static HRESULT WINAPI
HTMLStyle_get_fontSize(IHTMLStyle
*iface
, VARIANT
*p
)
1257 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1259 TRACE("(%p)->(%p)\n", This
, p
);
1261 return get_style_property_var(&This
->css_style
, STYLEID_FONT_SIZE
, p
);
1264 static HRESULT WINAPI
HTMLStyle_put_font(IHTMLStyle
*iface
, BSTR v
)
1266 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1267 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
1271 static HRESULT WINAPI
HTMLStyle_get_font(IHTMLStyle
*iface
, BSTR
*p
)
1273 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1274 FIXME("(%p)->(%p)\n", This
, p
);
1278 static HRESULT WINAPI
HTMLStyle_put_color(IHTMLStyle
*iface
, VARIANT v
)
1280 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1282 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
1284 return set_style_property_var(&This
->css_style
, STYLEID_COLOR
, &v
);
1287 static HRESULT WINAPI
HTMLStyle_get_color(IHTMLStyle
*iface
, VARIANT
*p
)
1289 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1291 TRACE("(%p)->(%p)\n", This
, p
);
1293 return get_style_property_var(&This
->css_style
, STYLEID_COLOR
, p
);
1296 static HRESULT WINAPI
HTMLStyle_put_background(IHTMLStyle
*iface
, BSTR v
)
1298 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1300 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
1302 return set_style_property(&This
->css_style
, STYLEID_BACKGROUND
, v
);
1305 static HRESULT WINAPI
HTMLStyle_get_background(IHTMLStyle
*iface
, BSTR
*p
)
1307 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1309 TRACE("(%p)->(%p)\n", This
, p
);
1311 return get_style_property(&This
->css_style
, STYLEID_BACKGROUND
, p
);
1314 static HRESULT WINAPI
HTMLStyle_put_backgroundColor(IHTMLStyle
*iface
, VARIANT v
)
1316 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1318 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
1320 return set_style_property_var(&This
->css_style
, STYLEID_BACKGROUND_COLOR
, &v
);
1323 static HRESULT WINAPI
HTMLStyle_get_backgroundColor(IHTMLStyle
*iface
, VARIANT
*p
)
1325 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1327 TRACE("(%p)->(%p)\n", This
, p
);
1329 return get_style_property_var(&This
->css_style
, STYLEID_BACKGROUND_COLOR
, p
);
1332 static HRESULT WINAPI
HTMLStyle_put_backgroundImage(IHTMLStyle
*iface
, BSTR v
)
1334 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1336 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
1338 return set_style_property(&This
->css_style
, STYLEID_BACKGROUND_IMAGE
, v
);
1341 static HRESULT WINAPI
HTMLStyle_get_backgroundImage(IHTMLStyle
*iface
, BSTR
*p
)
1343 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1345 TRACE("(%p)->(%p)\n", This
, p
);
1347 return get_style_property(&This
->css_style
, STYLEID_BACKGROUND_IMAGE
, p
);
1350 static HRESULT WINAPI
HTMLStyle_put_backgroundRepeat(IHTMLStyle
*iface
, BSTR v
)
1352 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1354 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
1356 return set_style_property(&This
->css_style
, STYLEID_BACKGROUND_REPEAT
, v
);
1359 static HRESULT WINAPI
HTMLStyle_get_backgroundRepeat(IHTMLStyle
*iface
, BSTR
*p
)
1361 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1363 TRACE("(%p)->(%p)\n", This
, p
);
1365 return get_style_property(&This
->css_style
, STYLEID_BACKGROUND_REPEAT
, p
);
1368 static HRESULT WINAPI
HTMLStyle_put_backgroundAttachment(IHTMLStyle
*iface
, BSTR v
)
1370 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1372 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
1374 return set_style_property(&This
->css_style
, STYLEID_BACKGROUND_ATTACHMENT
, v
);
1377 static HRESULT WINAPI
HTMLStyle_get_backgroundAttachment(IHTMLStyle
*iface
, BSTR
*p
)
1379 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1381 TRACE("(%p)->(%p)\n", This
, p
);
1383 return get_style_property(&This
->css_style
, STYLEID_BACKGROUND_ATTACHMENT
, p
);
1386 static HRESULT WINAPI
HTMLStyle_put_backgroundPosition(IHTMLStyle
*iface
, BSTR v
)
1388 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1390 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
1392 return set_style_property(&This
->css_style
, STYLEID_BACKGROUND_POSITION
, v
);
1395 static HRESULT WINAPI
HTMLStyle_get_backgroundPosition(IHTMLStyle
*iface
, BSTR
*p
)
1397 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1399 TRACE("(%p)->(%p)\n", This
, p
);
1401 return get_style_property(&This
->css_style
, STYLEID_BACKGROUND_POSITION
, p
);
1404 static HRESULT WINAPI
HTMLStyle_put_backgroundPositionX(IHTMLStyle
*iface
, VARIANT v
)
1406 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1407 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
1408 return IHTMLCSSStyleDeclaration_put_backgroundPositionX(&This
->css_style
.IHTMLCSSStyleDeclaration_iface
, v
);
1411 static HRESULT WINAPI
HTMLStyle_get_backgroundPositionX(IHTMLStyle
*iface
, VARIANT
*p
)
1413 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1414 TRACE("(%p)->(%p)\n", This
, p
);
1415 return IHTMLCSSStyleDeclaration_get_backgroundPositionX(&This
->css_style
.IHTMLCSSStyleDeclaration_iface
, p
);
1418 static HRESULT WINAPI
HTMLStyle_put_backgroundPositionY(IHTMLStyle
*iface
, VARIANT v
)
1420 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1421 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
1422 return IHTMLCSSStyleDeclaration_put_backgroundPositionY(&This
->css_style
.IHTMLCSSStyleDeclaration_iface
, v
);
1425 static HRESULT WINAPI
HTMLStyle_get_backgroundPositionY(IHTMLStyle
*iface
, VARIANT
*p
)
1427 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1428 TRACE("(%p)->(%p)\n", This
, p
);
1429 return IHTMLCSSStyleDeclaration_get_backgroundPositionY(&This
->css_style
.IHTMLCSSStyleDeclaration_iface
, p
);
1432 static HRESULT WINAPI
HTMLStyle_put_wordSpacing(IHTMLStyle
*iface
, VARIANT v
)
1434 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1436 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
1438 return set_style_property_var(&This
->css_style
, STYLEID_WORD_SPACING
, &v
);
1441 static HRESULT WINAPI
HTMLStyle_get_wordSpacing(IHTMLStyle
*iface
, VARIANT
*p
)
1443 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1444 TRACE("(%p)->(%p)\n", This
, p
);
1445 return get_style_property_var(&This
->css_style
, STYLEID_WORD_SPACING
, p
);
1448 static HRESULT WINAPI
HTMLStyle_put_letterSpacing(IHTMLStyle
*iface
, VARIANT v
)
1450 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1452 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
1454 return set_style_property_var(&This
->css_style
, STYLEID_LETTER_SPACING
, &v
);
1457 static HRESULT WINAPI
HTMLStyle_get_letterSpacing(IHTMLStyle
*iface
, VARIANT
*p
)
1459 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1460 TRACE("(%p)->(%p)\n", This
, p
);
1461 return get_style_property_var(&This
->css_style
, STYLEID_LETTER_SPACING
, p
);
1464 static HRESULT WINAPI
HTMLStyle_put_textDecoration(IHTMLStyle
*iface
, BSTR v
)
1466 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1468 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
1470 return set_style_property(&This
->css_style
, STYLEID_TEXT_DECORATION
, v
);
1473 static HRESULT WINAPI
HTMLStyle_get_textDecoration(IHTMLStyle
*iface
, BSTR
*p
)
1475 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1477 TRACE("(%p)->(%p)\n", This
, p
);
1479 return get_style_property(&This
->css_style
, STYLEID_TEXT_DECORATION
, p
);
1482 static HRESULT WINAPI
HTMLStyle_put_textDecorationNone(IHTMLStyle
*iface
, VARIANT_BOOL v
)
1484 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1486 TRACE("(%p)->(%x)\n", This
, v
);
1488 return set_style_property(&This
->css_style
, STYLEID_TEXT_DECORATION
, v
? L
"none" : L
"");
1491 static HRESULT WINAPI
HTMLStyle_get_textDecorationNone(IHTMLStyle
*iface
, VARIANT_BOOL
*p
)
1493 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1495 TRACE("(%p)->(%p)\n", This
, p
);
1497 return check_style_attr_value(This
, STYLEID_TEXT_DECORATION
, L
"none", p
);
1500 static HRESULT WINAPI
HTMLStyle_put_textDecorationUnderline(IHTMLStyle
*iface
, VARIANT_BOOL v
)
1502 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1504 TRACE("(%p)->(%x)\n", This
, v
);
1506 return set_style_property(&This
->css_style
, STYLEID_TEXT_DECORATION
, v
? L
"underline" : L
"");
1509 static HRESULT WINAPI
HTMLStyle_get_textDecorationUnderline(IHTMLStyle
*iface
, VARIANT_BOOL
*p
)
1511 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1513 TRACE("(%p)->(%p)\n", This
, p
);
1515 return check_style_attr_value(This
, STYLEID_TEXT_DECORATION
, L
"underline", p
);
1518 static HRESULT WINAPI
HTMLStyle_put_textDecorationOverline(IHTMLStyle
*iface
, VARIANT_BOOL v
)
1520 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1522 TRACE("(%p)->(%x)\n", This
, v
);
1524 return set_style_property(&This
->css_style
, STYLEID_TEXT_DECORATION
, v
? L
"overline" : L
"");
1527 static HRESULT WINAPI
HTMLStyle_get_textDecorationOverline(IHTMLStyle
*iface
, VARIANT_BOOL
*p
)
1529 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1531 TRACE("(%p)->(%p)\n", This
, p
);
1533 return check_style_attr_value(This
, STYLEID_TEXT_DECORATION
, L
"overline", p
);
1536 static HRESULT WINAPI
HTMLStyle_put_textDecorationLineThrough(IHTMLStyle
*iface
, VARIANT_BOOL v
)
1538 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1540 TRACE("(%p)->(%x)\n", This
, v
);
1542 return set_style_property(&This
->css_style
, STYLEID_TEXT_DECORATION
, v
? L
"line-through" : L
"");
1545 static HRESULT WINAPI
HTMLStyle_get_textDecorationLineThrough(IHTMLStyle
*iface
, VARIANT_BOOL
*p
)
1547 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1549 TRACE("(%p)->(%p)\n", This
, p
);
1551 return check_style_attr_value(This
, STYLEID_TEXT_DECORATION
, L
"line-through", p
);
1554 static HRESULT WINAPI
HTMLStyle_put_textDecorationBlink(IHTMLStyle
*iface
, VARIANT_BOOL v
)
1556 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1558 TRACE("(%p)->(%x)\n", This
, v
);
1560 return set_style_property(&This
->css_style
, STYLEID_TEXT_DECORATION
, v
? L
"blink" : L
"");
1563 static HRESULT WINAPI
HTMLStyle_get_textDecorationBlink(IHTMLStyle
*iface
, VARIANT_BOOL
*p
)
1565 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1567 TRACE("(%p)->(%p)\n", This
, p
);
1569 return check_style_attr_value(This
, STYLEID_TEXT_DECORATION
, L
"blink", p
);
1572 static HRESULT WINAPI
HTMLStyle_put_verticalAlign(IHTMLStyle
*iface
, VARIANT v
)
1574 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1576 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
1578 return set_style_property_var(&This
->css_style
, STYLEID_VERTICAL_ALIGN
, &v
);
1581 static HRESULT WINAPI
HTMLStyle_get_verticalAlign(IHTMLStyle
*iface
, VARIANT
*p
)
1583 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1585 TRACE("(%p)->(%p)\n", This
, p
);
1587 return get_style_property_var(&This
->css_style
, STYLEID_VERTICAL_ALIGN
, p
);
1590 static HRESULT WINAPI
HTMLStyle_put_textTransform(IHTMLStyle
*iface
, BSTR v
)
1592 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1594 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
1596 return set_style_property(&This
->css_style
, STYLEID_TEXT_TRANSFORM
, v
);
1599 static HRESULT WINAPI
HTMLStyle_get_textTransform(IHTMLStyle
*iface
, BSTR
*p
)
1601 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1603 TRACE("(%p)->(%p)\n", This
, p
);
1605 return get_style_property(&This
->css_style
, STYLEID_TEXT_TRANSFORM
, p
);
1608 static HRESULT WINAPI
HTMLStyle_put_textAlign(IHTMLStyle
*iface
, BSTR v
)
1610 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1612 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
1614 return set_style_property(&This
->css_style
, STYLEID_TEXT_ALIGN
, v
);
1617 static HRESULT WINAPI
HTMLStyle_get_textAlign(IHTMLStyle
*iface
, BSTR
*p
)
1619 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1621 TRACE("(%p)->(%p)\n", This
, p
);
1623 return get_style_property(&This
->css_style
, STYLEID_TEXT_ALIGN
, p
);
1626 static HRESULT WINAPI
HTMLStyle_put_textIndent(IHTMLStyle
*iface
, VARIANT v
)
1628 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1630 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
1632 return set_style_property_var(&This
->css_style
, STYLEID_TEXT_INDENT
, &v
);
1635 static HRESULT WINAPI
HTMLStyle_get_textIndent(IHTMLStyle
*iface
, VARIANT
*p
)
1637 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1639 TRACE("(%p)->(%p)\n", This
, p
);
1641 return get_style_property_var(&This
->css_style
, STYLEID_TEXT_INDENT
, p
);
1644 static HRESULT WINAPI
HTMLStyle_put_lineHeight(IHTMLStyle
*iface
, VARIANT v
)
1646 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1648 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
1650 return set_style_property_var(&This
->css_style
, STYLEID_LINE_HEIGHT
, &v
);
1653 static HRESULT WINAPI
HTMLStyle_get_lineHeight(IHTMLStyle
*iface
, VARIANT
*p
)
1655 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1657 TRACE("(%p)->(%p)\n", This
, p
);
1659 return get_style_property_var(&This
->css_style
, STYLEID_LINE_HEIGHT
, p
);
1662 static HRESULT WINAPI
HTMLStyle_put_marginTop(IHTMLStyle
*iface
, VARIANT v
)
1664 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1666 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
1668 return set_style_property_var(&This
->css_style
, STYLEID_MARGIN_TOP
, &v
);
1671 static HRESULT WINAPI
HTMLStyle_get_marginTop(IHTMLStyle
*iface
, VARIANT
*p
)
1673 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1675 TRACE("(%p)->(%p)\n", This
, p
);
1677 return get_style_property_var(&This
->css_style
, STYLEID_MARGIN_TOP
, p
);
1680 static HRESULT WINAPI
HTMLStyle_put_marginRight(IHTMLStyle
*iface
, VARIANT v
)
1682 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1684 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
1686 return set_style_property_var(&This
->css_style
, STYLEID_MARGIN_RIGHT
, &v
);
1689 static HRESULT WINAPI
HTMLStyle_get_marginRight(IHTMLStyle
*iface
, VARIANT
*p
)
1691 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1692 TRACE("(%p)->(%p)\n", This
, p
);
1693 return get_style_property_var(&This
->css_style
, STYLEID_MARGIN_RIGHT
, p
);
1696 static HRESULT WINAPI
HTMLStyle_put_marginBottom(IHTMLStyle
*iface
, VARIANT v
)
1698 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1700 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
1702 return set_style_property_var(&This
->css_style
, STYLEID_MARGIN_BOTTOM
, &v
);
1705 static HRESULT WINAPI
HTMLStyle_get_marginBottom(IHTMLStyle
*iface
, VARIANT
*p
)
1707 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1709 TRACE("(%p)->(%p)\n", This
, p
);
1711 return get_style_property_var(&This
->css_style
, STYLEID_MARGIN_BOTTOM
, p
);
1714 static HRESULT WINAPI
HTMLStyle_put_marginLeft(IHTMLStyle
*iface
, VARIANT v
)
1716 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1718 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
1720 return set_style_property_var(&This
->css_style
, STYLEID_MARGIN_LEFT
, &v
);
1723 static HRESULT WINAPI
HTMLStyle_put_margin(IHTMLStyle
*iface
, BSTR v
)
1725 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1727 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
1729 return set_style_property(&This
->css_style
, STYLEID_MARGIN
, v
);
1732 static HRESULT WINAPI
HTMLStyle_get_margin(IHTMLStyle
*iface
, BSTR
*p
)
1734 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1736 TRACE("(%p)->(%p)\n", This
, p
);
1738 return get_style_property(&This
->css_style
, STYLEID_MARGIN
, p
);
1741 static HRESULT WINAPI
HTMLStyle_get_marginLeft(IHTMLStyle
*iface
, VARIANT
*p
)
1743 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1744 TRACE("(%p)->(%p)\n", This
, p
);
1745 return get_style_property_var(&This
->css_style
, STYLEID_MARGIN_LEFT
, p
);
1748 static HRESULT WINAPI
HTMLStyle_put_paddingTop(IHTMLStyle
*iface
, VARIANT v
)
1750 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1752 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
1754 return set_style_property_var(&This
->css_style
, STYLEID_PADDING_TOP
, &v
);
1757 static HRESULT WINAPI
HTMLStyle_get_paddingTop(IHTMLStyle
*iface
, VARIANT
*p
)
1759 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1761 TRACE("(%p)->(%p)\n", This
, p
);
1763 return get_style_property_var(&This
->css_style
, STYLEID_PADDING_TOP
, p
);
1766 static HRESULT WINAPI
HTMLStyle_put_paddingRight(IHTMLStyle
*iface
, VARIANT v
)
1768 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1770 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
1772 return set_style_property_var(&This
->css_style
, STYLEID_PADDING_RIGHT
, &v
);
1775 static HRESULT WINAPI
HTMLStyle_get_paddingRight(IHTMLStyle
*iface
, VARIANT
*p
)
1777 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1779 TRACE("(%p)->(%p)\n", This
, p
);
1781 return get_style_property_var(&This
->css_style
, STYLEID_PADDING_RIGHT
, p
);
1784 static HRESULT WINAPI
HTMLStyle_put_paddingBottom(IHTMLStyle
*iface
, VARIANT v
)
1786 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1788 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
1790 return set_style_property_var(&This
->css_style
, STYLEID_PADDING_BOTTOM
, &v
);
1793 static HRESULT WINAPI
HTMLStyle_get_paddingBottom(IHTMLStyle
*iface
, VARIANT
*p
)
1795 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1797 TRACE("(%p)->(%p)\n", This
, p
);
1799 return get_style_property_var(&This
->css_style
, STYLEID_PADDING_BOTTOM
, p
);
1802 static HRESULT WINAPI
HTMLStyle_put_paddingLeft(IHTMLStyle
*iface
, VARIANT v
)
1804 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1806 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
1808 return set_style_property_var(&This
->css_style
, STYLEID_PADDING_LEFT
, &v
);
1811 static HRESULT WINAPI
HTMLStyle_get_paddingLeft(IHTMLStyle
*iface
, VARIANT
*p
)
1813 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1815 TRACE("(%p)->(%p)\n", This
, p
);
1817 return get_style_property_var(&This
->css_style
, STYLEID_PADDING_LEFT
, p
);
1820 static HRESULT WINAPI
HTMLStyle_put_padding(IHTMLStyle
*iface
, BSTR v
)
1822 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1824 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
1826 return set_style_property(&This
->css_style
, STYLEID_PADDING
, v
);
1829 static HRESULT WINAPI
HTMLStyle_get_padding(IHTMLStyle
*iface
, BSTR
*p
)
1831 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1833 TRACE("(%p)->(%p)\n", This
, p
);
1835 return get_style_property(&This
->css_style
, STYLEID_PADDING
, p
);
1838 static HRESULT WINAPI
HTMLStyle_put_border(IHTMLStyle
*iface
, BSTR v
)
1840 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1842 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
1844 return set_style_property(&This
->css_style
, STYLEID_BORDER
, v
);
1847 static HRESULT WINAPI
HTMLStyle_get_border(IHTMLStyle
*iface
, BSTR
*p
)
1849 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1851 TRACE("(%p)->(%p)\n", This
, p
);
1853 return get_style_property(&This
->css_style
, STYLEID_BORDER
, p
);
1856 static HRESULT WINAPI
HTMLStyle_put_borderTop(IHTMLStyle
*iface
, BSTR v
)
1858 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1859 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
1860 return set_style_property(&This
->css_style
, STYLEID_BORDER_TOP
, v
);
1863 static HRESULT WINAPI
HTMLStyle_get_borderTop(IHTMLStyle
*iface
, BSTR
*p
)
1865 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1866 TRACE("(%p)->(%p)\n", This
, p
);
1867 return get_style_property(&This
->css_style
, STYLEID_BORDER_TOP
, p
);
1870 static HRESULT WINAPI
HTMLStyle_put_borderRight(IHTMLStyle
*iface
, BSTR v
)
1872 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1873 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
1874 return set_style_property(&This
->css_style
, STYLEID_BORDER_RIGHT
, v
);
1877 static HRESULT WINAPI
HTMLStyle_get_borderRight(IHTMLStyle
*iface
, BSTR
*p
)
1879 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1880 TRACE("(%p)->(%p)\n", This
, p
);
1881 return get_style_property(&This
->css_style
, STYLEID_BORDER_RIGHT
, p
);
1884 static HRESULT WINAPI
HTMLStyle_put_borderBottom(IHTMLStyle
*iface
, BSTR v
)
1886 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1887 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
1888 return set_style_property(&This
->css_style
, STYLEID_BORDER_BOTTOM
, v
);
1891 static HRESULT WINAPI
HTMLStyle_get_borderBottom(IHTMLStyle
*iface
, BSTR
*p
)
1893 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1894 TRACE("(%p)->(%p)\n", This
, p
);
1895 return get_style_property(&This
->css_style
, STYLEID_BORDER_BOTTOM
, p
);
1898 static HRESULT WINAPI
HTMLStyle_put_borderLeft(IHTMLStyle
*iface
, BSTR v
)
1900 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1902 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
1904 return set_style_property(&This
->css_style
, STYLEID_BORDER_LEFT
, v
);
1907 static HRESULT WINAPI
HTMLStyle_get_borderLeft(IHTMLStyle
*iface
, BSTR
*p
)
1909 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1911 TRACE("(%p)->(%p)\n", This
, p
);
1913 return get_style_property(&This
->css_style
, STYLEID_BORDER_LEFT
, p
);
1916 static HRESULT WINAPI
HTMLStyle_put_borderColor(IHTMLStyle
*iface
, BSTR v
)
1918 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1920 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
1922 return set_style_property(&This
->css_style
, STYLEID_BORDER_COLOR
, v
);
1925 static HRESULT WINAPI
HTMLStyle_get_borderColor(IHTMLStyle
*iface
, BSTR
*p
)
1927 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1929 TRACE("(%p)->(%p)\n", This
, p
);
1931 return get_style_property(&This
->css_style
, STYLEID_BORDER_COLOR
, p
);
1934 static HRESULT WINAPI
HTMLStyle_put_borderTopColor(IHTMLStyle
*iface
, VARIANT v
)
1936 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1938 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
1940 return set_style_property_var(&This
->css_style
, STYLEID_BORDER_TOP_COLOR
, &v
);
1943 static HRESULT WINAPI
HTMLStyle_get_borderTopColor(IHTMLStyle
*iface
, VARIANT
*p
)
1945 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1947 TRACE("(%p)->(%p)\n", This
, p
);
1949 return get_style_property_var(&This
->css_style
, STYLEID_BORDER_TOP_COLOR
, p
);
1952 static HRESULT WINAPI
HTMLStyle_put_borderRightColor(IHTMLStyle
*iface
, VARIANT v
)
1954 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1956 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
1958 return set_style_property_var(&This
->css_style
, STYLEID_BORDER_RIGHT_COLOR
, &v
);
1961 static HRESULT WINAPI
HTMLStyle_get_borderRightColor(IHTMLStyle
*iface
, VARIANT
*p
)
1963 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1965 TRACE("(%p)->(%p)\n", This
, p
);
1967 return get_style_property_var(&This
->css_style
, STYLEID_BORDER_RIGHT_COLOR
, p
);
1970 static HRESULT WINAPI
HTMLStyle_put_borderBottomColor(IHTMLStyle
*iface
, VARIANT v
)
1972 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1974 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
1976 return set_style_property_var(&This
->css_style
, STYLEID_BORDER_BOTTOM_COLOR
, &v
);
1979 static HRESULT WINAPI
HTMLStyle_get_borderBottomColor(IHTMLStyle
*iface
, VARIANT
*p
)
1981 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1983 TRACE("(%p)->(%p)\n", This
, p
);
1985 return get_style_property_var(&This
->css_style
, STYLEID_BORDER_BOTTOM_COLOR
, p
);
1988 static HRESULT WINAPI
HTMLStyle_put_borderLeftColor(IHTMLStyle
*iface
, VARIANT v
)
1990 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1992 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
1994 return set_style_property_var(&This
->css_style
, STYLEID_BORDER_LEFT_COLOR
, &v
);
1997 static HRESULT WINAPI
HTMLStyle_get_borderLeftColor(IHTMLStyle
*iface
, VARIANT
*p
)
1999 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2001 TRACE("(%p)->(%p)\n", This
, p
);
2003 return get_style_property_var(&This
->css_style
, STYLEID_BORDER_LEFT_COLOR
, p
);
2006 static HRESULT WINAPI
HTMLStyle_put_borderWidth(IHTMLStyle
*iface
, BSTR v
)
2008 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2009 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
2010 return set_style_property(&This
->css_style
, STYLEID_BORDER_WIDTH
, v
);
2013 static HRESULT WINAPI
HTMLStyle_get_borderWidth(IHTMLStyle
*iface
, BSTR
*p
)
2015 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2016 TRACE("(%p)->(%p)\n", This
, p
);
2017 return get_style_property(&This
->css_style
, STYLEID_BORDER_WIDTH
, p
);
2020 static HRESULT WINAPI
HTMLStyle_put_borderTopWidth(IHTMLStyle
*iface
, VARIANT v
)
2022 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2024 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
2026 return set_style_property_var(&This
->css_style
, STYLEID_BORDER_TOP_WIDTH
, &v
);
2029 static HRESULT WINAPI
HTMLStyle_get_borderTopWidth(IHTMLStyle
*iface
, VARIANT
*p
)
2031 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2033 TRACE("(%p)->(%p)\n", This
, p
);
2035 return get_style_property_var(&This
->css_style
, STYLEID_BORDER_TOP_WIDTH
, p
);
2038 static HRESULT WINAPI
HTMLStyle_put_borderRightWidth(IHTMLStyle
*iface
, VARIANT v
)
2040 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2042 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
2044 return set_style_property_var(&This
->css_style
, STYLEID_BORDER_RIGHT_WIDTH
, &v
);
2047 static HRESULT WINAPI
HTMLStyle_get_borderRightWidth(IHTMLStyle
*iface
, VARIANT
*p
)
2049 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2051 TRACE("(%p)->(%p)\n", This
, p
);
2053 return get_style_property_var(&This
->css_style
, STYLEID_BORDER_RIGHT_WIDTH
, p
);
2056 static HRESULT WINAPI
HTMLStyle_put_borderBottomWidth(IHTMLStyle
*iface
, VARIANT v
)
2058 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2060 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
2062 return set_style_property_var(&This
->css_style
, STYLEID_BORDER_BOTTOM_WIDTH
, &v
);
2065 static HRESULT WINAPI
HTMLStyle_get_borderBottomWidth(IHTMLStyle
*iface
, VARIANT
*p
)
2067 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2068 TRACE("(%p)->(%p)\n", This
, p
);
2069 return get_style_property_var(&This
->css_style
, STYLEID_BORDER_BOTTOM_WIDTH
, p
);
2072 static HRESULT WINAPI
HTMLStyle_put_borderLeftWidth(IHTMLStyle
*iface
, VARIANT v
)
2074 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2076 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
2078 return set_style_property_var(&This
->css_style
, STYLEID_BORDER_LEFT_WIDTH
, &v
);
2081 static HRESULT WINAPI
HTMLStyle_get_borderLeftWidth(IHTMLStyle
*iface
, VARIANT
*p
)
2083 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2084 TRACE("(%p)->(%p)\n", This
, p
);
2085 return get_style_property_var(&This
->css_style
, STYLEID_BORDER_LEFT_WIDTH
, p
);
2088 static HRESULT WINAPI
HTMLStyle_put_borderStyle(IHTMLStyle
*iface
, BSTR v
)
2090 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2091 HRESULT hres
= S_OK
;
2096 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
2098 while(v
[i
] && hres
== S_OK
)
2100 if(v
[i
] == (WCHAR
)' ')
2102 pstyle
= SysAllocStringLen(&v
[last
], (i
-last
));
2103 if( !(is_valid_border_style(pstyle
) || wcsicmp(L
"window-inset", pstyle
) == 0))
2105 TRACE("1. Invalid style (%s)\n", debugstr_w(pstyle
));
2106 hres
= E_INVALIDARG
;
2108 SysFreeString(pstyle
);
2116 pstyle
= SysAllocStringLen(&v
[last
], i
-last
);
2117 if( !(is_valid_border_style(pstyle
) || wcsicmp(L
"window-inset", pstyle
) == 0))
2119 TRACE("2. Invalid style (%s)\n", debugstr_w(pstyle
));
2120 hres
= E_INVALIDARG
;
2122 SysFreeString(pstyle
);
2126 hres
= set_style_property(&This
->css_style
, STYLEID_BORDER_STYLE
, v
);
2131 static HRESULT WINAPI
HTMLStyle_get_borderStyle(IHTMLStyle
*iface
, BSTR
*p
)
2133 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2134 TRACE("(%p)->(%p)\n", This
, p
);
2135 return get_style_property(&This
->css_style
, STYLEID_BORDER_STYLE
, p
);
2138 static HRESULT WINAPI
HTMLStyle_put_borderTopStyle(IHTMLStyle
*iface
, BSTR v
)
2140 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2141 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
2142 return set_style_property(&This
->css_style
, STYLEID_BORDER_TOP_STYLE
, v
);
2145 static HRESULT WINAPI
HTMLStyle_get_borderTopStyle(IHTMLStyle
*iface
, BSTR
*p
)
2147 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2148 TRACE("(%p)->(%p)\n", This
, p
);
2149 return get_style_property(&This
->css_style
, STYLEID_BORDER_TOP_STYLE
, p
);
2152 static HRESULT WINAPI
HTMLStyle_put_borderRightStyle(IHTMLStyle
*iface
, BSTR v
)
2154 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2155 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
2156 return set_style_property(&This
->css_style
, STYLEID_BORDER_RIGHT_STYLE
, v
);
2159 static HRESULT WINAPI
HTMLStyle_get_borderRightStyle(IHTMLStyle
*iface
, BSTR
*p
)
2161 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2162 TRACE("(%p)->(%p)\n", This
, p
);
2163 return get_style_property(&This
->css_style
, STYLEID_BORDER_RIGHT_STYLE
, p
);
2166 static HRESULT WINAPI
HTMLStyle_put_borderBottomStyle(IHTMLStyle
*iface
, BSTR v
)
2168 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2169 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
2170 return set_style_property(&This
->css_style
, STYLEID_BORDER_BOTTOM_STYLE
, v
);
2173 static HRESULT WINAPI
HTMLStyle_get_borderBottomStyle(IHTMLStyle
*iface
, BSTR
*p
)
2175 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2176 TRACE("(%p)->(%p)\n", This
, p
);
2177 return get_style_property(&This
->css_style
, STYLEID_BORDER_BOTTOM_STYLE
, p
);
2180 static HRESULT WINAPI
HTMLStyle_put_borderLeftStyle(IHTMLStyle
*iface
, BSTR v
)
2182 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2183 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
2184 return set_style_property(&This
->css_style
, STYLEID_BORDER_LEFT_STYLE
, v
);
2187 static HRESULT WINAPI
HTMLStyle_get_borderLeftStyle(IHTMLStyle
*iface
, BSTR
*p
)
2189 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2190 TRACE("(%p)->(%p)\n", This
, p
);
2191 return get_style_property(&This
->css_style
, STYLEID_BORDER_LEFT_STYLE
, p
);
2194 static HRESULT WINAPI
HTMLStyle_put_width(IHTMLStyle
*iface
, VARIANT v
)
2196 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2198 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
2200 return set_style_property_var(&This
->css_style
, STYLEID_WIDTH
, &v
);
2203 static HRESULT WINAPI
HTMLStyle_get_width(IHTMLStyle
*iface
, VARIANT
*p
)
2205 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2207 TRACE("(%p)->(%p)\n", This
, p
);
2209 return get_style_property_var(&This
->css_style
, STYLEID_WIDTH
, p
);
2212 static HRESULT WINAPI
HTMLStyle_put_height(IHTMLStyle
*iface
, VARIANT v
)
2214 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2216 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
2218 return set_style_property_var(&This
->css_style
, STYLEID_HEIGHT
, &v
);
2221 static HRESULT WINAPI
HTMLStyle_get_height(IHTMLStyle
*iface
, VARIANT
*p
)
2223 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2225 TRACE("(%p)->(%p)\n", This
, p
);
2227 return get_style_property_var(&This
->css_style
, STYLEID_HEIGHT
, p
);
2230 static HRESULT WINAPI
HTMLStyle_put_styleFloat(IHTMLStyle
*iface
, BSTR v
)
2232 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2234 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
2236 return set_style_property(&This
->css_style
, STYLEID_FLOAT
, v
);
2239 static HRESULT WINAPI
HTMLStyle_get_styleFloat(IHTMLStyle
*iface
, BSTR
*p
)
2241 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2243 TRACE("(%p)->(%p)\n", This
, p
);
2245 return get_style_property(&This
->css_style
, STYLEID_FLOAT
, p
);
2248 static HRESULT WINAPI
HTMLStyle_put_clear(IHTMLStyle
*iface
, BSTR v
)
2250 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2252 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
2254 return set_style_property(&This
->css_style
, STYLEID_CLEAR
, v
);
2257 static HRESULT WINAPI
HTMLStyle_get_clear(IHTMLStyle
*iface
, BSTR
*p
)
2259 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2261 TRACE("(%p)->(%p)\n", This
, p
);
2263 return get_style_property(&This
->css_style
, STYLEID_CLEAR
, p
);
2266 static HRESULT WINAPI
HTMLStyle_put_display(IHTMLStyle
*iface
, BSTR v
)
2268 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2270 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
2272 return set_style_property(&This
->css_style
, STYLEID_DISPLAY
, v
);
2275 static HRESULT WINAPI
HTMLStyle_get_display(IHTMLStyle
*iface
, BSTR
*p
)
2277 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2279 TRACE("(%p)->(%p)\n", This
, p
);
2281 return get_style_property(&This
->css_style
, STYLEID_DISPLAY
, p
);
2284 static HRESULT WINAPI
HTMLStyle_put_visibility(IHTMLStyle
*iface
, BSTR v
)
2286 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2288 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
2290 return set_style_property(&This
->css_style
, STYLEID_VISIBILITY
, v
);
2293 static HRESULT WINAPI
HTMLStyle_get_visibility(IHTMLStyle
*iface
, BSTR
*p
)
2295 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2297 TRACE("(%p)->(%p)\n", This
, p
);
2299 return get_style_property(&This
->css_style
, STYLEID_VISIBILITY
, p
);
2302 static HRESULT WINAPI
HTMLStyle_put_listStyleType(IHTMLStyle
*iface
, BSTR v
)
2304 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2306 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
2308 return set_style_property(&This
->css_style
, STYLEID_LISTSTYLETYPE
, v
);
2311 static HRESULT WINAPI
HTMLStyle_get_listStyleType(IHTMLStyle
*iface
, BSTR
*p
)
2313 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2315 TRACE("(%p)->(%p)\n", This
, p
);
2317 return get_style_property(&This
->css_style
, STYLEID_LISTSTYLETYPE
, p
);
2320 static HRESULT WINAPI
HTMLStyle_put_listStylePosition(IHTMLStyle
*iface
, BSTR v
)
2322 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2324 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
2326 return set_style_property(&This
->css_style
, STYLEID_LISTSTYLEPOSITION
, v
);
2329 static HRESULT WINAPI
HTMLStyle_get_listStylePosition(IHTMLStyle
*iface
, BSTR
*p
)
2331 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2333 TRACE("(%p)->(%p)\n", This
, p
);
2335 return get_style_property(&This
->css_style
, STYLEID_LISTSTYLEPOSITION
, p
);
2338 static HRESULT WINAPI
HTMLStyle_put_listStyleImage(IHTMLStyle
*iface
, BSTR v
)
2340 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2341 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
2345 static HRESULT WINAPI
HTMLStyle_get_listStyleImage(IHTMLStyle
*iface
, BSTR
*p
)
2347 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2348 FIXME("(%p)->(%p)\n", This
, p
);
2352 static HRESULT WINAPI
HTMLStyle_put_listStyle(IHTMLStyle
*iface
, BSTR v
)
2354 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2356 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
2358 return set_style_property(&This
->css_style
, STYLEID_LIST_STYLE
, v
);
2361 static HRESULT WINAPI
HTMLStyle_get_listStyle(IHTMLStyle
*iface
, BSTR
*p
)
2363 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2365 TRACE("(%p)->(%p)\n", This
, p
);
2367 return get_style_property(&This
->css_style
, STYLEID_LIST_STYLE
, p
);
2370 static HRESULT WINAPI
HTMLStyle_put_whiteSpace(IHTMLStyle
*iface
, BSTR v
)
2372 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2374 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
2376 return set_style_property(&This
->css_style
, STYLEID_WHITE_SPACE
, v
);
2379 static HRESULT WINAPI
HTMLStyle_get_whiteSpace(IHTMLStyle
*iface
, BSTR
*p
)
2381 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2383 TRACE("(%p)->(%p)\n", This
, p
);
2385 return get_style_property(&This
->css_style
, STYLEID_WHITE_SPACE
, p
);
2388 static HRESULT WINAPI
HTMLStyle_put_top(IHTMLStyle
*iface
, VARIANT v
)
2390 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2392 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
2394 return set_style_property_var(&This
->css_style
, STYLEID_TOP
, &v
);
2397 static HRESULT WINAPI
HTMLStyle_get_top(IHTMLStyle
*iface
, VARIANT
*p
)
2399 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2401 TRACE("(%p)->(%p)\n", This
, p
);
2403 return get_style_property_var(&This
->css_style
, STYLEID_TOP
, p
);
2406 static HRESULT WINAPI
HTMLStyle_put_left(IHTMLStyle
*iface
, VARIANT v
)
2408 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2410 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
2412 return set_style_property_var(&This
->css_style
, STYLEID_LEFT
, &v
);
2415 static HRESULT WINAPI
HTMLStyle_get_left(IHTMLStyle
*iface
, VARIANT
*p
)
2417 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2419 TRACE("(%p)->(%p)\n", This
, p
);
2421 return get_style_property_var(&This
->css_style
, STYLEID_LEFT
, p
);
2424 static HRESULT WINAPI
HTMLStyle_get_position(IHTMLStyle
*iface
, BSTR
*p
)
2426 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2427 TRACE("(%p)->(%p)\n", This
, p
);
2428 return IHTMLStyle2_get_position(&This
->IHTMLStyle2_iface
, p
);
2431 static HRESULT WINAPI
HTMLStyle_put_zIndex(IHTMLStyle
*iface
, VARIANT v
)
2433 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2435 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
2437 return set_style_property_var(&This
->css_style
, STYLEID_Z_INDEX
, &v
);
2440 static HRESULT WINAPI
HTMLStyle_get_zIndex(IHTMLStyle
*iface
, VARIANT
*p
)
2442 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2444 TRACE("(%p)->(%p)\n", This
, p
);
2446 return get_style_property_var(&This
->css_style
, STYLEID_Z_INDEX
, p
);
2449 static HRESULT WINAPI
HTMLStyle_put_overflow(IHTMLStyle
*iface
, BSTR v
)
2451 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2453 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
2455 return set_style_property(&This
->css_style
, STYLEID_OVERFLOW
, v
);
2459 static HRESULT WINAPI
HTMLStyle_get_overflow(IHTMLStyle
*iface
, BSTR
*p
)
2461 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2463 TRACE("(%p)->(%p)\n", This
, p
);
2466 return E_INVALIDARG
;
2468 return get_style_property(&This
->css_style
, STYLEID_OVERFLOW
, p
);
2471 static HRESULT WINAPI
HTMLStyle_put_pageBreakBefore(IHTMLStyle
*iface
, BSTR v
)
2473 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2475 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
2477 return set_style_property(&This
->css_style
, STYLEID_PAGE_BREAK_BEFORE
, v
);
2480 static HRESULT WINAPI
HTMLStyle_get_pageBreakBefore(IHTMLStyle
*iface
, BSTR
*p
)
2482 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2484 TRACE("(%p)->(%p)\n", This
, p
);
2486 return get_style_property(&This
->css_style
, STYLEID_PAGE_BREAK_BEFORE
, p
);
2489 static HRESULT WINAPI
HTMLStyle_put_pageBreakAfter(IHTMLStyle
*iface
, BSTR v
)
2491 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2493 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
2495 return set_style_property(&This
->css_style
, STYLEID_PAGE_BREAK_AFTER
, v
);
2498 static HRESULT WINAPI
HTMLStyle_get_pageBreakAfter(IHTMLStyle
*iface
, BSTR
*p
)
2500 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2502 TRACE("(%p)->(%p)\n", This
, p
);
2504 return get_style_property(&This
->css_style
, STYLEID_PAGE_BREAK_AFTER
, p
);
2507 static HRESULT WINAPI
HTMLStyle_put_cssText(IHTMLStyle
*iface
, BSTR v
)
2509 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2511 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
2513 return IHTMLCSSStyleDeclaration_put_cssText(&This
->css_style
.IHTMLCSSStyleDeclaration_iface
, v
);
2516 static HRESULT WINAPI
HTMLStyle_get_cssText(IHTMLStyle
*iface
, BSTR
*p
)
2518 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2520 TRACE("(%p)->(%p)\n", This
, p
);
2522 return IHTMLCSSStyleDeclaration_get_cssText(&This
->css_style
.IHTMLCSSStyleDeclaration_iface
, p
);
2525 static HRESULT WINAPI
HTMLStyle_put_pixelTop(IHTMLStyle
*iface
, LONG v
)
2527 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2529 TRACE("(%p)->(%ld)\n", This
, v
);
2531 return set_style_pxattr(This
, STYLEID_TOP
, v
);
2534 static HRESULT WINAPI
HTMLStyle_get_pixelTop(IHTMLStyle
*iface
, LONG
*p
)
2536 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2538 TRACE("(%p)->(%p)\n", This
, p
);
2540 return get_nsstyle_pixel_val(This
, STYLEID_TOP
, p
);
2543 static HRESULT WINAPI
HTMLStyle_put_pixelLeft(IHTMLStyle
*iface
, LONG v
)
2545 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2547 TRACE("(%p)->(%ld)\n", This
, v
);
2549 return set_style_pxattr(This
, STYLEID_LEFT
, v
);
2552 static HRESULT WINAPI
HTMLStyle_get_pixelLeft(IHTMLStyle
*iface
, LONG
*p
)
2554 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2556 TRACE("(%p)->(%p)\n", This
, p
);
2558 return get_nsstyle_pixel_val(This
, STYLEID_LEFT
, p
);
2561 static HRESULT WINAPI
HTMLStyle_put_pixelWidth(IHTMLStyle
*iface
, LONG v
)
2563 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2565 TRACE("(%p)->()\n", This
);
2567 return set_style_pxattr(This
, STYLEID_WIDTH
, v
);
2570 static HRESULT WINAPI
HTMLStyle_get_pixelWidth(IHTMLStyle
*iface
, LONG
*p
)
2572 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2574 TRACE("(%p)->(%p)\n", This
, p
);
2576 return get_nsstyle_pixel_val(This
, STYLEID_WIDTH
, p
);
2579 static HRESULT WINAPI
HTMLStyle_put_pixelHeight(IHTMLStyle
*iface
, LONG v
)
2581 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2583 TRACE("(%p)->(%ld)\n", This
, v
);
2585 return set_style_pxattr(This
, STYLEID_HEIGHT
, v
);
2588 static HRESULT WINAPI
HTMLStyle_get_pixelHeight(IHTMLStyle
*iface
, LONG
*p
)
2590 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2592 TRACE("(%p)->(%p)\n", This
, p
);
2594 return get_nsstyle_pixel_val(This
, STYLEID_HEIGHT
, p
);
2597 static HRESULT WINAPI
HTMLStyle_put_posTop(IHTMLStyle
*iface
, float v
)
2599 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2601 TRACE("(%p)->(%f)\n", This
, v
);
2603 return set_style_pos(This
, STYLEID_TOP
, v
);
2606 static HRESULT WINAPI
HTMLStyle_get_posTop(IHTMLStyle
*iface
, float *p
)
2608 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2610 TRACE("(%p)->(%p)\n", This
, p
);
2615 return get_nsstyle_pos(This
, STYLEID_TOP
, p
);
2618 static HRESULT WINAPI
HTMLStyle_put_posLeft(IHTMLStyle
*iface
, float v
)
2620 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2622 TRACE("(%p)->(%f)\n", This
, v
);
2624 return set_style_pos(This
, STYLEID_LEFT
, v
);
2627 static HRESULT WINAPI
HTMLStyle_get_posLeft(IHTMLStyle
*iface
, float *p
)
2629 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2631 TRACE("(%p)->(%p)\n", This
, p
);
2636 return get_nsstyle_pos(This
, STYLEID_LEFT
, p
);
2639 static HRESULT WINAPI
HTMLStyle_put_posWidth(IHTMLStyle
*iface
, float v
)
2641 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2643 TRACE("(%p)->(%f)\n", This
, v
);
2645 return set_style_pos(This
, STYLEID_WIDTH
, v
);
2648 static HRESULT WINAPI
HTMLStyle_get_posWidth(IHTMLStyle
*iface
, float *p
)
2650 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2652 TRACE("(%p)->(%p)\n", This
, p
);
2657 if(get_nsstyle_pos(This
, STYLEID_WIDTH
, p
) != S_OK
)
2663 static HRESULT WINAPI
HTMLStyle_put_posHeight(IHTMLStyle
*iface
, float v
)
2665 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2667 TRACE("(%p)->(%f)\n", This
, v
);
2669 return set_style_pos(This
, STYLEID_HEIGHT
, v
);
2672 static HRESULT WINAPI
HTMLStyle_get_posHeight(IHTMLStyle
*iface
, float *p
)
2674 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2676 TRACE("(%p)->(%p)\n", This
, p
);
2681 if(get_nsstyle_pos(This
, STYLEID_HEIGHT
, p
) != S_OK
)
2687 static HRESULT WINAPI
HTMLStyle_put_cursor(IHTMLStyle
*iface
, BSTR v
)
2689 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2691 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
2693 return set_style_property(&This
->css_style
, STYLEID_CURSOR
, v
);
2696 static HRESULT WINAPI
HTMLStyle_get_cursor(IHTMLStyle
*iface
, BSTR
*p
)
2698 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2700 TRACE("(%p)->(%p)\n", This
, p
);
2702 return get_style_property(&This
->css_style
, STYLEID_CURSOR
, p
);
2705 static HRESULT WINAPI
HTMLStyle_put_clip(IHTMLStyle
*iface
, BSTR v
)
2707 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2709 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
2711 return set_style_property(&This
->css_style
, STYLEID_CLIP
, v
);
2714 static HRESULT WINAPI
HTMLStyle_get_clip(IHTMLStyle
*iface
, BSTR
*p
)
2716 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2718 TRACE("(%p)->(%p)\n", This
, p
);
2720 return get_style_property(&This
->css_style
, STYLEID_CLIP
, p
);
2723 static void set_opacity(HTMLStyle
*This
, const WCHAR
*val
)
2725 nsAString name_str
, val_str
, empty_str
;
2728 TRACE("%s\n", debugstr_w(val
));
2730 nsAString_InitDepend(&name_str
, L
"opacity");
2731 nsAString_InitDepend(&val_str
, val
);
2732 nsAString_InitDepend(&empty_str
, L
"");
2734 nsres
= nsIDOMCSSStyleDeclaration_SetProperty(This
->css_style
.nsstyle
, &name_str
, &val_str
, &empty_str
);
2735 if(NS_FAILED(nsres
))
2736 ERR("SetProperty failed: %08lx\n", nsres
);
2738 nsAString_Finish(&name_str
);
2739 nsAString_Finish(&val_str
);
2740 nsAString_Finish(&empty_str
);
2743 static void update_filter(HTMLStyle
*This
)
2745 const WCHAR
*ptr
, *ptr2
;
2747 static const WCHAR alphaW
[] = {'a','l','p','h','a'};
2749 if(dispex_compat_mode(&This
->css_style
.dispex
) >= COMPAT_MODE_IE10
)
2752 ptr
= This
->elem
->filter
;
2753 TRACE("%s\n", debugstr_w(ptr
));
2755 set_opacity(This
, L
"");
2760 while(iswspace(*ptr
))
2766 while(iswalnum(*ptr
))
2769 WARN("unexpected char '%c'\n", *ptr
);
2773 WARN("expected '('\n");
2777 if(ptr2
+ ARRAY_SIZE(alphaW
) == ptr
&& !memcmp(ptr2
, alphaW
, sizeof(alphaW
))) {
2778 static const WCHAR opacityW
[] = {'o','p','a','c','i','t','y','='};
2782 while(iswspace(*ptr
))
2786 while(*ptr
&& *ptr
!= ',' && *ptr
!= ')')
2789 WARN("unexpected end of string\n");
2793 if(ptr
-ptr2
> ARRAY_SIZE(opacityW
) && !memcmp(ptr2
, opacityW
, sizeof(opacityW
))) {
2794 float fval
= 0.0f
, e
= 0.1f
;
2797 ptr2
+= ARRAY_SIZE(opacityW
);
2799 while(is_digit(*ptr2
))
2800 fval
= fval
*10.0f
+ (float)(*ptr2
++ - '0');
2803 while(is_digit(*++ptr2
)) {
2804 fval
+= e
* (float)(*ptr2
++ - '0');
2809 swprintf(buf
, ARRAY_SIZE(buf
), L
"%f", fval
* 0.01f
);
2810 set_opacity(This
, buf
);
2812 FIXME("unknown param %s\n", debugstr_wn(ptr2
, ptr
-ptr2
));
2817 }while(*ptr
!= ')');
2819 FIXME("unknown filter %s\n", debugstr_wn(ptr2
, ptr
-ptr2
));
2820 ptr
= wcschr(ptr
, ')');
2828 static HRESULT WINAPI
HTMLStyle_put_filter(IHTMLStyle
*iface
, BSTR v
)
2830 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2831 WCHAR
*new_filter
= NULL
;
2833 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
2836 FIXME("Element already destroyed\n");
2837 return E_UNEXPECTED
;
2841 new_filter
= wcsdup(v
);
2843 return E_OUTOFMEMORY
;
2846 free(This
->elem
->filter
);
2847 This
->elem
->filter
= new_filter
;
2849 update_filter(This
);
2853 static HRESULT WINAPI
HTMLStyle_get_filter(IHTMLStyle
*iface
, BSTR
*p
)
2855 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2857 TRACE("(%p)->(%p)\n", This
, p
);
2860 FIXME("Element already destroyed\n");
2861 return E_UNEXPECTED
;
2864 if(This
->elem
->filter
) {
2865 *p
= SysAllocString(This
->elem
->filter
);
2867 return E_OUTOFMEMORY
;
2875 static HRESULT WINAPI
HTMLStyle_setAttribute(IHTMLStyle
*iface
, BSTR strAttributeName
,
2876 VARIANT AttributeValue
, LONG lFlags
)
2878 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2882 TRACE("(%p)->(%s %s %08lx)\n", This
, debugstr_w(strAttributeName
),
2883 debugstr_variant(&AttributeValue
), lFlags
);
2885 if(!strAttributeName
)
2886 return E_INVALIDARG
;
2889 FIXME("Parameter lFlags ignored\n");
2891 hres
= HTMLStyle_GetIDsOfNames(iface
, &IID_NULL
, &strAttributeName
, 1,
2892 LOCALE_USER_DEFAULT
, &dispid
);
2896 DISPID dispidNamed
= DISPID_PROPERTYPUT
;
2900 params
.rgvarg
= &AttributeValue
;
2901 params
.cNamedArgs
= 1;
2902 params
.rgdispidNamedArgs
= &dispidNamed
;
2904 hres
= HTMLStyle_Invoke(iface
, dispid
, &IID_NULL
, LOCALE_SYSTEM_DEFAULT
,
2905 DISPATCH_PROPERTYPUT
, ¶ms
, &ret
, NULL
, NULL
);
2909 FIXME("Custom attributes not supported.\n");
2912 TRACE("ret: %08lx\n", hres
);
2917 static HRESULT WINAPI
HTMLStyle_getAttribute(IHTMLStyle
*iface
, BSTR strAttributeName
,
2918 LONG lFlags
, VARIANT
*AttributeValue
)
2920 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2924 TRACE("(%p)->(%s v%p %08lx)\n", This
, debugstr_w(strAttributeName
),
2925 AttributeValue
, lFlags
);
2927 if(!AttributeValue
|| !strAttributeName
)
2928 return E_INVALIDARG
;
2931 FIXME("Parameter lFlags ignored\n");
2933 hres
= HTMLStyle_GetIDsOfNames(iface
, &IID_NULL
, &strAttributeName
, 1,
2934 LOCALE_USER_DEFAULT
, &dispid
);
2937 DISPPARAMS params
= {NULL
, NULL
, 0, 0 };
2939 hres
= HTMLStyle_Invoke(iface
, dispid
, &IID_NULL
, LOCALE_SYSTEM_DEFAULT
,
2940 DISPATCH_PROPERTYGET
, ¶ms
, AttributeValue
, NULL
, NULL
);
2944 FIXME("Custom attributes not supported.\n");
2950 static HRESULT WINAPI
HTMLStyle_removeAttribute(IHTMLStyle
*iface
, BSTR strAttributeName
,
2951 LONG lFlags
, VARIANT_BOOL
*pfSuccess
)
2953 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2954 const style_tbl_entry_t
*style_entry
;
2955 nsAString name_str
, ret_str
;
2959 TRACE("(%p)->(%s %08lx %p)\n", This
, debugstr_w(strAttributeName
), lFlags
, pfSuccess
);
2961 style_entry
= lookup_style_tbl(&This
->css_style
, strAttributeName
);
2963 compat_mode_t compat_mode
= dispex_compat_mode(&This
->css_style
.dispex
);
2967 hres
= IDispatchEx_GetDispID(&This
->css_style
.dispex
.IDispatchEx_iface
, strAttributeName
,
2968 (lFlags
&1) ? fdexNameCaseSensitive
: fdexNameCaseInsensitive
, &dispid
);
2970 *pfSuccess
= VARIANT_FALSE
;
2974 for(i
=0; i
< ARRAY_SIZE(style_tbl
); i
++) {
2975 if(dispid
== (compat_mode
>= COMPAT_MODE_IE9
2976 ? style_tbl
[i
].dispid
: style_tbl
[i
].compat_dispid
))
2980 if(i
== ARRAY_SIZE(style_tbl
))
2981 return remove_attribute(&This
->css_style
.dispex
, dispid
, pfSuccess
);
2982 style_entry
= style_tbl
+i
;
2985 /* filter property is a special case */
2986 if(style_entry
->compat_dispid
== DISPID_IHTMLSTYLE_FILTER
) {
2988 return E_UNEXPECTED
;
2989 *pfSuccess
= variant_bool(This
->elem
->filter
&& *This
->elem
->filter
);
2990 free(This
->elem
->filter
);
2991 This
->elem
->filter
= NULL
;
2992 update_filter(This
);
2996 nsAString_InitDepend(&name_str
, style_entry
->name
);
2997 nsAString_Init(&ret_str
, NULL
);
2998 nsres
= nsIDOMCSSStyleDeclaration_RemoveProperty(This
->css_style
.nsstyle
, &name_str
, &ret_str
);
2999 if(NS_SUCCEEDED(nsres
)) {
3000 const PRUnichar
*ret
;
3001 nsAString_GetData(&ret_str
, &ret
);
3002 *pfSuccess
= variant_bool(*ret
);
3004 WARN("RemoveProperty failed: %08lx\n", nsres
);
3006 nsAString_Finish(&name_str
);
3007 nsAString_Finish(&ret_str
);
3008 return map_nsresult(nsres
);
3011 static HRESULT WINAPI
HTMLStyle_toString(IHTMLStyle
*iface
, BSTR
*String
)
3013 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
3015 TRACE("(%p)->(%p)\n", This
, String
);
3017 return dispex_to_string(&This
->css_style
.dispex
, String
);
3020 static const IHTMLStyleVtbl HTMLStyleVtbl
= {
3021 HTMLStyle_QueryInterface
,
3024 HTMLStyle_GetTypeInfoCount
,
3025 HTMLStyle_GetTypeInfo
,
3026 HTMLStyle_GetIDsOfNames
,
3028 HTMLStyle_put_fontFamily
,
3029 HTMLStyle_get_fontFamily
,
3030 HTMLStyle_put_fontStyle
,
3031 HTMLStyle_get_fontStyle
,
3032 HTMLStyle_put_fontVariant
,
3033 HTMLStyle_get_fontVariant
,
3034 HTMLStyle_put_fontWeight
,
3035 HTMLStyle_get_fontWeight
,
3036 HTMLStyle_put_fontSize
,
3037 HTMLStyle_get_fontSize
,
3040 HTMLStyle_put_color
,
3041 HTMLStyle_get_color
,
3042 HTMLStyle_put_background
,
3043 HTMLStyle_get_background
,
3044 HTMLStyle_put_backgroundColor
,
3045 HTMLStyle_get_backgroundColor
,
3046 HTMLStyle_put_backgroundImage
,
3047 HTMLStyle_get_backgroundImage
,
3048 HTMLStyle_put_backgroundRepeat
,
3049 HTMLStyle_get_backgroundRepeat
,
3050 HTMLStyle_put_backgroundAttachment
,
3051 HTMLStyle_get_backgroundAttachment
,
3052 HTMLStyle_put_backgroundPosition
,
3053 HTMLStyle_get_backgroundPosition
,
3054 HTMLStyle_put_backgroundPositionX
,
3055 HTMLStyle_get_backgroundPositionX
,
3056 HTMLStyle_put_backgroundPositionY
,
3057 HTMLStyle_get_backgroundPositionY
,
3058 HTMLStyle_put_wordSpacing
,
3059 HTMLStyle_get_wordSpacing
,
3060 HTMLStyle_put_letterSpacing
,
3061 HTMLStyle_get_letterSpacing
,
3062 HTMLStyle_put_textDecoration
,
3063 HTMLStyle_get_textDecoration
,
3064 HTMLStyle_put_textDecorationNone
,
3065 HTMLStyle_get_textDecorationNone
,
3066 HTMLStyle_put_textDecorationUnderline
,
3067 HTMLStyle_get_textDecorationUnderline
,
3068 HTMLStyle_put_textDecorationOverline
,
3069 HTMLStyle_get_textDecorationOverline
,
3070 HTMLStyle_put_textDecorationLineThrough
,
3071 HTMLStyle_get_textDecorationLineThrough
,
3072 HTMLStyle_put_textDecorationBlink
,
3073 HTMLStyle_get_textDecorationBlink
,
3074 HTMLStyle_put_verticalAlign
,
3075 HTMLStyle_get_verticalAlign
,
3076 HTMLStyle_put_textTransform
,
3077 HTMLStyle_get_textTransform
,
3078 HTMLStyle_put_textAlign
,
3079 HTMLStyle_get_textAlign
,
3080 HTMLStyle_put_textIndent
,
3081 HTMLStyle_get_textIndent
,
3082 HTMLStyle_put_lineHeight
,
3083 HTMLStyle_get_lineHeight
,
3084 HTMLStyle_put_marginTop
,
3085 HTMLStyle_get_marginTop
,
3086 HTMLStyle_put_marginRight
,
3087 HTMLStyle_get_marginRight
,
3088 HTMLStyle_put_marginBottom
,
3089 HTMLStyle_get_marginBottom
,
3090 HTMLStyle_put_marginLeft
,
3091 HTMLStyle_get_marginLeft
,
3092 HTMLStyle_put_margin
,
3093 HTMLStyle_get_margin
,
3094 HTMLStyle_put_paddingTop
,
3095 HTMLStyle_get_paddingTop
,
3096 HTMLStyle_put_paddingRight
,
3097 HTMLStyle_get_paddingRight
,
3098 HTMLStyle_put_paddingBottom
,
3099 HTMLStyle_get_paddingBottom
,
3100 HTMLStyle_put_paddingLeft
,
3101 HTMLStyle_get_paddingLeft
,
3102 HTMLStyle_put_padding
,
3103 HTMLStyle_get_padding
,
3104 HTMLStyle_put_border
,
3105 HTMLStyle_get_border
,
3106 HTMLStyle_put_borderTop
,
3107 HTMLStyle_get_borderTop
,
3108 HTMLStyle_put_borderRight
,
3109 HTMLStyle_get_borderRight
,
3110 HTMLStyle_put_borderBottom
,
3111 HTMLStyle_get_borderBottom
,
3112 HTMLStyle_put_borderLeft
,
3113 HTMLStyle_get_borderLeft
,
3114 HTMLStyle_put_borderColor
,
3115 HTMLStyle_get_borderColor
,
3116 HTMLStyle_put_borderTopColor
,
3117 HTMLStyle_get_borderTopColor
,
3118 HTMLStyle_put_borderRightColor
,
3119 HTMLStyle_get_borderRightColor
,
3120 HTMLStyle_put_borderBottomColor
,
3121 HTMLStyle_get_borderBottomColor
,
3122 HTMLStyle_put_borderLeftColor
,
3123 HTMLStyle_get_borderLeftColor
,
3124 HTMLStyle_put_borderWidth
,
3125 HTMLStyle_get_borderWidth
,
3126 HTMLStyle_put_borderTopWidth
,
3127 HTMLStyle_get_borderTopWidth
,
3128 HTMLStyle_put_borderRightWidth
,
3129 HTMLStyle_get_borderRightWidth
,
3130 HTMLStyle_put_borderBottomWidth
,
3131 HTMLStyle_get_borderBottomWidth
,
3132 HTMLStyle_put_borderLeftWidth
,
3133 HTMLStyle_get_borderLeftWidth
,
3134 HTMLStyle_put_borderStyle
,
3135 HTMLStyle_get_borderStyle
,
3136 HTMLStyle_put_borderTopStyle
,
3137 HTMLStyle_get_borderTopStyle
,
3138 HTMLStyle_put_borderRightStyle
,
3139 HTMLStyle_get_borderRightStyle
,
3140 HTMLStyle_put_borderBottomStyle
,
3141 HTMLStyle_get_borderBottomStyle
,
3142 HTMLStyle_put_borderLeftStyle
,
3143 HTMLStyle_get_borderLeftStyle
,
3144 HTMLStyle_put_width
,
3145 HTMLStyle_get_width
,
3146 HTMLStyle_put_height
,
3147 HTMLStyle_get_height
,
3148 HTMLStyle_put_styleFloat
,
3149 HTMLStyle_get_styleFloat
,
3150 HTMLStyle_put_clear
,
3151 HTMLStyle_get_clear
,
3152 HTMLStyle_put_display
,
3153 HTMLStyle_get_display
,
3154 HTMLStyle_put_visibility
,
3155 HTMLStyle_get_visibility
,
3156 HTMLStyle_put_listStyleType
,
3157 HTMLStyle_get_listStyleType
,
3158 HTMLStyle_put_listStylePosition
,
3159 HTMLStyle_get_listStylePosition
,
3160 HTMLStyle_put_listStyleImage
,
3161 HTMLStyle_get_listStyleImage
,
3162 HTMLStyle_put_listStyle
,
3163 HTMLStyle_get_listStyle
,
3164 HTMLStyle_put_whiteSpace
,
3165 HTMLStyle_get_whiteSpace
,
3170 HTMLStyle_get_position
,
3171 HTMLStyle_put_zIndex
,
3172 HTMLStyle_get_zIndex
,
3173 HTMLStyle_put_overflow
,
3174 HTMLStyle_get_overflow
,
3175 HTMLStyle_put_pageBreakBefore
,
3176 HTMLStyle_get_pageBreakBefore
,
3177 HTMLStyle_put_pageBreakAfter
,
3178 HTMLStyle_get_pageBreakAfter
,
3179 HTMLStyle_put_cssText
,
3180 HTMLStyle_get_cssText
,
3181 HTMLStyle_put_pixelTop
,
3182 HTMLStyle_get_pixelTop
,
3183 HTMLStyle_put_pixelLeft
,
3184 HTMLStyle_get_pixelLeft
,
3185 HTMLStyle_put_pixelWidth
,
3186 HTMLStyle_get_pixelWidth
,
3187 HTMLStyle_put_pixelHeight
,
3188 HTMLStyle_get_pixelHeight
,
3189 HTMLStyle_put_posTop
,
3190 HTMLStyle_get_posTop
,
3191 HTMLStyle_put_posLeft
,
3192 HTMLStyle_get_posLeft
,
3193 HTMLStyle_put_posWidth
,
3194 HTMLStyle_get_posWidth
,
3195 HTMLStyle_put_posHeight
,
3196 HTMLStyle_get_posHeight
,
3197 HTMLStyle_put_cursor
,
3198 HTMLStyle_get_cursor
,
3201 HTMLStyle_put_filter
,
3202 HTMLStyle_get_filter
,
3203 HTMLStyle_setAttribute
,
3204 HTMLStyle_getAttribute
,
3205 HTMLStyle_removeAttribute
,
3209 static inline HTMLStyle
*impl_from_IHTMLStyle2(IHTMLStyle2
*iface
)
3211 return CONTAINING_RECORD(iface
, HTMLStyle
, IHTMLStyle2_iface
);
3214 static HRESULT WINAPI
HTMLStyle2_QueryInterface(IHTMLStyle2
*iface
, REFIID riid
, void **ppv
)
3216 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3218 return IHTMLStyle_QueryInterface(&This
->IHTMLStyle_iface
, riid
, ppv
);
3221 static ULONG WINAPI
HTMLStyle2_AddRef(IHTMLStyle2
*iface
)
3223 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3225 return IHTMLStyle_AddRef(&This
->IHTMLStyle_iface
);
3228 static ULONG WINAPI
HTMLStyle2_Release(IHTMLStyle2
*iface
)
3230 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3232 return IHTMLStyle_Release(&This
->IHTMLStyle_iface
);
3235 static HRESULT WINAPI
HTMLStyle2_GetTypeInfoCount(IHTMLStyle2
*iface
, UINT
*pctinfo
)
3237 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3238 return IDispatchEx_GetTypeInfoCount(&This
->css_style
.dispex
.IDispatchEx_iface
, pctinfo
);
3241 static HRESULT WINAPI
HTMLStyle2_GetTypeInfo(IHTMLStyle2
*iface
, UINT iTInfo
,
3242 LCID lcid
, ITypeInfo
**ppTInfo
)
3244 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3245 return IDispatchEx_GetTypeInfo(&This
->css_style
.dispex
.IDispatchEx_iface
, iTInfo
, lcid
, ppTInfo
);
3248 static HRESULT WINAPI
HTMLStyle2_GetIDsOfNames(IHTMLStyle2
*iface
, REFIID riid
,
3249 LPOLESTR
*rgszNames
, UINT cNames
,
3250 LCID lcid
, DISPID
*rgDispId
)
3252 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3253 return IDispatchEx_GetIDsOfNames(&This
->css_style
.dispex
.IDispatchEx_iface
, riid
, rgszNames
, cNames
,
3257 static HRESULT WINAPI
HTMLStyle2_Invoke(IHTMLStyle2
*iface
, DISPID dispIdMember
,
3258 REFIID riid
, LCID lcid
, WORD wFlags
, DISPPARAMS
*pDispParams
,
3259 VARIANT
*pVarResult
, EXCEPINFO
*pExcepInfo
, UINT
*puArgErr
)
3261 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3262 return IDispatchEx_Invoke(&This
->css_style
.dispex
.IDispatchEx_iface
, dispIdMember
, riid
, lcid
,
3263 wFlags
, pDispParams
, pVarResult
, pExcepInfo
, puArgErr
);
3266 static HRESULT WINAPI
HTMLStyle2_put_tableLayout(IHTMLStyle2
*iface
, BSTR v
)
3268 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3270 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
3272 return set_style_property(&This
->css_style
, STYLEID_TABLE_LAYOUT
, v
);
3275 static HRESULT WINAPI
HTMLStyle2_get_tableLayout(IHTMLStyle2
*iface
, BSTR
*p
)
3277 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3279 TRACE("(%p)->(%p)\n", This
, p
);
3281 return get_style_property(&This
->css_style
, STYLEID_TABLE_LAYOUT
, p
);
3284 static HRESULT WINAPI
HTMLStyle2_put_borderCollapse(IHTMLStyle2
*iface
, BSTR v
)
3286 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3288 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
3290 return set_style_property(&This
->css_style
, STYLEID_BORDER_COLLAPSE
, v
);
3293 static HRESULT WINAPI
HTMLStyle2_get_borderCollapse(IHTMLStyle2
*iface
, BSTR
*p
)
3295 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3297 TRACE("(%p)->(%p)\n", This
, p
);
3299 return get_style_property(&This
->css_style
, STYLEID_BORDER_COLLAPSE
, p
);
3302 static HRESULT WINAPI
HTMLStyle2_put_direction(IHTMLStyle2
*iface
, BSTR v
)
3304 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3306 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
3308 return set_style_property(&This
->css_style
, STYLEID_DIRECTION
, v
);
3311 static HRESULT WINAPI
HTMLStyle2_get_direction(IHTMLStyle2
*iface
, BSTR
*p
)
3313 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3315 TRACE("(%p)->(%p)\n", This
, p
);
3317 return get_style_property(&This
->css_style
, STYLEID_DIRECTION
, p
);
3320 static HRESULT WINAPI
HTMLStyle2_put_behavior(IHTMLStyle2
*iface
, BSTR v
)
3322 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3323 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
3327 static HRESULT WINAPI
HTMLStyle2_get_behavior(IHTMLStyle2
*iface
, BSTR
*p
)
3329 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3330 FIXME("(%p)->(%p)\n", This
, p
);
3334 static HRESULT WINAPI
HTMLStyle2_setExpression(IHTMLStyle2
*iface
, BSTR propname
, BSTR expression
, BSTR language
)
3336 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3337 FIXME("(%p)->(%s %s %s)\n", This
, debugstr_w(propname
), debugstr_w(expression
), debugstr_w(language
));
3341 static HRESULT WINAPI
HTMLStyle2_getExpression(IHTMLStyle2
*iface
, BSTR propname
, VARIANT
*expression
)
3343 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3344 FIXME("(%p)->(%s %p)\n", This
, debugstr_w(propname
), expression
);
3348 static HRESULT WINAPI
HTMLStyle2_removeExpression(IHTMLStyle2
*iface
, BSTR propname
, VARIANT_BOOL
*pfSuccess
)
3350 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3351 FIXME("(%p)->(%s %p)\n", This
, debugstr_w(propname
), pfSuccess
);
3355 static HRESULT WINAPI
HTMLStyle2_put_position(IHTMLStyle2
*iface
, BSTR v
)
3357 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3359 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
3361 return set_style_property(&This
->css_style
, STYLEID_POSITION
, v
);
3364 static HRESULT WINAPI
HTMLStyle2_get_position(IHTMLStyle2
*iface
, BSTR
*p
)
3366 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3368 TRACE("(%p)->(%p)\n", This
, p
);
3370 return get_style_property(&This
->css_style
, STYLEID_POSITION
, p
);
3373 static HRESULT WINAPI
HTMLStyle2_put_unicodeBidi(IHTMLStyle2
*iface
, BSTR v
)
3375 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3376 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
3380 static HRESULT WINAPI
HTMLStyle2_get_unicodeBidi(IHTMLStyle2
*iface
, BSTR
*p
)
3382 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3383 FIXME("(%p)->(%p)\n", This
, p
);
3387 static HRESULT WINAPI
HTMLStyle2_put_bottom(IHTMLStyle2
*iface
, VARIANT v
)
3389 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3391 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
3393 return set_style_property_var(&This
->css_style
, STYLEID_BOTTOM
, &v
);
3396 static HRESULT WINAPI
HTMLStyle2_get_bottom(IHTMLStyle2
*iface
, VARIANT
*p
)
3398 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3400 TRACE("(%p)->(%p)\n", This
, p
);
3402 return get_style_property_var(&This
->css_style
, STYLEID_BOTTOM
, p
);
3405 static HRESULT WINAPI
HTMLStyle2_put_right(IHTMLStyle2
*iface
, VARIANT v
)
3407 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3409 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
3411 return set_style_property_var(&This
->css_style
, STYLEID_RIGHT
, &v
);
3414 static HRESULT WINAPI
HTMLStyle2_get_right(IHTMLStyle2
*iface
, VARIANT
*p
)
3416 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3418 TRACE("(%p)->(%p)\n", This
, p
);
3420 return get_style_property_var(&This
->css_style
, STYLEID_RIGHT
, p
);
3423 static HRESULT WINAPI
HTMLStyle2_put_pixelBottom(IHTMLStyle2
*iface
, LONG v
)
3425 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3426 FIXME("(%p)->(%ld)\n", This
, v
);
3430 static HRESULT WINAPI
HTMLStyle2_get_pixelBottom(IHTMLStyle2
*iface
, LONG
*p
)
3432 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3433 FIXME("(%p)->(%p)\n", This
, p
);
3437 static HRESULT WINAPI
HTMLStyle2_put_pixelRight(IHTMLStyle2
*iface
, LONG v
)
3439 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3440 FIXME("(%p)->(%ld)\n", This
, v
);
3444 static HRESULT WINAPI
HTMLStyle2_get_pixelRight(IHTMLStyle2
*iface
, LONG
*p
)
3446 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3447 FIXME("(%p)->(%p)\n", This
, p
);
3451 static HRESULT WINAPI
HTMLStyle2_put_posBottom(IHTMLStyle2
*iface
, float v
)
3453 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3454 FIXME("(%p)->(%f)\n", This
, v
);
3458 static HRESULT WINAPI
HTMLStyle2_get_posBottom(IHTMLStyle2
*iface
, float *p
)
3460 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3461 FIXME("(%p)->(%p)\n", This
, p
);
3465 static HRESULT WINAPI
HTMLStyle2_put_posRight(IHTMLStyle2
*iface
, float v
)
3467 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3468 FIXME("(%p)->(%f)\n", This
, v
);
3472 static HRESULT WINAPI
HTMLStyle2_get_posRight(IHTMLStyle2
*iface
, float *p
)
3474 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3475 FIXME("(%p)->(%p)\n", This
, p
);
3479 static HRESULT WINAPI
HTMLStyle2_put_imeMode(IHTMLStyle2
*iface
, BSTR v
)
3481 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3482 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
3486 static HRESULT WINAPI
HTMLStyle2_get_imeMode(IHTMLStyle2
*iface
, BSTR
*p
)
3488 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3489 FIXME("(%p)->(%p)\n", This
, p
);
3493 static HRESULT WINAPI
HTMLStyle2_put_rubyAlign(IHTMLStyle2
*iface
, BSTR v
)
3495 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3496 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
3500 static HRESULT WINAPI
HTMLStyle2_get_rubyAlign(IHTMLStyle2
*iface
, BSTR
*p
)
3502 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3503 FIXME("(%p)->(%p)\n", This
, p
);
3507 static HRESULT WINAPI
HTMLStyle2_put_rubyPosition(IHTMLStyle2
*iface
, BSTR v
)
3509 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3510 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
3514 static HRESULT WINAPI
HTMLStyle2_get_rubyPosition(IHTMLStyle2
*iface
, BSTR
*p
)
3516 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3517 FIXME("(%p)->(%p)\n", This
, p
);
3521 static HRESULT WINAPI
HTMLStyle2_put_rubyOverhang(IHTMLStyle2
*iface
, BSTR v
)
3523 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3524 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
3528 static HRESULT WINAPI
HTMLStyle2_get_rubyOverhang(IHTMLStyle2
*iface
, BSTR
*p
)
3530 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3531 FIXME("(%p)->(%p)\n", This
, p
);
3535 static HRESULT WINAPI
HTMLStyle2_put_layoutGridChar(IHTMLStyle2
*iface
, VARIANT v
)
3537 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3538 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
3542 static HRESULT WINAPI
HTMLStyle2_get_layoutGridChar(IHTMLStyle2
*iface
, VARIANT
*p
)
3544 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3545 FIXME("(%p)->(%p)\n", This
, p
);
3549 static HRESULT WINAPI
HTMLStyle2_put_layoutGridLine(IHTMLStyle2
*iface
, VARIANT v
)
3551 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3552 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
3556 static HRESULT WINAPI
HTMLStyle2_get_layoutGridLine(IHTMLStyle2
*iface
, VARIANT
*p
)
3558 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3559 FIXME("(%p)->(%p)\n", This
, p
);
3563 static HRESULT WINAPI
HTMLStyle2_put_layoutGridMode(IHTMLStyle2
*iface
, BSTR v
)
3565 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3566 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
3570 static HRESULT WINAPI
HTMLStyle2_get_layoutGridMode(IHTMLStyle2
*iface
, BSTR
*p
)
3572 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3573 FIXME("(%p)->(%p)\n", This
, p
);
3577 static HRESULT WINAPI
HTMLStyle2_put_layoutGridType(IHTMLStyle2
*iface
, BSTR v
)
3579 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3580 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
3584 static HRESULT WINAPI
HTMLStyle2_get_layoutGridType(IHTMLStyle2
*iface
, BSTR
*p
)
3586 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3587 FIXME("(%p)->(%p)\n", This
, p
);
3591 static HRESULT WINAPI
HTMLStyle2_put_layoutGrid(IHTMLStyle2
*iface
, BSTR v
)
3593 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3594 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
3598 static HRESULT WINAPI
HTMLStyle2_get_layoutGrid(IHTMLStyle2
*iface
, BSTR
*p
)
3600 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3601 FIXME("(%p)->(%p)\n", This
, p
);
3605 static HRESULT WINAPI
HTMLStyle2_put_wordBreak(IHTMLStyle2
*iface
, BSTR v
)
3607 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3608 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
3612 static HRESULT WINAPI
HTMLStyle2_get_wordBreak(IHTMLStyle2
*iface
, BSTR
*p
)
3614 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3615 FIXME("(%p)->(%p)\n", This
, p
);
3619 static HRESULT WINAPI
HTMLStyle2_put_lineBreak(IHTMLStyle2
*iface
, BSTR v
)
3621 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3622 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
3626 static HRESULT WINAPI
HTMLStyle2_get_lineBreak(IHTMLStyle2
*iface
, BSTR
*p
)
3628 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3629 FIXME("(%p)->(%p)\n", This
, p
);
3633 static HRESULT WINAPI
HTMLStyle2_put_textJustify(IHTMLStyle2
*iface
, BSTR v
)
3635 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3636 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
3640 static HRESULT WINAPI
HTMLStyle2_get_textJustify(IHTMLStyle2
*iface
, BSTR
*p
)
3642 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3643 FIXME("(%p)->(%p)\n", This
, p
);
3647 static HRESULT WINAPI
HTMLStyle2_put_textJustifyTrim(IHTMLStyle2
*iface
, BSTR v
)
3649 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3650 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
3654 static HRESULT WINAPI
HTMLStyle2_get_textJustifyTrim(IHTMLStyle2
*iface
, BSTR
*p
)
3656 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3657 FIXME("(%p)->(%p)\n", This
, p
);
3661 static HRESULT WINAPI
HTMLStyle2_put_textKashida(IHTMLStyle2
*iface
, VARIANT v
)
3663 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3664 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
3668 static HRESULT WINAPI
HTMLStyle2_get_textKashida(IHTMLStyle2
*iface
, VARIANT
*p
)
3670 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3671 FIXME("(%p)->(%p)\n", This
, p
);
3675 static HRESULT WINAPI
HTMLStyle2_put_textAutospace(IHTMLStyle2
*iface
, BSTR v
)
3677 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3678 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
3682 static HRESULT WINAPI
HTMLStyle2_get_textAutospace(IHTMLStyle2
*iface
, BSTR
*p
)
3684 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3685 FIXME("(%p)->(%p)\n", This
, p
);
3689 static HRESULT WINAPI
HTMLStyle2_put_overflowX(IHTMLStyle2
*iface
, BSTR v
)
3691 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3693 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
3695 return set_style_property(&This
->css_style
, STYLEID_OVERFLOW_X
, v
);
3698 static HRESULT WINAPI
HTMLStyle2_get_overflowX(IHTMLStyle2
*iface
, BSTR
*p
)
3700 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3702 TRACE("(%p)->(%p)\n", This
, p
);
3704 return get_style_property(&This
->css_style
, STYLEID_OVERFLOW_X
, p
);
3707 static HRESULT WINAPI
HTMLStyle2_put_overflowY(IHTMLStyle2
*iface
, BSTR v
)
3709 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3711 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
3713 return set_style_property(&This
->css_style
, STYLEID_OVERFLOW_Y
, v
);
3716 static HRESULT WINAPI
HTMLStyle2_get_overflowY(IHTMLStyle2
*iface
, BSTR
*p
)
3718 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3720 TRACE("(%p)->(%p)\n", This
, p
);
3722 return get_style_property(&This
->css_style
, STYLEID_OVERFLOW_Y
, p
);
3725 static HRESULT WINAPI
HTMLStyle2_put_accelerator(IHTMLStyle2
*iface
, BSTR v
)
3727 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3728 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
3732 static HRESULT WINAPI
HTMLStyle2_get_accelerator(IHTMLStyle2
*iface
, BSTR
*p
)
3734 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3735 FIXME("(%p)->(%p)\n", This
, p
);
3739 static const IHTMLStyle2Vtbl HTMLStyle2Vtbl
= {
3740 HTMLStyle2_QueryInterface
,
3743 HTMLStyle2_GetTypeInfoCount
,
3744 HTMLStyle2_GetTypeInfo
,
3745 HTMLStyle2_GetIDsOfNames
,
3747 HTMLStyle2_put_tableLayout
,
3748 HTMLStyle2_get_tableLayout
,
3749 HTMLStyle2_put_borderCollapse
,
3750 HTMLStyle2_get_borderCollapse
,
3751 HTMLStyle2_put_direction
,
3752 HTMLStyle2_get_direction
,
3753 HTMLStyle2_put_behavior
,
3754 HTMLStyle2_get_behavior
,
3755 HTMLStyle2_setExpression
,
3756 HTMLStyle2_getExpression
,
3757 HTMLStyle2_removeExpression
,
3758 HTMLStyle2_put_position
,
3759 HTMLStyle2_get_position
,
3760 HTMLStyle2_put_unicodeBidi
,
3761 HTMLStyle2_get_unicodeBidi
,
3762 HTMLStyle2_put_bottom
,
3763 HTMLStyle2_get_bottom
,
3764 HTMLStyle2_put_right
,
3765 HTMLStyle2_get_right
,
3766 HTMLStyle2_put_pixelBottom
,
3767 HTMLStyle2_get_pixelBottom
,
3768 HTMLStyle2_put_pixelRight
,
3769 HTMLStyle2_get_pixelRight
,
3770 HTMLStyle2_put_posBottom
,
3771 HTMLStyle2_get_posBottom
,
3772 HTMLStyle2_put_posRight
,
3773 HTMLStyle2_get_posRight
,
3774 HTMLStyle2_put_imeMode
,
3775 HTMLStyle2_get_imeMode
,
3776 HTMLStyle2_put_rubyAlign
,
3777 HTMLStyle2_get_rubyAlign
,
3778 HTMLStyle2_put_rubyPosition
,
3779 HTMLStyle2_get_rubyPosition
,
3780 HTMLStyle2_put_rubyOverhang
,
3781 HTMLStyle2_get_rubyOverhang
,
3782 HTMLStyle2_put_layoutGridChar
,
3783 HTMLStyle2_get_layoutGridChar
,
3784 HTMLStyle2_put_layoutGridLine
,
3785 HTMLStyle2_get_layoutGridLine
,
3786 HTMLStyle2_put_layoutGridMode
,
3787 HTMLStyle2_get_layoutGridMode
,
3788 HTMLStyle2_put_layoutGridType
,
3789 HTMLStyle2_get_layoutGridType
,
3790 HTMLStyle2_put_layoutGrid
,
3791 HTMLStyle2_get_layoutGrid
,
3792 HTMLStyle2_put_wordBreak
,
3793 HTMLStyle2_get_wordBreak
,
3794 HTMLStyle2_put_lineBreak
,
3795 HTMLStyle2_get_lineBreak
,
3796 HTMLStyle2_put_textJustify
,
3797 HTMLStyle2_get_textJustify
,
3798 HTMLStyle2_put_textJustifyTrim
,
3799 HTMLStyle2_get_textJustifyTrim
,
3800 HTMLStyle2_put_textKashida
,
3801 HTMLStyle2_get_textKashida
,
3802 HTMLStyle2_put_textAutospace
,
3803 HTMLStyle2_get_textAutospace
,
3804 HTMLStyle2_put_overflowX
,
3805 HTMLStyle2_get_overflowX
,
3806 HTMLStyle2_put_overflowY
,
3807 HTMLStyle2_get_overflowY
,
3808 HTMLStyle2_put_accelerator
,
3809 HTMLStyle2_get_accelerator
3812 static inline HTMLStyle
*impl_from_IHTMLStyle3(IHTMLStyle3
*iface
)
3814 return CONTAINING_RECORD(iface
, HTMLStyle
, IHTMLStyle3_iface
);
3817 static HRESULT WINAPI
HTMLStyle3_QueryInterface(IHTMLStyle3
*iface
, REFIID riid
, void **ppv
)
3819 HTMLStyle
*This
= impl_from_IHTMLStyle3(iface
);
3821 return IHTMLStyle_QueryInterface(&This
->IHTMLStyle_iface
, riid
, ppv
);
3824 static ULONG WINAPI
HTMLStyle3_AddRef(IHTMLStyle3
*iface
)
3826 HTMLStyle
*This
= impl_from_IHTMLStyle3(iface
);
3828 return IHTMLStyle_AddRef(&This
->IHTMLStyle_iface
);
3831 static ULONG WINAPI
HTMLStyle3_Release(IHTMLStyle3
*iface
)
3833 HTMLStyle
*This
= impl_from_IHTMLStyle3(iface
);
3835 return IHTMLStyle_Release(&This
->IHTMLStyle_iface
);
3838 static HRESULT WINAPI
HTMLStyle3_GetTypeInfoCount(IHTMLStyle3
*iface
, UINT
*pctinfo
)
3840 HTMLStyle
*This
= impl_from_IHTMLStyle3(iface
);
3841 return IDispatchEx_GetTypeInfoCount(&This
->css_style
.dispex
.IDispatchEx_iface
, pctinfo
);
3844 static HRESULT WINAPI
HTMLStyle3_GetTypeInfo(IHTMLStyle3
*iface
, UINT iTInfo
,
3845 LCID lcid
, ITypeInfo
**ppTInfo
)
3847 HTMLStyle
*This
= impl_from_IHTMLStyle3(iface
);
3848 return IDispatchEx_GetTypeInfo(&This
->css_style
.dispex
.IDispatchEx_iface
, iTInfo
, lcid
, ppTInfo
);
3851 static HRESULT WINAPI
HTMLStyle3_GetIDsOfNames(IHTMLStyle3
*iface
, REFIID riid
,
3852 LPOLESTR
*rgszNames
, UINT cNames
,
3853 LCID lcid
, DISPID
*rgDispId
)
3855 HTMLStyle
*This
= impl_from_IHTMLStyle3(iface
);
3856 return IDispatchEx_GetIDsOfNames(&This
->css_style
.dispex
.IDispatchEx_iface
, riid
, rgszNames
, cNames
,
3860 static HRESULT WINAPI
HTMLStyle3_Invoke(IHTMLStyle3
*iface
, DISPID dispIdMember
,
3861 REFIID riid
, LCID lcid
, WORD wFlags
, DISPPARAMS
*pDispParams
,
3862 VARIANT
*pVarResult
, EXCEPINFO
*pExcepInfo
, UINT
*puArgErr
)
3864 HTMLStyle
*This
= impl_from_IHTMLStyle3(iface
);
3865 return IDispatchEx_Invoke(&This
->css_style
.dispex
.IDispatchEx_iface
, dispIdMember
, riid
, lcid
,
3866 wFlags
, pDispParams
, pVarResult
, pExcepInfo
, puArgErr
);
3869 static HRESULT WINAPI
HTMLStyle3_put_layoutFlow(IHTMLStyle3
*iface
, BSTR v
)
3871 HTMLStyle
*This
= impl_from_IHTMLStyle3(iface
);
3872 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
3876 static HRESULT WINAPI
HTMLStyle3_get_layoutFlow(IHTMLStyle3
*iface
, BSTR
*p
)
3878 HTMLStyle
*This
= impl_from_IHTMLStyle3(iface
);
3879 FIXME("(%p)->(%p)\n", This
, p
);
3883 static HRESULT WINAPI
HTMLStyle3_put_zoom(IHTMLStyle3
*iface
, VARIANT v
)
3885 HTMLStyle
*This
= impl_from_IHTMLStyle3(iface
);
3887 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
3889 return IHTMLCSSStyleDeclaration_put_zoom(&This
->css_style
.IHTMLCSSStyleDeclaration_iface
, v
);
3892 static HRESULT WINAPI
HTMLStyle3_get_zoom(IHTMLStyle3
*iface
, VARIANT
*p
)
3894 HTMLStyle
*This
= impl_from_IHTMLStyle3(iface
);
3896 TRACE("(%p)->(%p)\n", This
, p
);
3898 return IHTMLCSSStyleDeclaration_get_zoom(&This
->css_style
.IHTMLCSSStyleDeclaration_iface
, p
);
3901 static HRESULT WINAPI
HTMLStyle3_put_wordWrap(IHTMLStyle3
*iface
, BSTR v
)
3903 HTMLStyle
*This
= impl_from_IHTMLStyle3(iface
);
3905 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
3907 return set_style_property(&This
->css_style
, STYLEID_WORD_WRAP
, v
);
3910 static HRESULT WINAPI
HTMLStyle3_get_wordWrap(IHTMLStyle3
*iface
, BSTR
*p
)
3912 HTMLStyle
*This
= impl_from_IHTMLStyle3(iface
);
3914 TRACE("(%p)->(%p)\n", This
, p
);
3916 return get_style_property(&This
->css_style
, STYLEID_WORD_WRAP
, p
);
3919 static HRESULT WINAPI
HTMLStyle3_put_textUnderlinePosition(IHTMLStyle3
*iface
, BSTR v
)
3921 HTMLStyle
*This
= impl_from_IHTMLStyle3(iface
);
3922 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
3926 static HRESULT WINAPI
HTMLStyle3_get_textUnderlinePosition(IHTMLStyle3
*iface
, BSTR
*p
)
3928 HTMLStyle
*This
= impl_from_IHTMLStyle3(iface
);
3929 FIXME("(%p)->(%p)\n", This
, p
);
3933 static HRESULT WINAPI
HTMLStyle3_put_scrollbarBaseColor(IHTMLStyle3
*iface
, VARIANT v
)
3935 HTMLStyle
*This
= impl_from_IHTMLStyle3(iface
);
3936 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
3940 static HRESULT WINAPI
HTMLStyle3_get_scrollbarBaseColor(IHTMLStyle3
*iface
, VARIANT
*p
)
3942 HTMLStyle
*This
= impl_from_IHTMLStyle3(iface
);
3943 FIXME("(%p)->(%p)\n", This
, p
);
3947 static HRESULT WINAPI
HTMLStyle3_put_scrollbarFaceColor(IHTMLStyle3
*iface
, VARIANT v
)
3949 HTMLStyle
*This
= impl_from_IHTMLStyle3(iface
);
3950 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
3954 static HRESULT WINAPI
HTMLStyle3_get_scrollbarFaceColor(IHTMLStyle3
*iface
, VARIANT
*p
)
3956 HTMLStyle
*This
= impl_from_IHTMLStyle3(iface
);
3957 FIXME("(%p)->(%p)\n", This
, p
);
3961 static HRESULT WINAPI
HTMLStyle3_put_scrollbar3dLightColor(IHTMLStyle3
*iface
, VARIANT v
)
3963 HTMLStyle
*This
= impl_from_IHTMLStyle3(iface
);
3964 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
3968 static HRESULT WINAPI
HTMLStyle3_get_scrollbar3dLightColor(IHTMLStyle3
*iface
, VARIANT
*p
)
3970 HTMLStyle
*This
= impl_from_IHTMLStyle3(iface
);
3971 FIXME("(%p)->(%p)\n", This
, p
);
3975 static HRESULT WINAPI
HTMLStyle3_put_scrollbarShadowColor(IHTMLStyle3
*iface
, VARIANT v
)
3977 HTMLStyle
*This
= impl_from_IHTMLStyle3(iface
);
3978 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
3982 static HRESULT WINAPI
HTMLStyle3_get_scrollbarShadowColor(IHTMLStyle3
*iface
, VARIANT
*p
)
3984 HTMLStyle
*This
= impl_from_IHTMLStyle3(iface
);
3985 FIXME("(%p)->(%p)\n", This
, p
);
3989 static HRESULT WINAPI
HTMLStyle3_put_scrollbarHighlightColor(IHTMLStyle3
*iface
, VARIANT v
)
3991 HTMLStyle
*This
= impl_from_IHTMLStyle3(iface
);
3992 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
3996 static HRESULT WINAPI
HTMLStyle3_get_scrollbarHighlightColor(IHTMLStyle3
*iface
, VARIANT
*p
)
3998 HTMLStyle
*This
= impl_from_IHTMLStyle3(iface
);
3999 FIXME("(%p)->(%p)\n", This
, p
);
4003 static HRESULT WINAPI
HTMLStyle3_put_scrollbarDarkShadowColor(IHTMLStyle3
*iface
, VARIANT v
)
4005 HTMLStyle
*This
= impl_from_IHTMLStyle3(iface
);
4006 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
4010 static HRESULT WINAPI
HTMLStyle3_get_scrollbarDarkShadowColor(IHTMLStyle3
*iface
, VARIANT
*p
)
4012 HTMLStyle
*This
= impl_from_IHTMLStyle3(iface
);
4013 FIXME("(%p)->(%p)\n", This
, p
);
4017 static HRESULT WINAPI
HTMLStyle3_put_scrollbarArrowColor(IHTMLStyle3
*iface
, VARIANT v
)
4019 HTMLStyle
*This
= impl_from_IHTMLStyle3(iface
);
4020 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
4024 static HRESULT WINAPI
HTMLStyle3_get_scrollbarArrowColor(IHTMLStyle3
*iface
, VARIANT
*p
)
4026 HTMLStyle
*This
= impl_from_IHTMLStyle3(iface
);
4027 FIXME("(%p)->(%p)\n", This
, p
);
4031 static HRESULT WINAPI
HTMLStyle3_put_scrollbarTrackColor(IHTMLStyle3
*iface
, VARIANT v
)
4033 HTMLStyle
*This
= impl_from_IHTMLStyle3(iface
);
4034 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
4038 static HRESULT WINAPI
HTMLStyle3_get_scrollbarTrackColor(IHTMLStyle3
*iface
, VARIANT
*p
)
4040 HTMLStyle
*This
= impl_from_IHTMLStyle3(iface
);
4041 FIXME("(%p)->(%p)\n", This
, p
);
4045 static HRESULT WINAPI
HTMLStyle3_put_writingMode(IHTMLStyle3
*iface
, BSTR v
)
4047 HTMLStyle
*This
= impl_from_IHTMLStyle3(iface
);
4048 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
4052 static HRESULT WINAPI
HTMLStyle3_get_writingMode(IHTMLStyle3
*iface
, BSTR
*p
)
4054 HTMLStyle
*This
= impl_from_IHTMLStyle3(iface
);
4055 FIXME("(%p)->(%p)\n", This
, p
);
4059 static HRESULT WINAPI
HTMLStyle3_put_textAlignLast(IHTMLStyle3
*iface
, BSTR v
)
4061 HTMLStyle
*This
= impl_from_IHTMLStyle3(iface
);
4062 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
4066 static HRESULT WINAPI
HTMLStyle3_get_textAlignLast(IHTMLStyle3
*iface
, BSTR
*p
)
4068 HTMLStyle
*This
= impl_from_IHTMLStyle3(iface
);
4069 FIXME("(%p)->(%p)\n", This
, p
);
4073 static HRESULT WINAPI
HTMLStyle3_put_textKashidaSpace(IHTMLStyle3
*iface
, VARIANT v
)
4075 HTMLStyle
*This
= impl_from_IHTMLStyle3(iface
);
4076 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
4080 static HRESULT WINAPI
HTMLStyle3_get_textKashidaSpace(IHTMLStyle3
*iface
, VARIANT
*p
)
4082 HTMLStyle
*This
= impl_from_IHTMLStyle3(iface
);
4083 FIXME("(%p)->(%p)\n", This
, p
);
4087 static const IHTMLStyle3Vtbl HTMLStyle3Vtbl
= {
4088 HTMLStyle3_QueryInterface
,
4091 HTMLStyle3_GetTypeInfoCount
,
4092 HTMLStyle3_GetTypeInfo
,
4093 HTMLStyle3_GetIDsOfNames
,
4095 HTMLStyle3_put_layoutFlow
,
4096 HTMLStyle3_get_layoutFlow
,
4097 HTMLStyle3_put_zoom
,
4098 HTMLStyle3_get_zoom
,
4099 HTMLStyle3_put_wordWrap
,
4100 HTMLStyle3_get_wordWrap
,
4101 HTMLStyle3_put_textUnderlinePosition
,
4102 HTMLStyle3_get_textUnderlinePosition
,
4103 HTMLStyle3_put_scrollbarBaseColor
,
4104 HTMLStyle3_get_scrollbarBaseColor
,
4105 HTMLStyle3_put_scrollbarFaceColor
,
4106 HTMLStyle3_get_scrollbarFaceColor
,
4107 HTMLStyle3_put_scrollbar3dLightColor
,
4108 HTMLStyle3_get_scrollbar3dLightColor
,
4109 HTMLStyle3_put_scrollbarShadowColor
,
4110 HTMLStyle3_get_scrollbarShadowColor
,
4111 HTMLStyle3_put_scrollbarHighlightColor
,
4112 HTMLStyle3_get_scrollbarHighlightColor
,
4113 HTMLStyle3_put_scrollbarDarkShadowColor
,
4114 HTMLStyle3_get_scrollbarDarkShadowColor
,
4115 HTMLStyle3_put_scrollbarArrowColor
,
4116 HTMLStyle3_get_scrollbarArrowColor
,
4117 HTMLStyle3_put_scrollbarTrackColor
,
4118 HTMLStyle3_get_scrollbarTrackColor
,
4119 HTMLStyle3_put_writingMode
,
4120 HTMLStyle3_get_writingMode
,
4121 HTMLStyle3_put_textAlignLast
,
4122 HTMLStyle3_get_textAlignLast
,
4123 HTMLStyle3_put_textKashidaSpace
,
4124 HTMLStyle3_get_textKashidaSpace
4128 * IHTMLStyle4 Interface
4130 static inline HTMLStyle
*impl_from_IHTMLStyle4(IHTMLStyle4
*iface
)
4132 return CONTAINING_RECORD(iface
, HTMLStyle
, IHTMLStyle4_iface
);
4135 static HRESULT WINAPI
HTMLStyle4_QueryInterface(IHTMLStyle4
*iface
, REFIID riid
, void **ppv
)
4137 HTMLStyle
*This
= impl_from_IHTMLStyle4(iface
);
4139 return IHTMLStyle_QueryInterface(&This
->IHTMLStyle_iface
, riid
, ppv
);
4142 static ULONG WINAPI
HTMLStyle4_AddRef(IHTMLStyle4
*iface
)
4144 HTMLStyle
*This
= impl_from_IHTMLStyle4(iface
);
4146 return IHTMLStyle_AddRef(&This
->IHTMLStyle_iface
);
4149 static ULONG WINAPI
HTMLStyle4_Release(IHTMLStyle4
*iface
)
4151 HTMLStyle
*This
= impl_from_IHTMLStyle4(iface
);
4153 return IHTMLStyle_Release(&This
->IHTMLStyle_iface
);
4156 static HRESULT WINAPI
HTMLStyle4_GetTypeInfoCount(IHTMLStyle4
*iface
, UINT
*pctinfo
)
4158 HTMLStyle
*This
= impl_from_IHTMLStyle4(iface
);
4159 return IDispatchEx_GetTypeInfoCount(&This
->css_style
.dispex
.IDispatchEx_iface
, pctinfo
);
4162 static HRESULT WINAPI
HTMLStyle4_GetTypeInfo(IHTMLStyle4
*iface
, UINT iTInfo
,
4163 LCID lcid
, ITypeInfo
**ppTInfo
)
4165 HTMLStyle
*This
= impl_from_IHTMLStyle4(iface
);
4166 return IDispatchEx_GetTypeInfo(&This
->css_style
.dispex
.IDispatchEx_iface
, iTInfo
, lcid
, ppTInfo
);
4169 static HRESULT WINAPI
HTMLStyle4_GetIDsOfNames(IHTMLStyle4
*iface
, REFIID riid
,
4170 LPOLESTR
*rgszNames
, UINT cNames
,
4171 LCID lcid
, DISPID
*rgDispId
)
4173 HTMLStyle
*This
= impl_from_IHTMLStyle4(iface
);
4174 return IDispatchEx_GetIDsOfNames(&This
->css_style
.dispex
.IDispatchEx_iface
, riid
, rgszNames
, cNames
,
4178 static HRESULT WINAPI
HTMLStyle4_Invoke(IHTMLStyle4
*iface
, DISPID dispIdMember
,
4179 REFIID riid
, LCID lcid
, WORD wFlags
, DISPPARAMS
*pDispParams
,
4180 VARIANT
*pVarResult
, EXCEPINFO
*pExcepInfo
, UINT
*puArgErr
)
4182 HTMLStyle
*This
= impl_from_IHTMLStyle4(iface
);
4183 return IDispatchEx_Invoke(&This
->css_style
.dispex
.IDispatchEx_iface
, dispIdMember
, riid
, lcid
,
4184 wFlags
, pDispParams
, pVarResult
, pExcepInfo
, puArgErr
);
4187 static HRESULT WINAPI
HTMLStyle4_put_textOverflow(IHTMLStyle4
*iface
, BSTR v
)
4189 HTMLStyle
*This
= impl_from_IHTMLStyle4(iface
);
4190 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
4194 static HRESULT WINAPI
HTMLStyle4_get_textOverflow(IHTMLStyle4
*iface
, BSTR
*p
)
4196 HTMLStyle
*This
= impl_from_IHTMLStyle4(iface
);
4197 FIXME("(%p)->(%p)\n", This
, p
);
4201 static HRESULT WINAPI
HTMLStyle4_put_minHeight(IHTMLStyle4
*iface
, VARIANT v
)
4203 HTMLStyle
*This
= impl_from_IHTMLStyle4(iface
);
4205 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
4207 return set_style_property_var(&This
->css_style
, STYLEID_MIN_HEIGHT
, &v
);
4210 static HRESULT WINAPI
HTMLStyle4_get_minHeight(IHTMLStyle4
*iface
, VARIANT
*p
)
4212 HTMLStyle
*This
= impl_from_IHTMLStyle4(iface
);
4214 TRACE("(%p)->(%p)\n", This
, p
);
4216 return get_style_property_var(&This
->css_style
, STYLEID_MIN_HEIGHT
, p
);
4219 static const IHTMLStyle4Vtbl HTMLStyle4Vtbl
= {
4220 HTMLStyle4_QueryInterface
,
4223 HTMLStyle4_GetTypeInfoCount
,
4224 HTMLStyle4_GetTypeInfo
,
4225 HTMLStyle4_GetIDsOfNames
,
4227 HTMLStyle4_put_textOverflow
,
4228 HTMLStyle4_get_textOverflow
,
4229 HTMLStyle4_put_minHeight
,
4230 HTMLStyle4_get_minHeight
4233 static inline HTMLStyle
*impl_from_IHTMLStyle5(IHTMLStyle5
*iface
)
4235 return CONTAINING_RECORD(iface
, HTMLStyle
, IHTMLStyle5_iface
);
4238 static HRESULT WINAPI
HTMLStyle5_QueryInterface(IHTMLStyle5
*iface
, REFIID riid
, void **ppv
)
4240 HTMLStyle
*This
= impl_from_IHTMLStyle5(iface
);
4242 return IHTMLStyle_QueryInterface(&This
->IHTMLStyle_iface
, riid
, ppv
);
4245 static ULONG WINAPI
HTMLStyle5_AddRef(IHTMLStyle5
*iface
)
4247 HTMLStyle
*This
= impl_from_IHTMLStyle5(iface
);
4249 return IHTMLStyle_AddRef(&This
->IHTMLStyle_iface
);
4252 static ULONG WINAPI
HTMLStyle5_Release(IHTMLStyle5
*iface
)
4254 HTMLStyle
*This
= impl_from_IHTMLStyle5(iface
);
4256 return IHTMLStyle_Release(&This
->IHTMLStyle_iface
);
4259 static HRESULT WINAPI
HTMLStyle5_GetTypeInfoCount(IHTMLStyle5
*iface
, UINT
*pctinfo
)
4261 HTMLStyle
*This
= impl_from_IHTMLStyle5(iface
);
4262 return IDispatchEx_GetTypeInfoCount(&This
->css_style
.dispex
.IDispatchEx_iface
, pctinfo
);
4265 static HRESULT WINAPI
HTMLStyle5_GetTypeInfo(IHTMLStyle5
*iface
, UINT iTInfo
,
4266 LCID lcid
, ITypeInfo
**ppTInfo
)
4268 HTMLStyle
*This
= impl_from_IHTMLStyle5(iface
);
4269 return IDispatchEx_GetTypeInfo(&This
->css_style
.dispex
.IDispatchEx_iface
, iTInfo
, lcid
, ppTInfo
);
4272 static HRESULT WINAPI
HTMLStyle5_GetIDsOfNames(IHTMLStyle5
*iface
, REFIID riid
,
4273 LPOLESTR
*rgszNames
, UINT cNames
, LCID lcid
, DISPID
*rgDispId
)
4275 HTMLStyle
*This
= impl_from_IHTMLStyle5(iface
);
4276 return IDispatchEx_GetIDsOfNames(&This
->css_style
.dispex
.IDispatchEx_iface
, riid
, rgszNames
, cNames
,
4280 static HRESULT WINAPI
HTMLStyle5_Invoke(IHTMLStyle5
*iface
, DISPID dispIdMember
,
4281 REFIID riid
, LCID lcid
, WORD wFlags
, DISPPARAMS
*pDispParams
,
4282 VARIANT
*pVarResult
, EXCEPINFO
*pExcepInfo
, UINT
*puArgErr
)
4284 HTMLStyle
*This
= impl_from_IHTMLStyle5(iface
);
4285 return IDispatchEx_Invoke(&This
->css_style
.dispex
.IDispatchEx_iface
, dispIdMember
, riid
, lcid
,
4286 wFlags
, pDispParams
, pVarResult
, pExcepInfo
, puArgErr
);
4289 static HRESULT WINAPI
HTMLStyle5_put_msInterpolationMode(IHTMLStyle5
*iface
, BSTR v
)
4291 HTMLStyle
*This
= impl_from_IHTMLStyle5(iface
);
4292 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
4296 static HRESULT WINAPI
HTMLStyle5_get_msInterpolationMode(IHTMLStyle5
*iface
, BSTR
*p
)
4298 HTMLStyle
*This
= impl_from_IHTMLStyle5(iface
);
4299 FIXME("(%p)->(%p)\n", This
, p
);
4303 static HRESULT WINAPI
HTMLStyle5_put_maxHeight(IHTMLStyle5
*iface
, VARIANT v
)
4305 HTMLStyle
*This
= impl_from_IHTMLStyle5(iface
);
4307 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
4309 return set_style_property_var(&This
->css_style
, STYLEID_MAX_HEIGHT
, &v
);
4312 static HRESULT WINAPI
HTMLStyle5_get_maxHeight(IHTMLStyle5
*iface
, VARIANT
*p
)
4314 HTMLStyle
*This
= impl_from_IHTMLStyle5(iface
);
4316 TRACE("(%p)->(%s)\n", This
, debugstr_variant(p
));
4318 return get_style_property_var(&This
->css_style
, STYLEID_MAX_HEIGHT
, p
);
4321 static HRESULT WINAPI
HTMLStyle5_put_minWidth(IHTMLStyle5
*iface
, VARIANT v
)
4323 HTMLStyle
*This
= impl_from_IHTMLStyle5(iface
);
4325 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
4327 return set_style_property_var(&This
->css_style
, STYLEID_MIN_WIDTH
, &v
);
4330 static HRESULT WINAPI
HTMLStyle5_get_minWidth(IHTMLStyle5
*iface
, VARIANT
*p
)
4332 HTMLStyle
*This
= impl_from_IHTMLStyle5(iface
);
4334 TRACE("(%p)->(%p)\n", This
, p
);
4336 return get_style_property_var(&This
->css_style
, STYLEID_MIN_WIDTH
, p
);
4339 static HRESULT WINAPI
HTMLStyle5_put_maxWidth(IHTMLStyle5
*iface
, VARIANT v
)
4341 HTMLStyle
*This
= impl_from_IHTMLStyle5(iface
);
4343 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
4345 return set_style_property_var(&This
->css_style
, STYLEID_MAX_WIDTH
, &v
);
4348 static HRESULT WINAPI
HTMLStyle5_get_maxWidth(IHTMLStyle5
*iface
, VARIANT
*p
)
4350 HTMLStyle
*This
= impl_from_IHTMLStyle5(iface
);
4352 TRACE("(%p)->(%p)\n", This
, p
);
4354 return get_style_property_var(&This
->css_style
, STYLEID_MAX_WIDTH
, p
);
4357 static const IHTMLStyle5Vtbl HTMLStyle5Vtbl
= {
4358 HTMLStyle5_QueryInterface
,
4361 HTMLStyle5_GetTypeInfoCount
,
4362 HTMLStyle5_GetTypeInfo
,
4363 HTMLStyle5_GetIDsOfNames
,
4365 HTMLStyle5_put_msInterpolationMode
,
4366 HTMLStyle5_get_msInterpolationMode
,
4367 HTMLStyle5_put_maxHeight
,
4368 HTMLStyle5_get_maxHeight
,
4369 HTMLStyle5_put_minWidth
,
4370 HTMLStyle5_get_minWidth
,
4371 HTMLStyle5_put_maxWidth
,
4372 HTMLStyle5_get_maxWidth
4375 static inline HTMLStyle
*impl_from_IHTMLStyle6(IHTMLStyle6
*iface
)
4377 return CONTAINING_RECORD(iface
, HTMLStyle
, IHTMLStyle6_iface
);
4380 static HRESULT WINAPI
HTMLStyle6_QueryInterface(IHTMLStyle6
*iface
, REFIID riid
, void **ppv
)
4382 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4384 return IHTMLStyle_QueryInterface(&This
->IHTMLStyle_iface
, riid
, ppv
);
4387 static ULONG WINAPI
HTMLStyle6_AddRef(IHTMLStyle6
*iface
)
4389 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4391 return IHTMLStyle_AddRef(&This
->IHTMLStyle_iface
);
4394 static ULONG WINAPI
HTMLStyle6_Release(IHTMLStyle6
*iface
)
4396 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4398 return IHTMLStyle_Release(&This
->IHTMLStyle_iface
);
4401 static HRESULT WINAPI
HTMLStyle6_GetTypeInfoCount(IHTMLStyle6
*iface
, UINT
*pctinfo
)
4403 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4404 return IDispatchEx_GetTypeInfoCount(&This
->css_style
.dispex
.IDispatchEx_iface
, pctinfo
);
4407 static HRESULT WINAPI
HTMLStyle6_GetTypeInfo(IHTMLStyle6
*iface
, UINT iTInfo
,
4408 LCID lcid
, ITypeInfo
**ppTInfo
)
4410 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4411 return IDispatchEx_GetTypeInfo(&This
->css_style
.dispex
.IDispatchEx_iface
, iTInfo
, lcid
, ppTInfo
);
4414 static HRESULT WINAPI
HTMLStyle6_GetIDsOfNames(IHTMLStyle6
*iface
, REFIID riid
,
4415 LPOLESTR
*rgszNames
, UINT cNames
, LCID lcid
, DISPID
*rgDispId
)
4417 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4418 return IDispatchEx_GetIDsOfNames(&This
->css_style
.dispex
.IDispatchEx_iface
, riid
, rgszNames
, cNames
,
4422 static HRESULT WINAPI
HTMLStyle6_Invoke(IHTMLStyle6
*iface
, DISPID dispIdMember
,
4423 REFIID riid
, LCID lcid
, WORD wFlags
, DISPPARAMS
*pDispParams
,
4424 VARIANT
*pVarResult
, EXCEPINFO
*pExcepInfo
, UINT
*puArgErr
)
4426 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4427 return IDispatchEx_Invoke(&This
->css_style
.dispex
.IDispatchEx_iface
, dispIdMember
, riid
, lcid
,
4428 wFlags
, pDispParams
, pVarResult
, pExcepInfo
, puArgErr
);
4431 static HRESULT WINAPI
HTMLStyle6_put_content(IHTMLStyle6
*iface
, BSTR v
)
4433 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4434 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
4438 static HRESULT WINAPI
HTMLStyle6_get_content(IHTMLStyle6
*iface
, BSTR
*p
)
4440 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4441 FIXME("(%p)->(%p)\n", This
, p
);
4445 static HRESULT WINAPI
HTMLStyle6_put_contentSide(IHTMLStyle6
*iface
, BSTR v
)
4447 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4448 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
4452 static HRESULT WINAPI
HTMLStyle6_get_contentSide(IHTMLStyle6
*iface
, BSTR
*p
)
4454 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4455 FIXME("(%p)->(%p)\n", This
, p
);
4459 static HRESULT WINAPI
HTMLStyle6_put_counterIncrement(IHTMLStyle6
*iface
, BSTR v
)
4461 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4462 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
4466 static HRESULT WINAPI
HTMLStyle6_get_counterIncrement(IHTMLStyle6
*iface
, BSTR
*p
)
4468 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4469 FIXME("(%p)->(%p)\n", This
, p
);
4473 static HRESULT WINAPI
HTMLStyle6_put_counterReset(IHTMLStyle6
*iface
, BSTR v
)
4475 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4476 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
4480 static HRESULT WINAPI
HTMLStyle6_get_counterReset(IHTMLStyle6
*iface
, BSTR
*p
)
4482 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4483 FIXME("(%p)->(%p)\n", This
, p
);
4487 static HRESULT WINAPI
HTMLStyle6_put_outline(IHTMLStyle6
*iface
, BSTR v
)
4489 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4491 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
4493 return set_style_property(&This
->css_style
, STYLEID_OUTLINE
, v
);
4496 static HRESULT WINAPI
HTMLStyle6_get_outline(IHTMLStyle6
*iface
, BSTR
*p
)
4498 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4500 TRACE("(%p)->(%p)\n", This
, p
);
4502 return get_style_property(&This
->css_style
, STYLEID_OUTLINE
, p
);
4505 static HRESULT WINAPI
HTMLStyle6_put_outlineWidth(IHTMLStyle6
*iface
, VARIANT v
)
4507 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4508 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
4512 static HRESULT WINAPI
HTMLStyle6_get_outlineWidth(IHTMLStyle6
*iface
, VARIANT
*p
)
4514 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4515 FIXME("(%p)->(%p)\n", This
, p
);
4519 static HRESULT WINAPI
HTMLStyle6_put_outlineStyle(IHTMLStyle6
*iface
, BSTR v
)
4521 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4522 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
4526 static HRESULT WINAPI
HTMLStyle6_get_outlineStyle(IHTMLStyle6
*iface
, BSTR
*p
)
4528 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4529 FIXME("(%p)->(%p)\n", This
, p
);
4533 static HRESULT WINAPI
HTMLStyle6_put_outlineColor(IHTMLStyle6
*iface
, VARIANT v
)
4535 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4536 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
4540 static HRESULT WINAPI
HTMLStyle6_get_outlineColor(IHTMLStyle6
*iface
, VARIANT
*p
)
4542 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4543 FIXME("(%p)->(%p)\n", This
, p
);
4547 static HRESULT WINAPI
HTMLStyle6_put_boxSizing(IHTMLStyle6
*iface
, BSTR v
)
4549 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4551 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
4553 return set_style_property(&This
->css_style
, STYLEID_BOX_SIZING
, v
);
4556 static HRESULT WINAPI
HTMLStyle6_get_boxSizing(IHTMLStyle6
*iface
, BSTR
*p
)
4558 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4560 TRACE("(%p)->(%p)\n", This
, p
);
4562 return get_style_property(&This
->css_style
, STYLEID_BOX_SIZING
, p
);
4565 static HRESULT WINAPI
HTMLStyle6_put_borderSpacing(IHTMLStyle6
*iface
, BSTR v
)
4567 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4569 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
4571 return set_style_property(&This
->css_style
, STYLEID_BORDER_SPACING
, v
);
4574 static HRESULT WINAPI
HTMLStyle6_get_borderSpacing(IHTMLStyle6
*iface
, BSTR
*p
)
4576 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4578 TRACE("(%p)->(%p)\n", This
, p
);
4580 return get_style_property(&This
->css_style
, STYLEID_BORDER_SPACING
, p
);
4583 static HRESULT WINAPI
HTMLStyle6_put_orphans(IHTMLStyle6
*iface
, VARIANT v
)
4585 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4586 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
4590 static HRESULT WINAPI
HTMLStyle6_get_orphans(IHTMLStyle6
*iface
, VARIANT
*p
)
4592 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4593 FIXME("(%p)->(%p)\n", This
, p
);
4597 static HRESULT WINAPI
HTMLStyle6_put_windows(IHTMLStyle6
*iface
, VARIANT v
)
4599 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4600 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
4604 static HRESULT WINAPI
HTMLStyle6_get_windows(IHTMLStyle6
*iface
, VARIANT
*p
)
4606 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4607 FIXME("(%p)->(%p)\n", This
, p
);
4611 static HRESULT WINAPI
HTMLStyle6_put_pageBreakInside(IHTMLStyle6
*iface
, BSTR v
)
4613 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4614 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
4618 static HRESULT WINAPI
HTMLStyle6_get_pageBreakInside(IHTMLStyle6
*iface
, BSTR
*p
)
4620 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4621 FIXME("(%p)->(%p)\n", This
, p
);
4625 static HRESULT WINAPI
HTMLStyle6_put_emptyCells(IHTMLStyle6
*iface
, BSTR v
)
4627 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4628 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
4632 static HRESULT WINAPI
HTMLStyle6_get_emptyCells(IHTMLStyle6
*iface
, BSTR
*p
)
4634 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4635 FIXME("(%p)->(%p)\n", This
, p
);
4639 static HRESULT WINAPI
HTMLStyle6_put_msBlockProgression(IHTMLStyle6
*iface
, BSTR v
)
4641 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4642 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
4646 static HRESULT WINAPI
HTMLStyle6_get_msBlockProgression(IHTMLStyle6
*iface
, BSTR
*p
)
4648 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4649 FIXME("(%p)->(%p)\n", This
, p
);
4653 static HRESULT WINAPI
HTMLStyle6_put_quotes(IHTMLStyle6
*iface
, BSTR v
)
4655 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4656 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
4660 static HRESULT WINAPI
HTMLStyle6_get_quotes(IHTMLStyle6
*iface
, BSTR
*p
)
4662 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4663 FIXME("(%p)->(%p)\n", This
, p
);
4667 static const IHTMLStyle6Vtbl HTMLStyle6Vtbl
= {
4668 HTMLStyle6_QueryInterface
,
4671 HTMLStyle6_GetTypeInfoCount
,
4672 HTMLStyle6_GetTypeInfo
,
4673 HTMLStyle6_GetIDsOfNames
,
4675 HTMLStyle6_put_content
,
4676 HTMLStyle6_get_content
,
4677 HTMLStyle6_put_contentSide
,
4678 HTMLStyle6_get_contentSide
,
4679 HTMLStyle6_put_counterIncrement
,
4680 HTMLStyle6_get_counterIncrement
,
4681 HTMLStyle6_put_counterReset
,
4682 HTMLStyle6_get_counterReset
,
4683 HTMLStyle6_put_outline
,
4684 HTMLStyle6_get_outline
,
4685 HTMLStyle6_put_outlineWidth
,
4686 HTMLStyle6_get_outlineWidth
,
4687 HTMLStyle6_put_outlineStyle
,
4688 HTMLStyle6_get_outlineStyle
,
4689 HTMLStyle6_put_outlineColor
,
4690 HTMLStyle6_get_outlineColor
,
4691 HTMLStyle6_put_boxSizing
,
4692 HTMLStyle6_get_boxSizing
,
4693 HTMLStyle6_put_borderSpacing
,
4694 HTMLStyle6_get_borderSpacing
,
4695 HTMLStyle6_put_orphans
,
4696 HTMLStyle6_get_orphans
,
4697 HTMLStyle6_put_windows
,
4698 HTMLStyle6_get_windows
,
4699 HTMLStyle6_put_pageBreakInside
,
4700 HTMLStyle6_get_pageBreakInside
,
4701 HTMLStyle6_put_emptyCells
,
4702 HTMLStyle6_get_emptyCells
,
4703 HTMLStyle6_put_msBlockProgression
,
4704 HTMLStyle6_get_msBlockProgression
,
4705 HTMLStyle6_put_quotes
,
4706 HTMLStyle6_get_quotes
4709 static inline CSSStyle
*impl_from_IHTMLCSSStyleDeclaration(IHTMLCSSStyleDeclaration
*iface
)
4711 return CONTAINING_RECORD(iface
, CSSStyle
, IHTMLCSSStyleDeclaration_iface
);
4714 static HRESULT WINAPI
HTMLCSSStyleDeclaration_QueryInterface(IHTMLCSSStyleDeclaration
*iface
,
4715 REFIID riid
, void **ppv
)
4717 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
4718 return IDispatchEx_QueryInterface(&This
->dispex
.IDispatchEx_iface
, riid
, ppv
);
4721 static ULONG WINAPI
HTMLCSSStyleDeclaration_AddRef(IHTMLCSSStyleDeclaration
*iface
)
4723 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
4724 return IDispatchEx_AddRef(&This
->dispex
.IDispatchEx_iface
);
4727 static ULONG WINAPI
HTMLCSSStyleDeclaration_Release(IHTMLCSSStyleDeclaration
*iface
)
4729 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
4730 return IDispatchEx_Release(&This
->dispex
.IDispatchEx_iface
);
4733 static HRESULT WINAPI
HTMLCSSStyleDeclaration_GetTypeInfoCount(IHTMLCSSStyleDeclaration
*iface
,
4736 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
4737 TRACE("(%p)->(%p)\n", This
, pctinfo
);
4738 return IDispatchEx_GetTypeInfoCount(&This
->dispex
.IDispatchEx_iface
, pctinfo
);
4741 static HRESULT WINAPI
HTMLCSSStyleDeclaration_GetTypeInfo(IHTMLCSSStyleDeclaration
*iface
,
4742 UINT iTInfo
, LCID lcid
, ITypeInfo
**ppTInfo
)
4744 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
4745 TRACE("(%p)->(%u %lu %p)\n", This
, iTInfo
, lcid
, ppTInfo
);
4746 return IDispatchEx_GetTypeInfo(&This
->dispex
.IDispatchEx_iface
, iTInfo
, lcid
, ppTInfo
);
4749 static HRESULT WINAPI
HTMLCSSStyleDeclaration_GetIDsOfNames(IHTMLCSSStyleDeclaration
*iface
,
4750 REFIID riid
, LPOLESTR
*rgszNames
, UINT cNames
, LCID lcid
, DISPID
*rgDispId
)
4752 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
4753 TRACE("(%p)->(%p %p %u %lu %p)\n", This
, riid
, rgszNames
, cNames
, lcid
, rgDispId
);
4754 return IDispatchEx_GetIDsOfNames(&This
->dispex
.IDispatchEx_iface
, riid
, rgszNames
,
4755 cNames
, lcid
, rgDispId
);
4758 static HRESULT WINAPI
HTMLCSSStyleDeclaration_Invoke(IHTMLCSSStyleDeclaration
*iface
,
4759 DISPID dispIdMember
, REFIID riid
, LCID lcid
, WORD wFlags
, DISPPARAMS
*pDispParams
,
4760 VARIANT
*pVarResult
, EXCEPINFO
*pExcepInfo
, UINT
*puArgErr
)
4762 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
4763 TRACE("(%p)->(%ld %p %lu %u %p %p %p %p)\n", This
, dispIdMember
, riid
, lcid
, wFlags
,
4764 pDispParams
, pVarResult
, pExcepInfo
, puArgErr
);
4765 return IDispatchEx_Invoke(&This
->dispex
.IDispatchEx_iface
, dispIdMember
, riid
, lcid
,
4766 wFlags
, pDispParams
, pVarResult
, pExcepInfo
, puArgErr
);
4769 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_length(IHTMLCSSStyleDeclaration
*iface
, LONG
*p
)
4771 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
4772 FIXME("(%p)->(%p)\n", This
, p
);
4776 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_parentRule(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
4778 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
4779 FIXME("(%p)->(%p)\n", This
, p
);
4783 static HRESULT WINAPI
HTMLCSSStyleDeclaration_getPropertyValue(IHTMLCSSStyleDeclaration
*iface
, BSTR name
, BSTR
*value
)
4785 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
4786 const style_tbl_entry_t
*style_entry
;
4787 nsAString name_str
, value_str
;
4790 TRACE("(%p)->(%s %p)\n", This
, debugstr_w(name
), value
);
4792 style_entry
= lookup_style_tbl(This
, name
);
4793 nsAString_InitDepend(&name_str
, style_entry
? style_entry
->name
: name
);
4794 nsAString_InitDepend(&value_str
, NULL
);
4795 nsres
= nsIDOMCSSStyleDeclaration_GetPropertyValue(This
->nsstyle
, &name_str
, &value_str
);
4796 nsAString_Finish(&name_str
);
4797 return return_nsstr(nsres
, &value_str
, value
);
4800 static HRESULT WINAPI
HTMLCSSStyleDeclaration_getPropertyPriority(IHTMLCSSStyleDeclaration
*iface
, BSTR bstrPropertyName
, BSTR
*pbstrPropertyPriority
)
4802 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
4803 FIXME("(%p)->(%s %p)\n", This
, debugstr_w(bstrPropertyName
), pbstrPropertyPriority
);
4807 static HRESULT WINAPI
HTMLCSSStyleDeclaration_removeProperty(IHTMLCSSStyleDeclaration
*iface
, BSTR bstrPropertyName
, BSTR
*pbstrPropertyValue
)
4809 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
4810 const style_tbl_entry_t
*style_entry
;
4811 nsAString name_str
, ret_str
;
4814 TRACE("(%p)->(%s %p)\n", This
, debugstr_w(bstrPropertyName
), pbstrPropertyValue
);
4816 style_entry
= lookup_style_tbl(This
, bstrPropertyName
);
4817 nsAString_InitDepend(&name_str
, style_entry
? style_entry
->name
: bstrPropertyName
);
4818 nsAString_Init(&ret_str
, NULL
);
4819 nsres
= nsIDOMCSSStyleDeclaration_RemoveProperty(This
->nsstyle
, &name_str
, &ret_str
);
4820 nsAString_Finish(&name_str
);
4821 return return_nsstr(nsres
, &ret_str
, pbstrPropertyValue
);
4824 static HRESULT WINAPI
HTMLCSSStyleDeclaration_setProperty(IHTMLCSSStyleDeclaration
*iface
, BSTR name
, VARIANT
*value
, VARIANT
*priority
)
4826 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
4827 nsAString priority_str
, name_str
, value_str
;
4828 const style_tbl_entry_t
*style_entry
;
4832 TRACE("(%p)->(%s %s %s)\n", This
, debugstr_w(name
), debugstr_variant(value
), debugstr_variant(priority
));
4834 style_entry
= lookup_style_tbl(This
, name
);
4835 hres
= var_to_styleval(This
, value
, style_entry
, &value_str
);
4840 if(V_VT(priority
) != VT_BSTR
) {
4841 WARN("invalid priority type %s\n", debugstr_variant(priority
));
4842 nsAString_Finish(&value_str
);
4845 nsAString_InitDepend(&priority_str
, V_BSTR(priority
));
4847 nsAString_InitDepend(&priority_str
, NULL
);
4850 nsAString_InitDepend(&name_str
, style_entry
? style_entry
->name
: name
);
4851 nsres
= nsIDOMCSSStyleDeclaration_SetProperty(This
->nsstyle
, &name_str
, &value_str
, &priority_str
);
4852 nsAString_Finish(&name_str
);
4853 nsAString_Finish(&value_str
);
4854 nsAString_Finish(&priority_str
);
4855 if(NS_FAILED(nsres
))
4856 WARN("SetProperty failed: %08lx\n", nsres
);
4857 return map_nsresult(nsres
);
4860 static HRESULT WINAPI
HTMLCSSStyleDeclaration_item(IHTMLCSSStyleDeclaration
*iface
, LONG index
, BSTR
*pbstrPropertyName
)
4862 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
4863 FIXME("(%p)->(%ld %p)\n", This
, index
, pbstrPropertyName
);
4867 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_fontFamily(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
4869 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
4870 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
4871 return set_style_property(This
, STYLEID_FONT_FAMILY
, v
);
4874 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_fontFamily(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
4876 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
4877 TRACE("(%p)->(%p)\n", This
, p
);
4878 return get_style_property(This
, STYLEID_FONT_FAMILY
, p
);
4881 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_fontStyle(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
4883 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
4884 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
4885 return set_style_property(This
, STYLEID_FONT_STYLE
, v
);
4888 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_fontStyle(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
4890 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
4891 TRACE("(%p)->(%p)\n", This
, p
);
4892 return get_style_property(This
, STYLEID_FONT_STYLE
, p
);
4895 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_fontVariant(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
4897 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
4898 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
4899 return set_style_property(This
, STYLEID_FONT_VARIANT
, v
);
4902 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_fontVariant(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
4904 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
4905 TRACE("(%p)->(%p)\n", This
, p
);
4906 return get_style_property(This
, STYLEID_FONT_VARIANT
, p
);
4909 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_fontWeight(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
4911 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
4912 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
4913 return set_style_property(This
, STYLEID_FONT_WEIGHT
, v
);
4916 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_fontWeight(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
4918 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
4919 TRACE("(%p)->(%p)\n", This
, p
);
4920 return get_style_property(This
, STYLEID_FONT_WEIGHT
, p
);
4923 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_fontSize(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
4925 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
4926 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
4927 return set_style_property_var(This
, STYLEID_FONT_SIZE
, &v
);
4930 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_fontSize(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
4932 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
4933 TRACE("(%p)->(%p)\n", This
, p
);
4934 return get_style_property_var(This
, STYLEID_FONT_SIZE
, p
);
4937 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_font(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
4939 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
4940 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
4944 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_font(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
4946 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
4947 FIXME("(%p)->(%p)\n", This
, p
);
4951 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_color(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
4953 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
4954 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
4955 return set_style_property_var(This
, STYLEID_COLOR
, &v
);
4958 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_color(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
4960 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
4961 TRACE("(%p)->(%p)\n", This
, p
);
4962 return get_style_property_var(This
, STYLEID_COLOR
, p
);
4965 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_background(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
4967 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
4968 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
4969 return set_style_property(This
, STYLEID_BACKGROUND
, v
);
4972 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_background(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
4974 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
4975 TRACE("(%p)->(%p)\n", This
, p
);
4976 return get_style_property(This
, STYLEID_BACKGROUND
, p
);
4979 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_backgroundColor(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
4981 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
4982 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
4983 return set_style_property_var(This
, STYLEID_BACKGROUND_COLOR
, &v
);
4986 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_backgroundColor(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
4988 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
4989 TRACE("(%p)->(%p)\n", This
, p
);
4990 return get_style_property_var(This
, STYLEID_BACKGROUND_COLOR
, p
);
4993 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_backgroundImage(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
4995 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
4996 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
4997 return set_style_property(This
, STYLEID_BACKGROUND_IMAGE
, v
);
5000 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_backgroundImage(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
5002 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5003 TRACE("(%p)->(%p)\n", This
, p
);
5004 return get_style_property(This
, STYLEID_BACKGROUND_IMAGE
, p
);
5007 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_backgroundRepeat(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
5009 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5010 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
5011 return set_style_property(This
, STYLEID_BACKGROUND_REPEAT
, v
);
5014 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_backgroundRepeat(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
5016 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5017 TRACE("(%p)->(%p)\n", This
, p
);
5018 return get_style_property(This
, STYLEID_BACKGROUND_REPEAT
, p
);
5021 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_backgroundAttachment(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
5023 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5024 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
5025 return set_style_property(This
, STYLEID_BACKGROUND_ATTACHMENT
, v
);
5028 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_backgroundAttachment(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
5030 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5031 TRACE("(%p)->(%p)\n", This
, p
);
5032 return get_style_property(This
, STYLEID_BACKGROUND_ATTACHMENT
, p
);
5035 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_backgroundPosition(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
5037 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5038 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
5039 return set_style_property(This
, STYLEID_BACKGROUND_POSITION
, v
);
5042 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_backgroundPosition(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
5044 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5045 TRACE("(%p)->(%p)\n", This
, p
);
5046 return get_style_property(This
, STYLEID_BACKGROUND_POSITION
, p
);
5049 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_backgroundPositionX(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
5051 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5052 nsAString pos_str
, val_str
;
5058 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
5060 hres
= var_to_styleval(This
, &v
, &style_tbl
[STYLEID_BACKGROUND_POSITION_X
], &val_str
);
5064 nsAString_GetData(&val_str
, &val
);
5065 val_len
= val
? lstrlenW(val
) : 0;
5067 nsAString_Init(&pos_str
, NULL
);
5068 hres
= get_nsstyle_attr_nsval(This
->nsstyle
, STYLEID_BACKGROUND_POSITION
, &pos_str
);
5069 if(SUCCEEDED(hres
)) {
5070 const PRUnichar
*pos
, *posy
;
5073 nsAString_GetData(&pos_str
, &pos
);
5074 posy
= wcschr(pos
, ' ');
5076 TRACE("no space in %s\n", debugstr_w(pos
));
5080 posy_len
= lstrlenW(posy
);
5081 pos_val
= malloc((val_len
+ posy_len
+ 1) * sizeof(WCHAR
));
5084 memcpy(pos_val
, val
, val_len
*sizeof(WCHAR
));
5086 memcpy(pos_val
+val_len
, posy
, posy_len
*sizeof(WCHAR
));
5087 pos_val
[val_len
+posy_len
] = 0;
5089 hres
= E_OUTOFMEMORY
;
5092 nsAString_Finish(&pos_str
);
5093 nsAString_Finish(&val_str
);
5097 TRACE("setting position to %s\n", debugstr_w(pos_val
));
5098 hres
= set_style_property(This
, STYLEID_BACKGROUND_POSITION
, pos_val
);
5103 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_backgroundPositionX(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
5105 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5110 TRACE("(%p)->(%p)\n", This
, p
);
5112 nsAString_Init(&pos_str
, NULL
);
5113 hres
= get_nsstyle_attr_nsval(This
->nsstyle
, STYLEID_BACKGROUND_POSITION
, &pos_str
);
5114 if(SUCCEEDED(hres
)) {
5115 const PRUnichar
*pos
, *space
;
5117 nsAString_GetData(&pos_str
, &pos
);
5118 space
= wcschr(pos
, ' ');
5120 WARN("no space in %s\n", debugstr_w(pos
));
5121 space
= pos
+ lstrlenW(pos
);
5125 ret
= SysAllocStringLen(pos
, space
-pos
);
5127 hres
= E_OUTOFMEMORY
;
5132 nsAString_Finish(&pos_str
);
5136 TRACE("returning %s\n", debugstr_w(ret
));
5142 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_backgroundPositionY(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
5144 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5145 nsAString pos_str
, val_str
;
5151 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
5153 hres
= var_to_styleval(This
, &v
, &style_tbl
[STYLEID_BACKGROUND_POSITION
], &val_str
);
5157 nsAString_GetData(&val_str
, &val
);
5158 val_len
= val
? lstrlenW(val
) : 0;
5160 nsAString_Init(&pos_str
, NULL
);
5161 hres
= get_nsstyle_attr_nsval(This
->nsstyle
, STYLEID_BACKGROUND_POSITION
, &pos_str
);
5162 if(SUCCEEDED(hres
)) {
5163 const PRUnichar
*pos
, *space
;
5166 nsAString_GetData(&pos_str
, &pos
);
5167 space
= wcschr(pos
, ' ');
5171 TRACE("no space in %s\n", debugstr_w(pos
));
5173 space
= pos
+ ARRAY_SIZE(L
"0px ")-1;
5176 posx_len
= space
-pos
;
5178 pos_val
= malloc((posx_len
+ val_len
+ 1) * sizeof(WCHAR
));
5180 memcpy(pos_val
, pos
, posx_len
*sizeof(WCHAR
));
5182 memcpy(pos_val
+posx_len
, val
, val_len
*sizeof(WCHAR
));
5183 pos_val
[posx_len
+val_len
] = 0;
5185 hres
= E_OUTOFMEMORY
;
5188 nsAString_Finish(&pos_str
);
5189 nsAString_Finish(&val_str
);
5193 TRACE("setting position to %s\n", debugstr_w(pos_val
));
5194 hres
= set_style_property(This
, STYLEID_BACKGROUND_POSITION
, pos_val
);
5199 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_backgroundPositionY(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
5201 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5206 TRACE("(%p)->(%p)\n", This
, p
);
5208 nsAString_Init(&pos_str
, NULL
);
5209 hres
= get_nsstyle_attr_nsval(This
->nsstyle
, STYLEID_BACKGROUND_POSITION
, &pos_str
);
5210 if(SUCCEEDED(hres
)) {
5211 const PRUnichar
*pos
, *posy
;
5213 nsAString_GetData(&pos_str
, &pos
);
5214 posy
= wcschr(pos
, ' ');
5216 ret
= SysAllocString(posy
+1);
5218 hres
= E_OUTOFMEMORY
;
5223 nsAString_Finish(&pos_str
);
5227 TRACE("returning %s\n", debugstr_w(ret
));
5233 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_wordSpacing(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
5235 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5236 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
5237 return set_style_property_var(This
, STYLEID_WORD_SPACING
, &v
);
5240 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_wordSpacing(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
5242 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5243 TRACE("(%p)->(%p)\n", This
, p
);
5244 return get_style_property_var(This
, STYLEID_WORD_SPACING
, p
);
5247 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_letterSpacing(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
5249 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5250 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
5251 return set_style_property_var(This
, STYLEID_LETTER_SPACING
, &v
);
5254 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_letterSpacing(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
5256 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5257 TRACE("(%p)->(%p)\n", This
, p
);
5258 return get_style_property_var(This
, STYLEID_LETTER_SPACING
, p
);
5261 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_textDecoration(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
5263 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5264 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
5265 return set_style_property(This
, STYLEID_TEXT_DECORATION
, v
);
5268 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_textDecoration(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
5270 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5271 TRACE("(%p)->(%p)\n", This
, p
);
5272 return get_style_property(This
, STYLEID_TEXT_DECORATION
, p
);
5275 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_verticalAlign(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
5277 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5278 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
5279 return set_style_property_var(This
, STYLEID_VERTICAL_ALIGN
, &v
);
5282 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_verticalAlign(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
5284 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5285 TRACE("(%p)->(%p)\n", This
, p
);
5286 return get_style_property_var(This
, STYLEID_VERTICAL_ALIGN
, p
);
5289 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_textTransform(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
5291 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5292 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
5293 return set_style_property(This
, STYLEID_TEXT_TRANSFORM
, v
);
5296 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_textTransform(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
5298 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5299 TRACE("(%p)->(%p)\n", This
, p
);
5300 return get_style_property(This
, STYLEID_TEXT_TRANSFORM
, p
);
5303 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_textAlign(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
5305 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5306 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
5307 return set_style_property(This
, STYLEID_TEXT_ALIGN
, v
);
5310 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_textAlign(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
5312 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5313 TRACE("(%p)->(%p)\n", This
, p
);
5314 return get_style_property(This
, STYLEID_TEXT_ALIGN
, p
);
5317 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_textIndent(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
5319 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5320 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
5321 return set_style_property_var(This
, STYLEID_TEXT_INDENT
, &v
);
5324 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_textIndent(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
5326 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5327 TRACE("(%p)->(%p)\n", This
, p
);
5328 return get_style_property_var(This
, STYLEID_TEXT_INDENT
, p
);
5331 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_lineHeight(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
5333 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5334 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
5335 return set_style_property_var(This
, STYLEID_LINE_HEIGHT
, &v
);
5338 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_lineHeight(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
5340 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5341 TRACE("(%p)->(%p)\n", This
, p
);
5342 return get_style_property_var(This
, STYLEID_LINE_HEIGHT
, p
);
5345 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_marginTop(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
5347 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5348 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
5349 return set_style_property_var(This
, STYLEID_MARGIN_TOP
, &v
);
5352 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_marginTop(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
5354 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5355 TRACE("(%p)->(%p)\n", This
, p
);
5356 return get_style_property_var(This
, STYLEID_MARGIN_TOP
, p
);
5359 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_marginRight(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
5361 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5362 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
5363 return set_style_property_var(This
, STYLEID_MARGIN_RIGHT
, &v
);
5366 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_marginRight(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
5368 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5369 TRACE("(%p)->(%p)\n", This
, p
);
5370 return get_style_property_var(This
, STYLEID_MARGIN_RIGHT
, p
);
5373 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_marginBottom(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
5375 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5376 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
5377 return set_style_property_var(This
, STYLEID_MARGIN_BOTTOM
, &v
);
5380 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_marginBottom(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
5382 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5383 TRACE("(%p)->(%p)\n", This
, p
);
5384 return get_style_property_var(This
, STYLEID_MARGIN_BOTTOM
, p
);
5387 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_marginLeft(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
5389 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5390 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
5391 return set_style_property_var(This
, STYLEID_MARGIN_LEFT
, &v
);
5394 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_marginLeft(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
5396 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5397 TRACE("(%p)->(%p)\n", This
, p
);
5398 return get_style_property_var(This
, STYLEID_MARGIN_LEFT
, p
);
5401 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_margin(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
5403 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5404 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
5405 return set_style_property(This
, STYLEID_MARGIN
, v
);
5408 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_margin(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
5410 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5411 TRACE("(%p)->(%p)\n", This
, p
);
5412 return get_style_property(This
, STYLEID_MARGIN
, p
);
5415 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_paddingTop(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
5417 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5418 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
5419 return set_style_property_var(This
, STYLEID_PADDING_TOP
, &v
);
5422 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_paddingTop(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
5424 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5425 TRACE("(%p)->(%p)\n", This
, p
);
5426 return get_style_property_var(This
, STYLEID_PADDING_TOP
, p
);
5429 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_paddingRight(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
5431 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5432 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
5433 return set_style_property_var(This
, STYLEID_PADDING_RIGHT
, &v
);
5436 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_paddingRight(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
5438 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5439 TRACE("(%p)->(%p)\n", This
, p
);
5440 return get_style_property_var(This
, STYLEID_PADDING_RIGHT
, p
);
5443 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_paddingBottom(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
5445 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5446 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
5447 return set_style_property_var(This
, STYLEID_PADDING_BOTTOM
, &v
);
5450 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_paddingBottom(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
5452 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5453 TRACE("(%p)->(%p)\n", This
, p
);
5454 return get_style_property_var(This
, STYLEID_PADDING_BOTTOM
, p
);
5457 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_paddingLeft(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
5459 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5460 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
5461 return set_style_property_var(This
, STYLEID_PADDING_LEFT
, &v
);
5464 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_paddingLeft(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
5466 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5467 TRACE("(%p)->(%p)\n", This
, p
);
5468 return get_style_property_var(This
, STYLEID_PADDING_LEFT
, p
);
5471 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_padding(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
5473 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5474 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
5475 return set_style_property(This
, STYLEID_PADDING
, v
);
5478 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_padding(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
5480 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5481 TRACE("(%p)->(%p)\n", This
, p
);
5482 return get_style_property(This
, STYLEID_PADDING
, p
);
5485 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_border(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
5487 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5488 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
5489 return set_style_property(This
, STYLEID_BORDER
, v
);
5492 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_border(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
5494 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5495 TRACE("(%p)->(%p)\n", This
, p
);
5496 return get_style_property(This
, STYLEID_BORDER
, p
);
5499 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_borderTop(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
5501 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5502 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
5503 return set_style_property(This
, STYLEID_BORDER_TOP
, v
);
5506 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_borderTop(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
5508 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5509 TRACE("(%p)->(%p)\n", This
, p
);
5510 return get_style_property(This
, STYLEID_BORDER_TOP
, p
);
5513 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_borderRight(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
5515 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5516 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
5517 return set_style_property(This
, STYLEID_BORDER_RIGHT
, v
);
5520 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_borderRight(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
5522 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5523 TRACE("(%p)->(%p)\n", This
, p
);
5524 return get_style_property(This
, STYLEID_BORDER_RIGHT
, p
);
5527 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_borderBottom(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
5529 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5530 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
5531 return set_style_property(This
, STYLEID_BORDER_BOTTOM
, v
);
5534 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_borderBottom(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
5536 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5537 TRACE("(%p)->(%p)\n", This
, p
);
5538 return get_style_property(This
, STYLEID_BORDER_BOTTOM
, p
);
5541 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_borderLeft(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
5543 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5544 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
5545 return set_style_property(This
, STYLEID_BORDER_LEFT
, v
);
5548 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_borderLeft(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
5550 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5551 TRACE("(%p)->(%p)\n", This
, p
);
5552 return get_style_property(This
, STYLEID_BORDER_LEFT
, p
);
5555 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_borderColor(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
5557 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5558 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
5559 return set_style_property(This
, STYLEID_BORDER_COLOR
, v
);
5562 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_borderColor(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
5564 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5565 TRACE("(%p)->(%p)\n", This
, p
);
5566 return get_style_property(This
, STYLEID_BORDER_COLOR
, p
);
5569 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_borderTopColor(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
5571 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5572 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
5573 return set_style_property_var(This
, STYLEID_BORDER_TOP_COLOR
, &v
);
5576 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_borderTopColor(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
5578 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5579 TRACE("(%p)->(%p)\n", This
, p
);
5580 return get_style_property_var(This
, STYLEID_BORDER_TOP_COLOR
, p
);
5583 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_borderRightColor(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
5585 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5586 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
5587 return set_style_property_var(This
, STYLEID_BORDER_RIGHT_COLOR
, &v
);
5590 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_borderRightColor(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
5592 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5593 TRACE("(%p)->(%p)\n", This
, p
);
5594 return get_style_property_var(This
, STYLEID_BORDER_RIGHT_COLOR
, p
);
5597 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_borderBottomColor(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
5599 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5600 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
5601 return set_style_property_var(This
, STYLEID_BORDER_BOTTOM_COLOR
, &v
);
5604 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_borderBottomColor(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
5606 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5607 TRACE("(%p)->(%p)\n", This
, p
);
5608 return get_style_property_var(This
, STYLEID_BORDER_BOTTOM_COLOR
, p
);
5611 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_borderLeftColor(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
5613 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5614 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
5615 return set_style_property_var(This
, STYLEID_BORDER_LEFT_COLOR
, &v
);
5618 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_borderLeftColor(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
5620 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5621 TRACE("(%p)->(%p)\n", This
, p
);
5622 return get_style_property_var(This
, STYLEID_BORDER_LEFT_COLOR
, p
);
5625 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_borderWidth(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
5627 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5628 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
5629 return set_style_property(This
, STYLEID_BORDER_WIDTH
, v
);
5632 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_borderWidth(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
5634 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5635 TRACE("(%p)->(%p)\n", This
, p
);
5636 return get_style_property(This
, STYLEID_BORDER_WIDTH
, p
);
5639 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_borderTopWidth(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
5641 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5642 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
5643 return set_style_property_var(This
, STYLEID_BORDER_TOP_WIDTH
, &v
);
5646 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_borderTopWidth(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
5648 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5649 TRACE("(%p)->(%p)\n", This
, p
);
5650 return get_style_property_var(This
, STYLEID_BORDER_TOP_WIDTH
, p
);
5653 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_borderRightWidth(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
5655 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5656 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
5657 return set_style_property_var(This
, STYLEID_BORDER_RIGHT_WIDTH
, &v
);
5660 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_borderRightWidth(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
5662 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5663 TRACE("(%p)->(%p)\n", This
, p
);
5664 return get_style_property_var(This
, STYLEID_BORDER_RIGHT_WIDTH
, p
);
5667 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_borderBottomWidth(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
5669 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5670 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
5671 return set_style_property_var(This
, STYLEID_BORDER_BOTTOM_WIDTH
, &v
);
5674 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_borderBottomWidth(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
5676 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5677 TRACE("(%p)->(%p)\n", This
, p
);
5678 return get_style_property_var(This
, STYLEID_BORDER_BOTTOM_WIDTH
, p
);
5681 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_borderLeftWidth(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
5683 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5684 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
5685 return set_style_property_var(This
, STYLEID_BORDER_LEFT_WIDTH
, &v
);
5688 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_borderLeftWidth(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
5690 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5691 TRACE("(%p)->(%p)\n", This
, p
);
5692 return get_style_property_var(This
, STYLEID_BORDER_LEFT_WIDTH
, p
);
5695 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_borderStyle(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
5697 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5698 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
5699 return set_style_property(This
, STYLEID_BORDER_STYLE
, v
);
5702 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_borderStyle(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
5704 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5705 TRACE("(%p)->(%p)\n", This
, p
);
5706 return get_style_property(This
, STYLEID_BORDER_STYLE
, p
);
5709 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_borderTopStyle(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
5711 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5712 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
5713 return set_style_property(This
, STYLEID_BORDER_TOP_STYLE
, v
);
5716 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_borderTopStyle(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
5718 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5719 TRACE("(%p)->(%p)\n", This
, p
);
5720 return get_style_property(This
, STYLEID_BORDER_TOP_STYLE
, p
);
5723 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_borderRightStyle(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
5725 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5726 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
5727 return set_style_property(This
, STYLEID_BORDER_RIGHT_STYLE
, v
);
5730 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_borderRightStyle(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
5732 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5733 TRACE("(%p)->(%p)\n", This
, p
);
5734 return get_style_property(This
, STYLEID_BORDER_RIGHT_STYLE
, p
);
5737 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_borderBottomStyle(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
5739 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5740 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
5741 return set_style_property(This
, STYLEID_BORDER_BOTTOM_STYLE
, v
);
5744 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_borderBottomStyle(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
5746 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5747 TRACE("(%p)->(%p)\n", This
, p
);
5748 return get_style_property(This
, STYLEID_BORDER_BOTTOM_STYLE
, p
);
5751 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_borderLeftStyle(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
5753 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5754 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
5755 return set_style_property(This
, STYLEID_BORDER_LEFT_STYLE
, v
);
5758 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_borderLeftStyle(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
5760 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5761 TRACE("(%p)->(%p)\n", This
, p
);
5762 return get_style_property(This
, STYLEID_BORDER_LEFT_STYLE
, p
);
5765 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_width(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
5767 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5768 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
5769 return set_style_property_var(This
, STYLEID_WIDTH
, &v
);
5772 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_width(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
5774 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5775 TRACE("(%p)->(%p)\n", This
, p
);
5776 return get_style_property_var(This
, STYLEID_WIDTH
, p
);
5779 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_height(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
5781 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5782 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
5783 return set_style_property_var(This
, STYLEID_HEIGHT
, &v
);
5786 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_height(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
5788 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5789 TRACE("(%p)->(%p)\n", This
, p
);
5790 return get_style_property_var(This
, STYLEID_HEIGHT
, p
);
5793 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_styleFloat(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
5795 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5796 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
5797 return set_style_property(This
, STYLEID_FLOAT
, v
);
5800 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_styleFloat(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
5802 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5803 TRACE("(%p)->(%p)\n", This
, p
);
5804 return get_style_property(This
, STYLEID_FLOAT
, p
);
5807 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_clear(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
5809 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5810 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
5811 return set_style_property(This
, STYLEID_CLEAR
, v
);
5814 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_clear(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
5816 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5817 TRACE("(%p)->(%p)\n", This
, p
);
5818 return get_style_property(This
, STYLEID_CLEAR
, p
);
5821 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_display(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
5823 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5824 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
5825 return set_style_property(This
, STYLEID_DISPLAY
, v
);
5828 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_display(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
5830 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5831 TRACE("(%p)->(%p)\n", This
, p
);
5832 return get_style_property(This
, STYLEID_DISPLAY
, p
);
5835 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_visibility(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
5837 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5838 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
5839 return set_style_property(This
, STYLEID_VISIBILITY
, v
);
5842 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_visibility(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
5844 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5845 TRACE("(%p)->(%p)\n", This
, p
);
5846 return get_style_property(This
, STYLEID_VISIBILITY
, p
);
5849 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_listStyleType(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
5851 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5852 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
5856 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_listStyleType(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
5858 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5859 FIXME("(%p)->(%p)\n", This
, p
);
5863 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_listStylePosition(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
5865 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5866 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
5870 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_listStylePosition(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
5872 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5873 FIXME("(%p)->(%p)\n", This
, p
);
5877 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_listStyleImage(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
5879 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5880 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
5884 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_listStyleImage(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
5886 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5887 FIXME("(%p)->(%p)\n", This
, p
);
5891 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_listStyle(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
5893 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5894 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
5895 return set_style_property(This
, STYLEID_LIST_STYLE
, v
);
5898 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_listStyle(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
5900 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5901 TRACE("(%p)->(%p)\n", This
, p
);
5902 return get_style_property(This
, STYLEID_LIST_STYLE
, p
);
5905 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_whiteSpace(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
5907 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5908 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
5909 return set_style_property(This
, STYLEID_WHITE_SPACE
, v
);
5912 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_whiteSpace(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
5914 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5915 TRACE("(%p)->(%p)\n", This
, p
);
5916 return get_style_property(This
, STYLEID_WHITE_SPACE
, p
);
5919 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_top(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
5921 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5922 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
5923 return set_style_property_var(This
, STYLEID_TOP
, &v
);
5926 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_top(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
5928 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5929 TRACE("(%p)->(%p)\n", This
, p
);
5930 return get_style_property_var(This
, STYLEID_TOP
, p
);
5933 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_left(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
5935 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5936 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
5937 return set_style_property_var(This
, STYLEID_LEFT
, &v
);
5940 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_left(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
5942 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5943 TRACE("(%p)->(%p)\n", This
, p
);
5944 return get_style_property_var(This
, STYLEID_LEFT
, p
);
5947 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_zIndex(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
5949 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5950 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
5951 return set_style_property_var(This
, STYLEID_Z_INDEX
, &v
);
5954 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_zIndex(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
5956 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5957 TRACE("(%p)->(%p)\n", This
, p
);
5958 return get_style_property_var(This
, STYLEID_Z_INDEX
, p
);
5961 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_overflow(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
5963 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5964 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
5965 return set_style_property(This
, STYLEID_OVERFLOW
, v
);
5968 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_overflow(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
5970 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5971 TRACE("(%p)->(%p)\n", This
, p
);
5972 return get_style_property(This
, STYLEID_OVERFLOW
, p
);
5975 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_pageBreakBefore(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
5977 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5978 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
5979 return set_style_property(This
, STYLEID_PAGE_BREAK_BEFORE
, v
);
5982 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_pageBreakBefore(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
5984 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5985 TRACE("(%p)->(%p)\n", This
, p
);
5986 return get_style_property(This
, STYLEID_PAGE_BREAK_BEFORE
, p
);
5989 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_pageBreakAfter(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
5991 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5992 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
5993 return set_style_property(This
, STYLEID_PAGE_BREAK_AFTER
, v
);
5996 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_pageBreakAfter(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
5998 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5999 TRACE("(%p)->(%p)\n", This
, p
);
6000 return get_style_property(This
, STYLEID_PAGE_BREAK_AFTER
, p
);
6003 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_cssText(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6005 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6009 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
6011 nsAString_InitDepend(&text_str
, v
);
6012 nsres
= nsIDOMCSSStyleDeclaration_SetCssText(This
->nsstyle
, &text_str
);
6013 nsAString_Finish(&text_str
);
6014 if(NS_FAILED(nsres
)) {
6015 FIXME("SetCssStyle failed: %08lx\n", nsres
);
6022 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_cssText(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6024 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6028 TRACE("(%p)->(%p)\n", This
, p
);
6030 /* NOTE: Quicks mode should use different formatting (uppercase, no ';' at the end of rule). */
6031 nsAString_Init(&text_str
, NULL
);
6032 nsres
= nsIDOMCSSStyleDeclaration_GetCssText(This
->nsstyle
, &text_str
);
6033 return return_nsstr(nsres
, &text_str
, p
);
6036 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_cursor(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6038 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6039 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
6040 return set_style_property(This
, STYLEID_CURSOR
, v
);
6043 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_cursor(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6045 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6046 TRACE("(%p)->(%p)\n", This
, p
);
6047 return get_style_property(This
, STYLEID_CURSOR
, p
);
6050 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_clip(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6052 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6053 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
6054 return set_style_property(This
, STYLEID_CLIP
, v
);
6057 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_clip(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6059 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6060 TRACE("(%p)->(%p)\n", This
, p
);
6061 return get_style_property(This
, STYLEID_CLIP
, p
);
6064 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_filter(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6066 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6067 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
6068 return set_style_property(This
, STYLEID_FILTER
, v
);
6071 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_filter(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6073 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6074 TRACE("(%p)->(%p)\n", This
, p
);
6075 return get_style_property(This
, STYLEID_FILTER
, p
);
6078 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_tableLayout(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6080 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6081 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
6082 return set_style_property(This
, STYLEID_TABLE_LAYOUT
, v
);
6085 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_tableLayout(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6087 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6088 TRACE("(%p)->(%p)\n", This
, p
);
6089 return get_style_property(This
, STYLEID_TABLE_LAYOUT
, p
);
6092 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_borderCollapse(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6094 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6095 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
6096 return set_style_property(This
, STYLEID_BORDER_COLLAPSE
, v
);
6099 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_borderCollapse(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6101 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6102 TRACE("(%p)->(%p)\n", This
, p
);
6103 return get_style_property(This
, STYLEID_BORDER_COLLAPSE
, p
);
6106 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_direction(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6108 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6109 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
6110 return set_style_property(This
, STYLEID_DIRECTION
, v
);
6113 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_direction(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6115 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6116 TRACE("(%p)->(%p)\n", This
, p
);
6117 return get_style_property(This
, STYLEID_DIRECTION
, p
);
6120 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_behavior(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6122 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6123 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
6127 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_behavior(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6129 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6130 FIXME("(%p)->(%p)\n", This
, p
);
6134 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_position(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6136 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6137 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
6138 return set_style_property(This
, STYLEID_POSITION
, v
);
6141 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_position(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6143 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6144 TRACE("(%p)->(%p)\n", This
, p
);
6145 return get_style_property(This
, STYLEID_POSITION
, p
);
6148 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_unicodeBidi(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6150 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6151 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
6155 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_unicodeBidi(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6157 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6158 FIXME("(%p)->(%p)\n", This
, p
);
6162 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_bottom(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
6164 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6165 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
6166 return set_style_property_var(This
, STYLEID_BOTTOM
, &v
);
6169 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_bottom(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
6171 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6172 TRACE("(%p)->(%p)\n", This
, p
);
6173 return get_style_property_var(This
, STYLEID_BOTTOM
, p
);
6176 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_right(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
6178 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6179 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
6180 return set_style_property_var(This
, STYLEID_RIGHT
, &v
);
6183 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_right(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
6185 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6186 TRACE("(%p)->(%p)\n", This
, p
);
6187 return get_style_property_var(This
, STYLEID_RIGHT
, p
);
6190 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_imeMode(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6192 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6193 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
6197 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_imeMode(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6199 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6200 FIXME("(%p)->(%p)\n", This
, p
);
6204 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_rubyAlign(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6206 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6207 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
6211 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_rubyAlign(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6213 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6214 FIXME("(%p)->(%p)\n", This
, p
);
6218 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_rubyPosition(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6220 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6221 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
6225 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_rubyPosition(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6227 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6228 FIXME("(%p)->(%p)\n", This
, p
);
6232 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_rubyOverhang(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6234 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6235 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
6239 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_rubyOverhang(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6241 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6242 FIXME("(%p)->(%p)\n", This
, p
);
6246 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_layoutGridChar(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
6248 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6249 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
6253 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_layoutGridChar(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
6255 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6256 FIXME("(%p)->(%p)\n", This
, p
);
6260 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_layoutGridLine(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
6262 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6263 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
6267 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_layoutGridLine(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
6269 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6270 FIXME("(%p)->(%p)\n", This
, p
);
6274 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_layoutGridMode(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6276 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6277 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
6281 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_layoutGridMode(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6283 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6284 FIXME("(%p)->(%p)\n", This
, p
);
6288 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_layoutGridType(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6290 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6291 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
6295 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_layoutGridType(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6297 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6298 FIXME("(%p)->(%p)\n", This
, p
);
6302 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_layoutGrid(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6304 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6305 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
6309 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_layoutGrid(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6311 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6312 FIXME("(%p)->(%p)\n", This
, p
);
6316 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_textAutospace(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6318 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6319 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
6323 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_textAutospace(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6325 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6326 FIXME("(%p)->(%p)\n", This
, p
);
6330 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_wordBreak(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6332 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6333 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
6337 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_wordBreak(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6339 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6340 FIXME("(%p)->(%p)\n", This
, p
);
6344 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_lineBreak(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6346 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6347 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
6351 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_lineBreak(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6353 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6354 FIXME("(%p)->(%p)\n", This
, p
);
6358 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_textJustify(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6360 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6361 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
6365 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_textJustify(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6367 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6368 FIXME("(%p)->(%p)\n", This
, p
);
6372 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_textJustifyTrim(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6374 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6375 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
6379 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_textJustifyTrim(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6381 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6382 FIXME("(%p)->(%p)\n", This
, p
);
6386 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_textKashida(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
6388 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6389 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
6393 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_textKashida(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
6395 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6396 FIXME("(%p)->(%p)\n", This
, p
);
6400 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_overflowX(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6402 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6403 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
6404 return set_style_property(This
, STYLEID_OVERFLOW_X
, v
);
6407 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_overflowX(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6409 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6410 TRACE("(%p)->(%p)\n", This
, p
);
6411 return get_style_property(This
, STYLEID_OVERFLOW_X
, p
);
6414 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_overflowY(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6416 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6417 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
6418 return set_style_property(This
, STYLEID_OVERFLOW_Y
, v
);
6421 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_overflowY(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6423 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6424 TRACE("(%p)->(%p)\n", This
, p
);
6425 return get_style_property(This
, STYLEID_OVERFLOW_Y
, p
);
6428 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_accelerator(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6430 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6431 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
6435 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_accelerator(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6437 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6438 FIXME("(%p)->(%p)\n", This
, p
);
6442 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_layoutFlow(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6444 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6445 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
6449 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_layoutFlow(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6451 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6452 FIXME("(%p)->(%p)\n", This
, p
);
6456 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_zoom(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
6458 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6462 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
6464 /* zoom property is IE CSS extension that is mostly used as a hack to workaround IE bugs.
6465 * The value is set to 1 then. We can safely ignore setting zoom to 1. */
6466 if(V_VT(&v
) != VT_I4
|| V_I4(&v
) != 1)
6467 WARN("stub for %s\n", debugstr_variant(&v
));
6469 hres
= dispex_get_dprop_ref(&This
->dispex
, L
"zoom", TRUE
, &var
);
6473 return VariantChangeType(var
, &v
, 0, VT_BSTR
);
6476 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_zoom(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
6478 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6482 TRACE("(%p)->(%p)\n", This
, p
);
6484 hres
= dispex_get_dprop_ref(&This
->dispex
, L
"zoom", FALSE
, &var
);
6485 if(hres
== DISP_E_UNKNOWNNAME
) {
6493 return VariantCopy(p
, var
);
6496 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_wordWrap(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6498 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6499 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
6500 return set_style_property(This
, STYLEID_WORD_WRAP
, v
);
6503 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_wordWrap(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6505 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6506 TRACE("(%p)->(%p)\n", This
, p
);
6507 return get_style_property(This
, STYLEID_WORD_WRAP
, p
);
6510 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_textUnderlinePosition(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6512 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6513 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
6517 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_textUnderlinePosition(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6519 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6520 FIXME("(%p)->(%p)\n", This
, p
);
6524 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_scrollbarBaseColor(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
6526 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6527 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
6531 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_scrollbarBaseColor(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
6533 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6534 FIXME("(%p)->(%p)\n", This
, p
);
6538 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_scrollbarFaceColor(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
6540 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6541 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
6545 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_scrollbarFaceColor(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
6547 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6548 FIXME("(%p)->(%p)\n", This
, p
);
6552 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_scrollbar3dLightColor(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
6554 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6555 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
6559 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_scrollbar3dLightColor(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
6561 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6562 FIXME("(%p)->(%p)\n", This
, p
);
6566 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_scrollbarShadowColor(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
6568 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6569 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
6573 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_scrollbarShadowColor(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
6575 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6576 FIXME("(%p)->(%p)\n", This
, p
);
6580 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_scrollbarHighlightColor(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
6582 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6583 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
6587 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_scrollbarHighlightColor(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
6589 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6590 FIXME("(%p)->(%p)\n", This
, p
);
6594 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_scrollbarDarkShadowColor(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
6596 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6597 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
6601 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_scrollbarDarkShadowColor(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
6603 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6604 FIXME("(%p)->(%p)\n", This
, p
);
6608 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_scrollbarArrowColor(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
6610 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6611 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
6615 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_scrollbarArrowColor(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
6617 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6618 FIXME("(%p)->(%p)\n", This
, p
);
6622 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_scrollbarTrackColor(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
6624 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6625 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
6629 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_scrollbarTrackColor(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
6631 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6632 FIXME("(%p)->(%p)\n", This
, p
);
6636 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_writingMode(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6638 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6639 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
6643 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_writingMode(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6645 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6646 FIXME("(%p)->(%p)\n", This
, p
);
6650 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_textAlignLast(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6652 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6653 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
6657 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_textAlignLast(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6659 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6660 FIXME("(%p)->(%p)\n", This
, p
);
6664 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_textKashidaSpace(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
6666 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6667 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
6671 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_textKashidaSpace(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
6673 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6674 FIXME("(%p)->(%p)\n", This
, p
);
6678 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_textOverflow(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6680 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6681 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
6685 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_textOverflow(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6687 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6688 FIXME("(%p)->(%p)\n", This
, p
);
6692 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_minHeight(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
6694 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6695 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
6696 return set_style_property_var(This
, STYLEID_MIN_HEIGHT
, &v
);
6699 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_minHeight(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
6701 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6702 TRACE("(%p)->(%p)\n", This
, p
);
6703 return get_style_property_var(This
, STYLEID_MIN_HEIGHT
, p
);
6706 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_msInterpolationMode(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6708 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6709 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
6713 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_msInterpolationMode(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6715 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6716 FIXME("(%p)->(%p)\n", This
, p
);
6720 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_maxHeight(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
6722 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6723 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
6724 return set_style_property_var(This
, STYLEID_MAX_HEIGHT
, &v
);
6727 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_maxHeight(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
6729 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6730 TRACE("(%p)->(%p)\n", This
, p
);
6731 return get_style_property_var(This
, STYLEID_MAX_HEIGHT
, p
);
6734 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_minWidth(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
6736 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6737 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
6738 return set_style_property_var(This
, STYLEID_MIN_WIDTH
, &v
);
6741 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_minWidth(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
6743 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6744 TRACE("(%p)->(%p)\n", This
, p
);
6745 return get_style_property_var(This
, STYLEID_MIN_WIDTH
, p
);
6748 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_maxWidth(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
6750 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6751 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
6752 return set_style_property_var(This
, STYLEID_MAX_WIDTH
, &v
);
6755 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_maxWidth(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
6757 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6758 TRACE("(%p)->(%p)\n", This
, p
);
6759 return get_style_property_var(This
, STYLEID_MAX_WIDTH
, p
);
6762 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_content(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6764 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6765 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
6769 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_content(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6771 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6772 FIXME("(%p)->(%p)\n", This
, p
);
6776 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_captionSide(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6778 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6779 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
6783 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_captionSide(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6785 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6786 FIXME("(%p)->(%p)\n", This
, p
);
6790 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_counterIncrement(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6792 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6793 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
6797 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_counterIncrement(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6799 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6800 FIXME("(%p)->(%p)\n", This
, p
);
6804 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_counterReset(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6806 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6807 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
6811 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_counterReset(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6813 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6814 FIXME("(%p)->(%p)\n", This
, p
);
6818 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_outline(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6820 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6821 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
6822 return set_style_property(This
, STYLEID_OUTLINE
, v
);
6825 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_outline(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6827 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6828 TRACE("(%p)->(%p)\n", This
, p
);
6829 return get_style_property(This
, STYLEID_OUTLINE
, p
);
6832 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_outlineWidth(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
6834 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6835 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
6839 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_outlineWidth(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
6841 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6842 FIXME("(%p)->(%p)\n", This
, p
);
6846 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_outlineStyle(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6848 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6849 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
6853 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_outlineStyle(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6855 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6856 FIXME("(%p)->(%p)\n", This
, p
);
6860 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_outlineColor(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
6862 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6863 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
6867 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_outlineColor(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
6869 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6870 FIXME("(%p)->(%p)\n", This
, p
);
6874 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_boxSizing(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6876 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6877 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
6878 return set_style_property(This
, STYLEID_BOX_SIZING
, v
);
6881 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_boxSizing(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6883 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6884 TRACE("(%p)->(%p)\n", This
, p
);
6885 return get_style_property(This
, STYLEID_BOX_SIZING
, p
);
6888 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_borderSpacing(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6890 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6891 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
6892 return set_style_property(This
, STYLEID_BORDER_SPACING
, v
);
6895 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_borderSpacing(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6897 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6898 TRACE("(%p)->(%p)\n", This
, p
);
6899 return get_style_property(This
, STYLEID_BORDER_SPACING
, p
);
6902 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_orphans(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
6904 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6905 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
6909 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_orphans(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
6911 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6912 FIXME("(%p)->(%p)\n", This
, p
);
6916 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_widows(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
6918 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6919 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
6923 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_widows(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
6925 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6926 FIXME("(%p)->(%p)\n", This
, p
);
6930 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_pageBreakInside(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6932 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6933 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
6937 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_pageBreakInside(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6939 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6940 FIXME("(%p)->(%p)\n", This
, p
);
6944 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_emptyCells(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6946 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6947 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
6951 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_emptyCells(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6953 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6954 FIXME("(%p)->(%p)\n", This
, p
);
6958 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_msBlockProgression(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6960 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6961 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
6965 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_msBlockProgression(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6967 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6968 FIXME("(%p)->(%p)\n", This
, p
);
6972 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_quotes(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6974 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6975 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
6979 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_quotes(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6981 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6982 FIXME("(%p)->(%p)\n", This
, p
);
6986 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_alignmentBaseline(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6988 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6989 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
6993 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_alignmentBaseline(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6995 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6996 FIXME("(%p)->(%p)\n", This
, p
);
7000 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_baselineShift(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
7002 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7003 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
7007 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_baselineShift(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
7009 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7010 FIXME("(%p)->(%p)\n", This
, p
);
7014 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_dominantBaseline(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
7016 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7017 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
7021 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_dominantBaseline(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
7023 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7024 FIXME("(%p)->(%p)\n", This
, p
);
7028 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_fontSizeAdjust(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
7030 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7031 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
7035 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_fontSizeAdjust(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
7037 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7038 FIXME("(%p)->(%p)\n", This
, p
);
7042 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_fontStretch(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
7044 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7045 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
7049 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_fontStretch(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
7051 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7052 FIXME("(%p)->(%p)\n", This
, p
);
7056 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_opacity(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
7058 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7059 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
7060 return set_style_property_var(This
, STYLEID_OPACITY
, &v
);
7063 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_opacity(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
7065 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7066 TRACE("(%p)->(%p)\n", This
, p
);
7067 return get_style_property_var(This
, STYLEID_OPACITY
, p
);
7070 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_clipPath(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
7072 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7073 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
7077 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_clipPath(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
7079 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7080 FIXME("(%p)->(%p)\n", This
, p
);
7084 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_clipRule(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
7086 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7087 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
7091 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_clipRule(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
7093 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7094 FIXME("(%p)->(%p)\n", This
, p
);
7098 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_fill(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
7100 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7101 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
7105 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_fill(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
7107 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7108 FIXME("(%p)->(%p)\n", This
, p
);
7112 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_fillOpacity(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
7114 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7115 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
7119 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_fillOpacity(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
7121 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7122 FIXME("(%p)->(%p)\n", This
, p
);
7126 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_fillRule(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
7128 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7129 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
7133 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_fillRule(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
7135 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7136 FIXME("(%p)->(%p)\n", This
, p
);
7140 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_kerning(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
7142 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7143 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
7147 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_kerning(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
7149 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7150 FIXME("(%p)->(%p)\n", This
, p
);
7154 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_marker(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
7156 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7157 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
7161 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_marker(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
7163 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7164 FIXME("(%p)->(%p)\n", This
, p
);
7168 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_markerEnd(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
7170 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7171 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
7175 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_markerEnd(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
7177 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7178 FIXME("(%p)->(%p)\n", This
, p
);
7182 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_markerMid(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
7184 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7185 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
7189 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_markerMid(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
7191 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7192 FIXME("(%p)->(%p)\n", This
, p
);
7196 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_markerStart(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
7198 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7199 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
7203 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_markerStart(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
7205 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7206 FIXME("(%p)->(%p)\n", This
, p
);
7210 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_mask(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
7212 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7213 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
7217 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_mask(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
7219 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7220 FIXME("(%p)->(%p)\n", This
, p
);
7224 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_pointerEvents(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
7226 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7227 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
7231 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_pointerEvents(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
7233 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7234 FIXME("(%p)->(%p)\n", This
, p
);
7238 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_stopColor(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
7240 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7241 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
7245 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_stopColor(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
7247 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7248 FIXME("(%p)->(%p)\n", This
, p
);
7252 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_stopOpacity(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
7254 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7255 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
7259 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_stopOpacity(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
7261 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7262 FIXME("(%p)->(%p)\n", This
, p
);
7266 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_stroke(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
7268 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7269 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
7273 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_stroke(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
7275 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7276 FIXME("(%p)->(%p)\n", This
, p
);
7280 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_strokeDasharray(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
7282 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7283 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
7287 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_strokeDasharray(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
7289 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7290 FIXME("(%p)->(%p)\n", This
, p
);
7294 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_strokeDashoffset(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
7296 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7297 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
7301 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_strokeDashoffset(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
7303 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7304 FIXME("(%p)->(%p)\n", This
, p
);
7308 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_strokeLinecap(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
7310 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7311 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
7315 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_strokeLinecap(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
7317 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7318 FIXME("(%p)->(%p)\n", This
, p
);
7322 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_strokeLinejoin(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
7324 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7325 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
7329 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_strokeLinejoin(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
7331 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7332 FIXME("(%p)->(%p)\n", This
, p
);
7336 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_strokeMiterlimit(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
7338 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7339 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
7343 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_strokeMiterlimit(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
7345 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7346 FIXME("(%p)->(%p)\n", This
, p
);
7350 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_strokeOpacity(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
7352 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7353 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
7357 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_strokeOpacity(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
7359 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7360 FIXME("(%p)->(%p)\n", This
, p
);
7364 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_strokeWidth(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
7366 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7367 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
7371 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_strokeWidth(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
7373 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7374 FIXME("(%p)->(%p)\n", This
, p
);
7378 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_textAnchor(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
7380 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7381 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
7385 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_textAnchor(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
7387 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7388 FIXME("(%p)->(%p)\n", This
, p
);
7392 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_glyphOrientationHorizontal(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
7394 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7395 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
7399 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_glyphOrientationHorizontal(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
7401 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7402 FIXME("(%p)->(%p)\n", This
, p
);
7406 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_glyphOrientationVertical(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
7408 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7409 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
7413 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_glyphOrientationVertical(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
7415 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7416 FIXME("(%p)->(%p)\n", This
, p
);
7420 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_borderRadius(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
7422 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7423 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
7427 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_borderRadius(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
7429 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7430 FIXME("(%p)->(%p)\n", This
, p
);
7434 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_borderTopLeftRadius(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
7436 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7437 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
7441 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_borderTopLeftRadius(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
7443 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7444 FIXME("(%p)->(%p)\n", This
, p
);
7448 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_borderTopRightRadius(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
7450 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7451 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
7455 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_borderTopRightRadius(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
7457 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7458 FIXME("(%p)->(%p)\n", This
, p
);
7462 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_borderBottomRightRadius(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
7464 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7465 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
7469 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_borderBottomRightRadius(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
7471 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7472 FIXME("(%p)->(%p)\n", This
, p
);
7476 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_borderBottomLeftRadius(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
7478 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7479 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
7483 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_borderBottomLeftRadius(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
7485 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7486 FIXME("(%p)->(%p)\n", This
, p
);
7490 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_clipTop(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
7492 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7493 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
7497 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_clipTop(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
7499 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7500 FIXME("(%p)->(%p)\n", This
, p
);
7504 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_clipRight(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
7506 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7507 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
7511 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_clipRight(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
7513 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7514 FIXME("(%p)->(%p)\n", This
, p
);
7518 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_clipBottom(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
7520 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7521 FIXME("(%p)->(%p)\n", This
, p
);
7525 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_clipLeft(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
7527 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7528 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
7532 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_clipLeft(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
7534 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7535 FIXME("(%p)->(%p)\n", This
, p
);
7539 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_cssFloat(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
7541 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7542 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
7543 return set_style_property(This
, STYLEID_FLOAT
, v
);
7546 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_cssFloat(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
7548 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7549 TRACE("(%p)->(%p)\n", This
, p
);
7550 return get_style_property(This
, STYLEID_FLOAT
, p
);
7553 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_backgroundClip(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
7555 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7556 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
7557 return set_style_property(This
, STYLEID_BACKGROUND_CLIP
, v
);
7560 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_backgroundClip(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
7562 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7563 TRACE("(%p)->(%p)\n", This
, p
);
7564 return get_style_property(This
, STYLEID_BACKGROUND_CLIP
, p
);
7567 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_backgroundOrigin(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
7569 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7570 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
7574 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_backgroundOrigin(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
7576 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7577 FIXME("(%p)->(%p)\n", This
, p
);
7581 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_backgroundSize(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
7583 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7584 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
7585 return set_style_property(This
, STYLEID_BACKGROUND_SIZE
, v
);
7588 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_backgroundSize(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
7590 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7591 TRACE("(%p)->(%p)\n", This
, p
);
7592 return get_style_property(This
, STYLEID_BACKGROUND_SIZE
, p
);
7595 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_boxShadow(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
7597 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7598 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
7602 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_boxShadow(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
7604 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7605 FIXME("(%p)->(%p)\n", This
, p
);
7609 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_msTransform(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
7611 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7612 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
7616 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_msTransform(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
7618 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7619 FIXME("(%p)->(%p)\n", This
, p
);
7623 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_msTransformOrigin(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
7625 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7626 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
7630 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_msTransformOrigin(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
7632 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7633 FIXME("(%p)->(%p)\n", This
, p
);
7637 static const IHTMLCSSStyleDeclarationVtbl HTMLCSSStyleDeclarationVtbl
= {
7638 HTMLCSSStyleDeclaration_QueryInterface
,
7639 HTMLCSSStyleDeclaration_AddRef
,
7640 HTMLCSSStyleDeclaration_Release
,
7641 HTMLCSSStyleDeclaration_GetTypeInfoCount
,
7642 HTMLCSSStyleDeclaration_GetTypeInfo
,
7643 HTMLCSSStyleDeclaration_GetIDsOfNames
,
7644 HTMLCSSStyleDeclaration_Invoke
,
7645 HTMLCSSStyleDeclaration_get_length
,
7646 HTMLCSSStyleDeclaration_get_parentRule
,
7647 HTMLCSSStyleDeclaration_getPropertyValue
,
7648 HTMLCSSStyleDeclaration_getPropertyPriority
,
7649 HTMLCSSStyleDeclaration_removeProperty
,
7650 HTMLCSSStyleDeclaration_setProperty
,
7651 HTMLCSSStyleDeclaration_item
,
7652 HTMLCSSStyleDeclaration_put_fontFamily
,
7653 HTMLCSSStyleDeclaration_get_fontFamily
,
7654 HTMLCSSStyleDeclaration_put_fontStyle
,
7655 HTMLCSSStyleDeclaration_get_fontStyle
,
7656 HTMLCSSStyleDeclaration_put_fontVariant
,
7657 HTMLCSSStyleDeclaration_get_fontVariant
,
7658 HTMLCSSStyleDeclaration_put_fontWeight
,
7659 HTMLCSSStyleDeclaration_get_fontWeight
,
7660 HTMLCSSStyleDeclaration_put_fontSize
,
7661 HTMLCSSStyleDeclaration_get_fontSize
,
7662 HTMLCSSStyleDeclaration_put_font
,
7663 HTMLCSSStyleDeclaration_get_font
,
7664 HTMLCSSStyleDeclaration_put_color
,
7665 HTMLCSSStyleDeclaration_get_color
,
7666 HTMLCSSStyleDeclaration_put_background
,
7667 HTMLCSSStyleDeclaration_get_background
,
7668 HTMLCSSStyleDeclaration_put_backgroundColor
,
7669 HTMLCSSStyleDeclaration_get_backgroundColor
,
7670 HTMLCSSStyleDeclaration_put_backgroundImage
,
7671 HTMLCSSStyleDeclaration_get_backgroundImage
,
7672 HTMLCSSStyleDeclaration_put_backgroundRepeat
,
7673 HTMLCSSStyleDeclaration_get_backgroundRepeat
,
7674 HTMLCSSStyleDeclaration_put_backgroundAttachment
,
7675 HTMLCSSStyleDeclaration_get_backgroundAttachment
,
7676 HTMLCSSStyleDeclaration_put_backgroundPosition
,
7677 HTMLCSSStyleDeclaration_get_backgroundPosition
,
7678 HTMLCSSStyleDeclaration_put_backgroundPositionX
,
7679 HTMLCSSStyleDeclaration_get_backgroundPositionX
,
7680 HTMLCSSStyleDeclaration_put_backgroundPositionY
,
7681 HTMLCSSStyleDeclaration_get_backgroundPositionY
,
7682 HTMLCSSStyleDeclaration_put_wordSpacing
,
7683 HTMLCSSStyleDeclaration_get_wordSpacing
,
7684 HTMLCSSStyleDeclaration_put_letterSpacing
,
7685 HTMLCSSStyleDeclaration_get_letterSpacing
,
7686 HTMLCSSStyleDeclaration_put_textDecoration
,
7687 HTMLCSSStyleDeclaration_get_textDecoration
,
7688 HTMLCSSStyleDeclaration_put_verticalAlign
,
7689 HTMLCSSStyleDeclaration_get_verticalAlign
,
7690 HTMLCSSStyleDeclaration_put_textTransform
,
7691 HTMLCSSStyleDeclaration_get_textTransform
,
7692 HTMLCSSStyleDeclaration_put_textAlign
,
7693 HTMLCSSStyleDeclaration_get_textAlign
,
7694 HTMLCSSStyleDeclaration_put_textIndent
,
7695 HTMLCSSStyleDeclaration_get_textIndent
,
7696 HTMLCSSStyleDeclaration_put_lineHeight
,
7697 HTMLCSSStyleDeclaration_get_lineHeight
,
7698 HTMLCSSStyleDeclaration_put_marginTop
,
7699 HTMLCSSStyleDeclaration_get_marginTop
,
7700 HTMLCSSStyleDeclaration_put_marginRight
,
7701 HTMLCSSStyleDeclaration_get_marginRight
,
7702 HTMLCSSStyleDeclaration_put_marginBottom
,
7703 HTMLCSSStyleDeclaration_get_marginBottom
,
7704 HTMLCSSStyleDeclaration_put_marginLeft
,
7705 HTMLCSSStyleDeclaration_get_marginLeft
,
7706 HTMLCSSStyleDeclaration_put_margin
,
7707 HTMLCSSStyleDeclaration_get_margin
,
7708 HTMLCSSStyleDeclaration_put_paddingTop
,
7709 HTMLCSSStyleDeclaration_get_paddingTop
,
7710 HTMLCSSStyleDeclaration_put_paddingRight
,
7711 HTMLCSSStyleDeclaration_get_paddingRight
,
7712 HTMLCSSStyleDeclaration_put_paddingBottom
,
7713 HTMLCSSStyleDeclaration_get_paddingBottom
,
7714 HTMLCSSStyleDeclaration_put_paddingLeft
,
7715 HTMLCSSStyleDeclaration_get_paddingLeft
,
7716 HTMLCSSStyleDeclaration_put_padding
,
7717 HTMLCSSStyleDeclaration_get_padding
,
7718 HTMLCSSStyleDeclaration_put_border
,
7719 HTMLCSSStyleDeclaration_get_border
,
7720 HTMLCSSStyleDeclaration_put_borderTop
,
7721 HTMLCSSStyleDeclaration_get_borderTop
,
7722 HTMLCSSStyleDeclaration_put_borderRight
,
7723 HTMLCSSStyleDeclaration_get_borderRight
,
7724 HTMLCSSStyleDeclaration_put_borderBottom
,
7725 HTMLCSSStyleDeclaration_get_borderBottom
,
7726 HTMLCSSStyleDeclaration_put_borderLeft
,
7727 HTMLCSSStyleDeclaration_get_borderLeft
,
7728 HTMLCSSStyleDeclaration_put_borderColor
,
7729 HTMLCSSStyleDeclaration_get_borderColor
,
7730 HTMLCSSStyleDeclaration_put_borderTopColor
,
7731 HTMLCSSStyleDeclaration_get_borderTopColor
,
7732 HTMLCSSStyleDeclaration_put_borderRightColor
,
7733 HTMLCSSStyleDeclaration_get_borderRightColor
,
7734 HTMLCSSStyleDeclaration_put_borderBottomColor
,
7735 HTMLCSSStyleDeclaration_get_borderBottomColor
,
7736 HTMLCSSStyleDeclaration_put_borderLeftColor
,
7737 HTMLCSSStyleDeclaration_get_borderLeftColor
,
7738 HTMLCSSStyleDeclaration_put_borderWidth
,
7739 HTMLCSSStyleDeclaration_get_borderWidth
,
7740 HTMLCSSStyleDeclaration_put_borderTopWidth
,
7741 HTMLCSSStyleDeclaration_get_borderTopWidth
,
7742 HTMLCSSStyleDeclaration_put_borderRightWidth
,
7743 HTMLCSSStyleDeclaration_get_borderRightWidth
,
7744 HTMLCSSStyleDeclaration_put_borderBottomWidth
,
7745 HTMLCSSStyleDeclaration_get_borderBottomWidth
,
7746 HTMLCSSStyleDeclaration_put_borderLeftWidth
,
7747 HTMLCSSStyleDeclaration_get_borderLeftWidth
,
7748 HTMLCSSStyleDeclaration_put_borderStyle
,
7749 HTMLCSSStyleDeclaration_get_borderStyle
,
7750 HTMLCSSStyleDeclaration_put_borderTopStyle
,
7751 HTMLCSSStyleDeclaration_get_borderTopStyle
,
7752 HTMLCSSStyleDeclaration_put_borderRightStyle
,
7753 HTMLCSSStyleDeclaration_get_borderRightStyle
,
7754 HTMLCSSStyleDeclaration_put_borderBottomStyle
,
7755 HTMLCSSStyleDeclaration_get_borderBottomStyle
,
7756 HTMLCSSStyleDeclaration_put_borderLeftStyle
,
7757 HTMLCSSStyleDeclaration_get_borderLeftStyle
,
7758 HTMLCSSStyleDeclaration_put_width
,
7759 HTMLCSSStyleDeclaration_get_width
,
7760 HTMLCSSStyleDeclaration_put_height
,
7761 HTMLCSSStyleDeclaration_get_height
,
7762 HTMLCSSStyleDeclaration_put_styleFloat
,
7763 HTMLCSSStyleDeclaration_get_styleFloat
,
7764 HTMLCSSStyleDeclaration_put_clear
,
7765 HTMLCSSStyleDeclaration_get_clear
,
7766 HTMLCSSStyleDeclaration_put_display
,
7767 HTMLCSSStyleDeclaration_get_display
,
7768 HTMLCSSStyleDeclaration_put_visibility
,
7769 HTMLCSSStyleDeclaration_get_visibility
,
7770 HTMLCSSStyleDeclaration_put_listStyleType
,
7771 HTMLCSSStyleDeclaration_get_listStyleType
,
7772 HTMLCSSStyleDeclaration_put_listStylePosition
,
7773 HTMLCSSStyleDeclaration_get_listStylePosition
,
7774 HTMLCSSStyleDeclaration_put_listStyleImage
,
7775 HTMLCSSStyleDeclaration_get_listStyleImage
,
7776 HTMLCSSStyleDeclaration_put_listStyle
,
7777 HTMLCSSStyleDeclaration_get_listStyle
,
7778 HTMLCSSStyleDeclaration_put_whiteSpace
,
7779 HTMLCSSStyleDeclaration_get_whiteSpace
,
7780 HTMLCSSStyleDeclaration_put_top
,
7781 HTMLCSSStyleDeclaration_get_top
,
7782 HTMLCSSStyleDeclaration_put_left
,
7783 HTMLCSSStyleDeclaration_get_left
,
7784 HTMLCSSStyleDeclaration_put_zIndex
,
7785 HTMLCSSStyleDeclaration_get_zIndex
,
7786 HTMLCSSStyleDeclaration_put_overflow
,
7787 HTMLCSSStyleDeclaration_get_overflow
,
7788 HTMLCSSStyleDeclaration_put_pageBreakBefore
,
7789 HTMLCSSStyleDeclaration_get_pageBreakBefore
,
7790 HTMLCSSStyleDeclaration_put_pageBreakAfter
,
7791 HTMLCSSStyleDeclaration_get_pageBreakAfter
,
7792 HTMLCSSStyleDeclaration_put_cssText
,
7793 HTMLCSSStyleDeclaration_get_cssText
,
7794 HTMLCSSStyleDeclaration_put_cursor
,
7795 HTMLCSSStyleDeclaration_get_cursor
,
7796 HTMLCSSStyleDeclaration_put_clip
,
7797 HTMLCSSStyleDeclaration_get_clip
,
7798 HTMLCSSStyleDeclaration_put_filter
,
7799 HTMLCSSStyleDeclaration_get_filter
,
7800 HTMLCSSStyleDeclaration_put_tableLayout
,
7801 HTMLCSSStyleDeclaration_get_tableLayout
,
7802 HTMLCSSStyleDeclaration_put_borderCollapse
,
7803 HTMLCSSStyleDeclaration_get_borderCollapse
,
7804 HTMLCSSStyleDeclaration_put_direction
,
7805 HTMLCSSStyleDeclaration_get_direction
,
7806 HTMLCSSStyleDeclaration_put_behavior
,
7807 HTMLCSSStyleDeclaration_get_behavior
,
7808 HTMLCSSStyleDeclaration_put_position
,
7809 HTMLCSSStyleDeclaration_get_position
,
7810 HTMLCSSStyleDeclaration_put_unicodeBidi
,
7811 HTMLCSSStyleDeclaration_get_unicodeBidi
,
7812 HTMLCSSStyleDeclaration_put_bottom
,
7813 HTMLCSSStyleDeclaration_get_bottom
,
7814 HTMLCSSStyleDeclaration_put_right
,
7815 HTMLCSSStyleDeclaration_get_right
,
7816 HTMLCSSStyleDeclaration_put_imeMode
,
7817 HTMLCSSStyleDeclaration_get_imeMode
,
7818 HTMLCSSStyleDeclaration_put_rubyAlign
,
7819 HTMLCSSStyleDeclaration_get_rubyAlign
,
7820 HTMLCSSStyleDeclaration_put_rubyPosition
,
7821 HTMLCSSStyleDeclaration_get_rubyPosition
,
7822 HTMLCSSStyleDeclaration_put_rubyOverhang
,
7823 HTMLCSSStyleDeclaration_get_rubyOverhang
,
7824 HTMLCSSStyleDeclaration_put_layoutGridChar
,
7825 HTMLCSSStyleDeclaration_get_layoutGridChar
,
7826 HTMLCSSStyleDeclaration_put_layoutGridLine
,
7827 HTMLCSSStyleDeclaration_get_layoutGridLine
,
7828 HTMLCSSStyleDeclaration_put_layoutGridMode
,
7829 HTMLCSSStyleDeclaration_get_layoutGridMode
,
7830 HTMLCSSStyleDeclaration_put_layoutGridType
,
7831 HTMLCSSStyleDeclaration_get_layoutGridType
,
7832 HTMLCSSStyleDeclaration_put_layoutGrid
,
7833 HTMLCSSStyleDeclaration_get_layoutGrid
,
7834 HTMLCSSStyleDeclaration_put_textAutospace
,
7835 HTMLCSSStyleDeclaration_get_textAutospace
,
7836 HTMLCSSStyleDeclaration_put_wordBreak
,
7837 HTMLCSSStyleDeclaration_get_wordBreak
,
7838 HTMLCSSStyleDeclaration_put_lineBreak
,
7839 HTMLCSSStyleDeclaration_get_lineBreak
,
7840 HTMLCSSStyleDeclaration_put_textJustify
,
7841 HTMLCSSStyleDeclaration_get_textJustify
,
7842 HTMLCSSStyleDeclaration_put_textJustifyTrim
,
7843 HTMLCSSStyleDeclaration_get_textJustifyTrim
,
7844 HTMLCSSStyleDeclaration_put_textKashida
,
7845 HTMLCSSStyleDeclaration_get_textKashida
,
7846 HTMLCSSStyleDeclaration_put_overflowX
,
7847 HTMLCSSStyleDeclaration_get_overflowX
,
7848 HTMLCSSStyleDeclaration_put_overflowY
,
7849 HTMLCSSStyleDeclaration_get_overflowY
,
7850 HTMLCSSStyleDeclaration_put_accelerator
,
7851 HTMLCSSStyleDeclaration_get_accelerator
,
7852 HTMLCSSStyleDeclaration_put_layoutFlow
,
7853 HTMLCSSStyleDeclaration_get_layoutFlow
,
7854 HTMLCSSStyleDeclaration_put_zoom
,
7855 HTMLCSSStyleDeclaration_get_zoom
,
7856 HTMLCSSStyleDeclaration_put_wordWrap
,
7857 HTMLCSSStyleDeclaration_get_wordWrap
,
7858 HTMLCSSStyleDeclaration_put_textUnderlinePosition
,
7859 HTMLCSSStyleDeclaration_get_textUnderlinePosition
,
7860 HTMLCSSStyleDeclaration_put_scrollbarBaseColor
,
7861 HTMLCSSStyleDeclaration_get_scrollbarBaseColor
,
7862 HTMLCSSStyleDeclaration_put_scrollbarFaceColor
,
7863 HTMLCSSStyleDeclaration_get_scrollbarFaceColor
,
7864 HTMLCSSStyleDeclaration_put_scrollbar3dLightColor
,
7865 HTMLCSSStyleDeclaration_get_scrollbar3dLightColor
,
7866 HTMLCSSStyleDeclaration_put_scrollbarShadowColor
,
7867 HTMLCSSStyleDeclaration_get_scrollbarShadowColor
,
7868 HTMLCSSStyleDeclaration_put_scrollbarHighlightColor
,
7869 HTMLCSSStyleDeclaration_get_scrollbarHighlightColor
,
7870 HTMLCSSStyleDeclaration_put_scrollbarDarkShadowColor
,
7871 HTMLCSSStyleDeclaration_get_scrollbarDarkShadowColor
,
7872 HTMLCSSStyleDeclaration_put_scrollbarArrowColor
,
7873 HTMLCSSStyleDeclaration_get_scrollbarArrowColor
,
7874 HTMLCSSStyleDeclaration_put_scrollbarTrackColor
,
7875 HTMLCSSStyleDeclaration_get_scrollbarTrackColor
,
7876 HTMLCSSStyleDeclaration_put_writingMode
,
7877 HTMLCSSStyleDeclaration_get_writingMode
,
7878 HTMLCSSStyleDeclaration_put_textAlignLast
,
7879 HTMLCSSStyleDeclaration_get_textAlignLast
,
7880 HTMLCSSStyleDeclaration_put_textKashidaSpace
,
7881 HTMLCSSStyleDeclaration_get_textKashidaSpace
,
7882 HTMLCSSStyleDeclaration_put_textOverflow
,
7883 HTMLCSSStyleDeclaration_get_textOverflow
,
7884 HTMLCSSStyleDeclaration_put_minHeight
,
7885 HTMLCSSStyleDeclaration_get_minHeight
,
7886 HTMLCSSStyleDeclaration_put_msInterpolationMode
,
7887 HTMLCSSStyleDeclaration_get_msInterpolationMode
,
7888 HTMLCSSStyleDeclaration_put_maxHeight
,
7889 HTMLCSSStyleDeclaration_get_maxHeight
,
7890 HTMLCSSStyleDeclaration_put_minWidth
,
7891 HTMLCSSStyleDeclaration_get_minWidth
,
7892 HTMLCSSStyleDeclaration_put_maxWidth
,
7893 HTMLCSSStyleDeclaration_get_maxWidth
,
7894 HTMLCSSStyleDeclaration_put_content
,
7895 HTMLCSSStyleDeclaration_get_content
,
7896 HTMLCSSStyleDeclaration_put_captionSide
,
7897 HTMLCSSStyleDeclaration_get_captionSide
,
7898 HTMLCSSStyleDeclaration_put_counterIncrement
,
7899 HTMLCSSStyleDeclaration_get_counterIncrement
,
7900 HTMLCSSStyleDeclaration_put_counterReset
,
7901 HTMLCSSStyleDeclaration_get_counterReset
,
7902 HTMLCSSStyleDeclaration_put_outline
,
7903 HTMLCSSStyleDeclaration_get_outline
,
7904 HTMLCSSStyleDeclaration_put_outlineWidth
,
7905 HTMLCSSStyleDeclaration_get_outlineWidth
,
7906 HTMLCSSStyleDeclaration_put_outlineStyle
,
7907 HTMLCSSStyleDeclaration_get_outlineStyle
,
7908 HTMLCSSStyleDeclaration_put_outlineColor
,
7909 HTMLCSSStyleDeclaration_get_outlineColor
,
7910 HTMLCSSStyleDeclaration_put_boxSizing
,
7911 HTMLCSSStyleDeclaration_get_boxSizing
,
7912 HTMLCSSStyleDeclaration_put_borderSpacing
,
7913 HTMLCSSStyleDeclaration_get_borderSpacing
,
7914 HTMLCSSStyleDeclaration_put_orphans
,
7915 HTMLCSSStyleDeclaration_get_orphans
,
7916 HTMLCSSStyleDeclaration_put_widows
,
7917 HTMLCSSStyleDeclaration_get_widows
,
7918 HTMLCSSStyleDeclaration_put_pageBreakInside
,
7919 HTMLCSSStyleDeclaration_get_pageBreakInside
,
7920 HTMLCSSStyleDeclaration_put_emptyCells
,
7921 HTMLCSSStyleDeclaration_get_emptyCells
,
7922 HTMLCSSStyleDeclaration_put_msBlockProgression
,
7923 HTMLCSSStyleDeclaration_get_msBlockProgression
,
7924 HTMLCSSStyleDeclaration_put_quotes
,
7925 HTMLCSSStyleDeclaration_get_quotes
,
7926 HTMLCSSStyleDeclaration_put_alignmentBaseline
,
7927 HTMLCSSStyleDeclaration_get_alignmentBaseline
,
7928 HTMLCSSStyleDeclaration_put_baselineShift
,
7929 HTMLCSSStyleDeclaration_get_baselineShift
,
7930 HTMLCSSStyleDeclaration_put_dominantBaseline
,
7931 HTMLCSSStyleDeclaration_get_dominantBaseline
,
7932 HTMLCSSStyleDeclaration_put_fontSizeAdjust
,
7933 HTMLCSSStyleDeclaration_get_fontSizeAdjust
,
7934 HTMLCSSStyleDeclaration_put_fontStretch
,
7935 HTMLCSSStyleDeclaration_get_fontStretch
,
7936 HTMLCSSStyleDeclaration_put_opacity
,
7937 HTMLCSSStyleDeclaration_get_opacity
,
7938 HTMLCSSStyleDeclaration_put_clipPath
,
7939 HTMLCSSStyleDeclaration_get_clipPath
,
7940 HTMLCSSStyleDeclaration_put_clipRule
,
7941 HTMLCSSStyleDeclaration_get_clipRule
,
7942 HTMLCSSStyleDeclaration_put_fill
,
7943 HTMLCSSStyleDeclaration_get_fill
,
7944 HTMLCSSStyleDeclaration_put_fillOpacity
,
7945 HTMLCSSStyleDeclaration_get_fillOpacity
,
7946 HTMLCSSStyleDeclaration_put_fillRule
,
7947 HTMLCSSStyleDeclaration_get_fillRule
,
7948 HTMLCSSStyleDeclaration_put_kerning
,
7949 HTMLCSSStyleDeclaration_get_kerning
,
7950 HTMLCSSStyleDeclaration_put_marker
,
7951 HTMLCSSStyleDeclaration_get_marker
,
7952 HTMLCSSStyleDeclaration_put_markerEnd
,
7953 HTMLCSSStyleDeclaration_get_markerEnd
,
7954 HTMLCSSStyleDeclaration_put_markerMid
,
7955 HTMLCSSStyleDeclaration_get_markerMid
,
7956 HTMLCSSStyleDeclaration_put_markerStart
,
7957 HTMLCSSStyleDeclaration_get_markerStart
,
7958 HTMLCSSStyleDeclaration_put_mask
,
7959 HTMLCSSStyleDeclaration_get_mask
,
7960 HTMLCSSStyleDeclaration_put_pointerEvents
,
7961 HTMLCSSStyleDeclaration_get_pointerEvents
,
7962 HTMLCSSStyleDeclaration_put_stopColor
,
7963 HTMLCSSStyleDeclaration_get_stopColor
,
7964 HTMLCSSStyleDeclaration_put_stopOpacity
,
7965 HTMLCSSStyleDeclaration_get_stopOpacity
,
7966 HTMLCSSStyleDeclaration_put_stroke
,
7967 HTMLCSSStyleDeclaration_get_stroke
,
7968 HTMLCSSStyleDeclaration_put_strokeDasharray
,
7969 HTMLCSSStyleDeclaration_get_strokeDasharray
,
7970 HTMLCSSStyleDeclaration_put_strokeDashoffset
,
7971 HTMLCSSStyleDeclaration_get_strokeDashoffset
,
7972 HTMLCSSStyleDeclaration_put_strokeLinecap
,
7973 HTMLCSSStyleDeclaration_get_strokeLinecap
,
7974 HTMLCSSStyleDeclaration_put_strokeLinejoin
,
7975 HTMLCSSStyleDeclaration_get_strokeLinejoin
,
7976 HTMLCSSStyleDeclaration_put_strokeMiterlimit
,
7977 HTMLCSSStyleDeclaration_get_strokeMiterlimit
,
7978 HTMLCSSStyleDeclaration_put_strokeOpacity
,
7979 HTMLCSSStyleDeclaration_get_strokeOpacity
,
7980 HTMLCSSStyleDeclaration_put_strokeWidth
,
7981 HTMLCSSStyleDeclaration_get_strokeWidth
,
7982 HTMLCSSStyleDeclaration_put_textAnchor
,
7983 HTMLCSSStyleDeclaration_get_textAnchor
,
7984 HTMLCSSStyleDeclaration_put_glyphOrientationHorizontal
,
7985 HTMLCSSStyleDeclaration_get_glyphOrientationHorizontal
,
7986 HTMLCSSStyleDeclaration_put_glyphOrientationVertical
,
7987 HTMLCSSStyleDeclaration_get_glyphOrientationVertical
,
7988 HTMLCSSStyleDeclaration_put_borderRadius
,
7989 HTMLCSSStyleDeclaration_get_borderRadius
,
7990 HTMLCSSStyleDeclaration_put_borderTopLeftRadius
,
7991 HTMLCSSStyleDeclaration_get_borderTopLeftRadius
,
7992 HTMLCSSStyleDeclaration_put_borderTopRightRadius
,
7993 HTMLCSSStyleDeclaration_get_borderTopRightRadius
,
7994 HTMLCSSStyleDeclaration_put_borderBottomRightRadius
,
7995 HTMLCSSStyleDeclaration_get_borderBottomRightRadius
,
7996 HTMLCSSStyleDeclaration_put_borderBottomLeftRadius
,
7997 HTMLCSSStyleDeclaration_get_borderBottomLeftRadius
,
7998 HTMLCSSStyleDeclaration_put_clipTop
,
7999 HTMLCSSStyleDeclaration_get_clipTop
,
8000 HTMLCSSStyleDeclaration_put_clipRight
,
8001 HTMLCSSStyleDeclaration_get_clipRight
,
8002 HTMLCSSStyleDeclaration_get_clipBottom
,
8003 HTMLCSSStyleDeclaration_put_clipLeft
,
8004 HTMLCSSStyleDeclaration_get_clipLeft
,
8005 HTMLCSSStyleDeclaration_put_cssFloat
,
8006 HTMLCSSStyleDeclaration_get_cssFloat
,
8007 HTMLCSSStyleDeclaration_put_backgroundClip
,
8008 HTMLCSSStyleDeclaration_get_backgroundClip
,
8009 HTMLCSSStyleDeclaration_put_backgroundOrigin
,
8010 HTMLCSSStyleDeclaration_get_backgroundOrigin
,
8011 HTMLCSSStyleDeclaration_put_backgroundSize
,
8012 HTMLCSSStyleDeclaration_get_backgroundSize
,
8013 HTMLCSSStyleDeclaration_put_boxShadow
,
8014 HTMLCSSStyleDeclaration_get_boxShadow
,
8015 HTMLCSSStyleDeclaration_put_msTransform
,
8016 HTMLCSSStyleDeclaration_get_msTransform
,
8017 HTMLCSSStyleDeclaration_put_msTransformOrigin
,
8018 HTMLCSSStyleDeclaration_get_msTransformOrigin
8021 static inline CSSStyle
*impl_from_IHTMLCSSStyleDeclaration2(IHTMLCSSStyleDeclaration2
*iface
)
8023 return CONTAINING_RECORD(iface
, CSSStyle
, IHTMLCSSStyleDeclaration2_iface
);
8026 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_QueryInterface(IHTMLCSSStyleDeclaration2
*iface
,
8027 REFIID riid
, void **ppv
)
8029 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8030 return IHTMLCSSStyleDeclaration_QueryInterface(&This
->IHTMLCSSStyleDeclaration_iface
, riid
, ppv
);
8033 static ULONG WINAPI
HTMLCSSStyleDeclaration2_AddRef(IHTMLCSSStyleDeclaration2
*iface
)
8035 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8036 return IHTMLCSSStyleDeclaration_AddRef(&This
->IHTMLCSSStyleDeclaration_iface
);
8039 static ULONG WINAPI
HTMLCSSStyleDeclaration2_Release(IHTMLCSSStyleDeclaration2
*iface
)
8041 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8042 return IHTMLCSSStyleDeclaration_Release(&This
->IHTMLCSSStyleDeclaration_iface
);
8045 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_GetTypeInfoCount(IHTMLCSSStyleDeclaration2
*iface
,
8048 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8049 TRACE("(%p)->(%p)\n", This
, pctinfo
);
8050 return IDispatchEx_GetTypeInfoCount(&This
->dispex
.IDispatchEx_iface
, pctinfo
);
8053 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_GetTypeInfo(IHTMLCSSStyleDeclaration2
*iface
,
8054 UINT iTInfo
, LCID lcid
, ITypeInfo
**ppTInfo
)
8056 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8057 TRACE("(%p)->(%u %lu %p)\n", This
, iTInfo
, lcid
, ppTInfo
);
8058 return IDispatchEx_GetTypeInfo(&This
->dispex
.IDispatchEx_iface
, iTInfo
, lcid
, ppTInfo
);
8061 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_GetIDsOfNames(IHTMLCSSStyleDeclaration2
*iface
,
8062 REFIID riid
, LPOLESTR
*rgszNames
, UINT cNames
, LCID lcid
, DISPID
*rgDispId
)
8064 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8065 TRACE("(%p)->(%p %p %u %lu %p)\n", This
, riid
, rgszNames
, cNames
, lcid
, rgDispId
);
8066 return IDispatchEx_GetIDsOfNames(&This
->dispex
.IDispatchEx_iface
, riid
, rgszNames
,
8067 cNames
, lcid
, rgDispId
);
8070 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_Invoke(IHTMLCSSStyleDeclaration2
*iface
,
8071 DISPID dispIdMember
, REFIID riid
, LCID lcid
, WORD wFlags
, DISPPARAMS
*pDispParams
,
8072 VARIANT
*pVarResult
, EXCEPINFO
*pExcepInfo
, UINT
*puArgErr
)
8074 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8075 TRACE("(%p)->(%ld %p %lu %u %p %p %p %p)\n", This
, dispIdMember
, riid
, lcid
, wFlags
,
8076 pDispParams
, pVarResult
, pExcepInfo
, puArgErr
);
8077 return IDispatchEx_Invoke(&This
->dispex
.IDispatchEx_iface
, dispIdMember
, riid
, lcid
,
8078 wFlags
, pDispParams
, pVarResult
, pExcepInfo
, puArgErr
);
8081 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msScrollChaining(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8083 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8084 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8088 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msScrollChaining(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8090 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8091 FIXME("(%p)->(%p)\n", This
, p
);
8095 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msContentZooming(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8097 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8098 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8102 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msContentZooming(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8104 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8105 FIXME("(%p)->(%p)\n", This
, p
);
8109 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msContentZoomSnapType(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8111 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8112 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8116 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msContentZoomSnapType(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8118 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8119 FIXME("(%p)->(%p)\n", This
, p
);
8123 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msScrollRails(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8125 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8126 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8130 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msScrollRails(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8132 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8133 FIXME("(%p)->(%p)\n", This
, p
);
8137 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msContentZoomChaining(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8139 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8140 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8144 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msContentZoomChaining(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8146 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8147 FIXME("(%p)->(%p)\n", This
, p
);
8151 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msScrollSnapType(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8153 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8154 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8158 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msScrollSnapType(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8160 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8161 FIXME("(%p)->(%p)\n", This
, p
);
8165 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msContentZoomLimit(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8167 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8168 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8172 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msContentZoomLimit(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8174 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8175 FIXME("(%p)->(%p)\n", This
, p
);
8179 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msContentZoomSnap(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8181 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8182 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8186 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msContentZoomSnap(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8188 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8189 FIXME("(%p)->(%p)\n", This
, p
);
8193 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msContentZoomSnapPoints(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8195 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8196 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8200 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msContentZoomSnapPoints(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8202 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8203 FIXME("(%p)->(%p)\n", This
, p
);
8207 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msContentZoomLimitMin(IHTMLCSSStyleDeclaration2
*iface
, VARIANT v
)
8209 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8210 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
8214 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msContentZoomLimitMin(IHTMLCSSStyleDeclaration2
*iface
, VARIANT
*p
)
8216 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8217 FIXME("(%p)->(%p)\n", This
, p
);
8221 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msContentZoomLimitMax(IHTMLCSSStyleDeclaration2
*iface
, VARIANT v
)
8223 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8224 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
8228 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msContentZoomLimitMax(IHTMLCSSStyleDeclaration2
*iface
, VARIANT
*p
)
8230 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8231 FIXME("(%p)->(%p)\n", This
, p
);
8235 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msScrollSnapX(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8237 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8238 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8242 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msScrollSnapX(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8244 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8245 FIXME("(%p)->(%p)\n", This
, p
);
8249 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msScrollSnapY(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8251 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8252 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8256 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msScrollSnapY(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8258 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8259 FIXME("(%p)->(%p)\n", This
, p
);
8263 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msScrollSnapPointsX(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8265 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8266 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8270 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msScrollSnapPointsX(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8272 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8273 FIXME("(%p)->(%p)\n", This
, p
);
8277 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msScrollSnapPointsY(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8279 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8280 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8284 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msScrollSnapPointsY(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8286 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8287 FIXME("(%p)->(%p)\n", This
, p
);
8291 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msGridColumn(IHTMLCSSStyleDeclaration2
*iface
, VARIANT v
)
8293 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8294 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
8298 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msGridColumn(IHTMLCSSStyleDeclaration2
*iface
, VARIANT
*p
)
8300 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8301 FIXME("(%p)->(%p)\n", This
, p
);
8305 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msGridColumnAlign(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8307 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8308 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8312 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msGridColumnAlign(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8314 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8315 FIXME("(%p)->(%p)\n", This
, p
);
8319 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msGridColumns(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8321 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8322 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8326 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msGridColumns(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8328 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8329 FIXME("(%p)->(%p)\n", This
, p
);
8333 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msGridColumnSpan(IHTMLCSSStyleDeclaration2
*iface
, VARIANT v
)
8335 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8336 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
8340 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msGridColumnSpan(IHTMLCSSStyleDeclaration2
*iface
, VARIANT
*p
)
8342 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8343 FIXME("(%p)->(%p)\n", This
, p
);
8347 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msGridRow(IHTMLCSSStyleDeclaration2
*iface
, VARIANT v
)
8349 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8350 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
8354 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msGridRow(IHTMLCSSStyleDeclaration2
*iface
, VARIANT
*p
)
8356 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8357 FIXME("(%p)->(%p)\n", This
, p
);
8361 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msGridRowAlign(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8363 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8364 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8368 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msGridRowAlign(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8370 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8371 FIXME("(%p)->(%p)\n", This
, p
);
8375 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msGridRows(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8377 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8378 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8382 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msGridRows(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8384 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8385 FIXME("(%p)->(%p)\n", This
, p
);
8389 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msGridRowSpan(IHTMLCSSStyleDeclaration2
*iface
, VARIANT v
)
8391 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8392 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
8396 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msGridRowSpan(IHTMLCSSStyleDeclaration2
*iface
, VARIANT
*p
)
8398 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8399 FIXME("(%p)->(%p)\n", This
, p
);
8403 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msWrapThrough(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8405 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8406 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8410 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msWrapThrough(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8412 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8413 FIXME("(%p)->(%p)\n", This
, p
);
8417 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msWrapMargin(IHTMLCSSStyleDeclaration2
*iface
, VARIANT v
)
8419 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8420 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
8424 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msWrapMargin(IHTMLCSSStyleDeclaration2
*iface
, VARIANT
*p
)
8426 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8427 FIXME("(%p)->(%p)\n", This
, p
);
8431 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msWrapFlow(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8433 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8434 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8438 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msWrapFlow(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8440 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8441 FIXME("(%p)->(%p)\n", This
, p
);
8445 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msAnimationName(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8447 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8448 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8452 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msAnimationName(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8454 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8455 FIXME("(%p)->(%p)\n", This
, p
);
8459 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msAnimationDuration(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8461 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8462 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8466 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msAnimationDuration(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8468 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8469 FIXME("(%p)->(%p)\n", This
, p
);
8473 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msAnimationTimingFunction(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8475 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8476 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8480 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msAnimationTimingFunction(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8482 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8483 FIXME("(%p)->(%p)\n", This
, p
);
8487 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msAnimationDelay(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8489 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8490 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8494 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msAnimationDelay(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8496 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8497 FIXME("(%p)->(%p)\n", This
, p
);
8501 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msAnimationDirection(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8503 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8504 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8508 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msAnimationDirection(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8510 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8511 FIXME("(%p)->(%p)\n", This
, p
);
8515 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msAnimationPlayState(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8517 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8518 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8522 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msAnimationPlayState(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8524 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8525 FIXME("(%p)->(%p)\n", This
, p
);
8529 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msAnimationIterationCount(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8531 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8532 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8536 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msAnimationIterationCount(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8538 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8539 FIXME("(%p)->(%p)\n", This
, p
);
8543 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msAnimation(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8545 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8546 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8550 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msAnimation(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8552 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8553 FIXME("(%p)->(%p)\n", This
, p
);
8557 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msAnimationFillMode(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8559 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8560 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8564 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msAnimationFillMode(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8566 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8567 FIXME("(%p)->(%p)\n", This
, p
);
8571 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_colorInterpolationFilters(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8573 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8574 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8578 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_colorInterpolationFilters(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8580 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8581 FIXME("(%p)->(%p)\n", This
, p
);
8585 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_columnCount(IHTMLCSSStyleDeclaration2
*iface
, VARIANT v
)
8587 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8588 WARN("(%p)->(%s) semi-stub\n", This
, debugstr_variant(&v
));
8589 return set_style_property_var(This
, STYLEID_COLUMN_COUNT
, &v
);
8592 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_columnCount(IHTMLCSSStyleDeclaration2
*iface
, VARIANT
*p
)
8594 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8595 WARN("(%p)->(%p) semi-stub\n", This
, p
);
8596 return get_style_property_var(This
, STYLEID_COLUMN_COUNT
, p
);
8599 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_columnWidth(IHTMLCSSStyleDeclaration2
*iface
, VARIANT v
)
8601 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8602 WARN("(%p)->(%s) semi-stub\n", This
, debugstr_variant(&v
));
8603 return set_style_property_var(This
, STYLEID_COLUMN_WIDTH
, &v
);
8606 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_columnWidth(IHTMLCSSStyleDeclaration2
*iface
, VARIANT
*p
)
8608 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8609 WARN("(%p)->(%p) semi-stub\n", This
, p
);
8610 return get_style_property_var(This
, STYLEID_COLUMN_WIDTH
, p
);
8613 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_columnGap(IHTMLCSSStyleDeclaration2
*iface
, VARIANT v
)
8615 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8616 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
8617 return set_style_property_var(This
, STYLEID_COLUMN_GAP
, &v
);
8620 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_columnGap(IHTMLCSSStyleDeclaration2
*iface
, VARIANT
*p
)
8622 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8623 TRACE("(%p)->(%p)\n", This
, p
);
8624 return get_style_property_var(This
, STYLEID_COLUMN_GAP
, p
);
8627 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_columnFill(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8629 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8630 WARN("(%p)->(%s) semi-stub\n", This
, debugstr_w(v
));
8631 return set_style_property(This
, STYLEID_COLUMN_FILL
, v
);
8634 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_columnFill(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8636 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8637 WARN("(%p)->(%p) semi-stub\n", This
, p
);
8638 return get_style_property(This
, STYLEID_COLUMN_FILL
, p
);
8641 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_columnSpan(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8643 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8644 WARN("(%p)->(%s) semi-stub\n", This
, debugstr_w(v
));
8645 return set_style_property(This
, STYLEID_COLUMN_SPAN
, v
);
8648 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_columnSpan(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8650 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8651 WARN("(%p)->(%p) semi-stub\n", This
, p
);
8652 return get_style_property(This
, STYLEID_COLUMN_SPAN
, p
);
8655 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_columns(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8657 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8658 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8662 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_columns(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8664 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8665 FIXME("(%p)->(%p)\n", This
, p
);
8669 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_columnRule(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8671 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8672 WARN("(%p)->(%s) semi-stub\n", This
, debugstr_w(v
));
8673 return set_style_property(This
, STYLEID_COLUMN_RULE
, v
);
8676 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_columnRule(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8678 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8679 WARN("(%p)->(%p) semi-stub\n", This
, p
);
8680 return get_style_property(This
, STYLEID_COLUMN_RULE
, p
);
8683 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_columnRuleColor(IHTMLCSSStyleDeclaration2
*iface
, VARIANT v
)
8685 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8686 WARN("(%p)->(%s) semi-stub\n", This
, debugstr_variant(&v
));
8687 return set_style_property_var(This
, STYLEID_COLUMN_RULE_COLOR
, &v
);
8690 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_columnRuleColor(IHTMLCSSStyleDeclaration2
*iface
, VARIANT
*p
)
8692 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8693 WARN("(%p)->(%p) semi-stub\n", This
, p
);
8694 return get_style_property_var(This
, STYLEID_COLUMN_RULE_COLOR
, p
);
8697 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_columnRuleStyle(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8699 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8700 WARN("(%p)->(%s) semi-stub\n", This
, debugstr_w(v
));
8701 return set_style_property(This
, STYLEID_COLUMN_RULE_STYLE
, v
);
8704 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_columnRuleStyle(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8706 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8707 WARN("(%p)->(%p) semi-stub\n", This
, p
);
8708 return get_style_property(This
, STYLEID_COLUMN_RULE_STYLE
, p
);
8711 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_columnRuleWidth(IHTMLCSSStyleDeclaration2
*iface
, VARIANT v
)
8713 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8714 WARN("(%p)->(%s) semi-stub\n", This
, debugstr_variant(&v
));
8715 return set_style_property_var(This
, STYLEID_COLUMN_RULE_WIDTH
, &v
);
8718 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_columnRuleWidth(IHTMLCSSStyleDeclaration2
*iface
, VARIANT
*p
)
8720 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8721 WARN("(%p)->(%p) semi-stub\n", This
, p
);
8722 return get_style_property_var(This
, STYLEID_COLUMN_RULE_WIDTH
, p
);
8725 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_breakBefore(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8727 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8728 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8732 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_breakBefore(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8734 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8735 FIXME("(%p)->(%p)\n", This
, p
);
8739 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_breakAfter(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8741 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8742 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8746 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_breakAfter(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8748 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8749 FIXME("(%p)->(%p)\n", This
, p
);
8753 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_breakInside(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8755 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8756 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8760 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_breakInside(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8762 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8763 FIXME("(%p)->(%p)\n", This
, p
);
8767 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_floodColor(IHTMLCSSStyleDeclaration2
*iface
, VARIANT v
)
8769 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8770 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
8774 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_floodColor(IHTMLCSSStyleDeclaration2
*iface
, VARIANT
*p
)
8776 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8777 FIXME("(%p)->(%p)\n", This
, p
);
8781 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_floodOpacity(IHTMLCSSStyleDeclaration2
*iface
, VARIANT v
)
8783 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8784 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
8788 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_floodOpacity(IHTMLCSSStyleDeclaration2
*iface
, VARIANT
*p
)
8790 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8791 FIXME("(%p)->(%p)\n", This
, p
);
8795 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_lightingColor(IHTMLCSSStyleDeclaration2
*iface
, VARIANT v
)
8797 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8798 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
8802 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_lightingColor(IHTMLCSSStyleDeclaration2
*iface
, VARIANT
*p
)
8804 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8805 FIXME("(%p)->(%p)\n", This
, p
);
8809 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msScrollLimitXMin(IHTMLCSSStyleDeclaration2
*iface
, VARIANT v
)
8811 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8812 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
8816 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msScrollLimitXMin(IHTMLCSSStyleDeclaration2
*iface
, VARIANT
*p
)
8818 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8819 FIXME("(%p)->(%p)\n", This
, p
);
8823 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msScrollLimitYMin(IHTMLCSSStyleDeclaration2
*iface
, VARIANT v
)
8825 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8826 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
8830 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msScrollLimitYMin(IHTMLCSSStyleDeclaration2
*iface
, VARIANT
*p
)
8832 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8833 FIXME("(%p)->(%p)\n", This
, p
);
8837 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msScrollLimitXMax(IHTMLCSSStyleDeclaration2
*iface
, VARIANT v
)
8839 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8840 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
8844 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msScrollLimitXMax(IHTMLCSSStyleDeclaration2
*iface
, VARIANT
*p
)
8846 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8847 FIXME("(%p)->(%p)\n", This
, p
);
8851 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msScrollLimitYMax(IHTMLCSSStyleDeclaration2
*iface
, VARIANT v
)
8853 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8854 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
8858 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msScrollLimitYMax(IHTMLCSSStyleDeclaration2
*iface
, VARIANT
*p
)
8860 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8861 FIXME("(%p)->(%p)\n", This
, p
);
8865 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msScrollLimit(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8867 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8868 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8872 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msScrollLimit(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8874 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8875 FIXME("(%p)->(%p)\n", This
, p
);
8879 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_textShadow(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8881 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8882 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8886 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_textShadow(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8888 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8889 FIXME("(%p)->(%p)\n", This
, p
);
8893 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msFlowFrom(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8895 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8896 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8900 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msFlowFrom(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8902 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8903 FIXME("(%p)->(%p)\n", This
, p
);
8907 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msFlowInto(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8909 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8910 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8914 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msFlowInto(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8916 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8917 FIXME("(%p)->(%p)\n", This
, p
);
8921 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msHyphens(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8923 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8924 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8928 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msHyphens(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8930 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8931 FIXME("(%p)->(%p)\n", This
, p
);
8935 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msHyphenateLimitZone(IHTMLCSSStyleDeclaration2
*iface
, VARIANT v
)
8937 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8938 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
8942 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msHyphenateLimitZone(IHTMLCSSStyleDeclaration2
*iface
, VARIANT
*p
)
8944 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8945 FIXME("(%p)->(%p)\n", This
, p
);
8949 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msHyphenateLimitChars(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8951 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8952 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8956 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msHyphenateLimitChars(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8958 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8959 FIXME("(%p)->(%p)\n", This
, p
);
8963 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msHyphenateLimitLines(IHTMLCSSStyleDeclaration2
*iface
, VARIANT v
)
8965 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8966 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
8970 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msHyphenateLimitLines(IHTMLCSSStyleDeclaration2
*iface
, VARIANT
*p
)
8972 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8973 FIXME("(%p)->(%p)\n", This
, p
);
8977 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msHighContrastAdjust(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8979 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8980 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8984 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msHighContrastAdjust(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8986 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8987 FIXME("(%p)->(%p)\n", This
, p
);
8991 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_enableBackground(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8993 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8994 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8998 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_enableBackground(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9000 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9001 FIXME("(%p)->(%p)\n", This
, p
);
9005 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msFontFeatureSettings(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9007 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9008 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9012 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msFontFeatureSettings(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9014 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9015 FIXME("(%p)->(%p)\n", This
, p
);
9019 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msUserSelect(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9021 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9022 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9026 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msUserSelect(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9028 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9029 FIXME("(%p)->(%p)\n", This
, p
);
9033 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msOverflowStyle(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9035 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9036 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9040 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msOverflowStyle(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9042 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9043 FIXME("(%p)->(%p)\n", This
, p
);
9047 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msTransformStyle(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9049 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9050 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9054 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msTransformStyle(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9056 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9057 FIXME("(%p)->(%p)\n", This
, p
);
9061 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msBackfaceVisibility(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9063 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9064 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9068 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msBackfaceVisibility(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9070 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9071 FIXME("(%p)->(%p)\n", This
, p
);
9075 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msPerspective(IHTMLCSSStyleDeclaration2
*iface
, VARIANT v
)
9077 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9078 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
9082 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msPerspective(IHTMLCSSStyleDeclaration2
*iface
, VARIANT
*p
)
9084 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9085 FIXME("(%p)->(%p)\n", This
, p
);
9089 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msPerspectiveOrigin(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9091 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9092 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9096 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msPerspectiveOrigin(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9098 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9099 FIXME("(%p)->(%p)\n", This
, p
);
9103 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msTransitionProperty(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9105 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9106 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9110 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msTransitionProperty(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9112 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9113 FIXME("(%p)->(%p)\n", This
, p
);
9117 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msTransitionDuration(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9119 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9120 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9124 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msTransitionDuration(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9126 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9127 FIXME("(%p)->(%p)\n", This
, p
);
9131 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msTransitionTimingFunction(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9133 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9134 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9138 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msTransitionTimingFunction(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9140 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9141 FIXME("(%p)->(%p)\n", This
, p
);
9145 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msTransitionDelay(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9147 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9148 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9152 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msTransitionDelay(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9154 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9155 FIXME("(%p)->(%p)\n", This
, p
);
9159 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msTransition(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9161 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9162 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9166 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msTransition(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9168 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9169 FIXME("(%p)->(%p)\n", This
, p
);
9173 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msTouchAction(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9175 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9176 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9180 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msTouchAction(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9182 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9183 FIXME("(%p)->(%p)\n", This
, p
);
9187 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msScrollTranslation(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9189 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9190 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9194 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msScrollTranslation(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9196 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9197 FIXME("(%p)->(%p)\n", This
, p
);
9201 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msFlex(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9203 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9204 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9208 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msFlex(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9210 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9211 FIXME("(%p)->(%p)\n", This
, p
);
9215 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msFlexPositive(IHTMLCSSStyleDeclaration2
*iface
, VARIANT v
)
9217 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9218 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
9222 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msFlexPositive(IHTMLCSSStyleDeclaration2
*iface
, VARIANT
*p
)
9224 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9225 FIXME("(%p)->(%p)\n", This
, p
);
9229 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msFlexNegative(IHTMLCSSStyleDeclaration2
*iface
, VARIANT v
)
9231 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9232 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
9236 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msFlexNegative(IHTMLCSSStyleDeclaration2
*iface
, VARIANT
*p
)
9238 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9239 FIXME("(%p)->(%p)\n", This
, p
);
9243 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msFlexPreferredSize(IHTMLCSSStyleDeclaration2
*iface
, VARIANT v
)
9245 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9246 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
9250 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msFlexPreferredSize(IHTMLCSSStyleDeclaration2
*iface
, VARIANT
*p
)
9252 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9253 FIXME("(%p)->(%p)\n", This
, p
);
9257 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msFlexFlow(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9259 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9260 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9264 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msFlexFlow(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9266 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9267 FIXME("(%p)->(%p)\n", This
, p
);
9271 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msFlexDirection(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9273 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9274 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9278 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msFlexDirection(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9280 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9281 FIXME("(%p)->(%p)\n", This
, p
);
9285 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msFlexWrap(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9287 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9288 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9292 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msFlexWrap(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9294 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9295 FIXME("(%p)->(%p)\n", This
, p
);
9299 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msFlexAlign(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9301 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9302 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9306 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msFlexAlign(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9308 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9309 FIXME("(%p)->(%p)\n", This
, p
);
9313 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msFlexItemAlign(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9315 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9316 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9320 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msFlexItemAlign(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9322 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9323 FIXME("(%p)->(%p)\n", This
, p
);
9327 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msFlexPack(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9329 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9330 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9334 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msFlexPack(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9336 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9337 FIXME("(%p)->(%p)\n", This
, p
);
9341 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msFlexLinePack(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9343 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9344 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9348 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msFlexLinePack(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9350 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9351 FIXME("(%p)->(%p)\n", This
, p
);
9355 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msFlexOrder(IHTMLCSSStyleDeclaration2
*iface
, VARIANT v
)
9357 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9358 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
9362 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msFlexOrder(IHTMLCSSStyleDeclaration2
*iface
, VARIANT
*p
)
9364 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9365 FIXME("(%p)->(%p)\n", This
, p
);
9369 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msTouchSelect(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9371 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9372 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9376 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msTouchSelect(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9378 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9379 FIXME("(%p)->(%p)\n", This
, p
);
9383 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_transform(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9385 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9386 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
9387 return set_style_property(This
, STYLEID_TRANSFORM
, v
);
9390 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_transform(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9392 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9393 TRACE("(%p)->(%p)\n", This
, p
);
9394 return get_style_property(This
, STYLEID_TRANSFORM
, p
);
9397 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_transformOrigin(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9399 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9400 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9404 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_transformOrigin(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9406 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9407 FIXME("(%p)->(%p)\n", This
, p
);
9411 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_transformStyle(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9413 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9414 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9418 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_transformStyle(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9420 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9421 FIXME("(%p)->(%p)\n", This
, p
);
9425 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_backfaceVisibility(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9427 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9428 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9432 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_backfaceVisibility(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9434 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9435 FIXME("(%p)->(%p)\n", This
, p
);
9439 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_perspective(IHTMLCSSStyleDeclaration2
*iface
, VARIANT v
)
9441 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9442 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
9443 return set_style_property_var(This
, STYLEID_PERSPECTIVE
, &v
);
9446 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_perspective(IHTMLCSSStyleDeclaration2
*iface
, VARIANT
*p
)
9448 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9449 TRACE("(%p)->(%p)\n", This
, p
);
9450 return get_style_property_var(This
, STYLEID_PERSPECTIVE
, p
);
9453 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_perspectiveOrigin(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9455 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9456 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9460 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_perspectiveOrigin(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9462 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9463 FIXME("(%p)->(%p)\n", This
, p
);
9467 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_transitionProperty(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9469 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9470 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9474 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_transitionProperty(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9476 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9477 FIXME("(%p)->(%p)\n", This
, p
);
9481 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_transitionDuration(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9483 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9484 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9488 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_transitionDuration(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9490 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9491 FIXME("(%p)->(%p)\n", This
, p
);
9495 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_transitionTimingFunction(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9497 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9498 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9502 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_transitionTimingFunction(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9504 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9505 FIXME("(%p)->(%p)\n", This
, p
);
9509 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_transitionDelay(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9511 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9512 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9516 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_transitionDelay(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9518 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9519 FIXME("(%p)->(%p)\n", This
, p
);
9523 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_transition(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9525 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9526 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
9527 return set_style_property(This
, STYLEID_TRANSITION
, v
);
9530 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_transition(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9532 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9533 TRACE("(%p)->(%p)\n", This
, p
);
9534 return get_style_property(This
, STYLEID_TRANSITION
, p
);
9537 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_fontFeatureSettings(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9539 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9540 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9544 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_fontFeatureSettings(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9546 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9547 FIXME("(%p)->(%p)\n", This
, p
);
9551 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_animationName(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9553 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9554 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
9555 return set_style_property(This
, STYLEID_ANIMATION_NAME
, v
);
9558 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_animationName(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9560 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9561 TRACE("(%p)->(%p)\n", This
, p
);
9562 return get_style_property(This
, STYLEID_ANIMATION_NAME
, p
);
9565 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_animationDuration(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9567 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9568 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9572 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_animationDuration(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9574 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9575 FIXME("(%p)->(%p)\n", This
, p
);
9579 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_animationTimingFunction(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9581 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9582 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9586 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_animationTimingFunction(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9588 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9589 FIXME("(%p)->(%p)\n", This
, p
);
9593 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_animationDelay(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9595 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9596 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9600 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_animationDelay(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9602 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9603 FIXME("(%p)->(%p)\n", This
, p
);
9607 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_animationDirection(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9609 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9610 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9614 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_animationDirection(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9616 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9617 FIXME("(%p)->(%p)\n", This
, p
);
9621 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_animationPlayState(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9623 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9624 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9628 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_animationPlayState(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9630 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9631 FIXME("(%p)->(%p)\n", This
, p
);
9635 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_animationIterationCount(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9637 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9638 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9642 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_animationIterationCount(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9644 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9645 FIXME("(%p)->(%p)\n", This
, p
);
9649 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_animation(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9651 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9652 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
9653 return set_style_property(This
, STYLEID_ANIMATION
, v
);
9656 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_animation(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9658 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9659 TRACE("(%p)->(%p)\n", This
, p
);
9660 return get_style_property(This
, STYLEID_ANIMATION
, p
);
9663 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_animationFillMode(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9665 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9666 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9670 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_animationFillMode(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9672 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9673 FIXME("(%p)->(%p)\n", This
, p
);
9677 static const IHTMLCSSStyleDeclaration2Vtbl HTMLCSSStyleDeclaration2Vtbl
= {
9678 HTMLCSSStyleDeclaration2_QueryInterface
,
9679 HTMLCSSStyleDeclaration2_AddRef
,
9680 HTMLCSSStyleDeclaration2_Release
,
9681 HTMLCSSStyleDeclaration2_GetTypeInfoCount
,
9682 HTMLCSSStyleDeclaration2_GetTypeInfo
,
9683 HTMLCSSStyleDeclaration2_GetIDsOfNames
,
9684 HTMLCSSStyleDeclaration2_Invoke
,
9685 HTMLCSSStyleDeclaration2_put_msScrollChaining
,
9686 HTMLCSSStyleDeclaration2_get_msScrollChaining
,
9687 HTMLCSSStyleDeclaration2_put_msContentZooming
,
9688 HTMLCSSStyleDeclaration2_get_msContentZooming
,
9689 HTMLCSSStyleDeclaration2_put_msContentZoomSnapType
,
9690 HTMLCSSStyleDeclaration2_get_msContentZoomSnapType
,
9691 HTMLCSSStyleDeclaration2_put_msScrollRails
,
9692 HTMLCSSStyleDeclaration2_get_msScrollRails
,
9693 HTMLCSSStyleDeclaration2_put_msContentZoomChaining
,
9694 HTMLCSSStyleDeclaration2_get_msContentZoomChaining
,
9695 HTMLCSSStyleDeclaration2_put_msScrollSnapType
,
9696 HTMLCSSStyleDeclaration2_get_msScrollSnapType
,
9697 HTMLCSSStyleDeclaration2_put_msContentZoomLimit
,
9698 HTMLCSSStyleDeclaration2_get_msContentZoomLimit
,
9699 HTMLCSSStyleDeclaration2_put_msContentZoomSnap
,
9700 HTMLCSSStyleDeclaration2_get_msContentZoomSnap
,
9701 HTMLCSSStyleDeclaration2_put_msContentZoomSnapPoints
,
9702 HTMLCSSStyleDeclaration2_get_msContentZoomSnapPoints
,
9703 HTMLCSSStyleDeclaration2_put_msContentZoomLimitMin
,
9704 HTMLCSSStyleDeclaration2_get_msContentZoomLimitMin
,
9705 HTMLCSSStyleDeclaration2_put_msContentZoomLimitMax
,
9706 HTMLCSSStyleDeclaration2_get_msContentZoomLimitMax
,
9707 HTMLCSSStyleDeclaration2_put_msScrollSnapX
,
9708 HTMLCSSStyleDeclaration2_get_msScrollSnapX
,
9709 HTMLCSSStyleDeclaration2_put_msScrollSnapY
,
9710 HTMLCSSStyleDeclaration2_get_msScrollSnapY
,
9711 HTMLCSSStyleDeclaration2_put_msScrollSnapPointsX
,
9712 HTMLCSSStyleDeclaration2_get_msScrollSnapPointsX
,
9713 HTMLCSSStyleDeclaration2_put_msScrollSnapPointsY
,
9714 HTMLCSSStyleDeclaration2_get_msScrollSnapPointsY
,
9715 HTMLCSSStyleDeclaration2_put_msGridColumn
,
9716 HTMLCSSStyleDeclaration2_get_msGridColumn
,
9717 HTMLCSSStyleDeclaration2_put_msGridColumnAlign
,
9718 HTMLCSSStyleDeclaration2_get_msGridColumnAlign
,
9719 HTMLCSSStyleDeclaration2_put_msGridColumns
,
9720 HTMLCSSStyleDeclaration2_get_msGridColumns
,
9721 HTMLCSSStyleDeclaration2_put_msGridColumnSpan
,
9722 HTMLCSSStyleDeclaration2_get_msGridColumnSpan
,
9723 HTMLCSSStyleDeclaration2_put_msGridRow
,
9724 HTMLCSSStyleDeclaration2_get_msGridRow
,
9725 HTMLCSSStyleDeclaration2_put_msGridRowAlign
,
9726 HTMLCSSStyleDeclaration2_get_msGridRowAlign
,
9727 HTMLCSSStyleDeclaration2_put_msGridRows
,
9728 HTMLCSSStyleDeclaration2_get_msGridRows
,
9729 HTMLCSSStyleDeclaration2_put_msGridRowSpan
,
9730 HTMLCSSStyleDeclaration2_get_msGridRowSpan
,
9731 HTMLCSSStyleDeclaration2_put_msWrapThrough
,
9732 HTMLCSSStyleDeclaration2_get_msWrapThrough
,
9733 HTMLCSSStyleDeclaration2_put_msWrapMargin
,
9734 HTMLCSSStyleDeclaration2_get_msWrapMargin
,
9735 HTMLCSSStyleDeclaration2_put_msWrapFlow
,
9736 HTMLCSSStyleDeclaration2_get_msWrapFlow
,
9737 HTMLCSSStyleDeclaration2_put_msAnimationName
,
9738 HTMLCSSStyleDeclaration2_get_msAnimationName
,
9739 HTMLCSSStyleDeclaration2_put_msAnimationDuration
,
9740 HTMLCSSStyleDeclaration2_get_msAnimationDuration
,
9741 HTMLCSSStyleDeclaration2_put_msAnimationTimingFunction
,
9742 HTMLCSSStyleDeclaration2_get_msAnimationTimingFunction
,
9743 HTMLCSSStyleDeclaration2_put_msAnimationDelay
,
9744 HTMLCSSStyleDeclaration2_get_msAnimationDelay
,
9745 HTMLCSSStyleDeclaration2_put_msAnimationDirection
,
9746 HTMLCSSStyleDeclaration2_get_msAnimationDirection
,
9747 HTMLCSSStyleDeclaration2_put_msAnimationPlayState
,
9748 HTMLCSSStyleDeclaration2_get_msAnimationPlayState
,
9749 HTMLCSSStyleDeclaration2_put_msAnimationIterationCount
,
9750 HTMLCSSStyleDeclaration2_get_msAnimationIterationCount
,
9751 HTMLCSSStyleDeclaration2_put_msAnimation
,
9752 HTMLCSSStyleDeclaration2_get_msAnimation
,
9753 HTMLCSSStyleDeclaration2_put_msAnimationFillMode
,
9754 HTMLCSSStyleDeclaration2_get_msAnimationFillMode
,
9755 HTMLCSSStyleDeclaration2_put_colorInterpolationFilters
,
9756 HTMLCSSStyleDeclaration2_get_colorInterpolationFilters
,
9757 HTMLCSSStyleDeclaration2_put_columnCount
,
9758 HTMLCSSStyleDeclaration2_get_columnCount
,
9759 HTMLCSSStyleDeclaration2_put_columnWidth
,
9760 HTMLCSSStyleDeclaration2_get_columnWidth
,
9761 HTMLCSSStyleDeclaration2_put_columnGap
,
9762 HTMLCSSStyleDeclaration2_get_columnGap
,
9763 HTMLCSSStyleDeclaration2_put_columnFill
,
9764 HTMLCSSStyleDeclaration2_get_columnFill
,
9765 HTMLCSSStyleDeclaration2_put_columnSpan
,
9766 HTMLCSSStyleDeclaration2_get_columnSpan
,
9767 HTMLCSSStyleDeclaration2_put_columns
,
9768 HTMLCSSStyleDeclaration2_get_columns
,
9769 HTMLCSSStyleDeclaration2_put_columnRule
,
9770 HTMLCSSStyleDeclaration2_get_columnRule
,
9771 HTMLCSSStyleDeclaration2_put_columnRuleColor
,
9772 HTMLCSSStyleDeclaration2_get_columnRuleColor
,
9773 HTMLCSSStyleDeclaration2_put_columnRuleStyle
,
9774 HTMLCSSStyleDeclaration2_get_columnRuleStyle
,
9775 HTMLCSSStyleDeclaration2_put_columnRuleWidth
,
9776 HTMLCSSStyleDeclaration2_get_columnRuleWidth
,
9777 HTMLCSSStyleDeclaration2_put_breakBefore
,
9778 HTMLCSSStyleDeclaration2_get_breakBefore
,
9779 HTMLCSSStyleDeclaration2_put_breakAfter
,
9780 HTMLCSSStyleDeclaration2_get_breakAfter
,
9781 HTMLCSSStyleDeclaration2_put_breakInside
,
9782 HTMLCSSStyleDeclaration2_get_breakInside
,
9783 HTMLCSSStyleDeclaration2_put_floodColor
,
9784 HTMLCSSStyleDeclaration2_get_floodColor
,
9785 HTMLCSSStyleDeclaration2_put_floodOpacity
,
9786 HTMLCSSStyleDeclaration2_get_floodOpacity
,
9787 HTMLCSSStyleDeclaration2_put_lightingColor
,
9788 HTMLCSSStyleDeclaration2_get_lightingColor
,
9789 HTMLCSSStyleDeclaration2_put_msScrollLimitXMin
,
9790 HTMLCSSStyleDeclaration2_get_msScrollLimitXMin
,
9791 HTMLCSSStyleDeclaration2_put_msScrollLimitYMin
,
9792 HTMLCSSStyleDeclaration2_get_msScrollLimitYMin
,
9793 HTMLCSSStyleDeclaration2_put_msScrollLimitXMax
,
9794 HTMLCSSStyleDeclaration2_get_msScrollLimitXMax
,
9795 HTMLCSSStyleDeclaration2_put_msScrollLimitYMax
,
9796 HTMLCSSStyleDeclaration2_get_msScrollLimitYMax
,
9797 HTMLCSSStyleDeclaration2_put_msScrollLimit
,
9798 HTMLCSSStyleDeclaration2_get_msScrollLimit
,
9799 HTMLCSSStyleDeclaration2_put_textShadow
,
9800 HTMLCSSStyleDeclaration2_get_textShadow
,
9801 HTMLCSSStyleDeclaration2_put_msFlowFrom
,
9802 HTMLCSSStyleDeclaration2_get_msFlowFrom
,
9803 HTMLCSSStyleDeclaration2_put_msFlowInto
,
9804 HTMLCSSStyleDeclaration2_get_msFlowInto
,
9805 HTMLCSSStyleDeclaration2_put_msHyphens
,
9806 HTMLCSSStyleDeclaration2_get_msHyphens
,
9807 HTMLCSSStyleDeclaration2_put_msHyphenateLimitZone
,
9808 HTMLCSSStyleDeclaration2_get_msHyphenateLimitZone
,
9809 HTMLCSSStyleDeclaration2_put_msHyphenateLimitChars
,
9810 HTMLCSSStyleDeclaration2_get_msHyphenateLimitChars
,
9811 HTMLCSSStyleDeclaration2_put_msHyphenateLimitLines
,
9812 HTMLCSSStyleDeclaration2_get_msHyphenateLimitLines
,
9813 HTMLCSSStyleDeclaration2_put_msHighContrastAdjust
,
9814 HTMLCSSStyleDeclaration2_get_msHighContrastAdjust
,
9815 HTMLCSSStyleDeclaration2_put_enableBackground
,
9816 HTMLCSSStyleDeclaration2_get_enableBackground
,
9817 HTMLCSSStyleDeclaration2_put_msFontFeatureSettings
,
9818 HTMLCSSStyleDeclaration2_get_msFontFeatureSettings
,
9819 HTMLCSSStyleDeclaration2_put_msUserSelect
,
9820 HTMLCSSStyleDeclaration2_get_msUserSelect
,
9821 HTMLCSSStyleDeclaration2_put_msOverflowStyle
,
9822 HTMLCSSStyleDeclaration2_get_msOverflowStyle
,
9823 HTMLCSSStyleDeclaration2_put_msTransformStyle
,
9824 HTMLCSSStyleDeclaration2_get_msTransformStyle
,
9825 HTMLCSSStyleDeclaration2_put_msBackfaceVisibility
,
9826 HTMLCSSStyleDeclaration2_get_msBackfaceVisibility
,
9827 HTMLCSSStyleDeclaration2_put_msPerspective
,
9828 HTMLCSSStyleDeclaration2_get_msPerspective
,
9829 HTMLCSSStyleDeclaration2_put_msPerspectiveOrigin
,
9830 HTMLCSSStyleDeclaration2_get_msPerspectiveOrigin
,
9831 HTMLCSSStyleDeclaration2_put_msTransitionProperty
,
9832 HTMLCSSStyleDeclaration2_get_msTransitionProperty
,
9833 HTMLCSSStyleDeclaration2_put_msTransitionDuration
,
9834 HTMLCSSStyleDeclaration2_get_msTransitionDuration
,
9835 HTMLCSSStyleDeclaration2_put_msTransitionTimingFunction
,
9836 HTMLCSSStyleDeclaration2_get_msTransitionTimingFunction
,
9837 HTMLCSSStyleDeclaration2_put_msTransitionDelay
,
9838 HTMLCSSStyleDeclaration2_get_msTransitionDelay
,
9839 HTMLCSSStyleDeclaration2_put_msTransition
,
9840 HTMLCSSStyleDeclaration2_get_msTransition
,
9841 HTMLCSSStyleDeclaration2_put_msTouchAction
,
9842 HTMLCSSStyleDeclaration2_get_msTouchAction
,
9843 HTMLCSSStyleDeclaration2_put_msScrollTranslation
,
9844 HTMLCSSStyleDeclaration2_get_msScrollTranslation
,
9845 HTMLCSSStyleDeclaration2_put_msFlex
,
9846 HTMLCSSStyleDeclaration2_get_msFlex
,
9847 HTMLCSSStyleDeclaration2_put_msFlexPositive
,
9848 HTMLCSSStyleDeclaration2_get_msFlexPositive
,
9849 HTMLCSSStyleDeclaration2_put_msFlexNegative
,
9850 HTMLCSSStyleDeclaration2_get_msFlexNegative
,
9851 HTMLCSSStyleDeclaration2_put_msFlexPreferredSize
,
9852 HTMLCSSStyleDeclaration2_get_msFlexPreferredSize
,
9853 HTMLCSSStyleDeclaration2_put_msFlexFlow
,
9854 HTMLCSSStyleDeclaration2_get_msFlexFlow
,
9855 HTMLCSSStyleDeclaration2_put_msFlexDirection
,
9856 HTMLCSSStyleDeclaration2_get_msFlexDirection
,
9857 HTMLCSSStyleDeclaration2_put_msFlexWrap
,
9858 HTMLCSSStyleDeclaration2_get_msFlexWrap
,
9859 HTMLCSSStyleDeclaration2_put_msFlexAlign
,
9860 HTMLCSSStyleDeclaration2_get_msFlexAlign
,
9861 HTMLCSSStyleDeclaration2_put_msFlexItemAlign
,
9862 HTMLCSSStyleDeclaration2_get_msFlexItemAlign
,
9863 HTMLCSSStyleDeclaration2_put_msFlexPack
,
9864 HTMLCSSStyleDeclaration2_get_msFlexPack
,
9865 HTMLCSSStyleDeclaration2_put_msFlexLinePack
,
9866 HTMLCSSStyleDeclaration2_get_msFlexLinePack
,
9867 HTMLCSSStyleDeclaration2_put_msFlexOrder
,
9868 HTMLCSSStyleDeclaration2_get_msFlexOrder
,
9869 HTMLCSSStyleDeclaration2_put_msTouchSelect
,
9870 HTMLCSSStyleDeclaration2_get_msTouchSelect
,
9871 HTMLCSSStyleDeclaration2_put_transform
,
9872 HTMLCSSStyleDeclaration2_get_transform
,
9873 HTMLCSSStyleDeclaration2_put_transformOrigin
,
9874 HTMLCSSStyleDeclaration2_get_transformOrigin
,
9875 HTMLCSSStyleDeclaration2_put_transformStyle
,
9876 HTMLCSSStyleDeclaration2_get_transformStyle
,
9877 HTMLCSSStyleDeclaration2_put_backfaceVisibility
,
9878 HTMLCSSStyleDeclaration2_get_backfaceVisibility
,
9879 HTMLCSSStyleDeclaration2_put_perspective
,
9880 HTMLCSSStyleDeclaration2_get_perspective
,
9881 HTMLCSSStyleDeclaration2_put_perspectiveOrigin
,
9882 HTMLCSSStyleDeclaration2_get_perspectiveOrigin
,
9883 HTMLCSSStyleDeclaration2_put_transitionProperty
,
9884 HTMLCSSStyleDeclaration2_get_transitionProperty
,
9885 HTMLCSSStyleDeclaration2_put_transitionDuration
,
9886 HTMLCSSStyleDeclaration2_get_transitionDuration
,
9887 HTMLCSSStyleDeclaration2_put_transitionTimingFunction
,
9888 HTMLCSSStyleDeclaration2_get_transitionTimingFunction
,
9889 HTMLCSSStyleDeclaration2_put_transitionDelay
,
9890 HTMLCSSStyleDeclaration2_get_transitionDelay
,
9891 HTMLCSSStyleDeclaration2_put_transition
,
9892 HTMLCSSStyleDeclaration2_get_transition
,
9893 HTMLCSSStyleDeclaration2_put_fontFeatureSettings
,
9894 HTMLCSSStyleDeclaration2_get_fontFeatureSettings
,
9895 HTMLCSSStyleDeclaration2_put_animationName
,
9896 HTMLCSSStyleDeclaration2_get_animationName
,
9897 HTMLCSSStyleDeclaration2_put_animationDuration
,
9898 HTMLCSSStyleDeclaration2_get_animationDuration
,
9899 HTMLCSSStyleDeclaration2_put_animationTimingFunction
,
9900 HTMLCSSStyleDeclaration2_get_animationTimingFunction
,
9901 HTMLCSSStyleDeclaration2_put_animationDelay
,
9902 HTMLCSSStyleDeclaration2_get_animationDelay
,
9903 HTMLCSSStyleDeclaration2_put_animationDirection
,
9904 HTMLCSSStyleDeclaration2_get_animationDirection
,
9905 HTMLCSSStyleDeclaration2_put_animationPlayState
,
9906 HTMLCSSStyleDeclaration2_get_animationPlayState
,
9907 HTMLCSSStyleDeclaration2_put_animationIterationCount
,
9908 HTMLCSSStyleDeclaration2_get_animationIterationCount
,
9909 HTMLCSSStyleDeclaration2_put_animation
,
9910 HTMLCSSStyleDeclaration2_get_animation
,
9911 HTMLCSSStyleDeclaration2_put_animationFillMode
,
9912 HTMLCSSStyleDeclaration2_get_animationFillMode
9915 static inline CSSStyle
*impl_from_DispatchEx(DispatchEx
*dispex
)
9917 return CONTAINING_RECORD(dispex
, CSSStyle
, dispex
);
9920 void *CSSStyle_query_interface(DispatchEx
*dispex
, REFIID riid
)
9922 CSSStyle
*This
= impl_from_DispatchEx(dispex
);
9924 if(IsEqualGUID(&IID_IHTMLCSSStyleDeclaration
, riid
))
9925 return &This
->IHTMLCSSStyleDeclaration_iface
;
9926 if(IsEqualGUID(&IID_IHTMLCSSStyleDeclaration2
, riid
))
9927 return &This
->IHTMLCSSStyleDeclaration2_iface
;
9932 void CSSStyle_traverse(DispatchEx
*dispex
, nsCycleCollectionTraversalCallback
*cb
)
9934 CSSStyle
*This
= impl_from_DispatchEx(dispex
);
9936 note_cc_edge((nsISupports
*)This
->nsstyle
, "nsstyle", cb
);
9939 void CSSStyle_unlink(DispatchEx
*dispex
)
9941 CSSStyle
*This
= impl_from_DispatchEx(dispex
);
9942 unlink_ref(&This
->nsstyle
);
9945 void CSSStyle_destructor(DispatchEx
*dispex
)
9947 CSSStyle
*This
= impl_from_DispatchEx(dispex
);
9951 HRESULT
CSSStyle_get_dispid(DispatchEx
*dispex
, BSTR name
, DWORD flags
, DISPID
*dispid
)
9953 CSSStyle
*This
= impl_from_DispatchEx(dispex
);
9954 const style_tbl_entry_t
*style_entry
;
9956 style_entry
= lookup_style_tbl(This
, name
);
9958 DISPID id
= dispex_compat_mode(dispex
) >= COMPAT_MODE_IE9
9959 ? style_entry
->dispid
: style_entry
->compat_dispid
;
9960 if(id
== DISPID_UNKNOWN
)
9961 return DISP_E_UNKNOWNNAME
;
9967 return DISP_E_UNKNOWNNAME
;
9970 static inline HTMLStyle
*HTMLStyle_from_DispatchEx(DispatchEx
*dispex
)
9972 return CONTAINING_RECORD(dispex
, HTMLStyle
, css_style
.dispex
);
9975 static void *HTMLStyle_query_interface(DispatchEx
*dispex
, REFIID riid
)
9977 HTMLStyle
*This
= HTMLStyle_from_DispatchEx(dispex
);
9979 if(IsEqualGUID(&IID_IHTMLStyle
, riid
))
9980 return &This
->IHTMLStyle_iface
;
9981 if(IsEqualGUID(&IID_IHTMLStyle2
, riid
))
9982 return &This
->IHTMLStyle2_iface
;
9983 if(IsEqualGUID(&IID_IHTMLStyle3
, riid
))
9984 return &This
->IHTMLStyle3_iface
;
9985 if(IsEqualGUID(&IID_IHTMLStyle4
, riid
))
9986 return &This
->IHTMLStyle4_iface
;
9987 if(IsEqualGUID(&IID_IHTMLStyle5
, riid
))
9988 return &This
->IHTMLStyle5_iface
;
9989 if(IsEqualGUID(&IID_IHTMLStyle6
, riid
))
9990 return &This
->IHTMLStyle6_iface
;
9991 return CSSStyle_query_interface(&This
->css_style
.dispex
, riid
);
9994 static void HTMLStyle_traverse(DispatchEx
*dispex
, nsCycleCollectionTraversalCallback
*cb
)
9996 HTMLStyle
*This
= HTMLStyle_from_DispatchEx(dispex
);
9997 CSSStyle_traverse(&This
->css_style
.dispex
, cb
);
10000 note_cc_edge((nsISupports
*)&This
->elem
->node
.IHTMLDOMNode_iface
, "elem", cb
);
10003 static void HTMLStyle_unlink(DispatchEx
*dispex
)
10005 HTMLStyle
*This
= HTMLStyle_from_DispatchEx(dispex
);
10006 CSSStyle_unlink(&This
->css_style
.dispex
);
10009 HTMLElement
*elem
= This
->elem
;
10011 IHTMLDOMNode_Release(&elem
->node
.IHTMLDOMNode_iface
);
10015 void CSSStyle_init_dispex_info(dispex_data_t
*info
, compat_mode_t mode
)
10017 if(mode
>= COMPAT_MODE_IE9
)
10018 dispex_info_add_interface(info
, IHTMLCSSStyleDeclaration_tid
, NULL
);
10019 if(mode
>= COMPAT_MODE_IE10
)
10020 dispex_info_add_interface(info
, IHTMLCSSStyleDeclaration2_tid
, NULL
);
10023 static const dispex_static_data_vtbl_t HTMLStyle_dispex_vtbl
= {
10024 CSSSTYLE_DISPEX_VTBL_ENTRIES
,
10025 .query_interface
= HTMLStyle_query_interface
,
10026 .traverse
= HTMLStyle_traverse
,
10027 .unlink
= HTMLStyle_unlink
10030 static const tid_t HTMLStyle_iface_tids
[] = {
10039 static dispex_static_data_t HTMLStyle_dispex
= {
10040 "MSStyleCSSProperties",
10041 &HTMLStyle_dispex_vtbl
,
10043 HTMLStyle_iface_tids
,
10044 CSSStyle_init_dispex_info
10047 static HRESULT
get_style_from_elem(HTMLElement
*elem
, nsIDOMCSSStyleDeclaration
**ret
)
10049 nsIDOMElementCSSInlineStyle
*nselemstyle
;
10050 nsIDOMSVGElement
*svg_element
;
10053 if(!elem
->dom_element
) {
10054 FIXME("comment element\n");
10058 nsres
= nsIDOMElement_QueryInterface(elem
->dom_element
, &IID_nsIDOMElementCSSInlineStyle
,
10059 (void**)&nselemstyle
);
10060 if(NS_SUCCEEDED(nsres
)) {
10061 nsres
= nsIDOMElementCSSInlineStyle_GetStyle(nselemstyle
, ret
);
10062 nsIDOMElementCSSInlineStyle_Release(nselemstyle
);
10063 if(NS_FAILED(nsres
)) {
10064 ERR("GetStyle failed: %08lx\n", nsres
);
10070 nsres
= nsIDOMElement_QueryInterface(elem
->dom_element
, &IID_nsIDOMSVGElement
, (void**)&svg_element
);
10071 if(NS_SUCCEEDED(nsres
)) {
10072 nsres
= nsIDOMSVGElement_GetStyle(svg_element
, ret
);
10073 nsIDOMSVGElement_Release(svg_element
);
10074 if(NS_FAILED(nsres
)) {
10075 ERR("GetStyle failed: %08lx\n", nsres
);
10081 FIXME("Unsupported element type\n");
10085 void init_css_style(CSSStyle
*style
, nsIDOMCSSStyleDeclaration
*nsstyle
, dispex_static_data_t
*dispex_info
, compat_mode_t compat_mode
)
10087 style
->IHTMLCSSStyleDeclaration_iface
.lpVtbl
= &HTMLCSSStyleDeclarationVtbl
;
10088 style
->IHTMLCSSStyleDeclaration2_iface
.lpVtbl
= &HTMLCSSStyleDeclaration2Vtbl
;
10089 style
->nsstyle
= nsstyle
;
10090 nsIDOMCSSStyleDeclaration_AddRef(nsstyle
);
10092 init_dispatch(&style
->dispex
, dispex_info
, compat_mode
);
10095 HRESULT
HTMLStyle_Create(HTMLElement
*elem
, HTMLStyle
**ret
)
10097 nsIDOMCSSStyleDeclaration
*nsstyle
;
10101 hres
= get_style_from_elem(elem
, &nsstyle
);
10105 style
= calloc(1, sizeof(HTMLStyle
));
10107 nsIDOMCSSStyleDeclaration_Release(nsstyle
);
10108 return E_OUTOFMEMORY
;
10111 style
->IHTMLStyle_iface
.lpVtbl
= &HTMLStyleVtbl
;
10112 style
->IHTMLStyle2_iface
.lpVtbl
= &HTMLStyle2Vtbl
;
10113 style
->IHTMLStyle3_iface
.lpVtbl
= &HTMLStyle3Vtbl
;
10114 style
->IHTMLStyle4_iface
.lpVtbl
= &HTMLStyle4Vtbl
;
10115 style
->IHTMLStyle5_iface
.lpVtbl
= &HTMLStyle5Vtbl
;
10116 style
->IHTMLStyle6_iface
.lpVtbl
= &HTMLStyle6Vtbl
;
10118 style
->elem
= elem
;
10119 IHTMLDOMNode_AddRef(&elem
->node
.IHTMLDOMNode_iface
);
10121 init_css_style(&style
->css_style
, nsstyle
, &HTMLStyle_dispex
, dispex_compat_mode(&elem
->node
.event_target
.dispex
));
10122 nsIDOMCSSStyleDeclaration_Release(nsstyle
);
10128 static const dispex_static_data_vtbl_t HTMLW3CComputedStyle_dispex_vtbl
= {
10129 CSSSTYLE_DISPEX_VTBL_ENTRIES
,
10130 .query_interface
= CSSStyle_query_interface
,
10131 .traverse
= CSSStyle_traverse
,
10132 .unlink
= CSSStyle_unlink
10135 static const tid_t HTMLW3CComputedStyle_iface_tids
[] = {
10138 static dispex_static_data_t HTMLW3CComputedStyle_dispex
= {
10139 "CSSStyleDeclaration",
10140 &HTMLW3CComputedStyle_dispex_vtbl
,
10141 DispHTMLW3CComputedStyle_tid
,
10142 HTMLW3CComputedStyle_iface_tids
,
10143 CSSStyle_init_dispex_info
10146 HRESULT
create_computed_style(nsIDOMCSSStyleDeclaration
*nsstyle
, compat_mode_t compat_mode
, IHTMLCSSStyleDeclaration
**p
)
10150 if(!(style
= calloc(1, sizeof(*style
))))
10151 return E_OUTOFMEMORY
;
10153 init_css_style(style
, nsstyle
, &HTMLW3CComputedStyle_dispex
, compat_mode
);
10154 *p
= &style
->IHTMLCSSStyleDeclaration_iface
;
10158 HRESULT
get_elem_style(HTMLElement
*elem
, styleid_t styleid
, BSTR
*ret
)
10160 nsIDOMCSSStyleDeclaration
*style
;
10163 hres
= get_style_from_elem(elem
, &style
);
10167 hres
= get_nsstyle_property(style
, styleid
, COMPAT_MODE_IE11
, ret
);
10168 nsIDOMCSSStyleDeclaration_Release(style
);
10172 HRESULT
set_elem_style(HTMLElement
*elem
, styleid_t styleid
, const WCHAR
*val
)
10174 nsIDOMCSSStyleDeclaration
*style
;
10175 nsAString value_str
;
10178 hres
= get_style_from_elem(elem
, &style
);
10182 nsAString_InitDepend(&value_str
, val
);
10183 hres
= set_nsstyle_property(style
, styleid
, &value_str
);
10184 nsAString_Finish(&value_str
);
10185 nsIDOMCSSStyleDeclaration_Release(style
);