2 * Copyright 2006 Jacek Caban for CodeWeavers
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
30 #include "mshtml_private.h"
31 #include "htmlstyle.h"
33 #include "wine/debug.h"
35 WINE_DEFAULT_DEBUG_CHANNEL(mshtml
);
37 static const WCHAR
*font_style_values
[] = {
44 static const WCHAR
*font_variant_values
[] = {
50 static const WCHAR
*font_weight_values
[] = {
67 static const WCHAR
*background_repeat_values
[] = {
75 static const WCHAR
*text_decoration_values
[] = {
84 static const WCHAR
*border_style_values
[] = {
97 static const WCHAR
*overflow_values
[] = {
105 #define ATTR_FIX_PX 0x0001
106 #define ATTR_FIX_URL 0x0002
107 #define ATTR_STR_TO_INT 0x0004
108 #define ATTR_HEX_INT 0x0008
109 #define ATTR_REMOVE_COMMA 0x0010
110 #define ATTR_NO_NULL 0x0020
111 #define ATTR_COMPAT_IE10 0x0040
116 DISPID compat_dispid
;
118 const WCHAR
**allowed_values
;
121 static const style_tbl_entry_t style_tbl
[] = {
124 DISPID_IHTMLCSSSTYLEDECLARATION2_ANIMATION
,
130 DISPID_IHTMLCSSSTYLEDECLARATION2_ANIMATIONNAME
,
136 DISPID_IHTMLCSSSTYLEDECLARATION_BACKGROUND
,
140 L
"background-attachment",
141 DISPID_IHTMLCSSSTYLEDECLARATION_BACKGROUNDATTACHMENT
,
142 DISPID_A_BACKGROUNDATTACHMENT
146 DISPID_IHTMLCSSSTYLEDECLARATION_BACKGROUNDCLIP
,
151 DISPID_IHTMLCSSSTYLEDECLARATION_BACKGROUNDCOLOR
,
157 DISPID_IHTMLCSSSTYLEDECLARATION_BACKGROUNDIMAGE
,
158 DISPID_A_BACKGROUNDIMAGE
,
162 L
"background-position",
163 DISPID_IHTMLCSSSTYLEDECLARATION_BACKGROUNDPOSITION
,
164 DISPID_A_BACKGROUNDPOSITION
167 L
"background-position-x",
168 DISPID_IHTMLCSSSTYLEDECLARATION_BACKGROUNDPOSITIONX
,
169 DISPID_A_BACKGROUNDPOSX
,
173 L
"background-position-y",
174 DISPID_IHTMLCSSSTYLEDECLARATION_BACKGROUNDPOSITIONY
,
175 DISPID_A_BACKGROUNDPOSY
,
179 L
"background-repeat",
180 DISPID_IHTMLCSSSTYLEDECLARATION_BACKGROUNDREPEAT
,
181 DISPID_A_BACKGROUNDREPEAT
,
182 0, background_repeat_values
186 DISPID_IHTMLCSSSTYLEDECLARATION_BACKGROUNDSIZE
,
187 DISPID_A_IE9_BACKGROUNDSIZE
,
191 DISPID_IHTMLCSSSTYLEDECLARATION_BORDER
,
196 DISPID_IHTMLCSSSTYLEDECLARATION_BORDERBOTTOM
,
197 DISPID_A_BORDERBOTTOM
,
201 L
"border-bottom-color",
202 DISPID_IHTMLCSSSTYLEDECLARATION_BORDERBOTTOMCOLOR
,
203 DISPID_A_BORDERBOTTOMCOLOR
,
207 L
"border-bottom-style",
208 DISPID_IHTMLCSSSTYLEDECLARATION_BORDERBOTTOMSTYLE
,
209 DISPID_A_BORDERBOTTOMSTYLE
,
210 0, border_style_values
213 L
"border-bottom-width",
214 DISPID_IHTMLCSSSTYLEDECLARATION_BORDERBOTTOMWIDTH
,
215 DISPID_A_BORDERBOTTOMWIDTH
,
220 DISPID_IHTMLCSSSTYLEDECLARATION_BORDERCOLLAPSE
,
221 DISPID_A_BORDERCOLLAPSE
225 DISPID_IHTMLCSSSTYLEDECLARATION_BORDERCOLOR
,
230 DISPID_IHTMLCSSSTYLEDECLARATION_BORDERLEFT
,
235 L
"border-left-color",
236 DISPID_IHTMLCSSSTYLEDECLARATION_BORDERLEFTCOLOR
,
237 DISPID_A_BORDERLEFTCOLOR
,
241 L
"border-left-style",
242 DISPID_IHTMLCSSSTYLEDECLARATION_BORDERLEFTSTYLE
,
243 DISPID_A_BORDERLEFTSTYLE
,
244 0, border_style_values
247 L
"border-left-width",
248 DISPID_IHTMLCSSSTYLEDECLARATION_BORDERLEFTWIDTH
,
249 DISPID_A_BORDERLEFTWIDTH
,
254 DISPID_IHTMLCSSSTYLEDECLARATION_BORDERRIGHT
,
255 DISPID_A_BORDERRIGHT
,
259 L
"border-right-color",
260 DISPID_IHTMLCSSSTYLEDECLARATION_BORDERRIGHTCOLOR
,
261 DISPID_A_BORDERRIGHTCOLOR
,
265 L
"border-right-style",
266 DISPID_IHTMLCSSSTYLEDECLARATION_BORDERRIGHTSTYLE
,
267 DISPID_A_BORDERRIGHTSTYLE
,
268 0, border_style_values
271 L
"border-right-width",
272 DISPID_IHTMLCSSSTYLEDECLARATION_BORDERRIGHTWIDTH
,
273 DISPID_A_BORDERRIGHTWIDTH
,
278 DISPID_IHTMLCSSSTYLEDECLARATION_BORDERSPACING
,
279 DISPID_A_BORDERSPACING
283 DISPID_IHTMLCSSSTYLEDECLARATION_BORDERSTYLE
,
288 DISPID_IHTMLCSSSTYLEDECLARATION_BORDERTOP
,
294 DISPID_IHTMLCSSSTYLEDECLARATION_BORDERTOPCOLOR
,
295 DISPID_A_BORDERTOPCOLOR
,
300 DISPID_IHTMLCSSSTYLEDECLARATION_BORDERTOPSTYLE
,
301 DISPID_A_BORDERTOPSTYLE
,
302 0, border_style_values
306 DISPID_IHTMLCSSSTYLEDECLARATION_BORDERTOPWIDTH
,
307 DISPID_A_BORDERTOPWIDTH
311 DISPID_IHTMLCSSSTYLEDECLARATION_BORDERWIDTH
,
316 DISPID_IHTMLCSSSTYLEDECLARATION_BOTTOM
,
317 STDPROPID_XOBJ_BOTTOM
,
322 DISPID_IHTMLCSSSTYLEDECLARATION_BOXSIZING
,
327 DISPID_IHTMLCSSSTYLEDECLARATION_CLEAR
,
332 DISPID_IHTMLCSSSTYLEDECLARATION_CLIP
,
338 DISPID_IHTMLCSSSTYLEDECLARATION_COLOR
,
344 DISPID_IHTMLCSSSTYLEDECLARATION2_COLUMNCOUNT
,
350 DISPID_IHTMLCSSSTYLEDECLARATION2_COLUMNFILL
,
356 DISPID_IHTMLCSSSTYLEDECLARATION2_COLUMNGAP
,
362 DISPID_IHTMLCSSSTYLEDECLARATION2_COLUMNRULE
,
367 L
"column-rule-color",
368 DISPID_IHTMLCSSSTYLEDECLARATION2_COLUMNRULECOLOR
,
373 L
"column-rule-style",
374 DISPID_IHTMLCSSSTYLEDECLARATION2_COLUMNRULESTYLE
,
379 L
"column-rule-width",
380 DISPID_IHTMLCSSSTYLEDECLARATION2_COLUMNRULEWIDTH
,
386 DISPID_IHTMLCSSSTYLEDECLARATION2_COLUMNSPAN
,
392 DISPID_IHTMLCSSSTYLEDECLARATION2_COLUMNWIDTH
,
398 DISPID_IHTMLCSSSTYLEDECLARATION_CURSOR
,
403 DISPID_IHTMLCSSSTYLEDECLARATION_DIRECTION
,
408 DISPID_IHTMLCSSSTYLEDECLARATION_DISPLAY
,
413 DISPID_IHTMLCSSSTYLEDECLARATION_FILTER
,
418 DISPID_IHTMLCSSSTYLEDECLARATION_CSSFLOAT
,
423 DISPID_IHTMLCSSSTYLEDECLARATION_FONTFAMILY
,
428 DISPID_IHTMLCSSSTYLEDECLARATION_FONTSIZE
,
434 DISPID_IHTMLCSSSTYLEDECLARATION_FONTSTYLE
,
440 DISPID_IHTMLCSSSTYLEDECLARATION_FONTVARIANT
,
441 DISPID_A_FONTVARIANT
,
442 0, font_variant_values
446 DISPID_IHTMLCSSSTYLEDECLARATION_FONTWEIGHT
,
448 ATTR_STR_TO_INT
, font_weight_values
452 DISPID_IHTMLCSSSTYLEDECLARATION_HEIGHT
,
453 STDPROPID_XOBJ_HEIGHT
,
458 DISPID_IHTMLCSSSTYLEDECLARATION_LEFT
,
463 DISPID_IHTMLCSSSTYLEDECLARATION_LETTERSPACING
,
464 DISPID_A_LETTERSPACING
468 DISPID_IHTMLCSSSTYLEDECLARATION_LINEHEIGHT
,
473 DISPID_IHTMLCSSSTYLEDECLARATION_LISTSTYLE
,
477 L
"list-style-position",
478 DISPID_IHTMLCSSSTYLEDECLARATION_LISTSTYLEPOSITION
,
479 DISPID_A_LISTSTYLEPOSITION
483 DISPID_IHTMLCSSSTYLEDECLARATION_LISTSTYLETYPE
,
484 DISPID_A_LISTSTYLETYPE
488 DISPID_IHTMLCSSSTYLEDECLARATION_MARGIN
,
493 DISPID_IHTMLCSSSTYLEDECLARATION_MARGINBOTTOM
,
494 DISPID_A_MARGINBOTTOM
,
499 DISPID_IHTMLCSSSTYLEDECLARATION_MARGINLEFT
,
505 DISPID_IHTMLCSSSTYLEDECLARATION_MARGINRIGHT
,
506 DISPID_A_MARGINRIGHT
,
511 DISPID_IHTMLCSSSTYLEDECLARATION_MARGINTOP
,
517 DISPID_IHTMLCSSSTYLEDECLARATION_MAXHEIGHT
,
523 DISPID_IHTMLCSSSTYLEDECLARATION_MAXWIDTH
,
529 DISPID_IHTMLCSSSTYLEDECLARATION_MINHEIGHT
,
534 DISPID_IHTMLCSSSTYLEDECLARATION_MINWIDTH
,
540 DISPID_IHTMLCSSSTYLEDECLARATION_OPACITY
,
545 DISPID_IHTMLCSSSTYLEDECLARATION_OUTLINE
,
551 DISPID_IHTMLCSSSTYLEDECLARATION_OVERFLOW
,
557 DISPID_IHTMLCSSSTYLEDECLARATION_OVERFLOWX
,
562 DISPID_IHTMLCSSSTYLEDECLARATION_OVERFLOWY
,
567 DISPID_IHTMLCSSSTYLEDECLARATION_PADDING
,
572 DISPID_IHTMLCSSSTYLEDECLARATION_PADDINGBOTTOM
,
573 DISPID_A_PADDINGBOTTOM
,
578 DISPID_IHTMLCSSSTYLEDECLARATION_PADDINGLEFT
,
579 DISPID_A_PADDINGLEFT
,
584 DISPID_IHTMLCSSSTYLEDECLARATION_PADDINGRIGHT
,
585 DISPID_A_PADDINGRIGHT
,
590 DISPID_IHTMLCSSSTYLEDECLARATION_PADDINGTOP
,
596 DISPID_IHTMLCSSSTYLEDECLARATION_PAGEBREAKAFTER
,
597 DISPID_A_PAGEBREAKAFTER
600 L
"page-break-before",
601 DISPID_IHTMLCSSSTYLEDECLARATION_PAGEBREAKBEFORE
,
602 DISPID_A_PAGEBREAKBEFORE
606 DISPID_IHTMLCSSSTYLEDECLARATION2_PERSPECTIVE
,
611 DISPID_IHTMLCSSSTYLEDECLARATION_POSITION
,
616 DISPID_IHTMLCSSSTYLEDECLARATION_RIGHT
,
621 DISPID_IHTMLCSSSTYLEDECLARATION_TABLELAYOUT
,
626 DISPID_IHTMLCSSSTYLEDECLARATION_TEXTALIGN
,
627 STDPROPID_XOBJ_BLOCKALIGN
631 DISPID_IHTMLCSSSTYLEDECLARATION_TEXTDECORATION
,
632 DISPID_A_TEXTDECORATION
,
633 0, text_decoration_values
637 DISPID_IHTMLCSSSTYLEDECLARATION_TEXTINDENT
,
643 DISPID_IHTMLCSSSTYLEDECLARATION_TEXTTRANSFORM
,
644 DISPID_A_TEXTTRANSFORM
648 DISPID_IHTMLCSSSTYLEDECLARATION_TOP
,
653 DISPID_IHTMLCSSSTYLEDECLARATION2_TRANSFORM
,
659 DISPID_IHTMLCSSSTYLEDECLARATION2_TRANSITION
,
665 DISPID_IHTMLCSSSTYLEDECLARATION_VERTICALALIGN
,
666 DISPID_A_VERTICALALIGN
,
671 DISPID_IHTMLCSSSTYLEDECLARATION_VISIBILITY
,
676 DISPID_IHTMLCSSSTYLEDECLARATION_WHITESPACE
,
681 DISPID_IHTMLCSSSTYLEDECLARATION_WIDTH
,
682 STDPROPID_XOBJ_WIDTH
,
687 DISPID_IHTMLCSSSTYLEDECLARATION_WORDSPACING
,
692 DISPID_IHTMLCSSSTYLEDECLARATION_WORDWRAP
,
697 DISPID_IHTMLCSSSTYLEDECLARATION_ZINDEX
,
703 C_ASSERT(ARRAY_SIZE(style_tbl
) == STYLEID_MAX_VALUE
);
705 static const style_tbl_entry_t
*lookup_style_tbl(CSSStyle
*style
, const WCHAR
*name
)
707 int c
, i
, min
= 0, max
= ARRAY_SIZE(style_tbl
)-1;
712 c
= wcscmp(style_tbl
[i
].name
, name
);
714 if((style_tbl
[i
].flags
& ATTR_COMPAT_IE10
) && dispex_compat_mode(&style
->dispex
) < COMPAT_MODE_IE10
)
728 static void fix_px_value(nsAString
*nsstr
)
730 const WCHAR
*val
, *ptr
;
732 nsAString_GetData(nsstr
, &val
);
736 while(*ptr
&& iswspace(*ptr
))
741 while(*ptr
&& is_digit(*ptr
))
744 if(!*ptr
|| iswspace(*ptr
)) {
746 int len
= lstrlenW(val
)+1;
748 ret
= malloc((len
+ 2) * sizeof(WCHAR
));
749 memcpy(ret
, val
, (ptr
-val
)*sizeof(WCHAR
));
755 TRACE("fixed %s -> %s\n", debugstr_w(val
), debugstr_w(ret
));
757 nsAString_SetData(nsstr
, ret
);
762 while(*ptr
&& !iswspace(*ptr
))
767 static LPWSTR
fix_url_value(LPCWSTR val
)
771 static const WCHAR urlW
[] = {'u','r','l','('};
773 if(wcsncmp(val
, urlW
, ARRAY_SIZE(urlW
)) || !wcschr(val
, '\\'))
778 for(ptr
= ret
; *ptr
; ptr
++) {
786 static HRESULT
set_nsstyle_property(nsIDOMCSSStyleDeclaration
*nsstyle
, styleid_t sid
, const nsAString
*value
)
788 nsAString str_name
, str_empty
;
791 nsAString_InitDepend(&str_name
, style_tbl
[sid
].name
);
792 nsAString_InitDepend(&str_empty
, L
"");
793 nsres
= nsIDOMCSSStyleDeclaration_SetProperty(nsstyle
, &str_name
, value
, &str_empty
);
794 nsAString_Finish(&str_name
);
795 nsAString_Finish(&str_empty
);
797 WARN("SetProperty failed: %08lx\n", nsres
);
798 return map_nsresult(nsres
);
801 static HRESULT
var_to_styleval(CSSStyle
*style
, VARIANT
*v
, const style_tbl_entry_t
*entry
, nsAString
*nsstr
)
804 unsigned flags
= entry
&& dispex_compat_mode(&style
->dispex
) < COMPAT_MODE_IE9
807 hres
= variant_to_nsstr(v
, !!(flags
& ATTR_HEX_INT
), nsstr
);
808 if(SUCCEEDED(hres
) && (flags
& ATTR_FIX_PX
))
813 static inline HRESULT
set_style_property(CSSStyle
*style
, styleid_t sid
, const WCHAR
*value
)
820 if(value
&& *value
&& dispex_compat_mode(&style
->dispex
) < COMPAT_MODE_IE9
) {
821 flags
= style_tbl
[sid
].flags
;
823 if(style_tbl
[sid
].allowed_values
) {
825 for(iter
= style_tbl
[sid
].allowed_values
; *iter
; iter
++) {
826 if(!wcsicmp(*iter
, value
))
830 WARN("invalid value %s\n", debugstr_w(value
));
831 nsAString_InitDepend(&value_str
, L
"");
832 set_nsstyle_property(style
->nsstyle
, sid
, &value_str
);
833 nsAString_Finish(&value_str
);
838 if(flags
& ATTR_FIX_URL
)
839 val
= fix_url_value(value
);
842 nsAString_InitDepend(&value_str
, val
? val
: value
);
843 if(flags
& ATTR_FIX_PX
)
844 fix_px_value(&value_str
);
845 hres
= set_nsstyle_property(style
->nsstyle
, sid
, &value_str
);
846 nsAString_Finish(&value_str
);
851 static HRESULT
set_style_property_var(CSSStyle
*style
, styleid_t sid
, VARIANT
*value
)
856 hres
= var_to_styleval(style
, value
, &style_tbl
[sid
], &val
);
860 hres
= set_nsstyle_property(style
->nsstyle
, sid
, &val
);
861 nsAString_Finish(&val
);
865 static HRESULT
get_nsstyle_attr_nsval(nsIDOMCSSStyleDeclaration
*nsstyle
, styleid_t sid
, nsAString
*value
)
870 nsAString_InitDepend(&str_name
, style_tbl
[sid
].name
);
871 nsres
= nsIDOMCSSStyleDeclaration_GetPropertyValue(nsstyle
, &str_name
, value
);
872 nsAString_Finish(&str_name
);
874 WARN("GetPropertyValue failed: %08lx\n", nsres
);
875 return map_nsresult(nsres
);
878 static HRESULT
nsstyle_to_bstr(const WCHAR
*val
, DWORD flags
, BSTR
*p
)
884 *p
= (flags
& ATTR_NO_NULL
) ? SysAllocStringLen(NULL
, 0) : NULL
;
888 ret
= SysAllocString(val
);
890 return E_OUTOFMEMORY
;
892 len
= SysStringLen(ret
);
894 if(flags
& ATTR_REMOVE_COMMA
) {
898 for(ptr
= ret
; (ptr
= wcschr(ptr
, ',')); ptr
++)
904 new_ret
= SysAllocStringLen(NULL
, new_len
);
907 return E_OUTOFMEMORY
;
910 for(ptr2
= new_ret
, ptr
= ret
; *ptr
; ptr
++) {
924 static HRESULT
get_nsstyle_property(nsIDOMCSSStyleDeclaration
*nsstyle
, styleid_t sid
, compat_mode_t compat_mode
, BSTR
*p
)
927 const PRUnichar
*value
;
930 nsAString_Init(&str_value
, NULL
);
932 get_nsstyle_attr_nsval(nsstyle
, sid
, &str_value
);
934 nsAString_GetData(&str_value
, &value
);
935 hres
= nsstyle_to_bstr(value
, compat_mode
< COMPAT_MODE_IE9
? style_tbl
[sid
].flags
: 0, p
);
936 nsAString_Finish(&str_value
);
938 TRACE("%s -> %s\n", debugstr_w(style_tbl
[sid
].name
), debugstr_w(*p
));
942 static HRESULT
get_nsstyle_property_var(nsIDOMCSSStyleDeclaration
*nsstyle
, styleid_t sid
, compat_mode_t compat_mode
, VARIANT
*p
)
944 unsigned flags
= style_tbl
[sid
].flags
;
946 const PRUnichar
*value
;
950 nsAString_Init(&str_value
, NULL
);
952 get_nsstyle_attr_nsval(nsstyle
, sid
, &str_value
);
954 nsAString_GetData(&str_value
, &value
);
956 if((flags
& ATTR_STR_TO_INT
) && (*value
|| compat_mode
< COMPAT_MODE_IE9
)) {
957 const PRUnichar
*ptr
= value
;
966 while(is_digit(*ptr
))
967 i
= i
*10 + (*ptr
++ - '0');
971 V_I4(p
) = neg
? -i
: i
;
979 hres
= nsstyle_to_bstr(value
, compat_mode
< COMPAT_MODE_IE9
? flags
: 0, &str
);
980 if(SUCCEEDED(hres
)) {
986 nsAString_Finish(&str_value
);
988 TRACE("%s -> %s\n", debugstr_w(style_tbl
[sid
].name
), debugstr_variant(p
));
992 HRESULT
get_style_property(CSSStyle
*style
, styleid_t sid
, BSTR
*p
)
994 return get_nsstyle_property(style
->nsstyle
, sid
, dispex_compat_mode(&style
->dispex
), p
);
997 HRESULT
get_style_property_var(CSSStyle
*style
, styleid_t sid
, VARIANT
*v
)
999 return get_nsstyle_property_var(style
->nsstyle
, sid
, dispex_compat_mode(&style
->dispex
), v
);
1002 static HRESULT
check_style_attr_value(HTMLStyle
*This
, styleid_t sid
, LPCWSTR exval
, VARIANT_BOOL
*p
)
1004 nsAString str_value
;
1005 const PRUnichar
*value
;
1007 nsAString_Init(&str_value
, NULL
);
1009 get_nsstyle_attr_nsval(This
->css_style
.nsstyle
, sid
, &str_value
);
1011 nsAString_GetData(&str_value
, &value
);
1012 *p
= variant_bool(!wcscmp(value
, exval
));
1013 nsAString_Finish(&str_value
);
1015 TRACE("%s -> %x\n", debugstr_w(style_tbl
[sid
].name
), *p
);
1019 static inline HRESULT
set_style_pos(HTMLStyle
*This
, styleid_t sid
, float value
)
1023 value
= floor(value
);
1025 swprintf(szValue
, ARRAY_SIZE(szValue
), L
"%.0fpx", value
);
1027 return set_style_property(&This
->css_style
, sid
, szValue
);
1030 static HRESULT
set_style_pxattr(HTMLStyle
*style
, styleid_t sid
, LONG value
)
1032 WCHAR value_str
[16];
1034 swprintf(value_str
, ARRAY_SIZE(value_str
), L
"%dpx", value
);
1036 return set_style_property(&style
->css_style
, sid
, value_str
);
1039 static HRESULT
get_nsstyle_pos(HTMLStyle
*This
, styleid_t sid
, float *p
)
1041 nsAString str_value
;
1044 TRACE("%p %d %p\n", This
, sid
, p
);
1048 nsAString_Init(&str_value
, NULL
);
1050 hres
= get_nsstyle_attr_nsval(This
->css_style
.nsstyle
, sid
, &str_value
);
1054 const PRUnichar
*value
;
1056 nsAString_GetData(&str_value
, &value
);
1059 *p
= wcstol(value
, &ptr
, 10);
1061 if(*ptr
&& wcscmp(ptr
, L
"px"))
1063 nsAString_Finish(&str_value
);
1064 FIXME("only px values are currently supported\n");
1070 TRACE("ret %f\n", *p
);
1072 nsAString_Finish(&str_value
);
1076 static HRESULT
get_nsstyle_pixel_val(HTMLStyle
*This
, styleid_t sid
, LONG
*p
)
1078 nsAString str_value
;
1084 nsAString_Init(&str_value
, NULL
);
1086 hres
= get_nsstyle_attr_nsval(This
->css_style
.nsstyle
, sid
, &str_value
);
1089 const PRUnichar
*value
;
1091 nsAString_GetData(&str_value
, &value
);
1093 *p
= wcstol(value
, &ptr
, 10);
1096 /* Skip all digits. We have tests showing that we should not round the value. */
1097 while(is_digit(*++ptr
));
1101 if(!ptr
|| (*ptr
&& wcscmp(ptr
, L
"px")))
1105 nsAString_Finish(&str_value
);
1109 static BOOL
is_valid_border_style(BSTR v
)
1111 return !v
|| wcsicmp(v
, L
"none") == 0 || wcsicmp(v
, L
"dotted") == 0 ||
1112 wcsicmp(v
, L
"dashed") == 0 || wcsicmp(v
, L
"solid") == 0 ||
1113 wcsicmp(v
, L
"double") == 0 || wcsicmp(v
, L
"groove") == 0 ||
1114 wcsicmp(v
, L
"ridge") == 0 || wcsicmp(v
, L
"inset") == 0 ||
1115 wcsicmp(v
, L
"outset") == 0;
1118 static void *HTMLStyle_QI(CSSStyle
*css_style
, REFIID riid
)
1120 HTMLStyle
*This
= CONTAINING_RECORD(css_style
, HTMLStyle
, css_style
);
1122 if(IsEqualGUID(&IID_IHTMLStyle
, riid
))
1123 return &This
->IHTMLStyle_iface
;
1124 if(IsEqualGUID(&IID_IHTMLStyle2
, riid
))
1125 return &This
->IHTMLStyle2_iface
;
1126 if(IsEqualGUID(&IID_IHTMLStyle3
, riid
))
1127 return &This
->IHTMLStyle3_iface
;
1128 if(IsEqualGUID(&IID_IHTMLStyle4
, riid
))
1129 return &This
->IHTMLStyle4_iface
;
1130 if(IsEqualGUID(&IID_IHTMLStyle5
, riid
))
1131 return &This
->IHTMLStyle5_iface
;
1132 if(IsEqualGUID(&IID_IHTMLStyle6
, riid
))
1133 return &This
->IHTMLStyle6_iface
;
1137 static inline HTMLStyle
*impl_from_IHTMLStyle(IHTMLStyle
*iface
)
1139 return CONTAINING_RECORD(iface
, HTMLStyle
, IHTMLStyle_iface
);
1142 static HRESULT WINAPI
HTMLStyle_QueryInterface(IHTMLStyle
*iface
, REFIID riid
, void **ppv
)
1144 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1145 return IHTMLCSSStyleDeclaration_QueryInterface(&This
->css_style
.IHTMLCSSStyleDeclaration_iface
, riid
, ppv
);
1148 static ULONG WINAPI
HTMLStyle_AddRef(IHTMLStyle
*iface
)
1150 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1151 return IHTMLCSSStyleDeclaration_AddRef(&This
->css_style
.IHTMLCSSStyleDeclaration_iface
);
1154 static ULONG WINAPI
HTMLStyle_Release(IHTMLStyle
*iface
)
1156 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1157 return IHTMLCSSStyleDeclaration_Release(&This
->css_style
.IHTMLCSSStyleDeclaration_iface
);
1160 static HRESULT WINAPI
HTMLStyle_GetTypeInfoCount(IHTMLStyle
*iface
, UINT
*pctinfo
)
1162 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1163 return IDispatchEx_GetTypeInfoCount(&This
->css_style
.dispex
.IDispatchEx_iface
, pctinfo
);
1166 static HRESULT WINAPI
HTMLStyle_GetTypeInfo(IHTMLStyle
*iface
, UINT iTInfo
,
1167 LCID lcid
, ITypeInfo
**ppTInfo
)
1169 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1170 return IDispatchEx_GetTypeInfo(&This
->css_style
.dispex
.IDispatchEx_iface
, iTInfo
, lcid
, ppTInfo
);
1173 static HRESULT WINAPI
HTMLStyle_GetIDsOfNames(IHTMLStyle
*iface
, REFIID riid
,
1174 LPOLESTR
*rgszNames
, UINT cNames
,
1175 LCID lcid
, DISPID
*rgDispId
)
1177 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1178 return IDispatchEx_GetIDsOfNames(&This
->css_style
.dispex
.IDispatchEx_iface
, riid
, rgszNames
, cNames
,
1182 static HRESULT WINAPI
HTMLStyle_Invoke(IHTMLStyle
*iface
, DISPID dispIdMember
,
1183 REFIID riid
, LCID lcid
, WORD wFlags
, DISPPARAMS
*pDispParams
,
1184 VARIANT
*pVarResult
, EXCEPINFO
*pExcepInfo
, UINT
*puArgErr
)
1186 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1187 return IDispatchEx_Invoke(&This
->css_style
.dispex
.IDispatchEx_iface
, dispIdMember
, riid
, lcid
,
1188 wFlags
, pDispParams
, pVarResult
, pExcepInfo
, puArgErr
);
1191 static HRESULT WINAPI
HTMLStyle_put_fontFamily(IHTMLStyle
*iface
, BSTR v
)
1193 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1195 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
1197 return set_style_property(&This
->css_style
, STYLEID_FONT_FAMILY
, v
);
1200 static HRESULT WINAPI
HTMLStyle_get_fontFamily(IHTMLStyle
*iface
, BSTR
*p
)
1202 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1204 TRACE("(%p)->(%p)\n", This
, p
);
1206 return get_style_property(&This
->css_style
, STYLEID_FONT_FAMILY
, p
);
1209 static HRESULT WINAPI
HTMLStyle_put_fontStyle(IHTMLStyle
*iface
, BSTR v
)
1211 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1213 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
1215 return set_style_property(&This
->css_style
, STYLEID_FONT_STYLE
, v
);
1218 static HRESULT WINAPI
HTMLStyle_get_fontStyle(IHTMLStyle
*iface
, BSTR
*p
)
1220 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1222 TRACE("(%p)->(%p)\n", This
, p
);
1224 return get_style_property(&This
->css_style
, STYLEID_FONT_STYLE
, p
);
1227 static HRESULT WINAPI
HTMLStyle_put_fontVariant(IHTMLStyle
*iface
, BSTR v
)
1229 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1231 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
1233 return set_style_property(&This
->css_style
, STYLEID_FONT_VARIANT
, v
);
1236 static HRESULT WINAPI
HTMLStyle_get_fontVariant(IHTMLStyle
*iface
, BSTR
*p
)
1238 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1239 TRACE("(%p)->(%p)\n", This
, p
);
1242 return E_INVALIDARG
;
1244 return get_style_property(&This
->css_style
, STYLEID_FONT_VARIANT
, p
);
1247 static HRESULT WINAPI
HTMLStyle_put_fontWeight(IHTMLStyle
*iface
, BSTR v
)
1249 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1251 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
1253 return set_style_property(&This
->css_style
, STYLEID_FONT_WEIGHT
, v
);
1256 static HRESULT WINAPI
HTMLStyle_get_fontWeight(IHTMLStyle
*iface
, BSTR
*p
)
1258 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1260 TRACE("(%p)->(%p)\n", This
, p
);
1262 return get_style_property(&This
->css_style
, STYLEID_FONT_WEIGHT
, p
);
1265 static HRESULT WINAPI
HTMLStyle_put_fontSize(IHTMLStyle
*iface
, VARIANT v
)
1267 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1269 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
1271 return set_style_property_var(&This
->css_style
, STYLEID_FONT_SIZE
, &v
);
1274 static HRESULT WINAPI
HTMLStyle_get_fontSize(IHTMLStyle
*iface
, VARIANT
*p
)
1276 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1278 TRACE("(%p)->(%p)\n", This
, p
);
1280 return get_style_property_var(&This
->css_style
, STYLEID_FONT_SIZE
, p
);
1283 static HRESULT WINAPI
HTMLStyle_put_font(IHTMLStyle
*iface
, BSTR v
)
1285 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1286 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
1290 static HRESULT WINAPI
HTMLStyle_get_font(IHTMLStyle
*iface
, BSTR
*p
)
1292 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1293 FIXME("(%p)->(%p)\n", This
, p
);
1297 static HRESULT WINAPI
HTMLStyle_put_color(IHTMLStyle
*iface
, VARIANT v
)
1299 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1301 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
1303 return set_style_property_var(&This
->css_style
, STYLEID_COLOR
, &v
);
1306 static HRESULT WINAPI
HTMLStyle_get_color(IHTMLStyle
*iface
, VARIANT
*p
)
1308 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1310 TRACE("(%p)->(%p)\n", This
, p
);
1312 return get_style_property_var(&This
->css_style
, STYLEID_COLOR
, p
);
1315 static HRESULT WINAPI
HTMLStyle_put_background(IHTMLStyle
*iface
, BSTR v
)
1317 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1319 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
1321 return set_style_property(&This
->css_style
, STYLEID_BACKGROUND
, v
);
1324 static HRESULT WINAPI
HTMLStyle_get_background(IHTMLStyle
*iface
, BSTR
*p
)
1326 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1328 TRACE("(%p)->(%p)\n", This
, p
);
1330 return get_style_property(&This
->css_style
, STYLEID_BACKGROUND
, p
);
1333 static HRESULT WINAPI
HTMLStyle_put_backgroundColor(IHTMLStyle
*iface
, VARIANT v
)
1335 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1337 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
1339 return set_style_property_var(&This
->css_style
, STYLEID_BACKGROUND_COLOR
, &v
);
1342 static HRESULT WINAPI
HTMLStyle_get_backgroundColor(IHTMLStyle
*iface
, VARIANT
*p
)
1344 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1346 TRACE("(%p)->(%p)\n", This
, p
);
1348 return get_style_property_var(&This
->css_style
, STYLEID_BACKGROUND_COLOR
, p
);
1351 static HRESULT WINAPI
HTMLStyle_put_backgroundImage(IHTMLStyle
*iface
, BSTR v
)
1353 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1355 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
1357 return set_style_property(&This
->css_style
, STYLEID_BACKGROUND_IMAGE
, v
);
1360 static HRESULT WINAPI
HTMLStyle_get_backgroundImage(IHTMLStyle
*iface
, BSTR
*p
)
1362 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1364 TRACE("(%p)->(%p)\n", This
, p
);
1366 return get_style_property(&This
->css_style
, STYLEID_BACKGROUND_IMAGE
, p
);
1369 static HRESULT WINAPI
HTMLStyle_put_backgroundRepeat(IHTMLStyle
*iface
, BSTR v
)
1371 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1373 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
1375 return set_style_property(&This
->css_style
, STYLEID_BACKGROUND_REPEAT
, v
);
1378 static HRESULT WINAPI
HTMLStyle_get_backgroundRepeat(IHTMLStyle
*iface
, BSTR
*p
)
1380 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1382 TRACE("(%p)->(%p)\n", This
, p
);
1384 return get_style_property(&This
->css_style
, STYLEID_BACKGROUND_REPEAT
, p
);
1387 static HRESULT WINAPI
HTMLStyle_put_backgroundAttachment(IHTMLStyle
*iface
, BSTR v
)
1389 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1391 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
1393 return set_style_property(&This
->css_style
, STYLEID_BACKGROUND_ATTACHMENT
, v
);
1396 static HRESULT WINAPI
HTMLStyle_get_backgroundAttachment(IHTMLStyle
*iface
, BSTR
*p
)
1398 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1400 TRACE("(%p)->(%p)\n", This
, p
);
1402 return get_style_property(&This
->css_style
, STYLEID_BACKGROUND_ATTACHMENT
, p
);
1405 static HRESULT WINAPI
HTMLStyle_put_backgroundPosition(IHTMLStyle
*iface
, BSTR v
)
1407 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1409 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
1411 return set_style_property(&This
->css_style
, STYLEID_BACKGROUND_POSITION
, v
);
1414 static HRESULT WINAPI
HTMLStyle_get_backgroundPosition(IHTMLStyle
*iface
, BSTR
*p
)
1416 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1418 TRACE("(%p)->(%p)\n", This
, p
);
1420 return get_style_property(&This
->css_style
, STYLEID_BACKGROUND_POSITION
, p
);
1423 static HRESULT WINAPI
HTMLStyle_put_backgroundPositionX(IHTMLStyle
*iface
, VARIANT v
)
1425 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1426 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
1427 return IHTMLCSSStyleDeclaration_put_backgroundPositionX(&This
->css_style
.IHTMLCSSStyleDeclaration_iface
, v
);
1430 static HRESULT WINAPI
HTMLStyle_get_backgroundPositionX(IHTMLStyle
*iface
, VARIANT
*p
)
1432 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1433 TRACE("(%p)->(%p)\n", This
, p
);
1434 return IHTMLCSSStyleDeclaration_get_backgroundPositionX(&This
->css_style
.IHTMLCSSStyleDeclaration_iface
, p
);
1437 static HRESULT WINAPI
HTMLStyle_put_backgroundPositionY(IHTMLStyle
*iface
, VARIANT v
)
1439 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1440 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
1441 return IHTMLCSSStyleDeclaration_put_backgroundPositionY(&This
->css_style
.IHTMLCSSStyleDeclaration_iface
, v
);
1444 static HRESULT WINAPI
HTMLStyle_get_backgroundPositionY(IHTMLStyle
*iface
, VARIANT
*p
)
1446 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1447 TRACE("(%p)->(%p)\n", This
, p
);
1448 return IHTMLCSSStyleDeclaration_get_backgroundPositionY(&This
->css_style
.IHTMLCSSStyleDeclaration_iface
, p
);
1451 static HRESULT WINAPI
HTMLStyle_put_wordSpacing(IHTMLStyle
*iface
, VARIANT v
)
1453 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1455 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
1457 return set_style_property_var(&This
->css_style
, STYLEID_WORD_SPACING
, &v
);
1460 static HRESULT WINAPI
HTMLStyle_get_wordSpacing(IHTMLStyle
*iface
, VARIANT
*p
)
1462 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1463 TRACE("(%p)->(%p)\n", This
, p
);
1464 return get_style_property_var(&This
->css_style
, STYLEID_WORD_SPACING
, p
);
1467 static HRESULT WINAPI
HTMLStyle_put_letterSpacing(IHTMLStyle
*iface
, VARIANT v
)
1469 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1471 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
1473 return set_style_property_var(&This
->css_style
, STYLEID_LETTER_SPACING
, &v
);
1476 static HRESULT WINAPI
HTMLStyle_get_letterSpacing(IHTMLStyle
*iface
, VARIANT
*p
)
1478 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1479 TRACE("(%p)->(%p)\n", This
, p
);
1480 return get_style_property_var(&This
->css_style
, STYLEID_LETTER_SPACING
, p
);
1483 static HRESULT WINAPI
HTMLStyle_put_textDecoration(IHTMLStyle
*iface
, BSTR v
)
1485 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1487 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
1489 return set_style_property(&This
->css_style
, STYLEID_TEXT_DECORATION
, v
);
1492 static HRESULT WINAPI
HTMLStyle_get_textDecoration(IHTMLStyle
*iface
, BSTR
*p
)
1494 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1496 TRACE("(%p)->(%p)\n", This
, p
);
1498 return get_style_property(&This
->css_style
, STYLEID_TEXT_DECORATION
, p
);
1501 static HRESULT WINAPI
HTMLStyle_put_textDecorationNone(IHTMLStyle
*iface
, VARIANT_BOOL v
)
1503 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1505 TRACE("(%p)->(%x)\n", This
, v
);
1507 return set_style_property(&This
->css_style
, STYLEID_TEXT_DECORATION
, v
? L
"none" : L
"");
1510 static HRESULT WINAPI
HTMLStyle_get_textDecorationNone(IHTMLStyle
*iface
, VARIANT_BOOL
*p
)
1512 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1514 TRACE("(%p)->(%p)\n", This
, p
);
1516 return check_style_attr_value(This
, STYLEID_TEXT_DECORATION
, L
"none", p
);
1519 static HRESULT WINAPI
HTMLStyle_put_textDecorationUnderline(IHTMLStyle
*iface
, VARIANT_BOOL v
)
1521 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1523 TRACE("(%p)->(%x)\n", This
, v
);
1525 return set_style_property(&This
->css_style
, STYLEID_TEXT_DECORATION
, v
? L
"underline" : L
"");
1528 static HRESULT WINAPI
HTMLStyle_get_textDecorationUnderline(IHTMLStyle
*iface
, VARIANT_BOOL
*p
)
1530 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1532 TRACE("(%p)->(%p)\n", This
, p
);
1534 return check_style_attr_value(This
, STYLEID_TEXT_DECORATION
, L
"underline", p
);
1537 static HRESULT WINAPI
HTMLStyle_put_textDecorationOverline(IHTMLStyle
*iface
, VARIANT_BOOL v
)
1539 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1541 TRACE("(%p)->(%x)\n", This
, v
);
1543 return set_style_property(&This
->css_style
, STYLEID_TEXT_DECORATION
, v
? L
"overline" : L
"");
1546 static HRESULT WINAPI
HTMLStyle_get_textDecorationOverline(IHTMLStyle
*iface
, VARIANT_BOOL
*p
)
1548 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1550 TRACE("(%p)->(%p)\n", This
, p
);
1552 return check_style_attr_value(This
, STYLEID_TEXT_DECORATION
, L
"overline", p
);
1555 static HRESULT WINAPI
HTMLStyle_put_textDecorationLineThrough(IHTMLStyle
*iface
, VARIANT_BOOL v
)
1557 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1559 TRACE("(%p)->(%x)\n", This
, v
);
1561 return set_style_property(&This
->css_style
, STYLEID_TEXT_DECORATION
, v
? L
"line-through" : L
"");
1564 static HRESULT WINAPI
HTMLStyle_get_textDecorationLineThrough(IHTMLStyle
*iface
, VARIANT_BOOL
*p
)
1566 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1568 TRACE("(%p)->(%p)\n", This
, p
);
1570 return check_style_attr_value(This
, STYLEID_TEXT_DECORATION
, L
"line-through", p
);
1573 static HRESULT WINAPI
HTMLStyle_put_textDecorationBlink(IHTMLStyle
*iface
, VARIANT_BOOL v
)
1575 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1577 TRACE("(%p)->(%x)\n", This
, v
);
1579 return set_style_property(&This
->css_style
, STYLEID_TEXT_DECORATION
, v
? L
"blink" : L
"");
1582 static HRESULT WINAPI
HTMLStyle_get_textDecorationBlink(IHTMLStyle
*iface
, VARIANT_BOOL
*p
)
1584 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1586 TRACE("(%p)->(%p)\n", This
, p
);
1588 return check_style_attr_value(This
, STYLEID_TEXT_DECORATION
, L
"blink", p
);
1591 static HRESULT WINAPI
HTMLStyle_put_verticalAlign(IHTMLStyle
*iface
, VARIANT v
)
1593 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1595 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
1597 return set_style_property_var(&This
->css_style
, STYLEID_VERTICAL_ALIGN
, &v
);
1600 static HRESULT WINAPI
HTMLStyle_get_verticalAlign(IHTMLStyle
*iface
, VARIANT
*p
)
1602 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1604 TRACE("(%p)->(%p)\n", This
, p
);
1606 return get_style_property_var(&This
->css_style
, STYLEID_VERTICAL_ALIGN
, p
);
1609 static HRESULT WINAPI
HTMLStyle_put_textTransform(IHTMLStyle
*iface
, BSTR v
)
1611 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1613 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
1615 return set_style_property(&This
->css_style
, STYLEID_TEXT_TRANSFORM
, v
);
1618 static HRESULT WINAPI
HTMLStyle_get_textTransform(IHTMLStyle
*iface
, BSTR
*p
)
1620 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1622 TRACE("(%p)->(%p)\n", This
, p
);
1624 return get_style_property(&This
->css_style
, STYLEID_TEXT_TRANSFORM
, p
);
1627 static HRESULT WINAPI
HTMLStyle_put_textAlign(IHTMLStyle
*iface
, BSTR v
)
1629 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1631 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
1633 return set_style_property(&This
->css_style
, STYLEID_TEXT_ALIGN
, v
);
1636 static HRESULT WINAPI
HTMLStyle_get_textAlign(IHTMLStyle
*iface
, BSTR
*p
)
1638 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1640 TRACE("(%p)->(%p)\n", This
, p
);
1642 return get_style_property(&This
->css_style
, STYLEID_TEXT_ALIGN
, p
);
1645 static HRESULT WINAPI
HTMLStyle_put_textIndent(IHTMLStyle
*iface
, VARIANT v
)
1647 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1649 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
1651 return set_style_property_var(&This
->css_style
, STYLEID_TEXT_INDENT
, &v
);
1654 static HRESULT WINAPI
HTMLStyle_get_textIndent(IHTMLStyle
*iface
, VARIANT
*p
)
1656 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1658 TRACE("(%p)->(%p)\n", This
, p
);
1660 return get_style_property_var(&This
->css_style
, STYLEID_TEXT_INDENT
, p
);
1663 static HRESULT WINAPI
HTMLStyle_put_lineHeight(IHTMLStyle
*iface
, VARIANT v
)
1665 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1667 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
1669 return set_style_property_var(&This
->css_style
, STYLEID_LINE_HEIGHT
, &v
);
1672 static HRESULT WINAPI
HTMLStyle_get_lineHeight(IHTMLStyle
*iface
, VARIANT
*p
)
1674 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1676 TRACE("(%p)->(%p)\n", This
, p
);
1678 return get_style_property_var(&This
->css_style
, STYLEID_LINE_HEIGHT
, p
);
1681 static HRESULT WINAPI
HTMLStyle_put_marginTop(IHTMLStyle
*iface
, VARIANT v
)
1683 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1685 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
1687 return set_style_property_var(&This
->css_style
, STYLEID_MARGIN_TOP
, &v
);
1690 static HRESULT WINAPI
HTMLStyle_get_marginTop(IHTMLStyle
*iface
, VARIANT
*p
)
1692 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1694 TRACE("(%p)->(%p)\n", This
, p
);
1696 return get_style_property_var(&This
->css_style
, STYLEID_MARGIN_TOP
, p
);
1699 static HRESULT WINAPI
HTMLStyle_put_marginRight(IHTMLStyle
*iface
, VARIANT v
)
1701 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1703 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
1705 return set_style_property_var(&This
->css_style
, STYLEID_MARGIN_RIGHT
, &v
);
1708 static HRESULT WINAPI
HTMLStyle_get_marginRight(IHTMLStyle
*iface
, VARIANT
*p
)
1710 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1711 TRACE("(%p)->(%p)\n", This
, p
);
1712 return get_style_property_var(&This
->css_style
, STYLEID_MARGIN_RIGHT
, p
);
1715 static HRESULT WINAPI
HTMLStyle_put_marginBottom(IHTMLStyle
*iface
, VARIANT v
)
1717 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1719 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
1721 return set_style_property_var(&This
->css_style
, STYLEID_MARGIN_BOTTOM
, &v
);
1724 static HRESULT WINAPI
HTMLStyle_get_marginBottom(IHTMLStyle
*iface
, VARIANT
*p
)
1726 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1728 TRACE("(%p)->(%p)\n", This
, p
);
1730 return get_style_property_var(&This
->css_style
, STYLEID_MARGIN_BOTTOM
, p
);
1733 static HRESULT WINAPI
HTMLStyle_put_marginLeft(IHTMLStyle
*iface
, VARIANT v
)
1735 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1737 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
1739 return set_style_property_var(&This
->css_style
, STYLEID_MARGIN_LEFT
, &v
);
1742 static HRESULT WINAPI
HTMLStyle_put_margin(IHTMLStyle
*iface
, BSTR v
)
1744 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1746 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
1748 return set_style_property(&This
->css_style
, STYLEID_MARGIN
, v
);
1751 static HRESULT WINAPI
HTMLStyle_get_margin(IHTMLStyle
*iface
, BSTR
*p
)
1753 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1755 TRACE("(%p)->(%p)\n", This
, p
);
1757 return get_style_property(&This
->css_style
, STYLEID_MARGIN
, p
);
1760 static HRESULT WINAPI
HTMLStyle_get_marginLeft(IHTMLStyle
*iface
, VARIANT
*p
)
1762 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1763 TRACE("(%p)->(%p)\n", This
, p
);
1764 return get_style_property_var(&This
->css_style
, STYLEID_MARGIN_LEFT
, p
);
1767 static HRESULT WINAPI
HTMLStyle_put_paddingTop(IHTMLStyle
*iface
, VARIANT v
)
1769 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1771 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
1773 return set_style_property_var(&This
->css_style
, STYLEID_PADDING_TOP
, &v
);
1776 static HRESULT WINAPI
HTMLStyle_get_paddingTop(IHTMLStyle
*iface
, VARIANT
*p
)
1778 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1780 TRACE("(%p)->(%p)\n", This
, p
);
1782 return get_style_property_var(&This
->css_style
, STYLEID_PADDING_TOP
, p
);
1785 static HRESULT WINAPI
HTMLStyle_put_paddingRight(IHTMLStyle
*iface
, VARIANT v
)
1787 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1789 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
1791 return set_style_property_var(&This
->css_style
, STYLEID_PADDING_RIGHT
, &v
);
1794 static HRESULT WINAPI
HTMLStyle_get_paddingRight(IHTMLStyle
*iface
, VARIANT
*p
)
1796 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1798 TRACE("(%p)->(%p)\n", This
, p
);
1800 return get_style_property_var(&This
->css_style
, STYLEID_PADDING_RIGHT
, p
);
1803 static HRESULT WINAPI
HTMLStyle_put_paddingBottom(IHTMLStyle
*iface
, VARIANT v
)
1805 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1807 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
1809 return set_style_property_var(&This
->css_style
, STYLEID_PADDING_BOTTOM
, &v
);
1812 static HRESULT WINAPI
HTMLStyle_get_paddingBottom(IHTMLStyle
*iface
, VARIANT
*p
)
1814 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1816 TRACE("(%p)->(%p)\n", This
, p
);
1818 return get_style_property_var(&This
->css_style
, STYLEID_PADDING_BOTTOM
, p
);
1821 static HRESULT WINAPI
HTMLStyle_put_paddingLeft(IHTMLStyle
*iface
, VARIANT v
)
1823 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1825 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
1827 return set_style_property_var(&This
->css_style
, STYLEID_PADDING_LEFT
, &v
);
1830 static HRESULT WINAPI
HTMLStyle_get_paddingLeft(IHTMLStyle
*iface
, VARIANT
*p
)
1832 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1834 TRACE("(%p)->(%p)\n", This
, p
);
1836 return get_style_property_var(&This
->css_style
, STYLEID_PADDING_LEFT
, p
);
1839 static HRESULT WINAPI
HTMLStyle_put_padding(IHTMLStyle
*iface
, BSTR v
)
1841 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1843 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
1845 return set_style_property(&This
->css_style
, STYLEID_PADDING
, v
);
1848 static HRESULT WINAPI
HTMLStyle_get_padding(IHTMLStyle
*iface
, BSTR
*p
)
1850 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1852 TRACE("(%p)->(%p)\n", This
, p
);
1854 return get_style_property(&This
->css_style
, STYLEID_PADDING
, p
);
1857 static HRESULT WINAPI
HTMLStyle_put_border(IHTMLStyle
*iface
, BSTR v
)
1859 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1861 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
1863 return set_style_property(&This
->css_style
, STYLEID_BORDER
, v
);
1866 static HRESULT WINAPI
HTMLStyle_get_border(IHTMLStyle
*iface
, BSTR
*p
)
1868 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1870 TRACE("(%p)->(%p)\n", This
, p
);
1872 return get_style_property(&This
->css_style
, STYLEID_BORDER
, p
);
1875 static HRESULT WINAPI
HTMLStyle_put_borderTop(IHTMLStyle
*iface
, BSTR v
)
1877 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1878 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
1879 return set_style_property(&This
->css_style
, STYLEID_BORDER_TOP
, v
);
1882 static HRESULT WINAPI
HTMLStyle_get_borderTop(IHTMLStyle
*iface
, BSTR
*p
)
1884 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1885 TRACE("(%p)->(%p)\n", This
, p
);
1886 return get_style_property(&This
->css_style
, STYLEID_BORDER_TOP
, p
);
1889 static HRESULT WINAPI
HTMLStyle_put_borderRight(IHTMLStyle
*iface
, BSTR v
)
1891 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1892 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
1893 return set_style_property(&This
->css_style
, STYLEID_BORDER_RIGHT
, v
);
1896 static HRESULT WINAPI
HTMLStyle_get_borderRight(IHTMLStyle
*iface
, BSTR
*p
)
1898 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1899 TRACE("(%p)->(%p)\n", This
, p
);
1900 return get_style_property(&This
->css_style
, STYLEID_BORDER_RIGHT
, p
);
1903 static HRESULT WINAPI
HTMLStyle_put_borderBottom(IHTMLStyle
*iface
, BSTR v
)
1905 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1906 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
1907 return set_style_property(&This
->css_style
, STYLEID_BORDER_BOTTOM
, v
);
1910 static HRESULT WINAPI
HTMLStyle_get_borderBottom(IHTMLStyle
*iface
, BSTR
*p
)
1912 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1913 TRACE("(%p)->(%p)\n", This
, p
);
1914 return get_style_property(&This
->css_style
, STYLEID_BORDER_BOTTOM
, p
);
1917 static HRESULT WINAPI
HTMLStyle_put_borderLeft(IHTMLStyle
*iface
, BSTR v
)
1919 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1921 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
1923 return set_style_property(&This
->css_style
, STYLEID_BORDER_LEFT
, v
);
1926 static HRESULT WINAPI
HTMLStyle_get_borderLeft(IHTMLStyle
*iface
, BSTR
*p
)
1928 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1930 TRACE("(%p)->(%p)\n", This
, p
);
1932 return get_style_property(&This
->css_style
, STYLEID_BORDER_LEFT
, p
);
1935 static HRESULT WINAPI
HTMLStyle_put_borderColor(IHTMLStyle
*iface
, BSTR v
)
1937 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1939 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
1941 return set_style_property(&This
->css_style
, STYLEID_BORDER_COLOR
, v
);
1944 static HRESULT WINAPI
HTMLStyle_get_borderColor(IHTMLStyle
*iface
, BSTR
*p
)
1946 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1948 TRACE("(%p)->(%p)\n", This
, p
);
1950 return get_style_property(&This
->css_style
, STYLEID_BORDER_COLOR
, p
);
1953 static HRESULT WINAPI
HTMLStyle_put_borderTopColor(IHTMLStyle
*iface
, VARIANT v
)
1955 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1957 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
1959 return set_style_property_var(&This
->css_style
, STYLEID_BORDER_TOP_COLOR
, &v
);
1962 static HRESULT WINAPI
HTMLStyle_get_borderTopColor(IHTMLStyle
*iface
, VARIANT
*p
)
1964 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1966 TRACE("(%p)->(%p)\n", This
, p
);
1968 return get_style_property_var(&This
->css_style
, STYLEID_BORDER_TOP_COLOR
, p
);
1971 static HRESULT WINAPI
HTMLStyle_put_borderRightColor(IHTMLStyle
*iface
, VARIANT v
)
1973 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1975 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
1977 return set_style_property_var(&This
->css_style
, STYLEID_BORDER_RIGHT_COLOR
, &v
);
1980 static HRESULT WINAPI
HTMLStyle_get_borderRightColor(IHTMLStyle
*iface
, VARIANT
*p
)
1982 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1984 TRACE("(%p)->(%p)\n", This
, p
);
1986 return get_style_property_var(&This
->css_style
, STYLEID_BORDER_RIGHT_COLOR
, p
);
1989 static HRESULT WINAPI
HTMLStyle_put_borderBottomColor(IHTMLStyle
*iface
, VARIANT v
)
1991 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
1993 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
1995 return set_style_property_var(&This
->css_style
, STYLEID_BORDER_BOTTOM_COLOR
, &v
);
1998 static HRESULT WINAPI
HTMLStyle_get_borderBottomColor(IHTMLStyle
*iface
, VARIANT
*p
)
2000 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2002 TRACE("(%p)->(%p)\n", This
, p
);
2004 return get_style_property_var(&This
->css_style
, STYLEID_BORDER_BOTTOM_COLOR
, p
);
2007 static HRESULT WINAPI
HTMLStyle_put_borderLeftColor(IHTMLStyle
*iface
, VARIANT v
)
2009 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2011 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
2013 return set_style_property_var(&This
->css_style
, STYLEID_BORDER_LEFT_COLOR
, &v
);
2016 static HRESULT WINAPI
HTMLStyle_get_borderLeftColor(IHTMLStyle
*iface
, VARIANT
*p
)
2018 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2020 TRACE("(%p)->(%p)\n", This
, p
);
2022 return get_style_property_var(&This
->css_style
, STYLEID_BORDER_LEFT_COLOR
, p
);
2025 static HRESULT WINAPI
HTMLStyle_put_borderWidth(IHTMLStyle
*iface
, BSTR v
)
2027 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2028 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
2029 return set_style_property(&This
->css_style
, STYLEID_BORDER_WIDTH
, v
);
2032 static HRESULT WINAPI
HTMLStyle_get_borderWidth(IHTMLStyle
*iface
, BSTR
*p
)
2034 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2035 TRACE("(%p)->(%p)\n", This
, p
);
2036 return get_style_property(&This
->css_style
, STYLEID_BORDER_WIDTH
, p
);
2039 static HRESULT WINAPI
HTMLStyle_put_borderTopWidth(IHTMLStyle
*iface
, VARIANT v
)
2041 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2043 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
2045 return set_style_property_var(&This
->css_style
, STYLEID_BORDER_TOP_WIDTH
, &v
);
2048 static HRESULT WINAPI
HTMLStyle_get_borderTopWidth(IHTMLStyle
*iface
, VARIANT
*p
)
2050 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2052 TRACE("(%p)->(%p)\n", This
, p
);
2054 return get_style_property_var(&This
->css_style
, STYLEID_BORDER_TOP_WIDTH
, p
);
2057 static HRESULT WINAPI
HTMLStyle_put_borderRightWidth(IHTMLStyle
*iface
, VARIANT v
)
2059 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2061 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
2063 return set_style_property_var(&This
->css_style
, STYLEID_BORDER_RIGHT_WIDTH
, &v
);
2066 static HRESULT WINAPI
HTMLStyle_get_borderRightWidth(IHTMLStyle
*iface
, VARIANT
*p
)
2068 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2070 TRACE("(%p)->(%p)\n", This
, p
);
2072 return get_style_property_var(&This
->css_style
, STYLEID_BORDER_RIGHT_WIDTH
, p
);
2075 static HRESULT WINAPI
HTMLStyle_put_borderBottomWidth(IHTMLStyle
*iface
, VARIANT v
)
2077 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2079 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
2081 return set_style_property_var(&This
->css_style
, STYLEID_BORDER_BOTTOM_WIDTH
, &v
);
2084 static HRESULT WINAPI
HTMLStyle_get_borderBottomWidth(IHTMLStyle
*iface
, VARIANT
*p
)
2086 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2087 TRACE("(%p)->(%p)\n", This
, p
);
2088 return get_style_property_var(&This
->css_style
, STYLEID_BORDER_BOTTOM_WIDTH
, p
);
2091 static HRESULT WINAPI
HTMLStyle_put_borderLeftWidth(IHTMLStyle
*iface
, VARIANT v
)
2093 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2095 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
2097 return set_style_property_var(&This
->css_style
, STYLEID_BORDER_LEFT_WIDTH
, &v
);
2100 static HRESULT WINAPI
HTMLStyle_get_borderLeftWidth(IHTMLStyle
*iface
, VARIANT
*p
)
2102 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2103 TRACE("(%p)->(%p)\n", This
, p
);
2104 return get_style_property_var(&This
->css_style
, STYLEID_BORDER_LEFT_WIDTH
, p
);
2107 static HRESULT WINAPI
HTMLStyle_put_borderStyle(IHTMLStyle
*iface
, BSTR v
)
2109 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2110 HRESULT hres
= S_OK
;
2115 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
2117 while(v
[i
] && hres
== S_OK
)
2119 if(v
[i
] == (WCHAR
)' ')
2121 pstyle
= SysAllocStringLen(&v
[last
], (i
-last
));
2122 if( !(is_valid_border_style(pstyle
) || wcsicmp(L
"window-inset", pstyle
) == 0))
2124 TRACE("1. Invalid style (%s)\n", debugstr_w(pstyle
));
2125 hres
= E_INVALIDARG
;
2127 SysFreeString(pstyle
);
2135 pstyle
= SysAllocStringLen(&v
[last
], i
-last
);
2136 if( !(is_valid_border_style(pstyle
) || wcsicmp(L
"window-inset", pstyle
) == 0))
2138 TRACE("2. Invalid style (%s)\n", debugstr_w(pstyle
));
2139 hres
= E_INVALIDARG
;
2141 SysFreeString(pstyle
);
2145 hres
= set_style_property(&This
->css_style
, STYLEID_BORDER_STYLE
, v
);
2150 static HRESULT WINAPI
HTMLStyle_get_borderStyle(IHTMLStyle
*iface
, BSTR
*p
)
2152 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2153 TRACE("(%p)->(%p)\n", This
, p
);
2154 return get_style_property(&This
->css_style
, STYLEID_BORDER_STYLE
, p
);
2157 static HRESULT WINAPI
HTMLStyle_put_borderTopStyle(IHTMLStyle
*iface
, BSTR v
)
2159 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2160 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
2161 return set_style_property(&This
->css_style
, STYLEID_BORDER_TOP_STYLE
, v
);
2164 static HRESULT WINAPI
HTMLStyle_get_borderTopStyle(IHTMLStyle
*iface
, BSTR
*p
)
2166 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2167 TRACE("(%p)->(%p)\n", This
, p
);
2168 return get_style_property(&This
->css_style
, STYLEID_BORDER_TOP_STYLE
, p
);
2171 static HRESULT WINAPI
HTMLStyle_put_borderRightStyle(IHTMLStyle
*iface
, BSTR v
)
2173 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2174 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
2175 return set_style_property(&This
->css_style
, STYLEID_BORDER_RIGHT_STYLE
, v
);
2178 static HRESULT WINAPI
HTMLStyle_get_borderRightStyle(IHTMLStyle
*iface
, BSTR
*p
)
2180 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2181 TRACE("(%p)->(%p)\n", This
, p
);
2182 return get_style_property(&This
->css_style
, STYLEID_BORDER_RIGHT_STYLE
, p
);
2185 static HRESULT WINAPI
HTMLStyle_put_borderBottomStyle(IHTMLStyle
*iface
, BSTR v
)
2187 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2188 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
2189 return set_style_property(&This
->css_style
, STYLEID_BORDER_BOTTOM_STYLE
, v
);
2192 static HRESULT WINAPI
HTMLStyle_get_borderBottomStyle(IHTMLStyle
*iface
, BSTR
*p
)
2194 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2195 TRACE("(%p)->(%p)\n", This
, p
);
2196 return get_style_property(&This
->css_style
, STYLEID_BORDER_BOTTOM_STYLE
, p
);
2199 static HRESULT WINAPI
HTMLStyle_put_borderLeftStyle(IHTMLStyle
*iface
, BSTR v
)
2201 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2202 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
2203 return set_style_property(&This
->css_style
, STYLEID_BORDER_LEFT_STYLE
, v
);
2206 static HRESULT WINAPI
HTMLStyle_get_borderLeftStyle(IHTMLStyle
*iface
, BSTR
*p
)
2208 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2209 TRACE("(%p)->(%p)\n", This
, p
);
2210 return get_style_property(&This
->css_style
, STYLEID_BORDER_LEFT_STYLE
, p
);
2213 static HRESULT WINAPI
HTMLStyle_put_width(IHTMLStyle
*iface
, VARIANT v
)
2215 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2217 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
2219 return set_style_property_var(&This
->css_style
, STYLEID_WIDTH
, &v
);
2222 static HRESULT WINAPI
HTMLStyle_get_width(IHTMLStyle
*iface
, VARIANT
*p
)
2224 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2226 TRACE("(%p)->(%p)\n", This
, p
);
2228 return get_style_property_var(&This
->css_style
, STYLEID_WIDTH
, p
);
2231 static HRESULT WINAPI
HTMLStyle_put_height(IHTMLStyle
*iface
, VARIANT v
)
2233 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2235 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
2237 return set_style_property_var(&This
->css_style
, STYLEID_HEIGHT
, &v
);
2240 static HRESULT WINAPI
HTMLStyle_get_height(IHTMLStyle
*iface
, VARIANT
*p
)
2242 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2244 TRACE("(%p)->(%p)\n", This
, p
);
2246 return get_style_property_var(&This
->css_style
, STYLEID_HEIGHT
, p
);
2249 static HRESULT WINAPI
HTMLStyle_put_styleFloat(IHTMLStyle
*iface
, BSTR v
)
2251 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2253 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
2255 return set_style_property(&This
->css_style
, STYLEID_FLOAT
, v
);
2258 static HRESULT WINAPI
HTMLStyle_get_styleFloat(IHTMLStyle
*iface
, BSTR
*p
)
2260 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2262 TRACE("(%p)->(%p)\n", This
, p
);
2264 return get_style_property(&This
->css_style
, STYLEID_FLOAT
, p
);
2267 static HRESULT WINAPI
HTMLStyle_put_clear(IHTMLStyle
*iface
, BSTR v
)
2269 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2271 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
2273 return set_style_property(&This
->css_style
, STYLEID_CLEAR
, v
);
2276 static HRESULT WINAPI
HTMLStyle_get_clear(IHTMLStyle
*iface
, BSTR
*p
)
2278 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2280 TRACE("(%p)->(%p)\n", This
, p
);
2282 return get_style_property(&This
->css_style
, STYLEID_CLEAR
, p
);
2285 static HRESULT WINAPI
HTMLStyle_put_display(IHTMLStyle
*iface
, BSTR v
)
2287 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2289 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
2291 return set_style_property(&This
->css_style
, STYLEID_DISPLAY
, v
);
2294 static HRESULT WINAPI
HTMLStyle_get_display(IHTMLStyle
*iface
, BSTR
*p
)
2296 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2298 TRACE("(%p)->(%p)\n", This
, p
);
2300 return get_style_property(&This
->css_style
, STYLEID_DISPLAY
, p
);
2303 static HRESULT WINAPI
HTMLStyle_put_visibility(IHTMLStyle
*iface
, BSTR v
)
2305 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2307 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
2309 return set_style_property(&This
->css_style
, STYLEID_VISIBILITY
, v
);
2312 static HRESULT WINAPI
HTMLStyle_get_visibility(IHTMLStyle
*iface
, BSTR
*p
)
2314 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2316 TRACE("(%p)->(%p)\n", This
, p
);
2318 return get_style_property(&This
->css_style
, STYLEID_VISIBILITY
, p
);
2321 static HRESULT WINAPI
HTMLStyle_put_listStyleType(IHTMLStyle
*iface
, BSTR v
)
2323 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2325 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
2327 return set_style_property(&This
->css_style
, STYLEID_LISTSTYLETYPE
, v
);
2330 static HRESULT WINAPI
HTMLStyle_get_listStyleType(IHTMLStyle
*iface
, BSTR
*p
)
2332 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2334 TRACE("(%p)->(%p)\n", This
, p
);
2336 return get_style_property(&This
->css_style
, STYLEID_LISTSTYLETYPE
, p
);
2339 static HRESULT WINAPI
HTMLStyle_put_listStylePosition(IHTMLStyle
*iface
, BSTR v
)
2341 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2343 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
2345 return set_style_property(&This
->css_style
, STYLEID_LISTSTYLEPOSITION
, v
);
2348 static HRESULT WINAPI
HTMLStyle_get_listStylePosition(IHTMLStyle
*iface
, BSTR
*p
)
2350 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2352 TRACE("(%p)->(%p)\n", This
, p
);
2354 return get_style_property(&This
->css_style
, STYLEID_LISTSTYLEPOSITION
, p
);
2357 static HRESULT WINAPI
HTMLStyle_put_listStyleImage(IHTMLStyle
*iface
, BSTR v
)
2359 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2360 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
2364 static HRESULT WINAPI
HTMLStyle_get_listStyleImage(IHTMLStyle
*iface
, BSTR
*p
)
2366 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2367 FIXME("(%p)->(%p)\n", This
, p
);
2371 static HRESULT WINAPI
HTMLStyle_put_listStyle(IHTMLStyle
*iface
, BSTR v
)
2373 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2375 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
2377 return set_style_property(&This
->css_style
, STYLEID_LIST_STYLE
, v
);
2380 static HRESULT WINAPI
HTMLStyle_get_listStyle(IHTMLStyle
*iface
, BSTR
*p
)
2382 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2384 TRACE("(%p)->(%p)\n", This
, p
);
2386 return get_style_property(&This
->css_style
, STYLEID_LIST_STYLE
, p
);
2389 static HRESULT WINAPI
HTMLStyle_put_whiteSpace(IHTMLStyle
*iface
, BSTR v
)
2391 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2393 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
2395 return set_style_property(&This
->css_style
, STYLEID_WHITE_SPACE
, v
);
2398 static HRESULT WINAPI
HTMLStyle_get_whiteSpace(IHTMLStyle
*iface
, BSTR
*p
)
2400 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2402 TRACE("(%p)->(%p)\n", This
, p
);
2404 return get_style_property(&This
->css_style
, STYLEID_WHITE_SPACE
, p
);
2407 static HRESULT WINAPI
HTMLStyle_put_top(IHTMLStyle
*iface
, VARIANT v
)
2409 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2411 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
2413 return set_style_property_var(&This
->css_style
, STYLEID_TOP
, &v
);
2416 static HRESULT WINAPI
HTMLStyle_get_top(IHTMLStyle
*iface
, VARIANT
*p
)
2418 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2420 TRACE("(%p)->(%p)\n", This
, p
);
2422 return get_style_property_var(&This
->css_style
, STYLEID_TOP
, p
);
2425 static HRESULT WINAPI
HTMLStyle_put_left(IHTMLStyle
*iface
, VARIANT v
)
2427 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2429 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
2431 return set_style_property_var(&This
->css_style
, STYLEID_LEFT
, &v
);
2434 static HRESULT WINAPI
HTMLStyle_get_left(IHTMLStyle
*iface
, VARIANT
*p
)
2436 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2438 TRACE("(%p)->(%p)\n", This
, p
);
2440 return get_style_property_var(&This
->css_style
, STYLEID_LEFT
, p
);
2443 static HRESULT WINAPI
HTMLStyle_get_position(IHTMLStyle
*iface
, BSTR
*p
)
2445 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2446 TRACE("(%p)->(%p)\n", This
, p
);
2447 return IHTMLStyle2_get_position(&This
->IHTMLStyle2_iface
, p
);
2450 static HRESULT WINAPI
HTMLStyle_put_zIndex(IHTMLStyle
*iface
, VARIANT v
)
2452 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2454 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
2456 return set_style_property_var(&This
->css_style
, STYLEID_Z_INDEX
, &v
);
2459 static HRESULT WINAPI
HTMLStyle_get_zIndex(IHTMLStyle
*iface
, VARIANT
*p
)
2461 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2463 TRACE("(%p)->(%p)\n", This
, p
);
2465 return get_style_property_var(&This
->css_style
, STYLEID_Z_INDEX
, p
);
2468 static HRESULT WINAPI
HTMLStyle_put_overflow(IHTMLStyle
*iface
, BSTR v
)
2470 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2472 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
2474 return set_style_property(&This
->css_style
, STYLEID_OVERFLOW
, v
);
2478 static HRESULT WINAPI
HTMLStyle_get_overflow(IHTMLStyle
*iface
, BSTR
*p
)
2480 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2482 TRACE("(%p)->(%p)\n", This
, p
);
2485 return E_INVALIDARG
;
2487 return get_style_property(&This
->css_style
, STYLEID_OVERFLOW
, p
);
2490 static HRESULT WINAPI
HTMLStyle_put_pageBreakBefore(IHTMLStyle
*iface
, BSTR v
)
2492 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2494 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
2496 return set_style_property(&This
->css_style
, STYLEID_PAGE_BREAK_BEFORE
, v
);
2499 static HRESULT WINAPI
HTMLStyle_get_pageBreakBefore(IHTMLStyle
*iface
, BSTR
*p
)
2501 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2503 TRACE("(%p)->(%p)\n", This
, p
);
2505 return get_style_property(&This
->css_style
, STYLEID_PAGE_BREAK_BEFORE
, p
);
2508 static HRESULT WINAPI
HTMLStyle_put_pageBreakAfter(IHTMLStyle
*iface
, BSTR v
)
2510 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2512 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
2514 return set_style_property(&This
->css_style
, STYLEID_PAGE_BREAK_AFTER
, v
);
2517 static HRESULT WINAPI
HTMLStyle_get_pageBreakAfter(IHTMLStyle
*iface
, BSTR
*p
)
2519 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2521 TRACE("(%p)->(%p)\n", This
, p
);
2523 return get_style_property(&This
->css_style
, STYLEID_PAGE_BREAK_AFTER
, p
);
2526 static HRESULT WINAPI
HTMLStyle_put_cssText(IHTMLStyle
*iface
, BSTR v
)
2528 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2530 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
2532 return IHTMLCSSStyleDeclaration_put_cssText(&This
->css_style
.IHTMLCSSStyleDeclaration_iface
, v
);
2535 static HRESULT WINAPI
HTMLStyle_get_cssText(IHTMLStyle
*iface
, BSTR
*p
)
2537 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2539 TRACE("(%p)->(%p)\n", This
, p
);
2541 return IHTMLCSSStyleDeclaration_get_cssText(&This
->css_style
.IHTMLCSSStyleDeclaration_iface
, p
);
2544 static HRESULT WINAPI
HTMLStyle_put_pixelTop(IHTMLStyle
*iface
, LONG v
)
2546 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2548 TRACE("(%p)->(%ld)\n", This
, v
);
2550 return set_style_pxattr(This
, STYLEID_TOP
, v
);
2553 static HRESULT WINAPI
HTMLStyle_get_pixelTop(IHTMLStyle
*iface
, LONG
*p
)
2555 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2557 TRACE("(%p)->(%p)\n", This
, p
);
2559 return get_nsstyle_pixel_val(This
, STYLEID_TOP
, p
);
2562 static HRESULT WINAPI
HTMLStyle_put_pixelLeft(IHTMLStyle
*iface
, LONG v
)
2564 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2566 TRACE("(%p)->(%ld)\n", This
, v
);
2568 return set_style_pxattr(This
, STYLEID_LEFT
, v
);
2571 static HRESULT WINAPI
HTMLStyle_get_pixelLeft(IHTMLStyle
*iface
, LONG
*p
)
2573 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2575 TRACE("(%p)->(%p)\n", This
, p
);
2577 return get_nsstyle_pixel_val(This
, STYLEID_LEFT
, p
);
2580 static HRESULT WINAPI
HTMLStyle_put_pixelWidth(IHTMLStyle
*iface
, LONG v
)
2582 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2584 TRACE("(%p)->()\n", This
);
2586 return set_style_pxattr(This
, STYLEID_WIDTH
, v
);
2589 static HRESULT WINAPI
HTMLStyle_get_pixelWidth(IHTMLStyle
*iface
, LONG
*p
)
2591 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2593 TRACE("(%p)->(%p)\n", This
, p
);
2595 return get_nsstyle_pixel_val(This
, STYLEID_WIDTH
, p
);
2598 static HRESULT WINAPI
HTMLStyle_put_pixelHeight(IHTMLStyle
*iface
, LONG v
)
2600 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2602 TRACE("(%p)->(%ld)\n", This
, v
);
2604 return set_style_pxattr(This
, STYLEID_HEIGHT
, v
);
2607 static HRESULT WINAPI
HTMLStyle_get_pixelHeight(IHTMLStyle
*iface
, LONG
*p
)
2609 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2611 TRACE("(%p)->(%p)\n", This
, p
);
2613 return get_nsstyle_pixel_val(This
, STYLEID_HEIGHT
, p
);
2616 static HRESULT WINAPI
HTMLStyle_put_posTop(IHTMLStyle
*iface
, float v
)
2618 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2620 TRACE("(%p)->(%f)\n", This
, v
);
2622 return set_style_pos(This
, STYLEID_TOP
, v
);
2625 static HRESULT WINAPI
HTMLStyle_get_posTop(IHTMLStyle
*iface
, float *p
)
2627 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2629 TRACE("(%p)->(%p)\n", This
, p
);
2634 return get_nsstyle_pos(This
, STYLEID_TOP
, p
);
2637 static HRESULT WINAPI
HTMLStyle_put_posLeft(IHTMLStyle
*iface
, float v
)
2639 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2641 TRACE("(%p)->(%f)\n", This
, v
);
2643 return set_style_pos(This
, STYLEID_LEFT
, v
);
2646 static HRESULT WINAPI
HTMLStyle_get_posLeft(IHTMLStyle
*iface
, float *p
)
2648 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2650 TRACE("(%p)->(%p)\n", This
, p
);
2655 return get_nsstyle_pos(This
, STYLEID_LEFT
, p
);
2658 static HRESULT WINAPI
HTMLStyle_put_posWidth(IHTMLStyle
*iface
, float v
)
2660 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2662 TRACE("(%p)->(%f)\n", This
, v
);
2664 return set_style_pos(This
, STYLEID_WIDTH
, v
);
2667 static HRESULT WINAPI
HTMLStyle_get_posWidth(IHTMLStyle
*iface
, float *p
)
2669 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2671 TRACE("(%p)->(%p)\n", This
, p
);
2676 if(get_nsstyle_pos(This
, STYLEID_WIDTH
, p
) != S_OK
)
2682 static HRESULT WINAPI
HTMLStyle_put_posHeight(IHTMLStyle
*iface
, float v
)
2684 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2686 TRACE("(%p)->(%f)\n", This
, v
);
2688 return set_style_pos(This
, STYLEID_HEIGHT
, v
);
2691 static HRESULT WINAPI
HTMLStyle_get_posHeight(IHTMLStyle
*iface
, float *p
)
2693 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2695 TRACE("(%p)->(%p)\n", This
, p
);
2700 if(get_nsstyle_pos(This
, STYLEID_HEIGHT
, p
) != S_OK
)
2706 static HRESULT WINAPI
HTMLStyle_put_cursor(IHTMLStyle
*iface
, BSTR v
)
2708 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2710 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
2712 return set_style_property(&This
->css_style
, STYLEID_CURSOR
, v
);
2715 static HRESULT WINAPI
HTMLStyle_get_cursor(IHTMLStyle
*iface
, BSTR
*p
)
2717 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2719 TRACE("(%p)->(%p)\n", This
, p
);
2721 return get_style_property(&This
->css_style
, STYLEID_CURSOR
, p
);
2724 static HRESULT WINAPI
HTMLStyle_put_clip(IHTMLStyle
*iface
, BSTR v
)
2726 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2728 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
2730 return set_style_property(&This
->css_style
, STYLEID_CLIP
, v
);
2733 static HRESULT WINAPI
HTMLStyle_get_clip(IHTMLStyle
*iface
, BSTR
*p
)
2735 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2737 TRACE("(%p)->(%p)\n", This
, p
);
2739 return get_style_property(&This
->css_style
, STYLEID_CLIP
, p
);
2742 static void set_opacity(HTMLStyle
*This
, const WCHAR
*val
)
2744 nsAString name_str
, val_str
, empty_str
;
2747 TRACE("%s\n", debugstr_w(val
));
2749 nsAString_InitDepend(&name_str
, L
"opacity");
2750 nsAString_InitDepend(&val_str
, val
);
2751 nsAString_InitDepend(&empty_str
, L
"");
2753 nsres
= nsIDOMCSSStyleDeclaration_SetProperty(This
->css_style
.nsstyle
, &name_str
, &val_str
, &empty_str
);
2754 if(NS_FAILED(nsres
))
2755 ERR("SetProperty failed: %08lx\n", nsres
);
2757 nsAString_Finish(&name_str
);
2758 nsAString_Finish(&val_str
);
2759 nsAString_Finish(&empty_str
);
2762 static void update_filter(HTMLStyle
*This
)
2764 const WCHAR
*ptr
, *ptr2
;
2766 static const WCHAR alphaW
[] = {'a','l','p','h','a'};
2768 if(dispex_compat_mode(&This
->css_style
.dispex
) >= COMPAT_MODE_IE10
)
2771 ptr
= This
->elem
->filter
;
2772 TRACE("%s\n", debugstr_w(ptr
));
2774 set_opacity(This
, L
"");
2779 while(iswspace(*ptr
))
2785 while(iswalnum(*ptr
))
2788 WARN("unexpected char '%c'\n", *ptr
);
2792 WARN("expected '('\n");
2796 if(ptr2
+ ARRAY_SIZE(alphaW
) == ptr
&& !memcmp(ptr2
, alphaW
, sizeof(alphaW
))) {
2797 static const WCHAR opacityW
[] = {'o','p','a','c','i','t','y','='};
2801 while(iswspace(*ptr
))
2805 while(*ptr
&& *ptr
!= ',' && *ptr
!= ')')
2808 WARN("unexpected end of string\n");
2812 if(ptr
-ptr2
> ARRAY_SIZE(opacityW
) && !memcmp(ptr2
, opacityW
, sizeof(opacityW
))) {
2813 float fval
= 0.0f
, e
= 0.1f
;
2816 ptr2
+= ARRAY_SIZE(opacityW
);
2818 while(is_digit(*ptr2
))
2819 fval
= fval
*10.0f
+ (float)(*ptr2
++ - '0');
2822 while(is_digit(*++ptr2
)) {
2823 fval
+= e
* (float)(*ptr2
++ - '0');
2828 swprintf(buf
, ARRAY_SIZE(buf
), L
"%f", fval
* 0.01f
);
2829 set_opacity(This
, buf
);
2831 FIXME("unknown param %s\n", debugstr_wn(ptr2
, ptr
-ptr2
));
2836 }while(*ptr
!= ')');
2838 FIXME("unknown filter %s\n", debugstr_wn(ptr2
, ptr
-ptr2
));
2839 ptr
= wcschr(ptr
, ')');
2847 static HRESULT WINAPI
HTMLStyle_put_filter(IHTMLStyle
*iface
, BSTR v
)
2849 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2850 WCHAR
*new_filter
= NULL
;
2852 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
2855 FIXME("Element already destroyed\n");
2856 return E_UNEXPECTED
;
2860 new_filter
= wcsdup(v
);
2862 return E_OUTOFMEMORY
;
2865 free(This
->elem
->filter
);
2866 This
->elem
->filter
= new_filter
;
2868 update_filter(This
);
2872 static HRESULT WINAPI
HTMLStyle_get_filter(IHTMLStyle
*iface
, BSTR
*p
)
2874 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2876 TRACE("(%p)->(%p)\n", This
, p
);
2879 FIXME("Element already destroyed\n");
2880 return E_UNEXPECTED
;
2883 if(This
->elem
->filter
) {
2884 *p
= SysAllocString(This
->elem
->filter
);
2886 return E_OUTOFMEMORY
;
2894 static HRESULT WINAPI
HTMLStyle_setAttribute(IHTMLStyle
*iface
, BSTR strAttributeName
,
2895 VARIANT AttributeValue
, LONG lFlags
)
2897 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2901 TRACE("(%p)->(%s %s %08lx)\n", This
, debugstr_w(strAttributeName
),
2902 debugstr_variant(&AttributeValue
), lFlags
);
2904 if(!strAttributeName
)
2905 return E_INVALIDARG
;
2908 FIXME("Parameter lFlags ignored\n");
2910 hres
= HTMLStyle_GetIDsOfNames(iface
, &IID_NULL
, &strAttributeName
, 1,
2911 LOCALE_USER_DEFAULT
, &dispid
);
2915 DISPID dispidNamed
= DISPID_PROPERTYPUT
;
2919 params
.rgvarg
= &AttributeValue
;
2920 params
.cNamedArgs
= 1;
2921 params
.rgdispidNamedArgs
= &dispidNamed
;
2923 hres
= HTMLStyle_Invoke(iface
, dispid
, &IID_NULL
, LOCALE_SYSTEM_DEFAULT
,
2924 DISPATCH_PROPERTYPUT
, ¶ms
, &ret
, NULL
, NULL
);
2928 FIXME("Custom attributes not supported.\n");
2931 TRACE("ret: %08lx\n", hres
);
2936 static HRESULT WINAPI
HTMLStyle_getAttribute(IHTMLStyle
*iface
, BSTR strAttributeName
,
2937 LONG lFlags
, VARIANT
*AttributeValue
)
2939 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2943 TRACE("(%p)->(%s v%p %08lx)\n", This
, debugstr_w(strAttributeName
),
2944 AttributeValue
, lFlags
);
2946 if(!AttributeValue
|| !strAttributeName
)
2947 return E_INVALIDARG
;
2950 FIXME("Parameter lFlags ignored\n");
2952 hres
= HTMLStyle_GetIDsOfNames(iface
, &IID_NULL
, &strAttributeName
, 1,
2953 LOCALE_USER_DEFAULT
, &dispid
);
2956 DISPPARAMS params
= {NULL
, NULL
, 0, 0 };
2958 hres
= HTMLStyle_Invoke(iface
, dispid
, &IID_NULL
, LOCALE_SYSTEM_DEFAULT
,
2959 DISPATCH_PROPERTYGET
, ¶ms
, AttributeValue
, NULL
, NULL
);
2963 FIXME("Custom attributes not supported.\n");
2969 static HRESULT WINAPI
HTMLStyle_removeAttribute(IHTMLStyle
*iface
, BSTR strAttributeName
,
2970 LONG lFlags
, VARIANT_BOOL
*pfSuccess
)
2972 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
2973 const style_tbl_entry_t
*style_entry
;
2974 nsAString name_str
, ret_str
;
2978 TRACE("(%p)->(%s %08lx %p)\n", This
, debugstr_w(strAttributeName
), lFlags
, pfSuccess
);
2980 style_entry
= lookup_style_tbl(&This
->css_style
, strAttributeName
);
2982 compat_mode_t compat_mode
= dispex_compat_mode(&This
->css_style
.dispex
);
2986 hres
= IDispatchEx_GetDispID(&This
->css_style
.dispex
.IDispatchEx_iface
, strAttributeName
,
2987 (lFlags
&1) ? fdexNameCaseSensitive
: fdexNameCaseInsensitive
, &dispid
);
2989 *pfSuccess
= VARIANT_FALSE
;
2993 for(i
=0; i
< ARRAY_SIZE(style_tbl
); i
++) {
2994 if(dispid
== (compat_mode
>= COMPAT_MODE_IE9
2995 ? style_tbl
[i
].dispid
: style_tbl
[i
].compat_dispid
))
2999 if(i
== ARRAY_SIZE(style_tbl
))
3000 return remove_attribute(&This
->css_style
.dispex
, dispid
, pfSuccess
);
3001 style_entry
= style_tbl
+i
;
3004 /* filter property is a special case */
3005 if(style_entry
->compat_dispid
== DISPID_IHTMLSTYLE_FILTER
) {
3007 return E_UNEXPECTED
;
3008 *pfSuccess
= variant_bool(This
->elem
->filter
&& *This
->elem
->filter
);
3009 free(This
->elem
->filter
);
3010 This
->elem
->filter
= NULL
;
3011 update_filter(This
);
3015 nsAString_InitDepend(&name_str
, style_entry
->name
);
3016 nsAString_Init(&ret_str
, NULL
);
3017 nsres
= nsIDOMCSSStyleDeclaration_RemoveProperty(This
->css_style
.nsstyle
, &name_str
, &ret_str
);
3018 if(NS_SUCCEEDED(nsres
)) {
3019 const PRUnichar
*ret
;
3020 nsAString_GetData(&ret_str
, &ret
);
3021 *pfSuccess
= variant_bool(*ret
);
3023 WARN("RemoveProperty failed: %08lx\n", nsres
);
3025 nsAString_Finish(&name_str
);
3026 nsAString_Finish(&ret_str
);
3027 return map_nsresult(nsres
);
3030 static HRESULT WINAPI
HTMLStyle_toString(IHTMLStyle
*iface
, BSTR
*String
)
3032 HTMLStyle
*This
= impl_from_IHTMLStyle(iface
);
3034 TRACE("(%p)->(%p)\n", This
, String
);
3036 return dispex_to_string(&This
->css_style
.dispex
, String
);
3039 static const IHTMLStyleVtbl HTMLStyleVtbl
= {
3040 HTMLStyle_QueryInterface
,
3043 HTMLStyle_GetTypeInfoCount
,
3044 HTMLStyle_GetTypeInfo
,
3045 HTMLStyle_GetIDsOfNames
,
3047 HTMLStyle_put_fontFamily
,
3048 HTMLStyle_get_fontFamily
,
3049 HTMLStyle_put_fontStyle
,
3050 HTMLStyle_get_fontStyle
,
3051 HTMLStyle_put_fontVariant
,
3052 HTMLStyle_get_fontVariant
,
3053 HTMLStyle_put_fontWeight
,
3054 HTMLStyle_get_fontWeight
,
3055 HTMLStyle_put_fontSize
,
3056 HTMLStyle_get_fontSize
,
3059 HTMLStyle_put_color
,
3060 HTMLStyle_get_color
,
3061 HTMLStyle_put_background
,
3062 HTMLStyle_get_background
,
3063 HTMLStyle_put_backgroundColor
,
3064 HTMLStyle_get_backgroundColor
,
3065 HTMLStyle_put_backgroundImage
,
3066 HTMLStyle_get_backgroundImage
,
3067 HTMLStyle_put_backgroundRepeat
,
3068 HTMLStyle_get_backgroundRepeat
,
3069 HTMLStyle_put_backgroundAttachment
,
3070 HTMLStyle_get_backgroundAttachment
,
3071 HTMLStyle_put_backgroundPosition
,
3072 HTMLStyle_get_backgroundPosition
,
3073 HTMLStyle_put_backgroundPositionX
,
3074 HTMLStyle_get_backgroundPositionX
,
3075 HTMLStyle_put_backgroundPositionY
,
3076 HTMLStyle_get_backgroundPositionY
,
3077 HTMLStyle_put_wordSpacing
,
3078 HTMLStyle_get_wordSpacing
,
3079 HTMLStyle_put_letterSpacing
,
3080 HTMLStyle_get_letterSpacing
,
3081 HTMLStyle_put_textDecoration
,
3082 HTMLStyle_get_textDecoration
,
3083 HTMLStyle_put_textDecorationNone
,
3084 HTMLStyle_get_textDecorationNone
,
3085 HTMLStyle_put_textDecorationUnderline
,
3086 HTMLStyle_get_textDecorationUnderline
,
3087 HTMLStyle_put_textDecorationOverline
,
3088 HTMLStyle_get_textDecorationOverline
,
3089 HTMLStyle_put_textDecorationLineThrough
,
3090 HTMLStyle_get_textDecorationLineThrough
,
3091 HTMLStyle_put_textDecorationBlink
,
3092 HTMLStyle_get_textDecorationBlink
,
3093 HTMLStyle_put_verticalAlign
,
3094 HTMLStyle_get_verticalAlign
,
3095 HTMLStyle_put_textTransform
,
3096 HTMLStyle_get_textTransform
,
3097 HTMLStyle_put_textAlign
,
3098 HTMLStyle_get_textAlign
,
3099 HTMLStyle_put_textIndent
,
3100 HTMLStyle_get_textIndent
,
3101 HTMLStyle_put_lineHeight
,
3102 HTMLStyle_get_lineHeight
,
3103 HTMLStyle_put_marginTop
,
3104 HTMLStyle_get_marginTop
,
3105 HTMLStyle_put_marginRight
,
3106 HTMLStyle_get_marginRight
,
3107 HTMLStyle_put_marginBottom
,
3108 HTMLStyle_get_marginBottom
,
3109 HTMLStyle_put_marginLeft
,
3110 HTMLStyle_get_marginLeft
,
3111 HTMLStyle_put_margin
,
3112 HTMLStyle_get_margin
,
3113 HTMLStyle_put_paddingTop
,
3114 HTMLStyle_get_paddingTop
,
3115 HTMLStyle_put_paddingRight
,
3116 HTMLStyle_get_paddingRight
,
3117 HTMLStyle_put_paddingBottom
,
3118 HTMLStyle_get_paddingBottom
,
3119 HTMLStyle_put_paddingLeft
,
3120 HTMLStyle_get_paddingLeft
,
3121 HTMLStyle_put_padding
,
3122 HTMLStyle_get_padding
,
3123 HTMLStyle_put_border
,
3124 HTMLStyle_get_border
,
3125 HTMLStyle_put_borderTop
,
3126 HTMLStyle_get_borderTop
,
3127 HTMLStyle_put_borderRight
,
3128 HTMLStyle_get_borderRight
,
3129 HTMLStyle_put_borderBottom
,
3130 HTMLStyle_get_borderBottom
,
3131 HTMLStyle_put_borderLeft
,
3132 HTMLStyle_get_borderLeft
,
3133 HTMLStyle_put_borderColor
,
3134 HTMLStyle_get_borderColor
,
3135 HTMLStyle_put_borderTopColor
,
3136 HTMLStyle_get_borderTopColor
,
3137 HTMLStyle_put_borderRightColor
,
3138 HTMLStyle_get_borderRightColor
,
3139 HTMLStyle_put_borderBottomColor
,
3140 HTMLStyle_get_borderBottomColor
,
3141 HTMLStyle_put_borderLeftColor
,
3142 HTMLStyle_get_borderLeftColor
,
3143 HTMLStyle_put_borderWidth
,
3144 HTMLStyle_get_borderWidth
,
3145 HTMLStyle_put_borderTopWidth
,
3146 HTMLStyle_get_borderTopWidth
,
3147 HTMLStyle_put_borderRightWidth
,
3148 HTMLStyle_get_borderRightWidth
,
3149 HTMLStyle_put_borderBottomWidth
,
3150 HTMLStyle_get_borderBottomWidth
,
3151 HTMLStyle_put_borderLeftWidth
,
3152 HTMLStyle_get_borderLeftWidth
,
3153 HTMLStyle_put_borderStyle
,
3154 HTMLStyle_get_borderStyle
,
3155 HTMLStyle_put_borderTopStyle
,
3156 HTMLStyle_get_borderTopStyle
,
3157 HTMLStyle_put_borderRightStyle
,
3158 HTMLStyle_get_borderRightStyle
,
3159 HTMLStyle_put_borderBottomStyle
,
3160 HTMLStyle_get_borderBottomStyle
,
3161 HTMLStyle_put_borderLeftStyle
,
3162 HTMLStyle_get_borderLeftStyle
,
3163 HTMLStyle_put_width
,
3164 HTMLStyle_get_width
,
3165 HTMLStyle_put_height
,
3166 HTMLStyle_get_height
,
3167 HTMLStyle_put_styleFloat
,
3168 HTMLStyle_get_styleFloat
,
3169 HTMLStyle_put_clear
,
3170 HTMLStyle_get_clear
,
3171 HTMLStyle_put_display
,
3172 HTMLStyle_get_display
,
3173 HTMLStyle_put_visibility
,
3174 HTMLStyle_get_visibility
,
3175 HTMLStyle_put_listStyleType
,
3176 HTMLStyle_get_listStyleType
,
3177 HTMLStyle_put_listStylePosition
,
3178 HTMLStyle_get_listStylePosition
,
3179 HTMLStyle_put_listStyleImage
,
3180 HTMLStyle_get_listStyleImage
,
3181 HTMLStyle_put_listStyle
,
3182 HTMLStyle_get_listStyle
,
3183 HTMLStyle_put_whiteSpace
,
3184 HTMLStyle_get_whiteSpace
,
3189 HTMLStyle_get_position
,
3190 HTMLStyle_put_zIndex
,
3191 HTMLStyle_get_zIndex
,
3192 HTMLStyle_put_overflow
,
3193 HTMLStyle_get_overflow
,
3194 HTMLStyle_put_pageBreakBefore
,
3195 HTMLStyle_get_pageBreakBefore
,
3196 HTMLStyle_put_pageBreakAfter
,
3197 HTMLStyle_get_pageBreakAfter
,
3198 HTMLStyle_put_cssText
,
3199 HTMLStyle_get_cssText
,
3200 HTMLStyle_put_pixelTop
,
3201 HTMLStyle_get_pixelTop
,
3202 HTMLStyle_put_pixelLeft
,
3203 HTMLStyle_get_pixelLeft
,
3204 HTMLStyle_put_pixelWidth
,
3205 HTMLStyle_get_pixelWidth
,
3206 HTMLStyle_put_pixelHeight
,
3207 HTMLStyle_get_pixelHeight
,
3208 HTMLStyle_put_posTop
,
3209 HTMLStyle_get_posTop
,
3210 HTMLStyle_put_posLeft
,
3211 HTMLStyle_get_posLeft
,
3212 HTMLStyle_put_posWidth
,
3213 HTMLStyle_get_posWidth
,
3214 HTMLStyle_put_posHeight
,
3215 HTMLStyle_get_posHeight
,
3216 HTMLStyle_put_cursor
,
3217 HTMLStyle_get_cursor
,
3220 HTMLStyle_put_filter
,
3221 HTMLStyle_get_filter
,
3222 HTMLStyle_setAttribute
,
3223 HTMLStyle_getAttribute
,
3224 HTMLStyle_removeAttribute
,
3228 static inline HTMLStyle
*impl_from_IHTMLStyle2(IHTMLStyle2
*iface
)
3230 return CONTAINING_RECORD(iface
, HTMLStyle
, IHTMLStyle2_iface
);
3233 static HRESULT WINAPI
HTMLStyle2_QueryInterface(IHTMLStyle2
*iface
, REFIID riid
, void **ppv
)
3235 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3237 return IHTMLStyle_QueryInterface(&This
->IHTMLStyle_iface
, riid
, ppv
);
3240 static ULONG WINAPI
HTMLStyle2_AddRef(IHTMLStyle2
*iface
)
3242 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3244 return IHTMLStyle_AddRef(&This
->IHTMLStyle_iface
);
3247 static ULONG WINAPI
HTMLStyle2_Release(IHTMLStyle2
*iface
)
3249 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3251 return IHTMLStyle_Release(&This
->IHTMLStyle_iface
);
3254 static HRESULT WINAPI
HTMLStyle2_GetTypeInfoCount(IHTMLStyle2
*iface
, UINT
*pctinfo
)
3256 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3257 return IDispatchEx_GetTypeInfoCount(&This
->css_style
.dispex
.IDispatchEx_iface
, pctinfo
);
3260 static HRESULT WINAPI
HTMLStyle2_GetTypeInfo(IHTMLStyle2
*iface
, UINT iTInfo
,
3261 LCID lcid
, ITypeInfo
**ppTInfo
)
3263 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3264 return IDispatchEx_GetTypeInfo(&This
->css_style
.dispex
.IDispatchEx_iface
, iTInfo
, lcid
, ppTInfo
);
3267 static HRESULT WINAPI
HTMLStyle2_GetIDsOfNames(IHTMLStyle2
*iface
, REFIID riid
,
3268 LPOLESTR
*rgszNames
, UINT cNames
,
3269 LCID lcid
, DISPID
*rgDispId
)
3271 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3272 return IDispatchEx_GetIDsOfNames(&This
->css_style
.dispex
.IDispatchEx_iface
, riid
, rgszNames
, cNames
,
3276 static HRESULT WINAPI
HTMLStyle2_Invoke(IHTMLStyle2
*iface
, DISPID dispIdMember
,
3277 REFIID riid
, LCID lcid
, WORD wFlags
, DISPPARAMS
*pDispParams
,
3278 VARIANT
*pVarResult
, EXCEPINFO
*pExcepInfo
, UINT
*puArgErr
)
3280 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3281 return IDispatchEx_Invoke(&This
->css_style
.dispex
.IDispatchEx_iface
, dispIdMember
, riid
, lcid
,
3282 wFlags
, pDispParams
, pVarResult
, pExcepInfo
, puArgErr
);
3285 static HRESULT WINAPI
HTMLStyle2_put_tableLayout(IHTMLStyle2
*iface
, BSTR v
)
3287 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3289 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
3291 return set_style_property(&This
->css_style
, STYLEID_TABLE_LAYOUT
, v
);
3294 static HRESULT WINAPI
HTMLStyle2_get_tableLayout(IHTMLStyle2
*iface
, BSTR
*p
)
3296 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3298 TRACE("(%p)->(%p)\n", This
, p
);
3300 return get_style_property(&This
->css_style
, STYLEID_TABLE_LAYOUT
, p
);
3303 static HRESULT WINAPI
HTMLStyle2_put_borderCollapse(IHTMLStyle2
*iface
, BSTR v
)
3305 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3307 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
3309 return set_style_property(&This
->css_style
, STYLEID_BORDER_COLLAPSE
, v
);
3312 static HRESULT WINAPI
HTMLStyle2_get_borderCollapse(IHTMLStyle2
*iface
, BSTR
*p
)
3314 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3316 TRACE("(%p)->(%p)\n", This
, p
);
3318 return get_style_property(&This
->css_style
, STYLEID_BORDER_COLLAPSE
, p
);
3321 static HRESULT WINAPI
HTMLStyle2_put_direction(IHTMLStyle2
*iface
, BSTR v
)
3323 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3325 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
3327 return set_style_property(&This
->css_style
, STYLEID_DIRECTION
, v
);
3330 static HRESULT WINAPI
HTMLStyle2_get_direction(IHTMLStyle2
*iface
, BSTR
*p
)
3332 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3334 TRACE("(%p)->(%p)\n", This
, p
);
3336 return get_style_property(&This
->css_style
, STYLEID_DIRECTION
, p
);
3339 static HRESULT WINAPI
HTMLStyle2_put_behavior(IHTMLStyle2
*iface
, BSTR v
)
3341 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3342 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
3346 static HRESULT WINAPI
HTMLStyle2_get_behavior(IHTMLStyle2
*iface
, BSTR
*p
)
3348 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3349 FIXME("(%p)->(%p)\n", This
, p
);
3353 static HRESULT WINAPI
HTMLStyle2_setExpression(IHTMLStyle2
*iface
, BSTR propname
, BSTR expression
, BSTR language
)
3355 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3356 FIXME("(%p)->(%s %s %s)\n", This
, debugstr_w(propname
), debugstr_w(expression
), debugstr_w(language
));
3360 static HRESULT WINAPI
HTMLStyle2_getExpression(IHTMLStyle2
*iface
, BSTR propname
, VARIANT
*expression
)
3362 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3363 FIXME("(%p)->(%s %p)\n", This
, debugstr_w(propname
), expression
);
3367 static HRESULT WINAPI
HTMLStyle2_removeExpression(IHTMLStyle2
*iface
, BSTR propname
, VARIANT_BOOL
*pfSuccess
)
3369 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3370 FIXME("(%p)->(%s %p)\n", This
, debugstr_w(propname
), pfSuccess
);
3374 static HRESULT WINAPI
HTMLStyle2_put_position(IHTMLStyle2
*iface
, BSTR v
)
3376 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3378 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
3380 return set_style_property(&This
->css_style
, STYLEID_POSITION
, v
);
3383 static HRESULT WINAPI
HTMLStyle2_get_position(IHTMLStyle2
*iface
, BSTR
*p
)
3385 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3387 TRACE("(%p)->(%p)\n", This
, p
);
3389 return get_style_property(&This
->css_style
, STYLEID_POSITION
, p
);
3392 static HRESULT WINAPI
HTMLStyle2_put_unicodeBidi(IHTMLStyle2
*iface
, BSTR v
)
3394 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3395 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
3399 static HRESULT WINAPI
HTMLStyle2_get_unicodeBidi(IHTMLStyle2
*iface
, BSTR
*p
)
3401 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3402 FIXME("(%p)->(%p)\n", This
, p
);
3406 static HRESULT WINAPI
HTMLStyle2_put_bottom(IHTMLStyle2
*iface
, VARIANT v
)
3408 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3410 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
3412 return set_style_property_var(&This
->css_style
, STYLEID_BOTTOM
, &v
);
3415 static HRESULT WINAPI
HTMLStyle2_get_bottom(IHTMLStyle2
*iface
, VARIANT
*p
)
3417 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3419 TRACE("(%p)->(%p)\n", This
, p
);
3421 return get_style_property_var(&This
->css_style
, STYLEID_BOTTOM
, p
);
3424 static HRESULT WINAPI
HTMLStyle2_put_right(IHTMLStyle2
*iface
, VARIANT v
)
3426 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3428 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
3430 return set_style_property_var(&This
->css_style
, STYLEID_RIGHT
, &v
);
3433 static HRESULT WINAPI
HTMLStyle2_get_right(IHTMLStyle2
*iface
, VARIANT
*p
)
3435 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3437 TRACE("(%p)->(%p)\n", This
, p
);
3439 return get_style_property_var(&This
->css_style
, STYLEID_RIGHT
, p
);
3442 static HRESULT WINAPI
HTMLStyle2_put_pixelBottom(IHTMLStyle2
*iface
, LONG v
)
3444 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3445 FIXME("(%p)->(%ld)\n", This
, v
);
3449 static HRESULT WINAPI
HTMLStyle2_get_pixelBottom(IHTMLStyle2
*iface
, LONG
*p
)
3451 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3452 FIXME("(%p)->(%p)\n", This
, p
);
3456 static HRESULT WINAPI
HTMLStyle2_put_pixelRight(IHTMLStyle2
*iface
, LONG v
)
3458 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3459 FIXME("(%p)->(%ld)\n", This
, v
);
3463 static HRESULT WINAPI
HTMLStyle2_get_pixelRight(IHTMLStyle2
*iface
, LONG
*p
)
3465 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3466 FIXME("(%p)->(%p)\n", This
, p
);
3470 static HRESULT WINAPI
HTMLStyle2_put_posBottom(IHTMLStyle2
*iface
, float v
)
3472 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3473 FIXME("(%p)->(%f)\n", This
, v
);
3477 static HRESULT WINAPI
HTMLStyle2_get_posBottom(IHTMLStyle2
*iface
, float *p
)
3479 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3480 FIXME("(%p)->(%p)\n", This
, p
);
3484 static HRESULT WINAPI
HTMLStyle2_put_posRight(IHTMLStyle2
*iface
, float v
)
3486 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3487 FIXME("(%p)->(%f)\n", This
, v
);
3491 static HRESULT WINAPI
HTMLStyle2_get_posRight(IHTMLStyle2
*iface
, float *p
)
3493 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3494 FIXME("(%p)->(%p)\n", This
, p
);
3498 static HRESULT WINAPI
HTMLStyle2_put_imeMode(IHTMLStyle2
*iface
, BSTR v
)
3500 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3501 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
3505 static HRESULT WINAPI
HTMLStyle2_get_imeMode(IHTMLStyle2
*iface
, BSTR
*p
)
3507 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3508 FIXME("(%p)->(%p)\n", This
, p
);
3512 static HRESULT WINAPI
HTMLStyle2_put_rubyAlign(IHTMLStyle2
*iface
, BSTR v
)
3514 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3515 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
3519 static HRESULT WINAPI
HTMLStyle2_get_rubyAlign(IHTMLStyle2
*iface
, BSTR
*p
)
3521 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3522 FIXME("(%p)->(%p)\n", This
, p
);
3526 static HRESULT WINAPI
HTMLStyle2_put_rubyPosition(IHTMLStyle2
*iface
, BSTR v
)
3528 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3529 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
3533 static HRESULT WINAPI
HTMLStyle2_get_rubyPosition(IHTMLStyle2
*iface
, BSTR
*p
)
3535 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3536 FIXME("(%p)->(%p)\n", This
, p
);
3540 static HRESULT WINAPI
HTMLStyle2_put_rubyOverhang(IHTMLStyle2
*iface
, BSTR v
)
3542 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3543 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
3547 static HRESULT WINAPI
HTMLStyle2_get_rubyOverhang(IHTMLStyle2
*iface
, BSTR
*p
)
3549 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3550 FIXME("(%p)->(%p)\n", This
, p
);
3554 static HRESULT WINAPI
HTMLStyle2_put_layoutGridChar(IHTMLStyle2
*iface
, VARIANT v
)
3556 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3557 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
3561 static HRESULT WINAPI
HTMLStyle2_get_layoutGridChar(IHTMLStyle2
*iface
, VARIANT
*p
)
3563 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3564 FIXME("(%p)->(%p)\n", This
, p
);
3568 static HRESULT WINAPI
HTMLStyle2_put_layoutGridLine(IHTMLStyle2
*iface
, VARIANT v
)
3570 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3571 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
3575 static HRESULT WINAPI
HTMLStyle2_get_layoutGridLine(IHTMLStyle2
*iface
, VARIANT
*p
)
3577 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3578 FIXME("(%p)->(%p)\n", This
, p
);
3582 static HRESULT WINAPI
HTMLStyle2_put_layoutGridMode(IHTMLStyle2
*iface
, BSTR v
)
3584 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3585 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
3589 static HRESULT WINAPI
HTMLStyle2_get_layoutGridMode(IHTMLStyle2
*iface
, BSTR
*p
)
3591 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3592 FIXME("(%p)->(%p)\n", This
, p
);
3596 static HRESULT WINAPI
HTMLStyle2_put_layoutGridType(IHTMLStyle2
*iface
, BSTR v
)
3598 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3599 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
3603 static HRESULT WINAPI
HTMLStyle2_get_layoutGridType(IHTMLStyle2
*iface
, BSTR
*p
)
3605 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3606 FIXME("(%p)->(%p)\n", This
, p
);
3610 static HRESULT WINAPI
HTMLStyle2_put_layoutGrid(IHTMLStyle2
*iface
, BSTR v
)
3612 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3613 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
3617 static HRESULT WINAPI
HTMLStyle2_get_layoutGrid(IHTMLStyle2
*iface
, BSTR
*p
)
3619 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3620 FIXME("(%p)->(%p)\n", This
, p
);
3624 static HRESULT WINAPI
HTMLStyle2_put_wordBreak(IHTMLStyle2
*iface
, BSTR v
)
3626 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3627 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
3631 static HRESULT WINAPI
HTMLStyle2_get_wordBreak(IHTMLStyle2
*iface
, BSTR
*p
)
3633 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3634 FIXME("(%p)->(%p)\n", This
, p
);
3638 static HRESULT WINAPI
HTMLStyle2_put_lineBreak(IHTMLStyle2
*iface
, BSTR v
)
3640 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3641 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
3645 static HRESULT WINAPI
HTMLStyle2_get_lineBreak(IHTMLStyle2
*iface
, BSTR
*p
)
3647 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3648 FIXME("(%p)->(%p)\n", This
, p
);
3652 static HRESULT WINAPI
HTMLStyle2_put_textJustify(IHTMLStyle2
*iface
, BSTR v
)
3654 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3655 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
3659 static HRESULT WINAPI
HTMLStyle2_get_textJustify(IHTMLStyle2
*iface
, BSTR
*p
)
3661 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3662 FIXME("(%p)->(%p)\n", This
, p
);
3666 static HRESULT WINAPI
HTMLStyle2_put_textJustifyTrim(IHTMLStyle2
*iface
, BSTR v
)
3668 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3669 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
3673 static HRESULT WINAPI
HTMLStyle2_get_textJustifyTrim(IHTMLStyle2
*iface
, BSTR
*p
)
3675 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3676 FIXME("(%p)->(%p)\n", This
, p
);
3680 static HRESULT WINAPI
HTMLStyle2_put_textKashida(IHTMLStyle2
*iface
, VARIANT v
)
3682 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3683 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
3687 static HRESULT WINAPI
HTMLStyle2_get_textKashida(IHTMLStyle2
*iface
, VARIANT
*p
)
3689 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3690 FIXME("(%p)->(%p)\n", This
, p
);
3694 static HRESULT WINAPI
HTMLStyle2_put_textAutospace(IHTMLStyle2
*iface
, BSTR v
)
3696 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3697 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
3701 static HRESULT WINAPI
HTMLStyle2_get_textAutospace(IHTMLStyle2
*iface
, BSTR
*p
)
3703 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3704 FIXME("(%p)->(%p)\n", This
, p
);
3708 static HRESULT WINAPI
HTMLStyle2_put_overflowX(IHTMLStyle2
*iface
, BSTR v
)
3710 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3712 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
3714 return set_style_property(&This
->css_style
, STYLEID_OVERFLOW_X
, v
);
3717 static HRESULT WINAPI
HTMLStyle2_get_overflowX(IHTMLStyle2
*iface
, BSTR
*p
)
3719 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3721 TRACE("(%p)->(%p)\n", This
, p
);
3723 return get_style_property(&This
->css_style
, STYLEID_OVERFLOW_X
, p
);
3726 static HRESULT WINAPI
HTMLStyle2_put_overflowY(IHTMLStyle2
*iface
, BSTR v
)
3728 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3730 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
3732 return set_style_property(&This
->css_style
, STYLEID_OVERFLOW_Y
, v
);
3735 static HRESULT WINAPI
HTMLStyle2_get_overflowY(IHTMLStyle2
*iface
, BSTR
*p
)
3737 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3739 TRACE("(%p)->(%p)\n", This
, p
);
3741 return get_style_property(&This
->css_style
, STYLEID_OVERFLOW_Y
, p
);
3744 static HRESULT WINAPI
HTMLStyle2_put_accelerator(IHTMLStyle2
*iface
, BSTR v
)
3746 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3747 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
3751 static HRESULT WINAPI
HTMLStyle2_get_accelerator(IHTMLStyle2
*iface
, BSTR
*p
)
3753 HTMLStyle
*This
= impl_from_IHTMLStyle2(iface
);
3754 FIXME("(%p)->(%p)\n", This
, p
);
3758 static const IHTMLStyle2Vtbl HTMLStyle2Vtbl
= {
3759 HTMLStyle2_QueryInterface
,
3762 HTMLStyle2_GetTypeInfoCount
,
3763 HTMLStyle2_GetTypeInfo
,
3764 HTMLStyle2_GetIDsOfNames
,
3766 HTMLStyle2_put_tableLayout
,
3767 HTMLStyle2_get_tableLayout
,
3768 HTMLStyle2_put_borderCollapse
,
3769 HTMLStyle2_get_borderCollapse
,
3770 HTMLStyle2_put_direction
,
3771 HTMLStyle2_get_direction
,
3772 HTMLStyle2_put_behavior
,
3773 HTMLStyle2_get_behavior
,
3774 HTMLStyle2_setExpression
,
3775 HTMLStyle2_getExpression
,
3776 HTMLStyle2_removeExpression
,
3777 HTMLStyle2_put_position
,
3778 HTMLStyle2_get_position
,
3779 HTMLStyle2_put_unicodeBidi
,
3780 HTMLStyle2_get_unicodeBidi
,
3781 HTMLStyle2_put_bottom
,
3782 HTMLStyle2_get_bottom
,
3783 HTMLStyle2_put_right
,
3784 HTMLStyle2_get_right
,
3785 HTMLStyle2_put_pixelBottom
,
3786 HTMLStyle2_get_pixelBottom
,
3787 HTMLStyle2_put_pixelRight
,
3788 HTMLStyle2_get_pixelRight
,
3789 HTMLStyle2_put_posBottom
,
3790 HTMLStyle2_get_posBottom
,
3791 HTMLStyle2_put_posRight
,
3792 HTMLStyle2_get_posRight
,
3793 HTMLStyle2_put_imeMode
,
3794 HTMLStyle2_get_imeMode
,
3795 HTMLStyle2_put_rubyAlign
,
3796 HTMLStyle2_get_rubyAlign
,
3797 HTMLStyle2_put_rubyPosition
,
3798 HTMLStyle2_get_rubyPosition
,
3799 HTMLStyle2_put_rubyOverhang
,
3800 HTMLStyle2_get_rubyOverhang
,
3801 HTMLStyle2_put_layoutGridChar
,
3802 HTMLStyle2_get_layoutGridChar
,
3803 HTMLStyle2_put_layoutGridLine
,
3804 HTMLStyle2_get_layoutGridLine
,
3805 HTMLStyle2_put_layoutGridMode
,
3806 HTMLStyle2_get_layoutGridMode
,
3807 HTMLStyle2_put_layoutGridType
,
3808 HTMLStyle2_get_layoutGridType
,
3809 HTMLStyle2_put_layoutGrid
,
3810 HTMLStyle2_get_layoutGrid
,
3811 HTMLStyle2_put_wordBreak
,
3812 HTMLStyle2_get_wordBreak
,
3813 HTMLStyle2_put_lineBreak
,
3814 HTMLStyle2_get_lineBreak
,
3815 HTMLStyle2_put_textJustify
,
3816 HTMLStyle2_get_textJustify
,
3817 HTMLStyle2_put_textJustifyTrim
,
3818 HTMLStyle2_get_textJustifyTrim
,
3819 HTMLStyle2_put_textKashida
,
3820 HTMLStyle2_get_textKashida
,
3821 HTMLStyle2_put_textAutospace
,
3822 HTMLStyle2_get_textAutospace
,
3823 HTMLStyle2_put_overflowX
,
3824 HTMLStyle2_get_overflowX
,
3825 HTMLStyle2_put_overflowY
,
3826 HTMLStyle2_get_overflowY
,
3827 HTMLStyle2_put_accelerator
,
3828 HTMLStyle2_get_accelerator
3831 static inline HTMLStyle
*impl_from_IHTMLStyle3(IHTMLStyle3
*iface
)
3833 return CONTAINING_RECORD(iface
, HTMLStyle
, IHTMLStyle3_iface
);
3836 static HRESULT WINAPI
HTMLStyle3_QueryInterface(IHTMLStyle3
*iface
, REFIID riid
, void **ppv
)
3838 HTMLStyle
*This
= impl_from_IHTMLStyle3(iface
);
3840 return IHTMLStyle_QueryInterface(&This
->IHTMLStyle_iface
, riid
, ppv
);
3843 static ULONG WINAPI
HTMLStyle3_AddRef(IHTMLStyle3
*iface
)
3845 HTMLStyle
*This
= impl_from_IHTMLStyle3(iface
);
3847 return IHTMLStyle_AddRef(&This
->IHTMLStyle_iface
);
3850 static ULONG WINAPI
HTMLStyle3_Release(IHTMLStyle3
*iface
)
3852 HTMLStyle
*This
= impl_from_IHTMLStyle3(iface
);
3854 return IHTMLStyle_Release(&This
->IHTMLStyle_iface
);
3857 static HRESULT WINAPI
HTMLStyle3_GetTypeInfoCount(IHTMLStyle3
*iface
, UINT
*pctinfo
)
3859 HTMLStyle
*This
= impl_from_IHTMLStyle3(iface
);
3860 return IDispatchEx_GetTypeInfoCount(&This
->css_style
.dispex
.IDispatchEx_iface
, pctinfo
);
3863 static HRESULT WINAPI
HTMLStyle3_GetTypeInfo(IHTMLStyle3
*iface
, UINT iTInfo
,
3864 LCID lcid
, ITypeInfo
**ppTInfo
)
3866 HTMLStyle
*This
= impl_from_IHTMLStyle3(iface
);
3867 return IDispatchEx_GetTypeInfo(&This
->css_style
.dispex
.IDispatchEx_iface
, iTInfo
, lcid
, ppTInfo
);
3870 static HRESULT WINAPI
HTMLStyle3_GetIDsOfNames(IHTMLStyle3
*iface
, REFIID riid
,
3871 LPOLESTR
*rgszNames
, UINT cNames
,
3872 LCID lcid
, DISPID
*rgDispId
)
3874 HTMLStyle
*This
= impl_from_IHTMLStyle3(iface
);
3875 return IDispatchEx_GetIDsOfNames(&This
->css_style
.dispex
.IDispatchEx_iface
, riid
, rgszNames
, cNames
,
3879 static HRESULT WINAPI
HTMLStyle3_Invoke(IHTMLStyle3
*iface
, DISPID dispIdMember
,
3880 REFIID riid
, LCID lcid
, WORD wFlags
, DISPPARAMS
*pDispParams
,
3881 VARIANT
*pVarResult
, EXCEPINFO
*pExcepInfo
, UINT
*puArgErr
)
3883 HTMLStyle
*This
= impl_from_IHTMLStyle3(iface
);
3884 return IDispatchEx_Invoke(&This
->css_style
.dispex
.IDispatchEx_iface
, dispIdMember
, riid
, lcid
,
3885 wFlags
, pDispParams
, pVarResult
, pExcepInfo
, puArgErr
);
3888 static HRESULT WINAPI
HTMLStyle3_put_layoutFlow(IHTMLStyle3
*iface
, BSTR v
)
3890 HTMLStyle
*This
= impl_from_IHTMLStyle3(iface
);
3891 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
3895 static HRESULT WINAPI
HTMLStyle3_get_layoutFlow(IHTMLStyle3
*iface
, BSTR
*p
)
3897 HTMLStyle
*This
= impl_from_IHTMLStyle3(iface
);
3898 FIXME("(%p)->(%p)\n", This
, p
);
3902 static HRESULT WINAPI
HTMLStyle3_put_zoom(IHTMLStyle3
*iface
, VARIANT v
)
3904 HTMLStyle
*This
= impl_from_IHTMLStyle3(iface
);
3906 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
3908 return IHTMLCSSStyleDeclaration_put_zoom(&This
->css_style
.IHTMLCSSStyleDeclaration_iface
, v
);
3911 static HRESULT WINAPI
HTMLStyle3_get_zoom(IHTMLStyle3
*iface
, VARIANT
*p
)
3913 HTMLStyle
*This
= impl_from_IHTMLStyle3(iface
);
3915 TRACE("(%p)->(%p)\n", This
, p
);
3917 return IHTMLCSSStyleDeclaration_get_zoom(&This
->css_style
.IHTMLCSSStyleDeclaration_iface
, p
);
3920 static HRESULT WINAPI
HTMLStyle3_put_wordWrap(IHTMLStyle3
*iface
, BSTR v
)
3922 HTMLStyle
*This
= impl_from_IHTMLStyle3(iface
);
3924 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
3926 return set_style_property(&This
->css_style
, STYLEID_WORD_WRAP
, v
);
3929 static HRESULT WINAPI
HTMLStyle3_get_wordWrap(IHTMLStyle3
*iface
, BSTR
*p
)
3931 HTMLStyle
*This
= impl_from_IHTMLStyle3(iface
);
3933 TRACE("(%p)->(%p)\n", This
, p
);
3935 return get_style_property(&This
->css_style
, STYLEID_WORD_WRAP
, p
);
3938 static HRESULT WINAPI
HTMLStyle3_put_textUnderlinePosition(IHTMLStyle3
*iface
, BSTR v
)
3940 HTMLStyle
*This
= impl_from_IHTMLStyle3(iface
);
3941 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
3945 static HRESULT WINAPI
HTMLStyle3_get_textUnderlinePosition(IHTMLStyle3
*iface
, BSTR
*p
)
3947 HTMLStyle
*This
= impl_from_IHTMLStyle3(iface
);
3948 FIXME("(%p)->(%p)\n", This
, p
);
3952 static HRESULT WINAPI
HTMLStyle3_put_scrollbarBaseColor(IHTMLStyle3
*iface
, VARIANT v
)
3954 HTMLStyle
*This
= impl_from_IHTMLStyle3(iface
);
3955 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
3959 static HRESULT WINAPI
HTMLStyle3_get_scrollbarBaseColor(IHTMLStyle3
*iface
, VARIANT
*p
)
3961 HTMLStyle
*This
= impl_from_IHTMLStyle3(iface
);
3962 FIXME("(%p)->(%p)\n", This
, p
);
3966 static HRESULT WINAPI
HTMLStyle3_put_scrollbarFaceColor(IHTMLStyle3
*iface
, VARIANT v
)
3968 HTMLStyle
*This
= impl_from_IHTMLStyle3(iface
);
3969 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
3973 static HRESULT WINAPI
HTMLStyle3_get_scrollbarFaceColor(IHTMLStyle3
*iface
, VARIANT
*p
)
3975 HTMLStyle
*This
= impl_from_IHTMLStyle3(iface
);
3976 FIXME("(%p)->(%p)\n", This
, p
);
3980 static HRESULT WINAPI
HTMLStyle3_put_scrollbar3dLightColor(IHTMLStyle3
*iface
, VARIANT v
)
3982 HTMLStyle
*This
= impl_from_IHTMLStyle3(iface
);
3983 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
3987 static HRESULT WINAPI
HTMLStyle3_get_scrollbar3dLightColor(IHTMLStyle3
*iface
, VARIANT
*p
)
3989 HTMLStyle
*This
= impl_from_IHTMLStyle3(iface
);
3990 FIXME("(%p)->(%p)\n", This
, p
);
3994 static HRESULT WINAPI
HTMLStyle3_put_scrollbarShadowColor(IHTMLStyle3
*iface
, VARIANT v
)
3996 HTMLStyle
*This
= impl_from_IHTMLStyle3(iface
);
3997 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
4001 static HRESULT WINAPI
HTMLStyle3_get_scrollbarShadowColor(IHTMLStyle3
*iface
, VARIANT
*p
)
4003 HTMLStyle
*This
= impl_from_IHTMLStyle3(iface
);
4004 FIXME("(%p)->(%p)\n", This
, p
);
4008 static HRESULT WINAPI
HTMLStyle3_put_scrollbarHighlightColor(IHTMLStyle3
*iface
, VARIANT v
)
4010 HTMLStyle
*This
= impl_from_IHTMLStyle3(iface
);
4011 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
4015 static HRESULT WINAPI
HTMLStyle3_get_scrollbarHighlightColor(IHTMLStyle3
*iface
, VARIANT
*p
)
4017 HTMLStyle
*This
= impl_from_IHTMLStyle3(iface
);
4018 FIXME("(%p)->(%p)\n", This
, p
);
4022 static HRESULT WINAPI
HTMLStyle3_put_scrollbarDarkShadowColor(IHTMLStyle3
*iface
, VARIANT v
)
4024 HTMLStyle
*This
= impl_from_IHTMLStyle3(iface
);
4025 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
4029 static HRESULT WINAPI
HTMLStyle3_get_scrollbarDarkShadowColor(IHTMLStyle3
*iface
, VARIANT
*p
)
4031 HTMLStyle
*This
= impl_from_IHTMLStyle3(iface
);
4032 FIXME("(%p)->(%p)\n", This
, p
);
4036 static HRESULT WINAPI
HTMLStyle3_put_scrollbarArrowColor(IHTMLStyle3
*iface
, VARIANT v
)
4038 HTMLStyle
*This
= impl_from_IHTMLStyle3(iface
);
4039 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
4043 static HRESULT WINAPI
HTMLStyle3_get_scrollbarArrowColor(IHTMLStyle3
*iface
, VARIANT
*p
)
4045 HTMLStyle
*This
= impl_from_IHTMLStyle3(iface
);
4046 FIXME("(%p)->(%p)\n", This
, p
);
4050 static HRESULT WINAPI
HTMLStyle3_put_scrollbarTrackColor(IHTMLStyle3
*iface
, VARIANT v
)
4052 HTMLStyle
*This
= impl_from_IHTMLStyle3(iface
);
4053 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
4057 static HRESULT WINAPI
HTMLStyle3_get_scrollbarTrackColor(IHTMLStyle3
*iface
, VARIANT
*p
)
4059 HTMLStyle
*This
= impl_from_IHTMLStyle3(iface
);
4060 FIXME("(%p)->(%p)\n", This
, p
);
4064 static HRESULT WINAPI
HTMLStyle3_put_writingMode(IHTMLStyle3
*iface
, BSTR v
)
4066 HTMLStyle
*This
= impl_from_IHTMLStyle3(iface
);
4067 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
4071 static HRESULT WINAPI
HTMLStyle3_get_writingMode(IHTMLStyle3
*iface
, BSTR
*p
)
4073 HTMLStyle
*This
= impl_from_IHTMLStyle3(iface
);
4074 FIXME("(%p)->(%p)\n", This
, p
);
4078 static HRESULT WINAPI
HTMLStyle3_put_textAlignLast(IHTMLStyle3
*iface
, BSTR v
)
4080 HTMLStyle
*This
= impl_from_IHTMLStyle3(iface
);
4081 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
4085 static HRESULT WINAPI
HTMLStyle3_get_textAlignLast(IHTMLStyle3
*iface
, BSTR
*p
)
4087 HTMLStyle
*This
= impl_from_IHTMLStyle3(iface
);
4088 FIXME("(%p)->(%p)\n", This
, p
);
4092 static HRESULT WINAPI
HTMLStyle3_put_textKashidaSpace(IHTMLStyle3
*iface
, VARIANT v
)
4094 HTMLStyle
*This
= impl_from_IHTMLStyle3(iface
);
4095 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
4099 static HRESULT WINAPI
HTMLStyle3_get_textKashidaSpace(IHTMLStyle3
*iface
, VARIANT
*p
)
4101 HTMLStyle
*This
= impl_from_IHTMLStyle3(iface
);
4102 FIXME("(%p)->(%p)\n", This
, p
);
4106 static const IHTMLStyle3Vtbl HTMLStyle3Vtbl
= {
4107 HTMLStyle3_QueryInterface
,
4110 HTMLStyle3_GetTypeInfoCount
,
4111 HTMLStyle3_GetTypeInfo
,
4112 HTMLStyle3_GetIDsOfNames
,
4114 HTMLStyle3_put_layoutFlow
,
4115 HTMLStyle3_get_layoutFlow
,
4116 HTMLStyle3_put_zoom
,
4117 HTMLStyle3_get_zoom
,
4118 HTMLStyle3_put_wordWrap
,
4119 HTMLStyle3_get_wordWrap
,
4120 HTMLStyle3_put_textUnderlinePosition
,
4121 HTMLStyle3_get_textUnderlinePosition
,
4122 HTMLStyle3_put_scrollbarBaseColor
,
4123 HTMLStyle3_get_scrollbarBaseColor
,
4124 HTMLStyle3_put_scrollbarFaceColor
,
4125 HTMLStyle3_get_scrollbarFaceColor
,
4126 HTMLStyle3_put_scrollbar3dLightColor
,
4127 HTMLStyle3_get_scrollbar3dLightColor
,
4128 HTMLStyle3_put_scrollbarShadowColor
,
4129 HTMLStyle3_get_scrollbarShadowColor
,
4130 HTMLStyle3_put_scrollbarHighlightColor
,
4131 HTMLStyle3_get_scrollbarHighlightColor
,
4132 HTMLStyle3_put_scrollbarDarkShadowColor
,
4133 HTMLStyle3_get_scrollbarDarkShadowColor
,
4134 HTMLStyle3_put_scrollbarArrowColor
,
4135 HTMLStyle3_get_scrollbarArrowColor
,
4136 HTMLStyle3_put_scrollbarTrackColor
,
4137 HTMLStyle3_get_scrollbarTrackColor
,
4138 HTMLStyle3_put_writingMode
,
4139 HTMLStyle3_get_writingMode
,
4140 HTMLStyle3_put_textAlignLast
,
4141 HTMLStyle3_get_textAlignLast
,
4142 HTMLStyle3_put_textKashidaSpace
,
4143 HTMLStyle3_get_textKashidaSpace
4147 * IHTMLStyle4 Interface
4149 static inline HTMLStyle
*impl_from_IHTMLStyle4(IHTMLStyle4
*iface
)
4151 return CONTAINING_RECORD(iface
, HTMLStyle
, IHTMLStyle4_iface
);
4154 static HRESULT WINAPI
HTMLStyle4_QueryInterface(IHTMLStyle4
*iface
, REFIID riid
, void **ppv
)
4156 HTMLStyle
*This
= impl_from_IHTMLStyle4(iface
);
4158 return IHTMLStyle_QueryInterface(&This
->IHTMLStyle_iface
, riid
, ppv
);
4161 static ULONG WINAPI
HTMLStyle4_AddRef(IHTMLStyle4
*iface
)
4163 HTMLStyle
*This
= impl_from_IHTMLStyle4(iface
);
4165 return IHTMLStyle_AddRef(&This
->IHTMLStyle_iface
);
4168 static ULONG WINAPI
HTMLStyle4_Release(IHTMLStyle4
*iface
)
4170 HTMLStyle
*This
= impl_from_IHTMLStyle4(iface
);
4172 return IHTMLStyle_Release(&This
->IHTMLStyle_iface
);
4175 static HRESULT WINAPI
HTMLStyle4_GetTypeInfoCount(IHTMLStyle4
*iface
, UINT
*pctinfo
)
4177 HTMLStyle
*This
= impl_from_IHTMLStyle4(iface
);
4178 return IDispatchEx_GetTypeInfoCount(&This
->css_style
.dispex
.IDispatchEx_iface
, pctinfo
);
4181 static HRESULT WINAPI
HTMLStyle4_GetTypeInfo(IHTMLStyle4
*iface
, UINT iTInfo
,
4182 LCID lcid
, ITypeInfo
**ppTInfo
)
4184 HTMLStyle
*This
= impl_from_IHTMLStyle4(iface
);
4185 return IDispatchEx_GetTypeInfo(&This
->css_style
.dispex
.IDispatchEx_iface
, iTInfo
, lcid
, ppTInfo
);
4188 static HRESULT WINAPI
HTMLStyle4_GetIDsOfNames(IHTMLStyle4
*iface
, REFIID riid
,
4189 LPOLESTR
*rgszNames
, UINT cNames
,
4190 LCID lcid
, DISPID
*rgDispId
)
4192 HTMLStyle
*This
= impl_from_IHTMLStyle4(iface
);
4193 return IDispatchEx_GetIDsOfNames(&This
->css_style
.dispex
.IDispatchEx_iface
, riid
, rgszNames
, cNames
,
4197 static HRESULT WINAPI
HTMLStyle4_Invoke(IHTMLStyle4
*iface
, DISPID dispIdMember
,
4198 REFIID riid
, LCID lcid
, WORD wFlags
, DISPPARAMS
*pDispParams
,
4199 VARIANT
*pVarResult
, EXCEPINFO
*pExcepInfo
, UINT
*puArgErr
)
4201 HTMLStyle
*This
= impl_from_IHTMLStyle4(iface
);
4202 return IDispatchEx_Invoke(&This
->css_style
.dispex
.IDispatchEx_iface
, dispIdMember
, riid
, lcid
,
4203 wFlags
, pDispParams
, pVarResult
, pExcepInfo
, puArgErr
);
4206 static HRESULT WINAPI
HTMLStyle4_put_textOverflow(IHTMLStyle4
*iface
, BSTR v
)
4208 HTMLStyle
*This
= impl_from_IHTMLStyle4(iface
);
4209 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
4213 static HRESULT WINAPI
HTMLStyle4_get_textOverflow(IHTMLStyle4
*iface
, BSTR
*p
)
4215 HTMLStyle
*This
= impl_from_IHTMLStyle4(iface
);
4216 FIXME("(%p)->(%p)\n", This
, p
);
4220 static HRESULT WINAPI
HTMLStyle4_put_minHeight(IHTMLStyle4
*iface
, VARIANT v
)
4222 HTMLStyle
*This
= impl_from_IHTMLStyle4(iface
);
4224 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
4226 return set_style_property_var(&This
->css_style
, STYLEID_MIN_HEIGHT
, &v
);
4229 static HRESULT WINAPI
HTMLStyle4_get_minHeight(IHTMLStyle4
*iface
, VARIANT
*p
)
4231 HTMLStyle
*This
= impl_from_IHTMLStyle4(iface
);
4233 TRACE("(%p)->(%p)\n", This
, p
);
4235 return get_style_property_var(&This
->css_style
, STYLEID_MIN_HEIGHT
, p
);
4238 static const IHTMLStyle4Vtbl HTMLStyle4Vtbl
= {
4239 HTMLStyle4_QueryInterface
,
4242 HTMLStyle4_GetTypeInfoCount
,
4243 HTMLStyle4_GetTypeInfo
,
4244 HTMLStyle4_GetIDsOfNames
,
4246 HTMLStyle4_put_textOverflow
,
4247 HTMLStyle4_get_textOverflow
,
4248 HTMLStyle4_put_minHeight
,
4249 HTMLStyle4_get_minHeight
4252 static inline HTMLStyle
*impl_from_IHTMLStyle5(IHTMLStyle5
*iface
)
4254 return CONTAINING_RECORD(iface
, HTMLStyle
, IHTMLStyle5_iface
);
4257 static HRESULT WINAPI
HTMLStyle5_QueryInterface(IHTMLStyle5
*iface
, REFIID riid
, void **ppv
)
4259 HTMLStyle
*This
= impl_from_IHTMLStyle5(iface
);
4261 return IHTMLStyle_QueryInterface(&This
->IHTMLStyle_iface
, riid
, ppv
);
4264 static ULONG WINAPI
HTMLStyle5_AddRef(IHTMLStyle5
*iface
)
4266 HTMLStyle
*This
= impl_from_IHTMLStyle5(iface
);
4268 return IHTMLStyle_AddRef(&This
->IHTMLStyle_iface
);
4271 static ULONG WINAPI
HTMLStyle5_Release(IHTMLStyle5
*iface
)
4273 HTMLStyle
*This
= impl_from_IHTMLStyle5(iface
);
4275 return IHTMLStyle_Release(&This
->IHTMLStyle_iface
);
4278 static HRESULT WINAPI
HTMLStyle5_GetTypeInfoCount(IHTMLStyle5
*iface
, UINT
*pctinfo
)
4280 HTMLStyle
*This
= impl_from_IHTMLStyle5(iface
);
4281 return IDispatchEx_GetTypeInfoCount(&This
->css_style
.dispex
.IDispatchEx_iface
, pctinfo
);
4284 static HRESULT WINAPI
HTMLStyle5_GetTypeInfo(IHTMLStyle5
*iface
, UINT iTInfo
,
4285 LCID lcid
, ITypeInfo
**ppTInfo
)
4287 HTMLStyle
*This
= impl_from_IHTMLStyle5(iface
);
4288 return IDispatchEx_GetTypeInfo(&This
->css_style
.dispex
.IDispatchEx_iface
, iTInfo
, lcid
, ppTInfo
);
4291 static HRESULT WINAPI
HTMLStyle5_GetIDsOfNames(IHTMLStyle5
*iface
, REFIID riid
,
4292 LPOLESTR
*rgszNames
, UINT cNames
, LCID lcid
, DISPID
*rgDispId
)
4294 HTMLStyle
*This
= impl_from_IHTMLStyle5(iface
);
4295 return IDispatchEx_GetIDsOfNames(&This
->css_style
.dispex
.IDispatchEx_iface
, riid
, rgszNames
, cNames
,
4299 static HRESULT WINAPI
HTMLStyle5_Invoke(IHTMLStyle5
*iface
, DISPID dispIdMember
,
4300 REFIID riid
, LCID lcid
, WORD wFlags
, DISPPARAMS
*pDispParams
,
4301 VARIANT
*pVarResult
, EXCEPINFO
*pExcepInfo
, UINT
*puArgErr
)
4303 HTMLStyle
*This
= impl_from_IHTMLStyle5(iface
);
4304 return IDispatchEx_Invoke(&This
->css_style
.dispex
.IDispatchEx_iface
, dispIdMember
, riid
, lcid
,
4305 wFlags
, pDispParams
, pVarResult
, pExcepInfo
, puArgErr
);
4308 static HRESULT WINAPI
HTMLStyle5_put_msInterpolationMode(IHTMLStyle5
*iface
, BSTR v
)
4310 HTMLStyle
*This
= impl_from_IHTMLStyle5(iface
);
4311 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
4315 static HRESULT WINAPI
HTMLStyle5_get_msInterpolationMode(IHTMLStyle5
*iface
, BSTR
*p
)
4317 HTMLStyle
*This
= impl_from_IHTMLStyle5(iface
);
4318 FIXME("(%p)->(%p)\n", This
, p
);
4322 static HRESULT WINAPI
HTMLStyle5_put_maxHeight(IHTMLStyle5
*iface
, VARIANT v
)
4324 HTMLStyle
*This
= impl_from_IHTMLStyle5(iface
);
4326 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
4328 return set_style_property_var(&This
->css_style
, STYLEID_MAX_HEIGHT
, &v
);
4331 static HRESULT WINAPI
HTMLStyle5_get_maxHeight(IHTMLStyle5
*iface
, VARIANT
*p
)
4333 HTMLStyle
*This
= impl_from_IHTMLStyle5(iface
);
4335 TRACE("(%p)->(%s)\n", This
, debugstr_variant(p
));
4337 return get_style_property_var(&This
->css_style
, STYLEID_MAX_HEIGHT
, p
);
4340 static HRESULT WINAPI
HTMLStyle5_put_minWidth(IHTMLStyle5
*iface
, VARIANT v
)
4342 HTMLStyle
*This
= impl_from_IHTMLStyle5(iface
);
4344 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
4346 return set_style_property_var(&This
->css_style
, STYLEID_MIN_WIDTH
, &v
);
4349 static HRESULT WINAPI
HTMLStyle5_get_minWidth(IHTMLStyle5
*iface
, VARIANT
*p
)
4351 HTMLStyle
*This
= impl_from_IHTMLStyle5(iface
);
4353 TRACE("(%p)->(%p)\n", This
, p
);
4355 return get_style_property_var(&This
->css_style
, STYLEID_MIN_WIDTH
, p
);
4358 static HRESULT WINAPI
HTMLStyle5_put_maxWidth(IHTMLStyle5
*iface
, VARIANT v
)
4360 HTMLStyle
*This
= impl_from_IHTMLStyle5(iface
);
4362 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
4364 return set_style_property_var(&This
->css_style
, STYLEID_MAX_WIDTH
, &v
);
4367 static HRESULT WINAPI
HTMLStyle5_get_maxWidth(IHTMLStyle5
*iface
, VARIANT
*p
)
4369 HTMLStyle
*This
= impl_from_IHTMLStyle5(iface
);
4371 TRACE("(%p)->(%p)\n", This
, p
);
4373 return get_style_property_var(&This
->css_style
, STYLEID_MAX_WIDTH
, p
);
4376 static const IHTMLStyle5Vtbl HTMLStyle5Vtbl
= {
4377 HTMLStyle5_QueryInterface
,
4380 HTMLStyle5_GetTypeInfoCount
,
4381 HTMLStyle5_GetTypeInfo
,
4382 HTMLStyle5_GetIDsOfNames
,
4384 HTMLStyle5_put_msInterpolationMode
,
4385 HTMLStyle5_get_msInterpolationMode
,
4386 HTMLStyle5_put_maxHeight
,
4387 HTMLStyle5_get_maxHeight
,
4388 HTMLStyle5_put_minWidth
,
4389 HTMLStyle5_get_minWidth
,
4390 HTMLStyle5_put_maxWidth
,
4391 HTMLStyle5_get_maxWidth
4394 static inline HTMLStyle
*impl_from_IHTMLStyle6(IHTMLStyle6
*iface
)
4396 return CONTAINING_RECORD(iface
, HTMLStyle
, IHTMLStyle6_iface
);
4399 static HRESULT WINAPI
HTMLStyle6_QueryInterface(IHTMLStyle6
*iface
, REFIID riid
, void **ppv
)
4401 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4403 return IHTMLStyle_QueryInterface(&This
->IHTMLStyle_iface
, riid
, ppv
);
4406 static ULONG WINAPI
HTMLStyle6_AddRef(IHTMLStyle6
*iface
)
4408 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4410 return IHTMLStyle_AddRef(&This
->IHTMLStyle_iface
);
4413 static ULONG WINAPI
HTMLStyle6_Release(IHTMLStyle6
*iface
)
4415 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4417 return IHTMLStyle_Release(&This
->IHTMLStyle_iface
);
4420 static HRESULT WINAPI
HTMLStyle6_GetTypeInfoCount(IHTMLStyle6
*iface
, UINT
*pctinfo
)
4422 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4423 return IDispatchEx_GetTypeInfoCount(&This
->css_style
.dispex
.IDispatchEx_iface
, pctinfo
);
4426 static HRESULT WINAPI
HTMLStyle6_GetTypeInfo(IHTMLStyle6
*iface
, UINT iTInfo
,
4427 LCID lcid
, ITypeInfo
**ppTInfo
)
4429 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4430 return IDispatchEx_GetTypeInfo(&This
->css_style
.dispex
.IDispatchEx_iface
, iTInfo
, lcid
, ppTInfo
);
4433 static HRESULT WINAPI
HTMLStyle6_GetIDsOfNames(IHTMLStyle6
*iface
, REFIID riid
,
4434 LPOLESTR
*rgszNames
, UINT cNames
, LCID lcid
, DISPID
*rgDispId
)
4436 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4437 return IDispatchEx_GetIDsOfNames(&This
->css_style
.dispex
.IDispatchEx_iface
, riid
, rgszNames
, cNames
,
4441 static HRESULT WINAPI
HTMLStyle6_Invoke(IHTMLStyle6
*iface
, DISPID dispIdMember
,
4442 REFIID riid
, LCID lcid
, WORD wFlags
, DISPPARAMS
*pDispParams
,
4443 VARIANT
*pVarResult
, EXCEPINFO
*pExcepInfo
, UINT
*puArgErr
)
4445 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4446 return IDispatchEx_Invoke(&This
->css_style
.dispex
.IDispatchEx_iface
, dispIdMember
, riid
, lcid
,
4447 wFlags
, pDispParams
, pVarResult
, pExcepInfo
, puArgErr
);
4450 static HRESULT WINAPI
HTMLStyle6_put_content(IHTMLStyle6
*iface
, BSTR v
)
4452 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4453 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
4457 static HRESULT WINAPI
HTMLStyle6_get_content(IHTMLStyle6
*iface
, BSTR
*p
)
4459 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4460 FIXME("(%p)->(%p)\n", This
, p
);
4464 static HRESULT WINAPI
HTMLStyle6_put_contentSide(IHTMLStyle6
*iface
, BSTR v
)
4466 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4467 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
4471 static HRESULT WINAPI
HTMLStyle6_get_contentSide(IHTMLStyle6
*iface
, BSTR
*p
)
4473 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4474 FIXME("(%p)->(%p)\n", This
, p
);
4478 static HRESULT WINAPI
HTMLStyle6_put_counterIncrement(IHTMLStyle6
*iface
, BSTR v
)
4480 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4481 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
4485 static HRESULT WINAPI
HTMLStyle6_get_counterIncrement(IHTMLStyle6
*iface
, BSTR
*p
)
4487 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4488 FIXME("(%p)->(%p)\n", This
, p
);
4492 static HRESULT WINAPI
HTMLStyle6_put_counterReset(IHTMLStyle6
*iface
, BSTR v
)
4494 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4495 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
4499 static HRESULT WINAPI
HTMLStyle6_get_counterReset(IHTMLStyle6
*iface
, BSTR
*p
)
4501 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4502 FIXME("(%p)->(%p)\n", This
, p
);
4506 static HRESULT WINAPI
HTMLStyle6_put_outline(IHTMLStyle6
*iface
, BSTR v
)
4508 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4510 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
4512 return set_style_property(&This
->css_style
, STYLEID_OUTLINE
, v
);
4515 static HRESULT WINAPI
HTMLStyle6_get_outline(IHTMLStyle6
*iface
, BSTR
*p
)
4517 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4519 TRACE("(%p)->(%p)\n", This
, p
);
4521 return get_style_property(&This
->css_style
, STYLEID_OUTLINE
, p
);
4524 static HRESULT WINAPI
HTMLStyle6_put_outlineWidth(IHTMLStyle6
*iface
, VARIANT v
)
4526 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4527 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
4531 static HRESULT WINAPI
HTMLStyle6_get_outlineWidth(IHTMLStyle6
*iface
, VARIANT
*p
)
4533 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4534 FIXME("(%p)->(%p)\n", This
, p
);
4538 static HRESULT WINAPI
HTMLStyle6_put_outlineStyle(IHTMLStyle6
*iface
, BSTR v
)
4540 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4541 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
4545 static HRESULT WINAPI
HTMLStyle6_get_outlineStyle(IHTMLStyle6
*iface
, BSTR
*p
)
4547 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4548 FIXME("(%p)->(%p)\n", This
, p
);
4552 static HRESULT WINAPI
HTMLStyle6_put_outlineColor(IHTMLStyle6
*iface
, VARIANT v
)
4554 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4555 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
4559 static HRESULT WINAPI
HTMLStyle6_get_outlineColor(IHTMLStyle6
*iface
, VARIANT
*p
)
4561 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4562 FIXME("(%p)->(%p)\n", This
, p
);
4566 static HRESULT WINAPI
HTMLStyle6_put_boxSizing(IHTMLStyle6
*iface
, BSTR v
)
4568 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4570 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
4572 return set_style_property(&This
->css_style
, STYLEID_BOX_SIZING
, v
);
4575 static HRESULT WINAPI
HTMLStyle6_get_boxSizing(IHTMLStyle6
*iface
, BSTR
*p
)
4577 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4579 TRACE("(%p)->(%p)\n", This
, p
);
4581 return get_style_property(&This
->css_style
, STYLEID_BOX_SIZING
, p
);
4584 static HRESULT WINAPI
HTMLStyle6_put_borderSpacing(IHTMLStyle6
*iface
, BSTR v
)
4586 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4588 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
4590 return set_style_property(&This
->css_style
, STYLEID_BORDER_SPACING
, v
);
4593 static HRESULT WINAPI
HTMLStyle6_get_borderSpacing(IHTMLStyle6
*iface
, BSTR
*p
)
4595 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4597 TRACE("(%p)->(%p)\n", This
, p
);
4599 return get_style_property(&This
->css_style
, STYLEID_BORDER_SPACING
, p
);
4602 static HRESULT WINAPI
HTMLStyle6_put_orphans(IHTMLStyle6
*iface
, VARIANT v
)
4604 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4605 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
4609 static HRESULT WINAPI
HTMLStyle6_get_orphans(IHTMLStyle6
*iface
, VARIANT
*p
)
4611 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4612 FIXME("(%p)->(%p)\n", This
, p
);
4616 static HRESULT WINAPI
HTMLStyle6_put_windows(IHTMLStyle6
*iface
, VARIANT v
)
4618 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4619 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
4623 static HRESULT WINAPI
HTMLStyle6_get_windows(IHTMLStyle6
*iface
, VARIANT
*p
)
4625 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4626 FIXME("(%p)->(%p)\n", This
, p
);
4630 static HRESULT WINAPI
HTMLStyle6_put_pageBreakInside(IHTMLStyle6
*iface
, BSTR v
)
4632 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4633 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
4637 static HRESULT WINAPI
HTMLStyle6_get_pageBreakInside(IHTMLStyle6
*iface
, BSTR
*p
)
4639 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4640 FIXME("(%p)->(%p)\n", This
, p
);
4644 static HRESULT WINAPI
HTMLStyle6_put_emptyCells(IHTMLStyle6
*iface
, BSTR v
)
4646 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4647 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
4651 static HRESULT WINAPI
HTMLStyle6_get_emptyCells(IHTMLStyle6
*iface
, BSTR
*p
)
4653 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4654 FIXME("(%p)->(%p)\n", This
, p
);
4658 static HRESULT WINAPI
HTMLStyle6_put_msBlockProgression(IHTMLStyle6
*iface
, BSTR v
)
4660 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4661 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
4665 static HRESULT WINAPI
HTMLStyle6_get_msBlockProgression(IHTMLStyle6
*iface
, BSTR
*p
)
4667 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4668 FIXME("(%p)->(%p)\n", This
, p
);
4672 static HRESULT WINAPI
HTMLStyle6_put_quotes(IHTMLStyle6
*iface
, BSTR v
)
4674 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4675 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
4679 static HRESULT WINAPI
HTMLStyle6_get_quotes(IHTMLStyle6
*iface
, BSTR
*p
)
4681 HTMLStyle
*This
= impl_from_IHTMLStyle6(iface
);
4682 FIXME("(%p)->(%p)\n", This
, p
);
4686 static const IHTMLStyle6Vtbl HTMLStyle6Vtbl
= {
4687 HTMLStyle6_QueryInterface
,
4690 HTMLStyle6_GetTypeInfoCount
,
4691 HTMLStyle6_GetTypeInfo
,
4692 HTMLStyle6_GetIDsOfNames
,
4694 HTMLStyle6_put_content
,
4695 HTMLStyle6_get_content
,
4696 HTMLStyle6_put_contentSide
,
4697 HTMLStyle6_get_contentSide
,
4698 HTMLStyle6_put_counterIncrement
,
4699 HTMLStyle6_get_counterIncrement
,
4700 HTMLStyle6_put_counterReset
,
4701 HTMLStyle6_get_counterReset
,
4702 HTMLStyle6_put_outline
,
4703 HTMLStyle6_get_outline
,
4704 HTMLStyle6_put_outlineWidth
,
4705 HTMLStyle6_get_outlineWidth
,
4706 HTMLStyle6_put_outlineStyle
,
4707 HTMLStyle6_get_outlineStyle
,
4708 HTMLStyle6_put_outlineColor
,
4709 HTMLStyle6_get_outlineColor
,
4710 HTMLStyle6_put_boxSizing
,
4711 HTMLStyle6_get_boxSizing
,
4712 HTMLStyle6_put_borderSpacing
,
4713 HTMLStyle6_get_borderSpacing
,
4714 HTMLStyle6_put_orphans
,
4715 HTMLStyle6_get_orphans
,
4716 HTMLStyle6_put_windows
,
4717 HTMLStyle6_get_windows
,
4718 HTMLStyle6_put_pageBreakInside
,
4719 HTMLStyle6_get_pageBreakInside
,
4720 HTMLStyle6_put_emptyCells
,
4721 HTMLStyle6_get_emptyCells
,
4722 HTMLStyle6_put_msBlockProgression
,
4723 HTMLStyle6_get_msBlockProgression
,
4724 HTMLStyle6_put_quotes
,
4725 HTMLStyle6_get_quotes
4728 static inline CSSStyle
*impl_from_IHTMLCSSStyleDeclaration(IHTMLCSSStyleDeclaration
*iface
)
4730 return CONTAINING_RECORD(iface
, CSSStyle
, IHTMLCSSStyleDeclaration_iface
);
4733 static HRESULT WINAPI
HTMLCSSStyleDeclaration_QueryInterface(IHTMLCSSStyleDeclaration
*iface
,
4734 REFIID riid
, void **ppv
)
4736 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
4738 TRACE("(%p)->(%s %p)\n", This
, debugstr_mshtml_guid(riid
), ppv
);
4740 if(IsEqualGUID(&IID_IUnknown
, riid
)) {
4741 *ppv
= &This
->IHTMLCSSStyleDeclaration_iface
;
4742 }else if(IsEqualGUID(&IID_IHTMLCSSStyleDeclaration
, riid
)) {
4743 *ppv
= &This
->IHTMLCSSStyleDeclaration_iface
;
4744 }else if(IsEqualGUID(&IID_IHTMLCSSStyleDeclaration2
, riid
)) {
4745 *ppv
= &This
->IHTMLCSSStyleDeclaration2_iface
;
4746 }else if(dispex_query_interface(&This
->dispex
, riid
, ppv
)) {
4747 return *ppv
? S_OK
: E_NOINTERFACE
;
4748 }else if(!This
->qi
|| !(*ppv
= This
->qi(This
, riid
))) {
4750 WARN("unsupported iface %s\n", debugstr_mshtml_guid(riid
));
4751 return E_NOINTERFACE
;
4754 IUnknown_AddRef((IUnknown
*)*ppv
);
4758 static ULONG WINAPI
HTMLCSSStyleDeclaration_AddRef(IHTMLCSSStyleDeclaration
*iface
)
4760 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
4761 LONG ref
= InterlockedIncrement(&This
->ref
);
4763 TRACE("(%p) ref=%ld\n", This
, ref
);
4768 static ULONG WINAPI
HTMLCSSStyleDeclaration_Release(IHTMLCSSStyleDeclaration
*iface
)
4770 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
4771 LONG ref
= InterlockedDecrement(&This
->ref
);
4773 TRACE("(%p) ref=%ld\n", This
, ref
);
4777 nsIDOMCSSStyleDeclaration_Release(This
->nsstyle
);
4778 release_dispex(&This
->dispex
);
4785 static HRESULT WINAPI
HTMLCSSStyleDeclaration_GetTypeInfoCount(IHTMLCSSStyleDeclaration
*iface
,
4788 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
4789 TRACE("(%p)->(%p)\n", This
, pctinfo
);
4790 return IDispatchEx_GetTypeInfoCount(&This
->dispex
.IDispatchEx_iface
, pctinfo
);
4793 static HRESULT WINAPI
HTMLCSSStyleDeclaration_GetTypeInfo(IHTMLCSSStyleDeclaration
*iface
,
4794 UINT iTInfo
, LCID lcid
, ITypeInfo
**ppTInfo
)
4796 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
4797 TRACE("(%p)->(%u %lu %p)\n", This
, iTInfo
, lcid
, ppTInfo
);
4798 return IDispatchEx_GetTypeInfo(&This
->dispex
.IDispatchEx_iface
, iTInfo
, lcid
, ppTInfo
);
4801 static HRESULT WINAPI
HTMLCSSStyleDeclaration_GetIDsOfNames(IHTMLCSSStyleDeclaration
*iface
,
4802 REFIID riid
, LPOLESTR
*rgszNames
, UINT cNames
, LCID lcid
, DISPID
*rgDispId
)
4804 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
4805 TRACE("(%p)->(%p %p %u %lu %p)\n", This
, riid
, rgszNames
, cNames
, lcid
, rgDispId
);
4806 return IDispatchEx_GetIDsOfNames(&This
->dispex
.IDispatchEx_iface
, riid
, rgszNames
,
4807 cNames
, lcid
, rgDispId
);
4810 static HRESULT WINAPI
HTMLCSSStyleDeclaration_Invoke(IHTMLCSSStyleDeclaration
*iface
,
4811 DISPID dispIdMember
, REFIID riid
, LCID lcid
, WORD wFlags
, DISPPARAMS
*pDispParams
,
4812 VARIANT
*pVarResult
, EXCEPINFO
*pExcepInfo
, UINT
*puArgErr
)
4814 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
4815 TRACE("(%p)->(%ld %p %lu %u %p %p %p %p)\n", This
, dispIdMember
, riid
, lcid
, wFlags
,
4816 pDispParams
, pVarResult
, pExcepInfo
, puArgErr
);
4817 return IDispatchEx_Invoke(&This
->dispex
.IDispatchEx_iface
, dispIdMember
, riid
, lcid
,
4818 wFlags
, pDispParams
, pVarResult
, pExcepInfo
, puArgErr
);
4821 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_length(IHTMLCSSStyleDeclaration
*iface
, LONG
*p
)
4823 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
4824 FIXME("(%p)->(%p)\n", This
, p
);
4828 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_parentRule(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
4830 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
4831 FIXME("(%p)->(%p)\n", This
, p
);
4835 static HRESULT WINAPI
HTMLCSSStyleDeclaration_getPropertyValue(IHTMLCSSStyleDeclaration
*iface
, BSTR name
, BSTR
*value
)
4837 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
4838 const style_tbl_entry_t
*style_entry
;
4839 nsAString name_str
, value_str
;
4842 TRACE("(%p)->(%s %p)\n", This
, debugstr_w(name
), value
);
4844 style_entry
= lookup_style_tbl(This
, name
);
4845 nsAString_InitDepend(&name_str
, style_entry
? style_entry
->name
: name
);
4846 nsAString_InitDepend(&value_str
, NULL
);
4847 nsres
= nsIDOMCSSStyleDeclaration_GetPropertyValue(This
->nsstyle
, &name_str
, &value_str
);
4848 nsAString_Finish(&name_str
);
4849 return return_nsstr(nsres
, &value_str
, value
);
4852 static HRESULT WINAPI
HTMLCSSStyleDeclaration_getPropertyPriority(IHTMLCSSStyleDeclaration
*iface
, BSTR bstrPropertyName
, BSTR
*pbstrPropertyPriority
)
4854 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
4855 FIXME("(%p)->(%s %p)\n", This
, debugstr_w(bstrPropertyName
), pbstrPropertyPriority
);
4859 static HRESULT WINAPI
HTMLCSSStyleDeclaration_removeProperty(IHTMLCSSStyleDeclaration
*iface
, BSTR bstrPropertyName
, BSTR
*pbstrPropertyValue
)
4861 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
4862 const style_tbl_entry_t
*style_entry
;
4863 nsAString name_str
, ret_str
;
4866 TRACE("(%p)->(%s %p)\n", This
, debugstr_w(bstrPropertyName
), pbstrPropertyValue
);
4868 style_entry
= lookup_style_tbl(This
, bstrPropertyName
);
4869 nsAString_InitDepend(&name_str
, style_entry
? style_entry
->name
: bstrPropertyName
);
4870 nsAString_Init(&ret_str
, NULL
);
4871 nsres
= nsIDOMCSSStyleDeclaration_RemoveProperty(This
->nsstyle
, &name_str
, &ret_str
);
4872 nsAString_Finish(&name_str
);
4873 return return_nsstr(nsres
, &ret_str
, pbstrPropertyValue
);
4876 static HRESULT WINAPI
HTMLCSSStyleDeclaration_setProperty(IHTMLCSSStyleDeclaration
*iface
, BSTR name
, VARIANT
*value
, VARIANT
*priority
)
4878 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
4879 nsAString priority_str
, name_str
, value_str
;
4880 const style_tbl_entry_t
*style_entry
;
4884 TRACE("(%p)->(%s %s %s)\n", This
, debugstr_w(name
), debugstr_variant(value
), debugstr_variant(priority
));
4886 style_entry
= lookup_style_tbl(This
, name
);
4887 hres
= var_to_styleval(This
, value
, style_entry
, &value_str
);
4892 if(V_VT(priority
) != VT_BSTR
) {
4893 WARN("invalid priority type %s\n", debugstr_variant(priority
));
4894 nsAString_Finish(&value_str
);
4897 nsAString_InitDepend(&priority_str
, V_BSTR(priority
));
4899 nsAString_InitDepend(&priority_str
, NULL
);
4902 nsAString_InitDepend(&name_str
, style_entry
? style_entry
->name
: name
);
4903 nsres
= nsIDOMCSSStyleDeclaration_SetProperty(This
->nsstyle
, &name_str
, &value_str
, &priority_str
);
4904 nsAString_Finish(&name_str
);
4905 nsAString_Finish(&value_str
);
4906 nsAString_Finish(&priority_str
);
4907 if(NS_FAILED(nsres
))
4908 WARN("SetProperty failed: %08lx\n", nsres
);
4909 return map_nsresult(nsres
);
4912 static HRESULT WINAPI
HTMLCSSStyleDeclaration_item(IHTMLCSSStyleDeclaration
*iface
, LONG index
, BSTR
*pbstrPropertyName
)
4914 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
4915 FIXME("(%p)->(%ld %p)\n", This
, index
, pbstrPropertyName
);
4919 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_fontFamily(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
4921 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
4922 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
4923 return set_style_property(This
, STYLEID_FONT_FAMILY
, v
);
4926 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_fontFamily(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
4928 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
4929 TRACE("(%p)->(%p)\n", This
, p
);
4930 return get_style_property(This
, STYLEID_FONT_FAMILY
, p
);
4933 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_fontStyle(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
4935 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
4936 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
4937 return set_style_property(This
, STYLEID_FONT_STYLE
, v
);
4940 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_fontStyle(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
4942 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
4943 TRACE("(%p)->(%p)\n", This
, p
);
4944 return get_style_property(This
, STYLEID_FONT_STYLE
, p
);
4947 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_fontVariant(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
4949 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
4950 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
4951 return set_style_property(This
, STYLEID_FONT_VARIANT
, v
);
4954 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_fontVariant(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
4956 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
4957 TRACE("(%p)->(%p)\n", This
, p
);
4958 return get_style_property(This
, STYLEID_FONT_VARIANT
, p
);
4961 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_fontWeight(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
4963 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
4964 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
4965 return set_style_property(This
, STYLEID_FONT_WEIGHT
, v
);
4968 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_fontWeight(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
4970 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
4971 TRACE("(%p)->(%p)\n", This
, p
);
4972 return get_style_property(This
, STYLEID_FONT_WEIGHT
, p
);
4975 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_fontSize(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
4977 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
4978 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
4979 return set_style_property_var(This
, STYLEID_FONT_SIZE
, &v
);
4982 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_fontSize(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
4984 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
4985 TRACE("(%p)->(%p)\n", This
, p
);
4986 return get_style_property_var(This
, STYLEID_FONT_SIZE
, p
);
4989 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_font(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
4991 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
4992 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
4996 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_font(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
4998 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
4999 FIXME("(%p)->(%p)\n", This
, p
);
5003 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_color(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
5005 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5006 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
5007 return set_style_property_var(This
, STYLEID_COLOR
, &v
);
5010 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_color(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
5012 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5013 TRACE("(%p)->(%p)\n", This
, p
);
5014 return get_style_property_var(This
, STYLEID_COLOR
, p
);
5017 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_background(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
5019 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5020 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
5021 return set_style_property(This
, STYLEID_BACKGROUND
, v
);
5024 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_background(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
5026 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5027 TRACE("(%p)->(%p)\n", This
, p
);
5028 return get_style_property(This
, STYLEID_BACKGROUND
, p
);
5031 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_backgroundColor(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
5033 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5034 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
5035 return set_style_property_var(This
, STYLEID_BACKGROUND_COLOR
, &v
);
5038 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_backgroundColor(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
5040 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5041 TRACE("(%p)->(%p)\n", This
, p
);
5042 return get_style_property_var(This
, STYLEID_BACKGROUND_COLOR
, p
);
5045 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_backgroundImage(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
5047 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5048 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
5049 return set_style_property(This
, STYLEID_BACKGROUND_IMAGE
, v
);
5052 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_backgroundImage(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
5054 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5055 TRACE("(%p)->(%p)\n", This
, p
);
5056 return get_style_property(This
, STYLEID_BACKGROUND_IMAGE
, p
);
5059 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_backgroundRepeat(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
5061 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5062 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
5063 return set_style_property(This
, STYLEID_BACKGROUND_REPEAT
, v
);
5066 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_backgroundRepeat(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
5068 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5069 TRACE("(%p)->(%p)\n", This
, p
);
5070 return get_style_property(This
, STYLEID_BACKGROUND_REPEAT
, p
);
5073 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_backgroundAttachment(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
5075 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5076 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
5077 return set_style_property(This
, STYLEID_BACKGROUND_ATTACHMENT
, v
);
5080 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_backgroundAttachment(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
5082 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5083 TRACE("(%p)->(%p)\n", This
, p
);
5084 return get_style_property(This
, STYLEID_BACKGROUND_ATTACHMENT
, p
);
5087 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_backgroundPosition(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
5089 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5090 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
5091 return set_style_property(This
, STYLEID_BACKGROUND_POSITION
, v
);
5094 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_backgroundPosition(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
5096 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5097 TRACE("(%p)->(%p)\n", This
, p
);
5098 return get_style_property(This
, STYLEID_BACKGROUND_POSITION
, p
);
5101 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_backgroundPositionX(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
5103 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5104 nsAString pos_str
, val_str
;
5110 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
5112 hres
= var_to_styleval(This
, &v
, &style_tbl
[STYLEID_BACKGROUND_POSITION_X
], &val_str
);
5116 nsAString_GetData(&val_str
, &val
);
5117 val_len
= val
? lstrlenW(val
) : 0;
5119 nsAString_Init(&pos_str
, NULL
);
5120 hres
= get_nsstyle_attr_nsval(This
->nsstyle
, STYLEID_BACKGROUND_POSITION
, &pos_str
);
5121 if(SUCCEEDED(hres
)) {
5122 const PRUnichar
*pos
, *posy
;
5125 nsAString_GetData(&pos_str
, &pos
);
5126 posy
= wcschr(pos
, ' ');
5128 TRACE("no space in %s\n", debugstr_w(pos
));
5132 posy_len
= lstrlenW(posy
);
5133 pos_val
= malloc((val_len
+ posy_len
+ 1) * sizeof(WCHAR
));
5136 memcpy(pos_val
, val
, val_len
*sizeof(WCHAR
));
5138 memcpy(pos_val
+val_len
, posy
, posy_len
*sizeof(WCHAR
));
5139 pos_val
[val_len
+posy_len
] = 0;
5141 hres
= E_OUTOFMEMORY
;
5144 nsAString_Finish(&pos_str
);
5145 nsAString_Finish(&val_str
);
5149 TRACE("setting position to %s\n", debugstr_w(pos_val
));
5150 hres
= set_style_property(This
, STYLEID_BACKGROUND_POSITION
, pos_val
);
5155 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_backgroundPositionX(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
5157 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5162 TRACE("(%p)->(%p)\n", This
, p
);
5164 nsAString_Init(&pos_str
, NULL
);
5165 hres
= get_nsstyle_attr_nsval(This
->nsstyle
, STYLEID_BACKGROUND_POSITION
, &pos_str
);
5166 if(SUCCEEDED(hres
)) {
5167 const PRUnichar
*pos
, *space
;
5169 nsAString_GetData(&pos_str
, &pos
);
5170 space
= wcschr(pos
, ' ');
5172 WARN("no space in %s\n", debugstr_w(pos
));
5173 space
= pos
+ lstrlenW(pos
);
5177 ret
= SysAllocStringLen(pos
, space
-pos
);
5179 hres
= E_OUTOFMEMORY
;
5184 nsAString_Finish(&pos_str
);
5188 TRACE("returning %s\n", debugstr_w(ret
));
5194 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_backgroundPositionY(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
5196 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5197 nsAString pos_str
, val_str
;
5203 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
5205 hres
= var_to_styleval(This
, &v
, &style_tbl
[STYLEID_BACKGROUND_POSITION
], &val_str
);
5209 nsAString_GetData(&val_str
, &val
);
5210 val_len
= val
? lstrlenW(val
) : 0;
5212 nsAString_Init(&pos_str
, NULL
);
5213 hres
= get_nsstyle_attr_nsval(This
->nsstyle
, STYLEID_BACKGROUND_POSITION
, &pos_str
);
5214 if(SUCCEEDED(hres
)) {
5215 const PRUnichar
*pos
, *space
;
5218 nsAString_GetData(&pos_str
, &pos
);
5219 space
= wcschr(pos
, ' ');
5223 TRACE("no space in %s\n", debugstr_w(pos
));
5225 space
= pos
+ ARRAY_SIZE(L
"0px ")-1;
5228 posx_len
= space
-pos
;
5230 pos_val
= malloc((posx_len
+ val_len
+ 1) * sizeof(WCHAR
));
5232 memcpy(pos_val
, pos
, posx_len
*sizeof(WCHAR
));
5234 memcpy(pos_val
+posx_len
, val
, val_len
*sizeof(WCHAR
));
5235 pos_val
[posx_len
+val_len
] = 0;
5237 hres
= E_OUTOFMEMORY
;
5240 nsAString_Finish(&pos_str
);
5241 nsAString_Finish(&val_str
);
5245 TRACE("setting position to %s\n", debugstr_w(pos_val
));
5246 hres
= set_style_property(This
, STYLEID_BACKGROUND_POSITION
, pos_val
);
5251 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_backgroundPositionY(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
5253 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5258 TRACE("(%p)->(%p)\n", This
, p
);
5260 nsAString_Init(&pos_str
, NULL
);
5261 hres
= get_nsstyle_attr_nsval(This
->nsstyle
, STYLEID_BACKGROUND_POSITION
, &pos_str
);
5262 if(SUCCEEDED(hres
)) {
5263 const PRUnichar
*pos
, *posy
;
5265 nsAString_GetData(&pos_str
, &pos
);
5266 posy
= wcschr(pos
, ' ');
5268 ret
= SysAllocString(posy
+1);
5270 hres
= E_OUTOFMEMORY
;
5275 nsAString_Finish(&pos_str
);
5279 TRACE("returning %s\n", debugstr_w(ret
));
5285 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_wordSpacing(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
5287 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5288 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
5289 return set_style_property_var(This
, STYLEID_WORD_SPACING
, &v
);
5292 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_wordSpacing(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
5294 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5295 TRACE("(%p)->(%p)\n", This
, p
);
5296 return get_style_property_var(This
, STYLEID_WORD_SPACING
, p
);
5299 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_letterSpacing(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
5301 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5302 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
5303 return set_style_property_var(This
, STYLEID_LETTER_SPACING
, &v
);
5306 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_letterSpacing(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
5308 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5309 TRACE("(%p)->(%p)\n", This
, p
);
5310 return get_style_property_var(This
, STYLEID_LETTER_SPACING
, p
);
5313 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_textDecoration(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
5315 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5316 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
5317 return set_style_property(This
, STYLEID_TEXT_DECORATION
, v
);
5320 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_textDecoration(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
5322 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5323 TRACE("(%p)->(%p)\n", This
, p
);
5324 return get_style_property(This
, STYLEID_TEXT_DECORATION
, p
);
5327 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_verticalAlign(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
5329 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5330 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
5331 return set_style_property_var(This
, STYLEID_VERTICAL_ALIGN
, &v
);
5334 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_verticalAlign(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
5336 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5337 TRACE("(%p)->(%p)\n", This
, p
);
5338 return get_style_property_var(This
, STYLEID_VERTICAL_ALIGN
, p
);
5341 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_textTransform(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
5343 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5344 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
5345 return set_style_property(This
, STYLEID_TEXT_TRANSFORM
, v
);
5348 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_textTransform(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
5350 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5351 TRACE("(%p)->(%p)\n", This
, p
);
5352 return get_style_property(This
, STYLEID_TEXT_TRANSFORM
, p
);
5355 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_textAlign(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
5357 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5358 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
5359 return set_style_property(This
, STYLEID_TEXT_ALIGN
, v
);
5362 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_textAlign(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
5364 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5365 TRACE("(%p)->(%p)\n", This
, p
);
5366 return get_style_property(This
, STYLEID_TEXT_ALIGN
, p
);
5369 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_textIndent(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
5371 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5372 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
5373 return set_style_property_var(This
, STYLEID_TEXT_INDENT
, &v
);
5376 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_textIndent(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
5378 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5379 TRACE("(%p)->(%p)\n", This
, p
);
5380 return get_style_property_var(This
, STYLEID_TEXT_INDENT
, p
);
5383 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_lineHeight(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
5385 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5386 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
5387 return set_style_property_var(This
, STYLEID_LINE_HEIGHT
, &v
);
5390 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_lineHeight(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
5392 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5393 TRACE("(%p)->(%p)\n", This
, p
);
5394 return get_style_property_var(This
, STYLEID_LINE_HEIGHT
, p
);
5397 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_marginTop(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
5399 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5400 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
5401 return set_style_property_var(This
, STYLEID_MARGIN_TOP
, &v
);
5404 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_marginTop(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
5406 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5407 TRACE("(%p)->(%p)\n", This
, p
);
5408 return get_style_property_var(This
, STYLEID_MARGIN_TOP
, p
);
5411 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_marginRight(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
5413 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5414 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
5415 return set_style_property_var(This
, STYLEID_MARGIN_RIGHT
, &v
);
5418 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_marginRight(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
5420 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5421 TRACE("(%p)->(%p)\n", This
, p
);
5422 return get_style_property_var(This
, STYLEID_MARGIN_RIGHT
, p
);
5425 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_marginBottom(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
5427 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5428 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
5429 return set_style_property_var(This
, STYLEID_MARGIN_BOTTOM
, &v
);
5432 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_marginBottom(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
5434 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5435 TRACE("(%p)->(%p)\n", This
, p
);
5436 return get_style_property_var(This
, STYLEID_MARGIN_BOTTOM
, p
);
5439 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_marginLeft(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
5441 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5442 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
5443 return set_style_property_var(This
, STYLEID_MARGIN_LEFT
, &v
);
5446 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_marginLeft(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
5448 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5449 TRACE("(%p)->(%p)\n", This
, p
);
5450 return get_style_property_var(This
, STYLEID_MARGIN_LEFT
, p
);
5453 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_margin(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
5455 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5456 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
5457 return set_style_property(This
, STYLEID_MARGIN
, v
);
5460 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_margin(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
5462 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5463 TRACE("(%p)->(%p)\n", This
, p
);
5464 return get_style_property(This
, STYLEID_MARGIN
, p
);
5467 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_paddingTop(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
5469 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5470 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
5471 return set_style_property_var(This
, STYLEID_PADDING_TOP
, &v
);
5474 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_paddingTop(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
5476 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5477 TRACE("(%p)->(%p)\n", This
, p
);
5478 return get_style_property_var(This
, STYLEID_PADDING_TOP
, p
);
5481 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_paddingRight(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
5483 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5484 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
5485 return set_style_property_var(This
, STYLEID_PADDING_RIGHT
, &v
);
5488 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_paddingRight(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
5490 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5491 TRACE("(%p)->(%p)\n", This
, p
);
5492 return get_style_property_var(This
, STYLEID_PADDING_RIGHT
, p
);
5495 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_paddingBottom(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
5497 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5498 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
5499 return set_style_property_var(This
, STYLEID_PADDING_BOTTOM
, &v
);
5502 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_paddingBottom(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
5504 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5505 TRACE("(%p)->(%p)\n", This
, p
);
5506 return get_style_property_var(This
, STYLEID_PADDING_BOTTOM
, p
);
5509 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_paddingLeft(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
5511 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5512 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
5513 return set_style_property_var(This
, STYLEID_PADDING_LEFT
, &v
);
5516 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_paddingLeft(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
5518 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5519 TRACE("(%p)->(%p)\n", This
, p
);
5520 return get_style_property_var(This
, STYLEID_PADDING_LEFT
, p
);
5523 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_padding(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
5525 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5526 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
5527 return set_style_property(This
, STYLEID_PADDING
, v
);
5530 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_padding(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
5532 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5533 TRACE("(%p)->(%p)\n", This
, p
);
5534 return get_style_property(This
, STYLEID_PADDING
, p
);
5537 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_border(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
5539 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5540 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
5541 return set_style_property(This
, STYLEID_BORDER
, v
);
5544 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_border(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
5546 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5547 TRACE("(%p)->(%p)\n", This
, p
);
5548 return get_style_property(This
, STYLEID_BORDER
, p
);
5551 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_borderTop(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
5553 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5554 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
5555 return set_style_property(This
, STYLEID_BORDER_TOP
, v
);
5558 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_borderTop(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
5560 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5561 TRACE("(%p)->(%p)\n", This
, p
);
5562 return get_style_property(This
, STYLEID_BORDER_TOP
, p
);
5565 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_borderRight(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
5567 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5568 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
5569 return set_style_property(This
, STYLEID_BORDER_RIGHT
, v
);
5572 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_borderRight(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
5574 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5575 TRACE("(%p)->(%p)\n", This
, p
);
5576 return get_style_property(This
, STYLEID_BORDER_RIGHT
, p
);
5579 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_borderBottom(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
5581 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5582 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
5583 return set_style_property(This
, STYLEID_BORDER_BOTTOM
, v
);
5586 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_borderBottom(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
5588 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5589 TRACE("(%p)->(%p)\n", This
, p
);
5590 return get_style_property(This
, STYLEID_BORDER_BOTTOM
, p
);
5593 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_borderLeft(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
5595 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5596 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
5597 return set_style_property(This
, STYLEID_BORDER_LEFT
, v
);
5600 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_borderLeft(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
5602 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5603 TRACE("(%p)->(%p)\n", This
, p
);
5604 return get_style_property(This
, STYLEID_BORDER_LEFT
, p
);
5607 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_borderColor(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
5609 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5610 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
5611 return set_style_property(This
, STYLEID_BORDER_COLOR
, v
);
5614 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_borderColor(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
5616 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5617 TRACE("(%p)->(%p)\n", This
, p
);
5618 return get_style_property(This
, STYLEID_BORDER_COLOR
, p
);
5621 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_borderTopColor(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
5623 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5624 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
5625 return set_style_property_var(This
, STYLEID_BORDER_TOP_COLOR
, &v
);
5628 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_borderTopColor(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
5630 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5631 TRACE("(%p)->(%p)\n", This
, p
);
5632 return get_style_property_var(This
, STYLEID_BORDER_TOP_COLOR
, p
);
5635 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_borderRightColor(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
5637 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5638 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
5639 return set_style_property_var(This
, STYLEID_BORDER_RIGHT_COLOR
, &v
);
5642 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_borderRightColor(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
5644 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5645 TRACE("(%p)->(%p)\n", This
, p
);
5646 return get_style_property_var(This
, STYLEID_BORDER_RIGHT_COLOR
, p
);
5649 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_borderBottomColor(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
5651 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5652 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
5653 return set_style_property_var(This
, STYLEID_BORDER_BOTTOM_COLOR
, &v
);
5656 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_borderBottomColor(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
5658 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5659 TRACE("(%p)->(%p)\n", This
, p
);
5660 return get_style_property_var(This
, STYLEID_BORDER_BOTTOM_COLOR
, p
);
5663 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_borderLeftColor(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
5665 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5666 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
5667 return set_style_property_var(This
, STYLEID_BORDER_LEFT_COLOR
, &v
);
5670 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_borderLeftColor(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
5672 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5673 TRACE("(%p)->(%p)\n", This
, p
);
5674 return get_style_property_var(This
, STYLEID_BORDER_LEFT_COLOR
, p
);
5677 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_borderWidth(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
5679 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5680 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
5681 return set_style_property(This
, STYLEID_BORDER_WIDTH
, v
);
5684 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_borderWidth(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
5686 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5687 TRACE("(%p)->(%p)\n", This
, p
);
5688 return get_style_property(This
, STYLEID_BORDER_WIDTH
, p
);
5691 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_borderTopWidth(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
5693 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5694 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
5695 return set_style_property_var(This
, STYLEID_BORDER_TOP_WIDTH
, &v
);
5698 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_borderTopWidth(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
5700 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5701 TRACE("(%p)->(%p)\n", This
, p
);
5702 return get_style_property_var(This
, STYLEID_BORDER_TOP_WIDTH
, p
);
5705 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_borderRightWidth(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
5707 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5708 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
5709 return set_style_property_var(This
, STYLEID_BORDER_RIGHT_WIDTH
, &v
);
5712 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_borderRightWidth(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
5714 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5715 TRACE("(%p)->(%p)\n", This
, p
);
5716 return get_style_property_var(This
, STYLEID_BORDER_RIGHT_WIDTH
, p
);
5719 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_borderBottomWidth(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
5721 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5722 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
5723 return set_style_property_var(This
, STYLEID_BORDER_BOTTOM_WIDTH
, &v
);
5726 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_borderBottomWidth(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
5728 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5729 TRACE("(%p)->(%p)\n", This
, p
);
5730 return get_style_property_var(This
, STYLEID_BORDER_BOTTOM_WIDTH
, p
);
5733 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_borderLeftWidth(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
5735 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5736 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
5737 return set_style_property_var(This
, STYLEID_BORDER_LEFT_WIDTH
, &v
);
5740 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_borderLeftWidth(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
5742 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5743 TRACE("(%p)->(%p)\n", This
, p
);
5744 return get_style_property_var(This
, STYLEID_BORDER_LEFT_WIDTH
, p
);
5747 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_borderStyle(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
5749 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5750 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
5751 return set_style_property(This
, STYLEID_BORDER_STYLE
, v
);
5754 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_borderStyle(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
5756 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5757 TRACE("(%p)->(%p)\n", This
, p
);
5758 return get_style_property(This
, STYLEID_BORDER_STYLE
, p
);
5761 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_borderTopStyle(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
5763 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5764 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
5765 return set_style_property(This
, STYLEID_BORDER_TOP_STYLE
, v
);
5768 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_borderTopStyle(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
5770 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5771 TRACE("(%p)->(%p)\n", This
, p
);
5772 return get_style_property(This
, STYLEID_BORDER_TOP_STYLE
, p
);
5775 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_borderRightStyle(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
5777 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5778 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
5779 return set_style_property(This
, STYLEID_BORDER_RIGHT_STYLE
, v
);
5782 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_borderRightStyle(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
5784 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5785 TRACE("(%p)->(%p)\n", This
, p
);
5786 return get_style_property(This
, STYLEID_BORDER_RIGHT_STYLE
, p
);
5789 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_borderBottomStyle(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
5791 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5792 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
5793 return set_style_property(This
, STYLEID_BORDER_BOTTOM_STYLE
, v
);
5796 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_borderBottomStyle(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
5798 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5799 TRACE("(%p)->(%p)\n", This
, p
);
5800 return get_style_property(This
, STYLEID_BORDER_BOTTOM_STYLE
, p
);
5803 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_borderLeftStyle(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
5805 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5806 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
5807 return set_style_property(This
, STYLEID_BORDER_LEFT_STYLE
, v
);
5810 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_borderLeftStyle(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
5812 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5813 TRACE("(%p)->(%p)\n", This
, p
);
5814 return get_style_property(This
, STYLEID_BORDER_LEFT_STYLE
, p
);
5817 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_width(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
5819 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5820 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
5821 return set_style_property_var(This
, STYLEID_WIDTH
, &v
);
5824 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_width(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
5826 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5827 TRACE("(%p)->(%p)\n", This
, p
);
5828 return get_style_property_var(This
, STYLEID_WIDTH
, p
);
5831 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_height(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
5833 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5834 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
5835 return set_style_property_var(This
, STYLEID_HEIGHT
, &v
);
5838 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_height(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
5840 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5841 TRACE("(%p)->(%p)\n", This
, p
);
5842 return get_style_property_var(This
, STYLEID_HEIGHT
, p
);
5845 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_styleFloat(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
5847 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5848 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
5849 return set_style_property(This
, STYLEID_FLOAT
, v
);
5852 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_styleFloat(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
5854 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5855 TRACE("(%p)->(%p)\n", This
, p
);
5856 return get_style_property(This
, STYLEID_FLOAT
, p
);
5859 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_clear(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
5861 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5862 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
5863 return set_style_property(This
, STYLEID_CLEAR
, v
);
5866 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_clear(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
5868 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5869 TRACE("(%p)->(%p)\n", This
, p
);
5870 return get_style_property(This
, STYLEID_CLEAR
, p
);
5873 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_display(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
5875 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5876 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
5877 return set_style_property(This
, STYLEID_DISPLAY
, v
);
5880 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_display(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
5882 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5883 TRACE("(%p)->(%p)\n", This
, p
);
5884 return get_style_property(This
, STYLEID_DISPLAY
, p
);
5887 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_visibility(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
5889 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5890 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
5891 return set_style_property(This
, STYLEID_VISIBILITY
, v
);
5894 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_visibility(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
5896 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5897 TRACE("(%p)->(%p)\n", This
, p
);
5898 return get_style_property(This
, STYLEID_VISIBILITY
, p
);
5901 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_listStyleType(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
5903 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5904 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
5908 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_listStyleType(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
5910 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5911 FIXME("(%p)->(%p)\n", This
, p
);
5915 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_listStylePosition(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
5917 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5918 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
5922 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_listStylePosition(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
5924 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5925 FIXME("(%p)->(%p)\n", This
, p
);
5929 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_listStyleImage(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
5931 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5932 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
5936 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_listStyleImage(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
5938 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5939 FIXME("(%p)->(%p)\n", This
, p
);
5943 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_listStyle(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
5945 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5946 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
5947 return set_style_property(This
, STYLEID_LIST_STYLE
, v
);
5950 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_listStyle(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
5952 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5953 TRACE("(%p)->(%p)\n", This
, p
);
5954 return get_style_property(This
, STYLEID_LIST_STYLE
, p
);
5957 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_whiteSpace(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
5959 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5960 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
5961 return set_style_property(This
, STYLEID_WHITE_SPACE
, v
);
5964 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_whiteSpace(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
5966 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5967 TRACE("(%p)->(%p)\n", This
, p
);
5968 return get_style_property(This
, STYLEID_WHITE_SPACE
, p
);
5971 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_top(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
5973 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5974 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
5975 return set_style_property_var(This
, STYLEID_TOP
, &v
);
5978 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_top(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
5980 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5981 TRACE("(%p)->(%p)\n", This
, p
);
5982 return get_style_property_var(This
, STYLEID_TOP
, p
);
5985 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_left(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
5987 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5988 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
5989 return set_style_property_var(This
, STYLEID_LEFT
, &v
);
5992 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_left(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
5994 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
5995 TRACE("(%p)->(%p)\n", This
, p
);
5996 return get_style_property_var(This
, STYLEID_LEFT
, p
);
5999 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_zIndex(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
6001 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6002 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
6003 return set_style_property_var(This
, STYLEID_Z_INDEX
, &v
);
6006 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_zIndex(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
6008 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6009 TRACE("(%p)->(%p)\n", This
, p
);
6010 return get_style_property_var(This
, STYLEID_Z_INDEX
, p
);
6013 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_overflow(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6015 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6016 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
6017 return set_style_property(This
, STYLEID_OVERFLOW
, v
);
6020 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_overflow(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6022 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6023 TRACE("(%p)->(%p)\n", This
, p
);
6024 return get_style_property(This
, STYLEID_OVERFLOW
, p
);
6027 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_pageBreakBefore(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6029 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6030 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
6031 return set_style_property(This
, STYLEID_PAGE_BREAK_BEFORE
, v
);
6034 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_pageBreakBefore(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6036 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6037 TRACE("(%p)->(%p)\n", This
, p
);
6038 return get_style_property(This
, STYLEID_PAGE_BREAK_BEFORE
, p
);
6041 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_pageBreakAfter(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6043 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6044 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
6045 return set_style_property(This
, STYLEID_PAGE_BREAK_AFTER
, v
);
6048 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_pageBreakAfter(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6050 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6051 TRACE("(%p)->(%p)\n", This
, p
);
6052 return get_style_property(This
, STYLEID_PAGE_BREAK_AFTER
, p
);
6055 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_cssText(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6057 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6061 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
6063 nsAString_InitDepend(&text_str
, v
);
6064 nsres
= nsIDOMCSSStyleDeclaration_SetCssText(This
->nsstyle
, &text_str
);
6065 nsAString_Finish(&text_str
);
6066 if(NS_FAILED(nsres
)) {
6067 FIXME("SetCssStyle failed: %08lx\n", nsres
);
6074 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_cssText(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6076 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6080 TRACE("(%p)->(%p)\n", This
, p
);
6082 /* NOTE: Quicks mode should use different formatting (uppercase, no ';' at the end of rule). */
6083 nsAString_Init(&text_str
, NULL
);
6084 nsres
= nsIDOMCSSStyleDeclaration_GetCssText(This
->nsstyle
, &text_str
);
6085 return return_nsstr(nsres
, &text_str
, p
);
6088 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_cursor(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6090 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6091 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
6092 return set_style_property(This
, STYLEID_CURSOR
, v
);
6095 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_cursor(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6097 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6098 TRACE("(%p)->(%p)\n", This
, p
);
6099 return get_style_property(This
, STYLEID_CURSOR
, p
);
6102 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_clip(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6104 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6105 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
6106 return set_style_property(This
, STYLEID_CLIP
, v
);
6109 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_clip(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6111 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6112 TRACE("(%p)->(%p)\n", This
, p
);
6113 return get_style_property(This
, STYLEID_CLIP
, p
);
6116 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_filter(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6118 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6119 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
6120 return set_style_property(This
, STYLEID_FILTER
, v
);
6123 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_filter(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6125 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6126 TRACE("(%p)->(%p)\n", This
, p
);
6127 return get_style_property(This
, STYLEID_FILTER
, p
);
6130 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_tableLayout(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6132 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6133 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
6134 return set_style_property(This
, STYLEID_TABLE_LAYOUT
, v
);
6137 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_tableLayout(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6139 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6140 TRACE("(%p)->(%p)\n", This
, p
);
6141 return get_style_property(This
, STYLEID_TABLE_LAYOUT
, p
);
6144 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_borderCollapse(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6146 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6147 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
6148 return set_style_property(This
, STYLEID_BORDER_COLLAPSE
, v
);
6151 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_borderCollapse(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6153 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6154 TRACE("(%p)->(%p)\n", This
, p
);
6155 return get_style_property(This
, STYLEID_BORDER_COLLAPSE
, p
);
6158 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_direction(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6160 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6161 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
6162 return set_style_property(This
, STYLEID_DIRECTION
, v
);
6165 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_direction(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6167 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6168 TRACE("(%p)->(%p)\n", This
, p
);
6169 return get_style_property(This
, STYLEID_DIRECTION
, p
);
6172 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_behavior(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6174 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6175 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
6179 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_behavior(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6181 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6182 FIXME("(%p)->(%p)\n", This
, p
);
6186 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_position(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6188 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6189 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
6190 return set_style_property(This
, STYLEID_POSITION
, v
);
6193 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_position(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6195 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6196 TRACE("(%p)->(%p)\n", This
, p
);
6197 return get_style_property(This
, STYLEID_POSITION
, p
);
6200 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_unicodeBidi(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6202 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6203 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
6207 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_unicodeBidi(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6209 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6210 FIXME("(%p)->(%p)\n", This
, p
);
6214 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_bottom(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
6216 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6217 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
6218 return set_style_property_var(This
, STYLEID_BOTTOM
, &v
);
6221 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_bottom(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
6223 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6224 TRACE("(%p)->(%p)\n", This
, p
);
6225 return get_style_property_var(This
, STYLEID_BOTTOM
, p
);
6228 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_right(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
6230 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6231 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
6232 return set_style_property_var(This
, STYLEID_RIGHT
, &v
);
6235 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_right(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
6237 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6238 TRACE("(%p)->(%p)\n", This
, p
);
6239 return get_style_property_var(This
, STYLEID_RIGHT
, p
);
6242 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_imeMode(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6244 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6245 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
6249 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_imeMode(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6251 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6252 FIXME("(%p)->(%p)\n", This
, p
);
6256 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_rubyAlign(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6258 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6259 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
6263 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_rubyAlign(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6265 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6266 FIXME("(%p)->(%p)\n", This
, p
);
6270 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_rubyPosition(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6272 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6273 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
6277 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_rubyPosition(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6279 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6280 FIXME("(%p)->(%p)\n", This
, p
);
6284 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_rubyOverhang(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6286 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6287 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
6291 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_rubyOverhang(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6293 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6294 FIXME("(%p)->(%p)\n", This
, p
);
6298 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_layoutGridChar(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
6300 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6301 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
6305 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_layoutGridChar(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
6307 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6308 FIXME("(%p)->(%p)\n", This
, p
);
6312 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_layoutGridLine(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
6314 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6315 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
6319 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_layoutGridLine(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
6321 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6322 FIXME("(%p)->(%p)\n", This
, p
);
6326 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_layoutGridMode(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6328 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6329 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
6333 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_layoutGridMode(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6335 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6336 FIXME("(%p)->(%p)\n", This
, p
);
6340 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_layoutGridType(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6342 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6343 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
6347 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_layoutGridType(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6349 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6350 FIXME("(%p)->(%p)\n", This
, p
);
6354 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_layoutGrid(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6356 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6357 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
6361 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_layoutGrid(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6363 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6364 FIXME("(%p)->(%p)\n", This
, p
);
6368 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_textAutospace(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6370 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6371 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
6375 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_textAutospace(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6377 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6378 FIXME("(%p)->(%p)\n", This
, p
);
6382 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_wordBreak(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6384 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6385 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
6389 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_wordBreak(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6391 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6392 FIXME("(%p)->(%p)\n", This
, p
);
6396 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_lineBreak(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6398 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6399 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
6403 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_lineBreak(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6405 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6406 FIXME("(%p)->(%p)\n", This
, p
);
6410 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_textJustify(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6412 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6413 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
6417 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_textJustify(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6419 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6420 FIXME("(%p)->(%p)\n", This
, p
);
6424 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_textJustifyTrim(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6426 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6427 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
6431 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_textJustifyTrim(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6433 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6434 FIXME("(%p)->(%p)\n", This
, p
);
6438 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_textKashida(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
6440 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6441 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
6445 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_textKashida(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
6447 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6448 FIXME("(%p)->(%p)\n", This
, p
);
6452 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_overflowX(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6454 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6455 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
6456 return set_style_property(This
, STYLEID_OVERFLOW_X
, v
);
6459 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_overflowX(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6461 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6462 TRACE("(%p)->(%p)\n", This
, p
);
6463 return get_style_property(This
, STYLEID_OVERFLOW_X
, p
);
6466 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_overflowY(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6468 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6469 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
6470 return set_style_property(This
, STYLEID_OVERFLOW_Y
, v
);
6473 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_overflowY(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6475 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6476 TRACE("(%p)->(%p)\n", This
, p
);
6477 return get_style_property(This
, STYLEID_OVERFLOW_Y
, p
);
6480 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_accelerator(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6482 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6483 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
6487 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_accelerator(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6489 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6490 FIXME("(%p)->(%p)\n", This
, p
);
6494 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_layoutFlow(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6496 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6497 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
6501 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_layoutFlow(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6503 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6504 FIXME("(%p)->(%p)\n", This
, p
);
6508 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_zoom(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
6510 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6514 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
6516 /* zoom property is IE CSS extension that is mostly used as a hack to workaround IE bugs.
6517 * The value is set to 1 then. We can safely ignore setting zoom to 1. */
6518 if(V_VT(&v
) != VT_I4
|| V_I4(&v
) != 1)
6519 WARN("stub for %s\n", debugstr_variant(&v
));
6521 hres
= dispex_get_dprop_ref(&This
->dispex
, L
"zoom", TRUE
, &var
);
6525 return VariantChangeType(var
, &v
, 0, VT_BSTR
);
6528 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_zoom(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
6530 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6534 TRACE("(%p)->(%p)\n", This
, p
);
6536 hres
= dispex_get_dprop_ref(&This
->dispex
, L
"zoom", FALSE
, &var
);
6537 if(hres
== DISP_E_UNKNOWNNAME
) {
6545 return VariantCopy(p
, var
);
6548 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_wordWrap(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6550 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6551 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
6552 return set_style_property(This
, STYLEID_WORD_WRAP
, v
);
6555 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_wordWrap(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6557 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6558 TRACE("(%p)->(%p)\n", This
, p
);
6559 return get_style_property(This
, STYLEID_WORD_WRAP
, p
);
6562 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_textUnderlinePosition(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6564 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6565 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
6569 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_textUnderlinePosition(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6571 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6572 FIXME("(%p)->(%p)\n", This
, p
);
6576 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_scrollbarBaseColor(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
6578 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6579 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
6583 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_scrollbarBaseColor(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
6585 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6586 FIXME("(%p)->(%p)\n", This
, p
);
6590 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_scrollbarFaceColor(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
6592 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6593 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
6597 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_scrollbarFaceColor(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
6599 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6600 FIXME("(%p)->(%p)\n", This
, p
);
6604 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_scrollbar3dLightColor(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
6606 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6607 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
6611 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_scrollbar3dLightColor(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
6613 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6614 FIXME("(%p)->(%p)\n", This
, p
);
6618 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_scrollbarShadowColor(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
6620 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6621 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
6625 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_scrollbarShadowColor(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
6627 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6628 FIXME("(%p)->(%p)\n", This
, p
);
6632 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_scrollbarHighlightColor(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
6634 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6635 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
6639 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_scrollbarHighlightColor(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
6641 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6642 FIXME("(%p)->(%p)\n", This
, p
);
6646 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_scrollbarDarkShadowColor(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
6648 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6649 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
6653 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_scrollbarDarkShadowColor(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
6655 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6656 FIXME("(%p)->(%p)\n", This
, p
);
6660 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_scrollbarArrowColor(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
6662 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6663 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
6667 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_scrollbarArrowColor(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
6669 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6670 FIXME("(%p)->(%p)\n", This
, p
);
6674 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_scrollbarTrackColor(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
6676 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6677 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
6681 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_scrollbarTrackColor(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
6683 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6684 FIXME("(%p)->(%p)\n", This
, p
);
6688 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_writingMode(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6690 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6691 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
6695 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_writingMode(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6697 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6698 FIXME("(%p)->(%p)\n", This
, p
);
6702 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_textAlignLast(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6704 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6705 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
6709 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_textAlignLast(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6711 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6712 FIXME("(%p)->(%p)\n", This
, p
);
6716 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_textKashidaSpace(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
6718 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6719 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
6723 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_textKashidaSpace(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
6725 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6726 FIXME("(%p)->(%p)\n", This
, p
);
6730 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_textOverflow(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6732 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6733 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
6737 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_textOverflow(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6739 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6740 FIXME("(%p)->(%p)\n", This
, p
);
6744 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_minHeight(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
6746 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6747 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
6748 return set_style_property_var(This
, STYLEID_MIN_HEIGHT
, &v
);
6751 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_minHeight(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
6753 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6754 TRACE("(%p)->(%p)\n", This
, p
);
6755 return get_style_property_var(This
, STYLEID_MIN_HEIGHT
, p
);
6758 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_msInterpolationMode(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6760 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6761 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
6765 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_msInterpolationMode(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6767 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6768 FIXME("(%p)->(%p)\n", This
, p
);
6772 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_maxHeight(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
6774 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6775 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
6776 return set_style_property_var(This
, STYLEID_MAX_HEIGHT
, &v
);
6779 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_maxHeight(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
6781 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6782 TRACE("(%p)->(%p)\n", This
, p
);
6783 return get_style_property_var(This
, STYLEID_MAX_HEIGHT
, p
);
6786 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_minWidth(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
6788 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6789 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
6790 return set_style_property_var(This
, STYLEID_MIN_WIDTH
, &v
);
6793 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_minWidth(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
6795 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6796 TRACE("(%p)->(%p)\n", This
, p
);
6797 return get_style_property_var(This
, STYLEID_MIN_WIDTH
, p
);
6800 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_maxWidth(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
6802 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6803 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
6804 return set_style_property_var(This
, STYLEID_MAX_WIDTH
, &v
);
6807 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_maxWidth(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
6809 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6810 TRACE("(%p)->(%p)\n", This
, p
);
6811 return get_style_property_var(This
, STYLEID_MAX_WIDTH
, p
);
6814 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_content(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6816 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6817 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
6821 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_content(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6823 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6824 FIXME("(%p)->(%p)\n", This
, p
);
6828 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_captionSide(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6830 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6831 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
6835 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_captionSide(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6837 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6838 FIXME("(%p)->(%p)\n", This
, p
);
6842 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_counterIncrement(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6844 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6845 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
6849 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_counterIncrement(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6851 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6852 FIXME("(%p)->(%p)\n", This
, p
);
6856 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_counterReset(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6858 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6859 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
6863 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_counterReset(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6865 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6866 FIXME("(%p)->(%p)\n", This
, p
);
6870 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_outline(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6872 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6873 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
6874 return set_style_property(This
, STYLEID_OUTLINE
, v
);
6877 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_outline(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6879 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6880 TRACE("(%p)->(%p)\n", This
, p
);
6881 return get_style_property(This
, STYLEID_OUTLINE
, p
);
6884 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_outlineWidth(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
6886 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6887 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
6891 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_outlineWidth(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
6893 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6894 FIXME("(%p)->(%p)\n", This
, p
);
6898 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_outlineStyle(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6900 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6901 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
6905 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_outlineStyle(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6907 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6908 FIXME("(%p)->(%p)\n", This
, p
);
6912 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_outlineColor(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
6914 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6915 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
6919 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_outlineColor(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
6921 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6922 FIXME("(%p)->(%p)\n", This
, p
);
6926 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_boxSizing(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6928 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6929 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
6930 return set_style_property(This
, STYLEID_BOX_SIZING
, v
);
6933 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_boxSizing(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6935 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6936 TRACE("(%p)->(%p)\n", This
, p
);
6937 return get_style_property(This
, STYLEID_BOX_SIZING
, p
);
6940 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_borderSpacing(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6942 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6943 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
6944 return set_style_property(This
, STYLEID_BORDER_SPACING
, v
);
6947 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_borderSpacing(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6949 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6950 TRACE("(%p)->(%p)\n", This
, p
);
6951 return get_style_property(This
, STYLEID_BORDER_SPACING
, p
);
6954 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_orphans(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
6956 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6957 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
6961 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_orphans(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
6963 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6964 FIXME("(%p)->(%p)\n", This
, p
);
6968 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_widows(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
6970 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6971 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
6975 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_widows(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
6977 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6978 FIXME("(%p)->(%p)\n", This
, p
);
6982 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_pageBreakInside(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6984 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6985 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
6989 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_pageBreakInside(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
6991 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6992 FIXME("(%p)->(%p)\n", This
, p
);
6996 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_emptyCells(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
6998 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
6999 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
7003 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_emptyCells(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
7005 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7006 FIXME("(%p)->(%p)\n", This
, p
);
7010 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_msBlockProgression(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
7012 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7013 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
7017 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_msBlockProgression(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
7019 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7020 FIXME("(%p)->(%p)\n", This
, p
);
7024 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_quotes(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
7026 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7027 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
7031 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_quotes(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
7033 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7034 FIXME("(%p)->(%p)\n", This
, p
);
7038 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_alignmentBaseline(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
7040 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7041 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
7045 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_alignmentBaseline(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
7047 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7048 FIXME("(%p)->(%p)\n", This
, p
);
7052 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_baselineShift(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
7054 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7055 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
7059 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_baselineShift(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
7061 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7062 FIXME("(%p)->(%p)\n", This
, p
);
7066 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_dominantBaseline(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
7068 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7069 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
7073 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_dominantBaseline(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
7075 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7076 FIXME("(%p)->(%p)\n", This
, p
);
7080 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_fontSizeAdjust(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
7082 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7083 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
7087 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_fontSizeAdjust(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
7089 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7090 FIXME("(%p)->(%p)\n", This
, p
);
7094 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_fontStretch(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
7096 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7097 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
7101 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_fontStretch(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
7103 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7104 FIXME("(%p)->(%p)\n", This
, p
);
7108 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_opacity(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
7110 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7111 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
7112 return set_style_property_var(This
, STYLEID_OPACITY
, &v
);
7115 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_opacity(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
7117 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7118 TRACE("(%p)->(%p)\n", This
, p
);
7119 return get_style_property_var(This
, STYLEID_OPACITY
, p
);
7122 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_clipPath(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
7124 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7125 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
7129 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_clipPath(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
7131 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7132 FIXME("(%p)->(%p)\n", This
, p
);
7136 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_clipRule(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
7138 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7139 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
7143 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_clipRule(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
7145 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7146 FIXME("(%p)->(%p)\n", This
, p
);
7150 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_fill(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
7152 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7153 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
7157 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_fill(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
7159 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7160 FIXME("(%p)->(%p)\n", This
, p
);
7164 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_fillOpacity(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
7166 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7167 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
7171 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_fillOpacity(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
7173 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7174 FIXME("(%p)->(%p)\n", This
, p
);
7178 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_fillRule(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
7180 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7181 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
7185 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_fillRule(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
7187 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7188 FIXME("(%p)->(%p)\n", This
, p
);
7192 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_kerning(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
7194 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7195 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
7199 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_kerning(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
7201 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7202 FIXME("(%p)->(%p)\n", This
, p
);
7206 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_marker(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
7208 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7209 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
7213 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_marker(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
7215 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7216 FIXME("(%p)->(%p)\n", This
, p
);
7220 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_markerEnd(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
7222 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7223 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
7227 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_markerEnd(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
7229 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7230 FIXME("(%p)->(%p)\n", This
, p
);
7234 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_markerMid(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
7236 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7237 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
7241 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_markerMid(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
7243 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7244 FIXME("(%p)->(%p)\n", This
, p
);
7248 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_markerStart(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
7250 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7251 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
7255 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_markerStart(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
7257 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7258 FIXME("(%p)->(%p)\n", This
, p
);
7262 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_mask(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
7264 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7265 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
7269 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_mask(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
7271 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7272 FIXME("(%p)->(%p)\n", This
, p
);
7276 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_pointerEvents(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
7278 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7279 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
7283 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_pointerEvents(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
7285 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7286 FIXME("(%p)->(%p)\n", This
, p
);
7290 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_stopColor(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
7292 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7293 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
7297 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_stopColor(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
7299 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7300 FIXME("(%p)->(%p)\n", This
, p
);
7304 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_stopOpacity(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
7306 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7307 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
7311 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_stopOpacity(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
7313 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7314 FIXME("(%p)->(%p)\n", This
, p
);
7318 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_stroke(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
7320 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7321 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
7325 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_stroke(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
7327 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7328 FIXME("(%p)->(%p)\n", This
, p
);
7332 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_strokeDasharray(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
7334 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7335 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
7339 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_strokeDasharray(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
7341 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7342 FIXME("(%p)->(%p)\n", This
, p
);
7346 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_strokeDashoffset(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
7348 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7349 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
7353 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_strokeDashoffset(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
7355 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7356 FIXME("(%p)->(%p)\n", This
, p
);
7360 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_strokeLinecap(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
7362 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7363 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
7367 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_strokeLinecap(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
7369 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7370 FIXME("(%p)->(%p)\n", This
, p
);
7374 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_strokeLinejoin(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
7376 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7377 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
7381 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_strokeLinejoin(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
7383 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7384 FIXME("(%p)->(%p)\n", This
, p
);
7388 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_strokeMiterlimit(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
7390 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7391 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
7395 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_strokeMiterlimit(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
7397 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7398 FIXME("(%p)->(%p)\n", This
, p
);
7402 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_strokeOpacity(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
7404 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7405 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
7409 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_strokeOpacity(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
7411 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7412 FIXME("(%p)->(%p)\n", This
, p
);
7416 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_strokeWidth(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
7418 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7419 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
7423 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_strokeWidth(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
7425 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7426 FIXME("(%p)->(%p)\n", This
, p
);
7430 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_textAnchor(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
7432 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7433 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
7437 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_textAnchor(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
7439 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7440 FIXME("(%p)->(%p)\n", This
, p
);
7444 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_glyphOrientationHorizontal(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
7446 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7447 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
7451 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_glyphOrientationHorizontal(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
7453 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7454 FIXME("(%p)->(%p)\n", This
, p
);
7458 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_glyphOrientationVertical(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
7460 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7461 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
7465 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_glyphOrientationVertical(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
7467 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7468 FIXME("(%p)->(%p)\n", This
, p
);
7472 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_borderRadius(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
7474 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7475 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
7479 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_borderRadius(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
7481 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7482 FIXME("(%p)->(%p)\n", This
, p
);
7486 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_borderTopLeftRadius(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
7488 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7489 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
7493 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_borderTopLeftRadius(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
7495 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7496 FIXME("(%p)->(%p)\n", This
, p
);
7500 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_borderTopRightRadius(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
7502 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7503 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
7507 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_borderTopRightRadius(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
7509 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7510 FIXME("(%p)->(%p)\n", This
, p
);
7514 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_borderBottomRightRadius(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
7516 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7517 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
7521 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_borderBottomRightRadius(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
7523 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7524 FIXME("(%p)->(%p)\n", This
, p
);
7528 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_borderBottomLeftRadius(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
7530 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7531 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
7535 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_borderBottomLeftRadius(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
7537 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7538 FIXME("(%p)->(%p)\n", This
, p
);
7542 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_clipTop(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
7544 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7545 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
7549 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_clipTop(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
7551 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7552 FIXME("(%p)->(%p)\n", This
, p
);
7556 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_clipRight(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
7558 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7559 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
7563 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_clipRight(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
7565 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7566 FIXME("(%p)->(%p)\n", This
, p
);
7570 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_clipBottom(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
7572 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7573 FIXME("(%p)->(%p)\n", This
, p
);
7577 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_clipLeft(IHTMLCSSStyleDeclaration
*iface
, VARIANT v
)
7579 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7580 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
7584 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_clipLeft(IHTMLCSSStyleDeclaration
*iface
, VARIANT
*p
)
7586 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7587 FIXME("(%p)->(%p)\n", This
, p
);
7591 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_cssFloat(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
7593 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7594 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
7595 return set_style_property(This
, STYLEID_FLOAT
, v
);
7598 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_cssFloat(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
7600 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7601 TRACE("(%p)->(%p)\n", This
, p
);
7602 return get_style_property(This
, STYLEID_FLOAT
, p
);
7605 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_backgroundClip(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
7607 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7608 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
7609 return set_style_property(This
, STYLEID_BACKGROUND_CLIP
, v
);
7612 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_backgroundClip(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
7614 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7615 TRACE("(%p)->(%p)\n", This
, p
);
7616 return get_style_property(This
, STYLEID_BACKGROUND_CLIP
, p
);
7619 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_backgroundOrigin(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
7621 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7622 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
7626 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_backgroundOrigin(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
7628 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7629 FIXME("(%p)->(%p)\n", This
, p
);
7633 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_backgroundSize(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
7635 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7636 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
7637 return set_style_property(This
, STYLEID_BACKGROUND_SIZE
, v
);
7640 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_backgroundSize(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
7642 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7643 TRACE("(%p)->(%p)\n", This
, p
);
7644 return get_style_property(This
, STYLEID_BACKGROUND_SIZE
, p
);
7647 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_boxShadow(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
7649 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7650 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
7654 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_boxShadow(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
7656 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7657 FIXME("(%p)->(%p)\n", This
, p
);
7661 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_msTransform(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
7663 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7664 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
7668 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_msTransform(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
7670 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7671 FIXME("(%p)->(%p)\n", This
, p
);
7675 static HRESULT WINAPI
HTMLCSSStyleDeclaration_put_msTransformOrigin(IHTMLCSSStyleDeclaration
*iface
, BSTR v
)
7677 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7678 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
7682 static HRESULT WINAPI
HTMLCSSStyleDeclaration_get_msTransformOrigin(IHTMLCSSStyleDeclaration
*iface
, BSTR
*p
)
7684 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration(iface
);
7685 FIXME("(%p)->(%p)\n", This
, p
);
7689 static const IHTMLCSSStyleDeclarationVtbl HTMLCSSStyleDeclarationVtbl
= {
7690 HTMLCSSStyleDeclaration_QueryInterface
,
7691 HTMLCSSStyleDeclaration_AddRef
,
7692 HTMLCSSStyleDeclaration_Release
,
7693 HTMLCSSStyleDeclaration_GetTypeInfoCount
,
7694 HTMLCSSStyleDeclaration_GetTypeInfo
,
7695 HTMLCSSStyleDeclaration_GetIDsOfNames
,
7696 HTMLCSSStyleDeclaration_Invoke
,
7697 HTMLCSSStyleDeclaration_get_length
,
7698 HTMLCSSStyleDeclaration_get_parentRule
,
7699 HTMLCSSStyleDeclaration_getPropertyValue
,
7700 HTMLCSSStyleDeclaration_getPropertyPriority
,
7701 HTMLCSSStyleDeclaration_removeProperty
,
7702 HTMLCSSStyleDeclaration_setProperty
,
7703 HTMLCSSStyleDeclaration_item
,
7704 HTMLCSSStyleDeclaration_put_fontFamily
,
7705 HTMLCSSStyleDeclaration_get_fontFamily
,
7706 HTMLCSSStyleDeclaration_put_fontStyle
,
7707 HTMLCSSStyleDeclaration_get_fontStyle
,
7708 HTMLCSSStyleDeclaration_put_fontVariant
,
7709 HTMLCSSStyleDeclaration_get_fontVariant
,
7710 HTMLCSSStyleDeclaration_put_fontWeight
,
7711 HTMLCSSStyleDeclaration_get_fontWeight
,
7712 HTMLCSSStyleDeclaration_put_fontSize
,
7713 HTMLCSSStyleDeclaration_get_fontSize
,
7714 HTMLCSSStyleDeclaration_put_font
,
7715 HTMLCSSStyleDeclaration_get_font
,
7716 HTMLCSSStyleDeclaration_put_color
,
7717 HTMLCSSStyleDeclaration_get_color
,
7718 HTMLCSSStyleDeclaration_put_background
,
7719 HTMLCSSStyleDeclaration_get_background
,
7720 HTMLCSSStyleDeclaration_put_backgroundColor
,
7721 HTMLCSSStyleDeclaration_get_backgroundColor
,
7722 HTMLCSSStyleDeclaration_put_backgroundImage
,
7723 HTMLCSSStyleDeclaration_get_backgroundImage
,
7724 HTMLCSSStyleDeclaration_put_backgroundRepeat
,
7725 HTMLCSSStyleDeclaration_get_backgroundRepeat
,
7726 HTMLCSSStyleDeclaration_put_backgroundAttachment
,
7727 HTMLCSSStyleDeclaration_get_backgroundAttachment
,
7728 HTMLCSSStyleDeclaration_put_backgroundPosition
,
7729 HTMLCSSStyleDeclaration_get_backgroundPosition
,
7730 HTMLCSSStyleDeclaration_put_backgroundPositionX
,
7731 HTMLCSSStyleDeclaration_get_backgroundPositionX
,
7732 HTMLCSSStyleDeclaration_put_backgroundPositionY
,
7733 HTMLCSSStyleDeclaration_get_backgroundPositionY
,
7734 HTMLCSSStyleDeclaration_put_wordSpacing
,
7735 HTMLCSSStyleDeclaration_get_wordSpacing
,
7736 HTMLCSSStyleDeclaration_put_letterSpacing
,
7737 HTMLCSSStyleDeclaration_get_letterSpacing
,
7738 HTMLCSSStyleDeclaration_put_textDecoration
,
7739 HTMLCSSStyleDeclaration_get_textDecoration
,
7740 HTMLCSSStyleDeclaration_put_verticalAlign
,
7741 HTMLCSSStyleDeclaration_get_verticalAlign
,
7742 HTMLCSSStyleDeclaration_put_textTransform
,
7743 HTMLCSSStyleDeclaration_get_textTransform
,
7744 HTMLCSSStyleDeclaration_put_textAlign
,
7745 HTMLCSSStyleDeclaration_get_textAlign
,
7746 HTMLCSSStyleDeclaration_put_textIndent
,
7747 HTMLCSSStyleDeclaration_get_textIndent
,
7748 HTMLCSSStyleDeclaration_put_lineHeight
,
7749 HTMLCSSStyleDeclaration_get_lineHeight
,
7750 HTMLCSSStyleDeclaration_put_marginTop
,
7751 HTMLCSSStyleDeclaration_get_marginTop
,
7752 HTMLCSSStyleDeclaration_put_marginRight
,
7753 HTMLCSSStyleDeclaration_get_marginRight
,
7754 HTMLCSSStyleDeclaration_put_marginBottom
,
7755 HTMLCSSStyleDeclaration_get_marginBottom
,
7756 HTMLCSSStyleDeclaration_put_marginLeft
,
7757 HTMLCSSStyleDeclaration_get_marginLeft
,
7758 HTMLCSSStyleDeclaration_put_margin
,
7759 HTMLCSSStyleDeclaration_get_margin
,
7760 HTMLCSSStyleDeclaration_put_paddingTop
,
7761 HTMLCSSStyleDeclaration_get_paddingTop
,
7762 HTMLCSSStyleDeclaration_put_paddingRight
,
7763 HTMLCSSStyleDeclaration_get_paddingRight
,
7764 HTMLCSSStyleDeclaration_put_paddingBottom
,
7765 HTMLCSSStyleDeclaration_get_paddingBottom
,
7766 HTMLCSSStyleDeclaration_put_paddingLeft
,
7767 HTMLCSSStyleDeclaration_get_paddingLeft
,
7768 HTMLCSSStyleDeclaration_put_padding
,
7769 HTMLCSSStyleDeclaration_get_padding
,
7770 HTMLCSSStyleDeclaration_put_border
,
7771 HTMLCSSStyleDeclaration_get_border
,
7772 HTMLCSSStyleDeclaration_put_borderTop
,
7773 HTMLCSSStyleDeclaration_get_borderTop
,
7774 HTMLCSSStyleDeclaration_put_borderRight
,
7775 HTMLCSSStyleDeclaration_get_borderRight
,
7776 HTMLCSSStyleDeclaration_put_borderBottom
,
7777 HTMLCSSStyleDeclaration_get_borderBottom
,
7778 HTMLCSSStyleDeclaration_put_borderLeft
,
7779 HTMLCSSStyleDeclaration_get_borderLeft
,
7780 HTMLCSSStyleDeclaration_put_borderColor
,
7781 HTMLCSSStyleDeclaration_get_borderColor
,
7782 HTMLCSSStyleDeclaration_put_borderTopColor
,
7783 HTMLCSSStyleDeclaration_get_borderTopColor
,
7784 HTMLCSSStyleDeclaration_put_borderRightColor
,
7785 HTMLCSSStyleDeclaration_get_borderRightColor
,
7786 HTMLCSSStyleDeclaration_put_borderBottomColor
,
7787 HTMLCSSStyleDeclaration_get_borderBottomColor
,
7788 HTMLCSSStyleDeclaration_put_borderLeftColor
,
7789 HTMLCSSStyleDeclaration_get_borderLeftColor
,
7790 HTMLCSSStyleDeclaration_put_borderWidth
,
7791 HTMLCSSStyleDeclaration_get_borderWidth
,
7792 HTMLCSSStyleDeclaration_put_borderTopWidth
,
7793 HTMLCSSStyleDeclaration_get_borderTopWidth
,
7794 HTMLCSSStyleDeclaration_put_borderRightWidth
,
7795 HTMLCSSStyleDeclaration_get_borderRightWidth
,
7796 HTMLCSSStyleDeclaration_put_borderBottomWidth
,
7797 HTMLCSSStyleDeclaration_get_borderBottomWidth
,
7798 HTMLCSSStyleDeclaration_put_borderLeftWidth
,
7799 HTMLCSSStyleDeclaration_get_borderLeftWidth
,
7800 HTMLCSSStyleDeclaration_put_borderStyle
,
7801 HTMLCSSStyleDeclaration_get_borderStyle
,
7802 HTMLCSSStyleDeclaration_put_borderTopStyle
,
7803 HTMLCSSStyleDeclaration_get_borderTopStyle
,
7804 HTMLCSSStyleDeclaration_put_borderRightStyle
,
7805 HTMLCSSStyleDeclaration_get_borderRightStyle
,
7806 HTMLCSSStyleDeclaration_put_borderBottomStyle
,
7807 HTMLCSSStyleDeclaration_get_borderBottomStyle
,
7808 HTMLCSSStyleDeclaration_put_borderLeftStyle
,
7809 HTMLCSSStyleDeclaration_get_borderLeftStyle
,
7810 HTMLCSSStyleDeclaration_put_width
,
7811 HTMLCSSStyleDeclaration_get_width
,
7812 HTMLCSSStyleDeclaration_put_height
,
7813 HTMLCSSStyleDeclaration_get_height
,
7814 HTMLCSSStyleDeclaration_put_styleFloat
,
7815 HTMLCSSStyleDeclaration_get_styleFloat
,
7816 HTMLCSSStyleDeclaration_put_clear
,
7817 HTMLCSSStyleDeclaration_get_clear
,
7818 HTMLCSSStyleDeclaration_put_display
,
7819 HTMLCSSStyleDeclaration_get_display
,
7820 HTMLCSSStyleDeclaration_put_visibility
,
7821 HTMLCSSStyleDeclaration_get_visibility
,
7822 HTMLCSSStyleDeclaration_put_listStyleType
,
7823 HTMLCSSStyleDeclaration_get_listStyleType
,
7824 HTMLCSSStyleDeclaration_put_listStylePosition
,
7825 HTMLCSSStyleDeclaration_get_listStylePosition
,
7826 HTMLCSSStyleDeclaration_put_listStyleImage
,
7827 HTMLCSSStyleDeclaration_get_listStyleImage
,
7828 HTMLCSSStyleDeclaration_put_listStyle
,
7829 HTMLCSSStyleDeclaration_get_listStyle
,
7830 HTMLCSSStyleDeclaration_put_whiteSpace
,
7831 HTMLCSSStyleDeclaration_get_whiteSpace
,
7832 HTMLCSSStyleDeclaration_put_top
,
7833 HTMLCSSStyleDeclaration_get_top
,
7834 HTMLCSSStyleDeclaration_put_left
,
7835 HTMLCSSStyleDeclaration_get_left
,
7836 HTMLCSSStyleDeclaration_put_zIndex
,
7837 HTMLCSSStyleDeclaration_get_zIndex
,
7838 HTMLCSSStyleDeclaration_put_overflow
,
7839 HTMLCSSStyleDeclaration_get_overflow
,
7840 HTMLCSSStyleDeclaration_put_pageBreakBefore
,
7841 HTMLCSSStyleDeclaration_get_pageBreakBefore
,
7842 HTMLCSSStyleDeclaration_put_pageBreakAfter
,
7843 HTMLCSSStyleDeclaration_get_pageBreakAfter
,
7844 HTMLCSSStyleDeclaration_put_cssText
,
7845 HTMLCSSStyleDeclaration_get_cssText
,
7846 HTMLCSSStyleDeclaration_put_cursor
,
7847 HTMLCSSStyleDeclaration_get_cursor
,
7848 HTMLCSSStyleDeclaration_put_clip
,
7849 HTMLCSSStyleDeclaration_get_clip
,
7850 HTMLCSSStyleDeclaration_put_filter
,
7851 HTMLCSSStyleDeclaration_get_filter
,
7852 HTMLCSSStyleDeclaration_put_tableLayout
,
7853 HTMLCSSStyleDeclaration_get_tableLayout
,
7854 HTMLCSSStyleDeclaration_put_borderCollapse
,
7855 HTMLCSSStyleDeclaration_get_borderCollapse
,
7856 HTMLCSSStyleDeclaration_put_direction
,
7857 HTMLCSSStyleDeclaration_get_direction
,
7858 HTMLCSSStyleDeclaration_put_behavior
,
7859 HTMLCSSStyleDeclaration_get_behavior
,
7860 HTMLCSSStyleDeclaration_put_position
,
7861 HTMLCSSStyleDeclaration_get_position
,
7862 HTMLCSSStyleDeclaration_put_unicodeBidi
,
7863 HTMLCSSStyleDeclaration_get_unicodeBidi
,
7864 HTMLCSSStyleDeclaration_put_bottom
,
7865 HTMLCSSStyleDeclaration_get_bottom
,
7866 HTMLCSSStyleDeclaration_put_right
,
7867 HTMLCSSStyleDeclaration_get_right
,
7868 HTMLCSSStyleDeclaration_put_imeMode
,
7869 HTMLCSSStyleDeclaration_get_imeMode
,
7870 HTMLCSSStyleDeclaration_put_rubyAlign
,
7871 HTMLCSSStyleDeclaration_get_rubyAlign
,
7872 HTMLCSSStyleDeclaration_put_rubyPosition
,
7873 HTMLCSSStyleDeclaration_get_rubyPosition
,
7874 HTMLCSSStyleDeclaration_put_rubyOverhang
,
7875 HTMLCSSStyleDeclaration_get_rubyOverhang
,
7876 HTMLCSSStyleDeclaration_put_layoutGridChar
,
7877 HTMLCSSStyleDeclaration_get_layoutGridChar
,
7878 HTMLCSSStyleDeclaration_put_layoutGridLine
,
7879 HTMLCSSStyleDeclaration_get_layoutGridLine
,
7880 HTMLCSSStyleDeclaration_put_layoutGridMode
,
7881 HTMLCSSStyleDeclaration_get_layoutGridMode
,
7882 HTMLCSSStyleDeclaration_put_layoutGridType
,
7883 HTMLCSSStyleDeclaration_get_layoutGridType
,
7884 HTMLCSSStyleDeclaration_put_layoutGrid
,
7885 HTMLCSSStyleDeclaration_get_layoutGrid
,
7886 HTMLCSSStyleDeclaration_put_textAutospace
,
7887 HTMLCSSStyleDeclaration_get_textAutospace
,
7888 HTMLCSSStyleDeclaration_put_wordBreak
,
7889 HTMLCSSStyleDeclaration_get_wordBreak
,
7890 HTMLCSSStyleDeclaration_put_lineBreak
,
7891 HTMLCSSStyleDeclaration_get_lineBreak
,
7892 HTMLCSSStyleDeclaration_put_textJustify
,
7893 HTMLCSSStyleDeclaration_get_textJustify
,
7894 HTMLCSSStyleDeclaration_put_textJustifyTrim
,
7895 HTMLCSSStyleDeclaration_get_textJustifyTrim
,
7896 HTMLCSSStyleDeclaration_put_textKashida
,
7897 HTMLCSSStyleDeclaration_get_textKashida
,
7898 HTMLCSSStyleDeclaration_put_overflowX
,
7899 HTMLCSSStyleDeclaration_get_overflowX
,
7900 HTMLCSSStyleDeclaration_put_overflowY
,
7901 HTMLCSSStyleDeclaration_get_overflowY
,
7902 HTMLCSSStyleDeclaration_put_accelerator
,
7903 HTMLCSSStyleDeclaration_get_accelerator
,
7904 HTMLCSSStyleDeclaration_put_layoutFlow
,
7905 HTMLCSSStyleDeclaration_get_layoutFlow
,
7906 HTMLCSSStyleDeclaration_put_zoom
,
7907 HTMLCSSStyleDeclaration_get_zoom
,
7908 HTMLCSSStyleDeclaration_put_wordWrap
,
7909 HTMLCSSStyleDeclaration_get_wordWrap
,
7910 HTMLCSSStyleDeclaration_put_textUnderlinePosition
,
7911 HTMLCSSStyleDeclaration_get_textUnderlinePosition
,
7912 HTMLCSSStyleDeclaration_put_scrollbarBaseColor
,
7913 HTMLCSSStyleDeclaration_get_scrollbarBaseColor
,
7914 HTMLCSSStyleDeclaration_put_scrollbarFaceColor
,
7915 HTMLCSSStyleDeclaration_get_scrollbarFaceColor
,
7916 HTMLCSSStyleDeclaration_put_scrollbar3dLightColor
,
7917 HTMLCSSStyleDeclaration_get_scrollbar3dLightColor
,
7918 HTMLCSSStyleDeclaration_put_scrollbarShadowColor
,
7919 HTMLCSSStyleDeclaration_get_scrollbarShadowColor
,
7920 HTMLCSSStyleDeclaration_put_scrollbarHighlightColor
,
7921 HTMLCSSStyleDeclaration_get_scrollbarHighlightColor
,
7922 HTMLCSSStyleDeclaration_put_scrollbarDarkShadowColor
,
7923 HTMLCSSStyleDeclaration_get_scrollbarDarkShadowColor
,
7924 HTMLCSSStyleDeclaration_put_scrollbarArrowColor
,
7925 HTMLCSSStyleDeclaration_get_scrollbarArrowColor
,
7926 HTMLCSSStyleDeclaration_put_scrollbarTrackColor
,
7927 HTMLCSSStyleDeclaration_get_scrollbarTrackColor
,
7928 HTMLCSSStyleDeclaration_put_writingMode
,
7929 HTMLCSSStyleDeclaration_get_writingMode
,
7930 HTMLCSSStyleDeclaration_put_textAlignLast
,
7931 HTMLCSSStyleDeclaration_get_textAlignLast
,
7932 HTMLCSSStyleDeclaration_put_textKashidaSpace
,
7933 HTMLCSSStyleDeclaration_get_textKashidaSpace
,
7934 HTMLCSSStyleDeclaration_put_textOverflow
,
7935 HTMLCSSStyleDeclaration_get_textOverflow
,
7936 HTMLCSSStyleDeclaration_put_minHeight
,
7937 HTMLCSSStyleDeclaration_get_minHeight
,
7938 HTMLCSSStyleDeclaration_put_msInterpolationMode
,
7939 HTMLCSSStyleDeclaration_get_msInterpolationMode
,
7940 HTMLCSSStyleDeclaration_put_maxHeight
,
7941 HTMLCSSStyleDeclaration_get_maxHeight
,
7942 HTMLCSSStyleDeclaration_put_minWidth
,
7943 HTMLCSSStyleDeclaration_get_minWidth
,
7944 HTMLCSSStyleDeclaration_put_maxWidth
,
7945 HTMLCSSStyleDeclaration_get_maxWidth
,
7946 HTMLCSSStyleDeclaration_put_content
,
7947 HTMLCSSStyleDeclaration_get_content
,
7948 HTMLCSSStyleDeclaration_put_captionSide
,
7949 HTMLCSSStyleDeclaration_get_captionSide
,
7950 HTMLCSSStyleDeclaration_put_counterIncrement
,
7951 HTMLCSSStyleDeclaration_get_counterIncrement
,
7952 HTMLCSSStyleDeclaration_put_counterReset
,
7953 HTMLCSSStyleDeclaration_get_counterReset
,
7954 HTMLCSSStyleDeclaration_put_outline
,
7955 HTMLCSSStyleDeclaration_get_outline
,
7956 HTMLCSSStyleDeclaration_put_outlineWidth
,
7957 HTMLCSSStyleDeclaration_get_outlineWidth
,
7958 HTMLCSSStyleDeclaration_put_outlineStyle
,
7959 HTMLCSSStyleDeclaration_get_outlineStyle
,
7960 HTMLCSSStyleDeclaration_put_outlineColor
,
7961 HTMLCSSStyleDeclaration_get_outlineColor
,
7962 HTMLCSSStyleDeclaration_put_boxSizing
,
7963 HTMLCSSStyleDeclaration_get_boxSizing
,
7964 HTMLCSSStyleDeclaration_put_borderSpacing
,
7965 HTMLCSSStyleDeclaration_get_borderSpacing
,
7966 HTMLCSSStyleDeclaration_put_orphans
,
7967 HTMLCSSStyleDeclaration_get_orphans
,
7968 HTMLCSSStyleDeclaration_put_widows
,
7969 HTMLCSSStyleDeclaration_get_widows
,
7970 HTMLCSSStyleDeclaration_put_pageBreakInside
,
7971 HTMLCSSStyleDeclaration_get_pageBreakInside
,
7972 HTMLCSSStyleDeclaration_put_emptyCells
,
7973 HTMLCSSStyleDeclaration_get_emptyCells
,
7974 HTMLCSSStyleDeclaration_put_msBlockProgression
,
7975 HTMLCSSStyleDeclaration_get_msBlockProgression
,
7976 HTMLCSSStyleDeclaration_put_quotes
,
7977 HTMLCSSStyleDeclaration_get_quotes
,
7978 HTMLCSSStyleDeclaration_put_alignmentBaseline
,
7979 HTMLCSSStyleDeclaration_get_alignmentBaseline
,
7980 HTMLCSSStyleDeclaration_put_baselineShift
,
7981 HTMLCSSStyleDeclaration_get_baselineShift
,
7982 HTMLCSSStyleDeclaration_put_dominantBaseline
,
7983 HTMLCSSStyleDeclaration_get_dominantBaseline
,
7984 HTMLCSSStyleDeclaration_put_fontSizeAdjust
,
7985 HTMLCSSStyleDeclaration_get_fontSizeAdjust
,
7986 HTMLCSSStyleDeclaration_put_fontStretch
,
7987 HTMLCSSStyleDeclaration_get_fontStretch
,
7988 HTMLCSSStyleDeclaration_put_opacity
,
7989 HTMLCSSStyleDeclaration_get_opacity
,
7990 HTMLCSSStyleDeclaration_put_clipPath
,
7991 HTMLCSSStyleDeclaration_get_clipPath
,
7992 HTMLCSSStyleDeclaration_put_clipRule
,
7993 HTMLCSSStyleDeclaration_get_clipRule
,
7994 HTMLCSSStyleDeclaration_put_fill
,
7995 HTMLCSSStyleDeclaration_get_fill
,
7996 HTMLCSSStyleDeclaration_put_fillOpacity
,
7997 HTMLCSSStyleDeclaration_get_fillOpacity
,
7998 HTMLCSSStyleDeclaration_put_fillRule
,
7999 HTMLCSSStyleDeclaration_get_fillRule
,
8000 HTMLCSSStyleDeclaration_put_kerning
,
8001 HTMLCSSStyleDeclaration_get_kerning
,
8002 HTMLCSSStyleDeclaration_put_marker
,
8003 HTMLCSSStyleDeclaration_get_marker
,
8004 HTMLCSSStyleDeclaration_put_markerEnd
,
8005 HTMLCSSStyleDeclaration_get_markerEnd
,
8006 HTMLCSSStyleDeclaration_put_markerMid
,
8007 HTMLCSSStyleDeclaration_get_markerMid
,
8008 HTMLCSSStyleDeclaration_put_markerStart
,
8009 HTMLCSSStyleDeclaration_get_markerStart
,
8010 HTMLCSSStyleDeclaration_put_mask
,
8011 HTMLCSSStyleDeclaration_get_mask
,
8012 HTMLCSSStyleDeclaration_put_pointerEvents
,
8013 HTMLCSSStyleDeclaration_get_pointerEvents
,
8014 HTMLCSSStyleDeclaration_put_stopColor
,
8015 HTMLCSSStyleDeclaration_get_stopColor
,
8016 HTMLCSSStyleDeclaration_put_stopOpacity
,
8017 HTMLCSSStyleDeclaration_get_stopOpacity
,
8018 HTMLCSSStyleDeclaration_put_stroke
,
8019 HTMLCSSStyleDeclaration_get_stroke
,
8020 HTMLCSSStyleDeclaration_put_strokeDasharray
,
8021 HTMLCSSStyleDeclaration_get_strokeDasharray
,
8022 HTMLCSSStyleDeclaration_put_strokeDashoffset
,
8023 HTMLCSSStyleDeclaration_get_strokeDashoffset
,
8024 HTMLCSSStyleDeclaration_put_strokeLinecap
,
8025 HTMLCSSStyleDeclaration_get_strokeLinecap
,
8026 HTMLCSSStyleDeclaration_put_strokeLinejoin
,
8027 HTMLCSSStyleDeclaration_get_strokeLinejoin
,
8028 HTMLCSSStyleDeclaration_put_strokeMiterlimit
,
8029 HTMLCSSStyleDeclaration_get_strokeMiterlimit
,
8030 HTMLCSSStyleDeclaration_put_strokeOpacity
,
8031 HTMLCSSStyleDeclaration_get_strokeOpacity
,
8032 HTMLCSSStyleDeclaration_put_strokeWidth
,
8033 HTMLCSSStyleDeclaration_get_strokeWidth
,
8034 HTMLCSSStyleDeclaration_put_textAnchor
,
8035 HTMLCSSStyleDeclaration_get_textAnchor
,
8036 HTMLCSSStyleDeclaration_put_glyphOrientationHorizontal
,
8037 HTMLCSSStyleDeclaration_get_glyphOrientationHorizontal
,
8038 HTMLCSSStyleDeclaration_put_glyphOrientationVertical
,
8039 HTMLCSSStyleDeclaration_get_glyphOrientationVertical
,
8040 HTMLCSSStyleDeclaration_put_borderRadius
,
8041 HTMLCSSStyleDeclaration_get_borderRadius
,
8042 HTMLCSSStyleDeclaration_put_borderTopLeftRadius
,
8043 HTMLCSSStyleDeclaration_get_borderTopLeftRadius
,
8044 HTMLCSSStyleDeclaration_put_borderTopRightRadius
,
8045 HTMLCSSStyleDeclaration_get_borderTopRightRadius
,
8046 HTMLCSSStyleDeclaration_put_borderBottomRightRadius
,
8047 HTMLCSSStyleDeclaration_get_borderBottomRightRadius
,
8048 HTMLCSSStyleDeclaration_put_borderBottomLeftRadius
,
8049 HTMLCSSStyleDeclaration_get_borderBottomLeftRadius
,
8050 HTMLCSSStyleDeclaration_put_clipTop
,
8051 HTMLCSSStyleDeclaration_get_clipTop
,
8052 HTMLCSSStyleDeclaration_put_clipRight
,
8053 HTMLCSSStyleDeclaration_get_clipRight
,
8054 HTMLCSSStyleDeclaration_get_clipBottom
,
8055 HTMLCSSStyleDeclaration_put_clipLeft
,
8056 HTMLCSSStyleDeclaration_get_clipLeft
,
8057 HTMLCSSStyleDeclaration_put_cssFloat
,
8058 HTMLCSSStyleDeclaration_get_cssFloat
,
8059 HTMLCSSStyleDeclaration_put_backgroundClip
,
8060 HTMLCSSStyleDeclaration_get_backgroundClip
,
8061 HTMLCSSStyleDeclaration_put_backgroundOrigin
,
8062 HTMLCSSStyleDeclaration_get_backgroundOrigin
,
8063 HTMLCSSStyleDeclaration_put_backgroundSize
,
8064 HTMLCSSStyleDeclaration_get_backgroundSize
,
8065 HTMLCSSStyleDeclaration_put_boxShadow
,
8066 HTMLCSSStyleDeclaration_get_boxShadow
,
8067 HTMLCSSStyleDeclaration_put_msTransform
,
8068 HTMLCSSStyleDeclaration_get_msTransform
,
8069 HTMLCSSStyleDeclaration_put_msTransformOrigin
,
8070 HTMLCSSStyleDeclaration_get_msTransformOrigin
8073 static inline CSSStyle
*impl_from_IHTMLCSSStyleDeclaration2(IHTMLCSSStyleDeclaration2
*iface
)
8075 return CONTAINING_RECORD(iface
, CSSStyle
, IHTMLCSSStyleDeclaration2_iface
);
8078 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_QueryInterface(IHTMLCSSStyleDeclaration2
*iface
,
8079 REFIID riid
, void **ppv
)
8081 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8082 return IHTMLCSSStyleDeclaration_QueryInterface(&This
->IHTMLCSSStyleDeclaration_iface
, riid
, ppv
);
8085 static ULONG WINAPI
HTMLCSSStyleDeclaration2_AddRef(IHTMLCSSStyleDeclaration2
*iface
)
8087 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8088 return IHTMLCSSStyleDeclaration_AddRef(&This
->IHTMLCSSStyleDeclaration_iface
);
8091 static ULONG WINAPI
HTMLCSSStyleDeclaration2_Release(IHTMLCSSStyleDeclaration2
*iface
)
8093 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8094 return IHTMLCSSStyleDeclaration_Release(&This
->IHTMLCSSStyleDeclaration_iface
);
8097 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_GetTypeInfoCount(IHTMLCSSStyleDeclaration2
*iface
,
8100 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8101 TRACE("(%p)->(%p)\n", This
, pctinfo
);
8102 return IDispatchEx_GetTypeInfoCount(&This
->dispex
.IDispatchEx_iface
, pctinfo
);
8105 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_GetTypeInfo(IHTMLCSSStyleDeclaration2
*iface
,
8106 UINT iTInfo
, LCID lcid
, ITypeInfo
**ppTInfo
)
8108 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8109 TRACE("(%p)->(%u %lu %p)\n", This
, iTInfo
, lcid
, ppTInfo
);
8110 return IDispatchEx_GetTypeInfo(&This
->dispex
.IDispatchEx_iface
, iTInfo
, lcid
, ppTInfo
);
8113 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_GetIDsOfNames(IHTMLCSSStyleDeclaration2
*iface
,
8114 REFIID riid
, LPOLESTR
*rgszNames
, UINT cNames
, LCID lcid
, DISPID
*rgDispId
)
8116 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8117 TRACE("(%p)->(%p %p %u %lu %p)\n", This
, riid
, rgszNames
, cNames
, lcid
, rgDispId
);
8118 return IDispatchEx_GetIDsOfNames(&This
->dispex
.IDispatchEx_iface
, riid
, rgszNames
,
8119 cNames
, lcid
, rgDispId
);
8122 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_Invoke(IHTMLCSSStyleDeclaration2
*iface
,
8123 DISPID dispIdMember
, REFIID riid
, LCID lcid
, WORD wFlags
, DISPPARAMS
*pDispParams
,
8124 VARIANT
*pVarResult
, EXCEPINFO
*pExcepInfo
, UINT
*puArgErr
)
8126 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8127 TRACE("(%p)->(%ld %p %lu %u %p %p %p %p)\n", This
, dispIdMember
, riid
, lcid
, wFlags
,
8128 pDispParams
, pVarResult
, pExcepInfo
, puArgErr
);
8129 return IDispatchEx_Invoke(&This
->dispex
.IDispatchEx_iface
, dispIdMember
, riid
, lcid
,
8130 wFlags
, pDispParams
, pVarResult
, pExcepInfo
, puArgErr
);
8133 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msScrollChaining(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8135 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8136 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8140 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msScrollChaining(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8142 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8143 FIXME("(%p)->(%p)\n", This
, p
);
8147 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msContentZooming(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8149 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8150 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8154 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msContentZooming(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8156 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8157 FIXME("(%p)->(%p)\n", This
, p
);
8161 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msContentZoomSnapType(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8163 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8164 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8168 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msContentZoomSnapType(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8170 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8171 FIXME("(%p)->(%p)\n", This
, p
);
8175 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msScrollRails(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8177 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8178 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8182 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msScrollRails(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8184 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8185 FIXME("(%p)->(%p)\n", This
, p
);
8189 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msContentZoomChaining(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8191 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8192 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8196 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msContentZoomChaining(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8198 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8199 FIXME("(%p)->(%p)\n", This
, p
);
8203 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msScrollSnapType(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8205 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8206 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8210 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msScrollSnapType(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8212 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8213 FIXME("(%p)->(%p)\n", This
, p
);
8217 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msContentZoomLimit(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8219 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8220 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8224 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msContentZoomLimit(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8226 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8227 FIXME("(%p)->(%p)\n", This
, p
);
8231 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msContentZoomSnap(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8233 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8234 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8238 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msContentZoomSnap(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8240 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8241 FIXME("(%p)->(%p)\n", This
, p
);
8245 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msContentZoomSnapPoints(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8247 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8248 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8252 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msContentZoomSnapPoints(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8254 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8255 FIXME("(%p)->(%p)\n", This
, p
);
8259 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msContentZoomLimitMin(IHTMLCSSStyleDeclaration2
*iface
, VARIANT v
)
8261 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8262 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
8266 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msContentZoomLimitMin(IHTMLCSSStyleDeclaration2
*iface
, VARIANT
*p
)
8268 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8269 FIXME("(%p)->(%p)\n", This
, p
);
8273 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msContentZoomLimitMax(IHTMLCSSStyleDeclaration2
*iface
, VARIANT v
)
8275 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8276 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
8280 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msContentZoomLimitMax(IHTMLCSSStyleDeclaration2
*iface
, VARIANT
*p
)
8282 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8283 FIXME("(%p)->(%p)\n", This
, p
);
8287 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msScrollSnapX(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8289 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8290 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8294 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msScrollSnapX(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8296 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8297 FIXME("(%p)->(%p)\n", This
, p
);
8301 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msScrollSnapY(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8303 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8304 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8308 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msScrollSnapY(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8310 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8311 FIXME("(%p)->(%p)\n", This
, p
);
8315 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msScrollSnapPointsX(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8317 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8318 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8322 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msScrollSnapPointsX(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8324 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8325 FIXME("(%p)->(%p)\n", This
, p
);
8329 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msScrollSnapPointsY(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8331 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8332 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8336 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msScrollSnapPointsY(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8338 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8339 FIXME("(%p)->(%p)\n", This
, p
);
8343 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msGridColumn(IHTMLCSSStyleDeclaration2
*iface
, VARIANT v
)
8345 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8346 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
8350 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msGridColumn(IHTMLCSSStyleDeclaration2
*iface
, VARIANT
*p
)
8352 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8353 FIXME("(%p)->(%p)\n", This
, p
);
8357 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msGridColumnAlign(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8359 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8360 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8364 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msGridColumnAlign(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8366 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8367 FIXME("(%p)->(%p)\n", This
, p
);
8371 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msGridColumns(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8373 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8374 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8378 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msGridColumns(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8380 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8381 FIXME("(%p)->(%p)\n", This
, p
);
8385 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msGridColumnSpan(IHTMLCSSStyleDeclaration2
*iface
, VARIANT v
)
8387 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8388 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
8392 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msGridColumnSpan(IHTMLCSSStyleDeclaration2
*iface
, VARIANT
*p
)
8394 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8395 FIXME("(%p)->(%p)\n", This
, p
);
8399 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msGridRow(IHTMLCSSStyleDeclaration2
*iface
, VARIANT v
)
8401 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8402 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
8406 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msGridRow(IHTMLCSSStyleDeclaration2
*iface
, VARIANT
*p
)
8408 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8409 FIXME("(%p)->(%p)\n", This
, p
);
8413 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msGridRowAlign(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8415 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8416 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8420 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msGridRowAlign(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8422 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8423 FIXME("(%p)->(%p)\n", This
, p
);
8427 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msGridRows(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8429 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8430 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8434 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msGridRows(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8436 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8437 FIXME("(%p)->(%p)\n", This
, p
);
8441 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msGridRowSpan(IHTMLCSSStyleDeclaration2
*iface
, VARIANT v
)
8443 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8444 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
8448 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msGridRowSpan(IHTMLCSSStyleDeclaration2
*iface
, VARIANT
*p
)
8450 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8451 FIXME("(%p)->(%p)\n", This
, p
);
8455 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msWrapThrough(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8457 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8458 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8462 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msWrapThrough(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8464 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8465 FIXME("(%p)->(%p)\n", This
, p
);
8469 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msWrapMargin(IHTMLCSSStyleDeclaration2
*iface
, VARIANT v
)
8471 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8472 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
8476 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msWrapMargin(IHTMLCSSStyleDeclaration2
*iface
, VARIANT
*p
)
8478 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8479 FIXME("(%p)->(%p)\n", This
, p
);
8483 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msWrapFlow(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8485 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8486 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8490 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msWrapFlow(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8492 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8493 FIXME("(%p)->(%p)\n", This
, p
);
8497 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msAnimationName(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8499 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8500 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8504 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msAnimationName(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8506 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8507 FIXME("(%p)->(%p)\n", This
, p
);
8511 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msAnimationDuration(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8513 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8514 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8518 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msAnimationDuration(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8520 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8521 FIXME("(%p)->(%p)\n", This
, p
);
8525 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msAnimationTimingFunction(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8527 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8528 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8532 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msAnimationTimingFunction(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8534 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8535 FIXME("(%p)->(%p)\n", This
, p
);
8539 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msAnimationDelay(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8541 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8542 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8546 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msAnimationDelay(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8548 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8549 FIXME("(%p)->(%p)\n", This
, p
);
8553 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msAnimationDirection(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8555 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8556 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8560 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msAnimationDirection(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8562 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8563 FIXME("(%p)->(%p)\n", This
, p
);
8567 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msAnimationPlayState(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8569 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8570 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8574 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msAnimationPlayState(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8576 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8577 FIXME("(%p)->(%p)\n", This
, p
);
8581 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msAnimationIterationCount(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8583 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8584 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8588 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msAnimationIterationCount(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8590 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8591 FIXME("(%p)->(%p)\n", This
, p
);
8595 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msAnimation(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8597 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8598 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8602 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msAnimation(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8604 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8605 FIXME("(%p)->(%p)\n", This
, p
);
8609 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msAnimationFillMode(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8611 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8612 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8616 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msAnimationFillMode(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8618 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8619 FIXME("(%p)->(%p)\n", This
, p
);
8623 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_colorInterpolationFilters(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8625 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8626 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8630 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_colorInterpolationFilters(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8632 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8633 FIXME("(%p)->(%p)\n", This
, p
);
8637 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_columnCount(IHTMLCSSStyleDeclaration2
*iface
, VARIANT v
)
8639 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8640 WARN("(%p)->(%s) semi-stub\n", This
, debugstr_variant(&v
));
8641 return set_style_property_var(This
, STYLEID_COLUMN_COUNT
, &v
);
8644 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_columnCount(IHTMLCSSStyleDeclaration2
*iface
, VARIANT
*p
)
8646 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8647 WARN("(%p)->(%p) semi-stub\n", This
, p
);
8648 return get_style_property_var(This
, STYLEID_COLUMN_COUNT
, p
);
8651 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_columnWidth(IHTMLCSSStyleDeclaration2
*iface
, VARIANT v
)
8653 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8654 WARN("(%p)->(%s) semi-stub\n", This
, debugstr_variant(&v
));
8655 return set_style_property_var(This
, STYLEID_COLUMN_WIDTH
, &v
);
8658 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_columnWidth(IHTMLCSSStyleDeclaration2
*iface
, VARIANT
*p
)
8660 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8661 WARN("(%p)->(%p) semi-stub\n", This
, p
);
8662 return get_style_property_var(This
, STYLEID_COLUMN_WIDTH
, p
);
8665 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_columnGap(IHTMLCSSStyleDeclaration2
*iface
, VARIANT v
)
8667 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8668 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
8669 return set_style_property_var(This
, STYLEID_COLUMN_GAP
, &v
);
8672 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_columnGap(IHTMLCSSStyleDeclaration2
*iface
, VARIANT
*p
)
8674 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8675 TRACE("(%p)->(%p)\n", This
, p
);
8676 return get_style_property_var(This
, STYLEID_COLUMN_GAP
, p
);
8679 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_columnFill(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8681 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8682 WARN("(%p)->(%s) semi-stub\n", This
, debugstr_w(v
));
8683 return set_style_property(This
, STYLEID_COLUMN_FILL
, v
);
8686 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_columnFill(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8688 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8689 WARN("(%p)->(%p) semi-stub\n", This
, p
);
8690 return get_style_property(This
, STYLEID_COLUMN_FILL
, p
);
8693 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_columnSpan(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8695 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8696 WARN("(%p)->(%s) semi-stub\n", This
, debugstr_w(v
));
8697 return set_style_property(This
, STYLEID_COLUMN_SPAN
, v
);
8700 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_columnSpan(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8702 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8703 WARN("(%p)->(%p) semi-stub\n", This
, p
);
8704 return get_style_property(This
, STYLEID_COLUMN_SPAN
, p
);
8707 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_columns(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8709 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8710 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8714 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_columns(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8716 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8717 FIXME("(%p)->(%p)\n", This
, p
);
8721 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_columnRule(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8723 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8724 WARN("(%p)->(%s) semi-stub\n", This
, debugstr_w(v
));
8725 return set_style_property(This
, STYLEID_COLUMN_RULE
, v
);
8728 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_columnRule(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8730 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8731 WARN("(%p)->(%p) semi-stub\n", This
, p
);
8732 return get_style_property(This
, STYLEID_COLUMN_RULE
, p
);
8735 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_columnRuleColor(IHTMLCSSStyleDeclaration2
*iface
, VARIANT v
)
8737 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8738 WARN("(%p)->(%s) semi-stub\n", This
, debugstr_variant(&v
));
8739 return set_style_property_var(This
, STYLEID_COLUMN_RULE_COLOR
, &v
);
8742 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_columnRuleColor(IHTMLCSSStyleDeclaration2
*iface
, VARIANT
*p
)
8744 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8745 WARN("(%p)->(%p) semi-stub\n", This
, p
);
8746 return get_style_property_var(This
, STYLEID_COLUMN_RULE_COLOR
, p
);
8749 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_columnRuleStyle(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8751 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8752 WARN("(%p)->(%s) semi-stub\n", This
, debugstr_w(v
));
8753 return set_style_property(This
, STYLEID_COLUMN_RULE_STYLE
, v
);
8756 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_columnRuleStyle(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8758 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8759 WARN("(%p)->(%p) semi-stub\n", This
, p
);
8760 return get_style_property(This
, STYLEID_COLUMN_RULE_STYLE
, p
);
8763 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_columnRuleWidth(IHTMLCSSStyleDeclaration2
*iface
, VARIANT v
)
8765 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8766 WARN("(%p)->(%s) semi-stub\n", This
, debugstr_variant(&v
));
8767 return set_style_property_var(This
, STYLEID_COLUMN_RULE_WIDTH
, &v
);
8770 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_columnRuleWidth(IHTMLCSSStyleDeclaration2
*iface
, VARIANT
*p
)
8772 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8773 WARN("(%p)->(%p) semi-stub\n", This
, p
);
8774 return get_style_property_var(This
, STYLEID_COLUMN_RULE_WIDTH
, p
);
8777 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_breakBefore(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8779 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8780 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8784 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_breakBefore(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8786 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8787 FIXME("(%p)->(%p)\n", This
, p
);
8791 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_breakAfter(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8793 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8794 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8798 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_breakAfter(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8800 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8801 FIXME("(%p)->(%p)\n", This
, p
);
8805 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_breakInside(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8807 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8808 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8812 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_breakInside(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8814 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8815 FIXME("(%p)->(%p)\n", This
, p
);
8819 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_floodColor(IHTMLCSSStyleDeclaration2
*iface
, VARIANT v
)
8821 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8822 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
8826 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_floodColor(IHTMLCSSStyleDeclaration2
*iface
, VARIANT
*p
)
8828 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8829 FIXME("(%p)->(%p)\n", This
, p
);
8833 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_floodOpacity(IHTMLCSSStyleDeclaration2
*iface
, VARIANT v
)
8835 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8836 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
8840 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_floodOpacity(IHTMLCSSStyleDeclaration2
*iface
, VARIANT
*p
)
8842 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8843 FIXME("(%p)->(%p)\n", This
, p
);
8847 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_lightingColor(IHTMLCSSStyleDeclaration2
*iface
, VARIANT v
)
8849 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8850 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
8854 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_lightingColor(IHTMLCSSStyleDeclaration2
*iface
, VARIANT
*p
)
8856 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8857 FIXME("(%p)->(%p)\n", This
, p
);
8861 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msScrollLimitXMin(IHTMLCSSStyleDeclaration2
*iface
, VARIANT v
)
8863 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8864 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
8868 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msScrollLimitXMin(IHTMLCSSStyleDeclaration2
*iface
, VARIANT
*p
)
8870 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8871 FIXME("(%p)->(%p)\n", This
, p
);
8875 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msScrollLimitYMin(IHTMLCSSStyleDeclaration2
*iface
, VARIANT v
)
8877 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8878 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
8882 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msScrollLimitYMin(IHTMLCSSStyleDeclaration2
*iface
, VARIANT
*p
)
8884 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8885 FIXME("(%p)->(%p)\n", This
, p
);
8889 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msScrollLimitXMax(IHTMLCSSStyleDeclaration2
*iface
, VARIANT v
)
8891 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8892 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
8896 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msScrollLimitXMax(IHTMLCSSStyleDeclaration2
*iface
, VARIANT
*p
)
8898 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8899 FIXME("(%p)->(%p)\n", This
, p
);
8903 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msScrollLimitYMax(IHTMLCSSStyleDeclaration2
*iface
, VARIANT v
)
8905 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8906 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
8910 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msScrollLimitYMax(IHTMLCSSStyleDeclaration2
*iface
, VARIANT
*p
)
8912 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8913 FIXME("(%p)->(%p)\n", This
, p
);
8917 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msScrollLimit(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8919 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8920 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8924 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msScrollLimit(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8926 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8927 FIXME("(%p)->(%p)\n", This
, p
);
8931 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_textShadow(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8933 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8934 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8938 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_textShadow(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8940 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8941 FIXME("(%p)->(%p)\n", This
, p
);
8945 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msFlowFrom(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8947 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8948 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8952 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msFlowFrom(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8954 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8955 FIXME("(%p)->(%p)\n", This
, p
);
8959 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msFlowInto(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8961 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8962 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8966 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msFlowInto(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8968 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8969 FIXME("(%p)->(%p)\n", This
, p
);
8973 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msHyphens(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
8975 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8976 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
8980 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msHyphens(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
8982 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8983 FIXME("(%p)->(%p)\n", This
, p
);
8987 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msHyphenateLimitZone(IHTMLCSSStyleDeclaration2
*iface
, VARIANT v
)
8989 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8990 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
8994 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msHyphenateLimitZone(IHTMLCSSStyleDeclaration2
*iface
, VARIANT
*p
)
8996 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
8997 FIXME("(%p)->(%p)\n", This
, p
);
9001 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msHyphenateLimitChars(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9003 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9004 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9008 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msHyphenateLimitChars(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9010 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9011 FIXME("(%p)->(%p)\n", This
, p
);
9015 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msHyphenateLimitLines(IHTMLCSSStyleDeclaration2
*iface
, VARIANT v
)
9017 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9018 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
9022 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msHyphenateLimitLines(IHTMLCSSStyleDeclaration2
*iface
, VARIANT
*p
)
9024 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9025 FIXME("(%p)->(%p)\n", This
, p
);
9029 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msHighContrastAdjust(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9031 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9032 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9036 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msHighContrastAdjust(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9038 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9039 FIXME("(%p)->(%p)\n", This
, p
);
9043 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_enableBackground(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9045 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9046 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9050 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_enableBackground(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9052 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9053 FIXME("(%p)->(%p)\n", This
, p
);
9057 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msFontFeatureSettings(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9059 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9060 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9064 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msFontFeatureSettings(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9066 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9067 FIXME("(%p)->(%p)\n", This
, p
);
9071 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msUserSelect(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9073 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9074 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9078 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msUserSelect(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9080 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9081 FIXME("(%p)->(%p)\n", This
, p
);
9085 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msOverflowStyle(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9087 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9088 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9092 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msOverflowStyle(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9094 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9095 FIXME("(%p)->(%p)\n", This
, p
);
9099 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msTransformStyle(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9101 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9102 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9106 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msTransformStyle(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9108 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9109 FIXME("(%p)->(%p)\n", This
, p
);
9113 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msBackfaceVisibility(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9115 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9116 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9120 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msBackfaceVisibility(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9122 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9123 FIXME("(%p)->(%p)\n", This
, p
);
9127 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msPerspective(IHTMLCSSStyleDeclaration2
*iface
, VARIANT v
)
9129 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9130 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
9134 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msPerspective(IHTMLCSSStyleDeclaration2
*iface
, VARIANT
*p
)
9136 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9137 FIXME("(%p)->(%p)\n", This
, p
);
9141 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msPerspectiveOrigin(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9143 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9144 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9148 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msPerspectiveOrigin(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9150 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9151 FIXME("(%p)->(%p)\n", This
, p
);
9155 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msTransitionProperty(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9157 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9158 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9162 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msTransitionProperty(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9164 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9165 FIXME("(%p)->(%p)\n", This
, p
);
9169 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msTransitionDuration(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9171 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9172 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9176 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msTransitionDuration(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9178 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9179 FIXME("(%p)->(%p)\n", This
, p
);
9183 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msTransitionTimingFunction(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9185 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9186 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9190 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msTransitionTimingFunction(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9192 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9193 FIXME("(%p)->(%p)\n", This
, p
);
9197 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msTransitionDelay(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9199 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9200 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9204 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msTransitionDelay(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9206 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9207 FIXME("(%p)->(%p)\n", This
, p
);
9211 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msTransition(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9213 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9214 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9218 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msTransition(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9220 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9221 FIXME("(%p)->(%p)\n", This
, p
);
9225 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msTouchAction(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9227 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9228 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9232 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msTouchAction(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9234 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9235 FIXME("(%p)->(%p)\n", This
, p
);
9239 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msScrollTranslation(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9241 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9242 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9246 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msScrollTranslation(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9248 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9249 FIXME("(%p)->(%p)\n", This
, p
);
9253 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msFlex(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9255 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9256 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9260 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msFlex(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9262 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9263 FIXME("(%p)->(%p)\n", This
, p
);
9267 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msFlexPositive(IHTMLCSSStyleDeclaration2
*iface
, VARIANT v
)
9269 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9270 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
9274 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msFlexPositive(IHTMLCSSStyleDeclaration2
*iface
, VARIANT
*p
)
9276 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9277 FIXME("(%p)->(%p)\n", This
, p
);
9281 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msFlexNegative(IHTMLCSSStyleDeclaration2
*iface
, VARIANT v
)
9283 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9284 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
9288 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msFlexNegative(IHTMLCSSStyleDeclaration2
*iface
, VARIANT
*p
)
9290 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9291 FIXME("(%p)->(%p)\n", This
, p
);
9295 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msFlexPreferredSize(IHTMLCSSStyleDeclaration2
*iface
, VARIANT v
)
9297 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9298 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
9302 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msFlexPreferredSize(IHTMLCSSStyleDeclaration2
*iface
, VARIANT
*p
)
9304 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9305 FIXME("(%p)->(%p)\n", This
, p
);
9309 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msFlexFlow(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9311 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9312 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9316 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msFlexFlow(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9318 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9319 FIXME("(%p)->(%p)\n", This
, p
);
9323 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msFlexDirection(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9325 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9326 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9330 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msFlexDirection(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9332 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9333 FIXME("(%p)->(%p)\n", This
, p
);
9337 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msFlexWrap(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9339 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9340 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9344 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msFlexWrap(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9346 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9347 FIXME("(%p)->(%p)\n", This
, p
);
9351 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msFlexAlign(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9353 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9354 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9358 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msFlexAlign(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9360 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9361 FIXME("(%p)->(%p)\n", This
, p
);
9365 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msFlexItemAlign(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9367 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9368 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9372 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msFlexItemAlign(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9374 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9375 FIXME("(%p)->(%p)\n", This
, p
);
9379 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msFlexPack(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9381 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9382 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9386 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msFlexPack(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9388 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9389 FIXME("(%p)->(%p)\n", This
, p
);
9393 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msFlexLinePack(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9395 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9396 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9400 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msFlexLinePack(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9402 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9403 FIXME("(%p)->(%p)\n", This
, p
);
9407 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msFlexOrder(IHTMLCSSStyleDeclaration2
*iface
, VARIANT v
)
9409 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9410 FIXME("(%p)->(%s)\n", This
, debugstr_variant(&v
));
9414 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msFlexOrder(IHTMLCSSStyleDeclaration2
*iface
, VARIANT
*p
)
9416 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9417 FIXME("(%p)->(%p)\n", This
, p
);
9421 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_msTouchSelect(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9423 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9424 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9428 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_msTouchSelect(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9430 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9431 FIXME("(%p)->(%p)\n", This
, p
);
9435 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_transform(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9437 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9438 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
9439 return set_style_property(This
, STYLEID_TRANSFORM
, v
);
9442 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_transform(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9444 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9445 TRACE("(%p)->(%p)\n", This
, p
);
9446 return get_style_property(This
, STYLEID_TRANSFORM
, p
);
9449 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_transformOrigin(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9451 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9452 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9456 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_transformOrigin(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9458 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9459 FIXME("(%p)->(%p)\n", This
, p
);
9463 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_transformStyle(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9465 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9466 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9470 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_transformStyle(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9472 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9473 FIXME("(%p)->(%p)\n", This
, p
);
9477 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_backfaceVisibility(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9479 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9480 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9484 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_backfaceVisibility(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9486 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9487 FIXME("(%p)->(%p)\n", This
, p
);
9491 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_perspective(IHTMLCSSStyleDeclaration2
*iface
, VARIANT v
)
9493 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9494 TRACE("(%p)->(%s)\n", This
, debugstr_variant(&v
));
9495 return set_style_property_var(This
, STYLEID_PERSPECTIVE
, &v
);
9498 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_perspective(IHTMLCSSStyleDeclaration2
*iface
, VARIANT
*p
)
9500 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9501 TRACE("(%p)->(%p)\n", This
, p
);
9502 return get_style_property_var(This
, STYLEID_PERSPECTIVE
, p
);
9505 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_perspectiveOrigin(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9507 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9508 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9512 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_perspectiveOrigin(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9514 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9515 FIXME("(%p)->(%p)\n", This
, p
);
9519 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_transitionProperty(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9521 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9522 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9526 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_transitionProperty(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9528 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9529 FIXME("(%p)->(%p)\n", This
, p
);
9533 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_transitionDuration(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9535 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9536 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9540 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_transitionDuration(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9542 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9543 FIXME("(%p)->(%p)\n", This
, p
);
9547 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_transitionTimingFunction(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9549 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9550 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9554 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_transitionTimingFunction(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9556 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9557 FIXME("(%p)->(%p)\n", This
, p
);
9561 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_transitionDelay(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9563 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9564 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9568 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_transitionDelay(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9570 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9571 FIXME("(%p)->(%p)\n", This
, p
);
9575 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_transition(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9577 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9578 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
9579 return set_style_property(This
, STYLEID_TRANSITION
, v
);
9582 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_transition(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9584 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9585 TRACE("(%p)->(%p)\n", This
, p
);
9586 return get_style_property(This
, STYLEID_TRANSITION
, p
);
9589 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_fontFeatureSettings(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9591 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9592 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9596 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_fontFeatureSettings(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9598 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9599 FIXME("(%p)->(%p)\n", This
, p
);
9603 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_animationName(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9605 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9606 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
9607 return set_style_property(This
, STYLEID_ANIMATION_NAME
, v
);
9610 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_animationName(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9612 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9613 TRACE("(%p)->(%p)\n", This
, p
);
9614 return get_style_property(This
, STYLEID_ANIMATION_NAME
, p
);
9617 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_animationDuration(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9619 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9620 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9624 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_animationDuration(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9626 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9627 FIXME("(%p)->(%p)\n", This
, p
);
9631 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_animationTimingFunction(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9633 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9634 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9638 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_animationTimingFunction(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9640 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9641 FIXME("(%p)->(%p)\n", This
, p
);
9645 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_animationDelay(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9647 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9648 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9652 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_animationDelay(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9654 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9655 FIXME("(%p)->(%p)\n", This
, p
);
9659 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_animationDirection(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9661 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9662 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9666 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_animationDirection(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9668 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9669 FIXME("(%p)->(%p)\n", This
, p
);
9673 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_animationPlayState(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9675 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9676 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9680 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_animationPlayState(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9682 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9683 FIXME("(%p)->(%p)\n", This
, p
);
9687 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_animationIterationCount(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9689 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9690 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9694 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_animationIterationCount(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9696 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9697 FIXME("(%p)->(%p)\n", This
, p
);
9701 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_animation(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9703 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9704 TRACE("(%p)->(%s)\n", This
, debugstr_w(v
));
9705 return set_style_property(This
, STYLEID_ANIMATION
, v
);
9708 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_animation(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9710 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9711 TRACE("(%p)->(%p)\n", This
, p
);
9712 return get_style_property(This
, STYLEID_ANIMATION
, p
);
9715 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_put_animationFillMode(IHTMLCSSStyleDeclaration2
*iface
, BSTR v
)
9717 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9718 FIXME("(%p)->(%s)\n", This
, debugstr_w(v
));
9722 static HRESULT WINAPI
HTMLCSSStyleDeclaration2_get_animationFillMode(IHTMLCSSStyleDeclaration2
*iface
, BSTR
*p
)
9724 CSSStyle
*This
= impl_from_IHTMLCSSStyleDeclaration2(iface
);
9725 FIXME("(%p)->(%p)\n", This
, p
);
9729 static const IHTMLCSSStyleDeclaration2Vtbl HTMLCSSStyleDeclaration2Vtbl
= {
9730 HTMLCSSStyleDeclaration2_QueryInterface
,
9731 HTMLCSSStyleDeclaration2_AddRef
,
9732 HTMLCSSStyleDeclaration2_Release
,
9733 HTMLCSSStyleDeclaration2_GetTypeInfoCount
,
9734 HTMLCSSStyleDeclaration2_GetTypeInfo
,
9735 HTMLCSSStyleDeclaration2_GetIDsOfNames
,
9736 HTMLCSSStyleDeclaration2_Invoke
,
9737 HTMLCSSStyleDeclaration2_put_msScrollChaining
,
9738 HTMLCSSStyleDeclaration2_get_msScrollChaining
,
9739 HTMLCSSStyleDeclaration2_put_msContentZooming
,
9740 HTMLCSSStyleDeclaration2_get_msContentZooming
,
9741 HTMLCSSStyleDeclaration2_put_msContentZoomSnapType
,
9742 HTMLCSSStyleDeclaration2_get_msContentZoomSnapType
,
9743 HTMLCSSStyleDeclaration2_put_msScrollRails
,
9744 HTMLCSSStyleDeclaration2_get_msScrollRails
,
9745 HTMLCSSStyleDeclaration2_put_msContentZoomChaining
,
9746 HTMLCSSStyleDeclaration2_get_msContentZoomChaining
,
9747 HTMLCSSStyleDeclaration2_put_msScrollSnapType
,
9748 HTMLCSSStyleDeclaration2_get_msScrollSnapType
,
9749 HTMLCSSStyleDeclaration2_put_msContentZoomLimit
,
9750 HTMLCSSStyleDeclaration2_get_msContentZoomLimit
,
9751 HTMLCSSStyleDeclaration2_put_msContentZoomSnap
,
9752 HTMLCSSStyleDeclaration2_get_msContentZoomSnap
,
9753 HTMLCSSStyleDeclaration2_put_msContentZoomSnapPoints
,
9754 HTMLCSSStyleDeclaration2_get_msContentZoomSnapPoints
,
9755 HTMLCSSStyleDeclaration2_put_msContentZoomLimitMin
,
9756 HTMLCSSStyleDeclaration2_get_msContentZoomLimitMin
,
9757 HTMLCSSStyleDeclaration2_put_msContentZoomLimitMax
,
9758 HTMLCSSStyleDeclaration2_get_msContentZoomLimitMax
,
9759 HTMLCSSStyleDeclaration2_put_msScrollSnapX
,
9760 HTMLCSSStyleDeclaration2_get_msScrollSnapX
,
9761 HTMLCSSStyleDeclaration2_put_msScrollSnapY
,
9762 HTMLCSSStyleDeclaration2_get_msScrollSnapY
,
9763 HTMLCSSStyleDeclaration2_put_msScrollSnapPointsX
,
9764 HTMLCSSStyleDeclaration2_get_msScrollSnapPointsX
,
9765 HTMLCSSStyleDeclaration2_put_msScrollSnapPointsY
,
9766 HTMLCSSStyleDeclaration2_get_msScrollSnapPointsY
,
9767 HTMLCSSStyleDeclaration2_put_msGridColumn
,
9768 HTMLCSSStyleDeclaration2_get_msGridColumn
,
9769 HTMLCSSStyleDeclaration2_put_msGridColumnAlign
,
9770 HTMLCSSStyleDeclaration2_get_msGridColumnAlign
,
9771 HTMLCSSStyleDeclaration2_put_msGridColumns
,
9772 HTMLCSSStyleDeclaration2_get_msGridColumns
,
9773 HTMLCSSStyleDeclaration2_put_msGridColumnSpan
,
9774 HTMLCSSStyleDeclaration2_get_msGridColumnSpan
,
9775 HTMLCSSStyleDeclaration2_put_msGridRow
,
9776 HTMLCSSStyleDeclaration2_get_msGridRow
,
9777 HTMLCSSStyleDeclaration2_put_msGridRowAlign
,
9778 HTMLCSSStyleDeclaration2_get_msGridRowAlign
,
9779 HTMLCSSStyleDeclaration2_put_msGridRows
,
9780 HTMLCSSStyleDeclaration2_get_msGridRows
,
9781 HTMLCSSStyleDeclaration2_put_msGridRowSpan
,
9782 HTMLCSSStyleDeclaration2_get_msGridRowSpan
,
9783 HTMLCSSStyleDeclaration2_put_msWrapThrough
,
9784 HTMLCSSStyleDeclaration2_get_msWrapThrough
,
9785 HTMLCSSStyleDeclaration2_put_msWrapMargin
,
9786 HTMLCSSStyleDeclaration2_get_msWrapMargin
,
9787 HTMLCSSStyleDeclaration2_put_msWrapFlow
,
9788 HTMLCSSStyleDeclaration2_get_msWrapFlow
,
9789 HTMLCSSStyleDeclaration2_put_msAnimationName
,
9790 HTMLCSSStyleDeclaration2_get_msAnimationName
,
9791 HTMLCSSStyleDeclaration2_put_msAnimationDuration
,
9792 HTMLCSSStyleDeclaration2_get_msAnimationDuration
,
9793 HTMLCSSStyleDeclaration2_put_msAnimationTimingFunction
,
9794 HTMLCSSStyleDeclaration2_get_msAnimationTimingFunction
,
9795 HTMLCSSStyleDeclaration2_put_msAnimationDelay
,
9796 HTMLCSSStyleDeclaration2_get_msAnimationDelay
,
9797 HTMLCSSStyleDeclaration2_put_msAnimationDirection
,
9798 HTMLCSSStyleDeclaration2_get_msAnimationDirection
,
9799 HTMLCSSStyleDeclaration2_put_msAnimationPlayState
,
9800 HTMLCSSStyleDeclaration2_get_msAnimationPlayState
,
9801 HTMLCSSStyleDeclaration2_put_msAnimationIterationCount
,
9802 HTMLCSSStyleDeclaration2_get_msAnimationIterationCount
,
9803 HTMLCSSStyleDeclaration2_put_msAnimation
,
9804 HTMLCSSStyleDeclaration2_get_msAnimation
,
9805 HTMLCSSStyleDeclaration2_put_msAnimationFillMode
,
9806 HTMLCSSStyleDeclaration2_get_msAnimationFillMode
,
9807 HTMLCSSStyleDeclaration2_put_colorInterpolationFilters
,
9808 HTMLCSSStyleDeclaration2_get_colorInterpolationFilters
,
9809 HTMLCSSStyleDeclaration2_put_columnCount
,
9810 HTMLCSSStyleDeclaration2_get_columnCount
,
9811 HTMLCSSStyleDeclaration2_put_columnWidth
,
9812 HTMLCSSStyleDeclaration2_get_columnWidth
,
9813 HTMLCSSStyleDeclaration2_put_columnGap
,
9814 HTMLCSSStyleDeclaration2_get_columnGap
,
9815 HTMLCSSStyleDeclaration2_put_columnFill
,
9816 HTMLCSSStyleDeclaration2_get_columnFill
,
9817 HTMLCSSStyleDeclaration2_put_columnSpan
,
9818 HTMLCSSStyleDeclaration2_get_columnSpan
,
9819 HTMLCSSStyleDeclaration2_put_columns
,
9820 HTMLCSSStyleDeclaration2_get_columns
,
9821 HTMLCSSStyleDeclaration2_put_columnRule
,
9822 HTMLCSSStyleDeclaration2_get_columnRule
,
9823 HTMLCSSStyleDeclaration2_put_columnRuleColor
,
9824 HTMLCSSStyleDeclaration2_get_columnRuleColor
,
9825 HTMLCSSStyleDeclaration2_put_columnRuleStyle
,
9826 HTMLCSSStyleDeclaration2_get_columnRuleStyle
,
9827 HTMLCSSStyleDeclaration2_put_columnRuleWidth
,
9828 HTMLCSSStyleDeclaration2_get_columnRuleWidth
,
9829 HTMLCSSStyleDeclaration2_put_breakBefore
,
9830 HTMLCSSStyleDeclaration2_get_breakBefore
,
9831 HTMLCSSStyleDeclaration2_put_breakAfter
,
9832 HTMLCSSStyleDeclaration2_get_breakAfter
,
9833 HTMLCSSStyleDeclaration2_put_breakInside
,
9834 HTMLCSSStyleDeclaration2_get_breakInside
,
9835 HTMLCSSStyleDeclaration2_put_floodColor
,
9836 HTMLCSSStyleDeclaration2_get_floodColor
,
9837 HTMLCSSStyleDeclaration2_put_floodOpacity
,
9838 HTMLCSSStyleDeclaration2_get_floodOpacity
,
9839 HTMLCSSStyleDeclaration2_put_lightingColor
,
9840 HTMLCSSStyleDeclaration2_get_lightingColor
,
9841 HTMLCSSStyleDeclaration2_put_msScrollLimitXMin
,
9842 HTMLCSSStyleDeclaration2_get_msScrollLimitXMin
,
9843 HTMLCSSStyleDeclaration2_put_msScrollLimitYMin
,
9844 HTMLCSSStyleDeclaration2_get_msScrollLimitYMin
,
9845 HTMLCSSStyleDeclaration2_put_msScrollLimitXMax
,
9846 HTMLCSSStyleDeclaration2_get_msScrollLimitXMax
,
9847 HTMLCSSStyleDeclaration2_put_msScrollLimitYMax
,
9848 HTMLCSSStyleDeclaration2_get_msScrollLimitYMax
,
9849 HTMLCSSStyleDeclaration2_put_msScrollLimit
,
9850 HTMLCSSStyleDeclaration2_get_msScrollLimit
,
9851 HTMLCSSStyleDeclaration2_put_textShadow
,
9852 HTMLCSSStyleDeclaration2_get_textShadow
,
9853 HTMLCSSStyleDeclaration2_put_msFlowFrom
,
9854 HTMLCSSStyleDeclaration2_get_msFlowFrom
,
9855 HTMLCSSStyleDeclaration2_put_msFlowInto
,
9856 HTMLCSSStyleDeclaration2_get_msFlowInto
,
9857 HTMLCSSStyleDeclaration2_put_msHyphens
,
9858 HTMLCSSStyleDeclaration2_get_msHyphens
,
9859 HTMLCSSStyleDeclaration2_put_msHyphenateLimitZone
,
9860 HTMLCSSStyleDeclaration2_get_msHyphenateLimitZone
,
9861 HTMLCSSStyleDeclaration2_put_msHyphenateLimitChars
,
9862 HTMLCSSStyleDeclaration2_get_msHyphenateLimitChars
,
9863 HTMLCSSStyleDeclaration2_put_msHyphenateLimitLines
,
9864 HTMLCSSStyleDeclaration2_get_msHyphenateLimitLines
,
9865 HTMLCSSStyleDeclaration2_put_msHighContrastAdjust
,
9866 HTMLCSSStyleDeclaration2_get_msHighContrastAdjust
,
9867 HTMLCSSStyleDeclaration2_put_enableBackground
,
9868 HTMLCSSStyleDeclaration2_get_enableBackground
,
9869 HTMLCSSStyleDeclaration2_put_msFontFeatureSettings
,
9870 HTMLCSSStyleDeclaration2_get_msFontFeatureSettings
,
9871 HTMLCSSStyleDeclaration2_put_msUserSelect
,
9872 HTMLCSSStyleDeclaration2_get_msUserSelect
,
9873 HTMLCSSStyleDeclaration2_put_msOverflowStyle
,
9874 HTMLCSSStyleDeclaration2_get_msOverflowStyle
,
9875 HTMLCSSStyleDeclaration2_put_msTransformStyle
,
9876 HTMLCSSStyleDeclaration2_get_msTransformStyle
,
9877 HTMLCSSStyleDeclaration2_put_msBackfaceVisibility
,
9878 HTMLCSSStyleDeclaration2_get_msBackfaceVisibility
,
9879 HTMLCSSStyleDeclaration2_put_msPerspective
,
9880 HTMLCSSStyleDeclaration2_get_msPerspective
,
9881 HTMLCSSStyleDeclaration2_put_msPerspectiveOrigin
,
9882 HTMLCSSStyleDeclaration2_get_msPerspectiveOrigin
,
9883 HTMLCSSStyleDeclaration2_put_msTransitionProperty
,
9884 HTMLCSSStyleDeclaration2_get_msTransitionProperty
,
9885 HTMLCSSStyleDeclaration2_put_msTransitionDuration
,
9886 HTMLCSSStyleDeclaration2_get_msTransitionDuration
,
9887 HTMLCSSStyleDeclaration2_put_msTransitionTimingFunction
,
9888 HTMLCSSStyleDeclaration2_get_msTransitionTimingFunction
,
9889 HTMLCSSStyleDeclaration2_put_msTransitionDelay
,
9890 HTMLCSSStyleDeclaration2_get_msTransitionDelay
,
9891 HTMLCSSStyleDeclaration2_put_msTransition
,
9892 HTMLCSSStyleDeclaration2_get_msTransition
,
9893 HTMLCSSStyleDeclaration2_put_msTouchAction
,
9894 HTMLCSSStyleDeclaration2_get_msTouchAction
,
9895 HTMLCSSStyleDeclaration2_put_msScrollTranslation
,
9896 HTMLCSSStyleDeclaration2_get_msScrollTranslation
,
9897 HTMLCSSStyleDeclaration2_put_msFlex
,
9898 HTMLCSSStyleDeclaration2_get_msFlex
,
9899 HTMLCSSStyleDeclaration2_put_msFlexPositive
,
9900 HTMLCSSStyleDeclaration2_get_msFlexPositive
,
9901 HTMLCSSStyleDeclaration2_put_msFlexNegative
,
9902 HTMLCSSStyleDeclaration2_get_msFlexNegative
,
9903 HTMLCSSStyleDeclaration2_put_msFlexPreferredSize
,
9904 HTMLCSSStyleDeclaration2_get_msFlexPreferredSize
,
9905 HTMLCSSStyleDeclaration2_put_msFlexFlow
,
9906 HTMLCSSStyleDeclaration2_get_msFlexFlow
,
9907 HTMLCSSStyleDeclaration2_put_msFlexDirection
,
9908 HTMLCSSStyleDeclaration2_get_msFlexDirection
,
9909 HTMLCSSStyleDeclaration2_put_msFlexWrap
,
9910 HTMLCSSStyleDeclaration2_get_msFlexWrap
,
9911 HTMLCSSStyleDeclaration2_put_msFlexAlign
,
9912 HTMLCSSStyleDeclaration2_get_msFlexAlign
,
9913 HTMLCSSStyleDeclaration2_put_msFlexItemAlign
,
9914 HTMLCSSStyleDeclaration2_get_msFlexItemAlign
,
9915 HTMLCSSStyleDeclaration2_put_msFlexPack
,
9916 HTMLCSSStyleDeclaration2_get_msFlexPack
,
9917 HTMLCSSStyleDeclaration2_put_msFlexLinePack
,
9918 HTMLCSSStyleDeclaration2_get_msFlexLinePack
,
9919 HTMLCSSStyleDeclaration2_put_msFlexOrder
,
9920 HTMLCSSStyleDeclaration2_get_msFlexOrder
,
9921 HTMLCSSStyleDeclaration2_put_msTouchSelect
,
9922 HTMLCSSStyleDeclaration2_get_msTouchSelect
,
9923 HTMLCSSStyleDeclaration2_put_transform
,
9924 HTMLCSSStyleDeclaration2_get_transform
,
9925 HTMLCSSStyleDeclaration2_put_transformOrigin
,
9926 HTMLCSSStyleDeclaration2_get_transformOrigin
,
9927 HTMLCSSStyleDeclaration2_put_transformStyle
,
9928 HTMLCSSStyleDeclaration2_get_transformStyle
,
9929 HTMLCSSStyleDeclaration2_put_backfaceVisibility
,
9930 HTMLCSSStyleDeclaration2_get_backfaceVisibility
,
9931 HTMLCSSStyleDeclaration2_put_perspective
,
9932 HTMLCSSStyleDeclaration2_get_perspective
,
9933 HTMLCSSStyleDeclaration2_put_perspectiveOrigin
,
9934 HTMLCSSStyleDeclaration2_get_perspectiveOrigin
,
9935 HTMLCSSStyleDeclaration2_put_transitionProperty
,
9936 HTMLCSSStyleDeclaration2_get_transitionProperty
,
9937 HTMLCSSStyleDeclaration2_put_transitionDuration
,
9938 HTMLCSSStyleDeclaration2_get_transitionDuration
,
9939 HTMLCSSStyleDeclaration2_put_transitionTimingFunction
,
9940 HTMLCSSStyleDeclaration2_get_transitionTimingFunction
,
9941 HTMLCSSStyleDeclaration2_put_transitionDelay
,
9942 HTMLCSSStyleDeclaration2_get_transitionDelay
,
9943 HTMLCSSStyleDeclaration2_put_transition
,
9944 HTMLCSSStyleDeclaration2_get_transition
,
9945 HTMLCSSStyleDeclaration2_put_fontFeatureSettings
,
9946 HTMLCSSStyleDeclaration2_get_fontFeatureSettings
,
9947 HTMLCSSStyleDeclaration2_put_animationName
,
9948 HTMLCSSStyleDeclaration2_get_animationName
,
9949 HTMLCSSStyleDeclaration2_put_animationDuration
,
9950 HTMLCSSStyleDeclaration2_get_animationDuration
,
9951 HTMLCSSStyleDeclaration2_put_animationTimingFunction
,
9952 HTMLCSSStyleDeclaration2_get_animationTimingFunction
,
9953 HTMLCSSStyleDeclaration2_put_animationDelay
,
9954 HTMLCSSStyleDeclaration2_get_animationDelay
,
9955 HTMLCSSStyleDeclaration2_put_animationDirection
,
9956 HTMLCSSStyleDeclaration2_get_animationDirection
,
9957 HTMLCSSStyleDeclaration2_put_animationPlayState
,
9958 HTMLCSSStyleDeclaration2_get_animationPlayState
,
9959 HTMLCSSStyleDeclaration2_put_animationIterationCount
,
9960 HTMLCSSStyleDeclaration2_get_animationIterationCount
,
9961 HTMLCSSStyleDeclaration2_put_animation
,
9962 HTMLCSSStyleDeclaration2_get_animation
,
9963 HTMLCSSStyleDeclaration2_put_animationFillMode
,
9964 HTMLCSSStyleDeclaration2_get_animationFillMode
9967 static inline CSSStyle
*impl_from_DispatchEx(DispatchEx
*dispex
)
9969 return CONTAINING_RECORD(dispex
, CSSStyle
, dispex
);
9972 static HRESULT
CSSStyle_get_dispid(DispatchEx
*dispex
, BSTR name
, DWORD flags
, DISPID
*dispid
)
9974 CSSStyle
*This
= impl_from_DispatchEx(dispex
);
9975 const style_tbl_entry_t
*style_entry
;
9977 style_entry
= lookup_style_tbl(This
, name
);
9979 DISPID id
= dispex_compat_mode(dispex
) >= COMPAT_MODE_IE9
9980 ? style_entry
->dispid
: style_entry
->compat_dispid
;
9981 if(id
== DISPID_UNKNOWN
)
9982 return DISP_E_UNKNOWNNAME
;
9988 return DISP_E_UNKNOWNNAME
;
9991 void CSSStyle_init_dispex_info(dispex_data_t
*info
, compat_mode_t mode
)
9993 if(mode
>= COMPAT_MODE_IE9
)
9994 dispex_info_add_interface(info
, IHTMLCSSStyleDeclaration_tid
, NULL
);
9995 if(mode
>= COMPAT_MODE_IE10
)
9996 dispex_info_add_interface(info
, IHTMLCSSStyleDeclaration2_tid
, NULL
);
9999 const dispex_static_data_vtbl_t CSSStyle_dispex_vtbl
= {
10001 CSSStyle_get_dispid
,
10006 static const tid_t HTMLStyle_iface_tids
[] = {
10015 static dispex_static_data_t HTMLStyle_dispex
= {
10016 L
"MSStyleCSSProperties",
10017 &CSSStyle_dispex_vtbl
,
10019 HTMLStyle_iface_tids
,
10020 CSSStyle_init_dispex_info
10023 static HRESULT
get_style_from_elem(HTMLElement
*elem
, nsIDOMCSSStyleDeclaration
**ret
)
10025 nsIDOMElementCSSInlineStyle
*nselemstyle
;
10026 nsIDOMSVGElement
*svg_element
;
10029 if(!elem
->dom_element
) {
10030 FIXME("comment element\n");
10034 nsres
= nsIDOMElement_QueryInterface(elem
->dom_element
, &IID_nsIDOMElementCSSInlineStyle
,
10035 (void**)&nselemstyle
);
10036 if(NS_SUCCEEDED(nsres
)) {
10037 nsres
= nsIDOMElementCSSInlineStyle_GetStyle(nselemstyle
, ret
);
10038 nsIDOMElementCSSInlineStyle_Release(nselemstyle
);
10039 if(NS_FAILED(nsres
)) {
10040 ERR("GetStyle failed: %08lx\n", nsres
);
10046 nsres
= nsIDOMElement_QueryInterface(elem
->dom_element
, &IID_nsIDOMSVGElement
, (void**)&svg_element
);
10047 if(NS_SUCCEEDED(nsres
)) {
10048 nsres
= nsIDOMSVGElement_GetStyle(svg_element
, ret
);
10049 nsIDOMSVGElement_Release(svg_element
);
10050 if(NS_FAILED(nsres
)) {
10051 ERR("GetStyle failed: %08lx\n", nsres
);
10057 FIXME("Unsupported element type\n");
10061 void init_css_style(CSSStyle
*style
, nsIDOMCSSStyleDeclaration
*nsstyle
, style_qi_t qi
,
10062 dispex_static_data_t
*dispex_info
, compat_mode_t compat_mode
)
10064 style
->IHTMLCSSStyleDeclaration_iface
.lpVtbl
= &HTMLCSSStyleDeclarationVtbl
;
10065 style
->IHTMLCSSStyleDeclaration2_iface
.lpVtbl
= &HTMLCSSStyleDeclaration2Vtbl
;
10068 style
->nsstyle
= nsstyle
;
10069 nsIDOMCSSStyleDeclaration_AddRef(nsstyle
);
10071 init_dispatch(&style
->dispex
, (IUnknown
*)&style
->IHTMLCSSStyleDeclaration_iface
,
10072 dispex_info
, compat_mode
);
10075 HRESULT
HTMLStyle_Create(HTMLElement
*elem
, HTMLStyle
**ret
)
10077 nsIDOMCSSStyleDeclaration
*nsstyle
;
10081 hres
= get_style_from_elem(elem
, &nsstyle
);
10085 style
= calloc(1, sizeof(HTMLStyle
));
10087 nsIDOMCSSStyleDeclaration_Release(nsstyle
);
10088 return E_OUTOFMEMORY
;
10091 style
->IHTMLStyle_iface
.lpVtbl
= &HTMLStyleVtbl
;
10092 style
->IHTMLStyle2_iface
.lpVtbl
= &HTMLStyle2Vtbl
;
10093 style
->IHTMLStyle3_iface
.lpVtbl
= &HTMLStyle3Vtbl
;
10094 style
->IHTMLStyle4_iface
.lpVtbl
= &HTMLStyle4Vtbl
;
10095 style
->IHTMLStyle5_iface
.lpVtbl
= &HTMLStyle5Vtbl
;
10096 style
->IHTMLStyle6_iface
.lpVtbl
= &HTMLStyle6Vtbl
;
10098 style
->elem
= elem
;
10100 init_css_style(&style
->css_style
, nsstyle
, HTMLStyle_QI
, &HTMLStyle_dispex
,
10101 dispex_compat_mode(&elem
->node
.event_target
.dispex
));
10107 static const tid_t HTMLW3CComputedStyle_iface_tids
[] = {
10110 static dispex_static_data_t HTMLW3CComputedStyle_dispex
= {
10111 L
"CSSStyleDeclaration",
10112 &CSSStyle_dispex_vtbl
,
10113 DispHTMLW3CComputedStyle_tid
,
10114 HTMLW3CComputedStyle_iface_tids
,
10115 CSSStyle_init_dispex_info
10118 HRESULT
create_computed_style(nsIDOMCSSStyleDeclaration
*nsstyle
, compat_mode_t compat_mode
, IHTMLCSSStyleDeclaration
**p
)
10122 if(!(style
= calloc(1, sizeof(*style
))))
10123 return E_OUTOFMEMORY
;
10125 init_css_style(style
, nsstyle
, NULL
, &HTMLW3CComputedStyle_dispex
, compat_mode
);
10126 *p
= &style
->IHTMLCSSStyleDeclaration_iface
;
10130 HRESULT
get_elem_style(HTMLElement
*elem
, styleid_t styleid
, BSTR
*ret
)
10132 nsIDOMCSSStyleDeclaration
*style
;
10135 hres
= get_style_from_elem(elem
, &style
);
10139 hres
= get_nsstyle_property(style
, styleid
, COMPAT_MODE_IE11
, ret
);
10140 nsIDOMCSSStyleDeclaration_Release(style
);
10144 HRESULT
set_elem_style(HTMLElement
*elem
, styleid_t styleid
, const WCHAR
*val
)
10146 nsIDOMCSSStyleDeclaration
*style
;
10147 nsAString value_str
;
10150 hres
= get_style_from_elem(elem
, &style
);
10154 nsAString_InitDepend(&value_str
, val
);
10155 hres
= set_nsstyle_property(style
, styleid
, &value_str
);
10156 nsAString_Finish(&value_str
);
10157 nsIDOMCSSStyleDeclaration_Release(style
);