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_BORDER
,
191 DISPID_IHTMLCSSSTYLEDECLARATION_BORDERBOTTOM
,
192 DISPID_A_BORDERBOTTOM
,
196 L
"border-bottom-color",
197 DISPID_IHTMLCSSSTYLEDECLARATION_BORDERBOTTOMCOLOR
,
198 DISPID_A_BORDERBOTTOMCOLOR
,
202 L
"border-bottom-style",
203 DISPID_IHTMLCSSSTYLEDECLARATION_BORDERBOTTOMSTYLE
,
204 DISPID_A_BORDERBOTTOMSTYLE
,
205 0, border_style_values
208 L
"border-bottom-width",
209 DISPID_IHTMLCSSSTYLEDECLARATION_BORDERBOTTOMWIDTH
,
210 DISPID_A_BORDERBOTTOMWIDTH
,
215 DISPID_IHTMLCSSSTYLEDECLARATION_BORDERCOLLAPSE
,
216 DISPID_A_BORDERCOLLAPSE
220 DISPID_IHTMLCSSSTYLEDECLARATION_BORDERCOLOR
,
225 DISPID_IHTMLCSSSTYLEDECLARATION_BORDERLEFT
,
230 L
"border-left-color",
231 DISPID_IHTMLCSSSTYLEDECLARATION_BORDERLEFTCOLOR
,
232 DISPID_A_BORDERLEFTCOLOR
,
236 L
"border-left-style",
237 DISPID_IHTMLCSSSTYLEDECLARATION_BORDERLEFTSTYLE
,
238 DISPID_A_BORDERLEFTSTYLE
,
239 0, border_style_values
242 L
"border-left-width",
243 DISPID_IHTMLCSSSTYLEDECLARATION_BORDERLEFTWIDTH
,
244 DISPID_A_BORDERLEFTWIDTH
,
249 DISPID_IHTMLCSSSTYLEDECLARATION_BORDERRIGHT
,
250 DISPID_A_BORDERRIGHT
,
254 L
"border-right-color",
255 DISPID_IHTMLCSSSTYLEDECLARATION_BORDERRIGHTCOLOR
,
256 DISPID_A_BORDERRIGHTCOLOR
,
260 L
"border-right-style",
261 DISPID_IHTMLCSSSTYLEDECLARATION_BORDERRIGHTSTYLE
,
262 DISPID_A_BORDERRIGHTSTYLE
,
263 0, border_style_values
266 L
"border-right-width",
267 DISPID_IHTMLCSSSTYLEDECLARATION_BORDERRIGHTWIDTH
,
268 DISPID_A_BORDERRIGHTWIDTH
,
273 DISPID_IHTMLCSSSTYLEDECLARATION_BORDERSPACING
,
274 DISPID_A_BORDERSPACING
278 DISPID_IHTMLCSSSTYLEDECLARATION_BORDERSTYLE
,
283 DISPID_IHTMLCSSSTYLEDECLARATION_BORDERTOP
,
289 DISPID_IHTMLCSSSTYLEDECLARATION_BORDERTOPCOLOR
,
290 DISPID_A_BORDERTOPCOLOR
,
295 DISPID_IHTMLCSSSTYLEDECLARATION_BORDERTOPSTYLE
,
296 DISPID_A_BORDERTOPSTYLE
,
297 0, border_style_values
301 DISPID_IHTMLCSSSTYLEDECLARATION_BORDERTOPWIDTH
,
302 DISPID_A_BORDERTOPWIDTH
306 DISPID_IHTMLCSSSTYLEDECLARATION_BORDERWIDTH
,
311 DISPID_IHTMLCSSSTYLEDECLARATION_BOTTOM
,
312 STDPROPID_XOBJ_BOTTOM
,
317 DISPID_IHTMLCSSSTYLEDECLARATION_BOXSIZING
,
322 DISPID_IHTMLCSSSTYLEDECLARATION_CLEAR
,
327 DISPID_IHTMLCSSSTYLEDECLARATION_CLIP
,
333 DISPID_IHTMLCSSSTYLEDECLARATION_COLOR
,
339 DISPID_IHTMLCSSSTYLEDECLARATION2_COLUMNCOUNT
,
345 DISPID_IHTMLCSSSTYLEDECLARATION2_COLUMNFILL
,
351 DISPID_IHTMLCSSSTYLEDECLARATION2_COLUMNGAP
,
357 DISPID_IHTMLCSSSTYLEDECLARATION2_COLUMNRULE
,
362 L
"column-rule-color",
363 DISPID_IHTMLCSSSTYLEDECLARATION2_COLUMNRULECOLOR
,
368 L
"column-rule-style",
369 DISPID_IHTMLCSSSTYLEDECLARATION2_COLUMNRULESTYLE
,
374 L
"column-rule-width",
375 DISPID_IHTMLCSSSTYLEDECLARATION2_COLUMNRULEWIDTH
,
381 DISPID_IHTMLCSSSTYLEDECLARATION2_COLUMNSPAN
,
387 DISPID_IHTMLCSSSTYLEDECLARATION2_COLUMNWIDTH
,
393 DISPID_IHTMLCSSSTYLEDECLARATION_CURSOR
,
398 DISPID_IHTMLCSSSTYLEDECLARATION_DIRECTION
,
403 DISPID_IHTMLCSSSTYLEDECLARATION_DISPLAY
,
408 DISPID_IHTMLCSSSTYLEDECLARATION_FILTER
,
413 DISPID_IHTMLCSSSTYLEDECLARATION_CSSFLOAT
,
418 DISPID_IHTMLCSSSTYLEDECLARATION_FONTFAMILY
,
423 DISPID_IHTMLCSSSTYLEDECLARATION_FONTSIZE
,
429 DISPID_IHTMLCSSSTYLEDECLARATION_FONTSTYLE
,
435 DISPID_IHTMLCSSSTYLEDECLARATION_FONTVARIANT
,
436 DISPID_A_FONTVARIANT
,
437 0, font_variant_values
441 DISPID_IHTMLCSSSTYLEDECLARATION_FONTWEIGHT
,
443 ATTR_STR_TO_INT
, font_weight_values
447 DISPID_IHTMLCSSSTYLEDECLARATION_HEIGHT
,
448 STDPROPID_XOBJ_HEIGHT
,
453 DISPID_IHTMLCSSSTYLEDECLARATION_LEFT
,
458 DISPID_IHTMLCSSSTYLEDECLARATION_LETTERSPACING
,
459 DISPID_A_LETTERSPACING
463 DISPID_IHTMLCSSSTYLEDECLARATION_LINEHEIGHT
,
468 DISPID_IHTMLCSSSTYLEDECLARATION_LISTSTYLE
,
472 L
"list-style-position",
473 DISPID_IHTMLCSSSTYLEDECLARATION_LISTSTYLEPOSITION
,
474 DISPID_A_LISTSTYLEPOSITION
478 DISPID_IHTMLCSSSTYLEDECLARATION_LISTSTYLETYPE
,
479 DISPID_A_LISTSTYLETYPE
483 DISPID_IHTMLCSSSTYLEDECLARATION_MARGIN
,
488 DISPID_IHTMLCSSSTYLEDECLARATION_MARGINBOTTOM
,
489 DISPID_A_MARGINBOTTOM
,
494 DISPID_IHTMLCSSSTYLEDECLARATION_MARGINLEFT
,
500 DISPID_IHTMLCSSSTYLEDECLARATION_MARGINRIGHT
,
501 DISPID_A_MARGINRIGHT
,
506 DISPID_IHTMLCSSSTYLEDECLARATION_MARGINTOP
,
512 DISPID_IHTMLCSSSTYLEDECLARATION_MAXHEIGHT
,
518 DISPID_IHTMLCSSSTYLEDECLARATION_MAXWIDTH
,
524 DISPID_IHTMLCSSSTYLEDECLARATION_MINHEIGHT
,
529 DISPID_IHTMLCSSSTYLEDECLARATION_MINWIDTH
,
535 DISPID_IHTMLCSSSTYLEDECLARATION_OPACITY
,
540 DISPID_IHTMLCSSSTYLEDECLARATION_OUTLINE
,
546 DISPID_IHTMLCSSSTYLEDECLARATION_OVERFLOW
,
552 DISPID_IHTMLCSSSTYLEDECLARATION_OVERFLOWX
,
557 DISPID_IHTMLCSSSTYLEDECLARATION_OVERFLOWY
,
562 DISPID_IHTMLCSSSTYLEDECLARATION_PADDING
,
567 DISPID_IHTMLCSSSTYLEDECLARATION_PADDINGBOTTOM
,
568 DISPID_A_PADDINGBOTTOM
,
573 DISPID_IHTMLCSSSTYLEDECLARATION_PADDINGLEFT
,
574 DISPID_A_PADDINGLEFT
,
579 DISPID_IHTMLCSSSTYLEDECLARATION_PADDINGRIGHT
,
580 DISPID_A_PADDINGRIGHT
,
585 DISPID_IHTMLCSSSTYLEDECLARATION_PADDINGTOP
,
591 DISPID_IHTMLCSSSTYLEDECLARATION_PAGEBREAKAFTER
,
592 DISPID_A_PAGEBREAKAFTER
595 L
"page-break-before",
596 DISPID_IHTMLCSSSTYLEDECLARATION_PAGEBREAKBEFORE
,
597 DISPID_A_PAGEBREAKBEFORE
601 DISPID_IHTMLCSSSTYLEDECLARATION2_PERSPECTIVE
,
606 DISPID_IHTMLCSSSTYLEDECLARATION_POSITION
,
611 DISPID_IHTMLCSSSTYLEDECLARATION_RIGHT
,
616 DISPID_IHTMLCSSSTYLEDECLARATION_TABLELAYOUT
,
621 DISPID_IHTMLCSSSTYLEDECLARATION_TEXTALIGN
,
622 STDPROPID_XOBJ_BLOCKALIGN
626 DISPID_IHTMLCSSSTYLEDECLARATION_TEXTDECORATION
,
627 DISPID_A_TEXTDECORATION
,
628 0, text_decoration_values
632 DISPID_IHTMLCSSSTYLEDECLARATION_TEXTINDENT
,
638 DISPID_IHTMLCSSSTYLEDECLARATION_TEXTTRANSFORM
,
639 DISPID_A_TEXTTRANSFORM
643 DISPID_IHTMLCSSSTYLEDECLARATION_TOP
,
648 DISPID_IHTMLCSSSTYLEDECLARATION2_TRANSFORM
,
654 DISPID_IHTMLCSSSTYLEDECLARATION2_TRANSITION
,
660 DISPID_IHTMLCSSSTYLEDECLARATION_VERTICALALIGN
,
661 DISPID_A_VERTICALALIGN
,
666 DISPID_IHTMLCSSSTYLEDECLARATION_VISIBILITY
,
671 DISPID_IHTMLCSSSTYLEDECLARATION_WHITESPACE
,
676 DISPID_IHTMLCSSSTYLEDECLARATION_WIDTH
,
677 STDPROPID_XOBJ_WIDTH
,
682 DISPID_IHTMLCSSSTYLEDECLARATION_WORDSPACING
,
687 DISPID_IHTMLCSSSTYLEDECLARATION_WORDWRAP
,
692 DISPID_IHTMLCSSSTYLEDECLARATION_ZINDEX
,
698 C_ASSERT(ARRAY_SIZE(style_tbl
) == STYLEID_MAX_VALUE
);
700 static const style_tbl_entry_t
*lookup_style_tbl(CSSStyle
*style
, const WCHAR
*name
)
702 int c
, i
, min
= 0, max
= ARRAY_SIZE(style_tbl
)-1;
707 c
= wcscmp(style_tbl
[i
].name
, name
);
709 if((style_tbl
[i
].flags
& ATTR_COMPAT_IE10
) && dispex_compat_mode(&style
->dispex
) < COMPAT_MODE_IE10
)
723 static void fix_px_value(nsAString
*nsstr
)
725 const WCHAR
*val
, *ptr
;
727 nsAString_GetData(nsstr
, &val
);
731 while(*ptr
&& iswspace(*ptr
))
736 while(*ptr
&& is_digit(*ptr
))
739 if(!*ptr
|| iswspace(*ptr
)) {
741 int len
= lstrlenW(val
)+1;
743 ret
= heap_alloc((len
+2)*sizeof(WCHAR
));
744 memcpy(ret
, val
, (ptr
-val
)*sizeof(WCHAR
));
750 TRACE("fixed %s -> %s\n", debugstr_w(val
), debugstr_w(ret
));
752 nsAString_SetData(nsstr
, ret
);
757 while(*ptr
&& !iswspace(*ptr
))
762 static LPWSTR
fix_url_value(LPCWSTR val
)
766 static const WCHAR urlW
[] = {'u','r','l','('};
768 if(wcsncmp(val
, urlW
, ARRAY_SIZE(urlW
)) || !wcschr(val
, '\\'))
771 ret
= heap_strdupW(val
);
773 for(ptr
= ret
; *ptr
; ptr
++) {
781 static HRESULT
set_nsstyle_property(nsIDOMCSSStyleDeclaration
*nsstyle
, styleid_t sid
, const nsAString
*value
)
783 nsAString str_name
, str_empty
;
786 nsAString_InitDepend(&str_name
, style_tbl
[sid
].name
);
787 nsAString_InitDepend(&str_empty
, L
"");
788 nsres
= nsIDOMCSSStyleDeclaration_SetProperty(nsstyle
, &str_name
, value
, &str_empty
);
789 nsAString_Finish(&str_name
);
790 nsAString_Finish(&str_empty
);
792 WARN("SetProperty failed: %08x\n", nsres
);
793 return map_nsresult(nsres
);
796 static HRESULT
var_to_styleval(CSSStyle
*style
, VARIANT
*v
, const style_tbl_entry_t
*entry
, nsAString
*nsstr
)
799 unsigned flags
= entry
&& dispex_compat_mode(&style
->dispex
) < COMPAT_MODE_IE9
802 hres
= variant_to_nsstr(v
, !!(flags
& ATTR_HEX_INT
), nsstr
);
803 if(SUCCEEDED(hres
) && (flags
& ATTR_FIX_PX
))
808 static inline HRESULT
set_style_property(CSSStyle
*style
, styleid_t sid
, const WCHAR
*value
)
815 if(value
&& *value
&& dispex_compat_mode(&style
->dispex
) < COMPAT_MODE_IE9
) {
816 flags
= style_tbl
[sid
].flags
;
818 if(style_tbl
[sid
].allowed_values
) {
820 for(iter
= style_tbl
[sid
].allowed_values
; *iter
; iter
++) {
821 if(!wcsicmp(*iter
, value
))
825 WARN("invalid value %s\n", debugstr_w(value
));
826 nsAString_InitDepend(&value_str
, L
"");
827 set_nsstyle_property(style
->nsstyle
, sid
, &value_str
);
828 nsAString_Finish(&value_str
);
833 if(flags
& ATTR_FIX_URL
)
834 val
= fix_url_value(value
);
837 nsAString_InitDepend(&value_str
, val
? val
: value
);
838 if(flags
& ATTR_FIX_PX
)
839 fix_px_value(&value_str
);
840 hres
= set_nsstyle_property(style
->nsstyle
, sid
, &value_str
);
841 nsAString_Finish(&value_str
);
846 static HRESULT
set_style_property_var(CSSStyle
*style
, styleid_t sid
, VARIANT
*value
)
851 hres
= var_to_styleval(style
, value
, &style_tbl
[sid
], &val
);
855 hres
= set_nsstyle_property(style
->nsstyle
, sid
, &val
);
856 nsAString_Finish(&val
);
860 static HRESULT
get_nsstyle_attr_nsval(nsIDOMCSSStyleDeclaration
*nsstyle
, styleid_t sid
, nsAString
*value
)
865 nsAString_InitDepend(&str_name
, style_tbl
[sid
].name
);
866 nsres
= nsIDOMCSSStyleDeclaration_GetPropertyValue(nsstyle
, &str_name
, value
);
867 nsAString_Finish(&str_name
);
869 WARN("GetPropertyValue failed: %08x\n", nsres
);
870 return map_nsresult(nsres
);
873 static HRESULT
nsstyle_to_bstr(const WCHAR
*val
, DWORD flags
, BSTR
*p
)
879 *p
= (flags
& ATTR_NO_NULL
) ? SysAllocStringLen(NULL
, 0) : NULL
;
883 ret
= SysAllocString(val
);
885 return E_OUTOFMEMORY
;
887 len
= SysStringLen(ret
);
889 if(flags
& ATTR_REMOVE_COMMA
) {
893 for(ptr
= ret
; (ptr
= wcschr(ptr
, ',')); ptr
++)
899 new_ret
= SysAllocStringLen(NULL
, new_len
);
902 return E_OUTOFMEMORY
;
905 for(ptr2
= new_ret
, ptr
= ret
; *ptr
; ptr
++) {
919 static HRESULT
get_nsstyle_property(nsIDOMCSSStyleDeclaration
*nsstyle
, styleid_t sid
, compat_mode_t compat_mode
, BSTR
*p
)
922 const PRUnichar
*value
;
925 nsAString_Init(&str_value
, NULL
);
927 get_nsstyle_attr_nsval(nsstyle
, sid
, &str_value
);
929 nsAString_GetData(&str_value
, &value
);
930 hres
= nsstyle_to_bstr(value
, compat_mode
< COMPAT_MODE_IE9
? style_tbl
[sid
].flags
: 0, p
);
931 nsAString_Finish(&str_value
);
933 TRACE("%s -> %s\n", debugstr_w(style_tbl
[sid
].name
), debugstr_w(*p
));
937 static HRESULT
get_nsstyle_property_var(nsIDOMCSSStyleDeclaration
*nsstyle
, styleid_t sid
, compat_mode_t compat_mode
, VARIANT
*p
)
939 unsigned flags
= style_tbl
[sid
].flags
;
941 const PRUnichar
*value
;
945 nsAString_Init(&str_value
, NULL
);
947 get_nsstyle_attr_nsval(nsstyle
, sid
, &str_value
);
949 nsAString_GetData(&str_value
, &value
);
951 if((flags
& ATTR_STR_TO_INT
) && (*value
|| compat_mode
< COMPAT_MODE_IE9
)) {
952 const PRUnichar
*ptr
= value
;
961 while(is_digit(*ptr
))
962 i
= i
*10 + (*ptr
++ - '0');
966 V_I4(p
) = neg
? -i
: i
;
974 hres
= nsstyle_to_bstr(value
, compat_mode
< COMPAT_MODE_IE9
? flags
: 0, &str
);
975 if(SUCCEEDED(hres
)) {
981 nsAString_Finish(&str_value
);
983 TRACE("%s -> %s\n", debugstr_w(style_tbl
[sid
].name
), debugstr_variant(p
));
987 HRESULT
get_style_property(CSSStyle
*style
, styleid_t sid
, BSTR
*p
)
989 return get_nsstyle_property(style
->nsstyle
, sid
, dispex_compat_mode(&style
->dispex
), p
);
992 HRESULT
get_style_property_var(CSSStyle
*style
, styleid_t sid
, VARIANT
*v
)
994 return get_nsstyle_property_var(style
->nsstyle
, sid
, dispex_compat_mode(&style
->dispex
), v
);
997 static HRESULT
check_style_attr_value(HTMLStyle
*This
, styleid_t sid
, LPCWSTR exval
, VARIANT_BOOL
*p
)
1000 const PRUnichar
*value
;
1002 nsAString_Init(&str_value
, NULL
);
1004 get_nsstyle_attr_nsval(This
->css_style
.nsstyle
, sid
, &str_value
);
1006 nsAString_GetData(&str_value
, &value
);
1007 *p
= variant_bool(!wcscmp(value
, exval
));
1008 nsAString_Finish(&str_value
);
1010 TRACE("%s -> %x\n", debugstr_w(style_tbl
[sid
].name
), *p
);
1014 static inline HRESULT
set_style_pos(HTMLStyle
*This
, styleid_t sid
, float value
)
1018 value
= floor(value
);
1020 swprintf(szValue
, ARRAY_SIZE(szValue
), L
"%.0fpx", value
);
1022 return set_style_property(&This
->css_style
, sid
, szValue
);
1025 static HRESULT
set_style_pxattr(HTMLStyle
*style
, styleid_t sid
, LONG value
)
1027 WCHAR value_str
[16];
1029 swprintf(value_str
, ARRAY_SIZE(value_str
), L
"%dpx", value
);
1031 return set_style_property(&style
->css_style
, sid
, value_str
);
1034 static HRESULT
get_nsstyle_pos(HTMLStyle
*This
, styleid_t sid
, float *p
)
1036 nsAString str_value
;
1039 TRACE("%p %d %p\n", This
, sid
, p
);
1043 nsAString_Init(&str_value
, NULL
);
1045 hres
= get_nsstyle_attr_nsval(This
->css_style
.nsstyle
, sid
, &str_value
);
1049 const PRUnichar
*value
;
1051 nsAString_GetData(&str_value
, &value
);
1054 *p
= wcstol(value
, &ptr
, 10);
1056 if(*ptr
&& wcscmp(ptr
, L
"px"))
1058 nsAString_Finish(&str_value
);
1059 FIXME("only px values are currently supported\n");
1065 TRACE("ret %f\n", *p
);
1067 nsAString_Finish(&str_value
);
1071 static HRESULT
get_nsstyle_pixel_val(HTMLStyle
*This
, styleid_t sid
, LONG
*p
)
1073 nsAString str_value
;
1079 nsAString_Init(&str_value
, NULL
);
1081 hres
= get_nsstyle_attr_nsval(This
->css_style
.nsstyle
, sid
, &str_value
);
1084 const PRUnichar
*value
;
1086 nsAString_GetData(&str_value
, &value
);
1088 *p
= wcstol(value
, &ptr
, 10);
1091 /* Skip all digits. We have tests showing that we should not round the value. */
1092 while(is_digit(*++ptr
));
1096 if(!ptr
|| (*ptr
&& wcscmp(ptr
, L
"px")))
1100 nsAString_Finish(&str_value
);
1104 static BOOL
is_valid_border_style(BSTR v
)
1106 return !v
|| wcsicmp(v
, L
"none") == 0 || wcsicmp(v
, L
"dotted") == 0 ||
1107 wcsicmp(v
, L
"dashed") == 0 || wcsicmp(v
, L
"solid") == 0 ||
1108 wcsicmp(v
, L
"double") == 0 || wcsicmp(v
, L
"groove") == 0 ||
1109 wcsicmp(v
, L
"ridge") == 0 || wcsicmp(v
, L
"inset") == 0 ||
1110 wcsicmp(v
, L
"outset") == 0;
1113 static void *HTMLStyle_QI(CSSStyle
*css_style
, REFIID riid
)
1115 HTMLStyle
*This
= CONTAINING_RECORD(css_style
, HTMLStyle
, css_style
);
1117 if(IsEqualGUID(&IID_IHTMLStyle
, riid
))
1118 return &This
->IHTMLStyle_iface
;
1119 if(IsEqualGUID(&IID_IHTMLStyle2
, riid
))
1120 return &This
->IHTMLStyle2_iface
;
1121 if(IsEqualGUID(&IID_IHTMLStyle3
, riid
))
1122 return &This
->IHTMLStyle3_iface
;
1123 if(IsEqualGUID(&IID_IHTMLStyle4
, riid
))
1124 return &This
->IHTMLStyle4_iface
;
1125 if(IsEqualGUID(&IID_IHTMLStyle5
, riid
))
1126 return &This
->IHTMLStyle5_iface
;
1127 if(IsEqualGUID(&IID_IHTMLStyle6
, riid
))
1128 return &This
->IHTMLStyle6_iface
;
1132 static inline HTMLStyle
*impl_from_IHTMLStyle(IHTMLStyle
*iface
)
1134 return CONTAINING_RECORD(iface
, HTMLStyle
, IHTMLStyle_iface
);
1137 static HRESULT WINAPI
HTMLStyle_QueryInterface(IHTMLStyle
*iface
, REFIID riid
, void **ppv
)
1139 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1140 return IHTMLCSSStyleDeclaration_QueryInterface(&This
->css_style
.IHTMLCSSStyleDeclaration_iface
, riid
, ppv
);
1143 static ULONG WINAPI
HTMLStyle_AddRef(IHTMLStyle
*iface
)
1145 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1146 return IHTMLCSSStyleDeclaration_AddRef(&This
->css_style
.IHTMLCSSStyleDeclaration_iface
);
1149 static ULONG WINAPI
HTMLStyle_Release(IHTMLStyle
*iface
)
1151 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1152 return IHTMLCSSStyleDeclaration_Release(&This
->css_style
.IHTMLCSSStyleDeclaration_iface
);
1155 static HRESULT WINAPI
HTMLStyle_GetTypeInfoCount(IHTMLStyle
*iface
, UINT
*pctinfo
)
1157 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1158 return IDispatchEx_GetTypeInfoCount(&This
->css_style
.dispex
.IDispatchEx_iface
, pctinfo
);
1161 static HRESULT WINAPI
HTMLStyle_GetTypeInfo(IHTMLStyle
*iface
, UINT iTInfo
,
1162 LCID lcid
, ITypeInfo
**ppTInfo
)
1164 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1165 return IDispatchEx_GetTypeInfo(&This
->css_style
.dispex
.IDispatchEx_iface
, iTInfo
, lcid
, ppTInfo
);
1168 static HRESULT WINAPI
HTMLStyle_GetIDsOfNames(IHTMLStyle
*iface
, REFIID riid
,
1169 LPOLESTR
*rgszNames
, UINT cNames
,
1170 LCID lcid
, DISPID
*rgDispId
)
1172 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1173 return IDispatchEx_GetIDsOfNames(&This
->css_style
.dispex
.IDispatchEx_iface
, riid
, rgszNames
, cNames
,
1177 static HRESULT WINAPI
HTMLStyle_Invoke(IHTMLStyle
*iface
, DISPID dispIdMember
,
1178 REFIID riid
, LCID lcid
, WORD wFlags
, DISPPARAMS
*pDispParams
,
1179 VARIANT
*pVarResult
, EXCEPINFO
*pExcepInfo
, UINT
*puArgErr
)
1181 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1182 return IDispatchEx_Invoke(&This
->css_style
.dispex
.IDispatchEx_iface
, dispIdMember
, riid
, lcid
,
1183 wFlags
, pDispParams
, pVarResult
, pExcepInfo
, puArgErr
);
1186 static HRESULT WINAPI
HTMLStyle_put_fontFamily(IHTMLStyle
*iface
, BSTR v
)
1188 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1190 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
1192 return set_style_property(&This
->css_style
, STYLEID_FONT_FAMILY
, v
);
1195 static HRESULT WINAPI
HTMLStyle_get_fontFamily(IHTMLStyle
*iface
, BSTR
*p
)
1197 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1199 TRACE("(%p)->(%p)\n", This
, p
);
1201 return get_style_property(&This
->css_style
, STYLEID_FONT_FAMILY
, p
);
1204 static HRESULT WINAPI
HTMLStyle_put_fontStyle(IHTMLStyle
*iface
, BSTR v
)
1206 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1208 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
1210 return set_style_property(&This
->css_style
, STYLEID_FONT_STYLE
, v
);
1213 static HRESULT WINAPI
HTMLStyle_get_fontStyle(IHTMLStyle
*iface
, BSTR
*p
)
1215 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1217 TRACE("(%p)->(%p)\n", This
, p
);
1219 return get_style_property(&This
->css_style
, STYLEID_FONT_STYLE
, p
);
1222 static HRESULT WINAPI
HTMLStyle_put_fontVariant(IHTMLStyle
*iface
, BSTR v
)
1224 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1226 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
1228 return set_style_property(&This
->css_style
, STYLEID_FONT_VARIANT
, v
);
1231 static HRESULT WINAPI
HTMLStyle_get_fontVariant(IHTMLStyle
*iface
, BSTR
*p
)
1233 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1234 TRACE("(%p)->(%p)\n", This
, p
);
1237 return E_INVALIDARG
;
1239 return get_style_property(&This
->css_style
, STYLEID_FONT_VARIANT
, p
);
1242 static HRESULT WINAPI
HTMLStyle_put_fontWeight(IHTMLStyle
*iface
, BSTR v
)
1244 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1246 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
1248 return set_style_property(&This
->css_style
, STYLEID_FONT_WEIGHT
, v
);
1251 static HRESULT WINAPI
HTMLStyle_get_fontWeight(IHTMLStyle
*iface
, BSTR
*p
)
1253 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1255 TRACE("(%p)->(%p)\n", This
, p
);
1257 return get_style_property(&This
->css_style
, STYLEID_FONT_WEIGHT
, p
);
1260 static HRESULT WINAPI
HTMLStyle_put_fontSize(IHTMLStyle
*iface
, VARIANT v
)
1262 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1264 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
1266 return set_style_property_var(&This
->css_style
, STYLEID_FONT_SIZE
, &v
);
1269 static HRESULT WINAPI
HTMLStyle_get_fontSize(IHTMLStyle
*iface
, VARIANT
*p
)
1271 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1273 TRACE("(%p)->(%p)\n", This
, p
);
1275 return get_style_property_var(&This
->css_style
, STYLEID_FONT_SIZE
, p
);
1278 static HRESULT WINAPI
HTMLStyle_put_font(IHTMLStyle
*iface
, BSTR v
)
1280 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1281 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
1285 static HRESULT WINAPI
HTMLStyle_get_font(IHTMLStyle
*iface
, BSTR
*p
)
1287 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1288 FIXME("(%p)->(%p)\n", This
, p
);
1292 static HRESULT WINAPI
HTMLStyle_put_color(IHTMLStyle
*iface
, VARIANT v
)
1294 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1296 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
1298 return set_style_property_var(&This
->css_style
, STYLEID_COLOR
, &v
);
1301 static HRESULT WINAPI
HTMLStyle_get_color(IHTMLStyle
*iface
, VARIANT
*p
)
1303 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1305 TRACE("(%p)->(%p)\n", This
, p
);
1307 return get_style_property_var(&This
->css_style
, STYLEID_COLOR
, p
);
1310 static HRESULT WINAPI
HTMLStyle_put_background(IHTMLStyle
*iface
, BSTR v
)
1312 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1314 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
1316 return set_style_property(&This
->css_style
, STYLEID_BACKGROUND
, v
);
1319 static HRESULT WINAPI
HTMLStyle_get_background(IHTMLStyle
*iface
, BSTR
*p
)
1321 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1323 TRACE("(%p)->(%p)\n", This
, p
);
1325 return get_style_property(&This
->css_style
, STYLEID_BACKGROUND
, p
);
1328 static HRESULT WINAPI
HTMLStyle_put_backgroundColor(IHTMLStyle
*iface
, VARIANT v
)
1330 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1332 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
1334 return set_style_property_var(&This
->css_style
, STYLEID_BACKGROUND_COLOR
, &v
);
1337 static HRESULT WINAPI
HTMLStyle_get_backgroundColor(IHTMLStyle
*iface
, VARIANT
*p
)
1339 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1341 TRACE("(%p)->(%p)\n", This
, p
);
1343 return get_style_property_var(&This
->css_style
, STYLEID_BACKGROUND_COLOR
, p
);
1346 static HRESULT WINAPI
HTMLStyle_put_backgroundImage(IHTMLStyle
*iface
, BSTR v
)
1348 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1350 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
1352 return set_style_property(&This
->css_style
, STYLEID_BACKGROUND_IMAGE
, v
);
1355 static HRESULT WINAPI
HTMLStyle_get_backgroundImage(IHTMLStyle
*iface
, BSTR
*p
)
1357 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1359 TRACE("(%p)->(%p)\n", This
, p
);
1361 return get_style_property(&This
->css_style
, STYLEID_BACKGROUND_IMAGE
, p
);
1364 static HRESULT WINAPI
HTMLStyle_put_backgroundRepeat(IHTMLStyle
*iface
, BSTR v
)
1366 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1368 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
1370 return set_style_property(&This
->css_style
, STYLEID_BACKGROUND_REPEAT
, v
);
1373 static HRESULT WINAPI
HTMLStyle_get_backgroundRepeat(IHTMLStyle
*iface
, BSTR
*p
)
1375 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1377 TRACE("(%p)->(%p)\n", This
, p
);
1379 return get_style_property(&This
->css_style
, STYLEID_BACKGROUND_REPEAT
, p
);
1382 static HRESULT WINAPI
HTMLStyle_put_backgroundAttachment(IHTMLStyle
*iface
, BSTR v
)
1384 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1386 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
1388 return set_style_property(&This
->css_style
, STYLEID_BACKGROUND_ATTACHMENT
, v
);
1391 static HRESULT WINAPI
HTMLStyle_get_backgroundAttachment(IHTMLStyle
*iface
, BSTR
*p
)
1393 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1395 TRACE("(%p)->(%p)\n", This
, p
);
1397 return get_style_property(&This
->css_style
, STYLEID_BACKGROUND_ATTACHMENT
, p
);
1400 static HRESULT WINAPI
HTMLStyle_put_backgroundPosition(IHTMLStyle
*iface
, BSTR v
)
1402 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1404 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
1406 return set_style_property(&This
->css_style
, STYLEID_BACKGROUND_POSITION
, v
);
1409 static HRESULT WINAPI
HTMLStyle_get_backgroundPosition(IHTMLStyle
*iface
, BSTR
*p
)
1411 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1413 TRACE("(%p)->(%p)\n", This
, p
);
1415 return get_style_property(&This
->css_style
, STYLEID_BACKGROUND_POSITION
, p
);
1418 static HRESULT WINAPI
HTMLStyle_put_backgroundPositionX(IHTMLStyle
*iface
, VARIANT v
)
1420 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1421 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
1422 return IHTMLCSSStyleDeclaration_put_backgroundPositionX(&This
->css_style
.IHTMLCSSStyleDeclaration_iface
, v
);
1425 static HRESULT WINAPI
HTMLStyle_get_backgroundPositionX(IHTMLStyle
*iface
, VARIANT
*p
)
1427 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1428 TRACE("(%p)->(%p)\n", This
, p
);
1429 return IHTMLCSSStyleDeclaration_get_backgroundPositionX(&This
->css_style
.IHTMLCSSStyleDeclaration_iface
, p
);
1432 static HRESULT WINAPI
HTMLStyle_put_backgroundPositionY(IHTMLStyle
*iface
, VARIANT v
)
1434 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1435 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
1436 return IHTMLCSSStyleDeclaration_put_backgroundPositionY(&This
->css_style
.IHTMLCSSStyleDeclaration_iface
, v
);
1439 static HRESULT WINAPI
HTMLStyle_get_backgroundPositionY(IHTMLStyle
*iface
, VARIANT
*p
)
1441 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1442 TRACE("(%p)->(%p)\n", This
, p
);
1443 return IHTMLCSSStyleDeclaration_get_backgroundPositionY(&This
->css_style
.IHTMLCSSStyleDeclaration_iface
, p
);
1446 static HRESULT WINAPI
HTMLStyle_put_wordSpacing(IHTMLStyle
*iface
, VARIANT v
)
1448 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1450 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
1452 return set_style_property_var(&This
->css_style
, STYLEID_WORD_SPACING
, &v
);
1455 static HRESULT WINAPI
HTMLStyle_get_wordSpacing(IHTMLStyle
*iface
, VARIANT
*p
)
1457 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1458 TRACE("(%p)->(%p)\n", This
, p
);
1459 return get_style_property_var(&This
->css_style
, STYLEID_WORD_SPACING
, p
);
1462 static HRESULT WINAPI
HTMLStyle_put_letterSpacing(IHTMLStyle
*iface
, VARIANT v
)
1464 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1466 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
1468 return set_style_property_var(&This
->css_style
, STYLEID_LETTER_SPACING
, &v
);
1471 static HRESULT WINAPI
HTMLStyle_get_letterSpacing(IHTMLStyle
*iface
, VARIANT
*p
)
1473 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1474 TRACE("(%p)->(%p)\n", This
, p
);
1475 return get_style_property_var(&This
->css_style
, STYLEID_LETTER_SPACING
, p
);
1478 static HRESULT WINAPI
HTMLStyle_put_textDecoration(IHTMLStyle
*iface
, BSTR v
)
1480 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1482 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
1484 return set_style_property(&This
->css_style
, STYLEID_TEXT_DECORATION
, v
);
1487 static HRESULT WINAPI
HTMLStyle_get_textDecoration(IHTMLStyle
*iface
, BSTR
*p
)
1489 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1491 TRACE("(%p)->(%p)\n", This
, p
);
1493 return get_style_property(&This
->css_style
, STYLEID_TEXT_DECORATION
, p
);
1496 static HRESULT WINAPI
HTMLStyle_put_textDecorationNone(IHTMLStyle
*iface
, VARIANT_BOOL v
)
1498 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1500 TRACE("(%p)->(%x)\n", This
, v
);
1502 return set_style_property(&This
->css_style
, STYLEID_TEXT_DECORATION
, v
? L
"none" : L
"");
1505 static HRESULT WINAPI
HTMLStyle_get_textDecorationNone(IHTMLStyle
*iface
, VARIANT_BOOL
*p
)
1507 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1509 TRACE("(%p)->(%p)\n", This
, p
);
1511 return check_style_attr_value(This
, STYLEID_TEXT_DECORATION
, L
"none", p
);
1514 static HRESULT WINAPI
HTMLStyle_put_textDecorationUnderline(IHTMLStyle
*iface
, VARIANT_BOOL v
)
1516 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1518 TRACE("(%p)->(%x)\n", This
, v
);
1520 return set_style_property(&This
->css_style
, STYLEID_TEXT_DECORATION
, v
? L
"underline" : L
"");
1523 static HRESULT WINAPI
HTMLStyle_get_textDecorationUnderline(IHTMLStyle
*iface
, VARIANT_BOOL
*p
)
1525 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1527 TRACE("(%p)->(%p)\n", This
, p
);
1529 return check_style_attr_value(This
, STYLEID_TEXT_DECORATION
, L
"underline", p
);
1532 static HRESULT WINAPI
HTMLStyle_put_textDecorationOverline(IHTMLStyle
*iface
, VARIANT_BOOL v
)
1534 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1536 TRACE("(%p)->(%x)\n", This
, v
);
1538 return set_style_property(&This
->css_style
, STYLEID_TEXT_DECORATION
, v
? L
"overline" : L
"");
1541 static HRESULT WINAPI
HTMLStyle_get_textDecorationOverline(IHTMLStyle
*iface
, VARIANT_BOOL
*p
)
1543 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1545 TRACE("(%p)->(%p)\n", This
, p
);
1547 return check_style_attr_value(This
, STYLEID_TEXT_DECORATION
, L
"overline", p
);
1550 static HRESULT WINAPI
HTMLStyle_put_textDecorationLineThrough(IHTMLStyle
*iface
, VARIANT_BOOL v
)
1552 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1554 TRACE("(%p)->(%x)\n", This
, v
);
1556 return set_style_property(&This
->css_style
, STYLEID_TEXT_DECORATION
, v
? L
"line-through" : L
"");
1559 static HRESULT WINAPI
HTMLStyle_get_textDecorationLineThrough(IHTMLStyle
*iface
, VARIANT_BOOL
*p
)
1561 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1563 TRACE("(%p)->(%p)\n", This
, p
);
1565 return check_style_attr_value(This
, STYLEID_TEXT_DECORATION
, L
"line-through", p
);
1568 static HRESULT WINAPI
HTMLStyle_put_textDecorationBlink(IHTMLStyle
*iface
, VARIANT_BOOL v
)
1570 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1572 TRACE("(%p)->(%x)\n", This
, v
);
1574 return set_style_property(&This
->css_style
, STYLEID_TEXT_DECORATION
, v
? L
"blink" : L
"");
1577 static HRESULT WINAPI
HTMLStyle_get_textDecorationBlink(IHTMLStyle
*iface
, VARIANT_BOOL
*p
)
1579 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1581 TRACE("(%p)->(%p)\n", This
, p
);
1583 return check_style_attr_value(This
, STYLEID_TEXT_DECORATION
, L
"blink", p
);
1586 static HRESULT WINAPI
HTMLStyle_put_verticalAlign(IHTMLStyle
*iface
, VARIANT v
)
1588 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1590 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
1592 return set_style_property_var(&This
->css_style
, STYLEID_VERTICAL_ALIGN
, &v
);
1595 static HRESULT WINAPI
HTMLStyle_get_verticalAlign(IHTMLStyle
*iface
, VARIANT
*p
)
1597 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1599 TRACE("(%p)->(%p)\n", This
, p
);
1601 return get_style_property_var(&This
->css_style
, STYLEID_VERTICAL_ALIGN
, p
);
1604 static HRESULT WINAPI
HTMLStyle_put_textTransform(IHTMLStyle
*iface
, BSTR v
)
1606 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1608 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
1610 return set_style_property(&This
->css_style
, STYLEID_TEXT_TRANSFORM
, v
);
1613 static HRESULT WINAPI
HTMLStyle_get_textTransform(IHTMLStyle
*iface
, BSTR
*p
)
1615 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1617 TRACE("(%p)->(%p)\n", This
, p
);
1619 return get_style_property(&This
->css_style
, STYLEID_TEXT_TRANSFORM
, p
);
1622 static HRESULT WINAPI
HTMLStyle_put_textAlign(IHTMLStyle
*iface
, BSTR v
)
1624 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1626 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
1628 return set_style_property(&This
->css_style
, STYLEID_TEXT_ALIGN
, v
);
1631 static HRESULT WINAPI
HTMLStyle_get_textAlign(IHTMLStyle
*iface
, BSTR
*p
)
1633 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1635 TRACE("(%p)->(%p)\n", This
, p
);
1637 return get_style_property(&This
->css_style
, STYLEID_TEXT_ALIGN
, p
);
1640 static HRESULT WINAPI
HTMLStyle_put_textIndent(IHTMLStyle
*iface
, VARIANT v
)
1642 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1644 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
1646 return set_style_property_var(&This
->css_style
, STYLEID_TEXT_INDENT
, &v
);
1649 static HRESULT WINAPI
HTMLStyle_get_textIndent(IHTMLStyle
*iface
, VARIANT
*p
)
1651 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1653 TRACE("(%p)->(%p)\n", This
, p
);
1655 return get_style_property_var(&This
->css_style
, STYLEID_TEXT_INDENT
, p
);
1658 static HRESULT WINAPI
HTMLStyle_put_lineHeight(IHTMLStyle
*iface
, VARIANT v
)
1660 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1662 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
1664 return set_style_property_var(&This
->css_style
, STYLEID_LINE_HEIGHT
, &v
);
1667 static HRESULT WINAPI
HTMLStyle_get_lineHeight(IHTMLStyle
*iface
, VARIANT
*p
)
1669 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1671 TRACE("(%p)->(%p)\n", This
, p
);
1673 return get_style_property_var(&This
->css_style
, STYLEID_LINE_HEIGHT
, p
);
1676 static HRESULT WINAPI
HTMLStyle_put_marginTop(IHTMLStyle
*iface
, VARIANT v
)
1678 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1680 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
1682 return set_style_property_var(&This
->css_style
, STYLEID_MARGIN_TOP
, &v
);
1685 static HRESULT WINAPI
HTMLStyle_get_marginTop(IHTMLStyle
*iface
, VARIANT
*p
)
1687 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1689 TRACE("(%p)->(%p)\n", This
, p
);
1691 return get_style_property_var(&This
->css_style
, STYLEID_MARGIN_TOP
, p
);
1694 static HRESULT WINAPI
HTMLStyle_put_marginRight(IHTMLStyle
*iface
, VARIANT v
)
1696 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1698 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
1700 return set_style_property_var(&This
->css_style
, STYLEID_MARGIN_RIGHT
, &v
);
1703 static HRESULT WINAPI
HTMLStyle_get_marginRight(IHTMLStyle
*iface
, VARIANT
*p
)
1705 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1706 TRACE("(%p)->(%p)\n", This
, p
);
1707 return get_style_property_var(&This
->css_style
, STYLEID_MARGIN_RIGHT
, p
);
1710 static HRESULT WINAPI
HTMLStyle_put_marginBottom(IHTMLStyle
*iface
, VARIANT v
)
1712 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1714 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
1716 return set_style_property_var(&This
->css_style
, STYLEID_MARGIN_BOTTOM
, &v
);
1719 static HRESULT WINAPI
HTMLStyle_get_marginBottom(IHTMLStyle
*iface
, VARIANT
*p
)
1721 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1723 TRACE("(%p)->(%p)\n", This
, p
);
1725 return get_style_property_var(&This
->css_style
, STYLEID_MARGIN_BOTTOM
, p
);
1728 static HRESULT WINAPI
HTMLStyle_put_marginLeft(IHTMLStyle
*iface
, VARIANT v
)
1730 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1732 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
1734 return set_style_property_var(&This
->css_style
, STYLEID_MARGIN_LEFT
, &v
);
1737 static HRESULT WINAPI
HTMLStyle_put_margin(IHTMLStyle
*iface
, BSTR v
)
1739 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1741 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
1743 return set_style_property(&This
->css_style
, STYLEID_MARGIN
, v
);
1746 static HRESULT WINAPI
HTMLStyle_get_margin(IHTMLStyle
*iface
, BSTR
*p
)
1748 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1750 TRACE("(%p)->(%p)\n", This
, p
);
1752 return get_style_property(&This
->css_style
, STYLEID_MARGIN
, p
);
1755 static HRESULT WINAPI
HTMLStyle_get_marginLeft(IHTMLStyle
*iface
, VARIANT
*p
)
1757 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1758 TRACE("(%p)->(%p)\n", This
, p
);
1759 return get_style_property_var(&This
->css_style
, STYLEID_MARGIN_LEFT
, p
);
1762 static HRESULT WINAPI
HTMLStyle_put_paddingTop(IHTMLStyle
*iface
, VARIANT v
)
1764 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1766 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
1768 return set_style_property_var(&This
->css_style
, STYLEID_PADDING_TOP
, &v
);
1771 static HRESULT WINAPI
HTMLStyle_get_paddingTop(IHTMLStyle
*iface
, VARIANT
*p
)
1773 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1775 TRACE("(%p)->(%p)\n", This
, p
);
1777 return get_style_property_var(&This
->css_style
, STYLEID_PADDING_TOP
, p
);
1780 static HRESULT WINAPI
HTMLStyle_put_paddingRight(IHTMLStyle
*iface
, VARIANT v
)
1782 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1784 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
1786 return set_style_property_var(&This
->css_style
, STYLEID_PADDING_RIGHT
, &v
);
1789 static HRESULT WINAPI
HTMLStyle_get_paddingRight(IHTMLStyle
*iface
, VARIANT
*p
)
1791 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1793 TRACE("(%p)->(%p)\n", This
, p
);
1795 return get_style_property_var(&This
->css_style
, STYLEID_PADDING_RIGHT
, p
);
1798 static HRESULT WINAPI
HTMLStyle_put_paddingBottom(IHTMLStyle
*iface
, VARIANT v
)
1800 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1802 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
1804 return set_style_property_var(&This
->css_style
, STYLEID_PADDING_BOTTOM
, &v
);
1807 static HRESULT WINAPI
HTMLStyle_get_paddingBottom(IHTMLStyle
*iface
, VARIANT
*p
)
1809 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1811 TRACE("(%p)->(%p)\n", This
, p
);
1813 return get_style_property_var(&This
->css_style
, STYLEID_PADDING_BOTTOM
, p
);
1816 static HRESULT WINAPI
HTMLStyle_put_paddingLeft(IHTMLStyle
*iface
, VARIANT v
)
1818 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1820 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
1822 return set_style_property_var(&This
->css_style
, STYLEID_PADDING_LEFT
, &v
);
1825 static HRESULT WINAPI
HTMLStyle_get_paddingLeft(IHTMLStyle
*iface
, VARIANT
*p
)
1827 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1829 TRACE("(%p)->(%p)\n", This
, p
);
1831 return get_style_property_var(&This
->css_style
, STYLEID_PADDING_LEFT
, p
);
1834 static HRESULT WINAPI
HTMLStyle_put_padding(IHTMLStyle
*iface
, BSTR v
)
1836 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1838 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
1840 return set_style_property(&This
->css_style
, STYLEID_PADDING
, v
);
1843 static HRESULT WINAPI
HTMLStyle_get_padding(IHTMLStyle
*iface
, BSTR
*p
)
1845 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1847 TRACE("(%p)->(%p)\n", This
, p
);
1849 return get_style_property(&This
->css_style
, STYLEID_PADDING
, p
);
1852 static HRESULT WINAPI
HTMLStyle_put_border(IHTMLStyle
*iface
, BSTR v
)
1854 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1856 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
1858 return set_style_property(&This
->css_style
, STYLEID_BORDER
, v
);
1861 static HRESULT WINAPI
HTMLStyle_get_border(IHTMLStyle
*iface
, BSTR
*p
)
1863 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1865 TRACE("(%p)->(%p)\n", This
, p
);
1867 return get_style_property(&This
->css_style
, STYLEID_BORDER
, p
);
1870 static HRESULT WINAPI
HTMLStyle_put_borderTop(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_TOP
, v
);
1877 static HRESULT WINAPI
HTMLStyle_get_borderTop(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_TOP
, p
);
1884 static HRESULT WINAPI
HTMLStyle_put_borderRight(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_RIGHT
, v
);
1891 static HRESULT WINAPI
HTMLStyle_get_borderRight(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_RIGHT
, p
);
1898 static HRESULT WINAPI
HTMLStyle_put_borderBottom(IHTMLStyle
*iface
, BSTR v
)
1900 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1901 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
1902 return set_style_property(&This
->css_style
, STYLEID_BORDER_BOTTOM
, v
);
1905 static HRESULT WINAPI
HTMLStyle_get_borderBottom(IHTMLStyle
*iface
, BSTR
*p
)
1907 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1908 TRACE("(%p)->(%p)\n", This
, p
);
1909 return get_style_property(&This
->css_style
, STYLEID_BORDER_BOTTOM
, p
);
1912 static HRESULT WINAPI
HTMLStyle_put_borderLeft(IHTMLStyle
*iface
, BSTR v
)
1914 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1916 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
1918 return set_style_property(&This
->css_style
, STYLEID_BORDER_LEFT
, v
);
1921 static HRESULT WINAPI
HTMLStyle_get_borderLeft(IHTMLStyle
*iface
, BSTR
*p
)
1923 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1925 TRACE("(%p)->(%p)\n", This
, p
);
1927 return get_style_property(&This
->css_style
, STYLEID_BORDER_LEFT
, p
);
1930 static HRESULT WINAPI
HTMLStyle_put_borderColor(IHTMLStyle
*iface
, BSTR v
)
1932 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1934 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
1936 return set_style_property(&This
->css_style
, STYLEID_BORDER_COLOR
, v
);
1939 static HRESULT WINAPI
HTMLStyle_get_borderColor(IHTMLStyle
*iface
, BSTR
*p
)
1941 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1943 TRACE("(%p)->(%p)\n", This
, p
);
1945 return get_style_property(&This
->css_style
, STYLEID_BORDER_COLOR
, p
);
1948 static HRESULT WINAPI
HTMLStyle_put_borderTopColor(IHTMLStyle
*iface
, VARIANT v
)
1950 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1952 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
1954 return set_style_property_var(&This
->css_style
, STYLEID_BORDER_TOP_COLOR
, &v
);
1957 static HRESULT WINAPI
HTMLStyle_get_borderTopColor(IHTMLStyle
*iface
, VARIANT
*p
)
1959 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1961 TRACE("(%p)->(%p)\n", This
, p
);
1963 return get_style_property_var(&This
->css_style
, STYLEID_BORDER_TOP_COLOR
, p
);
1966 static HRESULT WINAPI
HTMLStyle_put_borderRightColor(IHTMLStyle
*iface
, VARIANT v
)
1968 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1970 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
1972 return set_style_property_var(&This
->css_style
, STYLEID_BORDER_RIGHT_COLOR
, &v
);
1975 static HRESULT WINAPI
HTMLStyle_get_borderRightColor(IHTMLStyle
*iface
, VARIANT
*p
)
1977 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1979 TRACE("(%p)->(%p)\n", This
, p
);
1981 return get_style_property_var(&This
->css_style
, STYLEID_BORDER_RIGHT_COLOR
, p
);
1984 static HRESULT WINAPI
HTMLStyle_put_borderBottomColor(IHTMLStyle
*iface
, VARIANT v
)
1986 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1988 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
1990 return set_style_property_var(&This
->css_style
, STYLEID_BORDER_BOTTOM_COLOR
, &v
);
1993 static HRESULT WINAPI
HTMLStyle_get_borderBottomColor(IHTMLStyle
*iface
, VARIANT
*p
)
1995 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1997 TRACE("(%p)->(%p)\n", This
, p
);
1999 return get_style_property_var(&This
->css_style
, STYLEID_BORDER_BOTTOM_COLOR
, p
);
2002 static HRESULT WINAPI
HTMLStyle_put_borderLeftColor(IHTMLStyle
*iface
, VARIANT v
)
2004 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2006 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
2008 return set_style_property_var(&This
->css_style
, STYLEID_BORDER_LEFT_COLOR
, &v
);
2011 static HRESULT WINAPI
HTMLStyle_get_borderLeftColor(IHTMLStyle
*iface
, VARIANT
*p
)
2013 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2015 TRACE("(%p)->(%p)\n", This
, p
);
2017 return get_style_property_var(&This
->css_style
, STYLEID_BORDER_LEFT_COLOR
, p
);
2020 static HRESULT WINAPI
HTMLStyle_put_borderWidth(IHTMLStyle
*iface
, BSTR v
)
2022 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2023 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
2024 return set_style_property(&This
->css_style
, STYLEID_BORDER_WIDTH
, v
);
2027 static HRESULT WINAPI
HTMLStyle_get_borderWidth(IHTMLStyle
*iface
, BSTR
*p
)
2029 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2030 TRACE("(%p)->(%p)\n", This
, p
);
2031 return get_style_property(&This
->css_style
, STYLEID_BORDER_WIDTH
, p
);
2034 static HRESULT WINAPI
HTMLStyle_put_borderTopWidth(IHTMLStyle
*iface
, VARIANT v
)
2036 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2038 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
2040 return set_style_property_var(&This
->css_style
, STYLEID_BORDER_TOP_WIDTH
, &v
);
2043 static HRESULT WINAPI
HTMLStyle_get_borderTopWidth(IHTMLStyle
*iface
, VARIANT
*p
)
2045 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2047 TRACE("(%p)->(%p)\n", This
, p
);
2049 return get_style_property_var(&This
->css_style
, STYLEID_BORDER_TOP_WIDTH
, p
);
2052 static HRESULT WINAPI
HTMLStyle_put_borderRightWidth(IHTMLStyle
*iface
, VARIANT v
)
2054 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2056 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
2058 return set_style_property_var(&This
->css_style
, STYLEID_BORDER_RIGHT_WIDTH
, &v
);
2061 static HRESULT WINAPI
HTMLStyle_get_borderRightWidth(IHTMLStyle
*iface
, VARIANT
*p
)
2063 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2065 TRACE("(%p)->(%p)\n", This
, p
);
2067 return get_style_property_var(&This
->css_style
, STYLEID_BORDER_RIGHT_WIDTH
, p
);
2070 static HRESULT WINAPI
HTMLStyle_put_borderBottomWidth(IHTMLStyle
*iface
, VARIANT v
)
2072 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2074 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
2076 return set_style_property_var(&This
->css_style
, STYLEID_BORDER_BOTTOM_WIDTH
, &v
);
2079 static HRESULT WINAPI
HTMLStyle_get_borderBottomWidth(IHTMLStyle
*iface
, VARIANT
*p
)
2081 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2082 TRACE("(%p)->(%p)\n", This
, p
);
2083 return get_style_property_var(&This
->css_style
, STYLEID_BORDER_BOTTOM_WIDTH
, p
);
2086 static HRESULT WINAPI
HTMLStyle_put_borderLeftWidth(IHTMLStyle
*iface
, VARIANT v
)
2088 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2090 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
2092 return set_style_property_var(&This
->css_style
, STYLEID_BORDER_LEFT_WIDTH
, &v
);
2095 static HRESULT WINAPI
HTMLStyle_get_borderLeftWidth(IHTMLStyle
*iface
, VARIANT
*p
)
2097 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2098 TRACE("(%p)->(%p)\n", This
, p
);
2099 return get_style_property_var(&This
->css_style
, STYLEID_BORDER_LEFT_WIDTH
, p
);
2102 static HRESULT WINAPI
HTMLStyle_put_borderStyle(IHTMLStyle
*iface
, BSTR v
)
2104 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2105 HRESULT hres
= S_OK
;
2110 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
2112 while(v
[i
] && hres
== S_OK
)
2114 if(v
[i
] == (WCHAR
)' ')
2116 pstyle
= SysAllocStringLen(&v
[last
], (i
-last
));
2117 if( !(is_valid_border_style(pstyle
) || wcsicmp(L
"window-inset", pstyle
) == 0))
2119 TRACE("1. Invalid style (%s)\n", debugstr_w(pstyle
));
2120 hres
= E_INVALIDARG
;
2122 SysFreeString(pstyle
);
2130 pstyle
= SysAllocStringLen(&v
[last
], i
-last
);
2131 if( !(is_valid_border_style(pstyle
) || wcsicmp(L
"window-inset", pstyle
) == 0))
2133 TRACE("2. Invalid style (%s)\n", debugstr_w(pstyle
));
2134 hres
= E_INVALIDARG
;
2136 SysFreeString(pstyle
);
2140 hres
= set_style_property(&This
->css_style
, STYLEID_BORDER_STYLE
, v
);
2145 static HRESULT WINAPI
HTMLStyle_get_borderStyle(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_STYLE
, p
);
2152 static HRESULT WINAPI
HTMLStyle_put_borderTopStyle(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_TOP_STYLE
, v
);
2159 static HRESULT WINAPI
HTMLStyle_get_borderTopStyle(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_TOP_STYLE
, p
);
2166 static HRESULT WINAPI
HTMLStyle_put_borderRightStyle(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_RIGHT_STYLE
, v
);
2173 static HRESULT WINAPI
HTMLStyle_get_borderRightStyle(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_RIGHT_STYLE
, p
);
2180 static HRESULT WINAPI
HTMLStyle_put_borderBottomStyle(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_BOTTOM_STYLE
, v
);
2187 static HRESULT WINAPI
HTMLStyle_get_borderBottomStyle(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_BOTTOM_STYLE
, p
);
2194 static HRESULT WINAPI
HTMLStyle_put_borderLeftStyle(IHTMLStyle
*iface
, BSTR v
)
2196 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2197 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
2198 return set_style_property(&This
->css_style
, STYLEID_BORDER_LEFT_STYLE
, v
);
2201 static HRESULT WINAPI
HTMLStyle_get_borderLeftStyle(IHTMLStyle
*iface
, BSTR
*p
)
2203 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2204 TRACE("(%p)->(%p)\n", This
, p
);
2205 return get_style_property(&This
->css_style
, STYLEID_BORDER_LEFT_STYLE
, p
);
2208 static HRESULT WINAPI
HTMLStyle_put_width(IHTMLStyle
*iface
, VARIANT v
)
2210 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2212 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
2214 return set_style_property_var(&This
->css_style
, STYLEID_WIDTH
, &v
);
2217 static HRESULT WINAPI
HTMLStyle_get_width(IHTMLStyle
*iface
, VARIANT
*p
)
2219 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2221 TRACE("(%p)->(%p)\n", This
, p
);
2223 return get_style_property_var(&This
->css_style
, STYLEID_WIDTH
, p
);
2226 static HRESULT WINAPI
HTMLStyle_put_height(IHTMLStyle
*iface
, VARIANT v
)
2228 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2230 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
2232 return set_style_property_var(&This
->css_style
, STYLEID_HEIGHT
, &v
);
2235 static HRESULT WINAPI
HTMLStyle_get_height(IHTMLStyle
*iface
, VARIANT
*p
)
2237 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2239 TRACE("(%p)->(%p)\n", This
, p
);
2241 return get_style_property_var(&This
->css_style
, STYLEID_HEIGHT
, p
);
2244 static HRESULT WINAPI
HTMLStyle_put_styleFloat(IHTMLStyle
*iface
, BSTR v
)
2246 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2248 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
2250 return set_style_property(&This
->css_style
, STYLEID_FLOAT
, v
);
2253 static HRESULT WINAPI
HTMLStyle_get_styleFloat(IHTMLStyle
*iface
, BSTR
*p
)
2255 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2257 TRACE("(%p)->(%p)\n", This
, p
);
2259 return get_style_property(&This
->css_style
, STYLEID_FLOAT
, p
);
2262 static HRESULT WINAPI
HTMLStyle_put_clear(IHTMLStyle
*iface
, BSTR v
)
2264 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2266 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
2268 return set_style_property(&This
->css_style
, STYLEID_CLEAR
, v
);
2271 static HRESULT WINAPI
HTMLStyle_get_clear(IHTMLStyle
*iface
, BSTR
*p
)
2273 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2275 TRACE("(%p)->(%p)\n", This
, p
);
2277 return get_style_property(&This
->css_style
, STYLEID_CLEAR
, p
);
2280 static HRESULT WINAPI
HTMLStyle_put_display(IHTMLStyle
*iface
, BSTR v
)
2282 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2284 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
2286 return set_style_property(&This
->css_style
, STYLEID_DISPLAY
, v
);
2289 static HRESULT WINAPI
HTMLStyle_get_display(IHTMLStyle
*iface
, BSTR
*p
)
2291 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2293 TRACE("(%p)->(%p)\n", This
, p
);
2295 return get_style_property(&This
->css_style
, STYLEID_DISPLAY
, p
);
2298 static HRESULT WINAPI
HTMLStyle_put_visibility(IHTMLStyle
*iface
, BSTR v
)
2300 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2302 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
2304 return set_style_property(&This
->css_style
, STYLEID_VISIBILITY
, v
);
2307 static HRESULT WINAPI
HTMLStyle_get_visibility(IHTMLStyle
*iface
, BSTR
*p
)
2309 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2311 TRACE("(%p)->(%p)\n", This
, p
);
2313 return get_style_property(&This
->css_style
, STYLEID_VISIBILITY
, p
);
2316 static HRESULT WINAPI
HTMLStyle_put_listStyleType(IHTMLStyle
*iface
, BSTR v
)
2318 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2320 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
2322 return set_style_property(&This
->css_style
, STYLEID_LISTSTYLETYPE
, v
);
2325 static HRESULT WINAPI
HTMLStyle_get_listStyleType(IHTMLStyle
*iface
, BSTR
*p
)
2327 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2329 TRACE("(%p)->(%p)\n", This
, p
);
2331 return get_style_property(&This
->css_style
, STYLEID_LISTSTYLETYPE
, p
);
2334 static HRESULT WINAPI
HTMLStyle_put_listStylePosition(IHTMLStyle
*iface
, BSTR v
)
2336 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2338 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
2340 return set_style_property(&This
->css_style
, STYLEID_LISTSTYLEPOSITION
, v
);
2343 static HRESULT WINAPI
HTMLStyle_get_listStylePosition(IHTMLStyle
*iface
, BSTR
*p
)
2345 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2347 TRACE("(%p)->(%p)\n", This
, p
);
2349 return get_style_property(&This
->css_style
, STYLEID_LISTSTYLEPOSITION
, p
);
2352 static HRESULT WINAPI
HTMLStyle_put_listStyleImage(IHTMLStyle
*iface
, BSTR v
)
2354 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2355 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
2359 static HRESULT WINAPI
HTMLStyle_get_listStyleImage(IHTMLStyle
*iface
, BSTR
*p
)
2361 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2362 FIXME("(%p)->(%p)\n", This
, p
);
2366 static HRESULT WINAPI
HTMLStyle_put_listStyle(IHTMLStyle
*iface
, BSTR v
)
2368 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2370 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
2372 return set_style_property(&This
->css_style
, STYLEID_LIST_STYLE
, v
);
2375 static HRESULT WINAPI
HTMLStyle_get_listStyle(IHTMLStyle
*iface
, BSTR
*p
)
2377 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2379 TRACE("(%p)->(%p)\n", This
, p
);
2381 return get_style_property(&This
->css_style
, STYLEID_LIST_STYLE
, p
);
2384 static HRESULT WINAPI
HTMLStyle_put_whiteSpace(IHTMLStyle
*iface
, BSTR v
)
2386 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2388 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
2390 return set_style_property(&This
->css_style
, STYLEID_WHITE_SPACE
, v
);
2393 static HRESULT WINAPI
HTMLStyle_get_whiteSpace(IHTMLStyle
*iface
, BSTR
*p
)
2395 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2397 TRACE("(%p)->(%p)\n", This
, p
);
2399 return get_style_property(&This
->css_style
, STYLEID_WHITE_SPACE
, p
);
2402 static HRESULT WINAPI
HTMLStyle_put_top(IHTMLStyle
*iface
, VARIANT v
)
2404 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2406 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
2408 return set_style_property_var(&This
->css_style
, STYLEID_TOP
, &v
);
2411 static HRESULT WINAPI
HTMLStyle_get_top(IHTMLStyle
*iface
, VARIANT
*p
)
2413 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2415 TRACE("(%p)->(%p)\n", This
, p
);
2417 return get_style_property_var(&This
->css_style
, STYLEID_TOP
, p
);
2420 static HRESULT WINAPI
HTMLStyle_put_left(IHTMLStyle
*iface
, VARIANT v
)
2422 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2424 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
2426 return set_style_property_var(&This
->css_style
, STYLEID_LEFT
, &v
);
2429 static HRESULT WINAPI
HTMLStyle_get_left(IHTMLStyle
*iface
, VARIANT
*p
)
2431 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2433 TRACE("(%p)->(%p)\n", This
, p
);
2435 return get_style_property_var(&This
->css_style
, STYLEID_LEFT
, p
);
2438 static HRESULT WINAPI
HTMLStyle_get_position(IHTMLStyle
*iface
, BSTR
*p
)
2440 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2441 TRACE("(%p)->(%p)\n", This
, p
);
2442 return IHTMLStyle2_get_position(&This
->IHTMLStyle2_iface
, p
);
2445 static HRESULT WINAPI
HTMLStyle_put_zIndex(IHTMLStyle
*iface
, VARIANT v
)
2447 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2449 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
2451 return set_style_property_var(&This
->css_style
, STYLEID_Z_INDEX
, &v
);
2454 static HRESULT WINAPI
HTMLStyle_get_zIndex(IHTMLStyle
*iface
, VARIANT
*p
)
2456 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2458 TRACE("(%p)->(%p)\n", This
, p
);
2460 return get_style_property_var(&This
->css_style
, STYLEID_Z_INDEX
, p
);
2463 static HRESULT WINAPI
HTMLStyle_put_overflow(IHTMLStyle
*iface
, BSTR v
)
2465 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2467 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
2469 return set_style_property(&This
->css_style
, STYLEID_OVERFLOW
, v
);
2473 static HRESULT WINAPI
HTMLStyle_get_overflow(IHTMLStyle
*iface
, BSTR
*p
)
2475 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2477 TRACE("(%p)->(%p)\n", This
, p
);
2480 return E_INVALIDARG
;
2482 return get_style_property(&This
->css_style
, STYLEID_OVERFLOW
, p
);
2485 static HRESULT WINAPI
HTMLStyle_put_pageBreakBefore(IHTMLStyle
*iface
, BSTR v
)
2487 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2489 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
2491 return set_style_property(&This
->css_style
, STYLEID_PAGE_BREAK_BEFORE
, v
);
2494 static HRESULT WINAPI
HTMLStyle_get_pageBreakBefore(IHTMLStyle
*iface
, BSTR
*p
)
2496 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2498 TRACE("(%p)->(%p)\n", This
, p
);
2500 return get_style_property(&This
->css_style
, STYLEID_PAGE_BREAK_BEFORE
, p
);
2503 static HRESULT WINAPI
HTMLStyle_put_pageBreakAfter(IHTMLStyle
*iface
, BSTR v
)
2505 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2507 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
2509 return set_style_property(&This
->css_style
, STYLEID_PAGE_BREAK_AFTER
, v
);
2512 static HRESULT WINAPI
HTMLStyle_get_pageBreakAfter(IHTMLStyle
*iface
, BSTR
*p
)
2514 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2516 TRACE("(%p)->(%p)\n", This
, p
);
2518 return get_style_property(&This
->css_style
, STYLEID_PAGE_BREAK_AFTER
, p
);
2521 static HRESULT WINAPI
HTMLStyle_put_cssText(IHTMLStyle
*iface
, BSTR v
)
2523 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2525 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
2527 return IHTMLCSSStyleDeclaration_put_cssText(&This
->css_style
.IHTMLCSSStyleDeclaration_iface
, v
);
2530 static HRESULT WINAPI
HTMLStyle_get_cssText(IHTMLStyle
*iface
, BSTR
*p
)
2532 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2534 TRACE("(%p)->(%p)\n", This
, p
);
2536 return IHTMLCSSStyleDeclaration_get_cssText(&This
->css_style
.IHTMLCSSStyleDeclaration_iface
, p
);
2539 static HRESULT WINAPI
HTMLStyle_put_pixelTop(IHTMLStyle
*iface
, LONG v
)
2541 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2543 TRACE("(%p)->(%d)\n", This
, v
);
2545 return set_style_pxattr(This
, STYLEID_TOP
, v
);
2548 static HRESULT WINAPI
HTMLStyle_get_pixelTop(IHTMLStyle
*iface
, LONG
*p
)
2550 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2552 TRACE("(%p)->(%p)\n", This
, p
);
2554 return get_nsstyle_pixel_val(This
, STYLEID_TOP
, p
);
2557 static HRESULT WINAPI
HTMLStyle_put_pixelLeft(IHTMLStyle
*iface
, LONG v
)
2559 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2561 TRACE("(%p)->(%d)\n", This
, v
);
2563 return set_style_pxattr(This
, STYLEID_LEFT
, v
);
2566 static HRESULT WINAPI
HTMLStyle_get_pixelLeft(IHTMLStyle
*iface
, LONG
*p
)
2568 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2570 TRACE("(%p)->(%p)\n", This
, p
);
2572 return get_nsstyle_pixel_val(This
, STYLEID_LEFT
, p
);
2575 static HRESULT WINAPI
HTMLStyle_put_pixelWidth(IHTMLStyle
*iface
, LONG v
)
2577 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2579 TRACE("(%p)->()\n", This
);
2581 return set_style_pxattr(This
, STYLEID_WIDTH
, v
);
2584 static HRESULT WINAPI
HTMLStyle_get_pixelWidth(IHTMLStyle
*iface
, LONG
*p
)
2586 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2588 TRACE("(%p)->(%p)\n", This
, p
);
2590 return get_nsstyle_pixel_val(This
, STYLEID_WIDTH
, p
);
2593 static HRESULT WINAPI
HTMLStyle_put_pixelHeight(IHTMLStyle
*iface
, LONG v
)
2595 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2597 TRACE("(%p)->(%d)\n", This
, v
);
2599 return set_style_pxattr(This
, STYLEID_HEIGHT
, v
);
2602 static HRESULT WINAPI
HTMLStyle_get_pixelHeight(IHTMLStyle
*iface
, LONG
*p
)
2604 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2606 TRACE("(%p)->(%p)\n", This
, p
);
2608 return get_nsstyle_pixel_val(This
, STYLEID_HEIGHT
, p
);
2611 static HRESULT WINAPI
HTMLStyle_put_posTop(IHTMLStyle
*iface
, float v
)
2613 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2615 TRACE("(%p)->(%f)\n", This
, v
);
2617 return set_style_pos(This
, STYLEID_TOP
, v
);
2620 static HRESULT WINAPI
HTMLStyle_get_posTop(IHTMLStyle
*iface
, float *p
)
2622 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2624 TRACE("(%p)->(%p)\n", This
, p
);
2629 return get_nsstyle_pos(This
, STYLEID_TOP
, p
);
2632 static HRESULT WINAPI
HTMLStyle_put_posLeft(IHTMLStyle
*iface
, float v
)
2634 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2636 TRACE("(%p)->(%f)\n", This
, v
);
2638 return set_style_pos(This
, STYLEID_LEFT
, v
);
2641 static HRESULT WINAPI
HTMLStyle_get_posLeft(IHTMLStyle
*iface
, float *p
)
2643 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2645 TRACE("(%p)->(%p)\n", This
, p
);
2650 return get_nsstyle_pos(This
, STYLEID_LEFT
, p
);
2653 static HRESULT WINAPI
HTMLStyle_put_posWidth(IHTMLStyle
*iface
, float v
)
2655 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2657 TRACE("(%p)->(%f)\n", This
, v
);
2659 return set_style_pos(This
, STYLEID_WIDTH
, v
);
2662 static HRESULT WINAPI
HTMLStyle_get_posWidth(IHTMLStyle
*iface
, float *p
)
2664 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2666 TRACE("(%p)->(%p)\n", This
, p
);
2671 if(get_nsstyle_pos(This
, STYLEID_WIDTH
, p
) != S_OK
)
2677 static HRESULT WINAPI
HTMLStyle_put_posHeight(IHTMLStyle
*iface
, float v
)
2679 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2681 TRACE("(%p)->(%f)\n", This
, v
);
2683 return set_style_pos(This
, STYLEID_HEIGHT
, v
);
2686 static HRESULT WINAPI
HTMLStyle_get_posHeight(IHTMLStyle
*iface
, float *p
)
2688 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2690 TRACE("(%p)->(%p)\n", This
, p
);
2695 if(get_nsstyle_pos(This
, STYLEID_HEIGHT
, p
) != S_OK
)
2701 static HRESULT WINAPI
HTMLStyle_put_cursor(IHTMLStyle
*iface
, BSTR v
)
2703 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2705 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
2707 return set_style_property(&This
->css_style
, STYLEID_CURSOR
, v
);
2710 static HRESULT WINAPI
HTMLStyle_get_cursor(IHTMLStyle
*iface
, BSTR
*p
)
2712 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2714 TRACE("(%p)->(%p)\n", This
, p
);
2716 return get_style_property(&This
->css_style
, STYLEID_CURSOR
, p
);
2719 static HRESULT WINAPI
HTMLStyle_put_clip(IHTMLStyle
*iface
, BSTR v
)
2721 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2723 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
2725 return set_style_property(&This
->css_style
, STYLEID_CLIP
, v
);
2728 static HRESULT WINAPI
HTMLStyle_get_clip(IHTMLStyle
*iface
, BSTR
*p
)
2730 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2732 TRACE("(%p)->(%p)\n", This
, p
);
2734 return get_style_property(&This
->css_style
, STYLEID_CLIP
, p
);
2737 static void set_opacity(HTMLStyle
*This
, const WCHAR
*val
)
2739 nsAString name_str
, val_str
, empty_str
;
2742 TRACE("%s\n", debugstr_w(val
));
2744 nsAString_InitDepend(&name_str
, L
"opacity");
2745 nsAString_InitDepend(&val_str
, val
);
2746 nsAString_InitDepend(&empty_str
, L
"");
2748 nsres
= nsIDOMCSSStyleDeclaration_SetProperty(This
->css_style
.nsstyle
, &name_str
, &val_str
, &empty_str
);
2749 if(NS_FAILED(nsres
))
2750 ERR("SetProperty failed: %08x\n", nsres
);
2752 nsAString_Finish(&name_str
);
2753 nsAString_Finish(&val_str
);
2754 nsAString_Finish(&empty_str
);
2757 static void update_filter(HTMLStyle
*This
)
2759 const WCHAR
*ptr
, *ptr2
;
2761 static const WCHAR alphaW
[] = {'a','l','p','h','a'};
2763 if(dispex_compat_mode(&This
->css_style
.dispex
) >= COMPAT_MODE_IE10
)
2766 ptr
= This
->elem
->filter
;
2767 TRACE("%s\n", debugstr_w(ptr
));
2769 set_opacity(This
, L
"");
2774 while(iswspace(*ptr
))
2780 while(iswalnum(*ptr
))
2783 WARN("unexpected char '%c'\n", *ptr
);
2787 WARN("expected '('\n");
2791 if(ptr2
+ ARRAY_SIZE(alphaW
) == ptr
&& !memcmp(ptr2
, alphaW
, sizeof(alphaW
))) {
2792 static const WCHAR opacityW
[] = {'o','p','a','c','i','t','y','='};
2796 while(iswspace(*ptr
))
2800 while(*ptr
&& *ptr
!= ',' && *ptr
!= ')')
2803 WARN("unexpected end of string\n");
2807 if(ptr
-ptr2
> ARRAY_SIZE(opacityW
) && !memcmp(ptr2
, opacityW
, sizeof(opacityW
))) {
2808 float fval
= 0.0f
, e
= 0.1f
;
2811 ptr2
+= ARRAY_SIZE(opacityW
);
2813 while(is_digit(*ptr2
))
2814 fval
= fval
*10.0f
+ (float)(*ptr2
++ - '0');
2817 while(is_digit(*++ptr2
)) {
2818 fval
+= e
* (float)(*ptr2
++ - '0');
2823 swprintf(buf
, ARRAY_SIZE(buf
), L
"%f", fval
* 0.01f
);
2824 set_opacity(This
, buf
);
2826 FIXME("unknown param %s\n", debugstr_wn(ptr2
, ptr
-ptr2
));
2831 }while(*ptr
!= ')');
2833 FIXME("unknown filter %s\n", debugstr_wn(ptr2
, ptr
-ptr2
));
2834 ptr
= wcschr(ptr
, ')');
2842 static HRESULT WINAPI
HTMLStyle_put_filter(IHTMLStyle
*iface
, BSTR v
)
2844 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2845 WCHAR
*new_filter
= NULL
;
2847 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
2850 FIXME("Element already destroyed\n");
2851 return E_UNEXPECTED
;
2855 new_filter
= heap_strdupW(v
);
2857 return E_OUTOFMEMORY
;
2860 heap_free(This
->elem
->filter
);
2861 This
->elem
->filter
= new_filter
;
2863 update_filter(This
);
2867 static HRESULT WINAPI
HTMLStyle_get_filter(IHTMLStyle
*iface
, BSTR
*p
)
2869 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2871 TRACE("(%p)->(%p)\n", This
, p
);
2874 FIXME("Element already destroyed\n");
2875 return E_UNEXPECTED
;
2878 if(This
->elem
->filter
) {
2879 *p
= SysAllocString(This
->elem
->filter
);
2881 return E_OUTOFMEMORY
;
2889 static HRESULT WINAPI
HTMLStyle_setAttribute(IHTMLStyle
*iface
, BSTR strAttributeName
,
2890 VARIANT AttributeValue
, LONG lFlags
)
2892 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2896 TRACE("(%p)->(%s %s %08x)\n", This
, debugstr_w(strAttributeName
),
2897 debugstr_variant(&AttributeValue
), lFlags
);
2899 if(!strAttributeName
)
2900 return E_INVALIDARG
;
2903 FIXME("Parameter lFlags ignored\n");
2905 hres
= HTMLStyle_GetIDsOfNames(iface
, &IID_NULL
, &strAttributeName
, 1,
2906 LOCALE_USER_DEFAULT
, &dispid
);
2910 DISPID dispidNamed
= DISPID_PROPERTYPUT
;
2914 params
.rgvarg
= &AttributeValue
;
2915 params
.cNamedArgs
= 1;
2916 params
.rgdispidNamedArgs
= &dispidNamed
;
2918 hres
= HTMLStyle_Invoke(iface
, dispid
, &IID_NULL
, LOCALE_SYSTEM_DEFAULT
,
2919 DISPATCH_PROPERTYPUT
, ¶ms
, &ret
, NULL
, NULL
);
2923 FIXME("Custom attributes not supported.\n");
2926 TRACE("ret: %08x\n", hres
);
2931 static HRESULT WINAPI
HTMLStyle_getAttribute(IHTMLStyle
*iface
, BSTR strAttributeName
,
2932 LONG lFlags
, VARIANT
*AttributeValue
)
2934 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2938 TRACE("(%p)->(%s v%p %08x)\n", This
, debugstr_w(strAttributeName
),
2939 AttributeValue
, lFlags
);
2941 if(!AttributeValue
|| !strAttributeName
)
2942 return E_INVALIDARG
;
2945 FIXME("Parameter lFlags ignored\n");
2947 hres
= HTMLStyle_GetIDsOfNames(iface
, &IID_NULL
, &strAttributeName
, 1,
2948 LOCALE_USER_DEFAULT
, &dispid
);
2951 DISPPARAMS params
= {NULL
, NULL
, 0, 0 };
2953 hres
= HTMLStyle_Invoke(iface
, dispid
, &IID_NULL
, LOCALE_SYSTEM_DEFAULT
,
2954 DISPATCH_PROPERTYGET
, ¶ms
, AttributeValue
, NULL
, NULL
);
2958 FIXME("Custom attributes not supported.\n");
2964 static HRESULT WINAPI
HTMLStyle_removeAttribute(IHTMLStyle
*iface
, BSTR strAttributeName
,
2965 LONG lFlags
, VARIANT_BOOL
*pfSuccess
)
2967 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2968 const style_tbl_entry_t
*style_entry
;
2969 nsAString name_str
, ret_str
;
2973 TRACE("(%p)->(%s %08x %p)\n", This
, debugstr_w(strAttributeName
), lFlags
, pfSuccess
);
2975 style_entry
= lookup_style_tbl(&This
->css_style
, strAttributeName
);
2977 compat_mode_t compat_mode
= dispex_compat_mode(&This
->css_style
.dispex
);
2981 hres
= IDispatchEx_GetDispID(&This
->css_style
.dispex
.IDispatchEx_iface
, strAttributeName
,
2982 (lFlags
&1) ? fdexNameCaseSensitive
: fdexNameCaseInsensitive
, &dispid
);
2984 *pfSuccess
= VARIANT_FALSE
;
2988 for(i
=0; i
< ARRAY_SIZE(style_tbl
); i
++) {
2989 if(dispid
== (compat_mode
>= COMPAT_MODE_IE9
2990 ? style_tbl
[i
].dispid
: style_tbl
[i
].compat_dispid
))
2994 if(i
== ARRAY_SIZE(style_tbl
))
2995 return remove_attribute(&This
->css_style
.dispex
, dispid
, pfSuccess
);
2996 style_entry
= style_tbl
+i
;
2999 /* filter property is a special case */
3000 if(style_entry
->compat_dispid
== DISPID_IHTMLSTYLE_FILTER
) {
3002 return E_UNEXPECTED
;
3003 *pfSuccess
= variant_bool(This
->elem
->filter
&& *This
->elem
->filter
);
3004 heap_free(This
->elem
->filter
);
3005 This
->elem
->filter
= NULL
;
3006 update_filter(This
);
3010 nsAString_InitDepend(&name_str
, style_entry
->name
);
3011 nsAString_Init(&ret_str
, NULL
);
3012 nsres
= nsIDOMCSSStyleDeclaration_RemoveProperty(This
->css_style
.nsstyle
, &name_str
, &ret_str
);
3013 if(NS_SUCCEEDED(nsres
)) {
3014 const PRUnichar
*ret
;
3015 nsAString_GetData(&ret_str
, &ret
);
3016 *pfSuccess
= variant_bool(*ret
);
3018 WARN("RemoveProperty failed: %08x\n", nsres
);
3020 nsAString_Finish(&name_str
);
3021 nsAString_Finish(&ret_str
);
3022 return map_nsresult(nsres
);
3025 static HRESULT WINAPI
HTMLStyle_toString(IHTMLStyle
*iface
, BSTR
*String
)
3027 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
3029 TRACE("(%p)->(%p)\n", This
, String
);
3031 return dispex_to_string(&This
->css_style
.dispex
, String
);
3034 static const IHTMLStyleVtbl HTMLStyleVtbl
= {
3035 HTMLStyle_QueryInterface
,
3038 HTMLStyle_GetTypeInfoCount
,
3039 HTMLStyle_GetTypeInfo
,
3040 HTMLStyle_GetIDsOfNames
,
3042 HTMLStyle_put_fontFamily
,
3043 HTMLStyle_get_fontFamily
,
3044 HTMLStyle_put_fontStyle
,
3045 HTMLStyle_get_fontStyle
,
3046 HTMLStyle_put_fontVariant
,
3047 HTMLStyle_get_fontVariant
,
3048 HTMLStyle_put_fontWeight
,
3049 HTMLStyle_get_fontWeight
,
3050 HTMLStyle_put_fontSize
,
3051 HTMLStyle_get_fontSize
,
3054 HTMLStyle_put_color
,
3055 HTMLStyle_get_color
,
3056 HTMLStyle_put_background
,
3057 HTMLStyle_get_background
,
3058 HTMLStyle_put_backgroundColor
,
3059 HTMLStyle_get_backgroundColor
,
3060 HTMLStyle_put_backgroundImage
,
3061 HTMLStyle_get_backgroundImage
,
3062 HTMLStyle_put_backgroundRepeat
,
3063 HTMLStyle_get_backgroundRepeat
,
3064 HTMLStyle_put_backgroundAttachment
,
3065 HTMLStyle_get_backgroundAttachment
,
3066 HTMLStyle_put_backgroundPosition
,
3067 HTMLStyle_get_backgroundPosition
,
3068 HTMLStyle_put_backgroundPositionX
,
3069 HTMLStyle_get_backgroundPositionX
,
3070 HTMLStyle_put_backgroundPositionY
,
3071 HTMLStyle_get_backgroundPositionY
,
3072 HTMLStyle_put_wordSpacing
,
3073 HTMLStyle_get_wordSpacing
,
3074 HTMLStyle_put_letterSpacing
,
3075 HTMLStyle_get_letterSpacing
,
3076 HTMLStyle_put_textDecoration
,
3077 HTMLStyle_get_textDecoration
,
3078 HTMLStyle_put_textDecorationNone
,
3079 HTMLStyle_get_textDecorationNone
,
3080 HTMLStyle_put_textDecorationUnderline
,
3081 HTMLStyle_get_textDecorationUnderline
,
3082 HTMLStyle_put_textDecorationOverline
,
3083 HTMLStyle_get_textDecorationOverline
,
3084 HTMLStyle_put_textDecorationLineThrough
,
3085 HTMLStyle_get_textDecorationLineThrough
,
3086 HTMLStyle_put_textDecorationBlink
,
3087 HTMLStyle_get_textDecorationBlink
,
3088 HTMLStyle_put_verticalAlign
,
3089 HTMLStyle_get_verticalAlign
,
3090 HTMLStyle_put_textTransform
,
3091 HTMLStyle_get_textTransform
,
3092 HTMLStyle_put_textAlign
,
3093 HTMLStyle_get_textAlign
,
3094 HTMLStyle_put_textIndent
,
3095 HTMLStyle_get_textIndent
,
3096 HTMLStyle_put_lineHeight
,
3097 HTMLStyle_get_lineHeight
,
3098 HTMLStyle_put_marginTop
,
3099 HTMLStyle_get_marginTop
,
3100 HTMLStyle_put_marginRight
,
3101 HTMLStyle_get_marginRight
,
3102 HTMLStyle_put_marginBottom
,
3103 HTMLStyle_get_marginBottom
,
3104 HTMLStyle_put_marginLeft
,
3105 HTMLStyle_get_marginLeft
,
3106 HTMLStyle_put_margin
,
3107 HTMLStyle_get_margin
,
3108 HTMLStyle_put_paddingTop
,
3109 HTMLStyle_get_paddingTop
,
3110 HTMLStyle_put_paddingRight
,
3111 HTMLStyle_get_paddingRight
,
3112 HTMLStyle_put_paddingBottom
,
3113 HTMLStyle_get_paddingBottom
,
3114 HTMLStyle_put_paddingLeft
,
3115 HTMLStyle_get_paddingLeft
,
3116 HTMLStyle_put_padding
,
3117 HTMLStyle_get_padding
,
3118 HTMLStyle_put_border
,
3119 HTMLStyle_get_border
,
3120 HTMLStyle_put_borderTop
,
3121 HTMLStyle_get_borderTop
,
3122 HTMLStyle_put_borderRight
,
3123 HTMLStyle_get_borderRight
,
3124 HTMLStyle_put_borderBottom
,
3125 HTMLStyle_get_borderBottom
,
3126 HTMLStyle_put_borderLeft
,
3127 HTMLStyle_get_borderLeft
,
3128 HTMLStyle_put_borderColor
,
3129 HTMLStyle_get_borderColor
,
3130 HTMLStyle_put_borderTopColor
,
3131 HTMLStyle_get_borderTopColor
,
3132 HTMLStyle_put_borderRightColor
,
3133 HTMLStyle_get_borderRightColor
,
3134 HTMLStyle_put_borderBottomColor
,
3135 HTMLStyle_get_borderBottomColor
,
3136 HTMLStyle_put_borderLeftColor
,
3137 HTMLStyle_get_borderLeftColor
,
3138 HTMLStyle_put_borderWidth
,
3139 HTMLStyle_get_borderWidth
,
3140 HTMLStyle_put_borderTopWidth
,
3141 HTMLStyle_get_borderTopWidth
,
3142 HTMLStyle_put_borderRightWidth
,
3143 HTMLStyle_get_borderRightWidth
,
3144 HTMLStyle_put_borderBottomWidth
,
3145 HTMLStyle_get_borderBottomWidth
,
3146 HTMLStyle_put_borderLeftWidth
,
3147 HTMLStyle_get_borderLeftWidth
,
3148 HTMLStyle_put_borderStyle
,
3149 HTMLStyle_get_borderStyle
,
3150 HTMLStyle_put_borderTopStyle
,
3151 HTMLStyle_get_borderTopStyle
,
3152 HTMLStyle_put_borderRightStyle
,
3153 HTMLStyle_get_borderRightStyle
,
3154 HTMLStyle_put_borderBottomStyle
,
3155 HTMLStyle_get_borderBottomStyle
,
3156 HTMLStyle_put_borderLeftStyle
,
3157 HTMLStyle_get_borderLeftStyle
,
3158 HTMLStyle_put_width
,
3159 HTMLStyle_get_width
,
3160 HTMLStyle_put_height
,
3161 HTMLStyle_get_height
,
3162 HTMLStyle_put_styleFloat
,
3163 HTMLStyle_get_styleFloat
,
3164 HTMLStyle_put_clear
,
3165 HTMLStyle_get_clear
,
3166 HTMLStyle_put_display
,
3167 HTMLStyle_get_display
,
3168 HTMLStyle_put_visibility
,
3169 HTMLStyle_get_visibility
,
3170 HTMLStyle_put_listStyleType
,
3171 HTMLStyle_get_listStyleType
,
3172 HTMLStyle_put_listStylePosition
,
3173 HTMLStyle_get_listStylePosition
,
3174 HTMLStyle_put_listStyleImage
,
3175 HTMLStyle_get_listStyleImage
,
3176 HTMLStyle_put_listStyle
,
3177 HTMLStyle_get_listStyle
,
3178 HTMLStyle_put_whiteSpace
,
3179 HTMLStyle_get_whiteSpace
,
3184 HTMLStyle_get_position
,
3185 HTMLStyle_put_zIndex
,
3186 HTMLStyle_get_zIndex
,
3187 HTMLStyle_put_overflow
,
3188 HTMLStyle_get_overflow
,
3189 HTMLStyle_put_pageBreakBefore
,
3190 HTMLStyle_get_pageBreakBefore
,
3191 HTMLStyle_put_pageBreakAfter
,
3192 HTMLStyle_get_pageBreakAfter
,
3193 HTMLStyle_put_cssText
,
3194 HTMLStyle_get_cssText
,
3195 HTMLStyle_put_pixelTop
,
3196 HTMLStyle_get_pixelTop
,
3197 HTMLStyle_put_pixelLeft
,
3198 HTMLStyle_get_pixelLeft
,
3199 HTMLStyle_put_pixelWidth
,
3200 HTMLStyle_get_pixelWidth
,
3201 HTMLStyle_put_pixelHeight
,
3202 HTMLStyle_get_pixelHeight
,
3203 HTMLStyle_put_posTop
,
3204 HTMLStyle_get_posTop
,
3205 HTMLStyle_put_posLeft
,
3206 HTMLStyle_get_posLeft
,
3207 HTMLStyle_put_posWidth
,
3208 HTMLStyle_get_posWidth
,
3209 HTMLStyle_put_posHeight
,
3210 HTMLStyle_get_posHeight
,
3211 HTMLStyle_put_cursor
,
3212 HTMLStyle_get_cursor
,
3215 HTMLStyle_put_filter
,
3216 HTMLStyle_get_filter
,
3217 HTMLStyle_setAttribute
,
3218 HTMLStyle_getAttribute
,
3219 HTMLStyle_removeAttribute
,
3223 static inline HTMLStyle
*impl_from_IHTMLStyle2(IHTMLStyle2
*iface
)
3225 return CONTAINING_RECORD(iface
, HTMLStyle
, IHTMLStyle2_iface
);
3228 static HRESULT WINAPI
HTMLStyle2_QueryInterface(IHTMLStyle2
*iface
, REFIID riid
, void **ppv
)
3230 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3232 return IHTMLStyle_QueryInterface(&This
->IHTMLStyle_iface
, riid
, ppv
);
3235 static ULONG WINAPI
HTMLStyle2_AddRef(IHTMLStyle2
*iface
)
3237 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3239 return IHTMLStyle_AddRef(&This
->IHTMLStyle_iface
);
3242 static ULONG WINAPI
HTMLStyle2_Release(IHTMLStyle2
*iface
)
3244 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3246 return IHTMLStyle_Release(&This
->IHTMLStyle_iface
);
3249 static HRESULT WINAPI
HTMLStyle2_GetTypeInfoCount(IHTMLStyle2
*iface
, UINT
*pctinfo
)
3251 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3252 return IDispatchEx_GetTypeInfoCount(&This
->css_style
.dispex
.IDispatchEx_iface
, pctinfo
);
3255 static HRESULT WINAPI
HTMLStyle2_GetTypeInfo(IHTMLStyle2
*iface
, UINT iTInfo
,
3256 LCID lcid
, ITypeInfo
**ppTInfo
)
3258 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3259 return IDispatchEx_GetTypeInfo(&This
->css_style
.dispex
.IDispatchEx_iface
, iTInfo
, lcid
, ppTInfo
);
3262 static HRESULT WINAPI
HTMLStyle2_GetIDsOfNames(IHTMLStyle2
*iface
, REFIID riid
,
3263 LPOLESTR
*rgszNames
, UINT cNames
,
3264 LCID lcid
, DISPID
*rgDispId
)
3266 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3267 return IDispatchEx_GetIDsOfNames(&This
->css_style
.dispex
.IDispatchEx_iface
, riid
, rgszNames
, cNames
,
3271 static HRESULT WINAPI
HTMLStyle2_Invoke(IHTMLStyle2
*iface
, DISPID dispIdMember
,
3272 REFIID riid
, LCID lcid
, WORD wFlags
, DISPPARAMS
*pDispParams
,
3273 VARIANT
*pVarResult
, EXCEPINFO
*pExcepInfo
, UINT
*puArgErr
)
3275 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3276 return IDispatchEx_Invoke(&This
->css_style
.dispex
.IDispatchEx_iface
, dispIdMember
, riid
, lcid
,
3277 wFlags
, pDispParams
, pVarResult
, pExcepInfo
, puArgErr
);
3280 static HRESULT WINAPI
HTMLStyle2_put_tableLayout(IHTMLStyle2
*iface
, BSTR v
)
3282 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3284 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
3286 return set_style_property(&This
->css_style
, STYLEID_TABLE_LAYOUT
, v
);
3289 static HRESULT WINAPI
HTMLStyle2_get_tableLayout(IHTMLStyle2
*iface
, BSTR
*p
)
3291 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3293 TRACE("(%p)->(%p)\n", This
, p
);
3295 return get_style_property(&This
->css_style
, STYLEID_TABLE_LAYOUT
, p
);
3298 static HRESULT WINAPI
HTMLStyle2_put_borderCollapse(IHTMLStyle2
*iface
, BSTR v
)
3300 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3302 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
3304 return set_style_property(&This
->css_style
, STYLEID_BORDER_COLLAPSE
, v
);
3307 static HRESULT WINAPI
HTMLStyle2_get_borderCollapse(IHTMLStyle2
*iface
, BSTR
*p
)
3309 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3311 TRACE("(%p)->(%p)\n", This
, p
);
3313 return get_style_property(&This
->css_style
, STYLEID_BORDER_COLLAPSE
, p
);
3316 static HRESULT WINAPI
HTMLStyle2_put_direction(IHTMLStyle2
*iface
, BSTR v
)
3318 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3320 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
3322 return set_style_property(&This
->css_style
, STYLEID_DIRECTION
, v
);
3325 static HRESULT WINAPI
HTMLStyle2_get_direction(IHTMLStyle2
*iface
, BSTR
*p
)
3327 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3329 TRACE("(%p)->(%p)\n", This
, p
);
3331 return get_style_property(&This
->css_style
, STYLEID_DIRECTION
, p
);
3334 static HRESULT WINAPI
HTMLStyle2_put_behavior(IHTMLStyle2
*iface
, BSTR v
)
3336 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3337 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
3341 static HRESULT WINAPI
HTMLStyle2_get_behavior(IHTMLStyle2
*iface
, BSTR
*p
)
3343 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3344 FIXME("(%p)->(%p)\n", This
, p
);
3348 static HRESULT WINAPI
HTMLStyle2_setExpression(IHTMLStyle2
*iface
, BSTR propname
, BSTR expression
, BSTR language
)
3350 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3351 FIXME("(%p)->(%s %s %s)\n", This
, debugstr_w(propname
), debugstr_w(expression
), debugstr_w(language
));
3355 static HRESULT WINAPI
HTMLStyle2_getExpression(IHTMLStyle2
*iface
, BSTR propname
, VARIANT
*expression
)
3357 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3358 FIXME("(%p)->(%s %p)\n", This
, debugstr_w(propname
), expression
);
3362 static HRESULT WINAPI
HTMLStyle2_removeExpression(IHTMLStyle2
*iface
, BSTR propname
, VARIANT_BOOL
*pfSuccess
)
3364 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3365 FIXME("(%p)->(%s %p)\n", This
, debugstr_w(propname
), pfSuccess
);
3369 static HRESULT WINAPI
HTMLStyle2_put_position(IHTMLStyle2
*iface
, BSTR v
)
3371 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3373 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
3375 return set_style_property(&This
->css_style
, STYLEID_POSITION
, v
);
3378 static HRESULT WINAPI
HTMLStyle2_get_position(IHTMLStyle2
*iface
, BSTR
*p
)
3380 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3382 TRACE("(%p)->(%p)\n", This
, p
);
3384 return get_style_property(&This
->css_style
, STYLEID_POSITION
, p
);
3387 static HRESULT WINAPI
HTMLStyle2_put_unicodeBidi(IHTMLStyle2
*iface
, BSTR v
)
3389 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3390 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
3394 static HRESULT WINAPI
HTMLStyle2_get_unicodeBidi(IHTMLStyle2
*iface
, BSTR
*p
)
3396 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3397 FIXME("(%p)->(%p)\n", This
, p
);
3401 static HRESULT WINAPI
HTMLStyle2_put_bottom(IHTMLStyle2
*iface
, VARIANT v
)
3403 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3405 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
3407 return set_style_property_var(&This
->css_style
, STYLEID_BOTTOM
, &v
);
3410 static HRESULT WINAPI
HTMLStyle2_get_bottom(IHTMLStyle2
*iface
, VARIANT
*p
)
3412 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3414 TRACE("(%p)->(%p)\n", This
, p
);
3416 return get_style_property_var(&This
->css_style
, STYLEID_BOTTOM
, p
);
3419 static HRESULT WINAPI
HTMLStyle2_put_right(IHTMLStyle2
*iface
, VARIANT v
)
3421 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3423 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
3425 return set_style_property_var(&This
->css_style
, STYLEID_RIGHT
, &v
);
3428 static HRESULT WINAPI
HTMLStyle2_get_right(IHTMLStyle2
*iface
, VARIANT
*p
)
3430 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3432 TRACE("(%p)->(%p)\n", This
, p
);
3434 return get_style_property_var(&This
->css_style
, STYLEID_RIGHT
, p
);
3437 static HRESULT WINAPI
HTMLStyle2_put_pixelBottom(IHTMLStyle2
*iface
, LONG v
)
3439 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3440 FIXME("(%p)->(%d)\n", This
, v
);
3444 static HRESULT WINAPI
HTMLStyle2_get_pixelBottom(IHTMLStyle2
*iface
, LONG
*p
)
3446 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3447 FIXME("(%p)->(%p)\n", This
, p
);
3451 static HRESULT WINAPI
HTMLStyle2_put_pixelRight(IHTMLStyle2
*iface
, LONG v
)
3453 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3454 FIXME("(%p)->(%d)\n", This
, v
);
3458 static HRESULT WINAPI
HTMLStyle2_get_pixelRight(IHTMLStyle2
*iface
, LONG
*p
)
3460 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3461 FIXME("(%p)->(%p)\n", This
, p
);
3465 static HRESULT WINAPI
HTMLStyle2_put_posBottom(IHTMLStyle2
*iface
, float v
)
3467 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3468 FIXME("(%p)->(%f)\n", This
, v
);
3472 static HRESULT WINAPI
HTMLStyle2_get_posBottom(IHTMLStyle2
*iface
, float *p
)
3474 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3475 FIXME("(%p)->(%p)\n", This
, p
);
3479 static HRESULT WINAPI
HTMLStyle2_put_posRight(IHTMLStyle2
*iface
, float v
)
3481 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3482 FIXME("(%p)->(%f)\n", This
, v
);
3486 static HRESULT WINAPI
HTMLStyle2_get_posRight(IHTMLStyle2
*iface
, float *p
)
3488 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3489 FIXME("(%p)->(%p)\n", This
, p
);
3493 static HRESULT WINAPI
HTMLStyle2_put_imeMode(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_imeMode(IHTMLStyle2
*iface
, BSTR
*p
)
3502 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3503 FIXME("(%p)->(%p)\n", This
, p
);
3507 static HRESULT WINAPI
HTMLStyle2_put_rubyAlign(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_rubyAlign(IHTMLStyle2
*iface
, BSTR
*p
)
3516 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3517 FIXME("(%p)->(%p)\n", This
, p
);
3521 static HRESULT WINAPI
HTMLStyle2_put_rubyPosition(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_rubyPosition(IHTMLStyle2
*iface
, BSTR
*p
)
3530 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3531 FIXME("(%p)->(%p)\n", This
, p
);
3535 static HRESULT WINAPI
HTMLStyle2_put_rubyOverhang(IHTMLStyle2
*iface
, BSTR v
)
3537 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3538 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
3542 static HRESULT WINAPI
HTMLStyle2_get_rubyOverhang(IHTMLStyle2
*iface
, BSTR
*p
)
3544 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3545 FIXME("(%p)->(%p)\n", This
, p
);
3549 static HRESULT WINAPI
HTMLStyle2_put_layoutGridChar(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_layoutGridChar(IHTMLStyle2
*iface
, VARIANT
*p
)
3558 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3559 FIXME("(%p)->(%p)\n", This
, p
);
3563 static HRESULT WINAPI
HTMLStyle2_put_layoutGridLine(IHTMLStyle2
*iface
, VARIANT v
)
3565 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3566 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
3570 static HRESULT WINAPI
HTMLStyle2_get_layoutGridLine(IHTMLStyle2
*iface
, VARIANT
*p
)
3572 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3573 FIXME("(%p)->(%p)\n", This
, p
);
3577 static HRESULT WINAPI
HTMLStyle2_put_layoutGridMode(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_layoutGridMode(IHTMLStyle2
*iface
, BSTR
*p
)
3586 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3587 FIXME("(%p)->(%p)\n", This
, p
);
3591 static HRESULT WINAPI
HTMLStyle2_put_layoutGridType(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_layoutGridType(IHTMLStyle2
*iface
, BSTR
*p
)
3600 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3601 FIXME("(%p)->(%p)\n", This
, p
);
3605 static HRESULT WINAPI
HTMLStyle2_put_layoutGrid(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_layoutGrid(IHTMLStyle2
*iface
, BSTR
*p
)
3614 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3615 FIXME("(%p)->(%p)\n", This
, p
);
3619 static HRESULT WINAPI
HTMLStyle2_put_wordBreak(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_wordBreak(IHTMLStyle2
*iface
, BSTR
*p
)
3628 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3629 FIXME("(%p)->(%p)\n", This
, p
);
3633 static HRESULT WINAPI
HTMLStyle2_put_lineBreak(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_lineBreak(IHTMLStyle2
*iface
, BSTR
*p
)
3642 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3643 FIXME("(%p)->(%p)\n", This
, p
);
3647 static HRESULT WINAPI
HTMLStyle2_put_textJustify(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_textJustify(IHTMLStyle2
*iface
, BSTR
*p
)
3656 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3657 FIXME("(%p)->(%p)\n", This
, p
);
3661 static HRESULT WINAPI
HTMLStyle2_put_textJustifyTrim(IHTMLStyle2
*iface
, BSTR v
)
3663 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3664 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
3668 static HRESULT WINAPI
HTMLStyle2_get_textJustifyTrim(IHTMLStyle2
*iface
, BSTR
*p
)
3670 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3671 FIXME("(%p)->(%p)\n", This
, p
);
3675 static HRESULT WINAPI
HTMLStyle2_put_textKashida(IHTMLStyle2
*iface
, VARIANT v
)
3677 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3678 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
3682 static HRESULT WINAPI
HTMLStyle2_get_textKashida(IHTMLStyle2
*iface
, VARIANT
*p
)
3684 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3685 FIXME("(%p)->(%p)\n", This
, p
);
3689 static HRESULT WINAPI
HTMLStyle2_put_textAutospace(IHTMLStyle2
*iface
, BSTR v
)
3691 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3692 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
3696 static HRESULT WINAPI
HTMLStyle2_get_textAutospace(IHTMLStyle2
*iface
, BSTR
*p
)
3698 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3699 FIXME("(%p)->(%p)\n", This
, p
);
3703 static HRESULT WINAPI
HTMLStyle2_put_overflowX(IHTMLStyle2
*iface
, BSTR v
)
3705 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3707 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
3709 return set_style_property(&This
->css_style
, STYLEID_OVERFLOW_X
, v
);
3712 static HRESULT WINAPI
HTMLStyle2_get_overflowX(IHTMLStyle2
*iface
, BSTR
*p
)
3714 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3716 TRACE("(%p)->(%p)\n", This
, p
);
3718 return get_style_property(&This
->css_style
, STYLEID_OVERFLOW_X
, p
);
3721 static HRESULT WINAPI
HTMLStyle2_put_overflowY(IHTMLStyle2
*iface
, BSTR v
)
3723 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3725 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
3727 return set_style_property(&This
->css_style
, STYLEID_OVERFLOW_Y
, v
);
3730 static HRESULT WINAPI
HTMLStyle2_get_overflowY(IHTMLStyle2
*iface
, BSTR
*p
)
3732 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3734 TRACE("(%p)->(%p)\n", This
, p
);
3736 return get_style_property(&This
->css_style
, STYLEID_OVERFLOW_Y
, p
);
3739 static HRESULT WINAPI
HTMLStyle2_put_accelerator(IHTMLStyle2
*iface
, BSTR v
)
3741 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3742 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
3746 static HRESULT WINAPI
HTMLStyle2_get_accelerator(IHTMLStyle2
*iface
, BSTR
*p
)
3748 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3749 FIXME("(%p)->(%p)\n", This
, p
);
3753 static const IHTMLStyle2Vtbl HTMLStyle2Vtbl
= {
3754 HTMLStyle2_QueryInterface
,
3757 HTMLStyle2_GetTypeInfoCount
,
3758 HTMLStyle2_GetTypeInfo
,
3759 HTMLStyle2_GetIDsOfNames
,
3761 HTMLStyle2_put_tableLayout
,
3762 HTMLStyle2_get_tableLayout
,
3763 HTMLStyle2_put_borderCollapse
,
3764 HTMLStyle2_get_borderCollapse
,
3765 HTMLStyle2_put_direction
,
3766 HTMLStyle2_get_direction
,
3767 HTMLStyle2_put_behavior
,
3768 HTMLStyle2_get_behavior
,
3769 HTMLStyle2_setExpression
,
3770 HTMLStyle2_getExpression
,
3771 HTMLStyle2_removeExpression
,
3772 HTMLStyle2_put_position
,
3773 HTMLStyle2_get_position
,
3774 HTMLStyle2_put_unicodeBidi
,
3775 HTMLStyle2_get_unicodeBidi
,
3776 HTMLStyle2_put_bottom
,
3777 HTMLStyle2_get_bottom
,
3778 HTMLStyle2_put_right
,
3779 HTMLStyle2_get_right
,
3780 HTMLStyle2_put_pixelBottom
,
3781 HTMLStyle2_get_pixelBottom
,
3782 HTMLStyle2_put_pixelRight
,
3783 HTMLStyle2_get_pixelRight
,
3784 HTMLStyle2_put_posBottom
,
3785 HTMLStyle2_get_posBottom
,
3786 HTMLStyle2_put_posRight
,
3787 HTMLStyle2_get_posRight
,
3788 HTMLStyle2_put_imeMode
,
3789 HTMLStyle2_get_imeMode
,
3790 HTMLStyle2_put_rubyAlign
,
3791 HTMLStyle2_get_rubyAlign
,
3792 HTMLStyle2_put_rubyPosition
,
3793 HTMLStyle2_get_rubyPosition
,
3794 HTMLStyle2_put_rubyOverhang
,
3795 HTMLStyle2_get_rubyOverhang
,
3796 HTMLStyle2_put_layoutGridChar
,
3797 HTMLStyle2_get_layoutGridChar
,
3798 HTMLStyle2_put_layoutGridLine
,
3799 HTMLStyle2_get_layoutGridLine
,
3800 HTMLStyle2_put_layoutGridMode
,
3801 HTMLStyle2_get_layoutGridMode
,
3802 HTMLStyle2_put_layoutGridType
,
3803 HTMLStyle2_get_layoutGridType
,
3804 HTMLStyle2_put_layoutGrid
,
3805 HTMLStyle2_get_layoutGrid
,
3806 HTMLStyle2_put_wordBreak
,
3807 HTMLStyle2_get_wordBreak
,
3808 HTMLStyle2_put_lineBreak
,
3809 HTMLStyle2_get_lineBreak
,
3810 HTMLStyle2_put_textJustify
,
3811 HTMLStyle2_get_textJustify
,
3812 HTMLStyle2_put_textJustifyTrim
,
3813 HTMLStyle2_get_textJustifyTrim
,
3814 HTMLStyle2_put_textKashida
,
3815 HTMLStyle2_get_textKashida
,
3816 HTMLStyle2_put_textAutospace
,
3817 HTMLStyle2_get_textAutospace
,
3818 HTMLStyle2_put_overflowX
,
3819 HTMLStyle2_get_overflowX
,
3820 HTMLStyle2_put_overflowY
,
3821 HTMLStyle2_get_overflowY
,
3822 HTMLStyle2_put_accelerator
,
3823 HTMLStyle2_get_accelerator
3826 static inline HTMLStyle
*impl_from_IHTMLStyle3(IHTMLStyle3
*iface
)
3828 return CONTAINING_RECORD(iface
, HTMLStyle
, IHTMLStyle3_iface
);
3831 static HRESULT WINAPI
HTMLStyle3_QueryInterface(IHTMLStyle3
*iface
, REFIID riid
, void **ppv
)
3833 HTMLStyle
*This
= impl_from_IHTMLStyle3(iface
);
3835 return IHTMLStyle_QueryInterface(&This
->IHTMLStyle_iface
, riid
, ppv
);
3838 static ULONG WINAPI
HTMLStyle3_AddRef(IHTMLStyle3
*iface
)
3840 HTMLStyle
*This
= impl_from_IHTMLStyle3(iface
);
3842 return IHTMLStyle_AddRef(&This
->IHTMLStyle_iface
);
3845 static ULONG WINAPI
HTMLStyle3_Release(IHTMLStyle3
*iface
)
3847 HTMLStyle
*This
= impl_from_IHTMLStyle3(iface
);
3849 return IHTMLStyle_Release(&This
->IHTMLStyle_iface
);
3852 static HRESULT WINAPI
HTMLStyle3_GetTypeInfoCount(IHTMLStyle3
*iface
, UINT
*pctinfo
)
3854 HTMLStyle
*This
= impl_from_IHTMLStyle3(iface
);
3855 return IDispatchEx_GetTypeInfoCount(&This
->css_style
.dispex
.IDispatchEx_iface
, pctinfo
);
3858 static HRESULT WINAPI
HTMLStyle3_GetTypeInfo(IHTMLStyle3
*iface
, UINT iTInfo
,
3859 LCID lcid
, ITypeInfo
**ppTInfo
)
3861 HTMLStyle
*This
= impl_from_IHTMLStyle3(iface
);
3862 return IDispatchEx_GetTypeInfo(&This
->css_style
.dispex
.IDispatchEx_iface
, iTInfo
, lcid
, ppTInfo
);
3865 static HRESULT WINAPI
HTMLStyle3_GetIDsOfNames(IHTMLStyle3
*iface
, REFIID riid
,
3866 LPOLESTR
*rgszNames
, UINT cNames
,
3867 LCID lcid
, DISPID
*rgDispId
)
3869 HTMLStyle
*This
= impl_from_IHTMLStyle3(iface
);
3870 return IDispatchEx_GetIDsOfNames(&This
->css_style
.dispex
.IDispatchEx_iface
, riid
, rgszNames
, cNames
,
3874 static HRESULT WINAPI
HTMLStyle3_Invoke(IHTMLStyle3
*iface
, DISPID dispIdMember
,
3875 REFIID riid
, LCID lcid
, WORD wFlags
, DISPPARAMS
*pDispParams
,
3876 VARIANT
*pVarResult
, EXCEPINFO
*pExcepInfo
, UINT
*puArgErr
)
3878 HTMLStyle
*This
= impl_from_IHTMLStyle3(iface
);
3879 return IDispatchEx_Invoke(&This
->css_style
.dispex
.IDispatchEx_iface
, dispIdMember
, riid
, lcid
,
3880 wFlags
, pDispParams
, pVarResult
, pExcepInfo
, puArgErr
);
3883 static HRESULT WINAPI
HTMLStyle3_put_layoutFlow(IHTMLStyle3
*iface
, BSTR v
)
3885 HTMLStyle
*This
= impl_from_IHTMLStyle3(iface
);
3886 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
3890 static HRESULT WINAPI
HTMLStyle3_get_layoutFlow(IHTMLStyle3
*iface
, BSTR
*p
)
3892 HTMLStyle
*This
= impl_from_IHTMLStyle3(iface
);
3893 FIXME("(%p)->(%p)\n", This
, p
);
3897 static HRESULT WINAPI
HTMLStyle3_put_zoom(IHTMLStyle3
*iface
, VARIANT v
)
3899 HTMLStyle
*This
= impl_from_IHTMLStyle3(iface
);
3901 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
3903 return IHTMLCSSStyleDeclaration_put_zoom(&This
->css_style
.IHTMLCSSStyleDeclaration_iface
, v
);
3906 static HRESULT WINAPI
HTMLStyle3_get_zoom(IHTMLStyle3
*iface
, VARIANT
*p
)
3908 HTMLStyle
*This
= impl_from_IHTMLStyle3(iface
);
3910 TRACE("(%p)->(%p)\n", This
, p
);
3912 return IHTMLCSSStyleDeclaration_get_zoom(&This
->css_style
.IHTMLCSSStyleDeclaration_iface
, p
);
3915 static HRESULT WINAPI
HTMLStyle3_put_wordWrap(IHTMLStyle3
*iface
, BSTR v
)
3917 HTMLStyle
*This
= impl_from_IHTMLStyle3(iface
);
3919 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
3921 return set_style_property(&This
->css_style
, STYLEID_WORD_WRAP
, v
);
3924 static HRESULT WINAPI
HTMLStyle3_get_wordWrap(IHTMLStyle3
*iface
, BSTR
*p
)
3926 HTMLStyle
*This
= impl_from_IHTMLStyle3(iface
);
3928 TRACE("(%p)->(%p)\n", This
, p
);
3930 return get_style_property(&This
->css_style
, STYLEID_WORD_WRAP
, p
);
3933 static HRESULT WINAPI
HTMLStyle3_put_textUnderlinePosition(IHTMLStyle3
*iface
, BSTR v
)
3935 HTMLStyle
*This
= impl_from_IHTMLStyle3(iface
);
3936 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
3940 static HRESULT WINAPI
HTMLStyle3_get_textUnderlinePosition(IHTMLStyle3
*iface
, BSTR
*p
)
3942 HTMLStyle
*This
= impl_from_IHTMLStyle3(iface
);
3943 FIXME("(%p)->(%p)\n", This
, p
);
3947 static HRESULT WINAPI
HTMLStyle3_put_scrollbarBaseColor(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_scrollbarBaseColor(IHTMLStyle3
*iface
, VARIANT
*p
)
3956 HTMLStyle
*This
= impl_from_IHTMLStyle3(iface
);
3957 FIXME("(%p)->(%p)\n", This
, p
);
3961 static HRESULT WINAPI
HTMLStyle3_put_scrollbarFaceColor(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_scrollbarFaceColor(IHTMLStyle3
*iface
, VARIANT
*p
)
3970 HTMLStyle
*This
= impl_from_IHTMLStyle3(iface
);
3971 FIXME("(%p)->(%p)\n", This
, p
);
3975 static HRESULT WINAPI
HTMLStyle3_put_scrollbar3dLightColor(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_scrollbar3dLightColor(IHTMLStyle3
*iface
, VARIANT
*p
)
3984 HTMLStyle
*This
= impl_from_IHTMLStyle3(iface
);
3985 FIXME("(%p)->(%p)\n", This
, p
);
3989 static HRESULT WINAPI
HTMLStyle3_put_scrollbarShadowColor(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_scrollbarShadowColor(IHTMLStyle3
*iface
, VARIANT
*p
)
3998 HTMLStyle
*This
= impl_from_IHTMLStyle3(iface
);
3999 FIXME("(%p)->(%p)\n", This
, p
);
4003 static HRESULT WINAPI
HTMLStyle3_put_scrollbarHighlightColor(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_scrollbarHighlightColor(IHTMLStyle3
*iface
, VARIANT
*p
)
4012 HTMLStyle
*This
= impl_from_IHTMLStyle3(iface
);
4013 FIXME("(%p)->(%p)\n", This
, p
);
4017 static HRESULT WINAPI
HTMLStyle3_put_scrollbarDarkShadowColor(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_scrollbarDarkShadowColor(IHTMLStyle3
*iface
, VARIANT
*p
)
4026 HTMLStyle
*This
= impl_from_IHTMLStyle3(iface
);
4027 FIXME("(%p)->(%p)\n", This
, p
);
4031 static HRESULT WINAPI
HTMLStyle3_put_scrollbarArrowColor(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_scrollbarArrowColor(IHTMLStyle3
*iface
, VARIANT
*p
)
4040 HTMLStyle
*This
= impl_from_IHTMLStyle3(iface
);
4041 FIXME("(%p)->(%p)\n", This
, p
);
4045 static HRESULT WINAPI
HTMLStyle3_put_scrollbarTrackColor(IHTMLStyle3
*iface
, VARIANT v
)
4047 HTMLStyle
*This
= impl_from_IHTMLStyle3(iface
);
4048 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
4052 static HRESULT WINAPI
HTMLStyle3_get_scrollbarTrackColor(IHTMLStyle3
*iface
, VARIANT
*p
)
4054 HTMLStyle
*This
= impl_from_IHTMLStyle3(iface
);
4055 FIXME("(%p)->(%p)\n", This
, p
);
4059 static HRESULT WINAPI
HTMLStyle3_put_writingMode(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_writingMode(IHTMLStyle3
*iface
, BSTR
*p
)
4068 HTMLStyle
*This
= impl_from_IHTMLStyle3(iface
);
4069 FIXME("(%p)->(%p)\n", This
, p
);
4073 static HRESULT WINAPI
HTMLStyle3_put_textAlignLast(IHTMLStyle3
*iface
, BSTR v
)
4075 HTMLStyle
*This
= impl_from_IHTMLStyle3(iface
);
4076 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
4080 static HRESULT WINAPI
HTMLStyle3_get_textAlignLast(IHTMLStyle3
*iface
, BSTR
*p
)
4082 HTMLStyle
*This
= impl_from_IHTMLStyle3(iface
);
4083 FIXME("(%p)->(%p)\n", This
, p
);
4087 static HRESULT WINAPI
HTMLStyle3_put_textKashidaSpace(IHTMLStyle3
*iface
, VARIANT v
)
4089 HTMLStyle
*This
= impl_from_IHTMLStyle3(iface
);
4090 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
4094 static HRESULT WINAPI
HTMLStyle3_get_textKashidaSpace(IHTMLStyle3
*iface
, VARIANT
*p
)
4096 HTMLStyle
*This
= impl_from_IHTMLStyle3(iface
);
4097 FIXME("(%p)->(%p)\n", This
, p
);
4101 static const IHTMLStyle3Vtbl HTMLStyle3Vtbl
= {
4102 HTMLStyle3_QueryInterface
,
4105 HTMLStyle3_GetTypeInfoCount
,
4106 HTMLStyle3_GetTypeInfo
,
4107 HTMLStyle3_GetIDsOfNames
,
4109 HTMLStyle3_put_layoutFlow
,
4110 HTMLStyle3_get_layoutFlow
,
4111 HTMLStyle3_put_zoom
,
4112 HTMLStyle3_get_zoom
,
4113 HTMLStyle3_put_wordWrap
,
4114 HTMLStyle3_get_wordWrap
,
4115 HTMLStyle3_put_textUnderlinePosition
,
4116 HTMLStyle3_get_textUnderlinePosition
,
4117 HTMLStyle3_put_scrollbarBaseColor
,
4118 HTMLStyle3_get_scrollbarBaseColor
,
4119 HTMLStyle3_put_scrollbarFaceColor
,
4120 HTMLStyle3_get_scrollbarFaceColor
,
4121 HTMLStyle3_put_scrollbar3dLightColor
,
4122 HTMLStyle3_get_scrollbar3dLightColor
,
4123 HTMLStyle3_put_scrollbarShadowColor
,
4124 HTMLStyle3_get_scrollbarShadowColor
,
4125 HTMLStyle3_put_scrollbarHighlightColor
,
4126 HTMLStyle3_get_scrollbarHighlightColor
,
4127 HTMLStyle3_put_scrollbarDarkShadowColor
,
4128 HTMLStyle3_get_scrollbarDarkShadowColor
,
4129 HTMLStyle3_put_scrollbarArrowColor
,
4130 HTMLStyle3_get_scrollbarArrowColor
,
4131 HTMLStyle3_put_scrollbarTrackColor
,
4132 HTMLStyle3_get_scrollbarTrackColor
,
4133 HTMLStyle3_put_writingMode
,
4134 HTMLStyle3_get_writingMode
,
4135 HTMLStyle3_put_textAlignLast
,
4136 HTMLStyle3_get_textAlignLast
,
4137 HTMLStyle3_put_textKashidaSpace
,
4138 HTMLStyle3_get_textKashidaSpace
4142 * IHTMLStyle4 Interface
4144 static inline HTMLStyle
*impl_from_IHTMLStyle4(IHTMLStyle4
*iface
)
4146 return CONTAINING_RECORD(iface
, HTMLStyle
, IHTMLStyle4_iface
);
4149 static HRESULT WINAPI
HTMLStyle4_QueryInterface(IHTMLStyle4
*iface
, REFIID riid
, void **ppv
)
4151 HTMLStyle
*This
= impl_from_IHTMLStyle4(iface
);
4153 return IHTMLStyle_QueryInterface(&This
->IHTMLStyle_iface
, riid
, ppv
);
4156 static ULONG WINAPI
HTMLStyle4_AddRef(IHTMLStyle4
*iface
)
4158 HTMLStyle
*This
= impl_from_IHTMLStyle4(iface
);
4160 return IHTMLStyle_AddRef(&This
->IHTMLStyle_iface
);
4163 static ULONG WINAPI
HTMLStyle4_Release(IHTMLStyle4
*iface
)
4165 HTMLStyle
*This
= impl_from_IHTMLStyle4(iface
);
4167 return IHTMLStyle_Release(&This
->IHTMLStyle_iface
);
4170 static HRESULT WINAPI
HTMLStyle4_GetTypeInfoCount(IHTMLStyle4
*iface
, UINT
*pctinfo
)
4172 HTMLStyle
*This
= impl_from_IHTMLStyle4(iface
);
4173 return IDispatchEx_GetTypeInfoCount(&This
->css_style
.dispex
.IDispatchEx_iface
, pctinfo
);
4176 static HRESULT WINAPI
HTMLStyle4_GetTypeInfo(IHTMLStyle4
*iface
, UINT iTInfo
,
4177 LCID lcid
, ITypeInfo
**ppTInfo
)
4179 HTMLStyle
*This
= impl_from_IHTMLStyle4(iface
);
4180 return IDispatchEx_GetTypeInfo(&This
->css_style
.dispex
.IDispatchEx_iface
, iTInfo
, lcid
, ppTInfo
);
4183 static HRESULT WINAPI
HTMLStyle4_GetIDsOfNames(IHTMLStyle4
*iface
, REFIID riid
,
4184 LPOLESTR
*rgszNames
, UINT cNames
,
4185 LCID lcid
, DISPID
*rgDispId
)
4187 HTMLStyle
*This
= impl_from_IHTMLStyle4(iface
);
4188 return IDispatchEx_GetIDsOfNames(&This
->css_style
.dispex
.IDispatchEx_iface
, riid
, rgszNames
, cNames
,
4192 static HRESULT WINAPI
HTMLStyle4_Invoke(IHTMLStyle4
*iface
, DISPID dispIdMember
,
4193 REFIID riid
, LCID lcid
, WORD wFlags
, DISPPARAMS
*pDispParams
,
4194 VARIANT
*pVarResult
, EXCEPINFO
*pExcepInfo
, UINT
*puArgErr
)
4196 HTMLStyle
*This
= impl_from_IHTMLStyle4(iface
);
4197 return IDispatchEx_Invoke(&This
->css_style
.dispex
.IDispatchEx_iface
, dispIdMember
, riid
, lcid
,
4198 wFlags
, pDispParams
, pVarResult
, pExcepInfo
, puArgErr
);
4201 static HRESULT WINAPI
HTMLStyle4_put_textOverflow(IHTMLStyle4
*iface
, BSTR v
)
4203 HTMLStyle
*This
= impl_from_IHTMLStyle4(iface
);
4204 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
4208 static HRESULT WINAPI
HTMLStyle4_get_textOverflow(IHTMLStyle4
*iface
, BSTR
*p
)
4210 HTMLStyle
*This
= impl_from_IHTMLStyle4(iface
);
4211 FIXME("(%p)->(%p)\n", This
, p
);
4215 static HRESULT WINAPI
HTMLStyle4_put_minHeight(IHTMLStyle4
*iface
, VARIANT v
)
4217 HTMLStyle
*This
= impl_from_IHTMLStyle4(iface
);
4219 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
4221 return set_style_property_var(&This
->css_style
, STYLEID_MIN_HEIGHT
, &v
);
4224 static HRESULT WINAPI
HTMLStyle4_get_minHeight(IHTMLStyle4
*iface
, VARIANT
*p
)
4226 HTMLStyle
*This
= impl_from_IHTMLStyle4(iface
);
4228 TRACE("(%p)->(%p)\n", This
, p
);
4230 return get_style_property_var(&This
->css_style
, STYLEID_MIN_HEIGHT
, p
);
4233 static const IHTMLStyle4Vtbl HTMLStyle4Vtbl
= {
4234 HTMLStyle4_QueryInterface
,
4237 HTMLStyle4_GetTypeInfoCount
,
4238 HTMLStyle4_GetTypeInfo
,
4239 HTMLStyle4_GetIDsOfNames
,
4241 HTMLStyle4_put_textOverflow
,
4242 HTMLStyle4_get_textOverflow
,
4243 HTMLStyle4_put_minHeight
,
4244 HTMLStyle4_get_minHeight
4247 static inline HTMLStyle
*impl_from_IHTMLStyle5(IHTMLStyle5
*iface
)
4249 return CONTAINING_RECORD(iface
, HTMLStyle
, IHTMLStyle5_iface
);
4252 static HRESULT WINAPI
HTMLStyle5_QueryInterface(IHTMLStyle5
*iface
, REFIID riid
, void **ppv
)
4254 HTMLStyle
*This
= impl_from_IHTMLStyle5(iface
);
4256 return IHTMLStyle_QueryInterface(&This
->IHTMLStyle_iface
, riid
, ppv
);
4259 static ULONG WINAPI
HTMLStyle5_AddRef(IHTMLStyle5
*iface
)
4261 HTMLStyle
*This
= impl_from_IHTMLStyle5(iface
);
4263 return IHTMLStyle_AddRef(&This
->IHTMLStyle_iface
);
4266 static ULONG WINAPI
HTMLStyle5_Release(IHTMLStyle5
*iface
)
4268 HTMLStyle
*This
= impl_from_IHTMLStyle5(iface
);
4270 return IHTMLStyle_Release(&This
->IHTMLStyle_iface
);
4273 static HRESULT WINAPI
HTMLStyle5_GetTypeInfoCount(IHTMLStyle5
*iface
, UINT
*pctinfo
)
4275 HTMLStyle
*This
= impl_from_IHTMLStyle5(iface
);
4276 return IDispatchEx_GetTypeInfoCount(&This
->css_style
.dispex
.IDispatchEx_iface
, pctinfo
);
4279 static HRESULT WINAPI
HTMLStyle5_GetTypeInfo(IHTMLStyle5
*iface
, UINT iTInfo
,
4280 LCID lcid
, ITypeInfo
**ppTInfo
)
4282 HTMLStyle
*This
= impl_from_IHTMLStyle5(iface
);
4283 return IDispatchEx_GetTypeInfo(&This
->css_style
.dispex
.IDispatchEx_iface
, iTInfo
, lcid
, ppTInfo
);
4286 static HRESULT WINAPI
HTMLStyle5_GetIDsOfNames(IHTMLStyle5
*iface
, REFIID riid
,
4287 LPOLESTR
*rgszNames
, UINT cNames
, LCID lcid
, DISPID
*rgDispId
)
4289 HTMLStyle
*This
= impl_from_IHTMLStyle5(iface
);
4290 return IDispatchEx_GetIDsOfNames(&This
->css_style
.dispex
.IDispatchEx_iface
, riid
, rgszNames
, cNames
,
4294 static HRESULT WINAPI
HTMLStyle5_Invoke(IHTMLStyle5
*iface
, DISPID dispIdMember
,
4295 REFIID riid
, LCID lcid
, WORD wFlags
, DISPPARAMS
*pDispParams
,
4296 VARIANT
*pVarResult
, EXCEPINFO
*pExcepInfo
, UINT
*puArgErr
)
4298 HTMLStyle
*This
= impl_from_IHTMLStyle5(iface
);
4299 return IDispatchEx_Invoke(&This
->css_style
.dispex
.IDispatchEx_iface
, dispIdMember
, riid
, lcid
,
4300 wFlags
, pDispParams
, pVarResult
, pExcepInfo
, puArgErr
);
4303 static HRESULT WINAPI
HTMLStyle5_put_msInterpolationMode(IHTMLStyle5
*iface
, BSTR v
)
4305 HTMLStyle
*This
= impl_from_IHTMLStyle5(iface
);
4306 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
4310 static HRESULT WINAPI
HTMLStyle5_get_msInterpolationMode(IHTMLStyle5
*iface
, BSTR
*p
)
4312 HTMLStyle
*This
= impl_from_IHTMLStyle5(iface
);
4313 FIXME("(%p)->(%p)\n", This
, p
);
4317 static HRESULT WINAPI
HTMLStyle5_put_maxHeight(IHTMLStyle5
*iface
, VARIANT v
)
4319 HTMLStyle
*This
= impl_from_IHTMLStyle5(iface
);
4321 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
4323 return set_style_property_var(&This
->css_style
, STYLEID_MAX_HEIGHT
, &v
);
4326 static HRESULT WINAPI
HTMLStyle5_get_maxHeight(IHTMLStyle5
*iface
, VARIANT
*p
)
4328 HTMLStyle
*This
= impl_from_IHTMLStyle5(iface
);
4330 TRACE("(%p)->(%s)\n", This
, debugstr_variant(p
));
4332 return get_style_property_var(&This
->css_style
, STYLEID_MAX_HEIGHT
, p
);
4335 static HRESULT WINAPI
HTMLStyle5_put_minWidth(IHTMLStyle5
*iface
, VARIANT v
)
4337 HTMLStyle
*This
= impl_from_IHTMLStyle5(iface
);
4339 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
4341 return set_style_property_var(&This
->css_style
, STYLEID_MIN_WIDTH
, &v
);
4344 static HRESULT WINAPI
HTMLStyle5_get_minWidth(IHTMLStyle5
*iface
, VARIANT
*p
)
4346 HTMLStyle
*This
= impl_from_IHTMLStyle5(iface
);
4348 TRACE("(%p)->(%p)\n", This
, p
);
4350 return get_style_property_var(&This
->css_style
, STYLEID_MIN_WIDTH
, p
);
4353 static HRESULT WINAPI
HTMLStyle5_put_maxWidth(IHTMLStyle5
*iface
, VARIANT v
)
4355 HTMLStyle
*This
= impl_from_IHTMLStyle5(iface
);
4357 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
4359 return set_style_property_var(&This
->css_style
, STYLEID_MAX_WIDTH
, &v
);
4362 static HRESULT WINAPI
HTMLStyle5_get_maxWidth(IHTMLStyle5
*iface
, VARIANT
*p
)
4364 HTMLStyle
*This
= impl_from_IHTMLStyle5(iface
);
4366 TRACE("(%p)->(%p)\n", This
, p
);
4368 return get_style_property_var(&This
->css_style
, STYLEID_MAX_WIDTH
, p
);
4371 static const IHTMLStyle5Vtbl HTMLStyle5Vtbl
= {
4372 HTMLStyle5_QueryInterface
,
4375 HTMLStyle5_GetTypeInfoCount
,
4376 HTMLStyle5_GetTypeInfo
,
4377 HTMLStyle5_GetIDsOfNames
,
4379 HTMLStyle5_put_msInterpolationMode
,
4380 HTMLStyle5_get_msInterpolationMode
,
4381 HTMLStyle5_put_maxHeight
,
4382 HTMLStyle5_get_maxHeight
,
4383 HTMLStyle5_put_minWidth
,
4384 HTMLStyle5_get_minWidth
,
4385 HTMLStyle5_put_maxWidth
,
4386 HTMLStyle5_get_maxWidth
4389 static inline HTMLStyle
*impl_from_IHTMLStyle6(IHTMLStyle6
*iface
)
4391 return CONTAINING_RECORD(iface
, HTMLStyle
, IHTMLStyle6_iface
);
4394 static HRESULT WINAPI
HTMLStyle6_QueryInterface(IHTMLStyle6
*iface
, REFIID riid
, void **ppv
)
4396 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4398 return IHTMLStyle_QueryInterface(&This
->IHTMLStyle_iface
, riid
, ppv
);
4401 static ULONG WINAPI
HTMLStyle6_AddRef(IHTMLStyle6
*iface
)
4403 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4405 return IHTMLStyle_AddRef(&This
->IHTMLStyle_iface
);
4408 static ULONG WINAPI
HTMLStyle6_Release(IHTMLStyle6
*iface
)
4410 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4412 return IHTMLStyle_Release(&This
->IHTMLStyle_iface
);
4415 static HRESULT WINAPI
HTMLStyle6_GetTypeInfoCount(IHTMLStyle6
*iface
, UINT
*pctinfo
)
4417 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4418 return IDispatchEx_GetTypeInfoCount(&This
->css_style
.dispex
.IDispatchEx_iface
, pctinfo
);
4421 static HRESULT WINAPI
HTMLStyle6_GetTypeInfo(IHTMLStyle6
*iface
, UINT iTInfo
,
4422 LCID lcid
, ITypeInfo
**ppTInfo
)
4424 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4425 return IDispatchEx_GetTypeInfo(&This
->css_style
.dispex
.IDispatchEx_iface
, iTInfo
, lcid
, ppTInfo
);
4428 static HRESULT WINAPI
HTMLStyle6_GetIDsOfNames(IHTMLStyle6
*iface
, REFIID riid
,
4429 LPOLESTR
*rgszNames
, UINT cNames
, LCID lcid
, DISPID
*rgDispId
)
4431 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4432 return IDispatchEx_GetIDsOfNames(&This
->css_style
.dispex
.IDispatchEx_iface
, riid
, rgszNames
, cNames
,
4436 static HRESULT WINAPI
HTMLStyle6_Invoke(IHTMLStyle6
*iface
, DISPID dispIdMember
,
4437 REFIID riid
, LCID lcid
, WORD wFlags
, DISPPARAMS
*pDispParams
,
4438 VARIANT
*pVarResult
, EXCEPINFO
*pExcepInfo
, UINT
*puArgErr
)
4440 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4441 return IDispatchEx_Invoke(&This
->css_style
.dispex
.IDispatchEx_iface
, dispIdMember
, riid
, lcid
,
4442 wFlags
, pDispParams
, pVarResult
, pExcepInfo
, puArgErr
);
4445 static HRESULT WINAPI
HTMLStyle6_put_content(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_content(IHTMLStyle6
*iface
, BSTR
*p
)
4454 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4455 FIXME("(%p)->(%p)\n", This
, p
);
4459 static HRESULT WINAPI
HTMLStyle6_put_contentSide(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_contentSide(IHTMLStyle6
*iface
, BSTR
*p
)
4468 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4469 FIXME("(%p)->(%p)\n", This
, p
);
4473 static HRESULT WINAPI
HTMLStyle6_put_counterIncrement(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_counterIncrement(IHTMLStyle6
*iface
, BSTR
*p
)
4482 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4483 FIXME("(%p)->(%p)\n", This
, p
);
4487 static HRESULT WINAPI
HTMLStyle6_put_counterReset(IHTMLStyle6
*iface
, BSTR v
)
4489 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4490 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
4494 static HRESULT WINAPI
HTMLStyle6_get_counterReset(IHTMLStyle6
*iface
, BSTR
*p
)
4496 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4497 FIXME("(%p)->(%p)\n", This
, p
);
4501 static HRESULT WINAPI
HTMLStyle6_put_outline(IHTMLStyle6
*iface
, BSTR v
)
4503 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4505 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
4507 return set_style_property(&This
->css_style
, STYLEID_OUTLINE
, v
);
4510 static HRESULT WINAPI
HTMLStyle6_get_outline(IHTMLStyle6
*iface
, BSTR
*p
)
4512 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4514 TRACE("(%p)->(%p)\n", This
, p
);
4516 return get_style_property(&This
->css_style
, STYLEID_OUTLINE
, p
);
4519 static HRESULT WINAPI
HTMLStyle6_put_outlineWidth(IHTMLStyle6
*iface
, VARIANT v
)
4521 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4522 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
4526 static HRESULT WINAPI
HTMLStyle6_get_outlineWidth(IHTMLStyle6
*iface
, VARIANT
*p
)
4528 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4529 FIXME("(%p)->(%p)\n", This
, p
);
4533 static HRESULT WINAPI
HTMLStyle6_put_outlineStyle(IHTMLStyle6
*iface
, BSTR v
)
4535 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4536 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
4540 static HRESULT WINAPI
HTMLStyle6_get_outlineStyle(IHTMLStyle6
*iface
, BSTR
*p
)
4542 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4543 FIXME("(%p)->(%p)\n", This
, p
);
4547 static HRESULT WINAPI
HTMLStyle6_put_outlineColor(IHTMLStyle6
*iface
, VARIANT v
)
4549 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4550 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
4554 static HRESULT WINAPI
HTMLStyle6_get_outlineColor(IHTMLStyle6
*iface
, VARIANT
*p
)
4556 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4557 FIXME("(%p)->(%p)\n", This
, p
);
4561 static HRESULT WINAPI
HTMLStyle6_put_boxSizing(IHTMLStyle6
*iface
, BSTR v
)
4563 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4565 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
4567 return set_style_property(&This
->css_style
, STYLEID_BOX_SIZING
, v
);
4570 static HRESULT WINAPI
HTMLStyle6_get_boxSizing(IHTMLStyle6
*iface
, BSTR
*p
)
4572 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4574 TRACE("(%p)->(%p)\n", This
, p
);
4576 return get_style_property(&This
->css_style
, STYLEID_BOX_SIZING
, p
);
4579 static HRESULT WINAPI
HTMLStyle6_put_borderSpacing(IHTMLStyle6
*iface
, BSTR v
)
4581 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4583 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
4585 return set_style_property(&This
->css_style
, STYLEID_BORDER_SPACING
, v
);
4588 static HRESULT WINAPI
HTMLStyle6_get_borderSpacing(IHTMLStyle6
*iface
, BSTR
*p
)
4590 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4592 TRACE("(%p)->(%p)\n", This
, p
);
4594 return get_style_property(&This
->css_style
, STYLEID_BORDER_SPACING
, p
);
4597 static HRESULT WINAPI
HTMLStyle6_put_orphans(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_orphans(IHTMLStyle6
*iface
, VARIANT
*p
)
4606 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4607 FIXME("(%p)->(%p)\n", This
, p
);
4611 static HRESULT WINAPI
HTMLStyle6_put_windows(IHTMLStyle6
*iface
, VARIANT v
)
4613 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4614 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
4618 static HRESULT WINAPI
HTMLStyle6_get_windows(IHTMLStyle6
*iface
, VARIANT
*p
)
4620 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4621 FIXME("(%p)->(%p)\n", This
, p
);
4625 static HRESULT WINAPI
HTMLStyle6_put_pageBreakInside(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_pageBreakInside(IHTMLStyle6
*iface
, BSTR
*p
)
4634 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4635 FIXME("(%p)->(%p)\n", This
, p
);
4639 static HRESULT WINAPI
HTMLStyle6_put_emptyCells(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_emptyCells(IHTMLStyle6
*iface
, BSTR
*p
)
4648 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4649 FIXME("(%p)->(%p)\n", This
, p
);
4653 static HRESULT WINAPI
HTMLStyle6_put_msBlockProgression(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_msBlockProgression(IHTMLStyle6
*iface
, BSTR
*p
)
4662 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4663 FIXME("(%p)->(%p)\n", This
, p
);
4667 static HRESULT WINAPI
HTMLStyle6_put_quotes(IHTMLStyle6
*iface
, BSTR v
)
4669 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4670 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
4674 static HRESULT WINAPI
HTMLStyle6_get_quotes(IHTMLStyle6
*iface
, BSTR
*p
)
4676 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4677 FIXME("(%p)->(%p)\n", This
, p
);
4681 static const IHTMLStyle6Vtbl HTMLStyle6Vtbl
= {
4682 HTMLStyle6_QueryInterface
,
4685 HTMLStyle6_GetTypeInfoCount
,
4686 HTMLStyle6_GetTypeInfo
,
4687 HTMLStyle6_GetIDsOfNames
,
4689 HTMLStyle6_put_content
,
4690 HTMLStyle6_get_content
,
4691 HTMLStyle6_put_contentSide
,
4692 HTMLStyle6_get_contentSide
,
4693 HTMLStyle6_put_counterIncrement
,
4694 HTMLStyle6_get_counterIncrement
,
4695 HTMLStyle6_put_counterReset
,
4696 HTMLStyle6_get_counterReset
,
4697 HTMLStyle6_put_outline
,
4698 HTMLStyle6_get_outline
,
4699 HTMLStyle6_put_outlineWidth
,
4700 HTMLStyle6_get_outlineWidth
,
4701 HTMLStyle6_put_outlineStyle
,
4702 HTMLStyle6_get_outlineStyle
,
4703 HTMLStyle6_put_outlineColor
,
4704 HTMLStyle6_get_outlineColor
,
4705 HTMLStyle6_put_boxSizing
,
4706 HTMLStyle6_get_boxSizing
,
4707 HTMLStyle6_put_borderSpacing
,
4708 HTMLStyle6_get_borderSpacing
,
4709 HTMLStyle6_put_orphans
,
4710 HTMLStyle6_get_orphans
,
4711 HTMLStyle6_put_windows
,
4712 HTMLStyle6_get_windows
,
4713 HTMLStyle6_put_pageBreakInside
,
4714 HTMLStyle6_get_pageBreakInside
,
4715 HTMLStyle6_put_emptyCells
,
4716 HTMLStyle6_get_emptyCells
,
4717 HTMLStyle6_put_msBlockProgression
,
4718 HTMLStyle6_get_msBlockProgression
,
4719 HTMLStyle6_put_quotes
,
4720 HTMLStyle6_get_quotes
4723 static inline CSSStyle
*impl_from_IHTMLCSSStyleDeclaration(IHTMLCSSStyleDeclaration
*iface
)
4725 return CONTAINING_RECORD(iface
, CSSStyle
, IHTMLCSSStyleDeclaration_iface
);
4728 static HRESULT WINAPI
HTMLCSSStyleDeclaration_QueryInterface(IHTMLCSSStyleDeclaration
*iface
,
4729 REFIID riid
, void **ppv
)
4731 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
4733 TRACE("(%p)->(%s %p)\n", This
, debugstr_mshtml_guid(riid
), ppv
);
4735 if(IsEqualGUID(&IID_IUnknown
, riid
)) {
4736 *ppv
= &This
->IHTMLCSSStyleDeclaration_iface
;
4737 }else if(IsEqualGUID(&IID_IHTMLCSSStyleDeclaration
, riid
)) {
4738 *ppv
= &This
->IHTMLCSSStyleDeclaration_iface
;
4739 }else if(IsEqualGUID(&IID_IHTMLCSSStyleDeclaration2
, riid
)) {
4740 *ppv
= &This
->IHTMLCSSStyleDeclaration2_iface
;
4741 }else if(dispex_query_interface(&This
->dispex
, riid
, ppv
)) {
4742 return *ppv
? S_OK
: E_NOINTERFACE
;
4743 }else if(!This
->qi
|| !(*ppv
= This
->qi(This
, riid
))) {
4745 WARN("unsupported iface %s\n", debugstr_mshtml_guid(riid
));
4746 return E_NOINTERFACE
;
4749 IUnknown_AddRef((IUnknown
*)*ppv
);
4753 static ULONG WINAPI
HTMLCSSStyleDeclaration_AddRef(IHTMLCSSStyleDeclaration
*iface
)
4755 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
4756 LONG ref
= InterlockedIncrement(&This
->ref
);
4758 TRACE("(%p) ref=%d\n", This
, ref
);
4763 static ULONG WINAPI
HTMLCSSStyleDeclaration_Release(IHTMLCSSStyleDeclaration
*iface
)
4765 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
4766 LONG ref
= InterlockedDecrement(&This
->ref
);
4768 TRACE("(%p) ref=%d\n", This
, ref
);
4772 nsIDOMCSSStyleDeclaration_Release(This
->nsstyle
);
4773 release_dispex(&This
->dispex
);
4780 static HRESULT WINAPI
HTMLCSSStyleDeclaration_GetTypeInfoCount(IHTMLCSSStyleDeclaration
*iface
,
4783 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
4784 TRACE("(%p)->(%p)\n", This
, pctinfo
);
4785 return IDispatchEx_GetTypeInfoCount(&This
->dispex
.IDispatchEx_iface
, pctinfo
);
4788 static HRESULT WINAPI
HTMLCSSStyleDeclaration_GetTypeInfo(IHTMLCSSStyleDeclaration
*iface
,
4789 UINT iTInfo
, LCID lcid
, ITypeInfo
**ppTInfo
)
4791 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
4792 TRACE("(%p)->(%u %u %p)\n", This
, iTInfo
, lcid
, ppTInfo
);
4793 return IDispatchEx_GetTypeInfo(&This
->dispex
.IDispatchEx_iface
, iTInfo
, lcid
, ppTInfo
);
4796 static HRESULT WINAPI
HTMLCSSStyleDeclaration_GetIDsOfNames(IHTMLCSSStyleDeclaration
*iface
,
4797 REFIID riid
, LPOLESTR
*rgszNames
, UINT cNames
, LCID lcid
, DISPID
*rgDispId
)
4799 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
4800 TRACE("(%p)->(%p %p %u %u %p)\n", This
, riid
, rgszNames
, cNames
, lcid
, rgDispId
);
4801 return IDispatchEx_GetIDsOfNames(&This
->dispex
.IDispatchEx_iface
, riid
, rgszNames
,
4802 cNames
, lcid
, rgDispId
);
4805 static HRESULT WINAPI
HTMLCSSStyleDeclaration_Invoke(IHTMLCSSStyleDeclaration
*iface
,
4806 DISPID dispIdMember
, REFIID riid
, LCID lcid
, WORD wFlags
, DISPPARAMS
*pDispParams
,
4807 VARIANT
*pVarResult
, EXCEPINFO
*pExcepInfo
, UINT
*puArgErr
)
4809 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
4810 TRACE("(%p)->(%d %p %u %u %p %p %p %p)\n", This
, dispIdMember
, riid
, lcid
, wFlags
,
4811 pDispParams
, pVarResult
, pExcepInfo
, puArgErr
);
4812 return IDispatchEx_Invoke(&This
->dispex
.IDispatchEx_iface
, dispIdMember
, riid
, lcid
,
4813 wFlags
, pDispParams
, pVarResult
, pExcepInfo
, puArgErr
);
4816 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_length(IHTMLCSSStyleDeclaration
*iface
, LONG
*p
)
4818 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
4819 FIXME("(%p)->(%p)\n", This
, p
);
4823 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_parentRule(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
4825 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
4826 FIXME("(%p)->(%p)\n", This
, p
);
4830 static HRESULT WINAPI
HTMLCSSStyleDeclaration_getPropertyValue(IHTMLCSSStyleDeclaration
*iface
, BSTR name
, BSTR
*value
)
4832 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
4833 const style_tbl_entry_t
*style_entry
;
4834 nsAString name_str
, value_str
;
4837 TRACE("(%p)->(%s %p)\n", This
, debugstr_w(name
), value
);
4839 style_entry
= lookup_style_tbl(This
, name
);
4840 nsAString_InitDepend(&name_str
, style_entry
? style_entry
->name
: name
);
4841 nsAString_InitDepend(&value_str
, NULL
);
4842 nsres
= nsIDOMCSSStyleDeclaration_GetPropertyValue(This
->nsstyle
, &name_str
, &value_str
);
4843 nsAString_Finish(&name_str
);
4844 return return_nsstr(nsres
, &value_str
, value
);
4847 static HRESULT WINAPI
HTMLCSSStyleDeclaration_getPropertyPriority(IHTMLCSSStyleDeclaration
*iface
, BSTR bstrPropertyName
, BSTR
*pbstrPropertyPriority
)
4849 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
4850 FIXME("(%p)->(%s %p)\n", This
, debugstr_w(bstrPropertyName
), pbstrPropertyPriority
);
4854 static HRESULT WINAPI
HTMLCSSStyleDeclaration_removeProperty(IHTMLCSSStyleDeclaration
*iface
, BSTR bstrPropertyName
, BSTR
*pbstrPropertyValue
)
4856 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
4857 const style_tbl_entry_t
*style_entry
;
4858 nsAString name_str
, ret_str
;
4861 TRACE("(%p)->(%s %p)\n", This
, debugstr_w(bstrPropertyName
), pbstrPropertyValue
);
4863 style_entry
= lookup_style_tbl(This
, bstrPropertyName
);
4864 nsAString_InitDepend(&name_str
, style_entry
? style_entry
->name
: bstrPropertyName
);
4865 nsAString_Init(&ret_str
, NULL
);
4866 nsres
= nsIDOMCSSStyleDeclaration_RemoveProperty(This
->nsstyle
, &name_str
, &ret_str
);
4867 nsAString_Finish(&name_str
);
4868 return return_nsstr(nsres
, &ret_str
, pbstrPropertyValue
);
4871 static HRESULT WINAPI
HTMLCSSStyleDeclaration_setProperty(IHTMLCSSStyleDeclaration
*iface
, BSTR name
, VARIANT
*value
, VARIANT
*priority
)
4873 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
4874 nsAString priority_str
, name_str
, value_str
;
4875 const style_tbl_entry_t
*style_entry
;
4879 TRACE("(%p)->(%s %s %s)\n", This
, debugstr_w(name
), debugstr_variant(value
), debugstr_variant(priority
));
4881 style_entry
= lookup_style_tbl(This
, name
);
4882 hres
= var_to_styleval(This
, value
, style_entry
, &value_str
);
4887 if(V_VT(priority
) != VT_BSTR
) {
4888 WARN("invalid priority type %s\n", debugstr_variant(priority
));
4889 nsAString_Finish(&value_str
);
4892 nsAString_InitDepend(&priority_str
, V_BSTR(priority
));
4894 nsAString_InitDepend(&priority_str
, NULL
);
4897 nsAString_InitDepend(&name_str
, style_entry
? style_entry
->name
: name
);
4898 nsres
= nsIDOMCSSStyleDeclaration_SetProperty(This
->nsstyle
, &name_str
, &value_str
, &priority_str
);
4899 nsAString_Finish(&name_str
);
4900 nsAString_Finish(&value_str
);
4901 nsAString_Finish(&priority_str
);
4902 if(NS_FAILED(nsres
))
4903 WARN("SetProperty failed: %08x\n", nsres
);
4904 return map_nsresult(nsres
);
4907 static HRESULT WINAPI
HTMLCSSStyleDeclaration_item(IHTMLCSSStyleDeclaration
*iface
, LONG index
, BSTR
*pbstrPropertyName
)
4909 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
4910 FIXME("(%p)->(%d %p)\n", This
, index
, pbstrPropertyName
);
4914 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_fontFamily(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
4916 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
4917 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
4918 return set_style_property(This
, STYLEID_FONT_FAMILY
, v
);
4921 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_fontFamily(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
4923 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
4924 TRACE("(%p)->(%p)\n", This
, p
);
4925 return get_style_property(This
, STYLEID_FONT_FAMILY
, p
);
4928 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_fontStyle(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
4930 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
4931 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
4932 return set_style_property(This
, STYLEID_FONT_STYLE
, v
);
4935 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_fontStyle(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
4937 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
4938 TRACE("(%p)->(%p)\n", This
, p
);
4939 return get_style_property(This
, STYLEID_FONT_STYLE
, p
);
4942 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_fontVariant(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
4944 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
4945 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
4946 return set_style_property(This
, STYLEID_FONT_VARIANT
, v
);
4949 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_fontVariant(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
4951 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
4952 TRACE("(%p)->(%p)\n", This
, p
);
4953 return get_style_property(This
, STYLEID_FONT_VARIANT
, p
);
4956 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_fontWeight(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
4958 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
4959 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
4960 return set_style_property(This
, STYLEID_FONT_WEIGHT
, v
);
4963 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_fontWeight(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
4965 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
4966 TRACE("(%p)->(%p)\n", This
, p
);
4967 return get_style_property(This
, STYLEID_FONT_WEIGHT
, p
);
4970 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_fontSize(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
4972 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
4973 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
4974 return set_style_property_var(This
, STYLEID_FONT_SIZE
, &v
);
4977 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_fontSize(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
4979 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
4980 TRACE("(%p)->(%p)\n", This
, p
);
4981 return get_style_property_var(This
, STYLEID_FONT_SIZE
, p
);
4984 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_font(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
4986 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
4987 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
4991 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_font(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
4993 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
4994 FIXME("(%p)->(%p)\n", This
, p
);
4998 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_color(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
5000 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5001 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
5002 return set_style_property_var(This
, STYLEID_COLOR
, &v
);
5005 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_color(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
5007 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5008 TRACE("(%p)->(%p)\n", This
, p
);
5009 return get_style_property_var(This
, STYLEID_COLOR
, p
);
5012 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_background(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
5014 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5015 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
5016 return set_style_property(This
, STYLEID_BACKGROUND
, v
);
5019 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_background(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
5021 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5022 TRACE("(%p)->(%p)\n", This
, p
);
5023 return get_style_property(This
, STYLEID_BACKGROUND
, p
);
5026 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_backgroundColor(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
5028 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5029 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
5030 return set_style_property_var(This
, STYLEID_BACKGROUND_COLOR
, &v
);
5033 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_backgroundColor(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
5035 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5036 TRACE("(%p)->(%p)\n", This
, p
);
5037 return get_style_property_var(This
, STYLEID_BACKGROUND_COLOR
, p
);
5040 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_backgroundImage(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
5042 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5043 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
5044 return set_style_property(This
, STYLEID_BACKGROUND_IMAGE
, v
);
5047 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_backgroundImage(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
5049 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5050 TRACE("(%p)->(%p)\n", This
, p
);
5051 return get_style_property(This
, STYLEID_BACKGROUND_IMAGE
, p
);
5054 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_backgroundRepeat(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
5056 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5057 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
5058 return set_style_property(This
, STYLEID_BACKGROUND_REPEAT
, v
);
5061 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_backgroundRepeat(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
5063 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5064 TRACE("(%p)->(%p)\n", This
, p
);
5065 return get_style_property(This
, STYLEID_BACKGROUND_REPEAT
, p
);
5068 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_backgroundAttachment(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
5070 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5071 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
5072 return set_style_property(This
, STYLEID_BACKGROUND_ATTACHMENT
, v
);
5075 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_backgroundAttachment(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
5077 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5078 TRACE("(%p)->(%p)\n", This
, p
);
5079 return get_style_property(This
, STYLEID_BACKGROUND_ATTACHMENT
, p
);
5082 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_backgroundPosition(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
5084 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5085 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
5086 return set_style_property(This
, STYLEID_BACKGROUND_POSITION
, v
);
5089 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_backgroundPosition(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
5091 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5092 TRACE("(%p)->(%p)\n", This
, p
);
5093 return get_style_property(This
, STYLEID_BACKGROUND_POSITION
, p
);
5096 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_backgroundPositionX(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
5098 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5099 nsAString pos_str
, val_str
;
5105 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
5107 hres
= var_to_styleval(This
, &v
, &style_tbl
[STYLEID_BACKGROUND_POSITION_X
], &val_str
);
5111 nsAString_GetData(&val_str
, &val
);
5112 val_len
= val
? lstrlenW(val
) : 0;
5114 nsAString_Init(&pos_str
, NULL
);
5115 hres
= get_nsstyle_attr_nsval(This
->nsstyle
, STYLEID_BACKGROUND_POSITION
, &pos_str
);
5116 if(SUCCEEDED(hres
)) {
5117 const PRUnichar
*pos
, *posy
;
5120 nsAString_GetData(&pos_str
, &pos
);
5121 posy
= wcschr(pos
, ' ');
5123 TRACE("no space in %s\n", debugstr_w(pos
));
5127 posy_len
= lstrlenW(posy
);
5128 pos_val
= heap_alloc((val_len
+posy_len
+1)*sizeof(WCHAR
));
5131 memcpy(pos_val
, val
, val_len
*sizeof(WCHAR
));
5133 memcpy(pos_val
+val_len
, posy
, posy_len
*sizeof(WCHAR
));
5134 pos_val
[val_len
+posy_len
] = 0;
5136 hres
= E_OUTOFMEMORY
;
5139 nsAString_Finish(&pos_str
);
5140 nsAString_Finish(&val_str
);
5144 TRACE("setting position to %s\n", debugstr_w(pos_val
));
5145 hres
= set_style_property(This
, STYLEID_BACKGROUND_POSITION
, pos_val
);
5150 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_backgroundPositionX(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
5152 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5157 TRACE("(%p)->(%p)\n", This
, p
);
5159 nsAString_Init(&pos_str
, NULL
);
5160 hres
= get_nsstyle_attr_nsval(This
->nsstyle
, STYLEID_BACKGROUND_POSITION
, &pos_str
);
5161 if(SUCCEEDED(hres
)) {
5162 const PRUnichar
*pos
, *space
;
5164 nsAString_GetData(&pos_str
, &pos
);
5165 space
= wcschr(pos
, ' ');
5167 WARN("no space in %s\n", debugstr_w(pos
));
5168 space
= pos
+ lstrlenW(pos
);
5172 ret
= SysAllocStringLen(pos
, space
-pos
);
5174 hres
= E_OUTOFMEMORY
;
5179 nsAString_Finish(&pos_str
);
5183 TRACE("returning %s\n", debugstr_w(ret
));
5189 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_backgroundPositionY(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
5191 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5192 nsAString pos_str
, val_str
;
5198 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
5200 hres
= var_to_styleval(This
, &v
, &style_tbl
[STYLEID_BACKGROUND_POSITION
], &val_str
);
5204 nsAString_GetData(&val_str
, &val
);
5205 val_len
= val
? lstrlenW(val
) : 0;
5207 nsAString_Init(&pos_str
, NULL
);
5208 hres
= get_nsstyle_attr_nsval(This
->nsstyle
, STYLEID_BACKGROUND_POSITION
, &pos_str
);
5209 if(SUCCEEDED(hres
)) {
5210 const PRUnichar
*pos
, *space
;
5213 nsAString_GetData(&pos_str
, &pos
);
5214 space
= wcschr(pos
, ' ');
5218 TRACE("no space in %s\n", debugstr_w(pos
));
5220 space
= pos
+ ARRAY_SIZE(L
"0px ")-1;
5223 posx_len
= space
-pos
;
5225 pos_val
= heap_alloc((posx_len
+val_len
+1)*sizeof(WCHAR
));
5227 memcpy(pos_val
, pos
, posx_len
*sizeof(WCHAR
));
5229 memcpy(pos_val
+posx_len
, val
, val_len
*sizeof(WCHAR
));
5230 pos_val
[posx_len
+val_len
] = 0;
5232 hres
= E_OUTOFMEMORY
;
5235 nsAString_Finish(&pos_str
);
5236 nsAString_Finish(&val_str
);
5240 TRACE("setting position to %s\n", debugstr_w(pos_val
));
5241 hres
= set_style_property(This
, STYLEID_BACKGROUND_POSITION
, pos_val
);
5246 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_backgroundPositionY(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
5248 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5253 TRACE("(%p)->(%p)\n", This
, p
);
5255 nsAString_Init(&pos_str
, NULL
);
5256 hres
= get_nsstyle_attr_nsval(This
->nsstyle
, STYLEID_BACKGROUND_POSITION
, &pos_str
);
5257 if(SUCCEEDED(hres
)) {
5258 const PRUnichar
*pos
, *posy
;
5260 nsAString_GetData(&pos_str
, &pos
);
5261 posy
= wcschr(pos
, ' ');
5263 ret
= SysAllocString(posy
+1);
5265 hres
= E_OUTOFMEMORY
;
5270 nsAString_Finish(&pos_str
);
5274 TRACE("returning %s\n", debugstr_w(ret
));
5280 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_wordSpacing(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
5282 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5283 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
5284 return set_style_property_var(This
, STYLEID_WORD_SPACING
, &v
);
5287 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_wordSpacing(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
5289 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5290 TRACE("(%p)->(%p)\n", This
, p
);
5291 return get_style_property_var(This
, STYLEID_WORD_SPACING
, p
);
5294 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_letterSpacing(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
5296 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5297 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
5298 return set_style_property_var(This
, STYLEID_LETTER_SPACING
, &v
);
5301 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_letterSpacing(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
5303 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5304 TRACE("(%p)->(%p)\n", This
, p
);
5305 return get_style_property_var(This
, STYLEID_LETTER_SPACING
, p
);
5308 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_textDecoration(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
5310 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5311 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
5312 return set_style_property(This
, STYLEID_TEXT_DECORATION
, v
);
5315 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_textDecoration(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
5317 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5318 TRACE("(%p)->(%p)\n", This
, p
);
5319 return get_style_property(This
, STYLEID_TEXT_DECORATION
, p
);
5322 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_verticalAlign(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
5324 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5325 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
5326 return set_style_property_var(This
, STYLEID_VERTICAL_ALIGN
, &v
);
5329 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_verticalAlign(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
5331 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5332 TRACE("(%p)->(%p)\n", This
, p
);
5333 return get_style_property_var(This
, STYLEID_VERTICAL_ALIGN
, p
);
5336 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_textTransform(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
5338 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5339 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
5340 return set_style_property(This
, STYLEID_TEXT_TRANSFORM
, v
);
5343 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_textTransform(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
5345 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5346 TRACE("(%p)->(%p)\n", This
, p
);
5347 return get_style_property(This
, STYLEID_TEXT_TRANSFORM
, p
);
5350 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_textAlign(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
5352 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5353 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
5354 return set_style_property(This
, STYLEID_TEXT_ALIGN
, v
);
5357 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_textAlign(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
5359 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5360 TRACE("(%p)->(%p)\n", This
, p
);
5361 return get_style_property(This
, STYLEID_TEXT_ALIGN
, p
);
5364 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_textIndent(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
5366 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5367 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
5368 return set_style_property_var(This
, STYLEID_TEXT_INDENT
, &v
);
5371 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_textIndent(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
5373 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5374 TRACE("(%p)->(%p)\n", This
, p
);
5375 return get_style_property_var(This
, STYLEID_TEXT_INDENT
, p
);
5378 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_lineHeight(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
5380 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5381 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
5382 return set_style_property_var(This
, STYLEID_LINE_HEIGHT
, &v
);
5385 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_lineHeight(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
5387 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5388 TRACE("(%p)->(%p)\n", This
, p
);
5389 return get_style_property_var(This
, STYLEID_LINE_HEIGHT
, p
);
5392 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_marginTop(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
5394 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5395 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
5396 return set_style_property_var(This
, STYLEID_MARGIN_TOP
, &v
);
5399 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_marginTop(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
5401 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5402 TRACE("(%p)->(%p)\n", This
, p
);
5403 return get_style_property_var(This
, STYLEID_MARGIN_TOP
, p
);
5406 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_marginRight(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
5408 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5409 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
5410 return set_style_property_var(This
, STYLEID_MARGIN_RIGHT
, &v
);
5413 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_marginRight(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
5415 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5416 TRACE("(%p)->(%p)\n", This
, p
);
5417 return get_style_property_var(This
, STYLEID_MARGIN_RIGHT
, p
);
5420 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_marginBottom(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
5422 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5423 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
5424 return set_style_property_var(This
, STYLEID_MARGIN_BOTTOM
, &v
);
5427 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_marginBottom(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
5429 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5430 TRACE("(%p)->(%p)\n", This
, p
);
5431 return get_style_property_var(This
, STYLEID_MARGIN_BOTTOM
, p
);
5434 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_marginLeft(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
5436 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5437 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
5438 return set_style_property_var(This
, STYLEID_MARGIN_LEFT
, &v
);
5441 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_marginLeft(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
5443 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5444 TRACE("(%p)->(%p)\n", This
, p
);
5445 return get_style_property_var(This
, STYLEID_MARGIN_LEFT
, p
);
5448 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_margin(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
5450 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5451 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
5452 return set_style_property(This
, STYLEID_MARGIN
, v
);
5455 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_margin(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
5457 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5458 TRACE("(%p)->(%p)\n", This
, p
);
5459 return get_style_property(This
, STYLEID_MARGIN
, p
);
5462 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_paddingTop(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
5464 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5465 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
5466 return set_style_property_var(This
, STYLEID_PADDING_TOP
, &v
);
5469 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_paddingTop(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
5471 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5472 TRACE("(%p)->(%p)\n", This
, p
);
5473 return get_style_property_var(This
, STYLEID_PADDING_TOP
, p
);
5476 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_paddingRight(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
5478 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5479 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
5480 return set_style_property_var(This
, STYLEID_PADDING_RIGHT
, &v
);
5483 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_paddingRight(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
5485 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5486 TRACE("(%p)->(%p)\n", This
, p
);
5487 return get_style_property_var(This
, STYLEID_PADDING_RIGHT
, p
);
5490 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_paddingBottom(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
5492 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5493 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
5494 return set_style_property_var(This
, STYLEID_PADDING_BOTTOM
, &v
);
5497 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_paddingBottom(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
5499 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5500 TRACE("(%p)->(%p)\n", This
, p
);
5501 return get_style_property_var(This
, STYLEID_PADDING_BOTTOM
, p
);
5504 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_paddingLeft(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
5506 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5507 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
5508 return set_style_property_var(This
, STYLEID_PADDING_LEFT
, &v
);
5511 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_paddingLeft(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
5513 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5514 TRACE("(%p)->(%p)\n", This
, p
);
5515 return get_style_property_var(This
, STYLEID_PADDING_LEFT
, p
);
5518 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_padding(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
5520 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5521 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
5522 return set_style_property(This
, STYLEID_PADDING
, v
);
5525 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_padding(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
5527 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5528 TRACE("(%p)->(%p)\n", This
, p
);
5529 return get_style_property(This
, STYLEID_PADDING
, p
);
5532 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_border(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
5534 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5535 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
5536 return set_style_property(This
, STYLEID_BORDER
, v
);
5539 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_border(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
5541 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5542 TRACE("(%p)->(%p)\n", This
, p
);
5543 return get_style_property(This
, STYLEID_BORDER
, p
);
5546 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_borderTop(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
5548 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5549 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
5550 return set_style_property(This
, STYLEID_BORDER_TOP
, v
);
5553 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_borderTop(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
5555 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5556 TRACE("(%p)->(%p)\n", This
, p
);
5557 return get_style_property(This
, STYLEID_BORDER_TOP
, p
);
5560 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_borderRight(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
5562 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5563 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
5564 return set_style_property(This
, STYLEID_BORDER_RIGHT
, v
);
5567 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_borderRight(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
5569 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5570 TRACE("(%p)->(%p)\n", This
, p
);
5571 return get_style_property(This
, STYLEID_BORDER_RIGHT
, p
);
5574 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_borderBottom(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
5576 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5577 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
5578 return set_style_property(This
, STYLEID_BORDER_BOTTOM
, v
);
5581 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_borderBottom(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
5583 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5584 TRACE("(%p)->(%p)\n", This
, p
);
5585 return get_style_property(This
, STYLEID_BORDER_BOTTOM
, p
);
5588 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_borderLeft(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
5590 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5591 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
5592 return set_style_property(This
, STYLEID_BORDER_LEFT
, v
);
5595 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_borderLeft(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
5597 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5598 TRACE("(%p)->(%p)\n", This
, p
);
5599 return get_style_property(This
, STYLEID_BORDER_LEFT
, p
);
5602 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_borderColor(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
5604 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5605 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
5606 return set_style_property(This
, STYLEID_BORDER_COLOR
, v
);
5609 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_borderColor(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
5611 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5612 TRACE("(%p)->(%p)\n", This
, p
);
5613 return get_style_property(This
, STYLEID_BORDER_COLOR
, p
);
5616 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_borderTopColor(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
5618 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5619 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
5620 return set_style_property_var(This
, STYLEID_BORDER_TOP_COLOR
, &v
);
5623 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_borderTopColor(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
5625 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5626 TRACE("(%p)->(%p)\n", This
, p
);
5627 return get_style_property_var(This
, STYLEID_BORDER_TOP_COLOR
, p
);
5630 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_borderRightColor(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
5632 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5633 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
5634 return set_style_property_var(This
, STYLEID_BORDER_RIGHT_COLOR
, &v
);
5637 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_borderRightColor(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
5639 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5640 TRACE("(%p)->(%p)\n", This
, p
);
5641 return get_style_property_var(This
, STYLEID_BORDER_RIGHT_COLOR
, p
);
5644 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_borderBottomColor(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
5646 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5647 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
5648 return set_style_property_var(This
, STYLEID_BORDER_BOTTOM_COLOR
, &v
);
5651 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_borderBottomColor(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
5653 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5654 TRACE("(%p)->(%p)\n", This
, p
);
5655 return get_style_property_var(This
, STYLEID_BORDER_BOTTOM_COLOR
, p
);
5658 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_borderLeftColor(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
5660 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5661 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
5662 return set_style_property_var(This
, STYLEID_BORDER_LEFT_COLOR
, &v
);
5665 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_borderLeftColor(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
5667 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5668 TRACE("(%p)->(%p)\n", This
, p
);
5669 return get_style_property_var(This
, STYLEID_BORDER_LEFT_COLOR
, p
);
5672 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_borderWidth(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
5674 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5675 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
5676 return set_style_property(This
, STYLEID_BORDER_WIDTH
, v
);
5679 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_borderWidth(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
5681 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5682 TRACE("(%p)->(%p)\n", This
, p
);
5683 return get_style_property(This
, STYLEID_BORDER_WIDTH
, p
);
5686 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_borderTopWidth(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
5688 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5689 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
5690 return set_style_property_var(This
, STYLEID_BORDER_TOP_WIDTH
, &v
);
5693 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_borderTopWidth(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
5695 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5696 TRACE("(%p)->(%p)\n", This
, p
);
5697 return get_style_property_var(This
, STYLEID_BORDER_TOP_WIDTH
, p
);
5700 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_borderRightWidth(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
5702 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5703 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
5704 return set_style_property_var(This
, STYLEID_BORDER_RIGHT_WIDTH
, &v
);
5707 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_borderRightWidth(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
5709 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5710 TRACE("(%p)->(%p)\n", This
, p
);
5711 return get_style_property_var(This
, STYLEID_BORDER_RIGHT_WIDTH
, p
);
5714 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_borderBottomWidth(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
5716 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5717 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
5718 return set_style_property_var(This
, STYLEID_BORDER_BOTTOM_WIDTH
, &v
);
5721 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_borderBottomWidth(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
5723 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5724 TRACE("(%p)->(%p)\n", This
, p
);
5725 return get_style_property_var(This
, STYLEID_BORDER_BOTTOM_WIDTH
, p
);
5728 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_borderLeftWidth(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
5730 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5731 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
5732 return set_style_property_var(This
, STYLEID_BORDER_LEFT_WIDTH
, &v
);
5735 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_borderLeftWidth(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
5737 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5738 TRACE("(%p)->(%p)\n", This
, p
);
5739 return get_style_property_var(This
, STYLEID_BORDER_LEFT_WIDTH
, p
);
5742 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_borderStyle(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
5744 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5745 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
5746 return set_style_property(This
, STYLEID_BORDER_STYLE
, v
);
5749 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_borderStyle(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
5751 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5752 TRACE("(%p)->(%p)\n", This
, p
);
5753 return get_style_property(This
, STYLEID_BORDER_STYLE
, p
);
5756 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_borderTopStyle(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
5758 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5759 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
5760 return set_style_property(This
, STYLEID_BORDER_TOP_STYLE
, v
);
5763 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_borderTopStyle(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
5765 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5766 TRACE("(%p)->(%p)\n", This
, p
);
5767 return get_style_property(This
, STYLEID_BORDER_TOP_STYLE
, p
);
5770 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_borderRightStyle(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
5772 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5773 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
5774 return set_style_property(This
, STYLEID_BORDER_RIGHT_STYLE
, v
);
5777 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_borderRightStyle(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
5779 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5780 TRACE("(%p)->(%p)\n", This
, p
);
5781 return get_style_property(This
, STYLEID_BORDER_RIGHT_STYLE
, p
);
5784 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_borderBottomStyle(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
5786 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5787 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
5788 return set_style_property(This
, STYLEID_BORDER_BOTTOM_STYLE
, v
);
5791 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_borderBottomStyle(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
5793 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5794 TRACE("(%p)->(%p)\n", This
, p
);
5795 return get_style_property(This
, STYLEID_BORDER_BOTTOM_STYLE
, p
);
5798 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_borderLeftStyle(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
5800 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5801 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
5802 return set_style_property(This
, STYLEID_BORDER_LEFT_STYLE
, v
);
5805 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_borderLeftStyle(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
5807 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5808 TRACE("(%p)->(%p)\n", This
, p
);
5809 return get_style_property(This
, STYLEID_BORDER_LEFT_STYLE
, p
);
5812 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_width(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
5814 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5815 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
5816 return set_style_property_var(This
, STYLEID_WIDTH
, &v
);
5819 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_width(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
5821 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5822 TRACE("(%p)->(%p)\n", This
, p
);
5823 return get_style_property_var(This
, STYLEID_WIDTH
, p
);
5826 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_height(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
5828 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5829 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
5830 return set_style_property_var(This
, STYLEID_HEIGHT
, &v
);
5833 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_height(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
5835 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5836 TRACE("(%p)->(%p)\n", This
, p
);
5837 return get_style_property_var(This
, STYLEID_HEIGHT
, p
);
5840 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_styleFloat(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
5842 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5843 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
5844 return set_style_property(This
, STYLEID_FLOAT
, v
);
5847 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_styleFloat(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
5849 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5850 TRACE("(%p)->(%p)\n", This
, p
);
5851 return get_style_property(This
, STYLEID_FLOAT
, p
);
5854 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_clear(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
5856 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5857 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
5858 return set_style_property(This
, STYLEID_CLEAR
, v
);
5861 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_clear(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
5863 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5864 TRACE("(%p)->(%p)\n", This
, p
);
5865 return get_style_property(This
, STYLEID_CLEAR
, p
);
5868 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_display(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
5870 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5871 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
5872 return set_style_property(This
, STYLEID_DISPLAY
, v
);
5875 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_display(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
5877 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5878 TRACE("(%p)->(%p)\n", This
, p
);
5879 return get_style_property(This
, STYLEID_DISPLAY
, p
);
5882 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_visibility(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
5884 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5885 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
5886 return set_style_property(This
, STYLEID_VISIBILITY
, v
);
5889 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_visibility(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
5891 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5892 TRACE("(%p)->(%p)\n", This
, p
);
5893 return get_style_property(This
, STYLEID_VISIBILITY
, p
);
5896 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_listStyleType(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
5898 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5899 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
5903 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_listStyleType(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
5905 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5906 FIXME("(%p)->(%p)\n", This
, p
);
5910 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_listStylePosition(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
5912 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5913 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
5917 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_listStylePosition(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
5919 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5920 FIXME("(%p)->(%p)\n", This
, p
);
5924 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_listStyleImage(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
5926 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5927 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
5931 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_listStyleImage(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
5933 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5934 FIXME("(%p)->(%p)\n", This
, p
);
5938 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_listStyle(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
5940 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5941 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
5942 return set_style_property(This
, STYLEID_LIST_STYLE
, v
);
5945 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_listStyle(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
5947 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5948 TRACE("(%p)->(%p)\n", This
, p
);
5949 return get_style_property(This
, STYLEID_LIST_STYLE
, p
);
5952 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_whiteSpace(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
5954 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5955 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
5956 return set_style_property(This
, STYLEID_WHITE_SPACE
, v
);
5959 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_whiteSpace(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
5961 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5962 TRACE("(%p)->(%p)\n", This
, p
);
5963 return get_style_property(This
, STYLEID_WHITE_SPACE
, p
);
5966 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_top(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
5968 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5969 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
5970 return set_style_property_var(This
, STYLEID_TOP
, &v
);
5973 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_top(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
5975 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5976 TRACE("(%p)->(%p)\n", This
, p
);
5977 return get_style_property_var(This
, STYLEID_TOP
, p
);
5980 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_left(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
5982 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5983 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
5984 return set_style_property_var(This
, STYLEID_LEFT
, &v
);
5987 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_left(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
5989 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5990 TRACE("(%p)->(%p)\n", This
, p
);
5991 return get_style_property_var(This
, STYLEID_LEFT
, p
);
5994 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_zIndex(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
5996 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5997 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
5998 return set_style_property_var(This
, STYLEID_Z_INDEX
, &v
);
6001 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_zIndex(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
6003 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6004 TRACE("(%p)->(%p)\n", This
, p
);
6005 return get_style_property_var(This
, STYLEID_Z_INDEX
, p
);
6008 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_overflow(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6010 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6011 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
6012 return set_style_property(This
, STYLEID_OVERFLOW
, v
);
6015 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_overflow(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6017 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6018 TRACE("(%p)->(%p)\n", This
, p
);
6019 return get_style_property(This
, STYLEID_OVERFLOW
, p
);
6022 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_pageBreakBefore(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6024 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6025 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
6026 return set_style_property(This
, STYLEID_PAGE_BREAK_BEFORE
, v
);
6029 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_pageBreakBefore(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6031 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6032 TRACE("(%p)->(%p)\n", This
, p
);
6033 return get_style_property(This
, STYLEID_PAGE_BREAK_BEFORE
, p
);
6036 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_pageBreakAfter(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_PAGE_BREAK_AFTER
, v
);
6043 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_pageBreakAfter(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_PAGE_BREAK_AFTER
, p
);
6050 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_cssText(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6052 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6056 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
6058 nsAString_InitDepend(&text_str
, v
);
6059 nsres
= nsIDOMCSSStyleDeclaration_SetCssText(This
->nsstyle
, &text_str
);
6060 nsAString_Finish(&text_str
);
6061 if(NS_FAILED(nsres
)) {
6062 FIXME("SetCssStyle failed: %08x\n", nsres
);
6069 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_cssText(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6071 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6075 TRACE("(%p)->(%p)\n", This
, p
);
6077 /* NOTE: Quicks mode should use different formatting (uppercase, no ';' at the end of rule). */
6078 nsAString_Init(&text_str
, NULL
);
6079 nsres
= nsIDOMCSSStyleDeclaration_GetCssText(This
->nsstyle
, &text_str
);
6080 return return_nsstr(nsres
, &text_str
, p
);
6083 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_cursor(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6085 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6086 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
6087 return set_style_property(This
, STYLEID_CURSOR
, v
);
6090 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_cursor(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6092 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6093 TRACE("(%p)->(%p)\n", This
, p
);
6094 return get_style_property(This
, STYLEID_CURSOR
, p
);
6097 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_clip(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6099 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6100 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
6101 return set_style_property(This
, STYLEID_CLIP
, v
);
6104 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_clip(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6106 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6107 TRACE("(%p)->(%p)\n", This
, p
);
6108 return get_style_property(This
, STYLEID_CLIP
, p
);
6111 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_filter(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6113 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6114 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
6115 return set_style_property(This
, STYLEID_FILTER
, v
);
6118 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_filter(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6120 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6121 TRACE("(%p)->(%p)\n", This
, p
);
6122 return get_style_property(This
, STYLEID_FILTER
, p
);
6125 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_tableLayout(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6127 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6128 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
6129 return set_style_property(This
, STYLEID_TABLE_LAYOUT
, v
);
6132 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_tableLayout(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6134 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6135 TRACE("(%p)->(%p)\n", This
, p
);
6136 return get_style_property(This
, STYLEID_TABLE_LAYOUT
, p
);
6139 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_borderCollapse(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6141 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6142 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
6143 return set_style_property(This
, STYLEID_BORDER_COLLAPSE
, v
);
6146 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_borderCollapse(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6148 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6149 TRACE("(%p)->(%p)\n", This
, p
);
6150 return get_style_property(This
, STYLEID_BORDER_COLLAPSE
, p
);
6153 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_direction(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6155 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6156 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
6157 return set_style_property(This
, STYLEID_DIRECTION
, v
);
6160 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_direction(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6162 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6163 TRACE("(%p)->(%p)\n", This
, p
);
6164 return get_style_property(This
, STYLEID_DIRECTION
, p
);
6167 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_behavior(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6169 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6170 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
6174 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_behavior(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6176 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6177 FIXME("(%p)->(%p)\n", This
, p
);
6181 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_position(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6183 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6184 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
6185 return set_style_property(This
, STYLEID_POSITION
, v
);
6188 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_position(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6190 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6191 TRACE("(%p)->(%p)\n", This
, p
);
6192 return get_style_property(This
, STYLEID_POSITION
, p
);
6195 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_unicodeBidi(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6197 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6198 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
6202 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_unicodeBidi(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6204 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6205 FIXME("(%p)->(%p)\n", This
, p
);
6209 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_bottom(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
6211 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6212 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
6213 return set_style_property_var(This
, STYLEID_BOTTOM
, &v
);
6216 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_bottom(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
6218 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6219 TRACE("(%p)->(%p)\n", This
, p
);
6220 return get_style_property_var(This
, STYLEID_BOTTOM
, p
);
6223 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_right(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
6225 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6226 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
6227 return set_style_property_var(This
, STYLEID_RIGHT
, &v
);
6230 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_right(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
6232 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6233 TRACE("(%p)->(%p)\n", This
, p
);
6234 return get_style_property_var(This
, STYLEID_RIGHT
, p
);
6237 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_imeMode(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6239 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6240 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
6244 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_imeMode(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6246 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6247 FIXME("(%p)->(%p)\n", This
, p
);
6251 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_rubyAlign(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6253 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6254 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
6258 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_rubyAlign(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6260 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6261 FIXME("(%p)->(%p)\n", This
, p
);
6265 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_rubyPosition(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6267 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6268 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
6272 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_rubyPosition(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6274 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6275 FIXME("(%p)->(%p)\n", This
, p
);
6279 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_rubyOverhang(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6281 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6282 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
6286 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_rubyOverhang(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6288 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6289 FIXME("(%p)->(%p)\n", This
, p
);
6293 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_layoutGridChar(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
6295 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6296 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
6300 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_layoutGridChar(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
6302 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6303 FIXME("(%p)->(%p)\n", This
, p
);
6307 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_layoutGridLine(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
6309 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6310 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
6314 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_layoutGridLine(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
6316 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6317 FIXME("(%p)->(%p)\n", This
, p
);
6321 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_layoutGridMode(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6323 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6324 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
6328 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_layoutGridMode(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6330 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6331 FIXME("(%p)->(%p)\n", This
, p
);
6335 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_layoutGridType(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6337 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6338 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
6342 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_layoutGridType(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6344 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6345 FIXME("(%p)->(%p)\n", This
, p
);
6349 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_layoutGrid(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6351 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6352 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
6356 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_layoutGrid(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6358 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6359 FIXME("(%p)->(%p)\n", This
, p
);
6363 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_textAutospace(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6365 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6366 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
6370 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_textAutospace(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6372 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6373 FIXME("(%p)->(%p)\n", This
, p
);
6377 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_wordBreak(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6379 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6380 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
6384 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_wordBreak(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6386 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6387 FIXME("(%p)->(%p)\n", This
, p
);
6391 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_lineBreak(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6393 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6394 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
6398 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_lineBreak(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6400 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6401 FIXME("(%p)->(%p)\n", This
, p
);
6405 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_textJustify(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6407 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6408 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
6412 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_textJustify(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6414 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6415 FIXME("(%p)->(%p)\n", This
, p
);
6419 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_textJustifyTrim(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6421 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6422 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
6426 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_textJustifyTrim(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6428 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6429 FIXME("(%p)->(%p)\n", This
, p
);
6433 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_textKashida(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
6435 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6436 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
6440 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_textKashida(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
6442 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6443 FIXME("(%p)->(%p)\n", This
, p
);
6447 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_overflowX(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6449 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6450 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
6451 return set_style_property(This
, STYLEID_OVERFLOW_X
, v
);
6454 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_overflowX(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6456 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6457 TRACE("(%p)->(%p)\n", This
, p
);
6458 return get_style_property(This
, STYLEID_OVERFLOW_X
, p
);
6461 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_overflowY(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6463 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6464 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
6465 return set_style_property(This
, STYLEID_OVERFLOW_Y
, v
);
6468 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_overflowY(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6470 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6471 TRACE("(%p)->(%p)\n", This
, p
);
6472 return get_style_property(This
, STYLEID_OVERFLOW_Y
, p
);
6475 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_accelerator(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6477 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6478 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
6482 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_accelerator(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6484 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6485 FIXME("(%p)->(%p)\n", This
, p
);
6489 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_layoutFlow(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6491 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6492 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
6496 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_layoutFlow(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6498 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6499 FIXME("(%p)->(%p)\n", This
, p
);
6503 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_zoom(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
6505 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6509 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
6511 /* zoom property is IE CSS extension that is mostly used as a hack to workaround IE bugs.
6512 * The value is set to 1 then. We can safely ignore setting zoom to 1. */
6513 if(V_VT(&v
) != VT_I4
|| V_I4(&v
) != 1)
6514 WARN("stub for %s\n", debugstr_variant(&v
));
6516 hres
= dispex_get_dprop_ref(&This
->dispex
, L
"zoom", TRUE
, &var
);
6520 return VariantChangeType(var
, &v
, 0, VT_BSTR
);
6523 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_zoom(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
6525 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6529 TRACE("(%p)->(%p)\n", This
, p
);
6531 hres
= dispex_get_dprop_ref(&This
->dispex
, L
"zoom", FALSE
, &var
);
6532 if(hres
== DISP_E_UNKNOWNNAME
) {
6540 return VariantCopy(p
, var
);
6543 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_wordWrap(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6545 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6546 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
6547 return set_style_property(This
, STYLEID_WORD_WRAP
, v
);
6550 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_wordWrap(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6552 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6553 TRACE("(%p)->(%p)\n", This
, p
);
6554 return get_style_property(This
, STYLEID_WORD_WRAP
, p
);
6557 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_textUnderlinePosition(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6559 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6560 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
6564 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_textUnderlinePosition(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6566 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6567 FIXME("(%p)->(%p)\n", This
, p
);
6571 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_scrollbarBaseColor(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
6573 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6574 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
6578 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_scrollbarBaseColor(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
6580 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6581 FIXME("(%p)->(%p)\n", This
, p
);
6585 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_scrollbarFaceColor(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
6587 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6588 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
6592 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_scrollbarFaceColor(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
6594 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6595 FIXME("(%p)->(%p)\n", This
, p
);
6599 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_scrollbar3dLightColor(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
6601 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6602 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
6606 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_scrollbar3dLightColor(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
6608 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6609 FIXME("(%p)->(%p)\n", This
, p
);
6613 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_scrollbarShadowColor(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
6615 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6616 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
6620 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_scrollbarShadowColor(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
6622 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6623 FIXME("(%p)->(%p)\n", This
, p
);
6627 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_scrollbarHighlightColor(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
6629 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6630 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
6634 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_scrollbarHighlightColor(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
6636 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6637 FIXME("(%p)->(%p)\n", This
, p
);
6641 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_scrollbarDarkShadowColor(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
6643 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6644 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
6648 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_scrollbarDarkShadowColor(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
6650 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6651 FIXME("(%p)->(%p)\n", This
, p
);
6655 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_scrollbarArrowColor(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
6657 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6658 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
6662 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_scrollbarArrowColor(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
6664 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6665 FIXME("(%p)->(%p)\n", This
, p
);
6669 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_scrollbarTrackColor(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
6671 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6672 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
6676 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_scrollbarTrackColor(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
6678 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6679 FIXME("(%p)->(%p)\n", This
, p
);
6683 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_writingMode(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6685 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6686 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
6690 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_writingMode(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6692 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6693 FIXME("(%p)->(%p)\n", This
, p
);
6697 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_textAlignLast(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6699 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6700 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
6704 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_textAlignLast(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6706 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6707 FIXME("(%p)->(%p)\n", This
, p
);
6711 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_textKashidaSpace(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
6713 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6714 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
6718 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_textKashidaSpace(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
6720 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6721 FIXME("(%p)->(%p)\n", This
, p
);
6725 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_textOverflow(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6727 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6728 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
6732 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_textOverflow(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6734 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6735 FIXME("(%p)->(%p)\n", This
, p
);
6739 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_minHeight(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
6741 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6742 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
6743 return set_style_property_var(This
, STYLEID_MIN_HEIGHT
, &v
);
6746 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_minHeight(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
6748 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6749 TRACE("(%p)->(%p)\n", This
, p
);
6750 return get_style_property_var(This
, STYLEID_MIN_HEIGHT
, p
);
6753 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_msInterpolationMode(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6755 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6756 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
6760 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_msInterpolationMode(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6762 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6763 FIXME("(%p)->(%p)\n", This
, p
);
6767 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_maxHeight(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
6769 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6770 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
6771 return set_style_property_var(This
, STYLEID_MAX_HEIGHT
, &v
);
6774 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_maxHeight(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
6776 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6777 TRACE("(%p)->(%p)\n", This
, p
);
6778 return get_style_property_var(This
, STYLEID_MAX_HEIGHT
, p
);
6781 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_minWidth(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
6783 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6784 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
6785 return set_style_property_var(This
, STYLEID_MIN_WIDTH
, &v
);
6788 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_minWidth(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
6790 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6791 TRACE("(%p)->(%p)\n", This
, p
);
6792 return get_style_property_var(This
, STYLEID_MIN_WIDTH
, p
);
6795 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_maxWidth(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
6797 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6798 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
6799 return set_style_property_var(This
, STYLEID_MAX_WIDTH
, &v
);
6802 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_maxWidth(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
6804 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6805 TRACE("(%p)->(%p)\n", This
, p
);
6806 return get_style_property_var(This
, STYLEID_MAX_WIDTH
, p
);
6809 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_content(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6811 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6812 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
6816 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_content(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6818 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6819 FIXME("(%p)->(%p)\n", This
, p
);
6823 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_captionSide(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6825 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6826 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
6830 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_captionSide(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6832 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6833 FIXME("(%p)->(%p)\n", This
, p
);
6837 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_counterIncrement(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6839 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6840 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
6844 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_counterIncrement(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6846 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6847 FIXME("(%p)->(%p)\n", This
, p
);
6851 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_counterReset(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6853 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6854 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
6858 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_counterReset(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6860 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6861 FIXME("(%p)->(%p)\n", This
, p
);
6865 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_outline(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6867 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6868 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
6869 return set_style_property(This
, STYLEID_OUTLINE
, v
);
6872 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_outline(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6874 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6875 TRACE("(%p)->(%p)\n", This
, p
);
6876 return get_style_property(This
, STYLEID_OUTLINE
, p
);
6879 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_outlineWidth(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
6881 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6882 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
6886 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_outlineWidth(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
6888 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6889 FIXME("(%p)->(%p)\n", This
, p
);
6893 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_outlineStyle(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6895 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6896 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
6900 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_outlineStyle(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6902 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6903 FIXME("(%p)->(%p)\n", This
, p
);
6907 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_outlineColor(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
6909 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6910 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
6914 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_outlineColor(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
6916 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6917 FIXME("(%p)->(%p)\n", This
, p
);
6921 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_boxSizing(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6923 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6924 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
6925 return set_style_property(This
, STYLEID_BOX_SIZING
, v
);
6928 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_boxSizing(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6930 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6931 TRACE("(%p)->(%p)\n", This
, p
);
6932 return get_style_property(This
, STYLEID_BOX_SIZING
, p
);
6935 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_borderSpacing(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6937 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6938 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
6939 return set_style_property(This
, STYLEID_BORDER_SPACING
, v
);
6942 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_borderSpacing(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6944 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6945 TRACE("(%p)->(%p)\n", This
, p
);
6946 return get_style_property(This
, STYLEID_BORDER_SPACING
, p
);
6949 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_orphans(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
6951 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6952 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
6956 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_orphans(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
6958 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6959 FIXME("(%p)->(%p)\n", This
, p
);
6963 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_widows(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
6965 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6966 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
6970 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_widows(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
6972 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6973 FIXME("(%p)->(%p)\n", This
, p
);
6977 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_pageBreakInside(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6979 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6980 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
6984 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_pageBreakInside(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6986 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6987 FIXME("(%p)->(%p)\n", This
, p
);
6991 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_emptyCells(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6993 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6994 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
6998 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_emptyCells(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
7000 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7001 FIXME("(%p)->(%p)\n", This
, p
);
7005 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_msBlockProgression(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
7007 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7008 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
7012 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_msBlockProgression(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
7014 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7015 FIXME("(%p)->(%p)\n", This
, p
);
7019 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_quotes(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
7021 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7022 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
7026 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_quotes(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
7028 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7029 FIXME("(%p)->(%p)\n", This
, p
);
7033 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_alignmentBaseline(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
7035 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7036 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
7040 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_alignmentBaseline(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
7042 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7043 FIXME("(%p)->(%p)\n", This
, p
);
7047 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_baselineShift(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
7049 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7050 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
7054 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_baselineShift(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
7056 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7057 FIXME("(%p)->(%p)\n", This
, p
);
7061 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_dominantBaseline(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
7063 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7064 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
7068 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_dominantBaseline(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
7070 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7071 FIXME("(%p)->(%p)\n", This
, p
);
7075 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_fontSizeAdjust(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
7077 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7078 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
7082 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_fontSizeAdjust(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
7084 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7085 FIXME("(%p)->(%p)\n", This
, p
);
7089 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_fontStretch(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
7091 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7092 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
7096 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_fontStretch(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
7098 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7099 FIXME("(%p)->(%p)\n", This
, p
);
7103 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_opacity(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
7105 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7106 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
7107 return set_style_property_var(This
, STYLEID_OPACITY
, &v
);
7110 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_opacity(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
7112 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7113 TRACE("(%p)->(%p)\n", This
, p
);
7114 return get_style_property_var(This
, STYLEID_OPACITY
, p
);
7117 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_clipPath(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
7119 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7120 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
7124 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_clipPath(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
7126 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7127 FIXME("(%p)->(%p)\n", This
, p
);
7131 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_clipRule(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
7133 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7134 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
7138 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_clipRule(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
7140 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7141 FIXME("(%p)->(%p)\n", This
, p
);
7145 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_fill(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
7147 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7148 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
7152 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_fill(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
7154 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7155 FIXME("(%p)->(%p)\n", This
, p
);
7159 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_fillOpacity(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
7161 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7162 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
7166 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_fillOpacity(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
7168 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7169 FIXME("(%p)->(%p)\n", This
, p
);
7173 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_fillRule(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
7175 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7176 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
7180 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_fillRule(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
7182 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7183 FIXME("(%p)->(%p)\n", This
, p
);
7187 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_kerning(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
7189 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7190 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
7194 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_kerning(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
7196 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7197 FIXME("(%p)->(%p)\n", This
, p
);
7201 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_marker(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
7203 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7204 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
7208 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_marker(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
7210 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7211 FIXME("(%p)->(%p)\n", This
, p
);
7215 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_markerEnd(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
7217 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7218 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
7222 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_markerEnd(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
7224 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7225 FIXME("(%p)->(%p)\n", This
, p
);
7229 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_markerMid(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
7231 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7232 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
7236 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_markerMid(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
7238 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7239 FIXME("(%p)->(%p)\n", This
, p
);
7243 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_markerStart(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
7245 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7246 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
7250 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_markerStart(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
7252 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7253 FIXME("(%p)->(%p)\n", This
, p
);
7257 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_mask(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
7259 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7260 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
7264 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_mask(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
7266 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7267 FIXME("(%p)->(%p)\n", This
, p
);
7271 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_pointerEvents(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
7273 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7274 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
7278 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_pointerEvents(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
7280 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7281 FIXME("(%p)->(%p)\n", This
, p
);
7285 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_stopColor(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
7287 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7288 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
7292 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_stopColor(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
7294 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7295 FIXME("(%p)->(%p)\n", This
, p
);
7299 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_stopOpacity(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
7301 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7302 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
7306 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_stopOpacity(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
7308 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7309 FIXME("(%p)->(%p)\n", This
, p
);
7313 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_stroke(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
7315 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7316 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
7320 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_stroke(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
7322 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7323 FIXME("(%p)->(%p)\n", This
, p
);
7327 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_strokeDasharray(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
7329 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7330 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
7334 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_strokeDasharray(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
7336 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7337 FIXME("(%p)->(%p)\n", This
, p
);
7341 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_strokeDashoffset(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
7343 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7344 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
7348 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_strokeDashoffset(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
7350 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7351 FIXME("(%p)->(%p)\n", This
, p
);
7355 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_strokeLinecap(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
7357 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7358 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
7362 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_strokeLinecap(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
7364 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7365 FIXME("(%p)->(%p)\n", This
, p
);
7369 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_strokeLinejoin(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
7371 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7372 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
7376 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_strokeLinejoin(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
7378 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7379 FIXME("(%p)->(%p)\n", This
, p
);
7383 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_strokeMiterlimit(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
7385 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7386 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
7390 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_strokeMiterlimit(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
7392 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7393 FIXME("(%p)->(%p)\n", This
, p
);
7397 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_strokeOpacity(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
7399 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7400 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
7404 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_strokeOpacity(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
7406 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7407 FIXME("(%p)->(%p)\n", This
, p
);
7411 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_strokeWidth(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
7413 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7414 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
7418 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_strokeWidth(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
7420 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7421 FIXME("(%p)->(%p)\n", This
, p
);
7425 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_textAnchor(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
7427 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7428 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
7432 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_textAnchor(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
7434 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7435 FIXME("(%p)->(%p)\n", This
, p
);
7439 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_glyphOrientationHorizontal(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
7441 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7442 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
7446 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_glyphOrientationHorizontal(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
7448 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7449 FIXME("(%p)->(%p)\n", This
, p
);
7453 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_glyphOrientationVertical(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
7455 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7456 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
7460 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_glyphOrientationVertical(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
7462 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7463 FIXME("(%p)->(%p)\n", This
, p
);
7467 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_borderRadius(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
7469 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7470 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
7474 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_borderRadius(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
7476 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7477 FIXME("(%p)->(%p)\n", This
, p
);
7481 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_borderTopLeftRadius(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
7483 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7484 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
7488 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_borderTopLeftRadius(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
7490 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7491 FIXME("(%p)->(%p)\n", This
, p
);
7495 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_borderTopRightRadius(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
7497 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7498 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
7502 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_borderTopRightRadius(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
7504 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7505 FIXME("(%p)->(%p)\n", This
, p
);
7509 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_borderBottomRightRadius(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
7511 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7512 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
7516 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_borderBottomRightRadius(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
7518 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7519 FIXME("(%p)->(%p)\n", This
, p
);
7523 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_borderBottomLeftRadius(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
7525 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7526 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
7530 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_borderBottomLeftRadius(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
7532 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7533 FIXME("(%p)->(%p)\n", This
, p
);
7537 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_clipTop(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
7539 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7540 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
7544 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_clipTop(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
7546 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7547 FIXME("(%p)->(%p)\n", This
, p
);
7551 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_clipRight(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
7553 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7554 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
7558 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_clipRight(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
7560 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7561 FIXME("(%p)->(%p)\n", This
, p
);
7565 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_clipBottom(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
7567 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7568 FIXME("(%p)->(%p)\n", This
, p
);
7572 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_clipLeft(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
7574 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7575 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
7579 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_clipLeft(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
7581 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7582 FIXME("(%p)->(%p)\n", This
, p
);
7586 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_cssFloat(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
7588 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7589 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
7590 return set_style_property(This
, STYLEID_FLOAT
, v
);
7593 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_cssFloat(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
7595 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7596 TRACE("(%p)->(%p)\n", This
, p
);
7597 return get_style_property(This
, STYLEID_FLOAT
, p
);
7600 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_backgroundClip(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
7602 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7603 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
7604 return set_style_property(This
, STYLEID_BACKGROUND_CLIP
, v
);
7607 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_backgroundClip(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
7609 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7610 TRACE("(%p)->(%p)\n", This
, p
);
7611 return get_style_property(This
, STYLEID_BACKGROUND_CLIP
, p
);
7614 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_backgroundOrigin(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
7616 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7617 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
7621 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_backgroundOrigin(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
7623 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7624 FIXME("(%p)->(%p)\n", This
, p
);
7628 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_backgroundSize(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
7630 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7631 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
7635 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_backgroundSize(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
7637 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7638 FIXME("(%p)->(%p)\n", This
, p
);
7642 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_boxShadow(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
7644 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7645 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
7649 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_boxShadow(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
7651 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7652 FIXME("(%p)->(%p)\n", This
, p
);
7656 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_msTransform(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
7658 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7659 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
7663 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_msTransform(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
7665 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7666 FIXME("(%p)->(%p)\n", This
, p
);
7670 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_msTransformOrigin(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
7672 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7673 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
7677 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_msTransformOrigin(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
7679 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7680 FIXME("(%p)->(%p)\n", This
, p
);
7684 static const IHTMLCSSStyleDeclarationVtbl HTMLCSSStyleDeclarationVtbl
= {
7685 HTMLCSSStyleDeclaration_QueryInterface
,
7686 HTMLCSSStyleDeclaration_AddRef
,
7687 HTMLCSSStyleDeclaration_Release
,
7688 HTMLCSSStyleDeclaration_GetTypeInfoCount
,
7689 HTMLCSSStyleDeclaration_GetTypeInfo
,
7690 HTMLCSSStyleDeclaration_GetIDsOfNames
,
7691 HTMLCSSStyleDeclaration_Invoke
,
7692 HTMLCSSStyleDeclaration_get_length
,
7693 HTMLCSSStyleDeclaration_get_parentRule
,
7694 HTMLCSSStyleDeclaration_getPropertyValue
,
7695 HTMLCSSStyleDeclaration_getPropertyPriority
,
7696 HTMLCSSStyleDeclaration_removeProperty
,
7697 HTMLCSSStyleDeclaration_setProperty
,
7698 HTMLCSSStyleDeclaration_item
,
7699 HTMLCSSStyleDeclaration_put_fontFamily
,
7700 HTMLCSSStyleDeclaration_get_fontFamily
,
7701 HTMLCSSStyleDeclaration_put_fontStyle
,
7702 HTMLCSSStyleDeclaration_get_fontStyle
,
7703 HTMLCSSStyleDeclaration_put_fontVariant
,
7704 HTMLCSSStyleDeclaration_get_fontVariant
,
7705 HTMLCSSStyleDeclaration_put_fontWeight
,
7706 HTMLCSSStyleDeclaration_get_fontWeight
,
7707 HTMLCSSStyleDeclaration_put_fontSize
,
7708 HTMLCSSStyleDeclaration_get_fontSize
,
7709 HTMLCSSStyleDeclaration_put_font
,
7710 HTMLCSSStyleDeclaration_get_font
,
7711 HTMLCSSStyleDeclaration_put_color
,
7712 HTMLCSSStyleDeclaration_get_color
,
7713 HTMLCSSStyleDeclaration_put_background
,
7714 HTMLCSSStyleDeclaration_get_background
,
7715 HTMLCSSStyleDeclaration_put_backgroundColor
,
7716 HTMLCSSStyleDeclaration_get_backgroundColor
,
7717 HTMLCSSStyleDeclaration_put_backgroundImage
,
7718 HTMLCSSStyleDeclaration_get_backgroundImage
,
7719 HTMLCSSStyleDeclaration_put_backgroundRepeat
,
7720 HTMLCSSStyleDeclaration_get_backgroundRepeat
,
7721 HTMLCSSStyleDeclaration_put_backgroundAttachment
,
7722 HTMLCSSStyleDeclaration_get_backgroundAttachment
,
7723 HTMLCSSStyleDeclaration_put_backgroundPosition
,
7724 HTMLCSSStyleDeclaration_get_backgroundPosition
,
7725 HTMLCSSStyleDeclaration_put_backgroundPositionX
,
7726 HTMLCSSStyleDeclaration_get_backgroundPositionX
,
7727 HTMLCSSStyleDeclaration_put_backgroundPositionY
,
7728 HTMLCSSStyleDeclaration_get_backgroundPositionY
,
7729 HTMLCSSStyleDeclaration_put_wordSpacing
,
7730 HTMLCSSStyleDeclaration_get_wordSpacing
,
7731 HTMLCSSStyleDeclaration_put_letterSpacing
,
7732 HTMLCSSStyleDeclaration_get_letterSpacing
,
7733 HTMLCSSStyleDeclaration_put_textDecoration
,
7734 HTMLCSSStyleDeclaration_get_textDecoration
,
7735 HTMLCSSStyleDeclaration_put_verticalAlign
,
7736 HTMLCSSStyleDeclaration_get_verticalAlign
,
7737 HTMLCSSStyleDeclaration_put_textTransform
,
7738 HTMLCSSStyleDeclaration_get_textTransform
,
7739 HTMLCSSStyleDeclaration_put_textAlign
,
7740 HTMLCSSStyleDeclaration_get_textAlign
,
7741 HTMLCSSStyleDeclaration_put_textIndent
,
7742 HTMLCSSStyleDeclaration_get_textIndent
,
7743 HTMLCSSStyleDeclaration_put_lineHeight
,
7744 HTMLCSSStyleDeclaration_get_lineHeight
,
7745 HTMLCSSStyleDeclaration_put_marginTop
,
7746 HTMLCSSStyleDeclaration_get_marginTop
,
7747 HTMLCSSStyleDeclaration_put_marginRight
,
7748 HTMLCSSStyleDeclaration_get_marginRight
,
7749 HTMLCSSStyleDeclaration_put_marginBottom
,
7750 HTMLCSSStyleDeclaration_get_marginBottom
,
7751 HTMLCSSStyleDeclaration_put_marginLeft
,
7752 HTMLCSSStyleDeclaration_get_marginLeft
,
7753 HTMLCSSStyleDeclaration_put_margin
,
7754 HTMLCSSStyleDeclaration_get_margin
,
7755 HTMLCSSStyleDeclaration_put_paddingTop
,
7756 HTMLCSSStyleDeclaration_get_paddingTop
,
7757 HTMLCSSStyleDeclaration_put_paddingRight
,
7758 HTMLCSSStyleDeclaration_get_paddingRight
,
7759 HTMLCSSStyleDeclaration_put_paddingBottom
,
7760 HTMLCSSStyleDeclaration_get_paddingBottom
,
7761 HTMLCSSStyleDeclaration_put_paddingLeft
,
7762 HTMLCSSStyleDeclaration_get_paddingLeft
,
7763 HTMLCSSStyleDeclaration_put_padding
,
7764 HTMLCSSStyleDeclaration_get_padding
,
7765 HTMLCSSStyleDeclaration_put_border
,
7766 HTMLCSSStyleDeclaration_get_border
,
7767 HTMLCSSStyleDeclaration_put_borderTop
,
7768 HTMLCSSStyleDeclaration_get_borderTop
,
7769 HTMLCSSStyleDeclaration_put_borderRight
,
7770 HTMLCSSStyleDeclaration_get_borderRight
,
7771 HTMLCSSStyleDeclaration_put_borderBottom
,
7772 HTMLCSSStyleDeclaration_get_borderBottom
,
7773 HTMLCSSStyleDeclaration_put_borderLeft
,
7774 HTMLCSSStyleDeclaration_get_borderLeft
,
7775 HTMLCSSStyleDeclaration_put_borderColor
,
7776 HTMLCSSStyleDeclaration_get_borderColor
,
7777 HTMLCSSStyleDeclaration_put_borderTopColor
,
7778 HTMLCSSStyleDeclaration_get_borderTopColor
,
7779 HTMLCSSStyleDeclaration_put_borderRightColor
,
7780 HTMLCSSStyleDeclaration_get_borderRightColor
,
7781 HTMLCSSStyleDeclaration_put_borderBottomColor
,
7782 HTMLCSSStyleDeclaration_get_borderBottomColor
,
7783 HTMLCSSStyleDeclaration_put_borderLeftColor
,
7784 HTMLCSSStyleDeclaration_get_borderLeftColor
,
7785 HTMLCSSStyleDeclaration_put_borderWidth
,
7786 HTMLCSSStyleDeclaration_get_borderWidth
,
7787 HTMLCSSStyleDeclaration_put_borderTopWidth
,
7788 HTMLCSSStyleDeclaration_get_borderTopWidth
,
7789 HTMLCSSStyleDeclaration_put_borderRightWidth
,
7790 HTMLCSSStyleDeclaration_get_borderRightWidth
,
7791 HTMLCSSStyleDeclaration_put_borderBottomWidth
,
7792 HTMLCSSStyleDeclaration_get_borderBottomWidth
,
7793 HTMLCSSStyleDeclaration_put_borderLeftWidth
,
7794 HTMLCSSStyleDeclaration_get_borderLeftWidth
,
7795 HTMLCSSStyleDeclaration_put_borderStyle
,
7796 HTMLCSSStyleDeclaration_get_borderStyle
,
7797 HTMLCSSStyleDeclaration_put_borderTopStyle
,
7798 HTMLCSSStyleDeclaration_get_borderTopStyle
,
7799 HTMLCSSStyleDeclaration_put_borderRightStyle
,
7800 HTMLCSSStyleDeclaration_get_borderRightStyle
,
7801 HTMLCSSStyleDeclaration_put_borderBottomStyle
,
7802 HTMLCSSStyleDeclaration_get_borderBottomStyle
,
7803 HTMLCSSStyleDeclaration_put_borderLeftStyle
,
7804 HTMLCSSStyleDeclaration_get_borderLeftStyle
,
7805 HTMLCSSStyleDeclaration_put_width
,
7806 HTMLCSSStyleDeclaration_get_width
,
7807 HTMLCSSStyleDeclaration_put_height
,
7808 HTMLCSSStyleDeclaration_get_height
,
7809 HTMLCSSStyleDeclaration_put_styleFloat
,
7810 HTMLCSSStyleDeclaration_get_styleFloat
,
7811 HTMLCSSStyleDeclaration_put_clear
,
7812 HTMLCSSStyleDeclaration_get_clear
,
7813 HTMLCSSStyleDeclaration_put_display
,
7814 HTMLCSSStyleDeclaration_get_display
,
7815 HTMLCSSStyleDeclaration_put_visibility
,
7816 HTMLCSSStyleDeclaration_get_visibility
,
7817 HTMLCSSStyleDeclaration_put_listStyleType
,
7818 HTMLCSSStyleDeclaration_get_listStyleType
,
7819 HTMLCSSStyleDeclaration_put_listStylePosition
,
7820 HTMLCSSStyleDeclaration_get_listStylePosition
,
7821 HTMLCSSStyleDeclaration_put_listStyleImage
,
7822 HTMLCSSStyleDeclaration_get_listStyleImage
,
7823 HTMLCSSStyleDeclaration_put_listStyle
,
7824 HTMLCSSStyleDeclaration_get_listStyle
,
7825 HTMLCSSStyleDeclaration_put_whiteSpace
,
7826 HTMLCSSStyleDeclaration_get_whiteSpace
,
7827 HTMLCSSStyleDeclaration_put_top
,
7828 HTMLCSSStyleDeclaration_get_top
,
7829 HTMLCSSStyleDeclaration_put_left
,
7830 HTMLCSSStyleDeclaration_get_left
,
7831 HTMLCSSStyleDeclaration_put_zIndex
,
7832 HTMLCSSStyleDeclaration_get_zIndex
,
7833 HTMLCSSStyleDeclaration_put_overflow
,
7834 HTMLCSSStyleDeclaration_get_overflow
,
7835 HTMLCSSStyleDeclaration_put_pageBreakBefore
,
7836 HTMLCSSStyleDeclaration_get_pageBreakBefore
,
7837 HTMLCSSStyleDeclaration_put_pageBreakAfter
,
7838 HTMLCSSStyleDeclaration_get_pageBreakAfter
,
7839 HTMLCSSStyleDeclaration_put_cssText
,
7840 HTMLCSSStyleDeclaration_get_cssText
,
7841 HTMLCSSStyleDeclaration_put_cursor
,
7842 HTMLCSSStyleDeclaration_get_cursor
,
7843 HTMLCSSStyleDeclaration_put_clip
,
7844 HTMLCSSStyleDeclaration_get_clip
,
7845 HTMLCSSStyleDeclaration_put_filter
,
7846 HTMLCSSStyleDeclaration_get_filter
,
7847 HTMLCSSStyleDeclaration_put_tableLayout
,
7848 HTMLCSSStyleDeclaration_get_tableLayout
,
7849 HTMLCSSStyleDeclaration_put_borderCollapse
,
7850 HTMLCSSStyleDeclaration_get_borderCollapse
,
7851 HTMLCSSStyleDeclaration_put_direction
,
7852 HTMLCSSStyleDeclaration_get_direction
,
7853 HTMLCSSStyleDeclaration_put_behavior
,
7854 HTMLCSSStyleDeclaration_get_behavior
,
7855 HTMLCSSStyleDeclaration_put_position
,
7856 HTMLCSSStyleDeclaration_get_position
,
7857 HTMLCSSStyleDeclaration_put_unicodeBidi
,
7858 HTMLCSSStyleDeclaration_get_unicodeBidi
,
7859 HTMLCSSStyleDeclaration_put_bottom
,
7860 HTMLCSSStyleDeclaration_get_bottom
,
7861 HTMLCSSStyleDeclaration_put_right
,
7862 HTMLCSSStyleDeclaration_get_right
,
7863 HTMLCSSStyleDeclaration_put_imeMode
,
7864 HTMLCSSStyleDeclaration_get_imeMode
,
7865 HTMLCSSStyleDeclaration_put_rubyAlign
,
7866 HTMLCSSStyleDeclaration_get_rubyAlign
,
7867 HTMLCSSStyleDeclaration_put_rubyPosition
,
7868 HTMLCSSStyleDeclaration_get_rubyPosition
,
7869 HTMLCSSStyleDeclaration_put_rubyOverhang
,
7870 HTMLCSSStyleDeclaration_get_rubyOverhang
,
7871 HTMLCSSStyleDeclaration_put_layoutGridChar
,
7872 HTMLCSSStyleDeclaration_get_layoutGridChar
,
7873 HTMLCSSStyleDeclaration_put_layoutGridLine
,
7874 HTMLCSSStyleDeclaration_get_layoutGridLine
,
7875 HTMLCSSStyleDeclaration_put_layoutGridMode
,
7876 HTMLCSSStyleDeclaration_get_layoutGridMode
,
7877 HTMLCSSStyleDeclaration_put_layoutGridType
,
7878 HTMLCSSStyleDeclaration_get_layoutGridType
,
7879 HTMLCSSStyleDeclaration_put_layoutGrid
,
7880 HTMLCSSStyleDeclaration_get_layoutGrid
,
7881 HTMLCSSStyleDeclaration_put_textAutospace
,
7882 HTMLCSSStyleDeclaration_get_textAutospace
,
7883 HTMLCSSStyleDeclaration_put_wordBreak
,
7884 HTMLCSSStyleDeclaration_get_wordBreak
,
7885 HTMLCSSStyleDeclaration_put_lineBreak
,
7886 HTMLCSSStyleDeclaration_get_lineBreak
,
7887 HTMLCSSStyleDeclaration_put_textJustify
,
7888 HTMLCSSStyleDeclaration_get_textJustify
,
7889 HTMLCSSStyleDeclaration_put_textJustifyTrim
,
7890 HTMLCSSStyleDeclaration_get_textJustifyTrim
,
7891 HTMLCSSStyleDeclaration_put_textKashida
,
7892 HTMLCSSStyleDeclaration_get_textKashida
,
7893 HTMLCSSStyleDeclaration_put_overflowX
,
7894 HTMLCSSStyleDeclaration_get_overflowX
,
7895 HTMLCSSStyleDeclaration_put_overflowY
,
7896 HTMLCSSStyleDeclaration_get_overflowY
,
7897 HTMLCSSStyleDeclaration_put_accelerator
,
7898 HTMLCSSStyleDeclaration_get_accelerator
,
7899 HTMLCSSStyleDeclaration_put_layoutFlow
,
7900 HTMLCSSStyleDeclaration_get_layoutFlow
,
7901 HTMLCSSStyleDeclaration_put_zoom
,
7902 HTMLCSSStyleDeclaration_get_zoom
,
7903 HTMLCSSStyleDeclaration_put_wordWrap
,
7904 HTMLCSSStyleDeclaration_get_wordWrap
,
7905 HTMLCSSStyleDeclaration_put_textUnderlinePosition
,
7906 HTMLCSSStyleDeclaration_get_textUnderlinePosition
,
7907 HTMLCSSStyleDeclaration_put_scrollbarBaseColor
,
7908 HTMLCSSStyleDeclaration_get_scrollbarBaseColor
,
7909 HTMLCSSStyleDeclaration_put_scrollbarFaceColor
,
7910 HTMLCSSStyleDeclaration_get_scrollbarFaceColor
,
7911 HTMLCSSStyleDeclaration_put_scrollbar3dLightColor
,
7912 HTMLCSSStyleDeclaration_get_scrollbar3dLightColor
,
7913 HTMLCSSStyleDeclaration_put_scrollbarShadowColor
,
7914 HTMLCSSStyleDeclaration_get_scrollbarShadowColor
,
7915 HTMLCSSStyleDeclaration_put_scrollbarHighlightColor
,
7916 HTMLCSSStyleDeclaration_get_scrollbarHighlightColor
,
7917 HTMLCSSStyleDeclaration_put_scrollbarDarkShadowColor
,
7918 HTMLCSSStyleDeclaration_get_scrollbarDarkShadowColor
,
7919 HTMLCSSStyleDeclaration_put_scrollbarArrowColor
,
7920 HTMLCSSStyleDeclaration_get_scrollbarArrowColor
,
7921 HTMLCSSStyleDeclaration_put_scrollbarTrackColor
,
7922 HTMLCSSStyleDeclaration_get_scrollbarTrackColor
,
7923 HTMLCSSStyleDeclaration_put_writingMode
,
7924 HTMLCSSStyleDeclaration_get_writingMode
,
7925 HTMLCSSStyleDeclaration_put_textAlignLast
,
7926 HTMLCSSStyleDeclaration_get_textAlignLast
,
7927 HTMLCSSStyleDeclaration_put_textKashidaSpace
,
7928 HTMLCSSStyleDeclaration_get_textKashidaSpace
,
7929 HTMLCSSStyleDeclaration_put_textOverflow
,
7930 HTMLCSSStyleDeclaration_get_textOverflow
,
7931 HTMLCSSStyleDeclaration_put_minHeight
,
7932 HTMLCSSStyleDeclaration_get_minHeight
,
7933 HTMLCSSStyleDeclaration_put_msInterpolationMode
,
7934 HTMLCSSStyleDeclaration_get_msInterpolationMode
,
7935 HTMLCSSStyleDeclaration_put_maxHeight
,
7936 HTMLCSSStyleDeclaration_get_maxHeight
,
7937 HTMLCSSStyleDeclaration_put_minWidth
,
7938 HTMLCSSStyleDeclaration_get_minWidth
,
7939 HTMLCSSStyleDeclaration_put_maxWidth
,
7940 HTMLCSSStyleDeclaration_get_maxWidth
,
7941 HTMLCSSStyleDeclaration_put_content
,
7942 HTMLCSSStyleDeclaration_get_content
,
7943 HTMLCSSStyleDeclaration_put_captionSide
,
7944 HTMLCSSStyleDeclaration_get_captionSide
,
7945 HTMLCSSStyleDeclaration_put_counterIncrement
,
7946 HTMLCSSStyleDeclaration_get_counterIncrement
,
7947 HTMLCSSStyleDeclaration_put_counterReset
,
7948 HTMLCSSStyleDeclaration_get_counterReset
,
7949 HTMLCSSStyleDeclaration_put_outline
,
7950 HTMLCSSStyleDeclaration_get_outline
,
7951 HTMLCSSStyleDeclaration_put_outlineWidth
,
7952 HTMLCSSStyleDeclaration_get_outlineWidth
,
7953 HTMLCSSStyleDeclaration_put_outlineStyle
,
7954 HTMLCSSStyleDeclaration_get_outlineStyle
,
7955 HTMLCSSStyleDeclaration_put_outlineColor
,
7956 HTMLCSSStyleDeclaration_get_outlineColor
,
7957 HTMLCSSStyleDeclaration_put_boxSizing
,
7958 HTMLCSSStyleDeclaration_get_boxSizing
,
7959 HTMLCSSStyleDeclaration_put_borderSpacing
,
7960 HTMLCSSStyleDeclaration_get_borderSpacing
,
7961 HTMLCSSStyleDeclaration_put_orphans
,
7962 HTMLCSSStyleDeclaration_get_orphans
,
7963 HTMLCSSStyleDeclaration_put_widows
,
7964 HTMLCSSStyleDeclaration_get_widows
,
7965 HTMLCSSStyleDeclaration_put_pageBreakInside
,
7966 HTMLCSSStyleDeclaration_get_pageBreakInside
,
7967 HTMLCSSStyleDeclaration_put_emptyCells
,
7968 HTMLCSSStyleDeclaration_get_emptyCells
,
7969 HTMLCSSStyleDeclaration_put_msBlockProgression
,
7970 HTMLCSSStyleDeclaration_get_msBlockProgression
,
7971 HTMLCSSStyleDeclaration_put_quotes
,
7972 HTMLCSSStyleDeclaration_get_quotes
,
7973 HTMLCSSStyleDeclaration_put_alignmentBaseline
,
7974 HTMLCSSStyleDeclaration_get_alignmentBaseline
,
7975 HTMLCSSStyleDeclaration_put_baselineShift
,
7976 HTMLCSSStyleDeclaration_get_baselineShift
,
7977 HTMLCSSStyleDeclaration_put_dominantBaseline
,
7978 HTMLCSSStyleDeclaration_get_dominantBaseline
,
7979 HTMLCSSStyleDeclaration_put_fontSizeAdjust
,
7980 HTMLCSSStyleDeclaration_get_fontSizeAdjust
,
7981 HTMLCSSStyleDeclaration_put_fontStretch
,
7982 HTMLCSSStyleDeclaration_get_fontStretch
,
7983 HTMLCSSStyleDeclaration_put_opacity
,
7984 HTMLCSSStyleDeclaration_get_opacity
,
7985 HTMLCSSStyleDeclaration_put_clipPath
,
7986 HTMLCSSStyleDeclaration_get_clipPath
,
7987 HTMLCSSStyleDeclaration_put_clipRule
,
7988 HTMLCSSStyleDeclaration_get_clipRule
,
7989 HTMLCSSStyleDeclaration_put_fill
,
7990 HTMLCSSStyleDeclaration_get_fill
,
7991 HTMLCSSStyleDeclaration_put_fillOpacity
,
7992 HTMLCSSStyleDeclaration_get_fillOpacity
,
7993 HTMLCSSStyleDeclaration_put_fillRule
,
7994 HTMLCSSStyleDeclaration_get_fillRule
,
7995 HTMLCSSStyleDeclaration_put_kerning
,
7996 HTMLCSSStyleDeclaration_get_kerning
,
7997 HTMLCSSStyleDeclaration_put_marker
,
7998 HTMLCSSStyleDeclaration_get_marker
,
7999 HTMLCSSStyleDeclaration_put_markerEnd
,
8000 HTMLCSSStyleDeclaration_get_markerEnd
,
8001 HTMLCSSStyleDeclaration_put_markerMid
,
8002 HTMLCSSStyleDeclaration_get_markerMid
,
8003 HTMLCSSStyleDeclaration_put_markerStart
,
8004 HTMLCSSStyleDeclaration_get_markerStart
,
8005 HTMLCSSStyleDeclaration_put_mask
,
8006 HTMLCSSStyleDeclaration_get_mask
,
8007 HTMLCSSStyleDeclaration_put_pointerEvents
,
8008 HTMLCSSStyleDeclaration_get_pointerEvents
,
8009 HTMLCSSStyleDeclaration_put_stopColor
,
8010 HTMLCSSStyleDeclaration_get_stopColor
,
8011 HTMLCSSStyleDeclaration_put_stopOpacity
,
8012 HTMLCSSStyleDeclaration_get_stopOpacity
,
8013 HTMLCSSStyleDeclaration_put_stroke
,
8014 HTMLCSSStyleDeclaration_get_stroke
,
8015 HTMLCSSStyleDeclaration_put_strokeDasharray
,
8016 HTMLCSSStyleDeclaration_get_strokeDasharray
,
8017 HTMLCSSStyleDeclaration_put_strokeDashoffset
,
8018 HTMLCSSStyleDeclaration_get_strokeDashoffset
,
8019 HTMLCSSStyleDeclaration_put_strokeLinecap
,
8020 HTMLCSSStyleDeclaration_get_strokeLinecap
,
8021 HTMLCSSStyleDeclaration_put_strokeLinejoin
,
8022 HTMLCSSStyleDeclaration_get_strokeLinejoin
,
8023 HTMLCSSStyleDeclaration_put_strokeMiterlimit
,
8024 HTMLCSSStyleDeclaration_get_strokeMiterlimit
,
8025 HTMLCSSStyleDeclaration_put_strokeOpacity
,
8026 HTMLCSSStyleDeclaration_get_strokeOpacity
,
8027 HTMLCSSStyleDeclaration_put_strokeWidth
,
8028 HTMLCSSStyleDeclaration_get_strokeWidth
,
8029 HTMLCSSStyleDeclaration_put_textAnchor
,
8030 HTMLCSSStyleDeclaration_get_textAnchor
,
8031 HTMLCSSStyleDeclaration_put_glyphOrientationHorizontal
,
8032 HTMLCSSStyleDeclaration_get_glyphOrientationHorizontal
,
8033 HTMLCSSStyleDeclaration_put_glyphOrientationVertical
,
8034 HTMLCSSStyleDeclaration_get_glyphOrientationVertical
,
8035 HTMLCSSStyleDeclaration_put_borderRadius
,
8036 HTMLCSSStyleDeclaration_get_borderRadius
,
8037 HTMLCSSStyleDeclaration_put_borderTopLeftRadius
,
8038 HTMLCSSStyleDeclaration_get_borderTopLeftRadius
,
8039 HTMLCSSStyleDeclaration_put_borderTopRightRadius
,
8040 HTMLCSSStyleDeclaration_get_borderTopRightRadius
,
8041 HTMLCSSStyleDeclaration_put_borderBottomRightRadius
,
8042 HTMLCSSStyleDeclaration_get_borderBottomRightRadius
,
8043 HTMLCSSStyleDeclaration_put_borderBottomLeftRadius
,
8044 HTMLCSSStyleDeclaration_get_borderBottomLeftRadius
,
8045 HTMLCSSStyleDeclaration_put_clipTop
,
8046 HTMLCSSStyleDeclaration_get_clipTop
,
8047 HTMLCSSStyleDeclaration_put_clipRight
,
8048 HTMLCSSStyleDeclaration_get_clipRight
,
8049 HTMLCSSStyleDeclaration_get_clipBottom
,
8050 HTMLCSSStyleDeclaration_put_clipLeft
,
8051 HTMLCSSStyleDeclaration_get_clipLeft
,
8052 HTMLCSSStyleDeclaration_put_cssFloat
,
8053 HTMLCSSStyleDeclaration_get_cssFloat
,
8054 HTMLCSSStyleDeclaration_put_backgroundClip
,
8055 HTMLCSSStyleDeclaration_get_backgroundClip
,
8056 HTMLCSSStyleDeclaration_put_backgroundOrigin
,
8057 HTMLCSSStyleDeclaration_get_backgroundOrigin
,
8058 HTMLCSSStyleDeclaration_put_backgroundSize
,
8059 HTMLCSSStyleDeclaration_get_backgroundSize
,
8060 HTMLCSSStyleDeclaration_put_boxShadow
,
8061 HTMLCSSStyleDeclaration_get_boxShadow
,
8062 HTMLCSSStyleDeclaration_put_msTransform
,
8063 HTMLCSSStyleDeclaration_get_msTransform
,
8064 HTMLCSSStyleDeclaration_put_msTransformOrigin
,
8065 HTMLCSSStyleDeclaration_get_msTransformOrigin
8068 static inline CSSStyle
*impl_from_IHTMLCSSStyleDeclaration2(IHTMLCSSStyleDeclaration2
*iface
)
8070 return CONTAINING_RECORD(iface
, CSSStyle
, IHTMLCSSStyleDeclaration2_iface
);
8073 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_QueryInterface(IHTMLCSSStyleDeclaration2
*iface
,
8074 REFIID riid
, void **ppv
)
8076 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8077 return IHTMLCSSStyleDeclaration_QueryInterface(&This
->IHTMLCSSStyleDeclaration_iface
, riid
, ppv
);
8080 static ULONG WINAPI
HTMLCSSStyleDeclaration2_AddRef(IHTMLCSSStyleDeclaration2
*iface
)
8082 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8083 return IHTMLCSSStyleDeclaration_AddRef(&This
->IHTMLCSSStyleDeclaration_iface
);
8086 static ULONG WINAPI
HTMLCSSStyleDeclaration2_Release(IHTMLCSSStyleDeclaration2
*iface
)
8088 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8089 return IHTMLCSSStyleDeclaration_Release(&This
->IHTMLCSSStyleDeclaration_iface
);
8092 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_GetTypeInfoCount(IHTMLCSSStyleDeclaration2
*iface
,
8095 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8096 TRACE("(%p)->(%p)\n", This
, pctinfo
);
8097 return IDispatchEx_GetTypeInfoCount(&This
->dispex
.IDispatchEx_iface
, pctinfo
);
8100 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_GetTypeInfo(IHTMLCSSStyleDeclaration2
*iface
,
8101 UINT iTInfo
, LCID lcid
, ITypeInfo
**ppTInfo
)
8103 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8104 TRACE("(%p)->(%u %u %p)\n", This
, iTInfo
, lcid
, ppTInfo
);
8105 return IDispatchEx_GetTypeInfo(&This
->dispex
.IDispatchEx_iface
, iTInfo
, lcid
, ppTInfo
);
8108 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_GetIDsOfNames(IHTMLCSSStyleDeclaration2
*iface
,
8109 REFIID riid
, LPOLESTR
*rgszNames
, UINT cNames
, LCID lcid
, DISPID
*rgDispId
)
8111 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8112 TRACE("(%p)->(%p %p %u %u %p)\n", This
, riid
, rgszNames
, cNames
, lcid
, rgDispId
);
8113 return IDispatchEx_GetIDsOfNames(&This
->dispex
.IDispatchEx_iface
, riid
, rgszNames
,
8114 cNames
, lcid
, rgDispId
);
8117 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_Invoke(IHTMLCSSStyleDeclaration2
*iface
,
8118 DISPID dispIdMember
, REFIID riid
, LCID lcid
, WORD wFlags
, DISPPARAMS
*pDispParams
,
8119 VARIANT
*pVarResult
, EXCEPINFO
*pExcepInfo
, UINT
*puArgErr
)
8121 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8122 TRACE("(%p)->(%d %p %u %u %p %p %p %p)\n", This
, dispIdMember
, riid
, lcid
, wFlags
,
8123 pDispParams
, pVarResult
, pExcepInfo
, puArgErr
);
8124 return IDispatchEx_Invoke(&This
->dispex
.IDispatchEx_iface
, dispIdMember
, riid
, lcid
,
8125 wFlags
, pDispParams
, pVarResult
, pExcepInfo
, puArgErr
);
8128 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msScrollChaining(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8130 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8131 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8135 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msScrollChaining(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8137 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8138 FIXME("(%p)->(%p)\n", This
, p
);
8142 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msContentZooming(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8144 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8145 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8149 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msContentZooming(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8151 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8152 FIXME("(%p)->(%p)\n", This
, p
);
8156 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msContentZoomSnapType(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8158 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8159 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8163 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msContentZoomSnapType(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8165 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8166 FIXME("(%p)->(%p)\n", This
, p
);
8170 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msScrollRails(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8172 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8173 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8177 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msScrollRails(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8179 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8180 FIXME("(%p)->(%p)\n", This
, p
);
8184 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msContentZoomChaining(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8186 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8187 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8191 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msContentZoomChaining(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8193 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8194 FIXME("(%p)->(%p)\n", This
, p
);
8198 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msScrollSnapType(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8200 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8201 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8205 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msScrollSnapType(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8207 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8208 FIXME("(%p)->(%p)\n", This
, p
);
8212 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msContentZoomLimit(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8214 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8215 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8219 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msContentZoomLimit(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8221 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8222 FIXME("(%p)->(%p)\n", This
, p
);
8226 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msContentZoomSnap(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8228 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8229 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8233 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msContentZoomSnap(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8235 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8236 FIXME("(%p)->(%p)\n", This
, p
);
8240 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msContentZoomSnapPoints(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8242 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8243 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8247 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msContentZoomSnapPoints(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8249 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8250 FIXME("(%p)->(%p)\n", This
, p
);
8254 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msContentZoomLimitMin(IHTMLCSSStyleDeclaration2
*iface
, VARIANT v
)
8256 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8257 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
8261 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msContentZoomLimitMin(IHTMLCSSStyleDeclaration2
*iface
, VARIANT
*p
)
8263 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8264 FIXME("(%p)->(%p)\n", This
, p
);
8268 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msContentZoomLimitMax(IHTMLCSSStyleDeclaration2
*iface
, VARIANT v
)
8270 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8271 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
8275 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msContentZoomLimitMax(IHTMLCSSStyleDeclaration2
*iface
, VARIANT
*p
)
8277 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8278 FIXME("(%p)->(%p)\n", This
, p
);
8282 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msScrollSnapX(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8284 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8285 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8289 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msScrollSnapX(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8291 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8292 FIXME("(%p)->(%p)\n", This
, p
);
8296 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msScrollSnapY(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8298 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8299 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8303 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msScrollSnapY(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8305 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8306 FIXME("(%p)->(%p)\n", This
, p
);
8310 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msScrollSnapPointsX(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8312 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8313 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8317 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msScrollSnapPointsX(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8319 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8320 FIXME("(%p)->(%p)\n", This
, p
);
8324 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msScrollSnapPointsY(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8326 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8327 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8331 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msScrollSnapPointsY(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8333 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8334 FIXME("(%p)->(%p)\n", This
, p
);
8338 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msGridColumn(IHTMLCSSStyleDeclaration2
*iface
, VARIANT v
)
8340 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8341 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
8345 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msGridColumn(IHTMLCSSStyleDeclaration2
*iface
, VARIANT
*p
)
8347 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8348 FIXME("(%p)->(%p)\n", This
, p
);
8352 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msGridColumnAlign(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8354 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8355 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8359 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msGridColumnAlign(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8361 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8362 FIXME("(%p)->(%p)\n", This
, p
);
8366 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msGridColumns(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8368 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8369 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8373 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msGridColumns(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8375 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8376 FIXME("(%p)->(%p)\n", This
, p
);
8380 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msGridColumnSpan(IHTMLCSSStyleDeclaration2
*iface
, VARIANT v
)
8382 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8383 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
8387 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msGridColumnSpan(IHTMLCSSStyleDeclaration2
*iface
, VARIANT
*p
)
8389 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8390 FIXME("(%p)->(%p)\n", This
, p
);
8394 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msGridRow(IHTMLCSSStyleDeclaration2
*iface
, VARIANT v
)
8396 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8397 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
8401 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msGridRow(IHTMLCSSStyleDeclaration2
*iface
, VARIANT
*p
)
8403 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8404 FIXME("(%p)->(%p)\n", This
, p
);
8408 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msGridRowAlign(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8410 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8411 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8415 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msGridRowAlign(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8417 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8418 FIXME("(%p)->(%p)\n", This
, p
);
8422 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msGridRows(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8424 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8425 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8429 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msGridRows(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8431 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8432 FIXME("(%p)->(%p)\n", This
, p
);
8436 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msGridRowSpan(IHTMLCSSStyleDeclaration2
*iface
, VARIANT v
)
8438 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8439 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
8443 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msGridRowSpan(IHTMLCSSStyleDeclaration2
*iface
, VARIANT
*p
)
8445 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8446 FIXME("(%p)->(%p)\n", This
, p
);
8450 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msWrapThrough(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8452 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8453 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8457 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msWrapThrough(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8459 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8460 FIXME("(%p)->(%p)\n", This
, p
);
8464 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msWrapMargin(IHTMLCSSStyleDeclaration2
*iface
, VARIANT v
)
8466 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8467 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
8471 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msWrapMargin(IHTMLCSSStyleDeclaration2
*iface
, VARIANT
*p
)
8473 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8474 FIXME("(%p)->(%p)\n", This
, p
);
8478 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msWrapFlow(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8480 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8481 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8485 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msWrapFlow(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8487 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8488 FIXME("(%p)->(%p)\n", This
, p
);
8492 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msAnimationName(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8494 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8495 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8499 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msAnimationName(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8501 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8502 FIXME("(%p)->(%p)\n", This
, p
);
8506 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msAnimationDuration(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8508 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8509 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8513 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msAnimationDuration(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8515 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8516 FIXME("(%p)->(%p)\n", This
, p
);
8520 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msAnimationTimingFunction(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8522 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8523 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8527 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msAnimationTimingFunction(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8529 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8530 FIXME("(%p)->(%p)\n", This
, p
);
8534 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msAnimationDelay(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8536 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8537 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8541 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msAnimationDelay(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8543 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8544 FIXME("(%p)->(%p)\n", This
, p
);
8548 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msAnimationDirection(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8550 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8551 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8555 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msAnimationDirection(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8557 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8558 FIXME("(%p)->(%p)\n", This
, p
);
8562 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msAnimationPlayState(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8564 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8565 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8569 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msAnimationPlayState(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8571 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8572 FIXME("(%p)->(%p)\n", This
, p
);
8576 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msAnimationIterationCount(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8578 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8579 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8583 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msAnimationIterationCount(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8585 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8586 FIXME("(%p)->(%p)\n", This
, p
);
8590 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msAnimation(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8592 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8593 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8597 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msAnimation(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8599 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8600 FIXME("(%p)->(%p)\n", This
, p
);
8604 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msAnimationFillMode(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8606 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8607 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8611 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msAnimationFillMode(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8613 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8614 FIXME("(%p)->(%p)\n", This
, p
);
8618 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_colorInterpolationFilters(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8620 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8621 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8625 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_colorInterpolationFilters(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8627 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8628 FIXME("(%p)->(%p)\n", This
, p
);
8632 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_columnCount(IHTMLCSSStyleDeclaration2
*iface
, VARIANT v
)
8634 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8635 WARN("(%p)->(%s) semi-stub\n", This
, debugstr_variant(&v
));
8636 return set_style_property_var(This
, STYLEID_COLUMN_COUNT
, &v
);
8639 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_columnCount(IHTMLCSSStyleDeclaration2
*iface
, VARIANT
*p
)
8641 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8642 WARN("(%p)->(%p) semi-stub\n", This
, p
);
8643 return get_style_property_var(This
, STYLEID_COLUMN_COUNT
, p
);
8646 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_columnWidth(IHTMLCSSStyleDeclaration2
*iface
, VARIANT v
)
8648 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8649 WARN("(%p)->(%s) semi-stub\n", This
, debugstr_variant(&v
));
8650 return set_style_property_var(This
, STYLEID_COLUMN_WIDTH
, &v
);
8653 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_columnWidth(IHTMLCSSStyleDeclaration2
*iface
, VARIANT
*p
)
8655 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8656 WARN("(%p)->(%p) semi-stub\n", This
, p
);
8657 return get_style_property_var(This
, STYLEID_COLUMN_WIDTH
, p
);
8660 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_columnGap(IHTMLCSSStyleDeclaration2
*iface
, VARIANT v
)
8662 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8663 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
8664 return set_style_property_var(This
, STYLEID_COLUMN_GAP
, &v
);
8667 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_columnGap(IHTMLCSSStyleDeclaration2
*iface
, VARIANT
*p
)
8669 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8670 TRACE("(%p)->(%p)\n", This
, p
);
8671 return get_style_property_var(This
, STYLEID_COLUMN_GAP
, p
);
8674 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_columnFill(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8676 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8677 WARN("(%p)->(%s) semi-stub\n", This
, debugstr_w(v
));
8678 return set_style_property(This
, STYLEID_COLUMN_FILL
, v
);
8681 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_columnFill(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8683 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8684 WARN("(%p)->(%p) semi-stub\n", This
, p
);
8685 return get_style_property(This
, STYLEID_COLUMN_FILL
, p
);
8688 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_columnSpan(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8690 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8691 WARN("(%p)->(%s) semi-stub\n", This
, debugstr_w(v
));
8692 return set_style_property(This
, STYLEID_COLUMN_SPAN
, v
);
8695 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_columnSpan(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8697 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8698 WARN("(%p)->(%p) semi-stub\n", This
, p
);
8699 return get_style_property(This
, STYLEID_COLUMN_SPAN
, p
);
8702 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_columns(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8704 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8705 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8709 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_columns(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8711 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8712 FIXME("(%p)->(%p)\n", This
, p
);
8716 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_columnRule(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8718 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8719 WARN("(%p)->(%s) semi-stub\n", This
, debugstr_w(v
));
8720 return set_style_property(This
, STYLEID_COLUMN_RULE
, v
);
8723 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_columnRule(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8725 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8726 WARN("(%p)->(%p) semi-stub\n", This
, p
);
8727 return get_style_property(This
, STYLEID_COLUMN_RULE
, p
);
8730 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_columnRuleColor(IHTMLCSSStyleDeclaration2
*iface
, VARIANT v
)
8732 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8733 WARN("(%p)->(%s) semi-stub\n", This
, debugstr_variant(&v
));
8734 return set_style_property_var(This
, STYLEID_COLUMN_RULE_COLOR
, &v
);
8737 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_columnRuleColor(IHTMLCSSStyleDeclaration2
*iface
, VARIANT
*p
)
8739 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8740 WARN("(%p)->(%p) semi-stub\n", This
, p
);
8741 return get_style_property_var(This
, STYLEID_COLUMN_RULE_COLOR
, p
);
8744 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_columnRuleStyle(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8746 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8747 WARN("(%p)->(%s) semi-stub\n", This
, debugstr_w(v
));
8748 return set_style_property(This
, STYLEID_COLUMN_RULE_STYLE
, v
);
8751 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_columnRuleStyle(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8753 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8754 WARN("(%p)->(%p) semi-stub\n", This
, p
);
8755 return get_style_property(This
, STYLEID_COLUMN_RULE_STYLE
, p
);
8758 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_columnRuleWidth(IHTMLCSSStyleDeclaration2
*iface
, VARIANT v
)
8760 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8761 WARN("(%p)->(%s) semi-stub\n", This
, debugstr_variant(&v
));
8762 return set_style_property_var(This
, STYLEID_COLUMN_RULE_WIDTH
, &v
);
8765 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_columnRuleWidth(IHTMLCSSStyleDeclaration2
*iface
, VARIANT
*p
)
8767 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8768 WARN("(%p)->(%p) semi-stub\n", This
, p
);
8769 return get_style_property_var(This
, STYLEID_COLUMN_RULE_WIDTH
, p
);
8772 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_breakBefore(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8774 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8775 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8779 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_breakBefore(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8781 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8782 FIXME("(%p)->(%p)\n", This
, p
);
8786 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_breakAfter(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8788 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8789 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8793 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_breakAfter(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8795 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8796 FIXME("(%p)->(%p)\n", This
, p
);
8800 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_breakInside(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8802 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8803 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8807 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_breakInside(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8809 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8810 FIXME("(%p)->(%p)\n", This
, p
);
8814 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_floodColor(IHTMLCSSStyleDeclaration2
*iface
, VARIANT v
)
8816 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8817 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
8821 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_floodColor(IHTMLCSSStyleDeclaration2
*iface
, VARIANT
*p
)
8823 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8824 FIXME("(%p)->(%p)\n", This
, p
);
8828 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_floodOpacity(IHTMLCSSStyleDeclaration2
*iface
, VARIANT v
)
8830 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8831 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
8835 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_floodOpacity(IHTMLCSSStyleDeclaration2
*iface
, VARIANT
*p
)
8837 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8838 FIXME("(%p)->(%p)\n", This
, p
);
8842 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_lightingColor(IHTMLCSSStyleDeclaration2
*iface
, VARIANT v
)
8844 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8845 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
8849 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_lightingColor(IHTMLCSSStyleDeclaration2
*iface
, VARIANT
*p
)
8851 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8852 FIXME("(%p)->(%p)\n", This
, p
);
8856 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msScrollLimitXMin(IHTMLCSSStyleDeclaration2
*iface
, VARIANT v
)
8858 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8859 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
8863 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msScrollLimitXMin(IHTMLCSSStyleDeclaration2
*iface
, VARIANT
*p
)
8865 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8866 FIXME("(%p)->(%p)\n", This
, p
);
8870 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msScrollLimitYMin(IHTMLCSSStyleDeclaration2
*iface
, VARIANT v
)
8872 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8873 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
8877 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msScrollLimitYMin(IHTMLCSSStyleDeclaration2
*iface
, VARIANT
*p
)
8879 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8880 FIXME("(%p)->(%p)\n", This
, p
);
8884 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msScrollLimitXMax(IHTMLCSSStyleDeclaration2
*iface
, VARIANT v
)
8886 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8887 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
8891 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msScrollLimitXMax(IHTMLCSSStyleDeclaration2
*iface
, VARIANT
*p
)
8893 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8894 FIXME("(%p)->(%p)\n", This
, p
);
8898 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msScrollLimitYMax(IHTMLCSSStyleDeclaration2
*iface
, VARIANT v
)
8900 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8901 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
8905 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msScrollLimitYMax(IHTMLCSSStyleDeclaration2
*iface
, VARIANT
*p
)
8907 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8908 FIXME("(%p)->(%p)\n", This
, p
);
8912 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msScrollLimit(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8914 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8915 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8919 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msScrollLimit(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8921 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8922 FIXME("(%p)->(%p)\n", This
, p
);
8926 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_textShadow(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8928 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8929 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8933 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_textShadow(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8935 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8936 FIXME("(%p)->(%p)\n", This
, p
);
8940 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msFlowFrom(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8942 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8943 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8947 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msFlowFrom(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8949 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8950 FIXME("(%p)->(%p)\n", This
, p
);
8954 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msFlowInto(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8956 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8957 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8961 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msFlowInto(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8963 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8964 FIXME("(%p)->(%p)\n", This
, p
);
8968 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msHyphens(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8970 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8971 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8975 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msHyphens(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8977 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8978 FIXME("(%p)->(%p)\n", This
, p
);
8982 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msHyphenateLimitZone(IHTMLCSSStyleDeclaration2
*iface
, VARIANT v
)
8984 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8985 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
8989 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msHyphenateLimitZone(IHTMLCSSStyleDeclaration2
*iface
, VARIANT
*p
)
8991 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8992 FIXME("(%p)->(%p)\n", This
, p
);
8996 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msHyphenateLimitChars(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8998 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8999 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9003 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msHyphenateLimitChars(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9005 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9006 FIXME("(%p)->(%p)\n", This
, p
);
9010 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msHyphenateLimitLines(IHTMLCSSStyleDeclaration2
*iface
, VARIANT v
)
9012 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9013 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
9017 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msHyphenateLimitLines(IHTMLCSSStyleDeclaration2
*iface
, VARIANT
*p
)
9019 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9020 FIXME("(%p)->(%p)\n", This
, p
);
9024 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msHighContrastAdjust(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9026 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9027 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9031 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msHighContrastAdjust(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9033 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9034 FIXME("(%p)->(%p)\n", This
, p
);
9038 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_enableBackground(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9040 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9041 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9045 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_enableBackground(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9047 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9048 FIXME("(%p)->(%p)\n", This
, p
);
9052 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msFontFeatureSettings(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9054 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9055 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9059 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msFontFeatureSettings(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9061 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9062 FIXME("(%p)->(%p)\n", This
, p
);
9066 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msUserSelect(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9068 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9069 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9073 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msUserSelect(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9075 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9076 FIXME("(%p)->(%p)\n", This
, p
);
9080 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msOverflowStyle(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9082 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9083 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9087 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msOverflowStyle(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9089 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9090 FIXME("(%p)->(%p)\n", This
, p
);
9094 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msTransformStyle(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9096 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9097 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9101 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msTransformStyle(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9103 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9104 FIXME("(%p)->(%p)\n", This
, p
);
9108 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msBackfaceVisibility(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9110 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9111 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9115 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msBackfaceVisibility(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9117 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9118 FIXME("(%p)->(%p)\n", This
, p
);
9122 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msPerspective(IHTMLCSSStyleDeclaration2
*iface
, VARIANT v
)
9124 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9125 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
9129 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msPerspective(IHTMLCSSStyleDeclaration2
*iface
, VARIANT
*p
)
9131 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9132 FIXME("(%p)->(%p)\n", This
, p
);
9136 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msPerspectiveOrigin(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9138 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9139 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9143 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msPerspectiveOrigin(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9145 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9146 FIXME("(%p)->(%p)\n", This
, p
);
9150 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msTransitionProperty(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9152 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9153 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9157 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msTransitionProperty(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9159 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9160 FIXME("(%p)->(%p)\n", This
, p
);
9164 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msTransitionDuration(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9166 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9167 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9171 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msTransitionDuration(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9173 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9174 FIXME("(%p)->(%p)\n", This
, p
);
9178 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msTransitionTimingFunction(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9180 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9181 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9185 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msTransitionTimingFunction(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9187 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9188 FIXME("(%p)->(%p)\n", This
, p
);
9192 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msTransitionDelay(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9194 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9195 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9199 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msTransitionDelay(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9201 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9202 FIXME("(%p)->(%p)\n", This
, p
);
9206 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msTransition(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9208 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9209 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9213 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msTransition(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9215 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9216 FIXME("(%p)->(%p)\n", This
, p
);
9220 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msTouchAction(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9222 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9223 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9227 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msTouchAction(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9229 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9230 FIXME("(%p)->(%p)\n", This
, p
);
9234 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msScrollTranslation(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9236 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9237 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9241 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msScrollTranslation(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9243 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9244 FIXME("(%p)->(%p)\n", This
, p
);
9248 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msFlex(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9250 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9251 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9255 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msFlex(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9257 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9258 FIXME("(%p)->(%p)\n", This
, p
);
9262 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msFlexPositive(IHTMLCSSStyleDeclaration2
*iface
, VARIANT v
)
9264 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9265 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
9269 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msFlexPositive(IHTMLCSSStyleDeclaration2
*iface
, VARIANT
*p
)
9271 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9272 FIXME("(%p)->(%p)\n", This
, p
);
9276 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msFlexNegative(IHTMLCSSStyleDeclaration2
*iface
, VARIANT v
)
9278 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9279 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
9283 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msFlexNegative(IHTMLCSSStyleDeclaration2
*iface
, VARIANT
*p
)
9285 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9286 FIXME("(%p)->(%p)\n", This
, p
);
9290 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msFlexPreferredSize(IHTMLCSSStyleDeclaration2
*iface
, VARIANT v
)
9292 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9293 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
9297 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msFlexPreferredSize(IHTMLCSSStyleDeclaration2
*iface
, VARIANT
*p
)
9299 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9300 FIXME("(%p)->(%p)\n", This
, p
);
9304 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msFlexFlow(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9306 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9307 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9311 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msFlexFlow(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9313 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9314 FIXME("(%p)->(%p)\n", This
, p
);
9318 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msFlexDirection(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9320 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9321 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9325 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msFlexDirection(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9327 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9328 FIXME("(%p)->(%p)\n", This
, p
);
9332 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msFlexWrap(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9334 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9335 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9339 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msFlexWrap(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9341 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9342 FIXME("(%p)->(%p)\n", This
, p
);
9346 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msFlexAlign(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9348 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9349 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9353 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msFlexAlign(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9355 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9356 FIXME("(%p)->(%p)\n", This
, p
);
9360 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msFlexItemAlign(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9362 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9363 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9367 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msFlexItemAlign(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9369 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9370 FIXME("(%p)->(%p)\n", This
, p
);
9374 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msFlexPack(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9376 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9377 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9381 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msFlexPack(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9383 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9384 FIXME("(%p)->(%p)\n", This
, p
);
9388 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msFlexLinePack(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9390 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9391 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9395 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msFlexLinePack(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9397 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9398 FIXME("(%p)->(%p)\n", This
, p
);
9402 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msFlexOrder(IHTMLCSSStyleDeclaration2
*iface
, VARIANT v
)
9404 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9405 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
9409 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msFlexOrder(IHTMLCSSStyleDeclaration2
*iface
, VARIANT
*p
)
9411 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9412 FIXME("(%p)->(%p)\n", This
, p
);
9416 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msTouchSelect(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9418 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9419 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9423 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msTouchSelect(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9425 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9426 FIXME("(%p)->(%p)\n", This
, p
);
9430 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_transform(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9432 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9433 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
9434 return set_style_property(This
, STYLEID_TRANSFORM
, v
);
9437 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_transform(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9439 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9440 TRACE("(%p)->(%p)\n", This
, p
);
9441 return get_style_property(This
, STYLEID_TRANSFORM
, p
);
9444 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_transformOrigin(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9446 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9447 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9451 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_transformOrigin(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9453 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9454 FIXME("(%p)->(%p)\n", This
, p
);
9458 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_transformStyle(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9460 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9461 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9465 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_transformStyle(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9467 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9468 FIXME("(%p)->(%p)\n", This
, p
);
9472 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_backfaceVisibility(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9474 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9475 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9479 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_backfaceVisibility(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9481 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9482 FIXME("(%p)->(%p)\n", This
, p
);
9486 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_perspective(IHTMLCSSStyleDeclaration2
*iface
, VARIANT v
)
9488 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9489 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
9490 return set_style_property_var(This
, STYLEID_PERSPECTIVE
, &v
);
9493 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_perspective(IHTMLCSSStyleDeclaration2
*iface
, VARIANT
*p
)
9495 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9496 TRACE("(%p)->(%p)\n", This
, p
);
9497 return get_style_property_var(This
, STYLEID_PERSPECTIVE
, p
);
9500 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_perspectiveOrigin(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9502 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9503 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9507 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_perspectiveOrigin(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9509 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9510 FIXME("(%p)->(%p)\n", This
, p
);
9514 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_transitionProperty(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9516 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9517 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9521 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_transitionProperty(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9523 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9524 FIXME("(%p)->(%p)\n", This
, p
);
9528 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_transitionDuration(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9530 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9531 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9535 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_transitionDuration(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9537 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9538 FIXME("(%p)->(%p)\n", This
, p
);
9542 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_transitionTimingFunction(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9544 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9545 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9549 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_transitionTimingFunction(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9551 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9552 FIXME("(%p)->(%p)\n", This
, p
);
9556 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_transitionDelay(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9558 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9559 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9563 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_transitionDelay(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9565 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9566 FIXME("(%p)->(%p)\n", This
, p
);
9570 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_transition(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9572 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9573 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
9574 return set_style_property(This
, STYLEID_TRANSITION
, v
);
9577 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_transition(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9579 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9580 TRACE("(%p)->(%p)\n", This
, p
);
9581 return get_style_property(This
, STYLEID_TRANSITION
, p
);
9584 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_fontFeatureSettings(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9586 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9587 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9591 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_fontFeatureSettings(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9593 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9594 FIXME("(%p)->(%p)\n", This
, p
);
9598 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_animationName(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9600 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9601 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
9602 return set_style_property(This
, STYLEID_ANIMATION_NAME
, v
);
9605 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_animationName(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9607 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9608 TRACE("(%p)->(%p)\n", This
, p
);
9609 return get_style_property(This
, STYLEID_ANIMATION_NAME
, p
);
9612 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_animationDuration(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9614 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9615 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9619 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_animationDuration(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9621 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9622 FIXME("(%p)->(%p)\n", This
, p
);
9626 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_animationTimingFunction(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9628 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9629 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9633 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_animationTimingFunction(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9635 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9636 FIXME("(%p)->(%p)\n", This
, p
);
9640 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_animationDelay(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9642 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9643 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9647 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_animationDelay(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9649 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9650 FIXME("(%p)->(%p)\n", This
, p
);
9654 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_animationDirection(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9656 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9657 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9661 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_animationDirection(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9663 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9664 FIXME("(%p)->(%p)\n", This
, p
);
9668 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_animationPlayState(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9670 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9671 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9675 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_animationPlayState(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9677 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9678 FIXME("(%p)->(%p)\n", This
, p
);
9682 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_animationIterationCount(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9684 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9685 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9689 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_animationIterationCount(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9691 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9692 FIXME("(%p)->(%p)\n", This
, p
);
9696 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_animation(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9698 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9699 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
9700 return set_style_property(This
, STYLEID_ANIMATION
, v
);
9703 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_animation(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9705 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9706 TRACE("(%p)->(%p)\n", This
, p
);
9707 return get_style_property(This
, STYLEID_ANIMATION
, p
);
9710 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_animationFillMode(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9712 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9713 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9717 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_animationFillMode(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9719 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9720 FIXME("(%p)->(%p)\n", This
, p
);
9724 static const IHTMLCSSStyleDeclaration2Vtbl HTMLCSSStyleDeclaration2Vtbl
= {
9725 HTMLCSSStyleDeclaration2_QueryInterface
,
9726 HTMLCSSStyleDeclaration2_AddRef
,
9727 HTMLCSSStyleDeclaration2_Release
,
9728 HTMLCSSStyleDeclaration2_GetTypeInfoCount
,
9729 HTMLCSSStyleDeclaration2_GetTypeInfo
,
9730 HTMLCSSStyleDeclaration2_GetIDsOfNames
,
9731 HTMLCSSStyleDeclaration2_Invoke
,
9732 HTMLCSSStyleDeclaration2_put_msScrollChaining
,
9733 HTMLCSSStyleDeclaration2_get_msScrollChaining
,
9734 HTMLCSSStyleDeclaration2_put_msContentZooming
,
9735 HTMLCSSStyleDeclaration2_get_msContentZooming
,
9736 HTMLCSSStyleDeclaration2_put_msContentZoomSnapType
,
9737 HTMLCSSStyleDeclaration2_get_msContentZoomSnapType
,
9738 HTMLCSSStyleDeclaration2_put_msScrollRails
,
9739 HTMLCSSStyleDeclaration2_get_msScrollRails
,
9740 HTMLCSSStyleDeclaration2_put_msContentZoomChaining
,
9741 HTMLCSSStyleDeclaration2_get_msContentZoomChaining
,
9742 HTMLCSSStyleDeclaration2_put_msScrollSnapType
,
9743 HTMLCSSStyleDeclaration2_get_msScrollSnapType
,
9744 HTMLCSSStyleDeclaration2_put_msContentZoomLimit
,
9745 HTMLCSSStyleDeclaration2_get_msContentZoomLimit
,
9746 HTMLCSSStyleDeclaration2_put_msContentZoomSnap
,
9747 HTMLCSSStyleDeclaration2_get_msContentZoomSnap
,
9748 HTMLCSSStyleDeclaration2_put_msContentZoomSnapPoints
,
9749 HTMLCSSStyleDeclaration2_get_msContentZoomSnapPoints
,
9750 HTMLCSSStyleDeclaration2_put_msContentZoomLimitMin
,
9751 HTMLCSSStyleDeclaration2_get_msContentZoomLimitMin
,
9752 HTMLCSSStyleDeclaration2_put_msContentZoomLimitMax
,
9753 HTMLCSSStyleDeclaration2_get_msContentZoomLimitMax
,
9754 HTMLCSSStyleDeclaration2_put_msScrollSnapX
,
9755 HTMLCSSStyleDeclaration2_get_msScrollSnapX
,
9756 HTMLCSSStyleDeclaration2_put_msScrollSnapY
,
9757 HTMLCSSStyleDeclaration2_get_msScrollSnapY
,
9758 HTMLCSSStyleDeclaration2_put_msScrollSnapPointsX
,
9759 HTMLCSSStyleDeclaration2_get_msScrollSnapPointsX
,
9760 HTMLCSSStyleDeclaration2_put_msScrollSnapPointsY
,
9761 HTMLCSSStyleDeclaration2_get_msScrollSnapPointsY
,
9762 HTMLCSSStyleDeclaration2_put_msGridColumn
,
9763 HTMLCSSStyleDeclaration2_get_msGridColumn
,
9764 HTMLCSSStyleDeclaration2_put_msGridColumnAlign
,
9765 HTMLCSSStyleDeclaration2_get_msGridColumnAlign
,
9766 HTMLCSSStyleDeclaration2_put_msGridColumns
,
9767 HTMLCSSStyleDeclaration2_get_msGridColumns
,
9768 HTMLCSSStyleDeclaration2_put_msGridColumnSpan
,
9769 HTMLCSSStyleDeclaration2_get_msGridColumnSpan
,
9770 HTMLCSSStyleDeclaration2_put_msGridRow
,
9771 HTMLCSSStyleDeclaration2_get_msGridRow
,
9772 HTMLCSSStyleDeclaration2_put_msGridRowAlign
,
9773 HTMLCSSStyleDeclaration2_get_msGridRowAlign
,
9774 HTMLCSSStyleDeclaration2_put_msGridRows
,
9775 HTMLCSSStyleDeclaration2_get_msGridRows
,
9776 HTMLCSSStyleDeclaration2_put_msGridRowSpan
,
9777 HTMLCSSStyleDeclaration2_get_msGridRowSpan
,
9778 HTMLCSSStyleDeclaration2_put_msWrapThrough
,
9779 HTMLCSSStyleDeclaration2_get_msWrapThrough
,
9780 HTMLCSSStyleDeclaration2_put_msWrapMargin
,
9781 HTMLCSSStyleDeclaration2_get_msWrapMargin
,
9782 HTMLCSSStyleDeclaration2_put_msWrapFlow
,
9783 HTMLCSSStyleDeclaration2_get_msWrapFlow
,
9784 HTMLCSSStyleDeclaration2_put_msAnimationName
,
9785 HTMLCSSStyleDeclaration2_get_msAnimationName
,
9786 HTMLCSSStyleDeclaration2_put_msAnimationDuration
,
9787 HTMLCSSStyleDeclaration2_get_msAnimationDuration
,
9788 HTMLCSSStyleDeclaration2_put_msAnimationTimingFunction
,
9789 HTMLCSSStyleDeclaration2_get_msAnimationTimingFunction
,
9790 HTMLCSSStyleDeclaration2_put_msAnimationDelay
,
9791 HTMLCSSStyleDeclaration2_get_msAnimationDelay
,
9792 HTMLCSSStyleDeclaration2_put_msAnimationDirection
,
9793 HTMLCSSStyleDeclaration2_get_msAnimationDirection
,
9794 HTMLCSSStyleDeclaration2_put_msAnimationPlayState
,
9795 HTMLCSSStyleDeclaration2_get_msAnimationPlayState
,
9796 HTMLCSSStyleDeclaration2_put_msAnimationIterationCount
,
9797 HTMLCSSStyleDeclaration2_get_msAnimationIterationCount
,
9798 HTMLCSSStyleDeclaration2_put_msAnimation
,
9799 HTMLCSSStyleDeclaration2_get_msAnimation
,
9800 HTMLCSSStyleDeclaration2_put_msAnimationFillMode
,
9801 HTMLCSSStyleDeclaration2_get_msAnimationFillMode
,
9802 HTMLCSSStyleDeclaration2_put_colorInterpolationFilters
,
9803 HTMLCSSStyleDeclaration2_get_colorInterpolationFilters
,
9804 HTMLCSSStyleDeclaration2_put_columnCount
,
9805 HTMLCSSStyleDeclaration2_get_columnCount
,
9806 HTMLCSSStyleDeclaration2_put_columnWidth
,
9807 HTMLCSSStyleDeclaration2_get_columnWidth
,
9808 HTMLCSSStyleDeclaration2_put_columnGap
,
9809 HTMLCSSStyleDeclaration2_get_columnGap
,
9810 HTMLCSSStyleDeclaration2_put_columnFill
,
9811 HTMLCSSStyleDeclaration2_get_columnFill
,
9812 HTMLCSSStyleDeclaration2_put_columnSpan
,
9813 HTMLCSSStyleDeclaration2_get_columnSpan
,
9814 HTMLCSSStyleDeclaration2_put_columns
,
9815 HTMLCSSStyleDeclaration2_get_columns
,
9816 HTMLCSSStyleDeclaration2_put_columnRule
,
9817 HTMLCSSStyleDeclaration2_get_columnRule
,
9818 HTMLCSSStyleDeclaration2_put_columnRuleColor
,
9819 HTMLCSSStyleDeclaration2_get_columnRuleColor
,
9820 HTMLCSSStyleDeclaration2_put_columnRuleStyle
,
9821 HTMLCSSStyleDeclaration2_get_columnRuleStyle
,
9822 HTMLCSSStyleDeclaration2_put_columnRuleWidth
,
9823 HTMLCSSStyleDeclaration2_get_columnRuleWidth
,
9824 HTMLCSSStyleDeclaration2_put_breakBefore
,
9825 HTMLCSSStyleDeclaration2_get_breakBefore
,
9826 HTMLCSSStyleDeclaration2_put_breakAfter
,
9827 HTMLCSSStyleDeclaration2_get_breakAfter
,
9828 HTMLCSSStyleDeclaration2_put_breakInside
,
9829 HTMLCSSStyleDeclaration2_get_breakInside
,
9830 HTMLCSSStyleDeclaration2_put_floodColor
,
9831 HTMLCSSStyleDeclaration2_get_floodColor
,
9832 HTMLCSSStyleDeclaration2_put_floodOpacity
,
9833 HTMLCSSStyleDeclaration2_get_floodOpacity
,
9834 HTMLCSSStyleDeclaration2_put_lightingColor
,
9835 HTMLCSSStyleDeclaration2_get_lightingColor
,
9836 HTMLCSSStyleDeclaration2_put_msScrollLimitXMin
,
9837 HTMLCSSStyleDeclaration2_get_msScrollLimitXMin
,
9838 HTMLCSSStyleDeclaration2_put_msScrollLimitYMin
,
9839 HTMLCSSStyleDeclaration2_get_msScrollLimitYMin
,
9840 HTMLCSSStyleDeclaration2_put_msScrollLimitXMax
,
9841 HTMLCSSStyleDeclaration2_get_msScrollLimitXMax
,
9842 HTMLCSSStyleDeclaration2_put_msScrollLimitYMax
,
9843 HTMLCSSStyleDeclaration2_get_msScrollLimitYMax
,
9844 HTMLCSSStyleDeclaration2_put_msScrollLimit
,
9845 HTMLCSSStyleDeclaration2_get_msScrollLimit
,
9846 HTMLCSSStyleDeclaration2_put_textShadow
,
9847 HTMLCSSStyleDeclaration2_get_textShadow
,
9848 HTMLCSSStyleDeclaration2_put_msFlowFrom
,
9849 HTMLCSSStyleDeclaration2_get_msFlowFrom
,
9850 HTMLCSSStyleDeclaration2_put_msFlowInto
,
9851 HTMLCSSStyleDeclaration2_get_msFlowInto
,
9852 HTMLCSSStyleDeclaration2_put_msHyphens
,
9853 HTMLCSSStyleDeclaration2_get_msHyphens
,
9854 HTMLCSSStyleDeclaration2_put_msHyphenateLimitZone
,
9855 HTMLCSSStyleDeclaration2_get_msHyphenateLimitZone
,
9856 HTMLCSSStyleDeclaration2_put_msHyphenateLimitChars
,
9857 HTMLCSSStyleDeclaration2_get_msHyphenateLimitChars
,
9858 HTMLCSSStyleDeclaration2_put_msHyphenateLimitLines
,
9859 HTMLCSSStyleDeclaration2_get_msHyphenateLimitLines
,
9860 HTMLCSSStyleDeclaration2_put_msHighContrastAdjust
,
9861 HTMLCSSStyleDeclaration2_get_msHighContrastAdjust
,
9862 HTMLCSSStyleDeclaration2_put_enableBackground
,
9863 HTMLCSSStyleDeclaration2_get_enableBackground
,
9864 HTMLCSSStyleDeclaration2_put_msFontFeatureSettings
,
9865 HTMLCSSStyleDeclaration2_get_msFontFeatureSettings
,
9866 HTMLCSSStyleDeclaration2_put_msUserSelect
,
9867 HTMLCSSStyleDeclaration2_get_msUserSelect
,
9868 HTMLCSSStyleDeclaration2_put_msOverflowStyle
,
9869 HTMLCSSStyleDeclaration2_get_msOverflowStyle
,
9870 HTMLCSSStyleDeclaration2_put_msTransformStyle
,
9871 HTMLCSSStyleDeclaration2_get_msTransformStyle
,
9872 HTMLCSSStyleDeclaration2_put_msBackfaceVisibility
,
9873 HTMLCSSStyleDeclaration2_get_msBackfaceVisibility
,
9874 HTMLCSSStyleDeclaration2_put_msPerspective
,
9875 HTMLCSSStyleDeclaration2_get_msPerspective
,
9876 HTMLCSSStyleDeclaration2_put_msPerspectiveOrigin
,
9877 HTMLCSSStyleDeclaration2_get_msPerspectiveOrigin
,
9878 HTMLCSSStyleDeclaration2_put_msTransitionProperty
,
9879 HTMLCSSStyleDeclaration2_get_msTransitionProperty
,
9880 HTMLCSSStyleDeclaration2_put_msTransitionDuration
,
9881 HTMLCSSStyleDeclaration2_get_msTransitionDuration
,
9882 HTMLCSSStyleDeclaration2_put_msTransitionTimingFunction
,
9883 HTMLCSSStyleDeclaration2_get_msTransitionTimingFunction
,
9884 HTMLCSSStyleDeclaration2_put_msTransitionDelay
,
9885 HTMLCSSStyleDeclaration2_get_msTransitionDelay
,
9886 HTMLCSSStyleDeclaration2_put_msTransition
,
9887 HTMLCSSStyleDeclaration2_get_msTransition
,
9888 HTMLCSSStyleDeclaration2_put_msTouchAction
,
9889 HTMLCSSStyleDeclaration2_get_msTouchAction
,
9890 HTMLCSSStyleDeclaration2_put_msScrollTranslation
,
9891 HTMLCSSStyleDeclaration2_get_msScrollTranslation
,
9892 HTMLCSSStyleDeclaration2_put_msFlex
,
9893 HTMLCSSStyleDeclaration2_get_msFlex
,
9894 HTMLCSSStyleDeclaration2_put_msFlexPositive
,
9895 HTMLCSSStyleDeclaration2_get_msFlexPositive
,
9896 HTMLCSSStyleDeclaration2_put_msFlexNegative
,
9897 HTMLCSSStyleDeclaration2_get_msFlexNegative
,
9898 HTMLCSSStyleDeclaration2_put_msFlexPreferredSize
,
9899 HTMLCSSStyleDeclaration2_get_msFlexPreferredSize
,
9900 HTMLCSSStyleDeclaration2_put_msFlexFlow
,
9901 HTMLCSSStyleDeclaration2_get_msFlexFlow
,
9902 HTMLCSSStyleDeclaration2_put_msFlexDirection
,
9903 HTMLCSSStyleDeclaration2_get_msFlexDirection
,
9904 HTMLCSSStyleDeclaration2_put_msFlexWrap
,
9905 HTMLCSSStyleDeclaration2_get_msFlexWrap
,
9906 HTMLCSSStyleDeclaration2_put_msFlexAlign
,
9907 HTMLCSSStyleDeclaration2_get_msFlexAlign
,
9908 HTMLCSSStyleDeclaration2_put_msFlexItemAlign
,
9909 HTMLCSSStyleDeclaration2_get_msFlexItemAlign
,
9910 HTMLCSSStyleDeclaration2_put_msFlexPack
,
9911 HTMLCSSStyleDeclaration2_get_msFlexPack
,
9912 HTMLCSSStyleDeclaration2_put_msFlexLinePack
,
9913 HTMLCSSStyleDeclaration2_get_msFlexLinePack
,
9914 HTMLCSSStyleDeclaration2_put_msFlexOrder
,
9915 HTMLCSSStyleDeclaration2_get_msFlexOrder
,
9916 HTMLCSSStyleDeclaration2_put_msTouchSelect
,
9917 HTMLCSSStyleDeclaration2_get_msTouchSelect
,
9918 HTMLCSSStyleDeclaration2_put_transform
,
9919 HTMLCSSStyleDeclaration2_get_transform
,
9920 HTMLCSSStyleDeclaration2_put_transformOrigin
,
9921 HTMLCSSStyleDeclaration2_get_transformOrigin
,
9922 HTMLCSSStyleDeclaration2_put_transformStyle
,
9923 HTMLCSSStyleDeclaration2_get_transformStyle
,
9924 HTMLCSSStyleDeclaration2_put_backfaceVisibility
,
9925 HTMLCSSStyleDeclaration2_get_backfaceVisibility
,
9926 HTMLCSSStyleDeclaration2_put_perspective
,
9927 HTMLCSSStyleDeclaration2_get_perspective
,
9928 HTMLCSSStyleDeclaration2_put_perspectiveOrigin
,
9929 HTMLCSSStyleDeclaration2_get_perspectiveOrigin
,
9930 HTMLCSSStyleDeclaration2_put_transitionProperty
,
9931 HTMLCSSStyleDeclaration2_get_transitionProperty
,
9932 HTMLCSSStyleDeclaration2_put_transitionDuration
,
9933 HTMLCSSStyleDeclaration2_get_transitionDuration
,
9934 HTMLCSSStyleDeclaration2_put_transitionTimingFunction
,
9935 HTMLCSSStyleDeclaration2_get_transitionTimingFunction
,
9936 HTMLCSSStyleDeclaration2_put_transitionDelay
,
9937 HTMLCSSStyleDeclaration2_get_transitionDelay
,
9938 HTMLCSSStyleDeclaration2_put_transition
,
9939 HTMLCSSStyleDeclaration2_get_transition
,
9940 HTMLCSSStyleDeclaration2_put_fontFeatureSettings
,
9941 HTMLCSSStyleDeclaration2_get_fontFeatureSettings
,
9942 HTMLCSSStyleDeclaration2_put_animationName
,
9943 HTMLCSSStyleDeclaration2_get_animationName
,
9944 HTMLCSSStyleDeclaration2_put_animationDuration
,
9945 HTMLCSSStyleDeclaration2_get_animationDuration
,
9946 HTMLCSSStyleDeclaration2_put_animationTimingFunction
,
9947 HTMLCSSStyleDeclaration2_get_animationTimingFunction
,
9948 HTMLCSSStyleDeclaration2_put_animationDelay
,
9949 HTMLCSSStyleDeclaration2_get_animationDelay
,
9950 HTMLCSSStyleDeclaration2_put_animationDirection
,
9951 HTMLCSSStyleDeclaration2_get_animationDirection
,
9952 HTMLCSSStyleDeclaration2_put_animationPlayState
,
9953 HTMLCSSStyleDeclaration2_get_animationPlayState
,
9954 HTMLCSSStyleDeclaration2_put_animationIterationCount
,
9955 HTMLCSSStyleDeclaration2_get_animationIterationCount
,
9956 HTMLCSSStyleDeclaration2_put_animation
,
9957 HTMLCSSStyleDeclaration2_get_animation
,
9958 HTMLCSSStyleDeclaration2_put_animationFillMode
,
9959 HTMLCSSStyleDeclaration2_get_animationFillMode
9962 static inline CSSStyle
*impl_from_DispatchEx(DispatchEx
*dispex
)
9964 return CONTAINING_RECORD(dispex
, CSSStyle
, dispex
);
9967 static HRESULT
CSSStyle_get_dispid(DispatchEx
*dispex
, BSTR name
, DWORD flags
, DISPID
*dispid
)
9969 CSSStyle
*This
= impl_from_DispatchEx(dispex
);
9970 const style_tbl_entry_t
*style_entry
;
9972 style_entry
= lookup_style_tbl(This
, name
);
9974 DISPID id
= dispex_compat_mode(dispex
) >= COMPAT_MODE_IE9
9975 ? style_entry
->dispid
: style_entry
->compat_dispid
;
9976 if(id
== DISPID_UNKNOWN
)
9977 return DISP_E_UNKNOWNNAME
;
9983 return DISP_E_UNKNOWNNAME
;
9986 void CSSStyle_init_dispex_info(dispex_data_t
*info
, compat_mode_t mode
)
9988 if(mode
>= COMPAT_MODE_IE9
)
9989 dispex_info_add_interface(info
, IHTMLCSSStyleDeclaration_tid
, NULL
);
9990 if(mode
>= COMPAT_MODE_IE10
)
9991 dispex_info_add_interface(info
, IHTMLCSSStyleDeclaration2_tid
, NULL
);
9994 const dispex_static_data_vtbl_t CSSStyle_dispex_vtbl
= {
9996 CSSStyle_get_dispid
,
10001 static const tid_t HTMLStyle_iface_tids
[] = {
10010 static dispex_static_data_t HTMLStyle_dispex
= {
10011 L
"MSStyleCSSProperties",
10012 &CSSStyle_dispex_vtbl
,
10014 HTMLStyle_iface_tids
,
10015 CSSStyle_init_dispex_info
10018 static HRESULT
get_style_from_elem(HTMLElement
*elem
, nsIDOMCSSStyleDeclaration
**ret
)
10020 nsIDOMElementCSSInlineStyle
*nselemstyle
;
10021 nsIDOMSVGElement
*svg_element
;
10024 if(!elem
->dom_element
) {
10025 FIXME("comment element\n");
10029 nsres
= nsIDOMElement_QueryInterface(elem
->dom_element
, &IID_nsIDOMElementCSSInlineStyle
,
10030 (void**)&nselemstyle
);
10031 if(NS_SUCCEEDED(nsres
)) {
10032 nsres
= nsIDOMElementCSSInlineStyle_GetStyle(nselemstyle
, ret
);
10033 nsIDOMElementCSSInlineStyle_Release(nselemstyle
);
10034 if(NS_FAILED(nsres
)) {
10035 ERR("GetStyle failed: %08x\n", nsres
);
10041 nsres
= nsIDOMElement_QueryInterface(elem
->dom_element
, &IID_nsIDOMSVGElement
, (void**)&svg_element
);
10042 if(NS_SUCCEEDED(nsres
)) {
10043 nsres
= nsIDOMSVGElement_GetStyle(svg_element
, ret
);
10044 nsIDOMSVGElement_Release(svg_element
);
10045 if(NS_FAILED(nsres
)) {
10046 ERR("GetStyle failed: %08x\n", nsres
);
10052 FIXME("Unsupported element type\n");
10056 void init_css_style(CSSStyle
*style
, nsIDOMCSSStyleDeclaration
*nsstyle
, style_qi_t qi
,
10057 dispex_static_data_t
*dispex_info
, compat_mode_t compat_mode
)
10059 style
->IHTMLCSSStyleDeclaration_iface
.lpVtbl
= &HTMLCSSStyleDeclarationVtbl
;
10060 style
->IHTMLCSSStyleDeclaration2_iface
.lpVtbl
= &HTMLCSSStyleDeclaration2Vtbl
;
10063 style
->nsstyle
= nsstyle
;
10064 nsIDOMCSSStyleDeclaration_AddRef(nsstyle
);
10066 init_dispatch(&style
->dispex
, (IUnknown
*)&style
->IHTMLCSSStyleDeclaration_iface
,
10067 dispex_info
, compat_mode
);
10070 HRESULT
HTMLStyle_Create(HTMLElement
*elem
, HTMLStyle
**ret
)
10072 nsIDOMCSSStyleDeclaration
*nsstyle
;
10076 hres
= get_style_from_elem(elem
, &nsstyle
);
10080 style
= heap_alloc_zero(sizeof(HTMLStyle
));
10082 nsIDOMCSSStyleDeclaration_Release(nsstyle
);
10083 return E_OUTOFMEMORY
;
10086 style
->IHTMLStyle_iface
.lpVtbl
= &HTMLStyleVtbl
;
10087 style
->IHTMLStyle2_iface
.lpVtbl
= &HTMLStyle2Vtbl
;
10088 style
->IHTMLStyle3_iface
.lpVtbl
= &HTMLStyle3Vtbl
;
10089 style
->IHTMLStyle4_iface
.lpVtbl
= &HTMLStyle4Vtbl
;
10090 style
->IHTMLStyle5_iface
.lpVtbl
= &HTMLStyle5Vtbl
;
10091 style
->IHTMLStyle6_iface
.lpVtbl
= &HTMLStyle6Vtbl
;
10093 style
->elem
= elem
;
10095 init_css_style(&style
->css_style
, nsstyle
, HTMLStyle_QI
, &HTMLStyle_dispex
,
10096 dispex_compat_mode(&elem
->node
.event_target
.dispex
));
10102 static const tid_t HTMLW3CComputedStyle_iface_tids
[] = {
10105 static dispex_static_data_t HTMLW3CComputedStyle_dispex
= {
10106 L
"CSSStyleDeclaration",
10107 &CSSStyle_dispex_vtbl
,
10108 DispHTMLW3CComputedStyle_tid
,
10109 HTMLW3CComputedStyle_iface_tids
,
10110 CSSStyle_init_dispex_info
10113 HRESULT
create_computed_style(nsIDOMCSSStyleDeclaration
*nsstyle
, compat_mode_t compat_mode
, IHTMLCSSStyleDeclaration
**p
)
10117 if(!(style
= heap_alloc_zero(sizeof(*style
))))
10118 return E_OUTOFMEMORY
;
10120 init_css_style(style
, nsstyle
, NULL
, &HTMLW3CComputedStyle_dispex
, compat_mode
);
10121 *p
= &style
->IHTMLCSSStyleDeclaration_iface
;
10125 HRESULT
get_elem_style(HTMLElement
*elem
, styleid_t styleid
, BSTR
*ret
)
10127 nsIDOMCSSStyleDeclaration
*style
;
10130 hres
= get_style_from_elem(elem
, &style
);
10134 hres
= get_nsstyle_property(style
, styleid
, COMPAT_MODE_IE11
, ret
);
10135 nsIDOMCSSStyleDeclaration_Release(style
);
10139 HRESULT
set_elem_style(HTMLElement
*elem
, styleid_t styleid
, const WCHAR
*val
)
10141 nsIDOMCSSStyleDeclaration
*style
;
10142 nsAString value_str
;
10145 hres
= get_style_from_elem(elem
, &style
);
10149 nsAString_InitDepend(&value_str
, val
);
10150 hres
= set_nsstyle_property(style
, styleid
, &value_str
);
10151 nsAString_Finish(&value_str
);
10152 nsIDOMCSSStyleDeclaration_Release(style
);