22 {
'b',
'a',
'c',
'k',
'g',
'r',
'o',
'u',
'n',
'd',0};
24 {
'b',
'a',
'c',
'k',
'g',
'r',
'o',
'u',
'n',
'd',
'-',
'a',
't',
't',
'a',
'c',
'h',
'm',
'e',
'n',
't',0};
26 {
'b',
'a',
'c',
'k',
'g',
'r',
'o',
'u',
'n',
'd',
'-',
'c',
'o',
'l',
'o',
'r',0};
28 {
'b',
'a',
'c',
'k',
'g',
'r',
'o',
'u',
'n',
'd',
'-',
'i',
'm',
'a',
'g',
'e',0};
30 {
'b',
'a',
'c',
'k',
'g',
'r',
'o',
'u',
'n',
'd',
'-',
'p',
'o',
's',
'i',
't',
'i',
'o',
'n',0};
32 {
'b',
'a',
'c',
'k',
'g',
'r',
'o',
'u',
'n',
'd',
'-',
'p',
'o',
's',
'i',
't',
'i',
'o',
'n',
'-',
'x',0};
34 {
'b',
'a',
'c',
'k',
'g',
'r',
'o',
'u',
'n',
'd',
'-',
'p',
'o',
's',
'i',
't',
'i',
'o',
'n',
'-',
'y',0};
36 {
'b',
'a',
'c',
'k',
'g',
'r',
'o',
'u',
'n',
'd',
'-',
'r',
'e',
'p',
'e',
'a',
't',0};
38 {
'b',
'o',
'r',
'd',
'e',
'r',0};
40 {
'b',
'o',
'r',
'd',
'e',
'r',
'-',
'b',
'o',
't',
't',
'o',
'm',0};
42 {
'b',
'o',
'r',
'd',
'e',
'r',
'-',
'b',
'o',
't',
't',
'o',
'm',
'-',
'c',
'o',
'l',
'o',
'r',0};
44 {
'b',
'o',
'r',
'd',
'e',
'r',
'-',
'b',
'o',
't',
't',
'o',
'm',
'-',
's',
't',
'y',
'l',
'e',0};
46 {
'b',
'o',
'r',
'd',
'e',
'r',
'-',
'b',
'o',
't',
't',
'o',
'm',
'-',
'w',
'i',
'd',
't',
'h',0};
48 {
'b',
'o',
'r',
'd',
'e',
'r',
'-',
'c',
'o',
'l',
'o',
'r',0};
50 {
'b',
'o',
'r',
'd',
'e',
'r',
'-',
'l',
'e',
'f',
't',0};
52 {
'b',
'o',
'r',
'd',
'e',
'r',
'-',
'l',
'e',
'f',
't',
'-',
'c',
'o',
'l',
'o',
'r',0};
54 {
'b',
'o',
'r',
'd',
'e',
'r',
'-',
'l',
'e',
'f',
't',
'-',
's',
't',
'y',
'l',
'e',0};
56 {
'b',
'o',
'r',
'd',
'e',
'r',
'-',
'l',
'e',
'f',
't',
'-',
'w',
'i',
'd',
't',
'h',0};
58 {
'b',
'o',
'r',
'd',
'e',
'r',
'-',
'r',
'i',
'g',
'h',
't',0};
60 {
'b',
'o',
'r',
'd',
'e',
'r',
'-',
'r',
'i',
'g',
'h',
't',
'-',
'c',
'o',
'l',
'o',
'r',0};
62 {
'b',
'o',
'r',
'd',
'e',
'r',
'-',
'r',
'i',
'g',
'h',
't',
'-',
's',
't',
'y',
'l',
'e',0};
64 {
'b',
'o',
'r',
'd',
'e',
'r',
'-',
'r',
'i',
'g',
'h',
't',
'-',
'w',
'i',
'd',
't',
'h',0};
66 {
'b',
'o',
'r',
'd',
'e',
'r',
'-',
't',
'o',
'p',0};
68 {
'b',
'o',
'r',
'd',
'e',
'r',
'-',
't',
'o',
'p',
'-',
'c',
'o',
'l',
'o',
'r',0};
70 {
'b',
'o',
'r',
'd',
'e',
'r',
'-',
's',
't',
'y',
'l',
'e',0};
72 {
'b',
'o',
'r',
'd',
'e',
'r',
'-',
't',
'o',
'p',
'-',
's',
't',
'y',
'l',
'e',0};
74 {
'b',
'o',
'r',
'd',
'e',
'r',
'-',
't',
'o',
'p',
'-',
'w',
'i',
'd',
't',
'h',0};
76 {
'b',
'o',
'r',
'd',
'e',
'r',
'-',
'w',
'i',
'd',
't',
'h',0};
78 {
'b',
'o',
't',
't',
'o',
'm',0};
81 {
'-',
'm',
'o',
'z',
'-',
'b',
'o',
'x',
'-',
's',
'i',
'z',
'i',
'n',
'g',0};
83 {
'c',
'l',
'e',
'a',
'r',0};
87 {
'c',
'o',
'l',
'o',
'r',0};
89 {
'c',
'u',
'r',
's',
'o',
'r',0};
91 {
'd',
'i',
'r',
'e',
'c',
't',
'i',
'o',
'n',0};
93 {
'd',
'i',
's',
'p',
'l',
'a',
'y',0};
95 {
'f',
'i',
'l',
'e',
't',
'e',
'r',0};
97 {
'f',
'l',
'o',
'a',
't',0};
99 {
'f',
'o',
'n',
't',
'-',
'f',
'a',
'm',
'i',
'l',
'y',0};
101 {
'f',
'o',
'n',
't',
'-',
's',
'i',
'z',
'e',0};
103 {
'f',
'o',
'n',
't',
'-',
's',
't',
'y',
'l',
'e',0};
105 {
'f',
'o',
'n',
't',
'-',
'v',
'a',
'r',
'i',
'a',
'n',
't',0};
107 {
'f',
'o',
'n',
't',
'-',
'w',
'e',
'i',
'g',
'h',
't',0};
109 {
'h',
'e',
'i',
'g',
'h',
't',0};
113 {
'l',
'e',
't',
't',
'e',
'r',
'-',
's',
'p',
'a',
'c',
'i',
'n',
'g',0};
115 {
'l',
'i',
'n',
'e',
'-',
'h',
'e',
'i',
'g',
'h',
't',0};
117 {
'l',
'i',
's',
't',
'-',
's',
't',
'y',
'l',
'e',0};
119 {
'l',
'i',
's',
't',
'-',
's',
't',
'y',
'l',
'e',
'-',
't',
'y',
'p',
'e',0};
121 {
'l',
'i',
's',
't',
'-',
's',
't',
'y',
'l',
'e',
'-',
'p',
'o',
's',
'i',
't',
'i',
'o',
'n',0};
123 {
'm',
'a',
'r',
'g',
'i',
'n',0};
125 {
'm',
'a',
'r',
'g',
'i',
'n',
'-',
'b',
'o',
't',
't',
'o',
'm',0};
127 {
'm',
'a',
'r',
'g',
'i',
'n',
'-',
'l',
'e',
'f',
't',0};
129 {
'm',
'a',
'r',
'g',
'i',
'n',
'-',
'r',
'i',
'g',
'h',
't',0};
131 {
'm',
'a',
'r',
'g',
'i',
'n',
'-',
't',
'o',
'p',0};
133 {
'm',
'a',
'x',
'-',
'h',
'e',
'i',
'g',
'h',
't',0};
135 {
'm',
'a',
'x',
'-',
'w',
'i',
'd',
't',
'h',0};
137 {
'm',
'i',
'n',
'-',
'h',
'e',
'i',
'g',
'h',
't',0};
139 {
'm',
'i',
'n',
'-',
'w',
'i',
'd',
't',
'h',0};
141 {
'o',
'u',
't',
'l',
'i',
'n',
'e',0};
143 {
'o',
'v',
'e',
'r',
'f',
'l',
'o',
'w',0};
145 {
'o',
'v',
'e',
'r',
'f',
'l',
'o',
'w',
'-',
'x',0};
147 {
'o',
'v',
'e',
'r',
'f',
'l',
'o',
'w',
'-',
'y',0};
149 {
'p',
'a',
'd',
'd',
'i',
'n',
'g',0};
151 {
'p',
'a',
'd',
'd',
'i',
'n',
'g',
'-',
'b',
'o',
't',
't',
'o',
'm',0};
153 {
'p',
'a',
'd',
'd',
'i',
'n',
'g',
'-',
'l',
'e',
'f',
't',0};
155 {
'p',
'a',
'd',
'd',
'i',
'n',
'g',
'-',
'r',
'i',
'g',
'h',
't',0};
157 {
'p',
'a',
'd',
'd',
'i',
'n',
'g',
'-',
't',
'o',
'p',0};
159 {
'p',
'a',
'g',
'e',
'-',
'b',
'r',
'e',
'a',
'k',
'-',
'a',
'f',
't',
'e',
'r',0};
161 {
'p',
'a',
'g',
'e',
'-',
'b',
'r',
'e',
'a',
'k',
'-',
'b',
'e',
'f',
'o',
'r',
'e',0};
163 {
'p',
'o',
's',
'i',
't',
'i',
'o',
'n',0};
165 {
'r',
'i',
'g',
'h',
't',0};
167 {
't',
'a',
'b',
'l',
'e',
'-',
'l',
'a',
'y',
'o',
'u',
't',0};
169 {
't',
'e',
'x',
't',
'-',
'a',
'l',
'i',
'g',
'n',0};
171 {
't',
'e',
'x',
't',
'-',
'd',
'e',
'c',
'o',
'r',
'a',
't',
'i',
'o',
'n',0};
173 {
't',
'e',
'x',
't',
'-',
'i',
'n',
'd',
'e',
'n',
't',0};
175 {
't',
'e',
'x',
't',
'-',
't',
'r',
'a',
'n',
's',
'f',
'o',
'r',
'm',0};
179 {
'v',
'e',
'r',
't',
'i',
'c',
'a',
'l',
'-',
'a',
'l',
'i',
'g',
'n',0};
181 {
'v',
'i',
's',
'i',
'b',
'i',
'l',
'i',
't',
'y',0};
183 {
'w',
'h',
'i',
't',
'e',
'-',
's',
'p',
'a',
'c',
'e',0};
185 {
'w',
'i',
'd',
't',
'h',0};
187 {
'w',
'o',
'r',
'd',
'-',
's',
'p',
'a',
'c',
'i',
'n',
'g',0};
189 {
'w',
'o',
'r',
'd',
'-',
'w',
'r',
'a',
'p',0};
191 {
'z',
'-',
'i',
'n',
'd',
'e',
'x',0};
292 {
'l',
'i',
'n',
'e',
'-',
't',
'h',
'r',
'o',
'u',
'g',
'h',0};
294 {
'u',
'n',
'd',
'e',
'r',
'l',
'i',
'n',
'e',0};
296 {
'n',
'o',
'r',
'm',
'a',
'l',0};
300 {
'o',
'v',
'e',
'r',
'l',
'i',
'n',
'e',0};
302 {
'b',
'l',
'i',
'n',
'k',0};
367 static const WCHAR urlW[] = {
'u',
'r',
'l',
'('};
384 nsAString str_name, str_value, str_empty;
399 nsres = nsIDOMCSSStyleDeclaration_SetProperty(nsstyle, &str_name, &str_value, &str_empty);
401 ERR(
"SetProperty failed: %08x\n", nsres);
427 static const WCHAR formatW[] = {
'%',
'd',0};
428 static const WCHAR hex_formatW[] = {
'#',
'%',
'0',
'6',
'x',0};
472 nsres = nsIDOMCSSStyleDeclaration_GetPropertyValue(nsstyle, &str_name,
value);
474 ERR(
"SetProperty failed: %08x\n", nsres);
571 i =
i*10 + (*
ptr++ -
'0');
621 WCHAR szFormat[] = {
'%',
'.',
'0',
'f',
'p',
'x',0};
664 FIXME(
"only px values are currently supported\n");
716 static const WCHAR styleDotted[] = {
'd',
'o',
't',
't',
'e',
'd',0};
717 static const WCHAR styleDashed[] = {
'd',
'a',
's',
'h',
'e',
'd',0};
718 static const WCHAR styleSolid[] = {
's',
'o',
'l',
'i',
'd',0};
719 static const WCHAR styleDouble[] = {
'd',
'o',
'u',
'b',
'l',
'e',0};
720 static const WCHAR styleGroove[] = {
'g',
'r',
'o',
'o',
'v',
'e',0};
721 static const WCHAR styleRidge[] = {
'r',
'i',
'd',
'g',
'e',0};
722 static const WCHAR styleInset[] = {
'i',
'n',
's',
'e',
't',0};
723 static const WCHAR styleOutset[] = {
'o',
'u',
't',
's',
'e',
't',0};
751 *
ppv = &
This->IHTMLStyle_iface;
753 *
ppv = &
This->IHTMLStyle_iface;
755 *
ppv = &
This->IHTMLStyle2_iface;
757 *
ppv = &
This->IHTMLStyle3_iface;
759 *
ppv = &
This->IHTMLStyle4_iface;
761 *
ppv = &
This->IHTMLStyle5_iface;
763 *
ppv = &
This->IHTMLStyle6_iface;
796 nsIDOMCSSStyleDeclaration_Release(
This->nsstyle);
807 return IDispatchEx_GetTypeInfoCount(&
This->dispex.IDispatchEx_iface, pctinfo);
814 return IDispatchEx_GetTypeInfo(&
This->dispex.IDispatchEx_iface, iTInfo, lcid, ppTInfo);
822 return IDispatchEx_GetIDsOfNames(&
This->dispex.IDispatchEx_iface,
riid, rgszNames, cNames,
831 return IDispatchEx_Invoke(&
This->dispex.IDispatchEx_iface, dispIdMember,
riid, lcid,
832 wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr);
856 static const WCHAR szItalic[] = {
'i',
't',
'a',
'l',
'i',
'c',0};
857 static const WCHAR szOblique[] = {
'o',
'b',
'l',
'i',
'q',
'u',
'e',0};
883 static const WCHAR szCaps[] = {
's',
'm',
'a',
'l',
'l',
'-',
'c',
'a',
'p',
's',0};
910 static const WCHAR styleBold[] = {
'b',
'o',
'l',
'd',0};
911 static const WCHAR styleBolder[] = {
'b',
'o',
'l',
'd',
'e',
'r',0};
912 static const WCHAR styleLighter[] = {
'l',
'i',
'g',
'h',
't',
'e',
'r',0};
913 static const WCHAR style100[] = {
'1',
'0',
'0',0};
914 static const WCHAR style200[] = {
'2',
'0',
'0',0};
915 static const WCHAR style300[] = {
'3',
'0',
'0',0};
916 static const WCHAR style400[] = {
'4',
'0',
'0',0};
917 static const WCHAR style500[] = {
'5',
'0',
'0',0};
918 static const WCHAR style600[] = {
'6',
'0',
'0',0};
919 static const WCHAR style700[] = {
'7',
'0',
'0',0};
920 static const WCHAR style800[] = {
'8',
'0',
'0',0};
921 static const WCHAR style900[] = {
'9',
'0',
'0',0};
1051 static const WCHAR styleRepeat[] = {
'r',
'e',
'p',
'e',
'a',
't',0};
1052 static const WCHAR styleNoRepeat[] = {
'n',
'o',
'-',
'r',
'e',
'p',
'e',
'a',
't',0};
1053 static const WCHAR styleRepeatX[] = {
'r',
'e',
'p',
'e',
'a',
't',
'-',
'x',0};
1054 static const WCHAR styleRepeatY[] = {
'r',
'e',
'p',
'e',
'a',
't',
'-',
'y',0};
1139 static const WCHAR zero_pxW[] = {
' ',
'0',
'p',
'x',0};
1151 memcpy(pos_val+val_len, posy, posy_len*
sizeof(
WCHAR));
1152 pos_val[val_len+posy_len] = 0;
1234 static const WCHAR zero_pxW[] = {
'0',
'p',
'x',
' ',0};
1248 pos_val[posx_len+val_len] = 0;
1964 static const WCHAR styleWindowInset[] = {
'w',
'i',
'n',
'd',
'o',
'w',
'-',
'i',
'n',
's',
'e',
't',0};
2318 return IHTMLStyle2_get_position(&
This->IHTMLStyle2_iface,
p);
2342 static const WCHAR szVisible[] = {
'v',
'i',
's',
'i',
'b',
'l',
'e',0};
2343 static const WCHAR szScroll[] = {
's',
'c',
'r',
'o',
'l',
'l',0};
2344 static const WCHAR szHidden[] = {
'h',
'i',
'd',
'd',
'e',
'n',0};
2345 static const WCHAR szAuto[] = {
'a',
'u',
't',
'o',0};
2417 nsres = nsIDOMCSSStyleDeclaration_SetCssText(
This->nsstyle, &text_str);
2420 FIXME(
"SetCssStyle failed: %08x\n", nsres);
2437 nsres = nsIDOMCSSStyleDeclaration_GetCssText(
This->nsstyle, &text_str);
2444 FIXME(
"GetCssStyle failed: %08x\n", nsres);
2655 static const WCHAR opacityW[] = {
'o',
'p',
'a',
'c',
'i',
't',
'y',0};
2663 nsres = nsIDOMCSSStyleDeclaration_SetProperty(
This->nsstyle, &name_str, &val_str, &
empty_str);
2665 ERR(
"SetProperty failed: %08x\n", nsres);
2676 static const WCHAR alphaW[] = {
'a',
'l',
'p',
'h',
'a'};
2693 WARN(
"unexpected char '%c'\n", *
ptr);
2697 WARN(
"expected '('\n");
2701 if(ptr2 +
sizeof(alphaW)/
sizeof(
WCHAR) ==
ptr && !
memcmp(ptr2, alphaW,
sizeof(alphaW))) {
2702 static const WCHAR formatW[] = {
'%',
'f',0};
2703 static const WCHAR opacityW[] = {
'o',
'p',
'a',
'c',
'i',
't',
'y',
'='};
2711 while(*
ptr && *
ptr !=
',' && *
ptr !=
')')
2714 WARN(
"unexpected end of string\n");
2718 if(
ptr-ptr2 >
sizeof(opacityW)/
sizeof(
WCHAR) && !
memcmp(ptr2, opacityW,
sizeof(opacityW))) {
2719 float fval = 0.0f,
e = 0.1f;
2722 ptr2 +=
sizeof(opacityW)/
sizeof(
WCHAR);
2725 fval = fval*10.0
f + (
float)(*ptr2++ -
'0');
2729 fval +=
e * (
float)(*ptr2++ -
'0');
2742 }
while(*
ptr !=
')');
2761 FIXME(
"Element already destroyed\n");
2772 This->elem->filter = new_filter;
2785 FIXME(
"Element already destroyed\n");
2789 if(
This->elem->filter) {
2810 if(!strAttributeName)
2814 FIXME(
"Parameter lFlags ignored\n");
2821 DISPID dispidNamed = DISPID_PROPERTYPUT;
2825 params.rgvarg = &AttributeValue;
2827 params.rgdispidNamedArgs = &dispidNamed;
2834 FIXME(
"Custom attributes not supported.\n");
2850 AttributeValue, lFlags);
2852 if(!AttributeValue || !strAttributeName)
2856 FIXME(
"Parameter lFlags ignored\n");
2869 FIXME(
"Custom attributes not supported.\n");
2891 hres = IDispatchEx_GetDispID(&
This->dispex.IDispatchEx_iface, strAttributeName,
2892 (lFlags&1) ? fdexNameCaseSensitive : fdexNameCaseInsensitive, &dispid);
2894 *pfSuccess = VARIANT_FALSE;
2903 if(
i ==
sizeof(
style_tbl)/
sizeof(*style_tbl))
2910 *pfSuccess =
This->elem->filter && *
This->elem->filter ? VARIANT_TRUE : VARIANT_FALSE;
2919 nsres = nsIDOMCSSStyleDeclaration_RemoveProperty(
This->nsstyle, &name_str, &ret_str);
2923 *pfSuccess = *
ret ? VARIANT_TRUE : VARIANT_FALSE;
2925 ERR(
"RemoveProperty failed: %08x\n", nsres);
3134 *dispid = style_entry->
dispid;
3170 FIXME(
"NULL nselem\n");
3174 nsres = nsIDOMHTMLElement_QueryInterface(
elem->nselem, &IID_nsIDOMElementCSSInlineStyle,
3175 (
void**)&nselemstyle);
3178 nsres = nsIDOMElementCSSInlineStyle_GetStyle(nselemstyle,
ret);
3179 nsIDOMElementCSSInlineStyle_Release(nselemstyle);
3181 ERR(
"GetStyle failed: %08x\n", nsres);
3200 nsIDOMCSSStyleDeclaration_Release(nsstyle);
3206 style->nsstyle = nsstyle;
3211 nsIDOMCSSStyleDeclaration_AddRef(nsstyle);
3229 nsIDOMCSSStyleDeclaration_Release(
style);
3243 nsIDOMCSSStyleDeclaration_Release(
style);
static const WCHAR attrBorderStyle[]
static const WCHAR attrWordWrap[]
int WINAPIV wsprintfW(_Out_ LPWSTR, _In_ _Printf_format_string_ LPCWSTR,...)
static HRESULT WINAPI HTMLStyle_put_posTop(IHTMLStyle *iface, float v)
static HRESULT WINAPI HTMLStyle_put_backgroundRepeat(IHTMLStyle *iface, BSTR v)
#define DISPID_IHTMLSTYLE_STYLEFLOAT
#define DISP_E_UNKNOWNNAME
static HRESULT WINAPI HTMLStyle_put_display(IHTMLStyle *iface, BSTR v)
static const WCHAR attrBoxSizing[]
#define DISPID_IHTMLSTYLE_FONTFAMILY
static HRESULT WINAPI HTMLStyle_put_margin(IHTMLStyle *iface, BSTR v)
static HRESULT WINAPI HTMLStyle_put_letterSpacing(IHTMLStyle *iface, VARIANT v)
static const WCHAR attrBorderTop[]
static LPWSTR fix_px_value(LPCWSTR val)
#define DISPID_IHTMLSTYLE_BACKGROUNDREPEAT
static dispex_static_data_t HTMLStyle_dispex
HRESULT get_elem_style(HTMLElement *elem, styleid_t styleid, BSTR *ret)
static HRESULT WINAPI HTMLStyle_get_backgroundPosition(IHTMLStyle *iface, BSTR *p)
static HRESULT check_style_attr_value(HTMLStyle *This, styleid_t sid, LPCWSTR exval, VARIANT_BOOL *p)
static HRESULT get_nsstyle_pixel_val(HTMLStyle *This, styleid_t sid, LONG *p)
#define DISPATCH_PROPERTYGET
static const TCHAR empty_str[]
#define DISPID_IHTMLSTYLE2_OVERFLOWY
static HRESULT WINAPI HTMLStyle_put_posLeft(IHTMLStyle *iface, float v)
static const WCHAR attrClip[]
static HRESULT WINAPI HTMLStyle_get_borderTop(IHTMLStyle *iface, BSTR *p)
int memcmp(void *Buffer1, void *Buffer2, ACPI_SIZE Count)
WINE_UNICODE_INLINE unsigned int strlenW(const WCHAR *str)
#define DISPID_IHTMLSTYLE_MARGIN
static HTMLStyle * impl_from_IHTMLStyle(IHTMLStyle *iface)
static HRESULT WINAPI HTMLStyle_put_filter(IHTMLStyle *iface, BSTR v)
static HRESULT WINAPI HTMLStyle_get_borderTopColor(IHTMLStyle *iface, VARIANT *p)
static HRESULT WINAPI HTMLStyle_put_marginLeft(IHTMLStyle *iface, VARIANT v)
static HRESULT WINAPI HTMLStyle_get_textIndent(IHTMLStyle *iface, VARIANT *p)
BSTR WINAPI SysAllocStringLen(const OLECHAR *str, unsigned int len)
static HRESULT WINAPI HTMLStyle_put_top(IHTMLStyle *iface, VARIANT v)
static HRESULT WINAPI HTMLStyle_get_filter(IHTMLStyle *iface, BSTR *p)
static HRESULT WINAPI HTMLStyle_put_background(IHTMLStyle *iface, BSTR v)
#define DISPID_IHTMLSTYLE_HEIGHT
static HRESULT set_style_pos(HTMLStyle *This, styleid_t sid, float value)
static HRESULT var_to_styleval(const VARIANT *v, WCHAR *buf, DWORD flags, const WCHAR **ret)
static const WCHAR attrBorderTopColor[]
static HRESULT WINAPI HTMLStyle_get_cursor(IHTMLStyle *iface, BSTR *p)
static HRESULT WINAPI HTMLStyle_get_borderLeft(IHTMLStyle *iface, BSTR *p)
static HRESULT WINAPI HTMLStyle_put_marginRight(IHTMLStyle *iface, VARIANT v)
static const WCHAR attrMinWidth[]
static const WCHAR attrMarginRight[]
WINE_UNICODE_INLINE WCHAR * strchrW(const WCHAR *str, WCHAR ch)
#define DISPID_IHTMLSTYLE_LISTSTYLE
#define DISPID_IHTMLSTYLE2_DIRECTION
static HRESULT WINAPI HTMLStyle_put_borderTopStyle(IHTMLStyle *iface, BSTR v)
static HRESULT WINAPI HTMLStyle_get_display(IHTMLStyle *iface, BSTR *p)
#define DISPID_IHTMLSTYLE6_OUTLINE
#define LOCALE_USER_DEFAULT
WINE_UNICODE_INLINE int isspaceW(WCHAR wc)
static HRESULT WINAPI HTMLStyle_get_fontSize(IHTMLStyle *iface, VARIANT *p)
void HTMLStyle3_Init(HTMLStyle *) DECLSPEC_HIDDEN
#define DISPID_IHTMLSTYLE_BORDERSTYLE
static HRESULT WINAPI HTMLStyle_get_verticalAlign(IHTMLStyle *iface, VARIANT *p)
static HRESULT WINAPI HTMLStyle_put_lineHeight(IHTMLStyle *iface, VARIANT v)
static HRESULT WINAPI HTMLStyle_put_cursor(IHTMLStyle *iface, BSTR v)
static HRESULT WINAPI HTMLStyle_get_textTransform(IHTMLStyle *iface, BSTR *p)
static HRESULT WINAPI HTMLStyle_put_borderRightWidth(IHTMLStyle *iface, VARIANT v)
static const WCHAR attrLeft[]
static HRESULT WINAPI HTMLStyle_get_posHeight(IHTMLStyle *iface, float *p)
static HRESULT WINAPI HTMLStyle_get_borderTopWidth(IHTMLStyle *iface, VARIANT *p)
#define DISPID_IHTMLSTYLE_BORDERBOTTOMSTYLE
static HRESULT WINAPI HTMLStyle_put_cssText(IHTMLStyle *iface, BSTR v)
static HRESULT WINAPI HTMLStyle_put_backgroundPositionX(IHTMLStyle *iface, VARIANT v)
static const WCHAR attrPaddingRight[]
static HRESULT WINAPI HTMLStyle_put_fontStyle(IHTMLStyle *iface, BSTR v)
static const WCHAR attrFontVariant[]
static HRESULT WINAPI HTMLStyle_put_listStyle(IHTMLStyle *iface, BSTR v)
#define DISPID_IHTMLSTYLE_BORDERRIGHTSTYLE
static HRESULT WINAPI HTMLStyle_get_paddingTop(IHTMLStyle *iface, VARIANT *p)
static HRESULT WINAPI HTMLStyle_Invoke(IHTMLStyle *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
static HRESULT WINAPI HTMLStyle_removeAttribute(IHTMLStyle *iface, BSTR strAttributeName, LONG lFlags, VARIANT_BOOL *pfSuccess)
static const WCHAR attrBorderTopWidth[]
#define DISPID_IHTMLSTYLE_BACKGROUNDPOSITIONY
#define DISPID_IHTMLSTYLE_BACKGROUND
static HRESULT WINAPI HTMLStyle_toString(IHTMLStyle *iface, BSTR *String)
#define DISPID_IHTMLSTYLE_LINEHEIGHT
#define ATTR_REMOVE_COMMA
#define DISPID_IHTMLSTYLE_BORDERCOLOR
static HRESULT WINAPI HTMLStyle_put_pixelTop(IHTMLStyle *iface, LONG v)
#define DISPID_IHTMLSTYLE_TEXTALIGN
static HRESULT WINAPI HTMLStyle_get_background(IHTMLStyle *iface, BSTR *p)
HRESULT set_elem_style(HTMLElement *elem, styleid_t styleid, const WCHAR *val)
static HRESULT WINAPI HTMLStyle_put_fontFamily(IHTMLStyle *iface, BSTR v)
static HRESULT WINAPI HTMLStyle_get_borderLeftColor(IHTMLStyle *iface, VARIANT *p)
static HRESULT WINAPI HTMLStyle_get_borderRight(IHTMLStyle *iface, BSTR *p)
static HRESULT WINAPI HTMLStyle_get_borderBottomWidth(IHTMLStyle *iface, VARIANT *p)
static HRESULT WINAPI HTMLStyle_put_paddingLeft(IHTMLStyle *iface, VARIANT v)
static HRESULT WINAPI HTMLStyle_GetIDsOfNames(IHTMLStyle *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
static HRESULT WINAPI HTMLStyle_get_textDecoration(IHTMLStyle *iface, BSTR *p)
HRESULT set_nsstyle_attr(nsIDOMCSSStyleDeclaration *nsstyle, styleid_t sid, const WCHAR *value, DWORD flags)
#define DISPID_IHTMLSTYLE_TEXTINDENT
static HRESULT get_nsstyle_attr_nsval(nsIDOMCSSStyleDeclaration *nsstyle, styleid_t sid, nsAString *value)
static HRESULT WINAPI HTMLStyle_get_whiteSpace(IHTMLStyle *iface, BSTR *p)
#define DISPID_IHTMLSTYLE_PADDING
static const WCHAR attrBackgroundColor[]
static HRESULT WINAPI HTMLStyle_get_border(IHTMLStyle *iface, BSTR *p)
static HRESULT WINAPI HTMLStyle_put_borderTopWidth(IHTMLStyle *iface, VARIANT v)
#define DISPID_IHTMLSTYLE2_BOTTOM
static HRESULT get_nsstyle_pos(HTMLStyle *This, styleid_t sid, float *p)
#define DISPID_IHTMLSTYLE2_OVERFLOWX
#define DISPID_IHTMLSTYLE_COLOR
static HRESULT WINAPI HTMLStyle_QueryInterface(IHTMLStyle *iface, REFIID riid, void **ppv)
static void * heap_alloc(size_t len)
static HRESULT WINAPI HTMLStyle_put_pixelLeft(IHTMLStyle *iface, LONG v)
#define DISPID_IHTMLSTYLE_BORDERLEFTCOLOR
#define DISPID_IHTMLSTYLE_WIDTH
HRESULT get_nsstyle_attr(nsIDOMCSSStyleDeclaration *nsstyle, styleid_t sid, BSTR *p, DWORD flags)
WINE_UNICODE_INLINE int strncmpW(const WCHAR *str1, const WCHAR *str2, int n)
static HRESULT set_style_pxattr(nsIDOMCSSStyleDeclaration *nsstyle, styleid_t sid, LONG value)
static const WCHAR attrVisibility[]
static const WCHAR attrBottom[]
const char * debugstr_mshtml_guid(const GUID *iid)
static HRESULT WINAPI HTMLStyle_get_top(IHTMLStyle *iface, VARIANT *p)
HRESULT get_nsstyle_attr_var(nsIDOMCSSStyleDeclaration *nsstyle, styleid_t sid, VARIANT *p, DWORD flags)
static void set_opacity(HTMLStyle *This, const WCHAR *val)
#define DISPID_IHTMLSTYLE_BORDERLEFTWIDTH
void HTMLStyle2_Init(HTMLStyle *) DECLSPEC_HIDDEN
GLenum GLuint GLenum GLsizei const GLchar * buf
static const WCHAR attrMinHeight[]
#define DISPID_IHTMLSTYLE_BORDERBOTTOMWIDTH
static HRESULT WINAPI HTMLStyle_put_borderBottom(IHTMLStyle *iface, BSTR v)
static const WCHAR attrFontWeight[]
static const WCHAR attrListStylePosition[]
#define DISPID_IHTMLSTYLE_BORDERWIDTH
#define DISPID_IHTMLSTYLE_BACKGROUNDCOLOR
static HRESULT WINAPI HTMLStyle_put_pageBreakBefore(IHTMLStyle *iface, BSTR v)
static HRESULT WINAPI HTMLStyle_put_borderRight(IHTMLStyle *iface, BSTR v)
static HRESULT WINAPI HTMLStyle_put_backgroundPosition(IHTMLStyle *iface, BSTR v)
static HRESULT WINAPI HTMLStyle_get_listStyleType(IHTMLStyle *iface, BSTR *p)
_Must_inspect_result_ _In_ WDFDEVICE _In_ WDFSTRING String
static const WCHAR attrBorderBottomColor[]
static const WCHAR attrPosition[]
static const WCHAR szNormal[]
HRESULT remove_attribute(DispatchEx *This, DISPID id, VARIANT_BOOL *success)
GLenum const GLfloat * params
static HRESULT WINAPI HTMLStyle_get_borderLeftWidth(IHTMLStyle *iface, VARIANT *p)
static const WCHAR attrOverflowX[]
static HRESULT WINAPI HTMLStyle_GetTypeInfo(IHTMLStyle *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
static HRESULT set_style_attr(HTMLStyle *This, styleid_t sid, LPCWSTR value, DWORD flags)
static const WCHAR attrDisplay[]
static HRESULT WINAPI HTMLStyle_get_backgroundPositionY(IHTMLStyle *iface, VARIANT *p)
static HRESULT WINAPI HTMLStyle_get_borderLeftStyle(IHTMLStyle *iface, BSTR *p)
static HRESULT WINAPI HTMLStyle_get_textDecorationNone(IHTMLStyle *iface, VARIANT_BOOL *p)
#define DISPID_IHTMLSTYLE_PAGEBREAKBEFORE
#define DISPID_IHTMLSTYLE4_MINHEIGHT
static const WCHAR valUnderline[]
static HRESULT WINAPI HTMLStyle_get_left(IHTMLStyle *iface, VARIANT *p)
static const WCHAR attrLetterSpacing[]
static WCHAR * heap_strdupW(const WCHAR *str)
static HRESULT WINAPI HTMLStyle_put_padding(IHTMLStyle *iface, BSTR v)
static HRESULT WINAPI HTMLStyle_get_posWidth(IHTMLStyle *iface, float *p)
static HRESULT WINAPI HTMLStyle_get_marginTop(IHTMLStyle *iface, VARIANT *p)
static HRESULT WINAPI HTMLStyle_get_pixelHeight(IHTMLStyle *iface, LONG *p)
static HRESULT WINAPI HTMLStyle_get_textDecorationOverline(IHTMLStyle *iface, VARIANT_BOOL *p)
static HRESULT WINAPI HTMLStyle_get_textDecorationBlink(IHTMLStyle *iface, VARIANT_BOOL *p)
static const WCHAR attrBorderBottom[]
#define DISPID_IHTMLSTYLE_PADDINGLEFT
static HRESULT WINAPI HTMLStyle_put_styleFloat(IHTMLStyle *iface, BSTR v)
static HRESULT WINAPI HTMLStyle_put_backgroundAttachment(IHTMLStyle *iface, BSTR v)
static HRESULT WINAPI HTMLStyle_get_borderBottom(IHTMLStyle *iface, BSTR *p)
static HRESULT WINAPI HTMLStyle_put_borderLeft(IHTMLStyle *iface, BSTR v)
#define DISPID_IHTMLSTYLE_TOP
static const WCHAR attrPaddingBottom[]
static HRESULT WINAPI HTMLStyle_get_listStyle(IHTMLStyle *iface, BSTR *p)
static const WCHAR attrZIndex[]
#define DISPID_IHTMLSTYLE_BORDERRIGHT
static const WCHAR attrBackgroundAttachment[]
static const WCHAR attrPaddingTop[]
static const WCHAR attrWhiteSpace[]
static HRESULT WINAPI HTMLStyle_get_pixelWidth(IHTMLStyle *iface, LONG *p)
static const WCHAR attrTextAlign[]
static const WCHAR attrColor[]
static const WCHAR attrFontStyle[]
#define DISPID_IHTMLSTYLE_FONTVARIANT
BSTR WINAPI SysAllocString(LPCOLESTR str)
#define DISPID_IHTMLSTYLE_WHITESPACE
static HRESULT WINAPI HTMLStyle_get_backgroundRepeat(IHTMLStyle *iface, BSTR *p)
#define DISPID_IHTMLSTYLE_MARGINTOP
static HRESULT WINAPI HTMLStyle_put_backgroundImage(IHTMLStyle *iface, BSTR v)
static const WCHAR attrListStyle[]
static HRESULT get_style_from_elem(HTMLElement *elem, nsIDOMCSSStyleDeclaration **ret)
static const WCHAR attrTextIndent[]
static const WCHAR attrBorderRightWidth[]
static LPWSTR fix_url_value(LPCWSTR val)
#define DISPATCH_PROPERTYPUT
static const WCHAR attrBorderLeft[]
static HRESULT WINAPI HTMLStyle_put_posWidth(IHTMLStyle *iface, float v)
#define DISPID_IHTMLSTYLE_BACKGROUNDPOSITION