ntoskrnl.exe/tests: Fix path buffer allocation size.
[wine.git] / dlls / mshtml / htmlstyle.c
blob7b823499ac845ed7e29d32e28810370cc0b0844b
1 /*
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
19 #include <stdarg.h>
20 #include <assert.h>
21 #include <math.h>
23 #define COBJMACROS
25 #include "windef.h"
26 #include "winbase.h"
27 #include "winuser.h"
28 #include "ole2.h"
29 #include "mshtmdid.h"
31 #include "mshtml_private.h"
32 #include "htmlstyle.h"
34 #include "wine/debug.h"
36 WINE_DEFAULT_DEBUG_CHANNEL(mshtml);
38 static const WCHAR backgroundW[] =
39 {'b','a','c','k','g','r','o','u','n','d',0};
40 static const WCHAR background_attachmentW[] =
41 {'b','a','c','k','g','r','o','u','n','d','-','a','t','t','a','c','h','m','e','n','t',0};
42 static const WCHAR background_clipW[] =
43 {'b','a','c','k','g','r','o','u','n','d','-','c','l','i','p',0};
44 static const WCHAR background_colorW[] =
45 {'b','a','c','k','g','r','o','u','n','d','-','c','o','l','o','r',0};
46 static const WCHAR background_imageW[] =
47 {'b','a','c','k','g','r','o','u','n','d','-','i','m','a','g','e',0};
48 static const WCHAR background_positionW[] =
49 {'b','a','c','k','g','r','o','u','n','d','-','p','o','s','i','t','i','o','n',0};
50 static const WCHAR background_position_xW[] =
51 {'b','a','c','k','g','r','o','u','n','d','-','p','o','s','i','t','i','o','n','-','x',0};
52 static const WCHAR background_position_yW[] =
53 {'b','a','c','k','g','r','o','u','n','d','-','p','o','s','i','t','i','o','n','-','y',0};
54 static const WCHAR background_repeatW[] =
55 {'b','a','c','k','g','r','o','u','n','d','-','r','e','p','e','a','t',0};
56 static const WCHAR borderW[] =
57 {'b','o','r','d','e','r',0};
58 static const WCHAR border_bottomW[] =
59 {'b','o','r','d','e','r','-','b','o','t','t','o','m',0};
60 static const WCHAR border_bottom_colorW[] =
61 {'b','o','r','d','e','r','-','b','o','t','t','o','m','-','c','o','l','o','r',0};
62 static const WCHAR border_bottom_styleW[] =
63 {'b','o','r','d','e','r','-','b','o','t','t','o','m','-','s','t','y','l','e',0};
64 static const WCHAR border_bottom_widthW[] =
65 {'b','o','r','d','e','r','-','b','o','t','t','o','m','-','w','i','d','t','h',0};
66 static const WCHAR border_colorW[] =
67 {'b','o','r','d','e','r','-','c','o','l','o','r',0};
68 static const WCHAR border_leftW[] =
69 {'b','o','r','d','e','r','-','l','e','f','t',0};
70 static const WCHAR border_left_colorW[] =
71 {'b','o','r','d','e','r','-','l','e','f','t','-','c','o','l','o','r',0};
72 static const WCHAR border_left_styleW[] =
73 {'b','o','r','d','e','r','-','l','e','f','t','-','s','t','y','l','e',0};
74 static const WCHAR border_left_widthW[] =
75 {'b','o','r','d','e','r','-','l','e','f','t','-','w','i','d','t','h',0};
76 static const WCHAR border_rightW[] =
77 {'b','o','r','d','e','r','-','r','i','g','h','t',0};
78 static const WCHAR border_right_colorW[] =
79 {'b','o','r','d','e','r','-','r','i','g','h','t','-','c','o','l','o','r',0};
80 static const WCHAR border_right_styleW[] =
81 {'b','o','r','d','e','r','-','r','i','g','h','t','-','s','t','y','l','e',0};
82 static const WCHAR border_right_widthW[] =
83 {'b','o','r','d','e','r','-','r','i','g','h','t','-','w','i','d','t','h',0};
84 static const WCHAR border_topW[] =
85 {'b','o','r','d','e','r','-','t','o','p',0};
86 static const WCHAR border_top_colorW[] =
87 {'b','o','r','d','e','r','-','t','o','p','-','c','o','l','o','r',0};
88 static const WCHAR border_styleW[] =
89 {'b','o','r','d','e','r','-','s','t','y','l','e',0};
90 static const WCHAR border_top_styleW[] =
91 {'b','o','r','d','e','r','-','t','o','p','-','s','t','y','l','e',0};
92 static const WCHAR border_top_widthW[] =
93 {'b','o','r','d','e','r','-','t','o','p','-','w','i','d','t','h',0};
94 static const WCHAR border_widthW[] =
95 {'b','o','r','d','e','r','-','w','i','d','t','h',0};
96 static const WCHAR bottomW[] =
97 {'b','o','t','t','o','m',0};
98 /* FIXME: Use unprefixed version (requires Gecko changes). */
99 static const WCHAR box_sizingW[] =
100 {'-','m','o','z','-','b','o','x','-','s','i','z','i','n','g',0};
101 static const WCHAR clearW[] =
102 {'c','l','e','a','r',0};
103 static const WCHAR clipW[] =
104 {'c','l','i','p',0};
105 static const WCHAR colorW[] =
106 {'c','o','l','o','r',0};
107 static const WCHAR cursorW[] =
108 {'c','u','r','s','o','r',0};
109 static const WCHAR directionW[] =
110 {'d','i','r','e','c','t','i','o','n',0};
111 static const WCHAR displayW[] =
112 {'d','i','s','p','l','a','y',0};
113 static const WCHAR filterW[] =
114 {'f','i','l','e','t','e','r',0};
115 static const WCHAR floatW[] =
116 {'f','l','o','a','t',0};
117 static const WCHAR font_familyW[] =
118 {'f','o','n','t','-','f','a','m','i','l','y',0};
119 static const WCHAR font_sizeW[] =
120 {'f','o','n','t','-','s','i','z','e',0};
121 static const WCHAR font_styleW[] =
122 {'f','o','n','t','-','s','t','y','l','e',0};
123 static const WCHAR font_variantW[] =
124 {'f','o','n','t','-','v','a','r','i','a','n','t',0};
125 static const WCHAR font_weightW[] =
126 {'f','o','n','t','-','w','e','i','g','h','t',0};
127 static const WCHAR heightW[] =
128 {'h','e','i','g','h','t',0};
129 static const WCHAR leftW[] =
130 {'l','e','f','t',0};
131 static const WCHAR letter_spacingW[] =
132 {'l','e','t','t','e','r','-','s','p','a','c','i','n','g',0};
133 static const WCHAR line_heightW[] =
134 {'l','i','n','e','-','h','e','i','g','h','t',0};
135 static const WCHAR list_styleW[] =
136 {'l','i','s','t','-','s','t','y','l','e',0};
137 static const WCHAR list_style_typeW[] =
138 {'l','i','s','t','-','s','t','y','l','e','-','t','y','p','e',0};
139 static const WCHAR list_style_positionW[] =
140 {'l','i','s','t','-','s','t','y','l','e','-','p','o','s','i','t','i','o','n',0};
141 static const WCHAR marginW[] =
142 {'m','a','r','g','i','n',0};
143 static const WCHAR margin_bottomW[] =
144 {'m','a','r','g','i','n','-','b','o','t','t','o','m',0};
145 static const WCHAR margin_leftW[] =
146 {'m','a','r','g','i','n','-','l','e','f','t',0};
147 static const WCHAR margin_rightW[] =
148 {'m','a','r','g','i','n','-','r','i','g','h','t',0};
149 static const WCHAR margin_topW[] =
150 {'m','a','r','g','i','n','-','t','o','p',0};
151 static const WCHAR max_heightW[] =
152 {'m','a','x','-','h','e','i','g','h','t',0};
153 static const WCHAR max_widthW[] =
154 {'m','a','x','-','w','i','d','t','h',0};
155 static const WCHAR min_heightW[] =
156 {'m','i','n','-','h','e','i','g','h','t',0};
157 static const WCHAR min_widthW[] =
158 {'m','i','n','-','w','i','d','t','h',0};
159 static const WCHAR opacityW[] =
160 {'o','p','a','c','i','t','y',0};
161 static const WCHAR outlineW[] =
162 {'o','u','t','l','i','n','e',0};
163 static const WCHAR overflowW[] =
164 {'o','v','e','r','f','l','o','w',0};
165 static const WCHAR overflow_xW[] =
166 {'o','v','e','r','f','l','o','w','-','x',0};
167 static const WCHAR overflow_yW[] =
168 {'o','v','e','r','f','l','o','w','-','y',0};
169 static const WCHAR paddingW[] =
170 {'p','a','d','d','i','n','g',0};
171 static const WCHAR padding_bottomW[] =
172 {'p','a','d','d','i','n','g','-','b','o','t','t','o','m',0};
173 static const WCHAR padding_leftW[] =
174 {'p','a','d','d','i','n','g','-','l','e','f','t',0};
175 static const WCHAR padding_rightW[] =
176 {'p','a','d','d','i','n','g','-','r','i','g','h','t',0};
177 static const WCHAR padding_topW[] =
178 {'p','a','d','d','i','n','g','-','t','o','p',0};
179 static const WCHAR page_break_afterW[] =
180 {'p','a','g','e','-','b','r','e','a','k','-','a','f','t','e','r',0};
181 static const WCHAR page_break_beforeW[] =
182 {'p','a','g','e','-','b','r','e','a','k','-','b','e','f','o','r','e',0};
183 static const WCHAR positionW[] =
184 {'p','o','s','i','t','i','o','n',0};
185 static const WCHAR rightW[] =
186 {'r','i','g','h','t',0};
187 static const WCHAR table_layoutW[] =
188 {'t','a','b','l','e','-','l','a','y','o','u','t',0};
189 static const WCHAR text_alignW[] =
190 {'t','e','x','t','-','a','l','i','g','n',0};
191 static const WCHAR text_decorationW[] =
192 {'t','e','x','t','-','d','e','c','o','r','a','t','i','o','n',0};
193 static const WCHAR text_indentW[] =
194 {'t','e','x','t','-','i','n','d','e','n','t',0};
195 static const WCHAR text_transformW[] =
196 {'t','e','x','t','-','t','r','a','n','s','f','o','r','m',0};
197 static const WCHAR topW[] =
198 {'t','o','p',0};
199 static const WCHAR vertical_alignW[] =
200 {'v','e','r','t','i','c','a','l','-','a','l','i','g','n',0};
201 static const WCHAR visibilityW[] =
202 {'v','i','s','i','b','i','l','i','t','y',0};
203 static const WCHAR white_spaceW[] =
204 {'w','h','i','t','e','-','s','p','a','c','e',0};
205 static const WCHAR widthW[] =
206 {'w','i','d','t','h',0};
207 static const WCHAR word_spacingW[] =
208 {'w','o','r','d','-','s','p','a','c','i','n','g',0};
209 static const WCHAR word_wrapW[] =
210 {'w','o','r','d','-','w','r','a','p',0};
211 static const WCHAR z_indexW[] =
212 {'z','-','i','n','d','e','x',0};
214 static const WCHAR autoW[] = {'a','u','t','o',0};
215 static const WCHAR blinkW[] = {'b','l','i','n','k',0};
216 static const WCHAR boldW[] = {'b','o','l','d',0};
217 static const WCHAR bolderW[] = {'b','o','l','d','e','r',0};
218 static const WCHAR capsW[] = {'s','m','a','l','l','-','c','a','p','s',0};
219 static const WCHAR dashedW[] = {'d','a','s','h','e','d',0};
220 static const WCHAR dottedW[] = {'d','o','t','t','e','d',0};
221 static const WCHAR doubleW[] = {'d','o','u','b','l','e',0};
222 static const WCHAR grooveW[] = {'g','r','o','o','v','e',0};
223 static const WCHAR hiddenW[] = {'h','i','d','d','e','n',0};
224 static const WCHAR insetW[] = {'i','n','s','e','t',0};
225 static const WCHAR italicW[] = {'i','t','a','l','i','c',0};
226 static const WCHAR lighterW[] = {'l','i','g','h','t','e','r',0};
227 static const WCHAR line_throughW[] = {'l','i','n','e','-','t','h','r','o','u','g','h',0};
228 static const WCHAR no_repeatW[] = {'n','o','-','r','e','p','e','a','t',0};
229 static const WCHAR noneW[] = {'n','o','n','e',0};
230 static const WCHAR normalW[] = {'n','o','r','m','a','l',0};
231 static const WCHAR obliqueW[] = {'o','b','l','i','q','u','e',0};
232 static const WCHAR outsetW[] = {'o','u','t','s','e','t',0};
233 static const WCHAR overlineW[] = {'o','v','e','r','l','i','n','e',0};
234 static const WCHAR repeatW[] = {'r','e','p','e','a','t',0};
235 static const WCHAR repeat_xW[] = {'r','e','p','e','a','t','-','x',0};
236 static const WCHAR repeat_yW[] = {'r','e','p','e','a','t','-','y',0};
237 static const WCHAR ridgeW[] = {'r','i','d','g','e',0};
238 static const WCHAR scrollW[] = {'s','c','r','o','l','l',0};
239 static const WCHAR solidW[] = {'s','o','l','i','d',0};
240 static const WCHAR underlineW[] = {'u','n','d','e','r','l','i','n','e',0};
241 static const WCHAR visibleW[] = {'v','i','s','i','b','l','e',0};
243 static const WCHAR style100W[] = {'1','0','0',0};
244 static const WCHAR style200W[] = {'2','0','0',0};
245 static const WCHAR style300W[] = {'3','0','0',0};
246 static const WCHAR style400W[] = {'4','0','0',0};
247 static const WCHAR style500W[] = {'5','0','0',0};
248 static const WCHAR style600W[] = {'6','0','0',0};
249 static const WCHAR style700W[] = {'7','0','0',0};
250 static const WCHAR style800W[] = {'8','0','0',0};
251 static const WCHAR style900W[] = {'9','0','0',0};
253 static const WCHAR *font_style_values[] = {
254 italicW,
255 normalW,
256 obliqueW,
257 NULL
260 static const WCHAR *font_variant_values[] = {
261 capsW,
262 normalW,
263 NULL
266 static const WCHAR *font_weight_values[] = {
267 style100W,
268 style200W,
269 style300W,
270 style400W,
271 style500W,
272 style600W,
273 style700W,
274 style800W,
275 style900W,
276 boldW,
277 bolderW,
278 lighterW,
279 normalW,
280 NULL
283 static const WCHAR *background_repeat_values[] = {
284 no_repeatW,
285 repeatW,
286 repeat_xW,
287 repeat_yW,
288 NULL
291 static const WCHAR *text_decoration_values[] = {
292 blinkW,
293 line_throughW,
294 noneW,
295 overlineW,
296 underlineW,
297 NULL
300 static const WCHAR *border_style_values[] = {
301 dashedW,
302 dottedW,
303 doubleW,
304 grooveW,
305 insetW,
306 noneW,
307 outsetW,
308 ridgeW,
309 solidW,
310 NULL
313 static const WCHAR *overflow_values[] = {
314 autoW,
315 hiddenW,
316 scrollW,
317 visibleW,
318 NULL
321 #define ATTR_FIX_PX 0x0001
322 #define ATTR_FIX_URL 0x0002
323 #define ATTR_STR_TO_INT 0x0004
324 #define ATTR_HEX_INT 0x0008
325 #define ATTR_REMOVE_COMMA 0x0010
326 #define ATTR_NO_NULL 0x0020
328 static const WCHAR pxW[] = {'p','x',0};
330 typedef struct {
331 const WCHAR *name;
332 DISPID dispid;
333 DISPID compat_dispid;
334 unsigned flags;
335 const WCHAR **allowed_values;
336 } style_tbl_entry_t;
338 static const style_tbl_entry_t style_tbl[] = {
340 backgroundW,
341 DISPID_IHTMLCSSSTYLEDECLARATION_BACKGROUND,
342 DISPID_IHTMLSTYLE_BACKGROUND
345 background_attachmentW,
346 DISPID_IHTMLCSSSTYLEDECLARATION_BACKGROUNDATTACHMENT,
347 DISPID_IHTMLSTYLE_BACKGROUNDATTACHMENT
350 background_clipW,
351 DISPID_IHTMLCSSSTYLEDECLARATION_BACKGROUNDCLIP,
352 DISPID_UNKNOWN
355 background_colorW,
356 DISPID_IHTMLCSSSTYLEDECLARATION_BACKGROUNDCOLOR,
357 DISPID_IHTMLSTYLE_BACKGROUNDCOLOR,
358 ATTR_HEX_INT
361 background_imageW,
362 DISPID_IHTMLCSSSTYLEDECLARATION_BACKGROUNDIMAGE,
363 DISPID_IHTMLSTYLE_BACKGROUNDIMAGE,
364 ATTR_FIX_URL
367 background_positionW,
368 DISPID_IHTMLCSSSTYLEDECLARATION_BACKGROUNDPOSITION,
369 DISPID_IHTMLSTYLE_BACKGROUNDPOSITION
372 background_position_xW,
373 DISPID_IHTMLCSSSTYLEDECLARATION_BACKGROUNDPOSITIONX,
374 DISPID_IHTMLSTYLE_BACKGROUNDPOSITIONX,
375 ATTR_FIX_PX
378 background_position_yW,
379 DISPID_IHTMLCSSSTYLEDECLARATION_BACKGROUNDPOSITIONY,
380 DISPID_IHTMLSTYLE_BACKGROUNDPOSITIONY,
381 ATTR_FIX_PX
384 background_repeatW,
385 DISPID_IHTMLCSSSTYLEDECLARATION_BACKGROUNDREPEAT,
386 DISPID_IHTMLSTYLE_BACKGROUNDREPEAT,
387 0, background_repeat_values
390 borderW,
391 DISPID_IHTMLCSSSTYLEDECLARATION_BORDER,
392 DISPID_IHTMLSTYLE_BORDER
395 border_bottomW,
396 DISPID_IHTMLCSSSTYLEDECLARATION_BORDERBOTTOM,
397 DISPID_IHTMLSTYLE_BORDERBOTTOM,
398 ATTR_FIX_PX
401 border_bottom_colorW,
402 DISPID_IHTMLCSSSTYLEDECLARATION_BORDERBOTTOMCOLOR,
403 DISPID_IHTMLSTYLE_BORDERBOTTOMCOLOR,
404 ATTR_HEX_INT
407 border_bottom_styleW,
408 DISPID_IHTMLCSSSTYLEDECLARATION_BORDERBOTTOMSTYLE,
409 DISPID_IHTMLSTYLE_BORDERBOTTOMSTYLE,
410 0, border_style_values
413 border_bottom_widthW,
414 DISPID_IHTMLCSSSTYLEDECLARATION_BORDERBOTTOMWIDTH,
415 DISPID_IHTMLSTYLE_BORDERBOTTOMWIDTH,
416 ATTR_FIX_PX
419 border_colorW,
420 DISPID_IHTMLCSSSTYLEDECLARATION_BORDERCOLOR,
421 DISPID_IHTMLSTYLE_BORDERCOLOR
424 border_leftW,
425 DISPID_IHTMLCSSSTYLEDECLARATION_BORDERLEFT,
426 DISPID_IHTMLSTYLE_BORDERLEFT,
427 ATTR_FIX_PX
430 border_left_colorW,
431 DISPID_IHTMLCSSSTYLEDECLARATION_BORDERLEFTCOLOR,
432 DISPID_IHTMLSTYLE_BORDERLEFTCOLOR,
433 ATTR_HEX_INT
436 border_left_styleW,
437 DISPID_IHTMLCSSSTYLEDECLARATION_BORDERLEFTSTYLE,
438 DISPID_IHTMLSTYLE_BORDERLEFTSTYLE,
439 0, border_style_values
442 border_left_widthW,
443 DISPID_IHTMLCSSSTYLEDECLARATION_BORDERLEFTWIDTH,
444 DISPID_IHTMLSTYLE_BORDERLEFTWIDTH,
445 ATTR_FIX_PX
448 border_rightW,
449 DISPID_IHTMLCSSSTYLEDECLARATION_BORDERRIGHT,
450 DISPID_IHTMLSTYLE_BORDERRIGHT,
451 ATTR_FIX_PX
454 border_right_colorW,
455 DISPID_IHTMLCSSSTYLEDECLARATION_BORDERRIGHTCOLOR,
456 DISPID_IHTMLSTYLE_BORDERRIGHTCOLOR,
457 ATTR_HEX_INT
460 border_right_styleW,
461 DISPID_IHTMLCSSSTYLEDECLARATION_BORDERRIGHTSTYLE,
462 DISPID_IHTMLSTYLE_BORDERRIGHTSTYLE,
463 0, border_style_values
466 border_right_widthW,
467 DISPID_IHTMLCSSSTYLEDECLARATION_BORDERRIGHTWIDTH,
468 DISPID_IHTMLSTYLE_BORDERRIGHTWIDTH,
469 ATTR_FIX_PX
472 border_styleW,
473 DISPID_IHTMLCSSSTYLEDECLARATION_BORDERSTYLE,
474 DISPID_IHTMLSTYLE_BORDERSTYLE
477 border_topW,
478 DISPID_IHTMLCSSSTYLEDECLARATION_BORDERTOP,
479 DISPID_IHTMLSTYLE_BORDERTOP,
480 ATTR_FIX_PX
483 border_top_colorW,
484 DISPID_IHTMLCSSSTYLEDECLARATION_BORDERTOPCOLOR,
485 DISPID_IHTMLSTYLE_BORDERTOPCOLOR,
486 ATTR_HEX_INT
489 border_top_styleW,
490 DISPID_IHTMLCSSSTYLEDECLARATION_BORDERTOPSTYLE,
491 DISPID_IHTMLSTYLE_BORDERTOPSTYLE,
492 0, border_style_values
495 border_top_widthW,
496 DISPID_IHTMLCSSSTYLEDECLARATION_BORDERTOPWIDTH,
497 DISPID_IHTMLSTYLE_BORDERTOPWIDTH
500 border_widthW,
501 DISPID_IHTMLCSSSTYLEDECLARATION_BORDERWIDTH,
502 DISPID_IHTMLSTYLE_BORDERWIDTH
505 bottomW,
506 DISPID_IHTMLCSSSTYLEDECLARATION_BOTTOM,
507 DISPID_IHTMLSTYLE2_BOTTOM,
508 ATTR_FIX_PX
511 box_sizingW,
512 DISPID_IHTMLCSSSTYLEDECLARATION_BOXSIZING,
513 DISPID_IHTMLSTYLE6_BOXSIZING
516 clearW,
517 DISPID_IHTMLCSSSTYLEDECLARATION_CLEAR,
518 DISPID_IHTMLSTYLE_CLEAR
521 clipW,
522 DISPID_IHTMLCSSSTYLEDECLARATION_CLIP,
523 DISPID_IHTMLSTYLE_CLIP,
524 ATTR_REMOVE_COMMA
527 colorW,
528 DISPID_IHTMLCSSSTYLEDECLARATION_COLOR,
529 DISPID_IHTMLSTYLE_COLOR,
530 ATTR_HEX_INT
533 cursorW,
534 DISPID_IHTMLCSSSTYLEDECLARATION_CURSOR,
535 DISPID_IHTMLSTYLE_CURSOR
538 directionW,
539 DISPID_IHTMLCSSSTYLEDECLARATION_DIRECTION,
540 DISPID_IHTMLSTYLE2_DIRECTION
543 displayW,
544 DISPID_IHTMLCSSSTYLEDECLARATION_DISPLAY,
545 DISPID_IHTMLSTYLE_DISPLAY
548 filterW,
549 DISPID_IHTMLCSSSTYLEDECLARATION_FILTER,
550 DISPID_IHTMLSTYLE_FILTER
553 floatW,
554 DISPID_IHTMLCSSSTYLEDECLARATION_CSSFLOAT,
555 DISPID_IHTMLSTYLE_STYLEFLOAT
558 font_familyW,
559 DISPID_IHTMLCSSSTYLEDECLARATION_FONTFAMILY,
560 DISPID_IHTMLSTYLE_FONTFAMILY
563 font_sizeW,
564 DISPID_IHTMLCSSSTYLEDECLARATION_FONTSIZE,
565 DISPID_IHTMLSTYLE_FONTSIZE,
566 ATTR_FIX_PX
569 font_styleW,
570 DISPID_IHTMLCSSSTYLEDECLARATION_FONTSTYLE,
571 DISPID_IHTMLSTYLE_FONTSTYLE,
572 0, font_style_values
575 font_variantW,
576 DISPID_IHTMLCSSSTYLEDECLARATION_FONTVARIANT,
577 DISPID_IHTMLSTYLE_FONTVARIANT,
578 0, font_variant_values
581 font_weightW,
582 DISPID_IHTMLCSSSTYLEDECLARATION_FONTWEIGHT,
583 DISPID_IHTMLSTYLE_FONTWEIGHT,
584 ATTR_STR_TO_INT, font_weight_values
587 heightW,
588 DISPID_IHTMLCSSSTYLEDECLARATION_HEIGHT,
589 DISPID_IHTMLSTYLE_HEIGHT,
590 ATTR_FIX_PX
593 leftW,
594 DISPID_IHTMLCSSSTYLEDECLARATION_LEFT,
595 DISPID_IHTMLSTYLE_LEFT
598 letter_spacingW,
599 DISPID_IHTMLCSSSTYLEDECLARATION_LETTERSPACING,
600 DISPID_IHTMLSTYLE_LETTERSPACING
603 line_heightW,
604 DISPID_IHTMLCSSSTYLEDECLARATION_LINEHEIGHT,
605 DISPID_IHTMLSTYLE_LINEHEIGHT
608 list_styleW,
609 DISPID_IHTMLCSSSTYLEDECLARATION_LISTSTYLE,
610 DISPID_IHTMLSTYLE_LISTSTYLE
613 list_style_positionW,
614 DISPID_IHTMLCSSSTYLEDECLARATION_LISTSTYLEPOSITION,
615 DISPID_IHTMLSTYLE_LISTSTYLEPOSITION
618 list_style_typeW,
619 DISPID_IHTMLCSSSTYLEDECLARATION_LISTSTYLETYPE,
620 DISPID_IHTMLSTYLE_LISTSTYLETYPE
623 marginW,
624 DISPID_IHTMLCSSSTYLEDECLARATION_MARGIN,
625 DISPID_IHTMLSTYLE_MARGIN
628 margin_bottomW,
629 DISPID_IHTMLCSSSTYLEDECLARATION_MARGINBOTTOM,
630 DISPID_IHTMLSTYLE_MARGINBOTTOM,
631 ATTR_FIX_PX
634 margin_leftW,
635 DISPID_IHTMLCSSSTYLEDECLARATION_MARGINLEFT,
636 DISPID_IHTMLSTYLE_MARGINLEFT,
637 ATTR_FIX_PX
640 margin_rightW,
641 DISPID_IHTMLCSSSTYLEDECLARATION_MARGINRIGHT,
642 DISPID_IHTMLSTYLE_MARGINRIGHT,
643 ATTR_FIX_PX
646 margin_topW,
647 DISPID_IHTMLCSSSTYLEDECLARATION_MARGINTOP,
648 DISPID_IHTMLSTYLE_MARGINTOP,
649 ATTR_FIX_PX
652 max_heightW,
653 DISPID_IHTMLCSSSTYLEDECLARATION_MAXHEIGHT,
654 DISPID_IHTMLSTYLE5_MAXHEIGHT,
655 ATTR_FIX_PX
658 max_widthW,
659 DISPID_IHTMLCSSSTYLEDECLARATION_MAXWIDTH,
660 DISPID_IHTMLSTYLE5_MAXWIDTH,
661 ATTR_FIX_PX
664 min_heightW,
665 DISPID_IHTMLCSSSTYLEDECLARATION_MINHEIGHT,
666 DISPID_IHTMLSTYLE4_MINHEIGHT
669 min_widthW,
670 DISPID_IHTMLCSSSTYLEDECLARATION_MINWIDTH,
671 DISPID_IHTMLSTYLE5_MINWIDTH,
672 ATTR_FIX_PX
675 opacityW,
676 DISPID_IHTMLCSSSTYLEDECLARATION_OPACITY,
677 DISPID_UNKNOWN
680 outlineW,
681 DISPID_IHTMLCSSSTYLEDECLARATION_OUTLINE,
682 DISPID_IHTMLSTYLE6_OUTLINE,
683 ATTR_NO_NULL
686 overflowW,
687 DISPID_IHTMLCSSSTYLEDECLARATION_OVERFLOW,
688 DISPID_IHTMLSTYLE_OVERFLOW,
689 0, overflow_values
692 overflow_xW,
693 DISPID_IHTMLCSSSTYLEDECLARATION_OVERFLOWX,
694 DISPID_IHTMLSTYLE2_OVERFLOWX
697 overflow_yW,
698 DISPID_IHTMLCSSSTYLEDECLARATION_OVERFLOWY,
699 DISPID_IHTMLSTYLE2_OVERFLOWY
702 paddingW,
703 DISPID_IHTMLCSSSTYLEDECLARATION_PADDING,
704 DISPID_IHTMLSTYLE_PADDING
707 padding_bottomW,
708 DISPID_IHTMLCSSSTYLEDECLARATION_PADDINGBOTTOM,
709 DISPID_IHTMLSTYLE_PADDINGBOTTOM,
710 ATTR_FIX_PX
713 padding_leftW,
714 DISPID_IHTMLCSSSTYLEDECLARATION_PADDINGLEFT,
715 DISPID_IHTMLSTYLE_PADDINGLEFT,
716 ATTR_FIX_PX
719 padding_rightW,
720 DISPID_IHTMLCSSSTYLEDECLARATION_PADDINGRIGHT,
721 DISPID_IHTMLSTYLE_PADDINGRIGHT,
722 ATTR_FIX_PX
725 padding_topW,
726 DISPID_IHTMLCSSSTYLEDECLARATION_PADDINGTOP,
727 DISPID_IHTMLSTYLE_PADDINGTOP,
728 ATTR_FIX_PX
731 page_break_afterW,
732 DISPID_IHTMLCSSSTYLEDECLARATION_PAGEBREAKAFTER,
733 DISPID_IHTMLSTYLE_PAGEBREAKAFTER
736 page_break_beforeW,
737 DISPID_IHTMLCSSSTYLEDECLARATION_PAGEBREAKBEFORE,
738 DISPID_IHTMLSTYLE_PAGEBREAKBEFORE
741 positionW,
742 DISPID_IHTMLCSSSTYLEDECLARATION_POSITION,
743 DISPID_IHTMLSTYLE2_POSITION
746 rightW,
747 DISPID_IHTMLCSSSTYLEDECLARATION_RIGHT,
748 DISPID_IHTMLSTYLE2_RIGHT
751 table_layoutW,
752 DISPID_IHTMLCSSSTYLEDECLARATION_TABLELAYOUT,
753 DISPID_IHTMLSTYLE2_TABLELAYOUT
756 text_alignW,
757 DISPID_IHTMLCSSSTYLEDECLARATION_TEXTALIGN,
758 DISPID_IHTMLSTYLE_TEXTALIGN
761 text_decorationW,
762 DISPID_IHTMLCSSSTYLEDECLARATION_TEXTDECORATION,
763 DISPID_IHTMLSTYLE_TEXTDECORATION,
764 0, text_decoration_values
767 text_indentW,
768 DISPID_IHTMLCSSSTYLEDECLARATION_TEXTINDENT,
769 DISPID_IHTMLSTYLE_TEXTINDENT,
770 ATTR_FIX_PX
773 text_transformW,
774 DISPID_IHTMLCSSSTYLEDECLARATION_TEXTTRANSFORM,
775 DISPID_IHTMLSTYLE_TEXTTRANSFORM
778 topW,
779 DISPID_IHTMLCSSSTYLEDECLARATION_TOP,
780 DISPID_IHTMLSTYLE_TOP
783 vertical_alignW,
784 DISPID_IHTMLCSSSTYLEDECLARATION_VERTICALALIGN,
785 DISPID_IHTMLSTYLE_VERTICALALIGN,
786 ATTR_FIX_PX
789 visibilityW,
790 DISPID_IHTMLCSSSTYLEDECLARATION_VISIBILITY,
791 DISPID_IHTMLSTYLE_VISIBILITY
794 white_spaceW,
795 DISPID_IHTMLCSSSTYLEDECLARATION_WHITESPACE,
796 DISPID_IHTMLSTYLE_WHITESPACE
799 widthW,
800 DISPID_IHTMLCSSSTYLEDECLARATION_WIDTH,
801 DISPID_IHTMLSTYLE_WIDTH,
802 ATTR_FIX_PX
805 word_spacingW,
806 DISPID_IHTMLCSSSTYLEDECLARATION_WORDSPACING,
807 DISPID_IHTMLSTYLE_WORDSPACING
810 word_wrapW,
811 DISPID_IHTMLCSSSTYLEDECLARATION_WORDWRAP,
812 DISPID_IHTMLSTYLE3_WORDWRAP
815 z_indexW,
816 DISPID_IHTMLCSSSTYLEDECLARATION_ZINDEX,
817 DISPID_IHTMLSTYLE_ZINDEX,
818 ATTR_STR_TO_INT
822 C_ASSERT(ARRAY_SIZE(style_tbl) == STYLEID_MAX_VALUE);
824 static const WCHAR px_formatW[] = {'%','d','p','x',0};
825 static const WCHAR emptyW[] = {0};
827 static const style_tbl_entry_t *lookup_style_tbl(const WCHAR *name)
829 int c, i, min = 0, max = ARRAY_SIZE(style_tbl)-1;
831 while(min <= max) {
832 i = (min+max)/2;
834 c = strcmpW(style_tbl[i].name, name);
835 if(!c)
836 return style_tbl+i;
838 if(c > 0)
839 max = i-1;
840 else
841 min = i+1;
844 return NULL;
847 static LPWSTR fix_px_value(LPCWSTR val)
849 LPCWSTR ptr = val;
851 while(*ptr) {
852 while(*ptr && isspaceW(*ptr))
853 ptr++;
854 if(!*ptr)
855 break;
857 while(*ptr && isdigitW(*ptr))
858 ptr++;
860 if(!*ptr || isspaceW(*ptr)) {
861 LPWSTR ret, p;
862 int len = strlenW(val)+1;
864 ret = heap_alloc((len+2)*sizeof(WCHAR));
865 memcpy(ret, val, (ptr-val)*sizeof(WCHAR));
866 p = ret + (ptr-val);
867 *p++ = 'p';
868 *p++ = 'x';
869 strcpyW(p, ptr);
871 TRACE("fixed %s -> %s\n", debugstr_w(val), debugstr_w(ret));
873 return ret;
876 while(*ptr && !isspaceW(*ptr))
877 ptr++;
880 return NULL;
883 static LPWSTR fix_url_value(LPCWSTR val)
885 WCHAR *ret, *ptr;
887 static const WCHAR urlW[] = {'u','r','l','('};
889 if(strncmpW(val, urlW, ARRAY_SIZE(urlW)) || !strchrW(val, '\\'))
890 return NULL;
892 ret = heap_strdupW(val);
894 for(ptr = ret; *ptr; ptr++) {
895 if(*ptr == '\\')
896 *ptr = '/';
899 return ret;
902 static HRESULT set_nsstyle_property(nsIDOMCSSStyleDeclaration *nsstyle, styleid_t sid, const WCHAR *value)
904 nsAString str_name, str_value, str_empty;
905 nsresult nsres;
907 nsAString_InitDepend(&str_name, style_tbl[sid].name);
908 nsAString_InitDepend(&str_value, value);
909 nsAString_InitDepend(&str_empty, emptyW);
911 nsres = nsIDOMCSSStyleDeclaration_SetProperty(nsstyle, &str_name, &str_value, &str_empty);
912 if(NS_FAILED(nsres))
913 ERR("SetProperty failed: %08x\n", nsres);
915 nsAString_Finish(&str_name);
916 nsAString_Finish(&str_value);
917 nsAString_Finish(&str_empty);
919 return S_OK;
922 static HRESULT var_to_styleval(HTMLStyle *style, const VARIANT *v, styleid_t sid, WCHAR *buf, const WCHAR **ret)
924 switch(V_VT(v)) {
925 case VT_NULL:
926 *ret = emptyW;
927 return S_OK;
929 case VT_BSTR:
930 *ret = V_BSTR(v);
931 return S_OK;
933 case VT_BSTR|VT_BYREF:
934 *ret = *V_BSTRREF(v);
935 return S_OK;
937 case VT_I4: {
938 unsigned flags = dispex_compat_mode(&style->dispex) < COMPAT_MODE_IE9 ? style_tbl[sid].flags : 0;
939 static const WCHAR formatW[] = {'%','d',0};
940 static const WCHAR hex_formatW[] = {'#','%','0','6','x',0};
942 if(flags & ATTR_HEX_INT)
943 wsprintfW(buf, hex_formatW, V_I4(v));
944 else if(flags & ATTR_FIX_PX)
945 wsprintfW(buf, px_formatW, V_I4(v));
946 else
947 wsprintfW(buf, formatW, V_I4(v));
949 *ret = buf;
950 return S_OK;
952 default:
953 FIXME("not implemented for %s\n", debugstr_variant(v));
954 return E_NOTIMPL;
959 static inline HRESULT set_style_property(HTMLStyle *style, styleid_t sid, const WCHAR *value)
961 WCHAR *val = NULL;
962 HRESULT hres;
964 if(value && *value && dispex_compat_mode(&style->dispex) < COMPAT_MODE_IE9) {
965 unsigned flags = style_tbl[sid].flags;
967 if(style_tbl[sid].allowed_values) {
968 const WCHAR **iter;
969 for(iter = style_tbl[sid].allowed_values; *iter; iter++) {
970 if(!strcmpiW(*iter, value))
971 break;
973 if(!*iter) {
974 WARN("invalid value %s\n", debugstr_w(value));
975 set_nsstyle_property(style->nsstyle, sid, emptyW);
976 return E_INVALIDARG;
980 if(flags & ATTR_FIX_PX)
981 val = fix_px_value(value);
982 else if(flags & ATTR_FIX_URL)
983 val = fix_url_value(value);
986 hres = set_nsstyle_property(style->nsstyle, sid, val ? val : value);
987 heap_free(val);
988 return hres;
991 static HRESULT set_style_property_var(HTMLStyle *style, styleid_t sid, VARIANT *value)
993 const WCHAR *val;
994 WCHAR buf[14];
995 HRESULT hres;
997 hres = var_to_styleval(style, value, sid, buf, &val);
998 if(FAILED(hres))
999 return hres;
1001 return set_style_property(style, sid, val);
1004 static HRESULT get_nsstyle_attr_nsval(nsIDOMCSSStyleDeclaration *nsstyle, styleid_t sid, nsAString *value)
1006 nsAString str_name;
1007 nsresult nsres;
1009 nsAString_InitDepend(&str_name, style_tbl[sid].name);
1010 nsres = nsIDOMCSSStyleDeclaration_GetPropertyValue(nsstyle, &str_name, value);
1011 nsAString_Finish(&str_name);
1012 if(NS_FAILED(nsres)) {
1013 ERR("SetProperty failed: %08x\n", nsres);
1014 return E_FAIL;
1017 return S_OK;
1020 static HRESULT nsstyle_to_bstr(const WCHAR *val, DWORD flags, BSTR *p)
1022 BSTR ret;
1023 DWORD len;
1025 if(!*val) {
1026 *p = (flags & ATTR_NO_NULL) ? SysAllocStringLen(NULL, 0) : NULL;
1027 return S_OK;
1030 ret = SysAllocString(val);
1031 if(!ret)
1032 return E_OUTOFMEMORY;
1034 len = SysStringLen(ret);
1036 if(flags & ATTR_REMOVE_COMMA) {
1037 DWORD new_len = len;
1038 WCHAR *ptr, *ptr2;
1040 for(ptr = ret; (ptr = strchrW(ptr, ',')); ptr++)
1041 new_len--;
1043 if(new_len != len) {
1044 BSTR new_ret;
1046 new_ret = SysAllocStringLen(NULL, new_len);
1047 if(!new_ret) {
1048 SysFreeString(ret);
1049 return E_OUTOFMEMORY;
1052 for(ptr2 = new_ret, ptr = ret; *ptr; ptr++) {
1053 if(*ptr != ',')
1054 *ptr2++ = *ptr;
1057 SysFreeString(ret);
1058 ret = new_ret;
1062 *p = ret;
1063 return S_OK;
1066 HRESULT get_nsstyle_property(nsIDOMCSSStyleDeclaration *nsstyle, styleid_t sid, compat_mode_t compat_mode, BSTR *p)
1068 nsAString str_value;
1069 const PRUnichar *value;
1070 HRESULT hres;
1072 nsAString_Init(&str_value, NULL);
1074 get_nsstyle_attr_nsval(nsstyle, sid, &str_value);
1076 nsAString_GetData(&str_value, &value);
1077 hres = nsstyle_to_bstr(value, compat_mode < COMPAT_MODE_IE9 ? style_tbl[sid].flags : 0, p);
1078 nsAString_Finish(&str_value);
1080 TRACE("%s -> %s\n", debugstr_w(style_tbl[sid].name), debugstr_w(*p));
1081 return hres;
1084 HRESULT get_nsstyle_property_var(nsIDOMCSSStyleDeclaration *nsstyle, styleid_t sid, compat_mode_t compat_mode, VARIANT *p)
1086 unsigned flags = style_tbl[sid].flags;
1087 nsAString str_value;
1088 const PRUnichar *value;
1089 BOOL set = FALSE;
1090 HRESULT hres = S_OK;
1092 nsAString_Init(&str_value, NULL);
1094 get_nsstyle_attr_nsval(nsstyle, sid, &str_value);
1096 nsAString_GetData(&str_value, &value);
1098 if((flags & ATTR_STR_TO_INT) && (*value || compat_mode < COMPAT_MODE_IE9)) {
1099 const PRUnichar *ptr = value;
1100 BOOL neg = FALSE;
1101 INT i = 0;
1103 if(*ptr == '-') {
1104 neg = TRUE;
1105 ptr++;
1108 while(isdigitW(*ptr))
1109 i = i*10 + (*ptr++ - '0');
1111 if(!*ptr) {
1112 V_VT(p) = VT_I4;
1113 V_I4(p) = neg ? -i : i;
1114 set = TRUE;
1118 if(!set) {
1119 BSTR str;
1121 hres = nsstyle_to_bstr(value, compat_mode < COMPAT_MODE_IE9 ? flags : 0, &str);
1122 if(SUCCEEDED(hres)) {
1123 V_VT(p) = VT_BSTR;
1124 V_BSTR(p) = str;
1128 nsAString_Finish(&str_value);
1130 TRACE("%s -> %s\n", debugstr_w(style_tbl[sid].name), debugstr_variant(p));
1131 return S_OK;
1134 static inline HRESULT get_style_property(HTMLStyle *This, styleid_t sid, BSTR *p)
1136 return get_nsstyle_property(This->nsstyle, sid, dispex_compat_mode(&This->dispex), p);
1139 static inline HRESULT get_style_property_var(HTMLStyle *This, styleid_t sid, VARIANT *v)
1141 return get_nsstyle_property_var(This->nsstyle, sid, dispex_compat_mode(&This->dispex), v);
1144 static HRESULT check_style_attr_value(HTMLStyle *This, styleid_t sid, LPCWSTR exval, VARIANT_BOOL *p)
1146 nsAString str_value;
1147 const PRUnichar *value;
1149 nsAString_Init(&str_value, NULL);
1151 get_nsstyle_attr_nsval(This->nsstyle, sid, &str_value);
1153 nsAString_GetData(&str_value, &value);
1154 *p = variant_bool(!strcmpW(value, exval));
1155 nsAString_Finish(&str_value);
1157 TRACE("%s -> %x\n", debugstr_w(style_tbl[sid].name), *p);
1158 return S_OK;
1161 static inline HRESULT set_style_pos(HTMLStyle *This, styleid_t sid, float value)
1163 static const WCHAR szFormat[] = {'%','.','0','f','p','x',0};
1164 WCHAR szValue[25];
1166 value = floor(value);
1168 sprintfW(szValue, szFormat, value);
1170 return set_style_property(This, sid, szValue);
1173 static HRESULT set_style_pxattr(HTMLStyle *style, styleid_t sid, LONG value)
1175 WCHAR value_str[16];
1177 sprintfW(value_str, px_formatW, value);
1179 return set_style_property(style, sid, value_str);
1182 static HRESULT get_nsstyle_pos(HTMLStyle *This, styleid_t sid, float *p)
1184 nsAString str_value;
1185 HRESULT hres;
1187 TRACE("%p %d %p\n", This, sid, p);
1189 *p = 0.0f;
1191 nsAString_Init(&str_value, NULL);
1193 hres = get_nsstyle_attr_nsval(This->nsstyle, sid, &str_value);
1194 if(hres == S_OK)
1196 WCHAR *ptr;
1197 const PRUnichar *value;
1199 nsAString_GetData(&str_value, &value);
1200 if(value)
1202 *p = strtolW(value, &ptr, 10);
1204 if(*ptr && strcmpW(ptr, pxW))
1206 nsAString_Finish(&str_value);
1207 FIXME("only px values are currently supported\n");
1208 hres = E_FAIL;
1213 TRACE("ret %f\n", *p);
1215 nsAString_Finish(&str_value);
1216 return hres;
1219 static HRESULT get_nsstyle_pixel_val(HTMLStyle *This, styleid_t sid, LONG *p)
1221 nsAString str_value;
1222 HRESULT hres;
1224 if(!p)
1225 return E_POINTER;
1227 nsAString_Init(&str_value, NULL);
1229 hres = get_nsstyle_attr_nsval(This->nsstyle, sid, &str_value);
1230 if(hres == S_OK) {
1231 WCHAR *ptr = NULL;
1232 const PRUnichar *value;
1234 nsAString_GetData(&str_value, &value);
1235 if(value) {
1236 *p = strtolW(value, &ptr, 10);
1238 if(*ptr == '.') {
1239 /* Skip all digits. We have tests showing that we should not round the value. */
1240 while(isdigitW(*++ptr));
1244 if(!ptr || (*ptr && strcmpW(ptr, pxW)))
1245 *p = 0;
1248 nsAString_Finish(&str_value);
1249 return hres;
1252 static BOOL is_valid_border_style(BSTR v)
1254 return !v || strcmpiW(v, noneW) == 0 || strcmpiW(v, dottedW) == 0 ||
1255 strcmpiW(v, dashedW) == 0 || strcmpiW(v, solidW) == 0 ||
1256 strcmpiW(v, doubleW) == 0 || strcmpiW(v, grooveW) == 0 ||
1257 strcmpiW(v, ridgeW) == 0 || strcmpiW(v, insetW) == 0 ||
1258 strcmpiW(v, outsetW) == 0;
1261 static inline HTMLStyle *impl_from_IHTMLStyle(IHTMLStyle *iface)
1263 return CONTAINING_RECORD(iface, HTMLStyle, IHTMLStyle_iface);
1266 static HRESULT WINAPI HTMLStyle_QueryInterface(IHTMLStyle *iface, REFIID riid, void **ppv)
1268 HTMLStyle *This = impl_from_IHTMLStyle(iface);
1270 TRACE("(%p)->(%s %p)\n", This, debugstr_mshtml_guid(riid), ppv);
1272 if(IsEqualGUID(&IID_IUnknown, riid)) {
1273 *ppv = &This->IHTMLStyle_iface;
1274 }else if(IsEqualGUID(&IID_IHTMLCSSStyleDeclaration, riid)) {
1275 *ppv = &This->IHTMLCSSStyleDeclaration_iface;
1276 }else if(IsEqualGUID(&IID_IHTMLCSSStyleDeclaration2, riid)) {
1277 *ppv = &This->IHTMLCSSStyleDeclaration2_iface;
1278 }else if(IsEqualGUID(&IID_IHTMLStyle, riid)) {
1279 *ppv = &This->IHTMLStyle_iface;
1280 }else if(IsEqualGUID(&IID_IHTMLStyle2, riid)) {
1281 *ppv = &This->IHTMLStyle2_iface;
1282 }else if(IsEqualGUID(&IID_IHTMLStyle3, riid)) {
1283 *ppv = &This->IHTMLStyle3_iface;
1284 }else if(IsEqualGUID(&IID_IHTMLStyle4, riid)) {
1285 *ppv = &This->IHTMLStyle4_iface;
1286 }else if(IsEqualGUID(&IID_IHTMLStyle5, riid)) {
1287 *ppv = &This->IHTMLStyle5_iface;
1288 }else if(IsEqualGUID(&IID_IHTMLStyle6, riid)) {
1289 *ppv = &This->IHTMLStyle6_iface;
1290 }else if(dispex_query_interface(&This->dispex, riid, ppv)) {
1291 return *ppv ? S_OK : E_NOINTERFACE;
1292 }else {
1293 *ppv = NULL;
1294 WARN("unsupported iface %s\n", debugstr_mshtml_guid(riid));
1295 return E_NOINTERFACE;
1298 IUnknown_AddRef((IUnknown*)*ppv);
1299 return S_OK;
1302 static ULONG WINAPI HTMLStyle_AddRef(IHTMLStyle *iface)
1304 HTMLStyle *This = impl_from_IHTMLStyle(iface);
1305 LONG ref = InterlockedIncrement(&This->ref);
1307 TRACE("(%p) ref=%d\n", This, ref);
1309 return ref;
1312 static ULONG WINAPI HTMLStyle_Release(IHTMLStyle *iface)
1314 HTMLStyle *This = impl_from_IHTMLStyle(iface);
1315 LONG ref = InterlockedDecrement(&This->ref);
1317 TRACE("(%p) ref=%d\n", This, ref);
1319 if(!ref) {
1320 assert(!This->elem);
1321 if(This->nsstyle)
1322 nsIDOMCSSStyleDeclaration_Release(This->nsstyle);
1323 release_dispex(&This->dispex);
1324 heap_free(This);
1327 return ref;
1330 static HRESULT WINAPI HTMLStyle_GetTypeInfoCount(IHTMLStyle *iface, UINT *pctinfo)
1332 HTMLStyle *This = impl_from_IHTMLStyle(iface);
1333 return IDispatchEx_GetTypeInfoCount(&This->dispex.IDispatchEx_iface, pctinfo);
1336 static HRESULT WINAPI HTMLStyle_GetTypeInfo(IHTMLStyle *iface, UINT iTInfo,
1337 LCID lcid, ITypeInfo **ppTInfo)
1339 HTMLStyle *This = impl_from_IHTMLStyle(iface);
1340 return IDispatchEx_GetTypeInfo(&This->dispex.IDispatchEx_iface, iTInfo, lcid, ppTInfo);
1343 static HRESULT WINAPI HTMLStyle_GetIDsOfNames(IHTMLStyle *iface, REFIID riid,
1344 LPOLESTR *rgszNames, UINT cNames,
1345 LCID lcid, DISPID *rgDispId)
1347 HTMLStyle *This = impl_from_IHTMLStyle(iface);
1348 return IDispatchEx_GetIDsOfNames(&This->dispex.IDispatchEx_iface, riid, rgszNames, cNames,
1349 lcid, rgDispId);
1352 static HRESULT WINAPI HTMLStyle_Invoke(IHTMLStyle *iface, DISPID dispIdMember,
1353 REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams,
1354 VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
1356 HTMLStyle *This = impl_from_IHTMLStyle(iface);
1357 return IDispatchEx_Invoke(&This->dispex.IDispatchEx_iface, dispIdMember, riid, lcid,
1358 wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr);
1361 static HRESULT WINAPI HTMLStyle_put_fontFamily(IHTMLStyle *iface, BSTR v)
1363 HTMLStyle *This = impl_from_IHTMLStyle(iface);
1365 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
1367 return set_style_property(This, STYLEID_FONT_FAMILY, v);
1370 static HRESULT WINAPI HTMLStyle_get_fontFamily(IHTMLStyle *iface, BSTR *p)
1372 HTMLStyle *This = impl_from_IHTMLStyle(iface);
1374 TRACE("(%p)->(%p)\n", This, p);
1376 return get_style_property(This, STYLEID_FONT_FAMILY, p);
1379 static HRESULT WINAPI HTMLStyle_put_fontStyle(IHTMLStyle *iface, BSTR v)
1381 HTMLStyle *This = impl_from_IHTMLStyle(iface);
1383 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
1385 return set_style_property(This, STYLEID_FONT_STYLE, v);
1388 static HRESULT WINAPI HTMLStyle_get_fontStyle(IHTMLStyle *iface, BSTR *p)
1390 HTMLStyle *This = impl_from_IHTMLStyle(iface);
1392 TRACE("(%p)->(%p)\n", This, p);
1394 return get_style_property(This, STYLEID_FONT_STYLE, p);
1397 static HRESULT WINAPI HTMLStyle_put_fontVariant(IHTMLStyle *iface, BSTR v)
1399 HTMLStyle *This = impl_from_IHTMLStyle(iface);
1401 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
1403 return set_style_property(This, STYLEID_FONT_VARIANT, v);
1406 static HRESULT WINAPI HTMLStyle_get_fontVariant(IHTMLStyle *iface, BSTR *p)
1408 HTMLStyle *This = impl_from_IHTMLStyle(iface);
1409 TRACE("(%p)->(%p)\n", This, p);
1411 if(!p)
1412 return E_INVALIDARG;
1414 return get_style_property(This, STYLEID_FONT_VARIANT, p);
1417 static HRESULT WINAPI HTMLStyle_put_fontWeight(IHTMLStyle *iface, BSTR v)
1419 HTMLStyle *This = impl_from_IHTMLStyle(iface);
1421 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
1423 return set_style_property(This, STYLEID_FONT_WEIGHT, v);
1426 static HRESULT WINAPI HTMLStyle_get_fontWeight(IHTMLStyle *iface, BSTR *p)
1428 HTMLStyle *This = impl_from_IHTMLStyle(iface);
1430 TRACE("(%p)->(%p)\n", This, p);
1432 return get_style_property(This, STYLEID_FONT_WEIGHT, p);
1435 static HRESULT WINAPI HTMLStyle_put_fontSize(IHTMLStyle *iface, VARIANT v)
1437 HTMLStyle *This = impl_from_IHTMLStyle(iface);
1439 TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
1441 return set_style_property_var(This, STYLEID_FONT_SIZE, &v);
1444 static HRESULT WINAPI HTMLStyle_get_fontSize(IHTMLStyle *iface, VARIANT *p)
1446 HTMLStyle *This = impl_from_IHTMLStyle(iface);
1448 TRACE("(%p)->(%p)\n", This, p);
1450 return get_style_property_var(This, STYLEID_FONT_SIZE, p);
1453 static HRESULT WINAPI HTMLStyle_put_font(IHTMLStyle *iface, BSTR v)
1455 HTMLStyle *This = impl_from_IHTMLStyle(iface);
1456 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
1457 return E_NOTIMPL;
1460 static HRESULT WINAPI HTMLStyle_get_font(IHTMLStyle *iface, BSTR *p)
1462 HTMLStyle *This = impl_from_IHTMLStyle(iface);
1463 FIXME("(%p)->(%p)\n", This, p);
1464 return E_NOTIMPL;
1467 static HRESULT WINAPI HTMLStyle_put_color(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, STYLEID_COLOR, &v);
1476 static HRESULT WINAPI HTMLStyle_get_color(IHTMLStyle *iface, VARIANT *p)
1478 HTMLStyle *This = impl_from_IHTMLStyle(iface);
1480 TRACE("(%p)->(%p)\n", This, p);
1482 return get_style_property_var(This, STYLEID_COLOR, p);
1485 static HRESULT WINAPI HTMLStyle_put_background(IHTMLStyle *iface, BSTR v)
1487 HTMLStyle *This = impl_from_IHTMLStyle(iface);
1489 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
1491 return set_style_property(This, STYLEID_BACKGROUND, v);
1494 static HRESULT WINAPI HTMLStyle_get_background(IHTMLStyle *iface, BSTR *p)
1496 HTMLStyle *This = impl_from_IHTMLStyle(iface);
1498 TRACE("(%p)->(%p)\n", This, p);
1500 return get_style_property(This, STYLEID_BACKGROUND, p);
1503 static HRESULT WINAPI HTMLStyle_put_backgroundColor(IHTMLStyle *iface, VARIANT v)
1505 HTMLStyle *This = impl_from_IHTMLStyle(iface);
1507 TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
1509 return set_style_property_var(This, STYLEID_BACKGROUND_COLOR, &v);
1512 static HRESULT WINAPI HTMLStyle_get_backgroundColor(IHTMLStyle *iface, VARIANT *p)
1514 HTMLStyle *This = impl_from_IHTMLStyle(iface);
1516 TRACE("(%p)->(%p)\n", This, p);
1518 return get_style_property_var(This, STYLEID_BACKGROUND_COLOR, p);
1521 static HRESULT WINAPI HTMLStyle_put_backgroundImage(IHTMLStyle *iface, BSTR v)
1523 HTMLStyle *This = impl_from_IHTMLStyle(iface);
1525 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
1527 return set_style_property(This, STYLEID_BACKGROUND_IMAGE, v);
1530 static HRESULT WINAPI HTMLStyle_get_backgroundImage(IHTMLStyle *iface, BSTR *p)
1532 HTMLStyle *This = impl_from_IHTMLStyle(iface);
1534 TRACE("(%p)->(%p)\n", This, p);
1536 return get_style_property(This, STYLEID_BACKGROUND_IMAGE, p);
1539 static HRESULT WINAPI HTMLStyle_put_backgroundRepeat(IHTMLStyle *iface, BSTR v)
1541 HTMLStyle *This = impl_from_IHTMLStyle(iface);
1543 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
1545 return set_style_property(This, STYLEID_BACKGROUND_REPEAT , v);
1548 static HRESULT WINAPI HTMLStyle_get_backgroundRepeat(IHTMLStyle *iface, BSTR *p)
1550 HTMLStyle *This = impl_from_IHTMLStyle(iface);
1552 TRACE("(%p)->(%p)\n", This, p);
1554 return get_style_property(This, STYLEID_BACKGROUND_REPEAT, p);
1557 static HRESULT WINAPI HTMLStyle_put_backgroundAttachment(IHTMLStyle *iface, BSTR v)
1559 HTMLStyle *This = impl_from_IHTMLStyle(iface);
1561 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
1563 return set_style_property(This, STYLEID_BACKGROUND_ATTACHMENT, v);
1566 static HRESULT WINAPI HTMLStyle_get_backgroundAttachment(IHTMLStyle *iface, BSTR *p)
1568 HTMLStyle *This = impl_from_IHTMLStyle(iface);
1570 TRACE("(%p)->(%p)\n", This, p);
1572 return get_style_property(This, STYLEID_BACKGROUND_ATTACHMENT, p);
1575 static HRESULT WINAPI HTMLStyle_put_backgroundPosition(IHTMLStyle *iface, BSTR v)
1577 HTMLStyle *This = impl_from_IHTMLStyle(iface);
1579 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
1581 return set_style_property(This, STYLEID_BACKGROUND_POSITION, v);
1584 static HRESULT WINAPI HTMLStyle_get_backgroundPosition(IHTMLStyle *iface, BSTR *p)
1586 HTMLStyle *This = impl_from_IHTMLStyle(iface);
1588 TRACE("(%p)->(%p)\n", This, p);
1590 return get_style_property(This, STYLEID_BACKGROUND_POSITION, p);
1593 static HRESULT WINAPI HTMLStyle_put_backgroundPositionX(IHTMLStyle *iface, VARIANT v)
1595 HTMLStyle *This = impl_from_IHTMLStyle(iface);
1596 WCHAR buf[14], *pos_val;
1597 nsAString pos_str;
1598 const WCHAR *val;
1599 DWORD val_len;
1600 HRESULT hres;
1602 TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
1604 hres = var_to_styleval(This, &v, STYLEID_BACKGROUND_POSITION_X, buf, &val);
1605 if(FAILED(hres))
1606 return hres;
1608 val_len = val ? strlenW(val) : 0;
1610 nsAString_Init(&pos_str, NULL);
1611 hres = get_nsstyle_attr_nsval(This->nsstyle, STYLEID_BACKGROUND_POSITION, &pos_str);
1612 if(SUCCEEDED(hres)) {
1613 const PRUnichar *pos, *posy;
1614 DWORD posy_len;
1616 nsAString_GetData(&pos_str, &pos);
1617 posy = strchrW(pos, ' ');
1618 if(!posy) {
1619 static const WCHAR zero_pxW[] = {' ','0','p','x',0};
1621 TRACE("no space in %s\n", debugstr_w(pos));
1622 posy = zero_pxW;
1625 posy_len = strlenW(posy);
1626 pos_val = heap_alloc((val_len+posy_len+1)*sizeof(WCHAR));
1627 if(pos_val) {
1628 if(val_len)
1629 memcpy(pos_val, val, val_len*sizeof(WCHAR));
1630 if(posy_len)
1631 memcpy(pos_val+val_len, posy, posy_len*sizeof(WCHAR));
1632 pos_val[val_len+posy_len] = 0;
1633 }else {
1634 hres = E_OUTOFMEMORY;
1637 nsAString_Finish(&pos_str);
1638 if(FAILED(hres))
1639 return hres;
1641 TRACE("setting position to %s\n", debugstr_w(pos_val));
1642 hres = set_style_property(This, STYLEID_BACKGROUND_POSITION, pos_val);
1643 heap_free(pos_val);
1644 return hres;
1647 static HRESULT WINAPI HTMLStyle_get_backgroundPositionX(IHTMLStyle *iface, VARIANT *p)
1649 HTMLStyle *This = impl_from_IHTMLStyle(iface);
1650 nsAString pos_str;
1651 BSTR ret;
1652 HRESULT hres;
1654 TRACE("(%p)->(%p)\n", This, p);
1656 nsAString_Init(&pos_str, NULL);
1657 hres = get_nsstyle_attr_nsval(This->nsstyle, STYLEID_BACKGROUND_POSITION, &pos_str);
1658 if(SUCCEEDED(hres)) {
1659 const PRUnichar *pos, *space;
1661 nsAString_GetData(&pos_str, &pos);
1662 space = strchrW(pos, ' ');
1663 if(!space) {
1664 WARN("no space in %s\n", debugstr_w(pos));
1665 space = pos + strlenW(pos);
1668 if(space != pos) {
1669 ret = SysAllocStringLen(pos, space-pos);
1670 if(!ret)
1671 hres = E_OUTOFMEMORY;
1672 }else {
1673 ret = NULL;
1676 nsAString_Finish(&pos_str);
1677 if(FAILED(hres))
1678 return hres;
1680 TRACE("returning %s\n", debugstr_w(ret));
1681 V_VT(p) = VT_BSTR;
1682 V_BSTR(p) = ret;
1683 return S_OK;
1686 static HRESULT WINAPI HTMLStyle_put_backgroundPositionY(IHTMLStyle *iface, VARIANT v)
1688 HTMLStyle *This = impl_from_IHTMLStyle(iface);
1689 WCHAR buf[14], *pos_val;
1690 nsAString pos_str;
1691 const WCHAR *val;
1692 DWORD val_len;
1693 HRESULT hres;
1695 TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
1697 hres = var_to_styleval(This, &v, STYLEID_BACKGROUND_POSITION, buf, &val);
1698 if(FAILED(hres))
1699 return hres;
1701 val_len = val ? strlenW(val) : 0;
1703 nsAString_Init(&pos_str, NULL);
1704 hres = get_nsstyle_attr_nsval(This->nsstyle, STYLEID_BACKGROUND_POSITION, &pos_str);
1705 if(SUCCEEDED(hres)) {
1706 const PRUnichar *pos, *space;
1707 DWORD posx_len;
1709 nsAString_GetData(&pos_str, &pos);
1710 space = strchrW(pos, ' ');
1711 if(space) {
1712 space++;
1713 }else {
1714 static const WCHAR zero_pxW[] = {'0','p','x',' ',0};
1716 TRACE("no space in %s\n", debugstr_w(pos));
1717 pos = zero_pxW;
1718 space = pos + ARRAY_SIZE(zero_pxW)-1;
1721 posx_len = space-pos;
1723 pos_val = heap_alloc((posx_len+val_len+1)*sizeof(WCHAR));
1724 if(pos_val) {
1725 memcpy(pos_val, pos, posx_len*sizeof(WCHAR));
1726 if(val_len)
1727 memcpy(pos_val+posx_len, val, val_len*sizeof(WCHAR));
1728 pos_val[posx_len+val_len] = 0;
1729 }else {
1730 hres = E_OUTOFMEMORY;
1733 nsAString_Finish(&pos_str);
1734 if(FAILED(hres))
1735 return hres;
1737 TRACE("setting position to %s\n", debugstr_w(pos_val));
1738 hres = set_style_property(This, STYLEID_BACKGROUND_POSITION, pos_val);
1739 heap_free(pos_val);
1740 return hres;
1743 static HRESULT WINAPI HTMLStyle_get_backgroundPositionY(IHTMLStyle *iface, VARIANT *p)
1745 HTMLStyle *This = impl_from_IHTMLStyle(iface);
1746 nsAString pos_str;
1747 BSTR ret;
1748 HRESULT hres;
1750 TRACE("(%p)->(%p)\n", This, p);
1752 nsAString_Init(&pos_str, NULL);
1753 hres = get_nsstyle_attr_nsval(This->nsstyle, STYLEID_BACKGROUND_POSITION, &pos_str);
1754 if(SUCCEEDED(hres)) {
1755 const PRUnichar *pos, *posy;
1757 nsAString_GetData(&pos_str, &pos);
1758 posy = strchrW(pos, ' ');
1759 if(posy) {
1760 ret = SysAllocString(posy+1);
1761 if(!ret)
1762 hres = E_OUTOFMEMORY;
1763 }else {
1764 ret = NULL;
1767 nsAString_Finish(&pos_str);
1768 if(FAILED(hres))
1769 return hres;
1771 TRACE("returning %s\n", debugstr_w(ret));
1772 V_VT(p) = VT_BSTR;
1773 V_BSTR(p) = ret;
1774 return S_OK;
1777 static HRESULT WINAPI HTMLStyle_put_wordSpacing(IHTMLStyle *iface, VARIANT v)
1779 HTMLStyle *This = impl_from_IHTMLStyle(iface);
1781 TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
1783 return set_style_property_var(This, STYLEID_WORD_SPACING, &v);
1786 static HRESULT WINAPI HTMLStyle_get_wordSpacing(IHTMLStyle *iface, VARIANT *p)
1788 HTMLStyle *This = impl_from_IHTMLStyle(iface);
1789 TRACE("(%p)->(%p)\n", This, p);
1790 return get_style_property_var(This, STYLEID_WORD_SPACING, p);
1793 static HRESULT WINAPI HTMLStyle_put_letterSpacing(IHTMLStyle *iface, VARIANT v)
1795 HTMLStyle *This = impl_from_IHTMLStyle(iface);
1797 TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
1799 return set_style_property_var(This, STYLEID_LETTER_SPACING, &v);
1802 static HRESULT WINAPI HTMLStyle_get_letterSpacing(IHTMLStyle *iface, VARIANT *p)
1804 HTMLStyle *This = impl_from_IHTMLStyle(iface);
1805 TRACE("(%p)->(%p)\n", This, p);
1806 return get_style_property_var(This, STYLEID_LETTER_SPACING, p);
1809 static HRESULT WINAPI HTMLStyle_put_textDecoration(IHTMLStyle *iface, BSTR v)
1811 HTMLStyle *This = impl_from_IHTMLStyle(iface);
1813 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
1815 return set_style_property(This, STYLEID_TEXT_DECORATION , v);
1818 static HRESULT WINAPI HTMLStyle_get_textDecoration(IHTMLStyle *iface, BSTR *p)
1820 HTMLStyle *This = impl_from_IHTMLStyle(iface);
1822 TRACE("(%p)->(%p)\n", This, p);
1824 return get_style_property(This, STYLEID_TEXT_DECORATION, p);
1827 static HRESULT WINAPI HTMLStyle_put_textDecorationNone(IHTMLStyle *iface, VARIANT_BOOL v)
1829 HTMLStyle *This = impl_from_IHTMLStyle(iface);
1831 TRACE("(%p)->(%x)\n", This, v);
1833 return set_style_property(This, STYLEID_TEXT_DECORATION, v ? noneW : emptyW);
1836 static HRESULT WINAPI HTMLStyle_get_textDecorationNone(IHTMLStyle *iface, VARIANT_BOOL *p)
1838 HTMLStyle *This = impl_from_IHTMLStyle(iface);
1840 TRACE("(%p)->(%p)\n", This, p);
1842 return check_style_attr_value(This, STYLEID_TEXT_DECORATION, noneW, p);
1845 static HRESULT WINAPI HTMLStyle_put_textDecorationUnderline(IHTMLStyle *iface, VARIANT_BOOL v)
1847 HTMLStyle *This = impl_from_IHTMLStyle(iface);
1849 TRACE("(%p)->(%x)\n", This, v);
1851 return set_style_property(This, STYLEID_TEXT_DECORATION, v ? underlineW : emptyW);
1854 static HRESULT WINAPI HTMLStyle_get_textDecorationUnderline(IHTMLStyle *iface, VARIANT_BOOL *p)
1856 HTMLStyle *This = impl_from_IHTMLStyle(iface);
1858 TRACE("(%p)->(%p)\n", This, p);
1860 return check_style_attr_value(This, STYLEID_TEXT_DECORATION, underlineW, p);
1863 static HRESULT WINAPI HTMLStyle_put_textDecorationOverline(IHTMLStyle *iface, VARIANT_BOOL v)
1865 HTMLStyle *This = impl_from_IHTMLStyle(iface);
1867 TRACE("(%p)->(%x)\n", This, v);
1869 return set_style_property(This, STYLEID_TEXT_DECORATION, v ? overlineW : emptyW);
1872 static HRESULT WINAPI HTMLStyle_get_textDecorationOverline(IHTMLStyle *iface, VARIANT_BOOL *p)
1874 HTMLStyle *This = impl_from_IHTMLStyle(iface);
1876 TRACE("(%p)->(%p)\n", This, p);
1878 return check_style_attr_value(This, STYLEID_TEXT_DECORATION, overlineW, p);
1881 static HRESULT WINAPI HTMLStyle_put_textDecorationLineThrough(IHTMLStyle *iface, VARIANT_BOOL v)
1883 HTMLStyle *This = impl_from_IHTMLStyle(iface);
1885 TRACE("(%p)->(%x)\n", This, v);
1887 return set_style_property(This, STYLEID_TEXT_DECORATION, v ? line_throughW : emptyW);
1890 static HRESULT WINAPI HTMLStyle_get_textDecorationLineThrough(IHTMLStyle *iface, VARIANT_BOOL *p)
1892 HTMLStyle *This = impl_from_IHTMLStyle(iface);
1894 TRACE("(%p)->(%p)\n", This, p);
1896 return check_style_attr_value(This, STYLEID_TEXT_DECORATION, line_throughW, p);
1899 static HRESULT WINAPI HTMLStyle_put_textDecorationBlink(IHTMLStyle *iface, VARIANT_BOOL v)
1901 HTMLStyle *This = impl_from_IHTMLStyle(iface);
1903 TRACE("(%p)->(%x)\n", This, v);
1905 return set_style_property(This, STYLEID_TEXT_DECORATION, v ? blinkW : emptyW);
1908 static HRESULT WINAPI HTMLStyle_get_textDecorationBlink(IHTMLStyle *iface, VARIANT_BOOL *p)
1910 HTMLStyle *This = impl_from_IHTMLStyle(iface);
1912 TRACE("(%p)->(%p)\n", This, p);
1914 return check_style_attr_value(This, STYLEID_TEXT_DECORATION, blinkW, p);
1917 static HRESULT WINAPI HTMLStyle_put_verticalAlign(IHTMLStyle *iface, VARIANT v)
1919 HTMLStyle *This = impl_from_IHTMLStyle(iface);
1921 TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
1923 return set_style_property_var(This, STYLEID_VERTICAL_ALIGN, &v);
1926 static HRESULT WINAPI HTMLStyle_get_verticalAlign(IHTMLStyle *iface, VARIANT *p)
1928 HTMLStyle *This = impl_from_IHTMLStyle(iface);
1930 TRACE("(%p)->(%p)\n", This, p);
1932 return get_style_property_var(This, STYLEID_VERTICAL_ALIGN, p);
1935 static HRESULT WINAPI HTMLStyle_put_textTransform(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, STYLEID_TEXT_TRANSFORM, v);
1944 static HRESULT WINAPI HTMLStyle_get_textTransform(IHTMLStyle *iface, BSTR *p)
1946 HTMLStyle *This = impl_from_IHTMLStyle(iface);
1948 TRACE("(%p)->(%p)\n", This, p);
1950 return get_style_property(This, STYLEID_TEXT_TRANSFORM, p);
1953 static HRESULT WINAPI HTMLStyle_put_textAlign(IHTMLStyle *iface, BSTR v)
1955 HTMLStyle *This = impl_from_IHTMLStyle(iface);
1957 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
1959 return set_style_property(This, STYLEID_TEXT_ALIGN, v);
1962 static HRESULT WINAPI HTMLStyle_get_textAlign(IHTMLStyle *iface, BSTR *p)
1964 HTMLStyle *This = impl_from_IHTMLStyle(iface);
1966 TRACE("(%p)->(%p)\n", This, p);
1968 return get_style_property(This, STYLEID_TEXT_ALIGN, p);
1971 static HRESULT WINAPI HTMLStyle_put_textIndent(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, STYLEID_TEXT_INDENT, &v);
1980 static HRESULT WINAPI HTMLStyle_get_textIndent(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, STYLEID_TEXT_INDENT, p);
1989 static HRESULT WINAPI HTMLStyle_put_lineHeight(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, STYLEID_LINE_HEIGHT, &v);
1998 static HRESULT WINAPI HTMLStyle_get_lineHeight(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, STYLEID_LINE_HEIGHT, p);
2007 static HRESULT WINAPI HTMLStyle_put_marginTop(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, STYLEID_MARGIN_TOP, &v);
2016 static HRESULT WINAPI HTMLStyle_get_marginTop(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, STYLEID_MARGIN_TOP, p);
2025 static HRESULT WINAPI HTMLStyle_put_marginRight(IHTMLStyle *iface, VARIANT v)
2027 HTMLStyle *This = impl_from_IHTMLStyle(iface);
2029 TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
2031 return set_style_property_var(This, STYLEID_MARGIN_RIGHT, &v);
2034 static HRESULT WINAPI HTMLStyle_get_marginRight(IHTMLStyle *iface, VARIANT *p)
2036 HTMLStyle *This = impl_from_IHTMLStyle(iface);
2037 TRACE("(%p)->(%p)\n", This, p);
2038 return get_style_property_var(This, STYLEID_MARGIN_RIGHT, p);
2041 static HRESULT WINAPI HTMLStyle_put_marginBottom(IHTMLStyle *iface, VARIANT v)
2043 HTMLStyle *This = impl_from_IHTMLStyle(iface);
2045 TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
2047 return set_style_property_var(This, STYLEID_MARGIN_BOTTOM, &v);
2050 static HRESULT WINAPI HTMLStyle_get_marginBottom(IHTMLStyle *iface, VARIANT *p)
2052 HTMLStyle *This = impl_from_IHTMLStyle(iface);
2054 TRACE("(%p)->(%p)\n", This, p);
2056 return get_style_property_var(This, STYLEID_MARGIN_BOTTOM, p);
2059 static HRESULT WINAPI HTMLStyle_put_marginLeft(IHTMLStyle *iface, VARIANT v)
2061 HTMLStyle *This = impl_from_IHTMLStyle(iface);
2063 TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
2065 return set_style_property_var(This, STYLEID_MARGIN_LEFT, &v);
2068 static HRESULT WINAPI HTMLStyle_put_margin(IHTMLStyle *iface, BSTR v)
2070 HTMLStyle *This = impl_from_IHTMLStyle(iface);
2072 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
2074 return set_style_property(This, STYLEID_MARGIN, v);
2077 static HRESULT WINAPI HTMLStyle_get_margin(IHTMLStyle *iface, BSTR *p)
2079 HTMLStyle *This = impl_from_IHTMLStyle(iface);
2081 TRACE("(%p)->(%p)\n", This, p);
2083 return get_style_property(This, STYLEID_MARGIN, p);
2086 static HRESULT WINAPI HTMLStyle_get_marginLeft(IHTMLStyle *iface, VARIANT *p)
2088 HTMLStyle *This = impl_from_IHTMLStyle(iface);
2089 TRACE("(%p)->(%p)\n", This, p);
2090 return get_style_property_var(This, STYLEID_MARGIN_LEFT, p);
2093 static HRESULT WINAPI HTMLStyle_put_paddingTop(IHTMLStyle *iface, VARIANT v)
2095 HTMLStyle *This = impl_from_IHTMLStyle(iface);
2097 TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
2099 return set_style_property_var(This, STYLEID_PADDING_TOP, &v);
2102 static HRESULT WINAPI HTMLStyle_get_paddingTop(IHTMLStyle *iface, VARIANT *p)
2104 HTMLStyle *This = impl_from_IHTMLStyle(iface);
2106 TRACE("(%p)->(%p)\n", This, p);
2108 return get_style_property_var(This, STYLEID_PADDING_TOP, p);
2111 static HRESULT WINAPI HTMLStyle_put_paddingRight(IHTMLStyle *iface, VARIANT v)
2113 HTMLStyle *This = impl_from_IHTMLStyle(iface);
2115 TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
2117 return set_style_property_var(This, STYLEID_PADDING_RIGHT, &v);
2120 static HRESULT WINAPI HTMLStyle_get_paddingRight(IHTMLStyle *iface, VARIANT *p)
2122 HTMLStyle *This = impl_from_IHTMLStyle(iface);
2124 TRACE("(%p)->(%p)\n", This, p);
2126 return get_style_property_var(This, STYLEID_PADDING_RIGHT, p);
2129 static HRESULT WINAPI HTMLStyle_put_paddingBottom(IHTMLStyle *iface, VARIANT v)
2131 HTMLStyle *This = impl_from_IHTMLStyle(iface);
2133 TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
2135 return set_style_property_var(This, STYLEID_PADDING_BOTTOM, &v);
2138 static HRESULT WINAPI HTMLStyle_get_paddingBottom(IHTMLStyle *iface, VARIANT *p)
2140 HTMLStyle *This = impl_from_IHTMLStyle(iface);
2142 TRACE("(%p)->(%p)\n", This, p);
2144 return get_style_property_var(This, STYLEID_PADDING_BOTTOM, p);
2147 static HRESULT WINAPI HTMLStyle_put_paddingLeft(IHTMLStyle *iface, VARIANT v)
2149 HTMLStyle *This = impl_from_IHTMLStyle(iface);
2151 TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
2153 return set_style_property_var(This, STYLEID_PADDING_LEFT, &v);
2156 static HRESULT WINAPI HTMLStyle_get_paddingLeft(IHTMLStyle *iface, VARIANT *p)
2158 HTMLStyle *This = impl_from_IHTMLStyle(iface);
2160 TRACE("(%p)->(%p)\n", This, p);
2162 return get_style_property_var(This, STYLEID_PADDING_LEFT, p);
2165 static HRESULT WINAPI HTMLStyle_put_padding(IHTMLStyle *iface, BSTR v)
2167 HTMLStyle *This = impl_from_IHTMLStyle(iface);
2169 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
2171 return set_style_property(This, STYLEID_PADDING, v);
2174 static HRESULT WINAPI HTMLStyle_get_padding(IHTMLStyle *iface, BSTR *p)
2176 HTMLStyle *This = impl_from_IHTMLStyle(iface);
2178 TRACE("(%p)->(%p)\n", This, p);
2180 return get_style_property(This, STYLEID_PADDING, p);
2183 static HRESULT WINAPI HTMLStyle_put_border(IHTMLStyle *iface, BSTR v)
2185 HTMLStyle *This = impl_from_IHTMLStyle(iface);
2187 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
2189 return set_style_property(This, STYLEID_BORDER, v);
2192 static HRESULT WINAPI HTMLStyle_get_border(IHTMLStyle *iface, BSTR *p)
2194 HTMLStyle *This = impl_from_IHTMLStyle(iface);
2196 TRACE("(%p)->(%p)\n", This, p);
2198 return get_style_property(This, STYLEID_BORDER, p);
2201 static HRESULT WINAPI HTMLStyle_put_borderTop(IHTMLStyle *iface, BSTR v)
2203 HTMLStyle *This = impl_from_IHTMLStyle(iface);
2204 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
2205 return set_style_property(This, STYLEID_BORDER_TOP, v);
2208 static HRESULT WINAPI HTMLStyle_get_borderTop(IHTMLStyle *iface, BSTR *p)
2210 HTMLStyle *This = impl_from_IHTMLStyle(iface);
2211 TRACE("(%p)->(%p)\n", This, p);
2212 return get_style_property(This, STYLEID_BORDER_TOP, p);
2215 static HRESULT WINAPI HTMLStyle_put_borderRight(IHTMLStyle *iface, BSTR v)
2217 HTMLStyle *This = impl_from_IHTMLStyle(iface);
2218 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
2219 return set_style_property(This, STYLEID_BORDER_RIGHT, v);
2222 static HRESULT WINAPI HTMLStyle_get_borderRight(IHTMLStyle *iface, BSTR *p)
2224 HTMLStyle *This = impl_from_IHTMLStyle(iface);
2225 TRACE("(%p)->(%p)\n", This, p);
2226 return get_style_property(This, STYLEID_BORDER_RIGHT, p);
2229 static HRESULT WINAPI HTMLStyle_put_borderBottom(IHTMLStyle *iface, BSTR v)
2231 HTMLStyle *This = impl_from_IHTMLStyle(iface);
2232 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
2233 return set_style_property(This, STYLEID_BORDER_BOTTOM, v);
2236 static HRESULT WINAPI HTMLStyle_get_borderBottom(IHTMLStyle *iface, BSTR *p)
2238 HTMLStyle *This = impl_from_IHTMLStyle(iface);
2239 TRACE("(%p)->(%p)\n", This, p);
2240 return get_style_property(This, STYLEID_BORDER_BOTTOM, p);
2243 static HRESULT WINAPI HTMLStyle_put_borderLeft(IHTMLStyle *iface, BSTR v)
2245 HTMLStyle *This = impl_from_IHTMLStyle(iface);
2247 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
2249 return set_style_property(This, STYLEID_BORDER_LEFT, v);
2252 static HRESULT WINAPI HTMLStyle_get_borderLeft(IHTMLStyle *iface, BSTR *p)
2254 HTMLStyle *This = impl_from_IHTMLStyle(iface);
2256 TRACE("(%p)->(%p)\n", This, p);
2258 return get_style_property(This, STYLEID_BORDER_LEFT, p);
2261 static HRESULT WINAPI HTMLStyle_put_borderColor(IHTMLStyle *iface, BSTR v)
2263 HTMLStyle *This = impl_from_IHTMLStyle(iface);
2265 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
2267 return set_style_property(This, STYLEID_BORDER_COLOR, v);
2270 static HRESULT WINAPI HTMLStyle_get_borderColor(IHTMLStyle *iface, BSTR *p)
2272 HTMLStyle *This = impl_from_IHTMLStyle(iface);
2274 TRACE("(%p)->(%p)\n", This, p);
2276 return get_style_property(This, STYLEID_BORDER_COLOR, p);
2279 static HRESULT WINAPI HTMLStyle_put_borderTopColor(IHTMLStyle *iface, VARIANT v)
2281 HTMLStyle *This = impl_from_IHTMLStyle(iface);
2283 TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
2285 return set_style_property_var(This, STYLEID_BORDER_TOP_COLOR, &v);
2288 static HRESULT WINAPI HTMLStyle_get_borderTopColor(IHTMLStyle *iface, VARIANT *p)
2290 HTMLStyle *This = impl_from_IHTMLStyle(iface);
2292 TRACE("(%p)->(%p)\n", This, p);
2294 return get_style_property_var(This, STYLEID_BORDER_TOP_COLOR, p);
2297 static HRESULT WINAPI HTMLStyle_put_borderRightColor(IHTMLStyle *iface, VARIANT v)
2299 HTMLStyle *This = impl_from_IHTMLStyle(iface);
2301 TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
2303 return set_style_property_var(This, STYLEID_BORDER_RIGHT_COLOR, &v);
2306 static HRESULT WINAPI HTMLStyle_get_borderRightColor(IHTMLStyle *iface, VARIANT *p)
2308 HTMLStyle *This = impl_from_IHTMLStyle(iface);
2310 TRACE("(%p)->(%p)\n", This, p);
2312 return get_style_property_var(This, STYLEID_BORDER_RIGHT_COLOR, p);
2315 static HRESULT WINAPI HTMLStyle_put_borderBottomColor(IHTMLStyle *iface, VARIANT v)
2317 HTMLStyle *This = impl_from_IHTMLStyle(iface);
2319 TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
2321 return set_style_property_var(This, STYLEID_BORDER_BOTTOM_COLOR, &v);
2324 static HRESULT WINAPI HTMLStyle_get_borderBottomColor(IHTMLStyle *iface, VARIANT *p)
2326 HTMLStyle *This = impl_from_IHTMLStyle(iface);
2328 TRACE("(%p)->(%p)\n", This, p);
2330 return get_style_property_var(This, STYLEID_BORDER_BOTTOM_COLOR, p);
2333 static HRESULT WINAPI HTMLStyle_put_borderLeftColor(IHTMLStyle *iface, VARIANT v)
2335 HTMLStyle *This = impl_from_IHTMLStyle(iface);
2337 TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
2339 return set_style_property_var(This, STYLEID_BORDER_LEFT_COLOR, &v);
2342 static HRESULT WINAPI HTMLStyle_get_borderLeftColor(IHTMLStyle *iface, VARIANT *p)
2344 HTMLStyle *This = impl_from_IHTMLStyle(iface);
2346 TRACE("(%p)->(%p)\n", This, p);
2348 return get_style_property_var(This, STYLEID_BORDER_LEFT_COLOR, p);
2351 static HRESULT WINAPI HTMLStyle_put_borderWidth(IHTMLStyle *iface, BSTR v)
2353 HTMLStyle *This = impl_from_IHTMLStyle(iface);
2354 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
2355 return set_style_property(This, STYLEID_BORDER_WIDTH, v);
2358 static HRESULT WINAPI HTMLStyle_get_borderWidth(IHTMLStyle *iface, BSTR *p)
2360 HTMLStyle *This = impl_from_IHTMLStyle(iface);
2361 TRACE("(%p)->(%p)\n", This, p);
2362 return get_style_property(This, STYLEID_BORDER_WIDTH, p);
2365 static HRESULT WINAPI HTMLStyle_put_borderTopWidth(IHTMLStyle *iface, VARIANT v)
2367 HTMLStyle *This = impl_from_IHTMLStyle(iface);
2369 TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
2371 return set_style_property_var(This, STYLEID_BORDER_TOP_WIDTH, &v);
2374 static HRESULT WINAPI HTMLStyle_get_borderTopWidth(IHTMLStyle *iface, VARIANT *p)
2376 HTMLStyle *This = impl_from_IHTMLStyle(iface);
2378 TRACE("(%p)->(%p)\n", This, p);
2380 return get_style_property_var(This, STYLEID_BORDER_TOP_WIDTH, p);
2383 static HRESULT WINAPI HTMLStyle_put_borderRightWidth(IHTMLStyle *iface, VARIANT v)
2385 HTMLStyle *This = impl_from_IHTMLStyle(iface);
2387 TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
2389 return set_style_property_var(This, STYLEID_BORDER_RIGHT_WIDTH, &v);
2392 static HRESULT WINAPI HTMLStyle_get_borderRightWidth(IHTMLStyle *iface, VARIANT *p)
2394 HTMLStyle *This = impl_from_IHTMLStyle(iface);
2396 TRACE("(%p)->(%p)\n", This, p);
2398 return get_style_property_var(This, STYLEID_BORDER_RIGHT_WIDTH, p);
2401 static HRESULT WINAPI HTMLStyle_put_borderBottomWidth(IHTMLStyle *iface, VARIANT v)
2403 HTMLStyle *This = impl_from_IHTMLStyle(iface);
2405 TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
2407 return set_style_property_var(This, STYLEID_BORDER_BOTTOM_WIDTH, &v);
2410 static HRESULT WINAPI HTMLStyle_get_borderBottomWidth(IHTMLStyle *iface, VARIANT *p)
2412 HTMLStyle *This = impl_from_IHTMLStyle(iface);
2413 TRACE("(%p)->(%p)\n", This, p);
2414 return get_style_property_var(This, STYLEID_BORDER_BOTTOM_WIDTH, p);
2417 static HRESULT WINAPI HTMLStyle_put_borderLeftWidth(IHTMLStyle *iface, VARIANT v)
2419 HTMLStyle *This = impl_from_IHTMLStyle(iface);
2421 TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
2423 return set_style_property_var(This, STYLEID_BORDER_LEFT_WIDTH, &v);
2426 static HRESULT WINAPI HTMLStyle_get_borderLeftWidth(IHTMLStyle *iface, VARIANT *p)
2428 HTMLStyle *This = impl_from_IHTMLStyle(iface);
2429 TRACE("(%p)->(%p)\n", This, p);
2430 return get_style_property_var(This, STYLEID_BORDER_LEFT_WIDTH, p);
2433 static HRESULT WINAPI HTMLStyle_put_borderStyle(IHTMLStyle *iface, BSTR v)
2435 HTMLStyle *This = impl_from_IHTMLStyle(iface);
2436 static const WCHAR styleWindowInset[] = {'w','i','n','d','o','w','-','i','n','s','e','t',0};
2437 HRESULT hres = S_OK;
2438 BSTR pstyle;
2439 int i=0;
2440 int last = 0;
2442 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
2444 while(v[i] && hres == S_OK)
2446 if(v[i] == (WCHAR)' ')
2448 pstyle = SysAllocStringLen(&v[last], (i-last));
2449 if( !(is_valid_border_style(pstyle) || strcmpiW(styleWindowInset, pstyle) == 0))
2451 TRACE("1. Invalid style (%s)\n", debugstr_w(pstyle));
2452 hres = E_INVALIDARG;
2454 SysFreeString(pstyle);
2455 last = i+1;
2457 i++;
2460 if(hres == S_OK)
2462 pstyle = SysAllocStringLen(&v[last], i-last);
2463 if( !(is_valid_border_style(pstyle) || strcmpiW(styleWindowInset, pstyle) == 0))
2465 TRACE("2. Invalid style (%s)\n", debugstr_w(pstyle));
2466 hres = E_INVALIDARG;
2468 SysFreeString(pstyle);
2471 if(hres == S_OK)
2472 hres = set_style_property(This, STYLEID_BORDER_STYLE, v);
2474 return hres;
2477 static HRESULT WINAPI HTMLStyle_get_borderStyle(IHTMLStyle *iface, BSTR *p)
2479 HTMLStyle *This = impl_from_IHTMLStyle(iface);
2480 TRACE("(%p)->(%p)\n", This, p);
2481 return get_style_property(This, STYLEID_BORDER_STYLE, p);
2484 static HRESULT WINAPI HTMLStyle_put_borderTopStyle(IHTMLStyle *iface, BSTR v)
2486 HTMLStyle *This = impl_from_IHTMLStyle(iface);
2487 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
2488 return set_style_property(This, STYLEID_BORDER_TOP_STYLE, v);
2491 static HRESULT WINAPI HTMLStyle_get_borderTopStyle(IHTMLStyle *iface, BSTR *p)
2493 HTMLStyle *This = impl_from_IHTMLStyle(iface);
2494 TRACE("(%p)->(%p)\n", This, p);
2495 return get_style_property(This, STYLEID_BORDER_TOP_STYLE, p);
2498 static HRESULT WINAPI HTMLStyle_put_borderRightStyle(IHTMLStyle *iface, BSTR v)
2500 HTMLStyle *This = impl_from_IHTMLStyle(iface);
2501 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
2502 return set_style_property(This, STYLEID_BORDER_RIGHT_STYLE, v);
2505 static HRESULT WINAPI HTMLStyle_get_borderRightStyle(IHTMLStyle *iface, BSTR *p)
2507 HTMLStyle *This = impl_from_IHTMLStyle(iface);
2508 TRACE("(%p)->(%p)\n", This, p);
2509 return get_style_property(This, STYLEID_BORDER_RIGHT_STYLE, p);
2512 static HRESULT WINAPI HTMLStyle_put_borderBottomStyle(IHTMLStyle *iface, BSTR v)
2514 HTMLStyle *This = impl_from_IHTMLStyle(iface);
2515 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
2516 return set_style_property(This, STYLEID_BORDER_BOTTOM_STYLE, v);
2519 static HRESULT WINAPI HTMLStyle_get_borderBottomStyle(IHTMLStyle *iface, BSTR *p)
2521 HTMLStyle *This = impl_from_IHTMLStyle(iface);
2522 TRACE("(%p)->(%p)\n", This, p);
2523 return get_style_property(This, STYLEID_BORDER_BOTTOM_STYLE, p);
2526 static HRESULT WINAPI HTMLStyle_put_borderLeftStyle(IHTMLStyle *iface, BSTR v)
2528 HTMLStyle *This = impl_from_IHTMLStyle(iface);
2529 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
2530 return set_style_property(This, STYLEID_BORDER_LEFT_STYLE, v);
2533 static HRESULT WINAPI HTMLStyle_get_borderLeftStyle(IHTMLStyle *iface, BSTR *p)
2535 HTMLStyle *This = impl_from_IHTMLStyle(iface);
2536 TRACE("(%p)->(%p)\n", This, p);
2537 return get_style_property(This, STYLEID_BORDER_LEFT_STYLE, p);
2540 static HRESULT WINAPI HTMLStyle_put_width(IHTMLStyle *iface, VARIANT v)
2542 HTMLStyle *This = impl_from_IHTMLStyle(iface);
2544 TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
2546 return set_style_property_var(This, STYLEID_WIDTH, &v);
2549 static HRESULT WINAPI HTMLStyle_get_width(IHTMLStyle *iface, VARIANT *p)
2551 HTMLStyle *This = impl_from_IHTMLStyle(iface);
2553 TRACE("(%p)->(%p)\n", This, p);
2555 return get_style_property_var(This, STYLEID_WIDTH, p);
2558 static HRESULT WINAPI HTMLStyle_put_height(IHTMLStyle *iface, VARIANT v)
2560 HTMLStyle *This = impl_from_IHTMLStyle(iface);
2562 TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
2564 return set_style_property_var(This, STYLEID_HEIGHT, &v);
2567 static HRESULT WINAPI HTMLStyle_get_height(IHTMLStyle *iface, VARIANT *p)
2569 HTMLStyle *This = impl_from_IHTMLStyle(iface);
2571 TRACE("(%p)->(%p)\n", This, p);
2573 return get_style_property_var(This, STYLEID_HEIGHT, p);
2576 static HRESULT WINAPI HTMLStyle_put_styleFloat(IHTMLStyle *iface, BSTR v)
2578 HTMLStyle *This = impl_from_IHTMLStyle(iface);
2580 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
2582 return set_style_property(This, STYLEID_FLOAT, v);
2585 static HRESULT WINAPI HTMLStyle_get_styleFloat(IHTMLStyle *iface, BSTR *p)
2587 HTMLStyle *This = impl_from_IHTMLStyle(iface);
2589 TRACE("(%p)->(%p)\n", This, p);
2591 return get_style_property(This, STYLEID_FLOAT, p);
2594 static HRESULT WINAPI HTMLStyle_put_clear(IHTMLStyle *iface, BSTR v)
2596 HTMLStyle *This = impl_from_IHTMLStyle(iface);
2598 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
2600 return set_style_property(This, STYLEID_CLEAR, v);
2603 static HRESULT WINAPI HTMLStyle_get_clear(IHTMLStyle *iface, BSTR *p)
2605 HTMLStyle *This = impl_from_IHTMLStyle(iface);
2607 TRACE("(%p)->(%p)\n", This, p);
2609 return get_style_property(This, STYLEID_CLEAR, p);
2612 static HRESULT WINAPI HTMLStyle_put_display(IHTMLStyle *iface, BSTR v)
2614 HTMLStyle *This = impl_from_IHTMLStyle(iface);
2616 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
2618 return set_style_property(This, STYLEID_DISPLAY, v);
2621 static HRESULT WINAPI HTMLStyle_get_display(IHTMLStyle *iface, BSTR *p)
2623 HTMLStyle *This = impl_from_IHTMLStyle(iface);
2625 TRACE("(%p)->(%p)\n", This, p);
2627 return get_style_property(This, STYLEID_DISPLAY, p);
2630 static HRESULT WINAPI HTMLStyle_put_visibility(IHTMLStyle *iface, BSTR v)
2632 HTMLStyle *This = impl_from_IHTMLStyle(iface);
2634 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
2636 return set_style_property(This, STYLEID_VISIBILITY, v);
2639 static HRESULT WINAPI HTMLStyle_get_visibility(IHTMLStyle *iface, BSTR *p)
2641 HTMLStyle *This = impl_from_IHTMLStyle(iface);
2643 TRACE("(%p)->(%p)\n", This, p);
2645 return get_style_property(This, STYLEID_VISIBILITY, p);
2648 static HRESULT WINAPI HTMLStyle_put_listStyleType(IHTMLStyle *iface, BSTR v)
2650 HTMLStyle *This = impl_from_IHTMLStyle(iface);
2652 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
2654 return set_style_property(This, STYLEID_LISTSTYLETYPE, v);
2657 static HRESULT WINAPI HTMLStyle_get_listStyleType(IHTMLStyle *iface, BSTR *p)
2659 HTMLStyle *This = impl_from_IHTMLStyle(iface);
2661 TRACE("(%p)->(%p)\n", This, p);
2663 return get_style_property(This, STYLEID_LISTSTYLETYPE, p);
2666 static HRESULT WINAPI HTMLStyle_put_listStylePosition(IHTMLStyle *iface, BSTR v)
2668 HTMLStyle *This = impl_from_IHTMLStyle(iface);
2670 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
2672 return set_style_property(This, STYLEID_LISTSTYLEPOSITION, v);
2675 static HRESULT WINAPI HTMLStyle_get_listStylePosition(IHTMLStyle *iface, BSTR *p)
2677 HTMLStyle *This = impl_from_IHTMLStyle(iface);
2679 TRACE("(%p)->(%p)\n", This, p);
2681 return get_style_property(This, STYLEID_LISTSTYLEPOSITION, p);
2684 static HRESULT WINAPI HTMLStyle_put_listStyleImage(IHTMLStyle *iface, BSTR v)
2686 HTMLStyle *This = impl_from_IHTMLStyle(iface);
2687 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
2688 return E_NOTIMPL;
2691 static HRESULT WINAPI HTMLStyle_get_listStyleImage(IHTMLStyle *iface, BSTR *p)
2693 HTMLStyle *This = impl_from_IHTMLStyle(iface);
2694 FIXME("(%p)->(%p)\n", This, p);
2695 return E_NOTIMPL;
2698 static HRESULT WINAPI HTMLStyle_put_listStyle(IHTMLStyle *iface, BSTR v)
2700 HTMLStyle *This = impl_from_IHTMLStyle(iface);
2702 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
2704 return set_style_property(This, STYLEID_LIST_STYLE, v);
2707 static HRESULT WINAPI HTMLStyle_get_listStyle(IHTMLStyle *iface, BSTR *p)
2709 HTMLStyle *This = impl_from_IHTMLStyle(iface);
2711 TRACE("(%p)->(%p)\n", This, p);
2713 return get_style_property(This, STYLEID_LIST_STYLE, p);
2716 static HRESULT WINAPI HTMLStyle_put_whiteSpace(IHTMLStyle *iface, BSTR v)
2718 HTMLStyle *This = impl_from_IHTMLStyle(iface);
2720 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
2722 return set_style_property(This, STYLEID_WHITE_SPACE, v);
2725 static HRESULT WINAPI HTMLStyle_get_whiteSpace(IHTMLStyle *iface, BSTR *p)
2727 HTMLStyle *This = impl_from_IHTMLStyle(iface);
2729 TRACE("(%p)->(%p)\n", This, p);
2731 return get_style_property(This, STYLEID_WHITE_SPACE, p);
2734 static HRESULT WINAPI HTMLStyle_put_top(IHTMLStyle *iface, VARIANT v)
2736 HTMLStyle *This = impl_from_IHTMLStyle(iface);
2738 TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
2740 return set_style_property_var(This, STYLEID_TOP, &v);
2743 static HRESULT WINAPI HTMLStyle_get_top(IHTMLStyle *iface, VARIANT *p)
2745 HTMLStyle *This = impl_from_IHTMLStyle(iface);
2747 TRACE("(%p)->(%p)\n", This, p);
2749 return get_style_property_var(This, STYLEID_TOP, p);
2752 static HRESULT WINAPI HTMLStyle_put_left(IHTMLStyle *iface, VARIANT v)
2754 HTMLStyle *This = impl_from_IHTMLStyle(iface);
2756 TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
2758 return set_style_property_var(This, STYLEID_LEFT, &v);
2761 static HRESULT WINAPI HTMLStyle_get_left(IHTMLStyle *iface, VARIANT *p)
2763 HTMLStyle *This = impl_from_IHTMLStyle(iface);
2765 TRACE("(%p)->(%p)\n", This, p);
2767 return get_style_property_var(This, STYLEID_LEFT, p);
2770 static HRESULT WINAPI HTMLStyle_get_position(IHTMLStyle *iface, BSTR *p)
2772 HTMLStyle *This = impl_from_IHTMLStyle(iface);
2773 TRACE("(%p)->(%p)\n", This, p);
2774 return IHTMLStyle2_get_position(&This->IHTMLStyle2_iface, p);
2777 static HRESULT WINAPI HTMLStyle_put_zIndex(IHTMLStyle *iface, VARIANT v)
2779 HTMLStyle *This = impl_from_IHTMLStyle(iface);
2781 TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
2783 return set_style_property_var(This, STYLEID_Z_INDEX, &v);
2786 static HRESULT WINAPI HTMLStyle_get_zIndex(IHTMLStyle *iface, VARIANT *p)
2788 HTMLStyle *This = impl_from_IHTMLStyle(iface);
2790 TRACE("(%p)->(%p)\n", This, p);
2792 return get_style_property_var(This, STYLEID_Z_INDEX, p);
2795 static HRESULT WINAPI HTMLStyle_put_overflow(IHTMLStyle *iface, BSTR v)
2797 HTMLStyle *This = impl_from_IHTMLStyle(iface);
2799 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
2801 return set_style_property(This, STYLEID_OVERFLOW, v);
2805 static HRESULT WINAPI HTMLStyle_get_overflow(IHTMLStyle *iface, BSTR *p)
2807 HTMLStyle *This = impl_from_IHTMLStyle(iface);
2809 TRACE("(%p)->(%p)\n", This, p);
2811 if(!p)
2812 return E_INVALIDARG;
2814 return get_style_property(This, STYLEID_OVERFLOW, p);
2817 static HRESULT WINAPI HTMLStyle_put_pageBreakBefore(IHTMLStyle *iface, BSTR v)
2819 HTMLStyle *This = impl_from_IHTMLStyle(iface);
2821 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
2823 return set_style_property(This, STYLEID_PAGE_BREAK_BEFORE, v);
2826 static HRESULT WINAPI HTMLStyle_get_pageBreakBefore(IHTMLStyle *iface, BSTR *p)
2828 HTMLStyle *This = impl_from_IHTMLStyle(iface);
2830 TRACE("(%p)->(%p)\n", This, p);
2832 return get_style_property(This, STYLEID_PAGE_BREAK_BEFORE, p);
2835 static HRESULT WINAPI HTMLStyle_put_pageBreakAfter(IHTMLStyle *iface, BSTR v)
2837 HTMLStyle *This = impl_from_IHTMLStyle(iface);
2839 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
2841 return set_style_property(This, STYLEID_PAGE_BREAK_AFTER, v);
2844 static HRESULT WINAPI HTMLStyle_get_pageBreakAfter(IHTMLStyle *iface, BSTR *p)
2846 HTMLStyle *This = impl_from_IHTMLStyle(iface);
2848 TRACE("(%p)->(%p)\n", This, p);
2850 return get_style_property(This, STYLEID_PAGE_BREAK_AFTER, p);
2853 static HRESULT WINAPI HTMLStyle_put_cssText(IHTMLStyle *iface, BSTR v)
2855 HTMLStyle *This = impl_from_IHTMLStyle(iface);
2857 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
2859 return IHTMLCSSStyleDeclaration_put_cssText(&This->IHTMLCSSStyleDeclaration_iface, v);
2862 static HRESULT WINAPI HTMLStyle_get_cssText(IHTMLStyle *iface, BSTR *p)
2864 HTMLStyle *This = impl_from_IHTMLStyle(iface);
2866 TRACE("(%p)->(%p)\n", This, p);
2868 return IHTMLCSSStyleDeclaration_get_cssText(&This->IHTMLCSSStyleDeclaration_iface, p);
2871 static HRESULT WINAPI HTMLStyle_put_pixelTop(IHTMLStyle *iface, LONG v)
2873 HTMLStyle *This = impl_from_IHTMLStyle(iface);
2875 TRACE("(%p)->(%d)\n", This, v);
2877 return set_style_pxattr(This, STYLEID_TOP, v);
2880 static HRESULT WINAPI HTMLStyle_get_pixelTop(IHTMLStyle *iface, LONG *p)
2882 HTMLStyle *This = impl_from_IHTMLStyle(iface);
2884 TRACE("(%p)->(%p)\n", This, p);
2886 return get_nsstyle_pixel_val(This, STYLEID_TOP, p);
2889 static HRESULT WINAPI HTMLStyle_put_pixelLeft(IHTMLStyle *iface, LONG v)
2891 HTMLStyle *This = impl_from_IHTMLStyle(iface);
2893 TRACE("(%p)->(%d)\n", This, v);
2895 return set_style_pxattr(This, STYLEID_LEFT, v);
2898 static HRESULT WINAPI HTMLStyle_get_pixelLeft(IHTMLStyle *iface, LONG *p)
2900 HTMLStyle *This = impl_from_IHTMLStyle(iface);
2902 TRACE("(%p)->(%p)\n", This, p);
2904 return get_nsstyle_pixel_val(This, STYLEID_LEFT, p);
2907 static HRESULT WINAPI HTMLStyle_put_pixelWidth(IHTMLStyle *iface, LONG v)
2909 HTMLStyle *This = impl_from_IHTMLStyle(iface);
2911 TRACE("(%p)->()\n", This);
2913 return set_style_pxattr(This, STYLEID_WIDTH, v);
2916 static HRESULT WINAPI HTMLStyle_get_pixelWidth(IHTMLStyle *iface, LONG *p)
2918 HTMLStyle *This = impl_from_IHTMLStyle(iface);
2920 TRACE("(%p)->(%p)\n", This, p);
2922 return get_nsstyle_pixel_val(This, STYLEID_WIDTH, p);
2925 static HRESULT WINAPI HTMLStyle_put_pixelHeight(IHTMLStyle *iface, LONG v)
2927 HTMLStyle *This = impl_from_IHTMLStyle(iface);
2929 TRACE("(%p)->(%d)\n", This, v);
2931 return set_style_pxattr(This, STYLEID_HEIGHT, v);
2934 static HRESULT WINAPI HTMLStyle_get_pixelHeight(IHTMLStyle *iface, LONG *p)
2936 HTMLStyle *This = impl_from_IHTMLStyle(iface);
2938 TRACE("(%p)->(%p)\n", This, p);
2940 return get_nsstyle_pixel_val(This, STYLEID_HEIGHT, p);
2943 static HRESULT WINAPI HTMLStyle_put_posTop(IHTMLStyle *iface, float v)
2945 HTMLStyle *This = impl_from_IHTMLStyle(iface);
2947 TRACE("(%p)->(%f)\n", This, v);
2949 return set_style_pos(This, STYLEID_TOP, v);
2952 static HRESULT WINAPI HTMLStyle_get_posTop(IHTMLStyle *iface, float *p)
2954 HTMLStyle *This = impl_from_IHTMLStyle(iface);
2956 TRACE("(%p)->(%p)\n", This, p);
2958 if(!p)
2959 return E_POINTER;
2961 return get_nsstyle_pos(This, STYLEID_TOP, p);
2964 static HRESULT WINAPI HTMLStyle_put_posLeft(IHTMLStyle *iface, float v)
2966 HTMLStyle *This = impl_from_IHTMLStyle(iface);
2968 TRACE("(%p)->(%f)\n", This, v);
2970 return set_style_pos(This, STYLEID_LEFT, v);
2973 static HRESULT WINAPI HTMLStyle_get_posLeft(IHTMLStyle *iface, float *p)
2975 HTMLStyle *This = impl_from_IHTMLStyle(iface);
2977 TRACE("(%p)->(%p)\n", This, p);
2979 if(!p)
2980 return E_POINTER;
2982 return get_nsstyle_pos(This, STYLEID_LEFT, p);
2985 static HRESULT WINAPI HTMLStyle_put_posWidth(IHTMLStyle *iface, float v)
2987 HTMLStyle *This = impl_from_IHTMLStyle(iface);
2989 TRACE("(%p)->(%f)\n", This, v);
2991 return set_style_pos(This, STYLEID_WIDTH, v);
2994 static HRESULT WINAPI HTMLStyle_get_posWidth(IHTMLStyle *iface, float *p)
2996 HTMLStyle *This = impl_from_IHTMLStyle(iface);
2998 TRACE("(%p)->(%p)\n", This, p);
3000 if(!p)
3001 return E_POINTER;
3003 if(get_nsstyle_pos(This, STYLEID_WIDTH, p) != S_OK)
3004 *p = 0.0f;
3006 return S_OK;
3009 static HRESULT WINAPI HTMLStyle_put_posHeight(IHTMLStyle *iface, float v)
3011 HTMLStyle *This = impl_from_IHTMLStyle(iface);
3013 TRACE("(%p)->(%f)\n", This, v);
3015 return set_style_pos(This, STYLEID_HEIGHT, v);
3018 static HRESULT WINAPI HTMLStyle_get_posHeight(IHTMLStyle *iface, float *p)
3020 HTMLStyle *This = impl_from_IHTMLStyle(iface);
3022 TRACE("(%p)->(%p)\n", This, p);
3024 if(!p)
3025 return E_POINTER;
3027 if(get_nsstyle_pos(This, STYLEID_HEIGHT, p) != S_OK)
3028 *p = 0.0f;
3030 return S_OK;
3033 static HRESULT WINAPI HTMLStyle_put_cursor(IHTMLStyle *iface, BSTR v)
3035 HTMLStyle *This = impl_from_IHTMLStyle(iface);
3037 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
3039 return set_style_property(This, STYLEID_CURSOR, v);
3042 static HRESULT WINAPI HTMLStyle_get_cursor(IHTMLStyle *iface, BSTR *p)
3044 HTMLStyle *This = impl_from_IHTMLStyle(iface);
3046 TRACE("(%p)->(%p)\n", This, p);
3048 return get_style_property(This, STYLEID_CURSOR, p);
3051 static HRESULT WINAPI HTMLStyle_put_clip(IHTMLStyle *iface, BSTR v)
3053 HTMLStyle *This = impl_from_IHTMLStyle(iface);
3055 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
3057 return set_style_property(This, STYLEID_CLIP, v);
3060 static HRESULT WINAPI HTMLStyle_get_clip(IHTMLStyle *iface, BSTR *p)
3062 HTMLStyle *This = impl_from_IHTMLStyle(iface);
3064 TRACE("(%p)->(%p)\n", This, p);
3066 return get_style_property(This, STYLEID_CLIP, p);
3069 static void set_opacity(HTMLStyle *This, const WCHAR *val)
3071 nsAString name_str, val_str, empty_str;
3072 nsresult nsres;
3074 static const WCHAR opacityW[] = {'o','p','a','c','i','t','y',0};
3076 TRACE("%s\n", debugstr_w(val));
3078 nsAString_InitDepend(&name_str, opacityW);
3079 nsAString_InitDepend(&val_str, val);
3080 nsAString_InitDepend(&empty_str, emptyW);
3082 nsres = nsIDOMCSSStyleDeclaration_SetProperty(This->nsstyle, &name_str, &val_str, &empty_str);
3083 if(NS_FAILED(nsres))
3084 ERR("SetProperty failed: %08x\n", nsres);
3086 nsAString_Finish(&name_str);
3087 nsAString_Finish(&val_str);
3088 nsAString_Finish(&empty_str);
3091 static void update_filter(HTMLStyle *This)
3093 const WCHAR *ptr, *ptr2;
3095 static const WCHAR alphaW[] = {'a','l','p','h','a'};
3097 if(dispex_compat_mode(&This->dispex) >= COMPAT_MODE_IE10)
3098 return;
3100 ptr = This->elem->filter;
3101 TRACE("%s\n", debugstr_w(ptr));
3102 if(!ptr) {
3103 set_opacity(This, emptyW);
3104 return;
3107 while(1) {
3108 while(isspaceW(*ptr))
3109 ptr++;
3110 if(!*ptr)
3111 break;
3113 ptr2 = ptr;
3114 while(isalnumW(*ptr))
3115 ptr++;
3116 if(ptr == ptr2) {
3117 WARN("unexpected char '%c'\n", *ptr);
3118 break;
3120 if(*ptr != '(') {
3121 WARN("expected '('\n");
3122 continue;
3125 if(ptr2 + ARRAY_SIZE(alphaW) == ptr && !memcmp(ptr2, alphaW, sizeof(alphaW))) {
3126 static const WCHAR formatW[] = {'%','f',0};
3127 static const WCHAR opacityW[] = {'o','p','a','c','i','t','y','='};
3129 ptr++;
3130 do {
3131 while(isspaceW(*ptr))
3132 ptr++;
3134 ptr2 = ptr;
3135 while(*ptr && *ptr != ',' && *ptr != ')')
3136 ptr++;
3137 if(!*ptr) {
3138 WARN("unexpected end of string\n");
3139 break;
3142 if(ptr-ptr2 > ARRAY_SIZE(opacityW) && !memcmp(ptr2, opacityW, sizeof(opacityW))) {
3143 float fval = 0.0f, e = 0.1f;
3144 WCHAR buf[32];
3146 ptr2 += ARRAY_SIZE(opacityW);
3148 while(isdigitW(*ptr2))
3149 fval = fval*10.0f + (float)(*ptr2++ - '0');
3151 if(*ptr2 == '.') {
3152 while(isdigitW(*++ptr2)) {
3153 fval += e * (float)(*ptr2++ - '0');
3154 e *= 0.1f;
3158 sprintfW(buf, formatW, fval * 0.01f);
3159 set_opacity(This, buf);
3160 }else {
3161 FIXME("unknown param %s\n", debugstr_wn(ptr2, ptr-ptr2));
3164 if(*ptr == ',')
3165 ptr++;
3166 }while(*ptr != ')');
3167 }else {
3168 FIXME("unknown filter %s\n", debugstr_wn(ptr2, ptr-ptr2));
3169 ptr = strchrW(ptr, ')');
3170 if(!ptr)
3171 break;
3172 ptr++;
3177 static HRESULT WINAPI HTMLStyle_put_filter(IHTMLStyle *iface, BSTR v)
3179 HTMLStyle *This = impl_from_IHTMLStyle(iface);
3180 WCHAR *new_filter = NULL;
3182 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
3184 if(!This->elem) {
3185 FIXME("Element already destroyed\n");
3186 return E_UNEXPECTED;
3189 if(v) {
3190 new_filter = heap_strdupW(v);
3191 if(!new_filter)
3192 return E_OUTOFMEMORY;
3195 heap_free(This->elem->filter);
3196 This->elem->filter = new_filter;
3198 update_filter(This);
3199 return S_OK;
3202 static HRESULT WINAPI HTMLStyle_get_filter(IHTMLStyle *iface, BSTR *p)
3204 HTMLStyle *This = impl_from_IHTMLStyle(iface);
3206 TRACE("(%p)->(%p)\n", This, p);
3208 if(!This->elem) {
3209 FIXME("Element already destroyed\n");
3210 return E_UNEXPECTED;
3213 if(This->elem->filter) {
3214 *p = SysAllocString(This->elem->filter);
3215 if(!*p)
3216 return E_OUTOFMEMORY;
3217 }else {
3218 *p = NULL;
3221 return S_OK;
3224 static HRESULT WINAPI HTMLStyle_setAttribute(IHTMLStyle *iface, BSTR strAttributeName,
3225 VARIANT AttributeValue, LONG lFlags)
3227 HTMLStyle *This = impl_from_IHTMLStyle(iface);
3228 HRESULT hres;
3229 DISPID dispid;
3231 TRACE("(%p)->(%s %s %08x)\n", This, debugstr_w(strAttributeName),
3232 debugstr_variant(&AttributeValue), lFlags);
3234 if(!strAttributeName)
3235 return E_INVALIDARG;
3237 if(lFlags == 1)
3238 FIXME("Parameter lFlags ignored\n");
3240 hres = HTMLStyle_GetIDsOfNames(iface, &IID_NULL, &strAttributeName, 1,
3241 LOCALE_USER_DEFAULT, &dispid);
3242 if(hres == S_OK)
3244 VARIANT ret;
3245 DISPID dispidNamed = DISPID_PROPERTYPUT;
3246 DISPPARAMS params;
3248 params.cArgs = 1;
3249 params.rgvarg = &AttributeValue;
3250 params.cNamedArgs = 1;
3251 params.rgdispidNamedArgs = &dispidNamed;
3253 hres = HTMLStyle_Invoke(iface, dispid, &IID_NULL, LOCALE_SYSTEM_DEFAULT,
3254 DISPATCH_PROPERTYPUT, &params, &ret, NULL, NULL);
3256 else
3258 FIXME("Custom attributes not supported.\n");
3261 TRACE("ret: %08x\n", hres);
3263 return hres;
3266 static HRESULT WINAPI HTMLStyle_getAttribute(IHTMLStyle *iface, BSTR strAttributeName,
3267 LONG lFlags, VARIANT *AttributeValue)
3269 HTMLStyle *This = impl_from_IHTMLStyle(iface);
3270 HRESULT hres;
3271 DISPID dispid;
3273 TRACE("(%p)->(%s v%p %08x)\n", This, debugstr_w(strAttributeName),
3274 AttributeValue, lFlags);
3276 if(!AttributeValue || !strAttributeName)
3277 return E_INVALIDARG;
3279 if(lFlags == 1)
3280 FIXME("Parameter lFlags ignored\n");
3282 hres = HTMLStyle_GetIDsOfNames(iface, &IID_NULL, &strAttributeName, 1,
3283 LOCALE_USER_DEFAULT, &dispid);
3284 if(hres == S_OK)
3286 DISPPARAMS params = {NULL, NULL, 0, 0 };
3288 hres = HTMLStyle_Invoke(iface, dispid, &IID_NULL, LOCALE_SYSTEM_DEFAULT,
3289 DISPATCH_PROPERTYGET, &params, AttributeValue, NULL, NULL);
3291 else
3293 FIXME("Custom attributes not supported.\n");
3296 return hres;
3299 static HRESULT WINAPI HTMLStyle_removeAttribute(IHTMLStyle *iface, BSTR strAttributeName,
3300 LONG lFlags, VARIANT_BOOL *pfSuccess)
3302 HTMLStyle *This = impl_from_IHTMLStyle(iface);
3303 const style_tbl_entry_t *style_entry;
3304 nsAString name_str, ret_str;
3305 nsresult nsres;
3306 HRESULT hres;
3308 TRACE("(%p)->(%s %08x %p)\n", This, debugstr_w(strAttributeName), lFlags, pfSuccess);
3310 style_entry = lookup_style_tbl(strAttributeName);
3311 if(!style_entry) {
3312 compat_mode_t compat_mode = dispex_compat_mode(&This->dispex);
3313 DISPID dispid;
3314 unsigned i;
3316 hres = IDispatchEx_GetDispID(&This->dispex.IDispatchEx_iface, strAttributeName,
3317 (lFlags&1) ? fdexNameCaseSensitive : fdexNameCaseInsensitive, &dispid);
3318 if(hres != S_OK) {
3319 *pfSuccess = VARIANT_FALSE;
3320 return S_OK;
3323 for(i=0; i < ARRAY_SIZE(style_tbl); i++) {
3324 if(dispid == (compat_mode >= COMPAT_MODE_IE9
3325 ? style_tbl[i].dispid : style_tbl[i].compat_dispid))
3326 break;
3329 if(i == ARRAY_SIZE(style_tbl))
3330 return remove_attribute(&This->dispex, dispid, pfSuccess);
3331 style_entry = style_tbl+i;
3334 /* filter property is a special case */
3335 if(style_entry->compat_dispid == DISPID_IHTMLSTYLE_FILTER) {
3336 *pfSuccess = variant_bool(This->elem->filter && *This->elem->filter);
3337 heap_free(This->elem->filter);
3338 This->elem->filter = NULL;
3339 update_filter(This);
3340 return S_OK;
3343 nsAString_InitDepend(&name_str, style_entry->name);
3344 nsAString_Init(&ret_str, NULL);
3345 nsres = nsIDOMCSSStyleDeclaration_RemoveProperty(This->nsstyle, &name_str, &ret_str);
3346 if(NS_SUCCEEDED(nsres)) {
3347 const PRUnichar *ret;
3348 nsAString_GetData(&ret_str, &ret);
3349 *pfSuccess = variant_bool(*ret);
3350 }else {
3351 ERR("RemoveProperty failed: %08x\n", nsres);
3353 nsAString_Finish(&name_str);
3354 nsAString_Finish(&ret_str);
3355 return NS_SUCCEEDED(nsres) ? S_OK : E_FAIL;
3358 static HRESULT WINAPI HTMLStyle_toString(IHTMLStyle *iface, BSTR *String)
3360 HTMLStyle *This = impl_from_IHTMLStyle(iface);
3361 FIXME("(%p)->(%p)\n", This, String);
3362 return E_NOTIMPL;
3365 static const IHTMLStyleVtbl HTMLStyleVtbl = {
3366 HTMLStyle_QueryInterface,
3367 HTMLStyle_AddRef,
3368 HTMLStyle_Release,
3369 HTMLStyle_GetTypeInfoCount,
3370 HTMLStyle_GetTypeInfo,
3371 HTMLStyle_GetIDsOfNames,
3372 HTMLStyle_Invoke,
3373 HTMLStyle_put_fontFamily,
3374 HTMLStyle_get_fontFamily,
3375 HTMLStyle_put_fontStyle,
3376 HTMLStyle_get_fontStyle,
3377 HTMLStyle_put_fontVariant,
3378 HTMLStyle_get_fontVariant,
3379 HTMLStyle_put_fontWeight,
3380 HTMLStyle_get_fontWeight,
3381 HTMLStyle_put_fontSize,
3382 HTMLStyle_get_fontSize,
3383 HTMLStyle_put_font,
3384 HTMLStyle_get_font,
3385 HTMLStyle_put_color,
3386 HTMLStyle_get_color,
3387 HTMLStyle_put_background,
3388 HTMLStyle_get_background,
3389 HTMLStyle_put_backgroundColor,
3390 HTMLStyle_get_backgroundColor,
3391 HTMLStyle_put_backgroundImage,
3392 HTMLStyle_get_backgroundImage,
3393 HTMLStyle_put_backgroundRepeat,
3394 HTMLStyle_get_backgroundRepeat,
3395 HTMLStyle_put_backgroundAttachment,
3396 HTMLStyle_get_backgroundAttachment,
3397 HTMLStyle_put_backgroundPosition,
3398 HTMLStyle_get_backgroundPosition,
3399 HTMLStyle_put_backgroundPositionX,
3400 HTMLStyle_get_backgroundPositionX,
3401 HTMLStyle_put_backgroundPositionY,
3402 HTMLStyle_get_backgroundPositionY,
3403 HTMLStyle_put_wordSpacing,
3404 HTMLStyle_get_wordSpacing,
3405 HTMLStyle_put_letterSpacing,
3406 HTMLStyle_get_letterSpacing,
3407 HTMLStyle_put_textDecoration,
3408 HTMLStyle_get_textDecoration,
3409 HTMLStyle_put_textDecorationNone,
3410 HTMLStyle_get_textDecorationNone,
3411 HTMLStyle_put_textDecorationUnderline,
3412 HTMLStyle_get_textDecorationUnderline,
3413 HTMLStyle_put_textDecorationOverline,
3414 HTMLStyle_get_textDecorationOverline,
3415 HTMLStyle_put_textDecorationLineThrough,
3416 HTMLStyle_get_textDecorationLineThrough,
3417 HTMLStyle_put_textDecorationBlink,
3418 HTMLStyle_get_textDecorationBlink,
3419 HTMLStyle_put_verticalAlign,
3420 HTMLStyle_get_verticalAlign,
3421 HTMLStyle_put_textTransform,
3422 HTMLStyle_get_textTransform,
3423 HTMLStyle_put_textAlign,
3424 HTMLStyle_get_textAlign,
3425 HTMLStyle_put_textIndent,
3426 HTMLStyle_get_textIndent,
3427 HTMLStyle_put_lineHeight,
3428 HTMLStyle_get_lineHeight,
3429 HTMLStyle_put_marginTop,
3430 HTMLStyle_get_marginTop,
3431 HTMLStyle_put_marginRight,
3432 HTMLStyle_get_marginRight,
3433 HTMLStyle_put_marginBottom,
3434 HTMLStyle_get_marginBottom,
3435 HTMLStyle_put_marginLeft,
3436 HTMLStyle_get_marginLeft,
3437 HTMLStyle_put_margin,
3438 HTMLStyle_get_margin,
3439 HTMLStyle_put_paddingTop,
3440 HTMLStyle_get_paddingTop,
3441 HTMLStyle_put_paddingRight,
3442 HTMLStyle_get_paddingRight,
3443 HTMLStyle_put_paddingBottom,
3444 HTMLStyle_get_paddingBottom,
3445 HTMLStyle_put_paddingLeft,
3446 HTMLStyle_get_paddingLeft,
3447 HTMLStyle_put_padding,
3448 HTMLStyle_get_padding,
3449 HTMLStyle_put_border,
3450 HTMLStyle_get_border,
3451 HTMLStyle_put_borderTop,
3452 HTMLStyle_get_borderTop,
3453 HTMLStyle_put_borderRight,
3454 HTMLStyle_get_borderRight,
3455 HTMLStyle_put_borderBottom,
3456 HTMLStyle_get_borderBottom,
3457 HTMLStyle_put_borderLeft,
3458 HTMLStyle_get_borderLeft,
3459 HTMLStyle_put_borderColor,
3460 HTMLStyle_get_borderColor,
3461 HTMLStyle_put_borderTopColor,
3462 HTMLStyle_get_borderTopColor,
3463 HTMLStyle_put_borderRightColor,
3464 HTMLStyle_get_borderRightColor,
3465 HTMLStyle_put_borderBottomColor,
3466 HTMLStyle_get_borderBottomColor,
3467 HTMLStyle_put_borderLeftColor,
3468 HTMLStyle_get_borderLeftColor,
3469 HTMLStyle_put_borderWidth,
3470 HTMLStyle_get_borderWidth,
3471 HTMLStyle_put_borderTopWidth,
3472 HTMLStyle_get_borderTopWidth,
3473 HTMLStyle_put_borderRightWidth,
3474 HTMLStyle_get_borderRightWidth,
3475 HTMLStyle_put_borderBottomWidth,
3476 HTMLStyle_get_borderBottomWidth,
3477 HTMLStyle_put_borderLeftWidth,
3478 HTMLStyle_get_borderLeftWidth,
3479 HTMLStyle_put_borderStyle,
3480 HTMLStyle_get_borderStyle,
3481 HTMLStyle_put_borderTopStyle,
3482 HTMLStyle_get_borderTopStyle,
3483 HTMLStyle_put_borderRightStyle,
3484 HTMLStyle_get_borderRightStyle,
3485 HTMLStyle_put_borderBottomStyle,
3486 HTMLStyle_get_borderBottomStyle,
3487 HTMLStyle_put_borderLeftStyle,
3488 HTMLStyle_get_borderLeftStyle,
3489 HTMLStyle_put_width,
3490 HTMLStyle_get_width,
3491 HTMLStyle_put_height,
3492 HTMLStyle_get_height,
3493 HTMLStyle_put_styleFloat,
3494 HTMLStyle_get_styleFloat,
3495 HTMLStyle_put_clear,
3496 HTMLStyle_get_clear,
3497 HTMLStyle_put_display,
3498 HTMLStyle_get_display,
3499 HTMLStyle_put_visibility,
3500 HTMLStyle_get_visibility,
3501 HTMLStyle_put_listStyleType,
3502 HTMLStyle_get_listStyleType,
3503 HTMLStyle_put_listStylePosition,
3504 HTMLStyle_get_listStylePosition,
3505 HTMLStyle_put_listStyleImage,
3506 HTMLStyle_get_listStyleImage,
3507 HTMLStyle_put_listStyle,
3508 HTMLStyle_get_listStyle,
3509 HTMLStyle_put_whiteSpace,
3510 HTMLStyle_get_whiteSpace,
3511 HTMLStyle_put_top,
3512 HTMLStyle_get_top,
3513 HTMLStyle_put_left,
3514 HTMLStyle_get_left,
3515 HTMLStyle_get_position,
3516 HTMLStyle_put_zIndex,
3517 HTMLStyle_get_zIndex,
3518 HTMLStyle_put_overflow,
3519 HTMLStyle_get_overflow,
3520 HTMLStyle_put_pageBreakBefore,
3521 HTMLStyle_get_pageBreakBefore,
3522 HTMLStyle_put_pageBreakAfter,
3523 HTMLStyle_get_pageBreakAfter,
3524 HTMLStyle_put_cssText,
3525 HTMLStyle_get_cssText,
3526 HTMLStyle_put_pixelTop,
3527 HTMLStyle_get_pixelTop,
3528 HTMLStyle_put_pixelLeft,
3529 HTMLStyle_get_pixelLeft,
3530 HTMLStyle_put_pixelWidth,
3531 HTMLStyle_get_pixelWidth,
3532 HTMLStyle_put_pixelHeight,
3533 HTMLStyle_get_pixelHeight,
3534 HTMLStyle_put_posTop,
3535 HTMLStyle_get_posTop,
3536 HTMLStyle_put_posLeft,
3537 HTMLStyle_get_posLeft,
3538 HTMLStyle_put_posWidth,
3539 HTMLStyle_get_posWidth,
3540 HTMLStyle_put_posHeight,
3541 HTMLStyle_get_posHeight,
3542 HTMLStyle_put_cursor,
3543 HTMLStyle_get_cursor,
3544 HTMLStyle_put_clip,
3545 HTMLStyle_get_clip,
3546 HTMLStyle_put_filter,
3547 HTMLStyle_get_filter,
3548 HTMLStyle_setAttribute,
3549 HTMLStyle_getAttribute,
3550 HTMLStyle_removeAttribute,
3551 HTMLStyle_toString
3554 static inline HTMLStyle *impl_from_IHTMLStyle2(IHTMLStyle2 *iface)
3556 return CONTAINING_RECORD(iface, HTMLStyle, IHTMLStyle2_iface);
3559 static HRESULT WINAPI HTMLStyle2_QueryInterface(IHTMLStyle2 *iface, REFIID riid, void **ppv)
3561 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
3563 return IHTMLStyle_QueryInterface(&This->IHTMLStyle_iface, riid, ppv);
3566 static ULONG WINAPI HTMLStyle2_AddRef(IHTMLStyle2 *iface)
3568 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
3570 return IHTMLStyle_AddRef(&This->IHTMLStyle_iface);
3573 static ULONG WINAPI HTMLStyle2_Release(IHTMLStyle2 *iface)
3575 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
3577 return IHTMLStyle_Release(&This->IHTMLStyle_iface);
3580 static HRESULT WINAPI HTMLStyle2_GetTypeInfoCount(IHTMLStyle2 *iface, UINT *pctinfo)
3582 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
3583 return IDispatchEx_GetTypeInfoCount(&This->dispex.IDispatchEx_iface, pctinfo);
3586 static HRESULT WINAPI HTMLStyle2_GetTypeInfo(IHTMLStyle2 *iface, UINT iTInfo,
3587 LCID lcid, ITypeInfo **ppTInfo)
3589 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
3590 return IDispatchEx_GetTypeInfo(&This->dispex.IDispatchEx_iface, iTInfo, lcid, ppTInfo);
3593 static HRESULT WINAPI HTMLStyle2_GetIDsOfNames(IHTMLStyle2 *iface, REFIID riid,
3594 LPOLESTR *rgszNames, UINT cNames,
3595 LCID lcid, DISPID *rgDispId)
3597 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
3598 return IDispatchEx_GetIDsOfNames(&This->dispex.IDispatchEx_iface, riid, rgszNames, cNames,
3599 lcid, rgDispId);
3602 static HRESULT WINAPI HTMLStyle2_Invoke(IHTMLStyle2 *iface, DISPID dispIdMember,
3603 REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams,
3604 VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
3606 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
3607 return IDispatchEx_Invoke(&This->dispex.IDispatchEx_iface, dispIdMember, riid, lcid,
3608 wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr);
3611 static HRESULT WINAPI HTMLStyle2_put_tableLayout(IHTMLStyle2 *iface, BSTR v)
3613 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
3615 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
3617 return set_style_property(This, STYLEID_TABLE_LAYOUT, v);
3620 static HRESULT WINAPI HTMLStyle2_get_tableLayout(IHTMLStyle2 *iface, BSTR *p)
3622 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
3624 TRACE("(%p)->(%p)\n", This, p);
3626 return get_style_property(This, STYLEID_TABLE_LAYOUT, p);
3629 static HRESULT WINAPI HTMLStyle2_put_borderCollapse(IHTMLStyle2 *iface, BSTR v)
3631 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
3632 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
3633 return E_NOTIMPL;
3636 static HRESULT WINAPI HTMLStyle2_get_borderCollapse(IHTMLStyle2 *iface, BSTR *p)
3638 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
3639 FIXME("(%p)->(%p)\n", This, p);
3640 return E_NOTIMPL;
3643 static HRESULT WINAPI HTMLStyle2_put_direction(IHTMLStyle2 *iface, BSTR v)
3645 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
3647 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
3649 return set_style_property(This, STYLEID_DIRECTION, v);
3652 static HRESULT WINAPI HTMLStyle2_get_direction(IHTMLStyle2 *iface, BSTR *p)
3654 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
3656 TRACE("(%p)->(%p)\n", This, p);
3658 return get_style_property(This, STYLEID_DIRECTION, p);
3661 static HRESULT WINAPI HTMLStyle2_put_behavior(IHTMLStyle2 *iface, BSTR v)
3663 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
3664 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
3665 return S_OK;
3668 static HRESULT WINAPI HTMLStyle2_get_behavior(IHTMLStyle2 *iface, BSTR *p)
3670 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
3671 FIXME("(%p)->(%p)\n", This, p);
3672 return E_NOTIMPL;
3675 static HRESULT WINAPI HTMLStyle2_setExpression(IHTMLStyle2 *iface, BSTR propname, BSTR expression, BSTR language)
3677 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
3678 FIXME("(%p)->(%s %s %s)\n", This, debugstr_w(propname), debugstr_w(expression), debugstr_w(language));
3679 return E_NOTIMPL;
3682 static HRESULT WINAPI HTMLStyle2_getExpression(IHTMLStyle2 *iface, BSTR propname, VARIANT *expression)
3684 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
3685 FIXME("(%p)->(%s %p)\n", This, debugstr_w(propname), expression);
3686 return E_NOTIMPL;
3689 static HRESULT WINAPI HTMLStyle2_removeExpression(IHTMLStyle2 *iface, BSTR propname, VARIANT_BOOL *pfSuccess)
3691 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
3692 FIXME("(%p)->(%s %p)\n", This, debugstr_w(propname), pfSuccess);
3693 return E_NOTIMPL;
3696 static HRESULT WINAPI HTMLStyle2_put_position(IHTMLStyle2 *iface, BSTR v)
3698 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
3700 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
3702 return set_style_property(This, STYLEID_POSITION, v);
3705 static HRESULT WINAPI HTMLStyle2_get_position(IHTMLStyle2 *iface, BSTR *p)
3707 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
3709 TRACE("(%p)->(%p)\n", This, p);
3711 return get_style_property(This, STYLEID_POSITION, p);
3714 static HRESULT WINAPI HTMLStyle2_put_unicodeBidi(IHTMLStyle2 *iface, BSTR v)
3716 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
3717 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
3718 return E_NOTIMPL;
3721 static HRESULT WINAPI HTMLStyle2_get_unicodeBidi(IHTMLStyle2 *iface, BSTR *p)
3723 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
3724 FIXME("(%p)->(%p)\n", This, p);
3725 return E_NOTIMPL;
3728 static HRESULT WINAPI HTMLStyle2_put_bottom(IHTMLStyle2 *iface, VARIANT v)
3730 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
3732 TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
3734 return set_style_property_var(This, STYLEID_BOTTOM, &v);
3737 static HRESULT WINAPI HTMLStyle2_get_bottom(IHTMLStyle2 *iface, VARIANT *p)
3739 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
3741 TRACE("(%p)->(%p)\n", This, p);
3743 return get_style_property_var(This, STYLEID_BOTTOM, p);
3746 static HRESULT WINAPI HTMLStyle2_put_right(IHTMLStyle2 *iface, VARIANT v)
3748 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
3750 TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
3752 return set_style_property_var(This, STYLEID_RIGHT, &v);
3755 static HRESULT WINAPI HTMLStyle2_get_right(IHTMLStyle2 *iface, VARIANT *p)
3757 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
3759 TRACE("(%p)->(%p)\n", This, p);
3761 return get_style_property_var(This, STYLEID_RIGHT, p);
3764 static HRESULT WINAPI HTMLStyle2_put_pixelBottom(IHTMLStyle2 *iface, LONG v)
3766 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
3767 FIXME("(%p)->(%d)\n", This, v);
3768 return E_NOTIMPL;
3771 static HRESULT WINAPI HTMLStyle2_get_pixelBottom(IHTMLStyle2 *iface, LONG *p)
3773 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
3774 FIXME("(%p)->(%p)\n", This, p);
3775 return E_NOTIMPL;
3778 static HRESULT WINAPI HTMLStyle2_put_pixelRight(IHTMLStyle2 *iface, LONG v)
3780 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
3781 FIXME("(%p)->(%d)\n", This, v);
3782 return E_NOTIMPL;
3785 static HRESULT WINAPI HTMLStyle2_get_pixelRight(IHTMLStyle2 *iface, LONG *p)
3787 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
3788 FIXME("(%p)->(%p)\n", This, p);
3789 return E_NOTIMPL;
3792 static HRESULT WINAPI HTMLStyle2_put_posBottom(IHTMLStyle2 *iface, float v)
3794 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
3795 FIXME("(%p)->(%f)\n", This, v);
3796 return E_NOTIMPL;
3799 static HRESULT WINAPI HTMLStyle2_get_posBottom(IHTMLStyle2 *iface, float *p)
3801 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
3802 FIXME("(%p)->(%p)\n", This, p);
3803 return E_NOTIMPL;
3806 static HRESULT WINAPI HTMLStyle2_put_posRight(IHTMLStyle2 *iface, float v)
3808 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
3809 FIXME("(%p)->(%f)\n", This, v);
3810 return E_NOTIMPL;
3813 static HRESULT WINAPI HTMLStyle2_get_posRight(IHTMLStyle2 *iface, float *p)
3815 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
3816 FIXME("(%p)->(%p)\n", This, p);
3817 return E_NOTIMPL;
3820 static HRESULT WINAPI HTMLStyle2_put_imeMode(IHTMLStyle2 *iface, BSTR v)
3822 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
3823 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
3824 return E_NOTIMPL;
3827 static HRESULT WINAPI HTMLStyle2_get_imeMode(IHTMLStyle2 *iface, BSTR *p)
3829 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
3830 FIXME("(%p)->(%p)\n", This, p);
3831 return E_NOTIMPL;
3834 static HRESULT WINAPI HTMLStyle2_put_rubyAlign(IHTMLStyle2 *iface, BSTR v)
3836 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
3837 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
3838 return E_NOTIMPL;
3841 static HRESULT WINAPI HTMLStyle2_get_rubyAlign(IHTMLStyle2 *iface, BSTR *p)
3843 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
3844 FIXME("(%p)->(%p)\n", This, p);
3845 return E_NOTIMPL;
3848 static HRESULT WINAPI HTMLStyle2_put_rubyPosition(IHTMLStyle2 *iface, BSTR v)
3850 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
3851 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
3852 return E_NOTIMPL;
3855 static HRESULT WINAPI HTMLStyle2_get_rubyPosition(IHTMLStyle2 *iface, BSTR *p)
3857 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
3858 FIXME("(%p)->(%p)\n", This, p);
3859 return E_NOTIMPL;
3862 static HRESULT WINAPI HTMLStyle2_put_rubyOverhang(IHTMLStyle2 *iface, BSTR v)
3864 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
3865 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
3866 return E_NOTIMPL;
3869 static HRESULT WINAPI HTMLStyle2_get_rubyOverhang(IHTMLStyle2 *iface, BSTR *p)
3871 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
3872 FIXME("(%p)->(%p)\n", This, p);
3873 return E_NOTIMPL;
3876 static HRESULT WINAPI HTMLStyle2_put_layoutGridChar(IHTMLStyle2 *iface, VARIANT v)
3878 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
3879 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
3880 return E_NOTIMPL;
3883 static HRESULT WINAPI HTMLStyle2_get_layoutGridChar(IHTMLStyle2 *iface, VARIANT *p)
3885 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
3886 FIXME("(%p)->(%p)\n", This, p);
3887 return E_NOTIMPL;
3890 static HRESULT WINAPI HTMLStyle2_put_layoutGridLine(IHTMLStyle2 *iface, VARIANT v)
3892 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
3893 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
3894 return E_NOTIMPL;
3897 static HRESULT WINAPI HTMLStyle2_get_layoutGridLine(IHTMLStyle2 *iface, VARIANT *p)
3899 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
3900 FIXME("(%p)->(%p)\n", This, p);
3901 return E_NOTIMPL;
3904 static HRESULT WINAPI HTMLStyle2_put_layoutGridMode(IHTMLStyle2 *iface, BSTR v)
3906 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
3907 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
3908 return E_NOTIMPL;
3911 static HRESULT WINAPI HTMLStyle2_get_layoutGridMode(IHTMLStyle2 *iface, BSTR *p)
3913 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
3914 FIXME("(%p)->(%p)\n", This, p);
3915 return E_NOTIMPL;
3918 static HRESULT WINAPI HTMLStyle2_put_layoutGridType(IHTMLStyle2 *iface, BSTR v)
3920 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
3921 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
3922 return E_NOTIMPL;
3925 static HRESULT WINAPI HTMLStyle2_get_layoutGridType(IHTMLStyle2 *iface, BSTR *p)
3927 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
3928 FIXME("(%p)->(%p)\n", This, p);
3929 return E_NOTIMPL;
3932 static HRESULT WINAPI HTMLStyle2_put_layoutGrid(IHTMLStyle2 *iface, BSTR v)
3934 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
3935 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
3936 return E_NOTIMPL;
3939 static HRESULT WINAPI HTMLStyle2_get_layoutGrid(IHTMLStyle2 *iface, BSTR *p)
3941 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
3942 FIXME("(%p)->(%p)\n", This, p);
3943 return E_NOTIMPL;
3946 static HRESULT WINAPI HTMLStyle2_put_wordBreak(IHTMLStyle2 *iface, BSTR v)
3948 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
3949 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
3950 return E_NOTIMPL;
3953 static HRESULT WINAPI HTMLStyle2_get_wordBreak(IHTMLStyle2 *iface, BSTR *p)
3955 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
3956 FIXME("(%p)->(%p)\n", This, p);
3957 return E_NOTIMPL;
3960 static HRESULT WINAPI HTMLStyle2_put_lineBreak(IHTMLStyle2 *iface, BSTR v)
3962 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
3963 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
3964 return E_NOTIMPL;
3967 static HRESULT WINAPI HTMLStyle2_get_lineBreak(IHTMLStyle2 *iface, BSTR *p)
3969 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
3970 FIXME("(%p)->(%p)\n", This, p);
3971 return E_NOTIMPL;
3974 static HRESULT WINAPI HTMLStyle2_put_textJustify(IHTMLStyle2 *iface, BSTR v)
3976 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
3977 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
3978 return E_NOTIMPL;
3981 static HRESULT WINAPI HTMLStyle2_get_textJustify(IHTMLStyle2 *iface, BSTR *p)
3983 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
3984 FIXME("(%p)->(%p)\n", This, p);
3985 return E_NOTIMPL;
3988 static HRESULT WINAPI HTMLStyle2_put_textJustifyTrim(IHTMLStyle2 *iface, BSTR v)
3990 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
3991 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
3992 return E_NOTIMPL;
3995 static HRESULT WINAPI HTMLStyle2_get_textJustifyTrim(IHTMLStyle2 *iface, BSTR *p)
3997 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
3998 FIXME("(%p)->(%p)\n", This, p);
3999 return E_NOTIMPL;
4002 static HRESULT WINAPI HTMLStyle2_put_textKashida(IHTMLStyle2 *iface, VARIANT v)
4004 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
4005 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
4006 return E_NOTIMPL;
4009 static HRESULT WINAPI HTMLStyle2_get_textKashida(IHTMLStyle2 *iface, VARIANT *p)
4011 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
4012 FIXME("(%p)->(%p)\n", This, p);
4013 return E_NOTIMPL;
4016 static HRESULT WINAPI HTMLStyle2_put_textAutospace(IHTMLStyle2 *iface, BSTR v)
4018 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
4019 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
4020 return E_NOTIMPL;
4023 static HRESULT WINAPI HTMLStyle2_get_textAutospace(IHTMLStyle2 *iface, BSTR *p)
4025 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
4026 FIXME("(%p)->(%p)\n", This, p);
4027 return E_NOTIMPL;
4030 static HRESULT WINAPI HTMLStyle2_put_overflowX(IHTMLStyle2 *iface, BSTR v)
4032 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
4034 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
4036 return set_style_property(This, STYLEID_OVERFLOW_X, v);
4039 static HRESULT WINAPI HTMLStyle2_get_overflowX(IHTMLStyle2 *iface, BSTR *p)
4041 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
4043 TRACE("(%p)->(%p)\n", This, p);
4045 return get_style_property(This, STYLEID_OVERFLOW_X, p);
4048 static HRESULT WINAPI HTMLStyle2_put_overflowY(IHTMLStyle2 *iface, BSTR v)
4050 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
4052 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
4054 return set_style_property(This, STYLEID_OVERFLOW_Y, v);
4057 static HRESULT WINAPI HTMLStyle2_get_overflowY(IHTMLStyle2 *iface, BSTR *p)
4059 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
4061 TRACE("(%p)->(%p)\n", This, p);
4063 return get_style_property(This, STYLEID_OVERFLOW_Y, p);
4066 static HRESULT WINAPI HTMLStyle2_put_accelerator(IHTMLStyle2 *iface, BSTR v)
4068 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
4069 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
4070 return E_NOTIMPL;
4073 static HRESULT WINAPI HTMLStyle2_get_accelerator(IHTMLStyle2 *iface, BSTR *p)
4075 HTMLStyle *This = impl_from_IHTMLStyle2(iface);
4076 FIXME("(%p)->(%p)\n", This, p);
4077 return E_NOTIMPL;
4080 static const IHTMLStyle2Vtbl HTMLStyle2Vtbl = {
4081 HTMLStyle2_QueryInterface,
4082 HTMLStyle2_AddRef,
4083 HTMLStyle2_Release,
4084 HTMLStyle2_GetTypeInfoCount,
4085 HTMLStyle2_GetTypeInfo,
4086 HTMLStyle2_GetIDsOfNames,
4087 HTMLStyle2_Invoke,
4088 HTMLStyle2_put_tableLayout,
4089 HTMLStyle2_get_tableLayout,
4090 HTMLStyle2_put_borderCollapse,
4091 HTMLStyle2_get_borderCollapse,
4092 HTMLStyle2_put_direction,
4093 HTMLStyle2_get_direction,
4094 HTMLStyle2_put_behavior,
4095 HTMLStyle2_get_behavior,
4096 HTMLStyle2_setExpression,
4097 HTMLStyle2_getExpression,
4098 HTMLStyle2_removeExpression,
4099 HTMLStyle2_put_position,
4100 HTMLStyle2_get_position,
4101 HTMLStyle2_put_unicodeBidi,
4102 HTMLStyle2_get_unicodeBidi,
4103 HTMLStyle2_put_bottom,
4104 HTMLStyle2_get_bottom,
4105 HTMLStyle2_put_right,
4106 HTMLStyle2_get_right,
4107 HTMLStyle2_put_pixelBottom,
4108 HTMLStyle2_get_pixelBottom,
4109 HTMLStyle2_put_pixelRight,
4110 HTMLStyle2_get_pixelRight,
4111 HTMLStyle2_put_posBottom,
4112 HTMLStyle2_get_posBottom,
4113 HTMLStyle2_put_posRight,
4114 HTMLStyle2_get_posRight,
4115 HTMLStyle2_put_imeMode,
4116 HTMLStyle2_get_imeMode,
4117 HTMLStyle2_put_rubyAlign,
4118 HTMLStyle2_get_rubyAlign,
4119 HTMLStyle2_put_rubyPosition,
4120 HTMLStyle2_get_rubyPosition,
4121 HTMLStyle2_put_rubyOverhang,
4122 HTMLStyle2_get_rubyOverhang,
4123 HTMLStyle2_put_layoutGridChar,
4124 HTMLStyle2_get_layoutGridChar,
4125 HTMLStyle2_put_layoutGridLine,
4126 HTMLStyle2_get_layoutGridLine,
4127 HTMLStyle2_put_layoutGridMode,
4128 HTMLStyle2_get_layoutGridMode,
4129 HTMLStyle2_put_layoutGridType,
4130 HTMLStyle2_get_layoutGridType,
4131 HTMLStyle2_put_layoutGrid,
4132 HTMLStyle2_get_layoutGrid,
4133 HTMLStyle2_put_wordBreak,
4134 HTMLStyle2_get_wordBreak,
4135 HTMLStyle2_put_lineBreak,
4136 HTMLStyle2_get_lineBreak,
4137 HTMLStyle2_put_textJustify,
4138 HTMLStyle2_get_textJustify,
4139 HTMLStyle2_put_textJustifyTrim,
4140 HTMLStyle2_get_textJustifyTrim,
4141 HTMLStyle2_put_textKashida,
4142 HTMLStyle2_get_textKashida,
4143 HTMLStyle2_put_textAutospace,
4144 HTMLStyle2_get_textAutospace,
4145 HTMLStyle2_put_overflowX,
4146 HTMLStyle2_get_overflowX,
4147 HTMLStyle2_put_overflowY,
4148 HTMLStyle2_get_overflowY,
4149 HTMLStyle2_put_accelerator,
4150 HTMLStyle2_get_accelerator
4153 static inline HTMLStyle *impl_from_IHTMLStyle3(IHTMLStyle3 *iface)
4155 return CONTAINING_RECORD(iface, HTMLStyle, IHTMLStyle3_iface);
4158 static HRESULT WINAPI HTMLStyle3_QueryInterface(IHTMLStyle3 *iface, REFIID riid, void **ppv)
4160 HTMLStyle *This = impl_from_IHTMLStyle3(iface);
4162 return IHTMLStyle_QueryInterface(&This->IHTMLStyle_iface, riid, ppv);
4165 static ULONG WINAPI HTMLStyle3_AddRef(IHTMLStyle3 *iface)
4167 HTMLStyle *This = impl_from_IHTMLStyle3(iface);
4169 return IHTMLStyle_AddRef(&This->IHTMLStyle_iface);
4172 static ULONG WINAPI HTMLStyle3_Release(IHTMLStyle3 *iface)
4174 HTMLStyle *This = impl_from_IHTMLStyle3(iface);
4176 return IHTMLStyle_Release(&This->IHTMLStyle_iface);
4179 static HRESULT WINAPI HTMLStyle3_GetTypeInfoCount(IHTMLStyle3 *iface, UINT *pctinfo)
4181 HTMLStyle *This = impl_from_IHTMLStyle3(iface);
4182 return IDispatchEx_GetTypeInfoCount(&This->dispex.IDispatchEx_iface, pctinfo);
4185 static HRESULT WINAPI HTMLStyle3_GetTypeInfo(IHTMLStyle3 *iface, UINT iTInfo,
4186 LCID lcid, ITypeInfo **ppTInfo)
4188 HTMLStyle *This = impl_from_IHTMLStyle3(iface);
4189 return IDispatchEx_GetTypeInfo(&This->dispex.IDispatchEx_iface, iTInfo, lcid, ppTInfo);
4192 static HRESULT WINAPI HTMLStyle3_GetIDsOfNames(IHTMLStyle3 *iface, REFIID riid,
4193 LPOLESTR *rgszNames, UINT cNames,
4194 LCID lcid, DISPID *rgDispId)
4196 HTMLStyle *This = impl_from_IHTMLStyle3(iface);
4197 return IDispatchEx_GetIDsOfNames(&This->dispex.IDispatchEx_iface, riid, rgszNames, cNames,
4198 lcid, rgDispId);
4201 static HRESULT WINAPI HTMLStyle3_Invoke(IHTMLStyle3 *iface, DISPID dispIdMember,
4202 REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams,
4203 VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
4205 HTMLStyle *This = impl_from_IHTMLStyle3(iface);
4206 return IDispatchEx_Invoke(&This->dispex.IDispatchEx_iface, dispIdMember, riid, lcid,
4207 wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr);
4210 static HRESULT WINAPI HTMLStyle3_put_layoutFlow(IHTMLStyle3 *iface, BSTR v)
4212 HTMLStyle *This = impl_from_IHTMLStyle3(iface);
4213 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
4214 return E_NOTIMPL;
4217 static HRESULT WINAPI HTMLStyle3_get_layoutFlow(IHTMLStyle3 *iface, BSTR *p)
4219 HTMLStyle *This = impl_from_IHTMLStyle3(iface);
4220 FIXME("(%p)->(%p)\n", This, p);
4221 return E_NOTIMPL;
4224 static const WCHAR zoomW[] = {'z','o','o','m',0};
4226 static HRESULT WINAPI HTMLStyle3_put_zoom(IHTMLStyle3 *iface, VARIANT v)
4228 HTMLStyle *This = impl_from_IHTMLStyle3(iface);
4229 VARIANT *var;
4230 HRESULT hres;
4232 TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
4234 /* zoom property is IE CSS extension that is mostly used as a hack to workaround IE bugs.
4235 * The value is set to 1 then. We can safely ignore setting zoom to 1. */
4236 if(V_VT(&v) != VT_I4 || V_I4(&v) != 1)
4237 WARN("stub for %s\n", debugstr_variant(&v));
4239 hres = dispex_get_dprop_ref(&This->dispex, zoomW, TRUE, &var);
4240 if(FAILED(hres))
4241 return hres;
4243 return VariantChangeType(var, &v, 0, VT_BSTR);
4246 static HRESULT WINAPI HTMLStyle3_get_zoom(IHTMLStyle3 *iface, VARIANT *p)
4248 HTMLStyle *This = impl_from_IHTMLStyle3(iface);
4249 VARIANT *var;
4250 HRESULT hres;
4252 TRACE("(%p)->(%p)\n", This, p);
4254 hres = dispex_get_dprop_ref(&This->dispex, zoomW, FALSE, &var);
4255 if(hres == DISP_E_UNKNOWNNAME) {
4256 V_VT(p) = VT_BSTR;
4257 V_BSTR(p) = NULL;
4258 return S_OK;
4260 if(FAILED(hres))
4261 return hres;
4263 return VariantCopy(p, var);
4266 static HRESULT WINAPI HTMLStyle3_put_wordWrap(IHTMLStyle3 *iface, BSTR v)
4268 HTMLStyle *This = impl_from_IHTMLStyle3(iface);
4270 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
4272 return set_style_property(This, STYLEID_WORD_WRAP, v);
4275 static HRESULT WINAPI HTMLStyle3_get_wordWrap(IHTMLStyle3 *iface, BSTR *p)
4277 HTMLStyle *This = impl_from_IHTMLStyle3(iface);
4279 TRACE("(%p)->(%p)\n", This, p);
4281 return get_style_property(This, STYLEID_WORD_WRAP, p);
4284 static HRESULT WINAPI HTMLStyle3_put_textUnderlinePosition(IHTMLStyle3 *iface, BSTR v)
4286 HTMLStyle *This = impl_from_IHTMLStyle3(iface);
4287 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
4288 return E_NOTIMPL;
4291 static HRESULT WINAPI HTMLStyle3_get_textUnderlinePosition(IHTMLStyle3 *iface, BSTR *p)
4293 HTMLStyle *This = impl_from_IHTMLStyle3(iface);
4294 FIXME("(%p)->(%p)\n", This, p);
4295 return E_NOTIMPL;
4298 static HRESULT WINAPI HTMLStyle3_put_scrollbarBaseColor(IHTMLStyle3 *iface, VARIANT v)
4300 HTMLStyle *This = impl_from_IHTMLStyle3(iface);
4301 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
4302 return E_NOTIMPL;
4305 static HRESULT WINAPI HTMLStyle3_get_scrollbarBaseColor(IHTMLStyle3 *iface, VARIANT *p)
4307 HTMLStyle *This = impl_from_IHTMLStyle3(iface);
4308 FIXME("(%p)->(%p)\n", This, p);
4309 return E_NOTIMPL;
4312 static HRESULT WINAPI HTMLStyle3_put_scrollbarFaceColor(IHTMLStyle3 *iface, VARIANT v)
4314 HTMLStyle *This = impl_from_IHTMLStyle3(iface);
4315 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
4316 return E_NOTIMPL;
4319 static HRESULT WINAPI HTMLStyle3_get_scrollbarFaceColor(IHTMLStyle3 *iface, VARIANT *p)
4321 HTMLStyle *This = impl_from_IHTMLStyle3(iface);
4322 FIXME("(%p)->(%p)\n", This, p);
4323 return E_NOTIMPL;
4326 static HRESULT WINAPI HTMLStyle3_put_scrollbar3dLightColor(IHTMLStyle3 *iface, VARIANT v)
4328 HTMLStyle *This = impl_from_IHTMLStyle3(iface);
4329 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
4330 return E_NOTIMPL;
4333 static HRESULT WINAPI HTMLStyle3_get_scrollbar3dLightColor(IHTMLStyle3 *iface, VARIANT *p)
4335 HTMLStyle *This = impl_from_IHTMLStyle3(iface);
4336 FIXME("(%p)->(%p)\n", This, p);
4337 return E_NOTIMPL;
4340 static HRESULT WINAPI HTMLStyle3_put_scrollbarShadowColor(IHTMLStyle3 *iface, VARIANT v)
4342 HTMLStyle *This = impl_from_IHTMLStyle3(iface);
4343 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
4344 return E_NOTIMPL;
4347 static HRESULT WINAPI HTMLStyle3_get_scrollbarShadowColor(IHTMLStyle3 *iface, VARIANT *p)
4349 HTMLStyle *This = impl_from_IHTMLStyle3(iface);
4350 FIXME("(%p)->(%p)\n", This, p);
4351 return E_NOTIMPL;
4354 static HRESULT WINAPI HTMLStyle3_put_scrollbarHighlightColor(IHTMLStyle3 *iface, VARIANT v)
4356 HTMLStyle *This = impl_from_IHTMLStyle3(iface);
4357 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
4358 return E_NOTIMPL;
4361 static HRESULT WINAPI HTMLStyle3_get_scrollbarHighlightColor(IHTMLStyle3 *iface, VARIANT *p)
4363 HTMLStyle *This = impl_from_IHTMLStyle3(iface);
4364 FIXME("(%p)->(%p)\n", This, p);
4365 return E_NOTIMPL;
4368 static HRESULT WINAPI HTMLStyle3_put_scrollbarDarkShadowColor(IHTMLStyle3 *iface, VARIANT v)
4370 HTMLStyle *This = impl_from_IHTMLStyle3(iface);
4371 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
4372 return E_NOTIMPL;
4375 static HRESULT WINAPI HTMLStyle3_get_scrollbarDarkShadowColor(IHTMLStyle3 *iface, VARIANT *p)
4377 HTMLStyle *This = impl_from_IHTMLStyle3(iface);
4378 FIXME("(%p)->(%p)\n", This, p);
4379 return E_NOTIMPL;
4382 static HRESULT WINAPI HTMLStyle3_put_scrollbarArrowColor(IHTMLStyle3 *iface, VARIANT v)
4384 HTMLStyle *This = impl_from_IHTMLStyle3(iface);
4385 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
4386 return E_NOTIMPL;
4389 static HRESULT WINAPI HTMLStyle3_get_scrollbarArrowColor(IHTMLStyle3 *iface, VARIANT *p)
4391 HTMLStyle *This = impl_from_IHTMLStyle3(iface);
4392 FIXME("(%p)->(%p)\n", This, p);
4393 return E_NOTIMPL;
4396 static HRESULT WINAPI HTMLStyle3_put_scrollbarTrackColor(IHTMLStyle3 *iface, VARIANT v)
4398 HTMLStyle *This = impl_from_IHTMLStyle3(iface);
4399 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
4400 return E_NOTIMPL;
4403 static HRESULT WINAPI HTMLStyle3_get_scrollbarTrackColor(IHTMLStyle3 *iface, VARIANT *p)
4405 HTMLStyle *This = impl_from_IHTMLStyle3(iface);
4406 FIXME("(%p)->(%p)\n", This, p);
4407 return E_NOTIMPL;
4410 static HRESULT WINAPI HTMLStyle3_put_writingMode(IHTMLStyle3 *iface, BSTR v)
4412 HTMLStyle *This = impl_from_IHTMLStyle3(iface);
4413 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
4414 return E_NOTIMPL;
4417 static HRESULT WINAPI HTMLStyle3_get_writingMode(IHTMLStyle3 *iface, BSTR *p)
4419 HTMLStyle *This = impl_from_IHTMLStyle3(iface);
4420 FIXME("(%p)->(%p)\n", This, p);
4421 return E_NOTIMPL;
4424 static HRESULT WINAPI HTMLStyle3_put_textAlignLast(IHTMLStyle3 *iface, BSTR v)
4426 HTMLStyle *This = impl_from_IHTMLStyle3(iface);
4427 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
4428 return E_NOTIMPL;
4431 static HRESULT WINAPI HTMLStyle3_get_textAlignLast(IHTMLStyle3 *iface, BSTR *p)
4433 HTMLStyle *This = impl_from_IHTMLStyle3(iface);
4434 FIXME("(%p)->(%p)\n", This, p);
4435 return E_NOTIMPL;
4438 static HRESULT WINAPI HTMLStyle3_put_textKashidaSpace(IHTMLStyle3 *iface, VARIANT v)
4440 HTMLStyle *This = impl_from_IHTMLStyle3(iface);
4441 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
4442 return E_NOTIMPL;
4445 static HRESULT WINAPI HTMLStyle3_get_textKashidaSpace(IHTMLStyle3 *iface, VARIANT *p)
4447 HTMLStyle *This = impl_from_IHTMLStyle3(iface);
4448 FIXME("(%p)->(%p)\n", This, p);
4449 return E_NOTIMPL;
4452 static const IHTMLStyle3Vtbl HTMLStyle3Vtbl = {
4453 HTMLStyle3_QueryInterface,
4454 HTMLStyle3_AddRef,
4455 HTMLStyle3_Release,
4456 HTMLStyle3_GetTypeInfoCount,
4457 HTMLStyle3_GetTypeInfo,
4458 HTMLStyle3_GetIDsOfNames,
4459 HTMLStyle3_Invoke,
4460 HTMLStyle3_put_layoutFlow,
4461 HTMLStyle3_get_layoutFlow,
4462 HTMLStyle3_put_zoom,
4463 HTMLStyle3_get_zoom,
4464 HTMLStyle3_put_wordWrap,
4465 HTMLStyle3_get_wordWrap,
4466 HTMLStyle3_put_textUnderlinePosition,
4467 HTMLStyle3_get_textUnderlinePosition,
4468 HTMLStyle3_put_scrollbarBaseColor,
4469 HTMLStyle3_get_scrollbarBaseColor,
4470 HTMLStyle3_put_scrollbarFaceColor,
4471 HTMLStyle3_get_scrollbarFaceColor,
4472 HTMLStyle3_put_scrollbar3dLightColor,
4473 HTMLStyle3_get_scrollbar3dLightColor,
4474 HTMLStyle3_put_scrollbarShadowColor,
4475 HTMLStyle3_get_scrollbarShadowColor,
4476 HTMLStyle3_put_scrollbarHighlightColor,
4477 HTMLStyle3_get_scrollbarHighlightColor,
4478 HTMLStyle3_put_scrollbarDarkShadowColor,
4479 HTMLStyle3_get_scrollbarDarkShadowColor,
4480 HTMLStyle3_put_scrollbarArrowColor,
4481 HTMLStyle3_get_scrollbarArrowColor,
4482 HTMLStyle3_put_scrollbarTrackColor,
4483 HTMLStyle3_get_scrollbarTrackColor,
4484 HTMLStyle3_put_writingMode,
4485 HTMLStyle3_get_writingMode,
4486 HTMLStyle3_put_textAlignLast,
4487 HTMLStyle3_get_textAlignLast,
4488 HTMLStyle3_put_textKashidaSpace,
4489 HTMLStyle3_get_textKashidaSpace
4493 * IHTMLStyle4 Interface
4495 static inline HTMLStyle *impl_from_IHTMLStyle4(IHTMLStyle4 *iface)
4497 return CONTAINING_RECORD(iface, HTMLStyle, IHTMLStyle4_iface);
4500 static HRESULT WINAPI HTMLStyle4_QueryInterface(IHTMLStyle4 *iface, REFIID riid, void **ppv)
4502 HTMLStyle *This = impl_from_IHTMLStyle4(iface);
4504 return IHTMLStyle_QueryInterface(&This->IHTMLStyle_iface, riid, ppv);
4507 static ULONG WINAPI HTMLStyle4_AddRef(IHTMLStyle4 *iface)
4509 HTMLStyle *This = impl_from_IHTMLStyle4(iface);
4511 return IHTMLStyle_AddRef(&This->IHTMLStyle_iface);
4514 static ULONG WINAPI HTMLStyle4_Release(IHTMLStyle4 *iface)
4516 HTMLStyle *This = impl_from_IHTMLStyle4(iface);
4518 return IHTMLStyle_Release(&This->IHTMLStyle_iface);
4521 static HRESULT WINAPI HTMLStyle4_GetTypeInfoCount(IHTMLStyle4 *iface, UINT *pctinfo)
4523 HTMLStyle *This = impl_from_IHTMLStyle4(iface);
4524 return IDispatchEx_GetTypeInfoCount(&This->dispex.IDispatchEx_iface, pctinfo);
4527 static HRESULT WINAPI HTMLStyle4_GetTypeInfo(IHTMLStyle4 *iface, UINT iTInfo,
4528 LCID lcid, ITypeInfo **ppTInfo)
4530 HTMLStyle *This = impl_from_IHTMLStyle4(iface);
4531 return IDispatchEx_GetTypeInfo(&This->dispex.IDispatchEx_iface, iTInfo, lcid, ppTInfo);
4534 static HRESULT WINAPI HTMLStyle4_GetIDsOfNames(IHTMLStyle4 *iface, REFIID riid,
4535 LPOLESTR *rgszNames, UINT cNames,
4536 LCID lcid, DISPID *rgDispId)
4538 HTMLStyle *This = impl_from_IHTMLStyle4(iface);
4539 return IDispatchEx_GetIDsOfNames(&This->dispex.IDispatchEx_iface, riid, rgszNames, cNames,
4540 lcid, rgDispId);
4543 static HRESULT WINAPI HTMLStyle4_Invoke(IHTMLStyle4 *iface, DISPID dispIdMember,
4544 REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams,
4545 VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
4547 HTMLStyle *This = impl_from_IHTMLStyle4(iface);
4548 return IDispatchEx_Invoke(&This->dispex.IDispatchEx_iface, dispIdMember, riid, lcid,
4549 wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr);
4552 static HRESULT WINAPI HTMLStyle4_put_textOverflow(IHTMLStyle4 *iface, BSTR v)
4554 HTMLStyle *This = impl_from_IHTMLStyle4(iface);
4555 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
4556 return E_NOTIMPL;
4559 static HRESULT WINAPI HTMLStyle4_get_textOverflow(IHTMLStyle4 *iface, BSTR *p)
4561 HTMLStyle *This = impl_from_IHTMLStyle4(iface);
4562 FIXME("(%p)->(%p)\n", This, p);
4563 return E_NOTIMPL;
4566 static HRESULT WINAPI HTMLStyle4_put_minHeight(IHTMLStyle4 *iface, VARIANT v)
4568 HTMLStyle *This = impl_from_IHTMLStyle4(iface);
4570 TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
4572 return set_style_property_var(This, STYLEID_MIN_HEIGHT, &v);
4575 static HRESULT WINAPI HTMLStyle4_get_minHeight(IHTMLStyle4 *iface, VARIANT *p)
4577 HTMLStyle *This = impl_from_IHTMLStyle4(iface);
4579 TRACE("(%p)->(%p)\n", This, p);
4581 return get_style_property_var(This, STYLEID_MIN_HEIGHT, p);
4584 static const IHTMLStyle4Vtbl HTMLStyle4Vtbl = {
4585 HTMLStyle4_QueryInterface,
4586 HTMLStyle4_AddRef,
4587 HTMLStyle4_Release,
4588 HTMLStyle4_GetTypeInfoCount,
4589 HTMLStyle4_GetTypeInfo,
4590 HTMLStyle4_GetIDsOfNames,
4591 HTMLStyle4_Invoke,
4592 HTMLStyle4_put_textOverflow,
4593 HTMLStyle4_get_textOverflow,
4594 HTMLStyle4_put_minHeight,
4595 HTMLStyle4_get_minHeight
4598 static inline HTMLStyle *impl_from_IHTMLStyle5(IHTMLStyle5 *iface)
4600 return CONTAINING_RECORD(iface, HTMLStyle, IHTMLStyle5_iface);
4603 static HRESULT WINAPI HTMLStyle5_QueryInterface(IHTMLStyle5 *iface, REFIID riid, void **ppv)
4605 HTMLStyle *This = impl_from_IHTMLStyle5(iface);
4607 return IHTMLStyle_QueryInterface(&This->IHTMLStyle_iface, riid, ppv);
4610 static ULONG WINAPI HTMLStyle5_AddRef(IHTMLStyle5 *iface)
4612 HTMLStyle *This = impl_from_IHTMLStyle5(iface);
4614 return IHTMLStyle_AddRef(&This->IHTMLStyle_iface);
4617 static ULONG WINAPI HTMLStyle5_Release(IHTMLStyle5 *iface)
4619 HTMLStyle *This = impl_from_IHTMLStyle5(iface);
4621 return IHTMLStyle_Release(&This->IHTMLStyle_iface);
4624 static HRESULT WINAPI HTMLStyle5_GetTypeInfoCount(IHTMLStyle5 *iface, UINT *pctinfo)
4626 HTMLStyle *This = impl_from_IHTMLStyle5(iface);
4627 return IDispatchEx_GetTypeInfoCount(&This->dispex.IDispatchEx_iface, pctinfo);
4630 static HRESULT WINAPI HTMLStyle5_GetTypeInfo(IHTMLStyle5 *iface, UINT iTInfo,
4631 LCID lcid, ITypeInfo **ppTInfo)
4633 HTMLStyle *This = impl_from_IHTMLStyle5(iface);
4634 return IDispatchEx_GetTypeInfo(&This->dispex.IDispatchEx_iface, iTInfo, lcid, ppTInfo);
4637 static HRESULT WINAPI HTMLStyle5_GetIDsOfNames(IHTMLStyle5 *iface, REFIID riid,
4638 LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
4640 HTMLStyle *This = impl_from_IHTMLStyle5(iface);
4641 return IDispatchEx_GetIDsOfNames(&This->dispex.IDispatchEx_iface, riid, rgszNames, cNames,
4642 lcid, rgDispId);
4645 static HRESULT WINAPI HTMLStyle5_Invoke(IHTMLStyle5 *iface, DISPID dispIdMember,
4646 REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams,
4647 VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
4649 HTMLStyle *This = impl_from_IHTMLStyle5(iface);
4650 return IDispatchEx_Invoke(&This->dispex.IDispatchEx_iface, dispIdMember, riid, lcid,
4651 wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr);
4654 static HRESULT WINAPI HTMLStyle5_put_msInterpolationMode(IHTMLStyle5 *iface, BSTR v)
4656 HTMLStyle *This = impl_from_IHTMLStyle5(iface);
4657 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
4658 return E_NOTIMPL;
4661 static HRESULT WINAPI HTMLStyle5_get_msInterpolationMode(IHTMLStyle5 *iface, BSTR *p)
4663 HTMLStyle *This = impl_from_IHTMLStyle5(iface);
4664 FIXME("(%p)->(%p)\n", This, p);
4665 return E_NOTIMPL;
4668 static HRESULT WINAPI HTMLStyle5_put_maxHeight(IHTMLStyle5 *iface, VARIANT v)
4670 HTMLStyle *This = impl_from_IHTMLStyle5(iface);
4672 TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
4674 return set_style_property_var(This, STYLEID_MAX_HEIGHT, &v);
4677 static HRESULT WINAPI HTMLStyle5_get_maxHeight(IHTMLStyle5 *iface, VARIANT *p)
4679 HTMLStyle *This = impl_from_IHTMLStyle5(iface);
4681 TRACE("(%p)->(%s)\n", This, debugstr_variant(p));
4683 return get_style_property_var(This, STYLEID_MAX_HEIGHT, p);
4686 static HRESULT WINAPI HTMLStyle5_put_minWidth(IHTMLStyle5 *iface, VARIANT v)
4688 HTMLStyle *This = impl_from_IHTMLStyle5(iface);
4690 TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
4692 return set_style_property_var(This, STYLEID_MIN_WIDTH, &v);
4695 static HRESULT WINAPI HTMLStyle5_get_minWidth(IHTMLStyle5 *iface, VARIANT *p)
4697 HTMLStyle *This = impl_from_IHTMLStyle5(iface);
4699 TRACE("(%p)->(%p)\n", This, p);
4701 return get_style_property_var(This, STYLEID_MIN_WIDTH, p);
4704 static HRESULT WINAPI HTMLStyle5_put_maxWidth(IHTMLStyle5 *iface, VARIANT v)
4706 HTMLStyle *This = impl_from_IHTMLStyle5(iface);
4708 TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
4710 return set_style_property_var(This, STYLEID_MAX_WIDTH, &v);
4713 static HRESULT WINAPI HTMLStyle5_get_maxWidth(IHTMLStyle5 *iface, VARIANT *p)
4715 HTMLStyle *This = impl_from_IHTMLStyle5(iface);
4717 TRACE("(%p)->(%p)\n", This, p);
4719 return get_style_property_var(This, STYLEID_MAX_WIDTH, p);
4722 static const IHTMLStyle5Vtbl HTMLStyle5Vtbl = {
4723 HTMLStyle5_QueryInterface,
4724 HTMLStyle5_AddRef,
4725 HTMLStyle5_Release,
4726 HTMLStyle5_GetTypeInfoCount,
4727 HTMLStyle5_GetTypeInfo,
4728 HTMLStyle5_GetIDsOfNames,
4729 HTMLStyle5_Invoke,
4730 HTMLStyle5_put_msInterpolationMode,
4731 HTMLStyle5_get_msInterpolationMode,
4732 HTMLStyle5_put_maxHeight,
4733 HTMLStyle5_get_maxHeight,
4734 HTMLStyle5_put_minWidth,
4735 HTMLStyle5_get_minWidth,
4736 HTMLStyle5_put_maxWidth,
4737 HTMLStyle5_get_maxWidth
4740 static inline HTMLStyle *impl_from_IHTMLStyle6(IHTMLStyle6 *iface)
4742 return CONTAINING_RECORD(iface, HTMLStyle, IHTMLStyle6_iface);
4745 static HRESULT WINAPI HTMLStyle6_QueryInterface(IHTMLStyle6 *iface, REFIID riid, void **ppv)
4747 HTMLStyle *This = impl_from_IHTMLStyle6(iface);
4749 return IHTMLStyle_QueryInterface(&This->IHTMLStyle_iface, riid, ppv);
4752 static ULONG WINAPI HTMLStyle6_AddRef(IHTMLStyle6 *iface)
4754 HTMLStyle *This = impl_from_IHTMLStyle6(iface);
4756 return IHTMLStyle_AddRef(&This->IHTMLStyle_iface);
4759 static ULONG WINAPI HTMLStyle6_Release(IHTMLStyle6 *iface)
4761 HTMLStyle *This = impl_from_IHTMLStyle6(iface);
4763 return IHTMLStyle_Release(&This->IHTMLStyle_iface);
4766 static HRESULT WINAPI HTMLStyle6_GetTypeInfoCount(IHTMLStyle6 *iface, UINT *pctinfo)
4768 HTMLStyle *This = impl_from_IHTMLStyle6(iface);
4769 return IDispatchEx_GetTypeInfoCount(&This->dispex.IDispatchEx_iface, pctinfo);
4772 static HRESULT WINAPI HTMLStyle6_GetTypeInfo(IHTMLStyle6 *iface, UINT iTInfo,
4773 LCID lcid, ITypeInfo **ppTInfo)
4775 HTMLStyle *This = impl_from_IHTMLStyle6(iface);
4776 return IDispatchEx_GetTypeInfo(&This->dispex.IDispatchEx_iface, iTInfo, lcid, ppTInfo);
4779 static HRESULT WINAPI HTMLStyle6_GetIDsOfNames(IHTMLStyle6 *iface, REFIID riid,
4780 LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
4782 HTMLStyle *This = impl_from_IHTMLStyle6(iface);
4783 return IDispatchEx_GetIDsOfNames(&This->dispex.IDispatchEx_iface, riid, rgszNames, cNames,
4784 lcid, rgDispId);
4787 static HRESULT WINAPI HTMLStyle6_Invoke(IHTMLStyle6 *iface, DISPID dispIdMember,
4788 REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams,
4789 VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
4791 HTMLStyle *This = impl_from_IHTMLStyle6(iface);
4792 return IDispatchEx_Invoke(&This->dispex.IDispatchEx_iface, dispIdMember, riid, lcid,
4793 wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr);
4796 static HRESULT WINAPI HTMLStyle6_put_content(IHTMLStyle6 *iface, BSTR v)
4798 HTMLStyle *This = impl_from_IHTMLStyle6(iface);
4799 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
4800 return E_NOTIMPL;
4803 static HRESULT WINAPI HTMLStyle6_get_content(IHTMLStyle6 *iface, BSTR *p)
4805 HTMLStyle *This = impl_from_IHTMLStyle6(iface);
4806 FIXME("(%p)->(%p)\n", This, p);
4807 return E_NOTIMPL;
4810 static HRESULT WINAPI HTMLStyle6_put_contentSide(IHTMLStyle6 *iface, BSTR v)
4812 HTMLStyle *This = impl_from_IHTMLStyle6(iface);
4813 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
4814 return E_NOTIMPL;
4817 static HRESULT WINAPI HTMLStyle6_get_contentSide(IHTMLStyle6 *iface, BSTR *p)
4819 HTMLStyle *This = impl_from_IHTMLStyle6(iface);
4820 FIXME("(%p)->(%p)\n", This, p);
4821 return E_NOTIMPL;
4824 static HRESULT WINAPI HTMLStyle6_put_counterIncrement(IHTMLStyle6 *iface, BSTR v)
4826 HTMLStyle *This = impl_from_IHTMLStyle6(iface);
4827 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
4828 return E_NOTIMPL;
4831 static HRESULT WINAPI HTMLStyle6_get_counterIncrement(IHTMLStyle6 *iface, BSTR *p)
4833 HTMLStyle *This = impl_from_IHTMLStyle6(iface);
4834 FIXME("(%p)->(%p)\n", This, p);
4835 return E_NOTIMPL;
4838 static HRESULT WINAPI HTMLStyle6_put_counterReset(IHTMLStyle6 *iface, BSTR v)
4840 HTMLStyle *This = impl_from_IHTMLStyle6(iface);
4841 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
4842 return E_NOTIMPL;
4845 static HRESULT WINAPI HTMLStyle6_get_counterReset(IHTMLStyle6 *iface, BSTR *p)
4847 HTMLStyle *This = impl_from_IHTMLStyle6(iface);
4848 FIXME("(%p)->(%p)\n", This, p);
4849 return E_NOTIMPL;
4852 static HRESULT WINAPI HTMLStyle6_put_outline(IHTMLStyle6 *iface, BSTR v)
4854 HTMLStyle *This = impl_from_IHTMLStyle6(iface);
4856 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
4858 return set_style_property(This, STYLEID_OUTLINE, v);
4861 static HRESULT WINAPI HTMLStyle6_get_outline(IHTMLStyle6 *iface, BSTR *p)
4863 HTMLStyle *This = impl_from_IHTMLStyle6(iface);
4865 TRACE("(%p)->(%p)\n", This, p);
4867 return get_style_property(This, STYLEID_OUTLINE, p);
4870 static HRESULT WINAPI HTMLStyle6_put_outlineWidth(IHTMLStyle6 *iface, VARIANT v)
4872 HTMLStyle *This = impl_from_IHTMLStyle6(iface);
4873 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
4874 return E_NOTIMPL;
4877 static HRESULT WINAPI HTMLStyle6_get_outlineWidth(IHTMLStyle6 *iface, VARIANT *p)
4879 HTMLStyle *This = impl_from_IHTMLStyle6(iface);
4880 FIXME("(%p)->(%p)\n", This, p);
4881 return E_NOTIMPL;
4884 static HRESULT WINAPI HTMLStyle6_put_outlineStyle(IHTMLStyle6 *iface, BSTR v)
4886 HTMLStyle *This = impl_from_IHTMLStyle6(iface);
4887 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
4888 return E_NOTIMPL;
4891 static HRESULT WINAPI HTMLStyle6_get_outlineStyle(IHTMLStyle6 *iface, BSTR *p)
4893 HTMLStyle *This = impl_from_IHTMLStyle6(iface);
4894 FIXME("(%p)->(%p)\n", This, p);
4895 return E_NOTIMPL;
4898 static HRESULT WINAPI HTMLStyle6_put_outlineColor(IHTMLStyle6 *iface, VARIANT v)
4900 HTMLStyle *This = impl_from_IHTMLStyle6(iface);
4901 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
4902 return E_NOTIMPL;
4905 static HRESULT WINAPI HTMLStyle6_get_outlineColor(IHTMLStyle6 *iface, VARIANT *p)
4907 HTMLStyle *This = impl_from_IHTMLStyle6(iface);
4908 FIXME("(%p)->(%p)\n", This, p);
4909 return E_NOTIMPL;
4912 static HRESULT WINAPI HTMLStyle6_put_boxSizing(IHTMLStyle6 *iface, BSTR v)
4914 HTMLStyle *This = impl_from_IHTMLStyle6(iface);
4916 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
4918 return set_style_property(This, STYLEID_BOX_SIZING, v);
4921 static HRESULT WINAPI HTMLStyle6_get_boxSizing(IHTMLStyle6 *iface, BSTR *p)
4923 HTMLStyle *This = impl_from_IHTMLStyle6(iface);
4925 TRACE("(%p)->(%p)\n", This, p);
4927 return get_style_property(This, STYLEID_BOX_SIZING, p);
4930 static HRESULT WINAPI HTMLStyle6_put_boxSpacing(IHTMLStyle6 *iface, BSTR v)
4932 HTMLStyle *This = impl_from_IHTMLStyle6(iface);
4933 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
4934 return E_NOTIMPL;
4937 static HRESULT WINAPI HTMLStyle6_get_boxSpacing(IHTMLStyle6 *iface, BSTR *p)
4939 HTMLStyle *This = impl_from_IHTMLStyle6(iface);
4940 FIXME("(%p)->(%p)\n", This, p);
4941 return E_NOTIMPL;
4944 static HRESULT WINAPI HTMLStyle6_put_orphans(IHTMLStyle6 *iface, VARIANT v)
4946 HTMLStyle *This = impl_from_IHTMLStyle6(iface);
4947 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
4948 return E_NOTIMPL;
4951 static HRESULT WINAPI HTMLStyle6_get_orphans(IHTMLStyle6 *iface, VARIANT *p)
4953 HTMLStyle *This = impl_from_IHTMLStyle6(iface);
4954 FIXME("(%p)->(%p)\n", This, p);
4955 return E_NOTIMPL;
4958 static HRESULT WINAPI HTMLStyle6_put_windows(IHTMLStyle6 *iface, VARIANT v)
4960 HTMLStyle *This = impl_from_IHTMLStyle6(iface);
4961 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
4962 return E_NOTIMPL;
4965 static HRESULT WINAPI HTMLStyle6_get_windows(IHTMLStyle6 *iface, VARIANT *p)
4967 HTMLStyle *This = impl_from_IHTMLStyle6(iface);
4968 FIXME("(%p)->(%p)\n", This, p);
4969 return E_NOTIMPL;
4972 static HRESULT WINAPI HTMLStyle6_put_pageBreakInside(IHTMLStyle6 *iface, BSTR v)
4974 HTMLStyle *This = impl_from_IHTMLStyle6(iface);
4975 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
4976 return E_NOTIMPL;
4979 static HRESULT WINAPI HTMLStyle6_get_pageBreakInside(IHTMLStyle6 *iface, BSTR *p)
4981 HTMLStyle *This = impl_from_IHTMLStyle6(iface);
4982 FIXME("(%p)->(%p)\n", This, p);
4983 return E_NOTIMPL;
4986 static HRESULT WINAPI HTMLStyle6_put_emptyCells(IHTMLStyle6 *iface, BSTR v)
4988 HTMLStyle *This = impl_from_IHTMLStyle6(iface);
4989 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
4990 return E_NOTIMPL;
4993 static HRESULT WINAPI HTMLStyle6_get_emptyCells(IHTMLStyle6 *iface, BSTR *p)
4995 HTMLStyle *This = impl_from_IHTMLStyle6(iface);
4996 FIXME("(%p)->(%p)\n", This, p);
4997 return E_NOTIMPL;
5000 static HRESULT WINAPI HTMLStyle6_put_msBlockProgression(IHTMLStyle6 *iface, BSTR v)
5002 HTMLStyle *This = impl_from_IHTMLStyle6(iface);
5003 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
5004 return E_NOTIMPL;
5007 static HRESULT WINAPI HTMLStyle6_get_msBlockProgression(IHTMLStyle6 *iface, BSTR *p)
5009 HTMLStyle *This = impl_from_IHTMLStyle6(iface);
5010 FIXME("(%p)->(%p)\n", This, p);
5011 return E_NOTIMPL;
5014 static HRESULT WINAPI HTMLStyle6_put_quotes(IHTMLStyle6 *iface, BSTR v)
5016 HTMLStyle *This = impl_from_IHTMLStyle6(iface);
5017 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
5018 return E_NOTIMPL;
5021 static HRESULT WINAPI HTMLStyle6_get_quotes(IHTMLStyle6 *iface, BSTR *p)
5023 HTMLStyle *This = impl_from_IHTMLStyle6(iface);
5024 FIXME("(%p)->(%p)\n", This, p);
5025 return E_NOTIMPL;
5028 static const IHTMLStyle6Vtbl HTMLStyle6Vtbl = {
5029 HTMLStyle6_QueryInterface,
5030 HTMLStyle6_AddRef,
5031 HTMLStyle6_Release,
5032 HTMLStyle6_GetTypeInfoCount,
5033 HTMLStyle6_GetTypeInfo,
5034 HTMLStyle6_GetIDsOfNames,
5035 HTMLStyle6_Invoke,
5036 HTMLStyle6_put_content,
5037 HTMLStyle6_get_content,
5038 HTMLStyle6_put_contentSide,
5039 HTMLStyle6_get_contentSide,
5040 HTMLStyle6_put_counterIncrement,
5041 HTMLStyle6_get_counterIncrement,
5042 HTMLStyle6_put_counterReset,
5043 HTMLStyle6_get_counterReset,
5044 HTMLStyle6_put_outline,
5045 HTMLStyle6_get_outline,
5046 HTMLStyle6_put_outlineWidth,
5047 HTMLStyle6_get_outlineWidth,
5048 HTMLStyle6_put_outlineStyle,
5049 HTMLStyle6_get_outlineStyle,
5050 HTMLStyle6_put_outlineColor,
5051 HTMLStyle6_get_outlineColor,
5052 HTMLStyle6_put_boxSizing,
5053 HTMLStyle6_get_boxSizing,
5054 HTMLStyle6_put_boxSpacing,
5055 HTMLStyle6_get_boxSpacing,
5056 HTMLStyle6_put_orphans,
5057 HTMLStyle6_get_orphans,
5058 HTMLStyle6_put_windows,
5059 HTMLStyle6_get_windows,
5060 HTMLStyle6_put_pageBreakInside,
5061 HTMLStyle6_get_pageBreakInside,
5062 HTMLStyle6_put_emptyCells,
5063 HTMLStyle6_get_emptyCells,
5064 HTMLStyle6_put_msBlockProgression,
5065 HTMLStyle6_get_msBlockProgression,
5066 HTMLStyle6_put_quotes,
5067 HTMLStyle6_get_quotes
5070 static inline HTMLStyle *impl_from_IHTMLCSSStyleDeclaration(IHTMLCSSStyleDeclaration *iface)
5072 return CONTAINING_RECORD(iface, HTMLStyle, IHTMLCSSStyleDeclaration_iface);
5075 static HRESULT WINAPI HTMLCSSStyleDeclaration_QueryInterface(IHTMLCSSStyleDeclaration *iface,
5076 REFIID riid, void **ppv)
5078 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5079 return IHTMLStyle_QueryInterface(&This->IHTMLStyle_iface, riid, ppv);
5082 static ULONG WINAPI HTMLCSSStyleDeclaration_AddRef(IHTMLCSSStyleDeclaration *iface)
5084 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5085 return IHTMLStyle_AddRef(&This->IHTMLStyle_iface);
5088 static ULONG WINAPI HTMLCSSStyleDeclaration_Release(IHTMLCSSStyleDeclaration *iface)
5090 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5091 return IHTMLStyle_Release(&This->IHTMLStyle_iface);
5094 static HRESULT WINAPI HTMLCSSStyleDeclaration_GetTypeInfoCount(IHTMLCSSStyleDeclaration *iface,
5095 UINT *pctinfo)
5097 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5098 TRACE("(%p)->(%p)\n", This, pctinfo);
5099 return IDispatchEx_GetTypeInfoCount(&This->dispex.IDispatchEx_iface, pctinfo);
5102 static HRESULT WINAPI HTMLCSSStyleDeclaration_GetTypeInfo(IHTMLCSSStyleDeclaration *iface,
5103 UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
5105 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5106 TRACE("(%p)->(%u %u %p)\n", This, iTInfo, lcid, ppTInfo);
5107 return IDispatchEx_GetTypeInfo(&This->dispex.IDispatchEx_iface, iTInfo, lcid, ppTInfo);
5110 static HRESULT WINAPI HTMLCSSStyleDeclaration_GetIDsOfNames(IHTMLCSSStyleDeclaration *iface,
5111 REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
5113 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5114 TRACE("(%p)->(%p %p %u %u %p)\n", This, riid, rgszNames, cNames, lcid, rgDispId);
5115 return IDispatchEx_GetIDsOfNames(&This->dispex.IDispatchEx_iface, riid, rgszNames,
5116 cNames, lcid, rgDispId);
5119 static HRESULT WINAPI HTMLCSSStyleDeclaration_Invoke(IHTMLCSSStyleDeclaration *iface,
5120 DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams,
5121 VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
5123 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5124 TRACE("(%p)->(%d %p %u %u %p %p %p %p)\n", This, dispIdMember, riid, lcid, wFlags,
5125 pDispParams, pVarResult, pExcepInfo, puArgErr);
5126 return IDispatchEx_Invoke(&This->dispex.IDispatchEx_iface, dispIdMember, riid, lcid,
5127 wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr);
5130 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_length(IHTMLCSSStyleDeclaration *iface, LONG *p)
5132 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5133 FIXME("(%p)->(%p)\n", This, p);
5134 return E_NOTIMPL;
5137 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_parentRule(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
5139 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5140 FIXME("(%p)->(%p)\n", This, p);
5141 return E_NOTIMPL;
5144 static HRESULT WINAPI HTMLCSSStyleDeclaration_getPropertyValue(IHTMLCSSStyleDeclaration *iface, BSTR bstrPropertyName, BSTR *pbstrPropertyValue)
5146 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5147 FIXME("(%p)->(%s %p)\n", This, debugstr_w(bstrPropertyName), pbstrPropertyValue);
5148 return E_NOTIMPL;
5151 static HRESULT WINAPI HTMLCSSStyleDeclaration_getPropertyPriority(IHTMLCSSStyleDeclaration *iface, BSTR bstrPropertyName, BSTR *pbstrPropertyPriority)
5153 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5154 FIXME("(%p)->(%s %p)\n", This, debugstr_w(bstrPropertyName), pbstrPropertyPriority);
5155 return E_NOTIMPL;
5158 static HRESULT WINAPI HTMLCSSStyleDeclaration_removeProperty(IHTMLCSSStyleDeclaration *iface, BSTR bstrPropertyName, BSTR *pbstrPropertyValue)
5160 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5161 const style_tbl_entry_t *style_entry;
5162 nsAString name_str, ret_str;
5163 nsresult nsres;
5165 TRACE("(%p)->(%s %p)\n", This, debugstr_w(bstrPropertyName), pbstrPropertyValue);
5167 style_entry = lookup_style_tbl(bstrPropertyName);
5168 nsAString_InitDepend(&name_str, style_entry ? style_entry->name : bstrPropertyName);
5169 nsAString_Init(&ret_str, NULL);
5170 nsres = nsIDOMCSSStyleDeclaration_RemoveProperty(This->nsstyle, &name_str, &ret_str);
5171 nsAString_Finish(&name_str);
5172 return return_nsstr(nsres, &ret_str, pbstrPropertyValue);
5175 static HRESULT WINAPI HTMLCSSStyleDeclaration_setProperty(IHTMLCSSStyleDeclaration *iface, BSTR bstrPropertyName, VARIANT *pvarPropertyValue, VARIANT *pvarPropertyPriority)
5177 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5178 FIXME("(%p)->(%s %p %p)\n", This, debugstr_w(bstrPropertyName), pvarPropertyValue, pvarPropertyPriority);
5179 return E_NOTIMPL;
5182 static HRESULT WINAPI HTMLCSSStyleDeclaration_item(IHTMLCSSStyleDeclaration *iface, LONG index, BSTR *pbstrPropertyName)
5184 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5185 FIXME("(%p)->(%d %p)\n", This, index, pbstrPropertyName);
5186 return E_NOTIMPL;
5189 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_fontFamily(IHTMLCSSStyleDeclaration *iface, BSTR v)
5191 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5192 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
5193 return set_style_property(This, STYLEID_FONT_FAMILY, v);
5196 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_fontFamily(IHTMLCSSStyleDeclaration *iface, BSTR *p)
5198 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5199 TRACE("(%p)->(%p)\n", This, p);
5200 return get_style_property(This, STYLEID_FONT_FAMILY, p);
5203 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_fontStyle(IHTMLCSSStyleDeclaration *iface, BSTR v)
5205 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5206 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
5207 return set_style_property(This, STYLEID_FONT_STYLE, v);
5210 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_fontStyle(IHTMLCSSStyleDeclaration *iface, BSTR *p)
5212 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5213 TRACE("(%p)->(%p)\n", This, p);
5214 return get_style_property(This, STYLEID_FONT_STYLE, p);
5217 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_fontVariant(IHTMLCSSStyleDeclaration *iface, BSTR v)
5219 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5220 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
5221 return set_style_property(This, STYLEID_FONT_VARIANT, v);
5224 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_fontVariant(IHTMLCSSStyleDeclaration *iface, BSTR *p)
5226 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5227 TRACE("(%p)->(%p)\n", This, p);
5228 return get_style_property(This, STYLEID_FONT_VARIANT, p);
5231 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_fontWeight(IHTMLCSSStyleDeclaration *iface, BSTR v)
5233 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5234 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
5235 return set_style_property(This, STYLEID_FONT_WEIGHT, v);
5238 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_fontWeight(IHTMLCSSStyleDeclaration *iface, BSTR *p)
5240 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5241 TRACE("(%p)->(%p)\n", This, p);
5242 return get_style_property(This, STYLEID_FONT_WEIGHT, p);
5245 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_fontSize(IHTMLCSSStyleDeclaration *iface, VARIANT v)
5247 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5248 TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
5249 return set_style_property_var(This, STYLEID_FONT_SIZE, &v);
5252 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_fontSize(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
5254 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5255 TRACE("(%p)->(%p)\n", This, p);
5256 return get_style_property_var(This, STYLEID_FONT_SIZE, p);
5259 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_font(IHTMLCSSStyleDeclaration *iface, BSTR v)
5261 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5262 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
5263 return E_NOTIMPL;
5266 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_font(IHTMLCSSStyleDeclaration *iface, BSTR *p)
5268 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5269 FIXME("(%p)->(%p)\n", This, p);
5270 return E_NOTIMPL;
5273 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_color(IHTMLCSSStyleDeclaration *iface, VARIANT v)
5275 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5276 TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
5277 return set_style_property_var(This, STYLEID_COLOR, &v);
5280 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_color(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
5282 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5283 TRACE("(%p)->(%p)\n", This, p);
5284 return get_style_property_var(This, STYLEID_COLOR, p);
5287 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_background(IHTMLCSSStyleDeclaration *iface, BSTR v)
5289 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5290 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
5291 return set_style_property(This, STYLEID_BACKGROUND, v);
5294 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_background(IHTMLCSSStyleDeclaration *iface, BSTR *p)
5296 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5297 TRACE("(%p)->(%p)\n", This, p);
5298 return get_style_property(This, STYLEID_BACKGROUND, p);
5301 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_backgroundColor(IHTMLCSSStyleDeclaration *iface, VARIANT v)
5303 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5304 TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
5305 return set_style_property_var(This, STYLEID_BACKGROUND_COLOR, &v);
5308 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_backgroundColor(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
5310 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5311 TRACE("(%p)->(%p)\n", This, p);
5312 return get_style_property_var(This, STYLEID_BACKGROUND_COLOR, p);
5315 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_backgroundImage(IHTMLCSSStyleDeclaration *iface, BSTR v)
5317 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5318 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
5319 return set_style_property(This, STYLEID_BACKGROUND_IMAGE, v);
5322 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_backgroundImage(IHTMLCSSStyleDeclaration *iface, BSTR *p)
5324 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5325 TRACE("(%p)->(%p)\n", This, p);
5326 return get_style_property(This, STYLEID_BACKGROUND_IMAGE, p);
5329 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_backgroundRepeat(IHTMLCSSStyleDeclaration *iface, BSTR v)
5331 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5332 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
5333 return set_style_property(This, STYLEID_BACKGROUND_REPEAT, v);
5336 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_backgroundRepeat(IHTMLCSSStyleDeclaration *iface, BSTR *p)
5338 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5339 TRACE("(%p)->(%p)\n", This, p);
5340 return get_style_property(This, STYLEID_BACKGROUND_REPEAT, p);
5343 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_backgroundAttachment(IHTMLCSSStyleDeclaration *iface, BSTR v)
5345 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5346 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
5347 return set_style_property(This, STYLEID_BACKGROUND_ATTACHMENT, v);
5350 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_backgroundAttachment(IHTMLCSSStyleDeclaration *iface, BSTR *p)
5352 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5353 TRACE("(%p)->(%p)\n", This, p);
5354 return get_style_property(This, STYLEID_BACKGROUND_ATTACHMENT, p);
5357 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_backgroundPosition(IHTMLCSSStyleDeclaration *iface, BSTR v)
5359 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5360 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
5361 return set_style_property(This, STYLEID_BACKGROUND_POSITION, v);
5364 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_backgroundPosition(IHTMLCSSStyleDeclaration *iface, BSTR *p)
5366 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5367 TRACE("(%p)->(%p)\n", This, p);
5368 return get_style_property(This, STYLEID_BACKGROUND_POSITION, p);
5371 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_backgroundPositionX(IHTMLCSSStyleDeclaration *iface, VARIANT v)
5373 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5374 TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
5375 return IHTMLStyle_put_backgroundPositionX(&This->IHTMLStyle_iface, v);
5378 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_backgroundPositionX(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
5380 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5381 TRACE("(%p)->(%p)\n", This, p);
5382 return IHTMLStyle_get_backgroundPositionX(&This->IHTMLStyle_iface, p);
5385 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_backgroundPositionY(IHTMLCSSStyleDeclaration *iface, VARIANT v)
5387 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5388 TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
5389 return IHTMLStyle_put_backgroundPositionY(&This->IHTMLStyle_iface, v);
5392 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_backgroundPositionY(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
5394 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5395 TRACE("(%p)->(%p)\n", This, p);
5396 return IHTMLStyle_get_backgroundPositionY(&This->IHTMLStyle_iface, p);
5399 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_wordSpacing(IHTMLCSSStyleDeclaration *iface, VARIANT v)
5401 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5402 TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
5403 return set_style_property_var(This, STYLEID_WORD_SPACING, &v);
5406 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_wordSpacing(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
5408 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5409 TRACE("(%p)->(%p)\n", This, p);
5410 return get_style_property_var(This, STYLEID_WORD_SPACING, p);
5413 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_letterSpacing(IHTMLCSSStyleDeclaration *iface, VARIANT v)
5415 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5416 TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
5417 return set_style_property_var(This, STYLEID_LETTER_SPACING, &v);
5420 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_letterSpacing(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
5422 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5423 TRACE("(%p)->(%p)\n", This, p);
5424 return get_style_property_var(This, STYLEID_LETTER_SPACING, p);
5427 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_textDecoration(IHTMLCSSStyleDeclaration *iface, BSTR v)
5429 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5430 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
5431 return set_style_property(This, STYLEID_TEXT_DECORATION, v);
5434 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_textDecoration(IHTMLCSSStyleDeclaration *iface, BSTR *p)
5436 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5437 TRACE("(%p)->(%p)\n", This, p);
5438 return get_style_property(This, STYLEID_TEXT_DECORATION, p);
5441 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_verticalAlign(IHTMLCSSStyleDeclaration *iface, VARIANT v)
5443 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5444 TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
5445 return set_style_property_var(This, STYLEID_VERTICAL_ALIGN, &v);
5448 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_verticalAlign(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
5450 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5451 TRACE("(%p)->(%p)\n", This, p);
5452 return get_style_property_var(This, STYLEID_VERTICAL_ALIGN, p);
5455 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_textTransform(IHTMLCSSStyleDeclaration *iface, BSTR v)
5457 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5458 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
5459 return set_style_property(This, STYLEID_TEXT_TRANSFORM, v);
5462 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_textTransform(IHTMLCSSStyleDeclaration *iface, BSTR *p)
5464 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5465 TRACE("(%p)->(%p)\n", This, p);
5466 return get_style_property(This, STYLEID_TEXT_TRANSFORM, p);
5469 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_textAlign(IHTMLCSSStyleDeclaration *iface, BSTR v)
5471 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5472 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
5473 return set_style_property(This, STYLEID_TEXT_ALIGN, v);
5476 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_textAlign(IHTMLCSSStyleDeclaration *iface, BSTR *p)
5478 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5479 TRACE("(%p)->(%p)\n", This, p);
5480 return get_style_property(This, STYLEID_TEXT_ALIGN, p);
5483 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_textIndent(IHTMLCSSStyleDeclaration *iface, VARIANT v)
5485 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5486 TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
5487 return set_style_property_var(This, STYLEID_TEXT_INDENT, &v);
5490 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_textIndent(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
5492 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5493 TRACE("(%p)->(%p)\n", This, p);
5494 return get_style_property_var(This, STYLEID_TEXT_INDENT, p);
5497 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_lineHeight(IHTMLCSSStyleDeclaration *iface, VARIANT v)
5499 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5500 TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
5501 return set_style_property_var(This, STYLEID_LINE_HEIGHT, &v);
5504 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_lineHeight(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
5506 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5507 TRACE("(%p)->(%p)\n", This, p);
5508 return get_style_property_var(This, STYLEID_LINE_HEIGHT, p);
5511 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_marginTop(IHTMLCSSStyleDeclaration *iface, VARIANT v)
5513 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5514 TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
5515 return set_style_property_var(This, STYLEID_MARGIN_TOP, &v);
5518 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_marginTop(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
5520 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5521 TRACE("(%p)->(%p)\n", This, p);
5522 return get_style_property_var(This, STYLEID_MARGIN_TOP, p);
5525 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_marginRight(IHTMLCSSStyleDeclaration *iface, VARIANT v)
5527 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5528 TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
5529 return set_style_property_var(This, STYLEID_MARGIN_RIGHT, &v);
5532 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_marginRight(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
5534 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5535 TRACE("(%p)->(%p)\n", This, p);
5536 return get_style_property_var(This, STYLEID_MARGIN_RIGHT, p);
5539 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_marginBottom(IHTMLCSSStyleDeclaration *iface, VARIANT v)
5541 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5542 TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
5543 return set_style_property_var(This, STYLEID_MARGIN_BOTTOM, &v);
5546 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_marginBottom(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
5548 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5549 TRACE("(%p)->(%p)\n", This, p);
5550 return get_style_property_var(This, STYLEID_MARGIN_BOTTOM, p);
5553 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_marginLeft(IHTMLCSSStyleDeclaration *iface, VARIANT v)
5555 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5556 TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
5557 return set_style_property_var(This, STYLEID_MARGIN_LEFT, &v);
5560 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_marginLeft(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
5562 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5563 TRACE("(%p)->(%p)\n", This, p);
5564 return get_style_property_var(This, STYLEID_MARGIN_LEFT, p);
5567 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_margin(IHTMLCSSStyleDeclaration *iface, BSTR v)
5569 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5570 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
5571 return set_style_property(This, STYLEID_MARGIN, v);
5574 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_margin(IHTMLCSSStyleDeclaration *iface, BSTR *p)
5576 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5577 TRACE("(%p)->(%p)\n", This, p);
5578 return get_style_property(This, STYLEID_MARGIN, p);
5581 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_paddingTop(IHTMLCSSStyleDeclaration *iface, VARIANT v)
5583 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5584 TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
5585 return set_style_property_var(This, STYLEID_PADDING_TOP, &v);
5588 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_paddingTop(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
5590 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5591 TRACE("(%p)->(%p)\n", This, p);
5592 return get_style_property_var(This, STYLEID_PADDING_TOP, p);
5595 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_paddingRight(IHTMLCSSStyleDeclaration *iface, VARIANT v)
5597 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5598 TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
5599 return set_style_property_var(This, STYLEID_PADDING_RIGHT, &v);
5602 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_paddingRight(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
5604 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5605 TRACE("(%p)->(%p)\n", This, p);
5606 return get_style_property_var(This, STYLEID_PADDING_RIGHT, p);
5609 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_paddingBottom(IHTMLCSSStyleDeclaration *iface, VARIANT v)
5611 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5612 TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
5613 return set_style_property_var(This, STYLEID_PADDING_BOTTOM, &v);
5616 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_paddingBottom(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
5618 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5619 TRACE("(%p)->(%p)\n", This, p);
5620 return get_style_property_var(This, STYLEID_PADDING_BOTTOM, p);
5623 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_paddingLeft(IHTMLCSSStyleDeclaration *iface, VARIANT v)
5625 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5626 TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
5627 return set_style_property_var(This, STYLEID_PADDING_LEFT, &v);
5630 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_paddingLeft(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
5632 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5633 TRACE("(%p)->(%p)\n", This, p);
5634 return get_style_property_var(This, STYLEID_PADDING_LEFT, p);
5637 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_padding(IHTMLCSSStyleDeclaration *iface, BSTR v)
5639 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5640 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
5641 return set_style_property(This, STYLEID_PADDING, v);
5644 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_padding(IHTMLCSSStyleDeclaration *iface, BSTR *p)
5646 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5647 TRACE("(%p)->(%p)\n", This, p);
5648 return get_style_property(This, STYLEID_PADDING, p);
5651 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_border(IHTMLCSSStyleDeclaration *iface, BSTR v)
5653 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5654 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
5655 return set_style_property(This, STYLEID_BORDER, v);
5658 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_border(IHTMLCSSStyleDeclaration *iface, BSTR *p)
5660 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5661 TRACE("(%p)->(%p)\n", This, p);
5662 return get_style_property(This, STYLEID_BORDER, p);
5665 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_borderTop(IHTMLCSSStyleDeclaration *iface, BSTR v)
5667 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5668 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
5669 return set_style_property(This, STYLEID_BORDER_TOP, v);
5672 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_borderTop(IHTMLCSSStyleDeclaration *iface, BSTR *p)
5674 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5675 TRACE("(%p)->(%p)\n", This, p);
5676 return get_style_property(This, STYLEID_BORDER_TOP, p);
5679 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_borderRight(IHTMLCSSStyleDeclaration *iface, BSTR v)
5681 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5682 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
5683 return set_style_property(This, STYLEID_BORDER_RIGHT, v);
5686 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_borderRight(IHTMLCSSStyleDeclaration *iface, BSTR *p)
5688 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5689 TRACE("(%p)->(%p)\n", This, p);
5690 return get_style_property(This, STYLEID_BORDER_RIGHT, p);
5693 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_borderBottom(IHTMLCSSStyleDeclaration *iface, BSTR v)
5695 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5696 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
5697 return set_style_property(This, STYLEID_BORDER_BOTTOM, v);
5700 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_borderBottom(IHTMLCSSStyleDeclaration *iface, BSTR *p)
5702 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5703 TRACE("(%p)->(%p)\n", This, p);
5704 return get_style_property(This, STYLEID_BORDER_BOTTOM, p);
5707 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_borderLeft(IHTMLCSSStyleDeclaration *iface, BSTR v)
5709 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5710 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
5711 return set_style_property(This, STYLEID_BORDER_LEFT, v);
5714 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_borderLeft(IHTMLCSSStyleDeclaration *iface, BSTR *p)
5716 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5717 TRACE("(%p)->(%p)\n", This, p);
5718 return get_style_property(This, STYLEID_BORDER_LEFT, p);
5721 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_borderColor(IHTMLCSSStyleDeclaration *iface, BSTR v)
5723 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5724 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
5725 return set_style_property(This, STYLEID_BORDER_COLOR, v);
5728 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_borderColor(IHTMLCSSStyleDeclaration *iface, BSTR *p)
5730 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5731 TRACE("(%p)->(%p)\n", This, p);
5732 return get_style_property(This, STYLEID_BORDER_COLOR, p);
5735 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_borderTopColor(IHTMLCSSStyleDeclaration *iface, VARIANT v)
5737 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5738 TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
5739 return set_style_property_var(This, STYLEID_BORDER_TOP_COLOR, &v);
5742 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_borderTopColor(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
5744 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5745 TRACE("(%p)->(%p)\n", This, p);
5746 return get_style_property_var(This, STYLEID_BORDER_TOP_COLOR, p);
5749 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_borderRightColor(IHTMLCSSStyleDeclaration *iface, VARIANT v)
5751 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5752 TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
5753 return set_style_property_var(This, STYLEID_BORDER_RIGHT_COLOR, &v);
5756 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_borderRightColor(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
5758 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5759 TRACE("(%p)->(%p)\n", This, p);
5760 return get_style_property_var(This, STYLEID_BORDER_RIGHT_COLOR, p);
5763 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_borderBottomColor(IHTMLCSSStyleDeclaration *iface, VARIANT v)
5765 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5766 TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
5767 return set_style_property_var(This, STYLEID_BORDER_BOTTOM_COLOR, &v);
5770 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_borderBottomColor(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
5772 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5773 TRACE("(%p)->(%p)\n", This, p);
5774 return get_style_property_var(This, STYLEID_BORDER_BOTTOM_COLOR, p);
5777 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_borderLeftColor(IHTMLCSSStyleDeclaration *iface, VARIANT v)
5779 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5780 TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
5781 return set_style_property_var(This, STYLEID_BORDER_LEFT_COLOR, &v);
5784 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_borderLeftColor(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
5786 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5787 TRACE("(%p)->(%p)\n", This, p);
5788 return get_style_property_var(This, STYLEID_BORDER_LEFT_COLOR, p);
5791 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_borderWidth(IHTMLCSSStyleDeclaration *iface, BSTR v)
5793 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5794 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
5795 return set_style_property(This, STYLEID_BORDER_WIDTH, v);
5798 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_borderWidth(IHTMLCSSStyleDeclaration *iface, BSTR *p)
5800 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5801 TRACE("(%p)->(%p)\n", This, p);
5802 return get_style_property(This, STYLEID_BORDER_WIDTH, p);
5805 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_borderTopWidth(IHTMLCSSStyleDeclaration *iface, VARIANT v)
5807 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5808 TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
5809 return set_style_property_var(This, STYLEID_BORDER_TOP_WIDTH, &v);
5812 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_borderTopWidth(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
5814 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5815 TRACE("(%p)->(%p)\n", This, p);
5816 return get_style_property_var(This, STYLEID_BORDER_TOP_WIDTH, p);
5819 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_borderRightWidth(IHTMLCSSStyleDeclaration *iface, VARIANT v)
5821 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5822 TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
5823 return set_style_property_var(This, STYLEID_BORDER_RIGHT_WIDTH, &v);
5826 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_borderRightWidth(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
5828 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5829 TRACE("(%p)->(%p)\n", This, p);
5830 return get_style_property_var(This, STYLEID_BORDER_RIGHT_WIDTH, p);
5833 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_borderBottomWidth(IHTMLCSSStyleDeclaration *iface, VARIANT v)
5835 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5836 TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
5837 return set_style_property_var(This, STYLEID_BORDER_BOTTOM_WIDTH, &v);
5840 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_borderBottomWidth(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
5842 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5843 TRACE("(%p)->(%p)\n", This, p);
5844 return get_style_property_var(This, STYLEID_BORDER_BOTTOM_WIDTH, p);
5847 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_borderLeftWidth(IHTMLCSSStyleDeclaration *iface, VARIANT v)
5849 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5850 TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
5851 return set_style_property_var(This, STYLEID_BORDER_LEFT_WIDTH, &v);
5854 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_borderLeftWidth(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
5856 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5857 TRACE("(%p)->(%p)\n", This, p);
5858 return get_style_property_var(This, STYLEID_BORDER_LEFT_WIDTH, p);
5861 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_borderStyle(IHTMLCSSStyleDeclaration *iface, BSTR v)
5863 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5864 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
5865 return set_style_property(This, STYLEID_BORDER_STYLE, v);
5868 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_borderStyle(IHTMLCSSStyleDeclaration *iface, BSTR *p)
5870 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5871 TRACE("(%p)->(%p)\n", This, p);
5872 return get_style_property(This, STYLEID_BORDER_STYLE, p);
5875 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_borderTopStyle(IHTMLCSSStyleDeclaration *iface, BSTR v)
5877 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5878 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
5879 return set_style_property(This, STYLEID_BORDER_TOP_STYLE, v);
5882 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_borderTopStyle(IHTMLCSSStyleDeclaration *iface, BSTR *p)
5884 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5885 TRACE("(%p)->(%p)\n", This, p);
5886 return get_style_property(This, STYLEID_BORDER_TOP_STYLE, p);
5889 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_borderRightStyle(IHTMLCSSStyleDeclaration *iface, BSTR v)
5891 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5892 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
5893 return set_style_property(This, STYLEID_BORDER_RIGHT_STYLE, v);
5896 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_borderRightStyle(IHTMLCSSStyleDeclaration *iface, BSTR *p)
5898 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5899 TRACE("(%p)->(%p)\n", This, p);
5900 return get_style_property(This, STYLEID_BORDER_RIGHT_STYLE, p);
5903 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_borderBottomStyle(IHTMLCSSStyleDeclaration *iface, BSTR v)
5905 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5906 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
5907 return set_style_property(This, STYLEID_BORDER_BOTTOM_STYLE, v);
5910 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_borderBottomStyle(IHTMLCSSStyleDeclaration *iface, BSTR *p)
5912 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5913 TRACE("(%p)->(%p)\n", This, p);
5914 return get_style_property(This, STYLEID_BORDER_BOTTOM_STYLE, p);
5917 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_borderLeftStyle(IHTMLCSSStyleDeclaration *iface, BSTR v)
5919 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5920 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
5921 return set_style_property(This, STYLEID_BORDER_LEFT_STYLE, v);
5924 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_borderLeftStyle(IHTMLCSSStyleDeclaration *iface, BSTR *p)
5926 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5927 TRACE("(%p)->(%p)\n", This, p);
5928 return get_style_property(This, STYLEID_BORDER_LEFT_STYLE, p);
5931 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_width(IHTMLCSSStyleDeclaration *iface, VARIANT v)
5933 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5934 TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
5935 return set_style_property_var(This, STYLEID_WIDTH, &v);
5938 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_width(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
5940 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5941 TRACE("(%p)->(%p)\n", This, p);
5942 return get_style_property_var(This, STYLEID_WIDTH, p);
5945 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_height(IHTMLCSSStyleDeclaration *iface, VARIANT v)
5947 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5948 TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
5949 return set_style_property_var(This, STYLEID_HEIGHT, &v);
5952 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_height(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
5954 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5955 TRACE("(%p)->(%p)\n", This, p);
5956 return get_style_property_var(This, STYLEID_HEIGHT, p);
5959 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_styleFloat(IHTMLCSSStyleDeclaration *iface, BSTR v)
5961 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5962 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
5963 return set_style_property(This, STYLEID_FLOAT, v);
5966 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_styleFloat(IHTMLCSSStyleDeclaration *iface, BSTR *p)
5968 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5969 TRACE("(%p)->(%p)\n", This, p);
5970 return get_style_property(This, STYLEID_FLOAT, p);
5973 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_clear(IHTMLCSSStyleDeclaration *iface, BSTR v)
5975 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5976 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
5977 return set_style_property(This, STYLEID_CLEAR, v);
5980 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_clear(IHTMLCSSStyleDeclaration *iface, BSTR *p)
5982 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5983 TRACE("(%p)->(%p)\n", This, p);
5984 return get_style_property(This, STYLEID_CLEAR, p);
5987 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_display(IHTMLCSSStyleDeclaration *iface, BSTR v)
5989 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5990 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
5991 return set_style_property(This, STYLEID_DISPLAY, v);
5994 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_display(IHTMLCSSStyleDeclaration *iface, BSTR *p)
5996 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
5997 TRACE("(%p)->(%p)\n", This, p);
5998 return get_style_property(This, STYLEID_DISPLAY, p);
6001 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_visibility(IHTMLCSSStyleDeclaration *iface, BSTR v)
6003 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6004 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
6005 return set_style_property(This, STYLEID_VISIBILITY, v);
6008 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_visibility(IHTMLCSSStyleDeclaration *iface, BSTR *p)
6010 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6011 TRACE("(%p)->(%p)\n", This, p);
6012 return get_style_property(This, STYLEID_VISIBILITY, p);
6015 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_listStyleType(IHTMLCSSStyleDeclaration *iface, BSTR v)
6017 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6018 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
6019 return E_NOTIMPL;
6022 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_listStyleType(IHTMLCSSStyleDeclaration *iface, BSTR *p)
6024 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6025 FIXME("(%p)->(%p)\n", This, p);
6026 return E_NOTIMPL;
6029 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_listStylePosition(IHTMLCSSStyleDeclaration *iface, BSTR v)
6031 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6032 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
6033 return E_NOTIMPL;
6036 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_listStylePosition(IHTMLCSSStyleDeclaration *iface, BSTR *p)
6038 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6039 FIXME("(%p)->(%p)\n", This, p);
6040 return E_NOTIMPL;
6043 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_listStyleImage(IHTMLCSSStyleDeclaration *iface, BSTR v)
6045 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6046 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
6047 return E_NOTIMPL;
6050 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_listStyleImage(IHTMLCSSStyleDeclaration *iface, BSTR *p)
6052 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6053 FIXME("(%p)->(%p)\n", This, p);
6054 return E_NOTIMPL;
6057 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_listStyle(IHTMLCSSStyleDeclaration *iface, BSTR v)
6059 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6060 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
6061 return set_style_property(This, STYLEID_LIST_STYLE, v);
6064 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_listStyle(IHTMLCSSStyleDeclaration *iface, BSTR *p)
6066 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6067 TRACE("(%p)->(%p)\n", This, p);
6068 return get_style_property(This, STYLEID_LIST_STYLE, p);
6071 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_whiteSpace(IHTMLCSSStyleDeclaration *iface, BSTR v)
6073 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6074 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
6075 return set_style_property(This, STYLEID_WHITE_SPACE, v);
6078 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_whiteSpace(IHTMLCSSStyleDeclaration *iface, BSTR *p)
6080 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6081 TRACE("(%p)->(%p)\n", This, p);
6082 return get_style_property(This, STYLEID_WHITE_SPACE, p);
6085 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_top(IHTMLCSSStyleDeclaration *iface, VARIANT v)
6087 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6088 TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
6089 return set_style_property_var(This, STYLEID_TOP, &v);
6092 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_top(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
6094 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6095 TRACE("(%p)->(%p)\n", This, p);
6096 return get_style_property_var(This, STYLEID_TOP, p);
6099 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_left(IHTMLCSSStyleDeclaration *iface, VARIANT v)
6101 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6102 TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
6103 return set_style_property_var(This, STYLEID_LEFT, &v);
6106 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_left(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
6108 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6109 TRACE("(%p)->(%p)\n", This, p);
6110 return get_style_property_var(This, STYLEID_LEFT, p);
6113 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_zIndex(IHTMLCSSStyleDeclaration *iface, VARIANT v)
6115 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6116 TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
6117 return set_style_property_var(This, STYLEID_Z_INDEX, &v);
6120 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_zIndex(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
6122 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6123 TRACE("(%p)->(%p)\n", This, p);
6124 return get_style_property_var(This, STYLEID_Z_INDEX, p);
6127 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_overflow(IHTMLCSSStyleDeclaration *iface, BSTR v)
6129 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6130 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
6131 return set_style_property(This, STYLEID_OVERFLOW, v);
6134 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_overflow(IHTMLCSSStyleDeclaration *iface, BSTR *p)
6136 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6137 TRACE("(%p)->(%p)\n", This, p);
6138 return get_style_property(This, STYLEID_OVERFLOW, p);
6141 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_pageBreakBefore(IHTMLCSSStyleDeclaration *iface, BSTR v)
6143 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6144 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
6145 return set_style_property(This, STYLEID_PAGE_BREAK_BEFORE, v);
6148 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_pageBreakBefore(IHTMLCSSStyleDeclaration *iface, BSTR *p)
6150 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6151 TRACE("(%p)->(%p)\n", This, p);
6152 return get_style_property(This, STYLEID_PAGE_BREAK_BEFORE, p);
6155 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_pageBreakAfter(IHTMLCSSStyleDeclaration *iface, BSTR v)
6157 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6158 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
6159 return set_style_property(This, STYLEID_PAGE_BREAK_AFTER, v);
6162 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_pageBreakAfter(IHTMLCSSStyleDeclaration *iface, BSTR *p)
6164 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6165 TRACE("(%p)->(%p)\n", This, p);
6166 return get_style_property(This, STYLEID_PAGE_BREAK_AFTER, p);
6169 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_cssText(IHTMLCSSStyleDeclaration *iface, BSTR v)
6171 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6172 nsAString text_str;
6173 nsresult nsres;
6175 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
6177 nsAString_InitDepend(&text_str, v);
6178 nsres = nsIDOMCSSStyleDeclaration_SetCssText(This->nsstyle, &text_str);
6179 nsAString_Finish(&text_str);
6180 if(NS_FAILED(nsres)) {
6181 FIXME("SetCssStyle failed: %08x\n", nsres);
6182 return E_FAIL;
6185 return S_OK;
6188 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_cssText(IHTMLCSSStyleDeclaration *iface, BSTR *p)
6190 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6191 nsAString text_str;
6192 nsresult nsres;
6194 TRACE("(%p)->(%p)\n", This, p);
6196 /* NOTE: Quicks mode should use different formatting (uppercase, no ';' at the end of rule). */
6197 nsAString_Init(&text_str, NULL);
6198 nsres = nsIDOMCSSStyleDeclaration_GetCssText(This->nsstyle, &text_str);
6199 return return_nsstr(nsres, &text_str, p);
6202 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_cursor(IHTMLCSSStyleDeclaration *iface, BSTR v)
6204 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6205 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
6206 return set_style_property(This, STYLEID_CURSOR, v);
6209 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_cursor(IHTMLCSSStyleDeclaration *iface, BSTR *p)
6211 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6212 TRACE("(%p)->(%p)\n", This, p);
6213 return get_style_property(This, STYLEID_CURSOR, p);
6216 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_clip(IHTMLCSSStyleDeclaration *iface, BSTR v)
6218 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6219 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
6220 return set_style_property(This, STYLEID_CLIP, v);
6223 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_clip(IHTMLCSSStyleDeclaration *iface, BSTR *p)
6225 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6226 TRACE("(%p)->(%p)\n", This, p);
6227 return get_style_property(This, STYLEID_CLIP, p);
6230 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_filter(IHTMLCSSStyleDeclaration *iface, BSTR v)
6232 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6233 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
6234 return set_style_property(This, STYLEID_FILTER, v);
6237 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_filter(IHTMLCSSStyleDeclaration *iface, BSTR *p)
6239 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6240 TRACE("(%p)->(%p)\n", This, p);
6241 return get_style_property(This, STYLEID_FILTER, p);
6244 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_tableLayout(IHTMLCSSStyleDeclaration *iface, BSTR v)
6246 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6247 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
6248 return set_style_property(This, STYLEID_TABLE_LAYOUT, v);
6251 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_tableLayout(IHTMLCSSStyleDeclaration *iface, BSTR *p)
6253 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6254 TRACE("(%p)->(%p)\n", This, p);
6255 return get_style_property(This, STYLEID_TABLE_LAYOUT, p);
6258 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_borderCollapse(IHTMLCSSStyleDeclaration *iface, BSTR v)
6260 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6261 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
6262 return E_NOTIMPL;
6265 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_borderCollapse(IHTMLCSSStyleDeclaration *iface, BSTR *p)
6267 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6268 FIXME("(%p)->(%p)\n", This, p);
6269 return E_NOTIMPL;
6272 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_direction(IHTMLCSSStyleDeclaration *iface, BSTR v)
6274 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6275 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
6276 return set_style_property(This, STYLEID_DIRECTION, v);
6279 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_direction(IHTMLCSSStyleDeclaration *iface, BSTR *p)
6281 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6282 TRACE("(%p)->(%p)\n", This, p);
6283 return get_style_property(This, STYLEID_DIRECTION, p);
6286 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_behavior(IHTMLCSSStyleDeclaration *iface, BSTR v)
6288 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6289 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
6290 return E_NOTIMPL;
6293 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_behavior(IHTMLCSSStyleDeclaration *iface, BSTR *p)
6295 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6296 FIXME("(%p)->(%p)\n", This, p);
6297 return E_NOTIMPL;
6300 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_position(IHTMLCSSStyleDeclaration *iface, BSTR v)
6302 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6303 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
6304 return set_style_property(This, STYLEID_POSITION, v);
6307 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_position(IHTMLCSSStyleDeclaration *iface, BSTR *p)
6309 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6310 TRACE("(%p)->(%p)\n", This, p);
6311 return get_style_property(This, STYLEID_POSITION, p);
6314 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_unicodeBidi(IHTMLCSSStyleDeclaration *iface, BSTR v)
6316 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6317 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
6318 return E_NOTIMPL;
6321 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_unicodeBidi(IHTMLCSSStyleDeclaration *iface, BSTR *p)
6323 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6324 FIXME("(%p)->(%p)\n", This, p);
6325 return E_NOTIMPL;
6328 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_bottom(IHTMLCSSStyleDeclaration *iface, VARIANT v)
6330 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6331 TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
6332 return set_style_property_var(This, STYLEID_BOTTOM, &v);
6335 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_bottom(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
6337 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6338 TRACE("(%p)->(%p)\n", This, p);
6339 return get_style_property_var(This, STYLEID_BOTTOM, p);
6342 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_right(IHTMLCSSStyleDeclaration *iface, VARIANT v)
6344 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6345 TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
6346 return set_style_property_var(This, STYLEID_RIGHT, &v);
6349 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_right(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
6351 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6352 TRACE("(%p)->(%p)\n", This, p);
6353 return get_style_property_var(This, STYLEID_RIGHT, p);
6356 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_imeMode(IHTMLCSSStyleDeclaration *iface, BSTR v)
6358 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6359 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
6360 return E_NOTIMPL;
6363 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_imeMode(IHTMLCSSStyleDeclaration *iface, BSTR *p)
6365 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6366 FIXME("(%p)->(%p)\n", This, p);
6367 return E_NOTIMPL;
6370 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_rubyAlign(IHTMLCSSStyleDeclaration *iface, BSTR v)
6372 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6373 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
6374 return E_NOTIMPL;
6377 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_rubyAlign(IHTMLCSSStyleDeclaration *iface, BSTR *p)
6379 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6380 FIXME("(%p)->(%p)\n", This, p);
6381 return E_NOTIMPL;
6384 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_rubyPosition(IHTMLCSSStyleDeclaration *iface, BSTR v)
6386 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6387 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
6388 return E_NOTIMPL;
6391 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_rubyPosition(IHTMLCSSStyleDeclaration *iface, BSTR *p)
6393 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6394 FIXME("(%p)->(%p)\n", This, p);
6395 return E_NOTIMPL;
6398 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_rubyOverhang(IHTMLCSSStyleDeclaration *iface, BSTR v)
6400 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6401 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
6402 return E_NOTIMPL;
6405 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_rubyOverhang(IHTMLCSSStyleDeclaration *iface, BSTR *p)
6407 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6408 FIXME("(%p)->(%p)\n", This, p);
6409 return E_NOTIMPL;
6412 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_layoutGridChar(IHTMLCSSStyleDeclaration *iface, VARIANT v)
6414 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6415 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
6416 return E_NOTIMPL;
6419 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_layoutGridChar(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
6421 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6422 FIXME("(%p)->(%p)\n", This, p);
6423 return E_NOTIMPL;
6426 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_layoutGridLine(IHTMLCSSStyleDeclaration *iface, VARIANT v)
6428 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6429 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
6430 return E_NOTIMPL;
6433 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_layoutGridLine(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
6435 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6436 FIXME("(%p)->(%p)\n", This, p);
6437 return E_NOTIMPL;
6440 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_layoutGridMode(IHTMLCSSStyleDeclaration *iface, BSTR v)
6442 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6443 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
6444 return E_NOTIMPL;
6447 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_layoutGridMode(IHTMLCSSStyleDeclaration *iface, BSTR *p)
6449 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6450 FIXME("(%p)->(%p)\n", This, p);
6451 return E_NOTIMPL;
6454 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_layoutGridType(IHTMLCSSStyleDeclaration *iface, BSTR v)
6456 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6457 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
6458 return E_NOTIMPL;
6461 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_layoutGridType(IHTMLCSSStyleDeclaration *iface, BSTR *p)
6463 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6464 FIXME("(%p)->(%p)\n", This, p);
6465 return E_NOTIMPL;
6468 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_layoutGrid(IHTMLCSSStyleDeclaration *iface, BSTR v)
6470 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6471 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
6472 return E_NOTIMPL;
6475 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_layoutGrid(IHTMLCSSStyleDeclaration *iface, BSTR *p)
6477 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6478 FIXME("(%p)->(%p)\n", This, p);
6479 return E_NOTIMPL;
6482 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_textAutospace(IHTMLCSSStyleDeclaration *iface, BSTR v)
6484 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6485 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
6486 return E_NOTIMPL;
6489 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_textAutospace(IHTMLCSSStyleDeclaration *iface, BSTR *p)
6491 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6492 FIXME("(%p)->(%p)\n", This, p);
6493 return E_NOTIMPL;
6496 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_wordBreak(IHTMLCSSStyleDeclaration *iface, BSTR v)
6498 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6499 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
6500 return E_NOTIMPL;
6503 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_wordBreak(IHTMLCSSStyleDeclaration *iface, BSTR *p)
6505 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6506 FIXME("(%p)->(%p)\n", This, p);
6507 return E_NOTIMPL;
6510 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_lineBreak(IHTMLCSSStyleDeclaration *iface, BSTR v)
6512 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6513 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
6514 return E_NOTIMPL;
6517 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_lineBreak(IHTMLCSSStyleDeclaration *iface, BSTR *p)
6519 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6520 FIXME("(%p)->(%p)\n", This, p);
6521 return E_NOTIMPL;
6524 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_textJustify(IHTMLCSSStyleDeclaration *iface, BSTR v)
6526 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6527 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
6528 return E_NOTIMPL;
6531 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_textJustify(IHTMLCSSStyleDeclaration *iface, BSTR *p)
6533 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6534 FIXME("(%p)->(%p)\n", This, p);
6535 return E_NOTIMPL;
6538 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_textJustifyTrim(IHTMLCSSStyleDeclaration *iface, BSTR v)
6540 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6541 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
6542 return E_NOTIMPL;
6545 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_textJustifyTrim(IHTMLCSSStyleDeclaration *iface, BSTR *p)
6547 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6548 FIXME("(%p)->(%p)\n", This, p);
6549 return E_NOTIMPL;
6552 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_textKashida(IHTMLCSSStyleDeclaration *iface, VARIANT v)
6554 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6555 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
6556 return E_NOTIMPL;
6559 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_textKashida(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
6561 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6562 FIXME("(%p)->(%p)\n", This, p);
6563 return E_NOTIMPL;
6566 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_overflowX(IHTMLCSSStyleDeclaration *iface, BSTR v)
6568 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6569 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
6570 return set_style_property(This, STYLEID_OVERFLOW_X, v);
6573 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_overflowX(IHTMLCSSStyleDeclaration *iface, BSTR *p)
6575 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6576 TRACE("(%p)->(%p)\n", This, p);
6577 return get_style_property(This, STYLEID_OVERFLOW_X, p);
6580 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_overflowY(IHTMLCSSStyleDeclaration *iface, BSTR v)
6582 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6583 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
6584 return set_style_property(This, STYLEID_OVERFLOW_Y, v);
6587 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_overflowY(IHTMLCSSStyleDeclaration *iface, BSTR *p)
6589 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6590 TRACE("(%p)->(%p)\n", This, p);
6591 return get_style_property(This, STYLEID_OVERFLOW_Y, p);
6594 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_accelerator(IHTMLCSSStyleDeclaration *iface, BSTR v)
6596 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6597 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
6598 return E_NOTIMPL;
6601 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_accelerator(IHTMLCSSStyleDeclaration *iface, BSTR *p)
6603 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6604 FIXME("(%p)->(%p)\n", This, p);
6605 return E_NOTIMPL;
6608 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_layoutFlow(IHTMLCSSStyleDeclaration *iface, BSTR v)
6610 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6611 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
6612 return E_NOTIMPL;
6615 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_layoutFlow(IHTMLCSSStyleDeclaration *iface, BSTR *p)
6617 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6618 FIXME("(%p)->(%p)\n", This, p);
6619 return E_NOTIMPL;
6622 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_zoom(IHTMLCSSStyleDeclaration *iface, VARIANT v)
6624 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6625 TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
6626 return IHTMLStyle3_put_zoom(&This->IHTMLStyle3_iface, v);
6629 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_zoom(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
6631 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6632 TRACE("(%p)->(%p)\n", This, p);
6633 return IHTMLStyle3_get_zoom(&This->IHTMLStyle3_iface, p);
6636 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_wordWrap(IHTMLCSSStyleDeclaration *iface, BSTR v)
6638 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6639 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
6640 return set_style_property(This, STYLEID_WORD_WRAP, v);
6643 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_wordWrap(IHTMLCSSStyleDeclaration *iface, BSTR *p)
6645 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6646 TRACE("(%p)->(%p)\n", This, p);
6647 return get_style_property(This, STYLEID_WORD_WRAP, p);
6650 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_textUnderlinePosition(IHTMLCSSStyleDeclaration *iface, BSTR v)
6652 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6653 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
6654 return E_NOTIMPL;
6657 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_textUnderlinePosition(IHTMLCSSStyleDeclaration *iface, BSTR *p)
6659 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6660 FIXME("(%p)->(%p)\n", This, p);
6661 return E_NOTIMPL;
6664 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_scrollbarBaseColor(IHTMLCSSStyleDeclaration *iface, VARIANT v)
6666 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6667 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
6668 return E_NOTIMPL;
6671 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_scrollbarBaseColor(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
6673 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6674 FIXME("(%p)->(%p)\n", This, p);
6675 return E_NOTIMPL;
6678 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_scrollbarFaceColor(IHTMLCSSStyleDeclaration *iface, VARIANT v)
6680 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6681 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
6682 return E_NOTIMPL;
6685 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_scrollbarFaceColor(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
6687 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6688 FIXME("(%p)->(%p)\n", This, p);
6689 return E_NOTIMPL;
6692 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_scrollbar3dLightColor(IHTMLCSSStyleDeclaration *iface, VARIANT v)
6694 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6695 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
6696 return E_NOTIMPL;
6699 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_scrollbar3dLightColor(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
6701 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6702 FIXME("(%p)->(%p)\n", This, p);
6703 return E_NOTIMPL;
6706 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_scrollbarShadowColor(IHTMLCSSStyleDeclaration *iface, VARIANT v)
6708 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6709 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
6710 return E_NOTIMPL;
6713 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_scrollbarShadowColor(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
6715 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6716 FIXME("(%p)->(%p)\n", This, p);
6717 return E_NOTIMPL;
6720 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_scrollbarHighlightColor(IHTMLCSSStyleDeclaration *iface, VARIANT v)
6722 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6723 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
6724 return E_NOTIMPL;
6727 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_scrollbarHighlightColor(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
6729 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6730 FIXME("(%p)->(%p)\n", This, p);
6731 return E_NOTIMPL;
6734 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_scrollbarDarkShadowColor(IHTMLCSSStyleDeclaration *iface, VARIANT v)
6736 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6737 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
6738 return E_NOTIMPL;
6741 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_scrollbarDarkShadowColor(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
6743 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6744 FIXME("(%p)->(%p)\n", This, p);
6745 return E_NOTIMPL;
6748 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_scrollbarArrowColor(IHTMLCSSStyleDeclaration *iface, VARIANT v)
6750 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6751 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
6752 return E_NOTIMPL;
6755 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_scrollbarArrowColor(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
6757 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6758 FIXME("(%p)->(%p)\n", This, p);
6759 return E_NOTIMPL;
6762 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_scrollbarTrackColor(IHTMLCSSStyleDeclaration *iface, VARIANT v)
6764 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6765 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
6766 return E_NOTIMPL;
6769 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_scrollbarTrackColor(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
6771 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6772 FIXME("(%p)->(%p)\n", This, p);
6773 return E_NOTIMPL;
6776 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_writingMode(IHTMLCSSStyleDeclaration *iface, BSTR v)
6778 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6779 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
6780 return E_NOTIMPL;
6783 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_writingMode(IHTMLCSSStyleDeclaration *iface, BSTR *p)
6785 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6786 FIXME("(%p)->(%p)\n", This, p);
6787 return E_NOTIMPL;
6790 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_textAlignLast(IHTMLCSSStyleDeclaration *iface, BSTR v)
6792 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6793 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
6794 return E_NOTIMPL;
6797 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_textAlignLast(IHTMLCSSStyleDeclaration *iface, BSTR *p)
6799 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6800 FIXME("(%p)->(%p)\n", This, p);
6801 return E_NOTIMPL;
6804 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_textKashidaSpace(IHTMLCSSStyleDeclaration *iface, VARIANT v)
6806 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6807 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
6808 return E_NOTIMPL;
6811 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_textKashidaSpace(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
6813 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6814 FIXME("(%p)->(%p)\n", This, p);
6815 return E_NOTIMPL;
6818 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_textOverflow(IHTMLCSSStyleDeclaration *iface, BSTR v)
6820 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6821 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
6822 return E_NOTIMPL;
6825 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_textOverflow(IHTMLCSSStyleDeclaration *iface, BSTR *p)
6827 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6828 FIXME("(%p)->(%p)\n", This, p);
6829 return E_NOTIMPL;
6832 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_minHeight(IHTMLCSSStyleDeclaration *iface, VARIANT v)
6834 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6835 TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
6836 return set_style_property_var(This, STYLEID_MIN_HEIGHT, &v);
6839 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_minHeight(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
6841 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6842 TRACE("(%p)->(%p)\n", This, p);
6843 return get_style_property_var(This, STYLEID_MIN_HEIGHT, p);
6846 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_msInterpolationMode(IHTMLCSSStyleDeclaration *iface, BSTR v)
6848 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6849 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
6850 return E_NOTIMPL;
6853 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_msInterpolationMode(IHTMLCSSStyleDeclaration *iface, BSTR *p)
6855 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6856 FIXME("(%p)->(%p)\n", This, p);
6857 return E_NOTIMPL;
6860 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_maxHeight(IHTMLCSSStyleDeclaration *iface, VARIANT v)
6862 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6863 TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
6864 return set_style_property_var(This, STYLEID_MAX_HEIGHT, &v);
6867 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_maxHeight(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
6869 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6870 TRACE("(%p)->(%p)\n", This, p);
6871 return get_style_property_var(This, STYLEID_MAX_HEIGHT, p);
6874 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_minWidth(IHTMLCSSStyleDeclaration *iface, VARIANT v)
6876 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6877 TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
6878 return set_style_property_var(This, STYLEID_MIN_WIDTH, &v);
6881 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_minWidth(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
6883 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6884 TRACE("(%p)->(%p)\n", This, p);
6885 return get_style_property_var(This, STYLEID_MIN_WIDTH, p);
6888 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_maxWidth(IHTMLCSSStyleDeclaration *iface, VARIANT v)
6890 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6891 TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
6892 return set_style_property_var(This, STYLEID_MAX_WIDTH, &v);
6895 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_maxWidth(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
6897 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6898 TRACE("(%p)->(%p)\n", This, p);
6899 return get_style_property_var(This, STYLEID_MAX_WIDTH, p);
6902 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_content(IHTMLCSSStyleDeclaration *iface, BSTR v)
6904 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6905 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
6906 return E_NOTIMPL;
6909 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_content(IHTMLCSSStyleDeclaration *iface, BSTR *p)
6911 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6912 FIXME("(%p)->(%p)\n", This, p);
6913 return E_NOTIMPL;
6916 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_captionSide(IHTMLCSSStyleDeclaration *iface, BSTR v)
6918 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6919 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
6920 return E_NOTIMPL;
6923 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_captionSide(IHTMLCSSStyleDeclaration *iface, BSTR *p)
6925 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6926 FIXME("(%p)->(%p)\n", This, p);
6927 return E_NOTIMPL;
6930 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_counterIncrement(IHTMLCSSStyleDeclaration *iface, BSTR v)
6932 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6933 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
6934 return E_NOTIMPL;
6937 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_counterIncrement(IHTMLCSSStyleDeclaration *iface, BSTR *p)
6939 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6940 FIXME("(%p)->(%p)\n", This, p);
6941 return E_NOTIMPL;
6944 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_counterReset(IHTMLCSSStyleDeclaration *iface, BSTR v)
6946 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6947 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
6948 return E_NOTIMPL;
6951 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_counterReset(IHTMLCSSStyleDeclaration *iface, BSTR *p)
6953 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6954 FIXME("(%p)->(%p)\n", This, p);
6955 return E_NOTIMPL;
6958 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_outline(IHTMLCSSStyleDeclaration *iface, BSTR v)
6960 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6961 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
6962 return set_style_property(This, STYLEID_OUTLINE, v);
6965 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_outline(IHTMLCSSStyleDeclaration *iface, BSTR *p)
6967 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6968 TRACE("(%p)->(%p)\n", This, p);
6969 return get_style_property(This, STYLEID_OUTLINE, p);
6972 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_outlineWidth(IHTMLCSSStyleDeclaration *iface, VARIANT v)
6974 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6975 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
6976 return E_NOTIMPL;
6979 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_outlineWidth(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
6981 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6982 FIXME("(%p)->(%p)\n", This, p);
6983 return E_NOTIMPL;
6986 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_outlineStyle(IHTMLCSSStyleDeclaration *iface, BSTR v)
6988 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6989 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
6990 return E_NOTIMPL;
6993 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_outlineStyle(IHTMLCSSStyleDeclaration *iface, BSTR *p)
6995 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
6996 FIXME("(%p)->(%p)\n", This, p);
6997 return E_NOTIMPL;
7000 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_outlineColor(IHTMLCSSStyleDeclaration *iface, VARIANT v)
7002 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7003 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
7004 return E_NOTIMPL;
7007 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_outlineColor(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
7009 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7010 FIXME("(%p)->(%p)\n", This, p);
7011 return E_NOTIMPL;
7014 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_boxSizing(IHTMLCSSStyleDeclaration *iface, BSTR v)
7016 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7017 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
7018 return set_style_property(This, STYLEID_BOX_SIZING, v);
7021 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_boxSizing(IHTMLCSSStyleDeclaration *iface, BSTR *p)
7023 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7024 TRACE("(%p)->(%p)\n", This, p);
7025 return get_style_property(This, STYLEID_BOX_SIZING, p);
7028 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_borderSpacing(IHTMLCSSStyleDeclaration *iface, BSTR v)
7030 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7031 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
7032 return E_NOTIMPL;
7035 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_borderSpacing(IHTMLCSSStyleDeclaration *iface, BSTR *p)
7037 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7038 FIXME("(%p)->(%p)\n", This, p);
7039 return E_NOTIMPL;
7042 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_orphans(IHTMLCSSStyleDeclaration *iface, VARIANT v)
7044 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7045 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
7046 return E_NOTIMPL;
7049 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_orphans(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
7051 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7052 FIXME("(%p)->(%p)\n", This, p);
7053 return E_NOTIMPL;
7056 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_widows(IHTMLCSSStyleDeclaration *iface, VARIANT v)
7058 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7059 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
7060 return E_NOTIMPL;
7063 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_widows(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
7065 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7066 FIXME("(%p)->(%p)\n", This, p);
7067 return E_NOTIMPL;
7070 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_pageBreakInside(IHTMLCSSStyleDeclaration *iface, BSTR v)
7072 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7073 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
7074 return E_NOTIMPL;
7077 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_pageBreakInside(IHTMLCSSStyleDeclaration *iface, BSTR *p)
7079 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7080 FIXME("(%p)->(%p)\n", This, p);
7081 return E_NOTIMPL;
7084 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_emptyCells(IHTMLCSSStyleDeclaration *iface, BSTR v)
7086 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7087 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
7088 return E_NOTIMPL;
7091 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_emptyCells(IHTMLCSSStyleDeclaration *iface, BSTR *p)
7093 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7094 FIXME("(%p)->(%p)\n", This, p);
7095 return E_NOTIMPL;
7098 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_msBlockProgression(IHTMLCSSStyleDeclaration *iface, BSTR v)
7100 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7101 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
7102 return E_NOTIMPL;
7105 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_msBlockProgression(IHTMLCSSStyleDeclaration *iface, BSTR *p)
7107 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7108 FIXME("(%p)->(%p)\n", This, p);
7109 return E_NOTIMPL;
7112 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_quotes(IHTMLCSSStyleDeclaration *iface, BSTR v)
7114 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7115 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
7116 return E_NOTIMPL;
7119 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_quotes(IHTMLCSSStyleDeclaration *iface, BSTR *p)
7121 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7122 FIXME("(%p)->(%p)\n", This, p);
7123 return E_NOTIMPL;
7126 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_alignmentBaseline(IHTMLCSSStyleDeclaration *iface, BSTR v)
7128 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7129 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
7130 return E_NOTIMPL;
7133 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_alignmentBaseline(IHTMLCSSStyleDeclaration *iface, BSTR *p)
7135 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7136 FIXME("(%p)->(%p)\n", This, p);
7137 return E_NOTIMPL;
7140 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_baselineShift(IHTMLCSSStyleDeclaration *iface, VARIANT v)
7142 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7143 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
7144 return E_NOTIMPL;
7147 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_baselineShift(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
7149 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7150 FIXME("(%p)->(%p)\n", This, p);
7151 return E_NOTIMPL;
7154 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_dominantBaseline(IHTMLCSSStyleDeclaration *iface, BSTR v)
7156 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7157 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
7158 return E_NOTIMPL;
7161 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_dominantBaseline(IHTMLCSSStyleDeclaration *iface, BSTR *p)
7163 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7164 FIXME("(%p)->(%p)\n", This, p);
7165 return E_NOTIMPL;
7168 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_fontSizeAdjust(IHTMLCSSStyleDeclaration *iface, VARIANT v)
7170 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7171 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
7172 return E_NOTIMPL;
7175 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_fontSizeAdjust(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
7177 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7178 FIXME("(%p)->(%p)\n", This, p);
7179 return E_NOTIMPL;
7182 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_fontStretch(IHTMLCSSStyleDeclaration *iface, BSTR v)
7184 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7185 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
7186 return E_NOTIMPL;
7189 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_fontStretch(IHTMLCSSStyleDeclaration *iface, BSTR *p)
7191 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7192 FIXME("(%p)->(%p)\n", This, p);
7193 return E_NOTIMPL;
7196 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_opacity(IHTMLCSSStyleDeclaration *iface, VARIANT v)
7198 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7199 TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
7200 return set_style_property_var(This, STYLEID_OPACITY, &v);
7203 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_opacity(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
7205 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7206 TRACE("(%p)->(%p)\n", This, p);
7207 return get_style_property_var(This, STYLEID_OPACITY, p);
7210 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_clipPath(IHTMLCSSStyleDeclaration *iface, BSTR v)
7212 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7213 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
7214 return E_NOTIMPL;
7217 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_clipPath(IHTMLCSSStyleDeclaration *iface, BSTR *p)
7219 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7220 FIXME("(%p)->(%p)\n", This, p);
7221 return E_NOTIMPL;
7224 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_clipRule(IHTMLCSSStyleDeclaration *iface, BSTR v)
7226 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7227 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
7228 return E_NOTIMPL;
7231 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_clipRule(IHTMLCSSStyleDeclaration *iface, BSTR *p)
7233 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7234 FIXME("(%p)->(%p)\n", This, p);
7235 return E_NOTIMPL;
7238 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_fill(IHTMLCSSStyleDeclaration *iface, BSTR v)
7240 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7241 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
7242 return E_NOTIMPL;
7245 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_fill(IHTMLCSSStyleDeclaration *iface, BSTR *p)
7247 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7248 FIXME("(%p)->(%p)\n", This, p);
7249 return E_NOTIMPL;
7252 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_fillOpacity(IHTMLCSSStyleDeclaration *iface, VARIANT v)
7254 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7255 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
7256 return E_NOTIMPL;
7259 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_fillOpacity(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
7261 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7262 FIXME("(%p)->(%p)\n", This, p);
7263 return E_NOTIMPL;
7266 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_fillRule(IHTMLCSSStyleDeclaration *iface, BSTR v)
7268 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7269 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
7270 return E_NOTIMPL;
7273 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_fillRule(IHTMLCSSStyleDeclaration *iface, BSTR *p)
7275 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7276 FIXME("(%p)->(%p)\n", This, p);
7277 return E_NOTIMPL;
7280 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_kerning(IHTMLCSSStyleDeclaration *iface, VARIANT v)
7282 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7283 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
7284 return E_NOTIMPL;
7287 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_kerning(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
7289 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7290 FIXME("(%p)->(%p)\n", This, p);
7291 return E_NOTIMPL;
7294 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_marker(IHTMLCSSStyleDeclaration *iface, BSTR v)
7296 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7297 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
7298 return E_NOTIMPL;
7301 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_marker(IHTMLCSSStyleDeclaration *iface, BSTR *p)
7303 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7304 FIXME("(%p)->(%p)\n", This, p);
7305 return E_NOTIMPL;
7308 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_markerEnd(IHTMLCSSStyleDeclaration *iface, BSTR v)
7310 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7311 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
7312 return E_NOTIMPL;
7315 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_markerEnd(IHTMLCSSStyleDeclaration *iface, BSTR *p)
7317 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7318 FIXME("(%p)->(%p)\n", This, p);
7319 return E_NOTIMPL;
7322 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_markerMid(IHTMLCSSStyleDeclaration *iface, BSTR v)
7324 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7325 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
7326 return E_NOTIMPL;
7329 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_markerMid(IHTMLCSSStyleDeclaration *iface, BSTR *p)
7331 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7332 FIXME("(%p)->(%p)\n", This, p);
7333 return E_NOTIMPL;
7336 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_markerStart(IHTMLCSSStyleDeclaration *iface, BSTR v)
7338 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7339 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
7340 return E_NOTIMPL;
7343 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_markerStart(IHTMLCSSStyleDeclaration *iface, BSTR *p)
7345 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7346 FIXME("(%p)->(%p)\n", This, p);
7347 return E_NOTIMPL;
7350 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_mask(IHTMLCSSStyleDeclaration *iface, BSTR v)
7352 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7353 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
7354 return E_NOTIMPL;
7357 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_mask(IHTMLCSSStyleDeclaration *iface, BSTR *p)
7359 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7360 FIXME("(%p)->(%p)\n", This, p);
7361 return E_NOTIMPL;
7364 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_pointerEvents(IHTMLCSSStyleDeclaration *iface, BSTR v)
7366 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7367 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
7368 return E_NOTIMPL;
7371 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_pointerEvents(IHTMLCSSStyleDeclaration *iface, BSTR *p)
7373 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7374 FIXME("(%p)->(%p)\n", This, p);
7375 return E_NOTIMPL;
7378 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_stopColor(IHTMLCSSStyleDeclaration *iface, VARIANT v)
7380 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7381 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
7382 return E_NOTIMPL;
7385 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_stopColor(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
7387 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7388 FIXME("(%p)->(%p)\n", This, p);
7389 return E_NOTIMPL;
7392 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_stopOpacity(IHTMLCSSStyleDeclaration *iface, VARIANT v)
7394 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7395 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
7396 return E_NOTIMPL;
7399 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_stopOpacity(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
7401 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7402 FIXME("(%p)->(%p)\n", This, p);
7403 return E_NOTIMPL;
7406 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_stroke(IHTMLCSSStyleDeclaration *iface, BSTR v)
7408 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7409 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
7410 return E_NOTIMPL;
7413 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_stroke(IHTMLCSSStyleDeclaration *iface, BSTR *p)
7415 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7416 FIXME("(%p)->(%p)\n", This, p);
7417 return E_NOTIMPL;
7420 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_strokeDasharray(IHTMLCSSStyleDeclaration *iface, BSTR v)
7422 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7423 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
7424 return E_NOTIMPL;
7427 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_strokeDasharray(IHTMLCSSStyleDeclaration *iface, BSTR *p)
7429 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7430 FIXME("(%p)->(%p)\n", This, p);
7431 return E_NOTIMPL;
7434 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_strokeDashoffset(IHTMLCSSStyleDeclaration *iface, VARIANT v)
7436 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7437 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
7438 return E_NOTIMPL;
7441 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_strokeDashoffset(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
7443 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7444 FIXME("(%p)->(%p)\n", This, p);
7445 return E_NOTIMPL;
7448 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_strokeLinecap(IHTMLCSSStyleDeclaration *iface, BSTR v)
7450 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7451 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
7452 return E_NOTIMPL;
7455 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_strokeLinecap(IHTMLCSSStyleDeclaration *iface, BSTR *p)
7457 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7458 FIXME("(%p)->(%p)\n", This, p);
7459 return E_NOTIMPL;
7462 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_strokeLinejoin(IHTMLCSSStyleDeclaration *iface, BSTR v)
7464 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7465 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
7466 return E_NOTIMPL;
7469 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_strokeLinejoin(IHTMLCSSStyleDeclaration *iface, BSTR *p)
7471 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7472 FIXME("(%p)->(%p)\n", This, p);
7473 return E_NOTIMPL;
7476 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_strokeMiterlimit(IHTMLCSSStyleDeclaration *iface, VARIANT v)
7478 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7479 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
7480 return E_NOTIMPL;
7483 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_strokeMiterlimit(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
7485 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7486 FIXME("(%p)->(%p)\n", This, p);
7487 return E_NOTIMPL;
7490 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_strokeOpacity(IHTMLCSSStyleDeclaration *iface, VARIANT v)
7492 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7493 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
7494 return E_NOTIMPL;
7497 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_strokeOpacity(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
7499 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7500 FIXME("(%p)->(%p)\n", This, p);
7501 return E_NOTIMPL;
7504 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_strokeWidth(IHTMLCSSStyleDeclaration *iface, VARIANT v)
7506 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7507 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
7508 return E_NOTIMPL;
7511 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_strokeWidth(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
7513 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7514 FIXME("(%p)->(%p)\n", This, p);
7515 return E_NOTIMPL;
7518 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_textAnchor(IHTMLCSSStyleDeclaration *iface, BSTR v)
7520 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7521 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
7522 return E_NOTIMPL;
7525 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_textAnchor(IHTMLCSSStyleDeclaration *iface, BSTR *p)
7527 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7528 FIXME("(%p)->(%p)\n", This, p);
7529 return E_NOTIMPL;
7532 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_glyphOrientationHorizontal(IHTMLCSSStyleDeclaration *iface, VARIANT v)
7534 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7535 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
7536 return E_NOTIMPL;
7539 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_glyphOrientationHorizontal(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
7541 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7542 FIXME("(%p)->(%p)\n", This, p);
7543 return E_NOTIMPL;
7546 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_glyphOrientationVertical(IHTMLCSSStyleDeclaration *iface, VARIANT v)
7548 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7549 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
7550 return E_NOTIMPL;
7553 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_glyphOrientationVertical(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
7555 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7556 FIXME("(%p)->(%p)\n", This, p);
7557 return E_NOTIMPL;
7560 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_borderRadius(IHTMLCSSStyleDeclaration *iface, BSTR v)
7562 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7563 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
7564 return E_NOTIMPL;
7567 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_borderRadius(IHTMLCSSStyleDeclaration *iface, BSTR *p)
7569 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7570 FIXME("(%p)->(%p)\n", This, p);
7571 return E_NOTIMPL;
7574 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_borderTopLeftRadius(IHTMLCSSStyleDeclaration *iface, BSTR v)
7576 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7577 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
7578 return E_NOTIMPL;
7581 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_borderTopLeftRadius(IHTMLCSSStyleDeclaration *iface, BSTR *p)
7583 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7584 FIXME("(%p)->(%p)\n", This, p);
7585 return E_NOTIMPL;
7588 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_borderTopRightRadius(IHTMLCSSStyleDeclaration *iface, BSTR v)
7590 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7591 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
7592 return E_NOTIMPL;
7595 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_borderTopRightRadius(IHTMLCSSStyleDeclaration *iface, BSTR *p)
7597 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7598 FIXME("(%p)->(%p)\n", This, p);
7599 return E_NOTIMPL;
7602 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_borderBottomRightRadius(IHTMLCSSStyleDeclaration *iface, BSTR v)
7604 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7605 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
7606 return E_NOTIMPL;
7609 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_borderBottomRightRadius(IHTMLCSSStyleDeclaration *iface, BSTR *p)
7611 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7612 FIXME("(%p)->(%p)\n", This, p);
7613 return E_NOTIMPL;
7616 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_borderBottomLeftRadius(IHTMLCSSStyleDeclaration *iface, BSTR v)
7618 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7619 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
7620 return E_NOTIMPL;
7623 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_borderBottomLeftRadius(IHTMLCSSStyleDeclaration *iface, BSTR *p)
7625 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7626 FIXME("(%p)->(%p)\n", This, p);
7627 return E_NOTIMPL;
7630 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_clipTop(IHTMLCSSStyleDeclaration *iface, VARIANT v)
7632 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7633 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
7634 return E_NOTIMPL;
7637 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_clipTop(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
7639 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7640 FIXME("(%p)->(%p)\n", This, p);
7641 return E_NOTIMPL;
7644 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_clipRight(IHTMLCSSStyleDeclaration *iface, VARIANT v)
7646 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7647 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
7648 return E_NOTIMPL;
7651 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_clipRight(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
7653 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7654 FIXME("(%p)->(%p)\n", This, p);
7655 return E_NOTIMPL;
7658 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_clipBottom(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
7660 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7661 FIXME("(%p)->(%p)\n", This, p);
7662 return E_NOTIMPL;
7665 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_clipLeft(IHTMLCSSStyleDeclaration *iface, VARIANT v)
7667 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7668 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
7669 return E_NOTIMPL;
7672 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_clipLeft(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
7674 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7675 FIXME("(%p)->(%p)\n", This, p);
7676 return E_NOTIMPL;
7679 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_cssFloat(IHTMLCSSStyleDeclaration *iface, BSTR v)
7681 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7682 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
7683 return set_style_property(This, STYLEID_FLOAT, v);
7686 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_cssFloat(IHTMLCSSStyleDeclaration *iface, BSTR *p)
7688 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7689 TRACE("(%p)->(%p)\n", This, p);
7690 return get_style_property(This, STYLEID_FLOAT, p);
7693 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_backgroundClip(IHTMLCSSStyleDeclaration *iface, BSTR v)
7695 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7696 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
7697 return set_style_property(This, STYLEID_BACKGROUND_CLIP, v);
7700 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_backgroundClip(IHTMLCSSStyleDeclaration *iface, BSTR *p)
7702 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7703 TRACE("(%p)->(%p)\n", This, p);
7704 return get_style_property(This, STYLEID_BACKGROUND_CLIP, p);
7707 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_backgroundOrigin(IHTMLCSSStyleDeclaration *iface, BSTR v)
7709 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7710 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
7711 return E_NOTIMPL;
7714 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_backgroundOrigin(IHTMLCSSStyleDeclaration *iface, BSTR *p)
7716 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7717 FIXME("(%p)->(%p)\n", This, p);
7718 return E_NOTIMPL;
7721 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_backgroundSize(IHTMLCSSStyleDeclaration *iface, BSTR v)
7723 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7724 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
7725 return E_NOTIMPL;
7728 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_backgroundSize(IHTMLCSSStyleDeclaration *iface, BSTR *p)
7730 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7731 FIXME("(%p)->(%p)\n", This, p);
7732 return E_NOTIMPL;
7735 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_boxShadow(IHTMLCSSStyleDeclaration *iface, BSTR v)
7737 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7738 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
7739 return E_NOTIMPL;
7742 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_boxShadow(IHTMLCSSStyleDeclaration *iface, BSTR *p)
7744 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7745 FIXME("(%p)->(%p)\n", This, p);
7746 return E_NOTIMPL;
7749 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_msTransform(IHTMLCSSStyleDeclaration *iface, BSTR v)
7751 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7752 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
7753 return E_NOTIMPL;
7756 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_msTransform(IHTMLCSSStyleDeclaration *iface, BSTR *p)
7758 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7759 FIXME("(%p)->(%p)\n", This, p);
7760 return E_NOTIMPL;
7763 static HRESULT WINAPI HTMLCSSStyleDeclaration_put_msTransformOrigin(IHTMLCSSStyleDeclaration *iface, BSTR v)
7765 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7766 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
7767 return E_NOTIMPL;
7770 static HRESULT WINAPI HTMLCSSStyleDeclaration_get_msTransformOrigin(IHTMLCSSStyleDeclaration *iface, BSTR *p)
7772 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
7773 FIXME("(%p)->(%p)\n", This, p);
7774 return E_NOTIMPL;
7777 static const IHTMLCSSStyleDeclarationVtbl HTMLCSSStyleDeclarationVtbl = {
7778 HTMLCSSStyleDeclaration_QueryInterface,
7779 HTMLCSSStyleDeclaration_AddRef,
7780 HTMLCSSStyleDeclaration_Release,
7781 HTMLCSSStyleDeclaration_GetTypeInfoCount,
7782 HTMLCSSStyleDeclaration_GetTypeInfo,
7783 HTMLCSSStyleDeclaration_GetIDsOfNames,
7784 HTMLCSSStyleDeclaration_Invoke,
7785 HTMLCSSStyleDeclaration_get_length,
7786 HTMLCSSStyleDeclaration_get_parentRule,
7787 HTMLCSSStyleDeclaration_getPropertyValue,
7788 HTMLCSSStyleDeclaration_getPropertyPriority,
7789 HTMLCSSStyleDeclaration_removeProperty,
7790 HTMLCSSStyleDeclaration_setProperty,
7791 HTMLCSSStyleDeclaration_item,
7792 HTMLCSSStyleDeclaration_put_fontFamily,
7793 HTMLCSSStyleDeclaration_get_fontFamily,
7794 HTMLCSSStyleDeclaration_put_fontStyle,
7795 HTMLCSSStyleDeclaration_get_fontStyle,
7796 HTMLCSSStyleDeclaration_put_fontVariant,
7797 HTMLCSSStyleDeclaration_get_fontVariant,
7798 HTMLCSSStyleDeclaration_put_fontWeight,
7799 HTMLCSSStyleDeclaration_get_fontWeight,
7800 HTMLCSSStyleDeclaration_put_fontSize,
7801 HTMLCSSStyleDeclaration_get_fontSize,
7802 HTMLCSSStyleDeclaration_put_font,
7803 HTMLCSSStyleDeclaration_get_font,
7804 HTMLCSSStyleDeclaration_put_color,
7805 HTMLCSSStyleDeclaration_get_color,
7806 HTMLCSSStyleDeclaration_put_background,
7807 HTMLCSSStyleDeclaration_get_background,
7808 HTMLCSSStyleDeclaration_put_backgroundColor,
7809 HTMLCSSStyleDeclaration_get_backgroundColor,
7810 HTMLCSSStyleDeclaration_put_backgroundImage,
7811 HTMLCSSStyleDeclaration_get_backgroundImage,
7812 HTMLCSSStyleDeclaration_put_backgroundRepeat,
7813 HTMLCSSStyleDeclaration_get_backgroundRepeat,
7814 HTMLCSSStyleDeclaration_put_backgroundAttachment,
7815 HTMLCSSStyleDeclaration_get_backgroundAttachment,
7816 HTMLCSSStyleDeclaration_put_backgroundPosition,
7817 HTMLCSSStyleDeclaration_get_backgroundPosition,
7818 HTMLCSSStyleDeclaration_put_backgroundPositionX,
7819 HTMLCSSStyleDeclaration_get_backgroundPositionX,
7820 HTMLCSSStyleDeclaration_put_backgroundPositionY,
7821 HTMLCSSStyleDeclaration_get_backgroundPositionY,
7822 HTMLCSSStyleDeclaration_put_wordSpacing,
7823 HTMLCSSStyleDeclaration_get_wordSpacing,
7824 HTMLCSSStyleDeclaration_put_letterSpacing,
7825 HTMLCSSStyleDeclaration_get_letterSpacing,
7826 HTMLCSSStyleDeclaration_put_textDecoration,
7827 HTMLCSSStyleDeclaration_get_textDecoration,
7828 HTMLCSSStyleDeclaration_put_verticalAlign,
7829 HTMLCSSStyleDeclaration_get_verticalAlign,
7830 HTMLCSSStyleDeclaration_put_textTransform,
7831 HTMLCSSStyleDeclaration_get_textTransform,
7832 HTMLCSSStyleDeclaration_put_textAlign,
7833 HTMLCSSStyleDeclaration_get_textAlign,
7834 HTMLCSSStyleDeclaration_put_textIndent,
7835 HTMLCSSStyleDeclaration_get_textIndent,
7836 HTMLCSSStyleDeclaration_put_lineHeight,
7837 HTMLCSSStyleDeclaration_get_lineHeight,
7838 HTMLCSSStyleDeclaration_put_marginTop,
7839 HTMLCSSStyleDeclaration_get_marginTop,
7840 HTMLCSSStyleDeclaration_put_marginRight,
7841 HTMLCSSStyleDeclaration_get_marginRight,
7842 HTMLCSSStyleDeclaration_put_marginBottom,
7843 HTMLCSSStyleDeclaration_get_marginBottom,
7844 HTMLCSSStyleDeclaration_put_marginLeft,
7845 HTMLCSSStyleDeclaration_get_marginLeft,
7846 HTMLCSSStyleDeclaration_put_margin,
7847 HTMLCSSStyleDeclaration_get_margin,
7848 HTMLCSSStyleDeclaration_put_paddingTop,
7849 HTMLCSSStyleDeclaration_get_paddingTop,
7850 HTMLCSSStyleDeclaration_put_paddingRight,
7851 HTMLCSSStyleDeclaration_get_paddingRight,
7852 HTMLCSSStyleDeclaration_put_paddingBottom,
7853 HTMLCSSStyleDeclaration_get_paddingBottom,
7854 HTMLCSSStyleDeclaration_put_paddingLeft,
7855 HTMLCSSStyleDeclaration_get_paddingLeft,
7856 HTMLCSSStyleDeclaration_put_padding,
7857 HTMLCSSStyleDeclaration_get_padding,
7858 HTMLCSSStyleDeclaration_put_border,
7859 HTMLCSSStyleDeclaration_get_border,
7860 HTMLCSSStyleDeclaration_put_borderTop,
7861 HTMLCSSStyleDeclaration_get_borderTop,
7862 HTMLCSSStyleDeclaration_put_borderRight,
7863 HTMLCSSStyleDeclaration_get_borderRight,
7864 HTMLCSSStyleDeclaration_put_borderBottom,
7865 HTMLCSSStyleDeclaration_get_borderBottom,
7866 HTMLCSSStyleDeclaration_put_borderLeft,
7867 HTMLCSSStyleDeclaration_get_borderLeft,
7868 HTMLCSSStyleDeclaration_put_borderColor,
7869 HTMLCSSStyleDeclaration_get_borderColor,
7870 HTMLCSSStyleDeclaration_put_borderTopColor,
7871 HTMLCSSStyleDeclaration_get_borderTopColor,
7872 HTMLCSSStyleDeclaration_put_borderRightColor,
7873 HTMLCSSStyleDeclaration_get_borderRightColor,
7874 HTMLCSSStyleDeclaration_put_borderBottomColor,
7875 HTMLCSSStyleDeclaration_get_borderBottomColor,
7876 HTMLCSSStyleDeclaration_put_borderLeftColor,
7877 HTMLCSSStyleDeclaration_get_borderLeftColor,
7878 HTMLCSSStyleDeclaration_put_borderWidth,
7879 HTMLCSSStyleDeclaration_get_borderWidth,
7880 HTMLCSSStyleDeclaration_put_borderTopWidth,
7881 HTMLCSSStyleDeclaration_get_borderTopWidth,
7882 HTMLCSSStyleDeclaration_put_borderRightWidth,
7883 HTMLCSSStyleDeclaration_get_borderRightWidth,
7884 HTMLCSSStyleDeclaration_put_borderBottomWidth,
7885 HTMLCSSStyleDeclaration_get_borderBottomWidth,
7886 HTMLCSSStyleDeclaration_put_borderLeftWidth,
7887 HTMLCSSStyleDeclaration_get_borderLeftWidth,
7888 HTMLCSSStyleDeclaration_put_borderStyle,
7889 HTMLCSSStyleDeclaration_get_borderStyle,
7890 HTMLCSSStyleDeclaration_put_borderTopStyle,
7891 HTMLCSSStyleDeclaration_get_borderTopStyle,
7892 HTMLCSSStyleDeclaration_put_borderRightStyle,
7893 HTMLCSSStyleDeclaration_get_borderRightStyle,
7894 HTMLCSSStyleDeclaration_put_borderBottomStyle,
7895 HTMLCSSStyleDeclaration_get_borderBottomStyle,
7896 HTMLCSSStyleDeclaration_put_borderLeftStyle,
7897 HTMLCSSStyleDeclaration_get_borderLeftStyle,
7898 HTMLCSSStyleDeclaration_put_width,
7899 HTMLCSSStyleDeclaration_get_width,
7900 HTMLCSSStyleDeclaration_put_height,
7901 HTMLCSSStyleDeclaration_get_height,
7902 HTMLCSSStyleDeclaration_put_styleFloat,
7903 HTMLCSSStyleDeclaration_get_styleFloat,
7904 HTMLCSSStyleDeclaration_put_clear,
7905 HTMLCSSStyleDeclaration_get_clear,
7906 HTMLCSSStyleDeclaration_put_display,
7907 HTMLCSSStyleDeclaration_get_display,
7908 HTMLCSSStyleDeclaration_put_visibility,
7909 HTMLCSSStyleDeclaration_get_visibility,
7910 HTMLCSSStyleDeclaration_put_listStyleType,
7911 HTMLCSSStyleDeclaration_get_listStyleType,
7912 HTMLCSSStyleDeclaration_put_listStylePosition,
7913 HTMLCSSStyleDeclaration_get_listStylePosition,
7914 HTMLCSSStyleDeclaration_put_listStyleImage,
7915 HTMLCSSStyleDeclaration_get_listStyleImage,
7916 HTMLCSSStyleDeclaration_put_listStyle,
7917 HTMLCSSStyleDeclaration_get_listStyle,
7918 HTMLCSSStyleDeclaration_put_whiteSpace,
7919 HTMLCSSStyleDeclaration_get_whiteSpace,
7920 HTMLCSSStyleDeclaration_put_top,
7921 HTMLCSSStyleDeclaration_get_top,
7922 HTMLCSSStyleDeclaration_put_left,
7923 HTMLCSSStyleDeclaration_get_left,
7924 HTMLCSSStyleDeclaration_put_zIndex,
7925 HTMLCSSStyleDeclaration_get_zIndex,
7926 HTMLCSSStyleDeclaration_put_overflow,
7927 HTMLCSSStyleDeclaration_get_overflow,
7928 HTMLCSSStyleDeclaration_put_pageBreakBefore,
7929 HTMLCSSStyleDeclaration_get_pageBreakBefore,
7930 HTMLCSSStyleDeclaration_put_pageBreakAfter,
7931 HTMLCSSStyleDeclaration_get_pageBreakAfter,
7932 HTMLCSSStyleDeclaration_put_cssText,
7933 HTMLCSSStyleDeclaration_get_cssText,
7934 HTMLCSSStyleDeclaration_put_cursor,
7935 HTMLCSSStyleDeclaration_get_cursor,
7936 HTMLCSSStyleDeclaration_put_clip,
7937 HTMLCSSStyleDeclaration_get_clip,
7938 HTMLCSSStyleDeclaration_put_filter,
7939 HTMLCSSStyleDeclaration_get_filter,
7940 HTMLCSSStyleDeclaration_put_tableLayout,
7941 HTMLCSSStyleDeclaration_get_tableLayout,
7942 HTMLCSSStyleDeclaration_put_borderCollapse,
7943 HTMLCSSStyleDeclaration_get_borderCollapse,
7944 HTMLCSSStyleDeclaration_put_direction,
7945 HTMLCSSStyleDeclaration_get_direction,
7946 HTMLCSSStyleDeclaration_put_behavior,
7947 HTMLCSSStyleDeclaration_get_behavior,
7948 HTMLCSSStyleDeclaration_put_position,
7949 HTMLCSSStyleDeclaration_get_position,
7950 HTMLCSSStyleDeclaration_put_unicodeBidi,
7951 HTMLCSSStyleDeclaration_get_unicodeBidi,
7952 HTMLCSSStyleDeclaration_put_bottom,
7953 HTMLCSSStyleDeclaration_get_bottom,
7954 HTMLCSSStyleDeclaration_put_right,
7955 HTMLCSSStyleDeclaration_get_right,
7956 HTMLCSSStyleDeclaration_put_imeMode,
7957 HTMLCSSStyleDeclaration_get_imeMode,
7958 HTMLCSSStyleDeclaration_put_rubyAlign,
7959 HTMLCSSStyleDeclaration_get_rubyAlign,
7960 HTMLCSSStyleDeclaration_put_rubyPosition,
7961 HTMLCSSStyleDeclaration_get_rubyPosition,
7962 HTMLCSSStyleDeclaration_put_rubyOverhang,
7963 HTMLCSSStyleDeclaration_get_rubyOverhang,
7964 HTMLCSSStyleDeclaration_put_layoutGridChar,
7965 HTMLCSSStyleDeclaration_get_layoutGridChar,
7966 HTMLCSSStyleDeclaration_put_layoutGridLine,
7967 HTMLCSSStyleDeclaration_get_layoutGridLine,
7968 HTMLCSSStyleDeclaration_put_layoutGridMode,
7969 HTMLCSSStyleDeclaration_get_layoutGridMode,
7970 HTMLCSSStyleDeclaration_put_layoutGridType,
7971 HTMLCSSStyleDeclaration_get_layoutGridType,
7972 HTMLCSSStyleDeclaration_put_layoutGrid,
7973 HTMLCSSStyleDeclaration_get_layoutGrid,
7974 HTMLCSSStyleDeclaration_put_textAutospace,
7975 HTMLCSSStyleDeclaration_get_textAutospace,
7976 HTMLCSSStyleDeclaration_put_wordBreak,
7977 HTMLCSSStyleDeclaration_get_wordBreak,
7978 HTMLCSSStyleDeclaration_put_lineBreak,
7979 HTMLCSSStyleDeclaration_get_lineBreak,
7980 HTMLCSSStyleDeclaration_put_textJustify,
7981 HTMLCSSStyleDeclaration_get_textJustify,
7982 HTMLCSSStyleDeclaration_put_textJustifyTrim,
7983 HTMLCSSStyleDeclaration_get_textJustifyTrim,
7984 HTMLCSSStyleDeclaration_put_textKashida,
7985 HTMLCSSStyleDeclaration_get_textKashida,
7986 HTMLCSSStyleDeclaration_put_overflowX,
7987 HTMLCSSStyleDeclaration_get_overflowX,
7988 HTMLCSSStyleDeclaration_put_overflowY,
7989 HTMLCSSStyleDeclaration_get_overflowY,
7990 HTMLCSSStyleDeclaration_put_accelerator,
7991 HTMLCSSStyleDeclaration_get_accelerator,
7992 HTMLCSSStyleDeclaration_put_layoutFlow,
7993 HTMLCSSStyleDeclaration_get_layoutFlow,
7994 HTMLCSSStyleDeclaration_put_zoom,
7995 HTMLCSSStyleDeclaration_get_zoom,
7996 HTMLCSSStyleDeclaration_put_wordWrap,
7997 HTMLCSSStyleDeclaration_get_wordWrap,
7998 HTMLCSSStyleDeclaration_put_textUnderlinePosition,
7999 HTMLCSSStyleDeclaration_get_textUnderlinePosition,
8000 HTMLCSSStyleDeclaration_put_scrollbarBaseColor,
8001 HTMLCSSStyleDeclaration_get_scrollbarBaseColor,
8002 HTMLCSSStyleDeclaration_put_scrollbarFaceColor,
8003 HTMLCSSStyleDeclaration_get_scrollbarFaceColor,
8004 HTMLCSSStyleDeclaration_put_scrollbar3dLightColor,
8005 HTMLCSSStyleDeclaration_get_scrollbar3dLightColor,
8006 HTMLCSSStyleDeclaration_put_scrollbarShadowColor,
8007 HTMLCSSStyleDeclaration_get_scrollbarShadowColor,
8008 HTMLCSSStyleDeclaration_put_scrollbarHighlightColor,
8009 HTMLCSSStyleDeclaration_get_scrollbarHighlightColor,
8010 HTMLCSSStyleDeclaration_put_scrollbarDarkShadowColor,
8011 HTMLCSSStyleDeclaration_get_scrollbarDarkShadowColor,
8012 HTMLCSSStyleDeclaration_put_scrollbarArrowColor,
8013 HTMLCSSStyleDeclaration_get_scrollbarArrowColor,
8014 HTMLCSSStyleDeclaration_put_scrollbarTrackColor,
8015 HTMLCSSStyleDeclaration_get_scrollbarTrackColor,
8016 HTMLCSSStyleDeclaration_put_writingMode,
8017 HTMLCSSStyleDeclaration_get_writingMode,
8018 HTMLCSSStyleDeclaration_put_textAlignLast,
8019 HTMLCSSStyleDeclaration_get_textAlignLast,
8020 HTMLCSSStyleDeclaration_put_textKashidaSpace,
8021 HTMLCSSStyleDeclaration_get_textKashidaSpace,
8022 HTMLCSSStyleDeclaration_put_textOverflow,
8023 HTMLCSSStyleDeclaration_get_textOverflow,
8024 HTMLCSSStyleDeclaration_put_minHeight,
8025 HTMLCSSStyleDeclaration_get_minHeight,
8026 HTMLCSSStyleDeclaration_put_msInterpolationMode,
8027 HTMLCSSStyleDeclaration_get_msInterpolationMode,
8028 HTMLCSSStyleDeclaration_put_maxHeight,
8029 HTMLCSSStyleDeclaration_get_maxHeight,
8030 HTMLCSSStyleDeclaration_put_minWidth,
8031 HTMLCSSStyleDeclaration_get_minWidth,
8032 HTMLCSSStyleDeclaration_put_maxWidth,
8033 HTMLCSSStyleDeclaration_get_maxWidth,
8034 HTMLCSSStyleDeclaration_put_content,
8035 HTMLCSSStyleDeclaration_get_content,
8036 HTMLCSSStyleDeclaration_put_captionSide,
8037 HTMLCSSStyleDeclaration_get_captionSide,
8038 HTMLCSSStyleDeclaration_put_counterIncrement,
8039 HTMLCSSStyleDeclaration_get_counterIncrement,
8040 HTMLCSSStyleDeclaration_put_counterReset,
8041 HTMLCSSStyleDeclaration_get_counterReset,
8042 HTMLCSSStyleDeclaration_put_outline,
8043 HTMLCSSStyleDeclaration_get_outline,
8044 HTMLCSSStyleDeclaration_put_outlineWidth,
8045 HTMLCSSStyleDeclaration_get_outlineWidth,
8046 HTMLCSSStyleDeclaration_put_outlineStyle,
8047 HTMLCSSStyleDeclaration_get_outlineStyle,
8048 HTMLCSSStyleDeclaration_put_outlineColor,
8049 HTMLCSSStyleDeclaration_get_outlineColor,
8050 HTMLCSSStyleDeclaration_put_boxSizing,
8051 HTMLCSSStyleDeclaration_get_boxSizing,
8052 HTMLCSSStyleDeclaration_put_borderSpacing,
8053 HTMLCSSStyleDeclaration_get_borderSpacing,
8054 HTMLCSSStyleDeclaration_put_orphans,
8055 HTMLCSSStyleDeclaration_get_orphans,
8056 HTMLCSSStyleDeclaration_put_widows,
8057 HTMLCSSStyleDeclaration_get_widows,
8058 HTMLCSSStyleDeclaration_put_pageBreakInside,
8059 HTMLCSSStyleDeclaration_get_pageBreakInside,
8060 HTMLCSSStyleDeclaration_put_emptyCells,
8061 HTMLCSSStyleDeclaration_get_emptyCells,
8062 HTMLCSSStyleDeclaration_put_msBlockProgression,
8063 HTMLCSSStyleDeclaration_get_msBlockProgression,
8064 HTMLCSSStyleDeclaration_put_quotes,
8065 HTMLCSSStyleDeclaration_get_quotes,
8066 HTMLCSSStyleDeclaration_put_alignmentBaseline,
8067 HTMLCSSStyleDeclaration_get_alignmentBaseline,
8068 HTMLCSSStyleDeclaration_put_baselineShift,
8069 HTMLCSSStyleDeclaration_get_baselineShift,
8070 HTMLCSSStyleDeclaration_put_dominantBaseline,
8071 HTMLCSSStyleDeclaration_get_dominantBaseline,
8072 HTMLCSSStyleDeclaration_put_fontSizeAdjust,
8073 HTMLCSSStyleDeclaration_get_fontSizeAdjust,
8074 HTMLCSSStyleDeclaration_put_fontStretch,
8075 HTMLCSSStyleDeclaration_get_fontStretch,
8076 HTMLCSSStyleDeclaration_put_opacity,
8077 HTMLCSSStyleDeclaration_get_opacity,
8078 HTMLCSSStyleDeclaration_put_clipPath,
8079 HTMLCSSStyleDeclaration_get_clipPath,
8080 HTMLCSSStyleDeclaration_put_clipRule,
8081 HTMLCSSStyleDeclaration_get_clipRule,
8082 HTMLCSSStyleDeclaration_put_fill,
8083 HTMLCSSStyleDeclaration_get_fill,
8084 HTMLCSSStyleDeclaration_put_fillOpacity,
8085 HTMLCSSStyleDeclaration_get_fillOpacity,
8086 HTMLCSSStyleDeclaration_put_fillRule,
8087 HTMLCSSStyleDeclaration_get_fillRule,
8088 HTMLCSSStyleDeclaration_put_kerning,
8089 HTMLCSSStyleDeclaration_get_kerning,
8090 HTMLCSSStyleDeclaration_put_marker,
8091 HTMLCSSStyleDeclaration_get_marker,
8092 HTMLCSSStyleDeclaration_put_markerEnd,
8093 HTMLCSSStyleDeclaration_get_markerEnd,
8094 HTMLCSSStyleDeclaration_put_markerMid,
8095 HTMLCSSStyleDeclaration_get_markerMid,
8096 HTMLCSSStyleDeclaration_put_markerStart,
8097 HTMLCSSStyleDeclaration_get_markerStart,
8098 HTMLCSSStyleDeclaration_put_mask,
8099 HTMLCSSStyleDeclaration_get_mask,
8100 HTMLCSSStyleDeclaration_put_pointerEvents,
8101 HTMLCSSStyleDeclaration_get_pointerEvents,
8102 HTMLCSSStyleDeclaration_put_stopColor,
8103 HTMLCSSStyleDeclaration_get_stopColor,
8104 HTMLCSSStyleDeclaration_put_stopOpacity,
8105 HTMLCSSStyleDeclaration_get_stopOpacity,
8106 HTMLCSSStyleDeclaration_put_stroke,
8107 HTMLCSSStyleDeclaration_get_stroke,
8108 HTMLCSSStyleDeclaration_put_strokeDasharray,
8109 HTMLCSSStyleDeclaration_get_strokeDasharray,
8110 HTMLCSSStyleDeclaration_put_strokeDashoffset,
8111 HTMLCSSStyleDeclaration_get_strokeDashoffset,
8112 HTMLCSSStyleDeclaration_put_strokeLinecap,
8113 HTMLCSSStyleDeclaration_get_strokeLinecap,
8114 HTMLCSSStyleDeclaration_put_strokeLinejoin,
8115 HTMLCSSStyleDeclaration_get_strokeLinejoin,
8116 HTMLCSSStyleDeclaration_put_strokeMiterlimit,
8117 HTMLCSSStyleDeclaration_get_strokeMiterlimit,
8118 HTMLCSSStyleDeclaration_put_strokeOpacity,
8119 HTMLCSSStyleDeclaration_get_strokeOpacity,
8120 HTMLCSSStyleDeclaration_put_strokeWidth,
8121 HTMLCSSStyleDeclaration_get_strokeWidth,
8122 HTMLCSSStyleDeclaration_put_textAnchor,
8123 HTMLCSSStyleDeclaration_get_textAnchor,
8124 HTMLCSSStyleDeclaration_put_glyphOrientationHorizontal,
8125 HTMLCSSStyleDeclaration_get_glyphOrientationHorizontal,
8126 HTMLCSSStyleDeclaration_put_glyphOrientationVertical,
8127 HTMLCSSStyleDeclaration_get_glyphOrientationVertical,
8128 HTMLCSSStyleDeclaration_put_borderRadius,
8129 HTMLCSSStyleDeclaration_get_borderRadius,
8130 HTMLCSSStyleDeclaration_put_borderTopLeftRadius,
8131 HTMLCSSStyleDeclaration_get_borderTopLeftRadius,
8132 HTMLCSSStyleDeclaration_put_borderTopRightRadius,
8133 HTMLCSSStyleDeclaration_get_borderTopRightRadius,
8134 HTMLCSSStyleDeclaration_put_borderBottomRightRadius,
8135 HTMLCSSStyleDeclaration_get_borderBottomRightRadius,
8136 HTMLCSSStyleDeclaration_put_borderBottomLeftRadius,
8137 HTMLCSSStyleDeclaration_get_borderBottomLeftRadius,
8138 HTMLCSSStyleDeclaration_put_clipTop,
8139 HTMLCSSStyleDeclaration_get_clipTop,
8140 HTMLCSSStyleDeclaration_put_clipRight,
8141 HTMLCSSStyleDeclaration_get_clipRight,
8142 HTMLCSSStyleDeclaration_get_clipBottom,
8143 HTMLCSSStyleDeclaration_put_clipLeft,
8144 HTMLCSSStyleDeclaration_get_clipLeft,
8145 HTMLCSSStyleDeclaration_put_cssFloat,
8146 HTMLCSSStyleDeclaration_get_cssFloat,
8147 HTMLCSSStyleDeclaration_put_backgroundClip,
8148 HTMLCSSStyleDeclaration_get_backgroundClip,
8149 HTMLCSSStyleDeclaration_put_backgroundOrigin,
8150 HTMLCSSStyleDeclaration_get_backgroundOrigin,
8151 HTMLCSSStyleDeclaration_put_backgroundSize,
8152 HTMLCSSStyleDeclaration_get_backgroundSize,
8153 HTMLCSSStyleDeclaration_put_boxShadow,
8154 HTMLCSSStyleDeclaration_get_boxShadow,
8155 HTMLCSSStyleDeclaration_put_msTransform,
8156 HTMLCSSStyleDeclaration_get_msTransform,
8157 HTMLCSSStyleDeclaration_put_msTransformOrigin,
8158 HTMLCSSStyleDeclaration_get_msTransformOrigin
8161 static inline HTMLStyle *impl_from_IHTMLCSSStyleDeclaration2(IHTMLCSSStyleDeclaration2 *iface)
8163 return CONTAINING_RECORD(iface, HTMLStyle, IHTMLCSSStyleDeclaration2_iface);
8166 static HRESULT WINAPI HTMLCSSStyleDeclaration2_QueryInterface(IHTMLCSSStyleDeclaration2 *iface,
8167 REFIID riid, void **ppv)
8169 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8170 return IHTMLStyle_QueryInterface(&This->IHTMLStyle_iface, riid, ppv);
8173 static ULONG WINAPI HTMLCSSStyleDeclaration2_AddRef(IHTMLCSSStyleDeclaration2 *iface)
8175 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8176 return IHTMLStyle_AddRef(&This->IHTMLStyle_iface);
8179 static ULONG WINAPI HTMLCSSStyleDeclaration2_Release(IHTMLCSSStyleDeclaration2 *iface)
8181 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8182 return IHTMLStyle_Release(&This->IHTMLStyle_iface);
8185 static HRESULT WINAPI HTMLCSSStyleDeclaration2_GetTypeInfoCount(IHTMLCSSStyleDeclaration2 *iface,
8186 UINT *pctinfo)
8188 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8189 TRACE("(%p)->(%p)\n", This, pctinfo);
8190 return IDispatchEx_GetTypeInfoCount(&This->dispex.IDispatchEx_iface, pctinfo);
8193 static HRESULT WINAPI HTMLCSSStyleDeclaration2_GetTypeInfo(IHTMLCSSStyleDeclaration2 *iface,
8194 UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
8196 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8197 TRACE("(%p)->(%u %u %p)\n", This, iTInfo, lcid, ppTInfo);
8198 return IDispatchEx_GetTypeInfo(&This->dispex.IDispatchEx_iface, iTInfo, lcid, ppTInfo);
8201 static HRESULT WINAPI HTMLCSSStyleDeclaration2_GetIDsOfNames(IHTMLCSSStyleDeclaration2 *iface,
8202 REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
8204 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8205 TRACE("(%p)->(%p %p %u %u %p)\n", This, riid, rgszNames, cNames, lcid, rgDispId);
8206 return IDispatchEx_GetIDsOfNames(&This->dispex.IDispatchEx_iface, riid, rgszNames,
8207 cNames, lcid, rgDispId);
8210 static HRESULT WINAPI HTMLCSSStyleDeclaration2_Invoke(IHTMLCSSStyleDeclaration2 *iface,
8211 DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams,
8212 VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
8214 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8215 TRACE("(%p)->(%d %p %u %u %p %p %p %p)\n", This, dispIdMember, riid, lcid, wFlags,
8216 pDispParams, pVarResult, pExcepInfo, puArgErr);
8217 return IDispatchEx_Invoke(&This->dispex.IDispatchEx_iface, dispIdMember, riid, lcid,
8218 wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr);
8221 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msScrollChaining(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
8223 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8224 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
8225 return E_NOTIMPL;
8228 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msScrollChaining(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
8230 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8231 FIXME("(%p)->(%p)\n", This, p);
8232 return E_NOTIMPL;
8235 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msContentZooming(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
8237 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8238 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
8239 return E_NOTIMPL;
8242 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msContentZooming(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
8244 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8245 FIXME("(%p)->(%p)\n", This, p);
8246 return E_NOTIMPL;
8249 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msContentZoomSnapType(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
8251 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8252 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
8253 return E_NOTIMPL;
8256 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msContentZoomSnapType(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
8258 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8259 FIXME("(%p)->(%p)\n", This, p);
8260 return E_NOTIMPL;
8263 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msScrollRails(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
8265 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8266 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
8267 return E_NOTIMPL;
8270 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msScrollRails(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
8272 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8273 FIXME("(%p)->(%p)\n", This, p);
8274 return E_NOTIMPL;
8277 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msContentZoomChaining(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
8279 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8280 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
8281 return E_NOTIMPL;
8284 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msContentZoomChaining(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
8286 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8287 FIXME("(%p)->(%p)\n", This, p);
8288 return E_NOTIMPL;
8291 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msScrollSnapType(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
8293 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8294 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
8295 return E_NOTIMPL;
8298 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msScrollSnapType(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
8300 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8301 FIXME("(%p)->(%p)\n", This, p);
8302 return E_NOTIMPL;
8305 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msContentZoomLimit(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
8307 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8308 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
8309 return E_NOTIMPL;
8312 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msContentZoomLimit(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
8314 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8315 FIXME("(%p)->(%p)\n", This, p);
8316 return E_NOTIMPL;
8319 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msContentZoomSnap(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
8321 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8322 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
8323 return E_NOTIMPL;
8326 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msContentZoomSnap(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
8328 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8329 FIXME("(%p)->(%p)\n", This, p);
8330 return E_NOTIMPL;
8333 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msContentZoomSnapPoints(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
8335 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8336 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
8337 return E_NOTIMPL;
8340 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msContentZoomSnapPoints(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
8342 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8343 FIXME("(%p)->(%p)\n", This, p);
8344 return E_NOTIMPL;
8347 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msContentZoomLimitMin(IHTMLCSSStyleDeclaration2 *iface, VARIANT v)
8349 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8350 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
8351 return E_NOTIMPL;
8354 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msContentZoomLimitMin(IHTMLCSSStyleDeclaration2 *iface, VARIANT *p)
8356 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8357 FIXME("(%p)->(%p)\n", This, p);
8358 return E_NOTIMPL;
8361 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msContentZoomLimitMax(IHTMLCSSStyleDeclaration2 *iface, VARIANT v)
8363 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8364 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
8365 return E_NOTIMPL;
8368 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msContentZoomLimitMax(IHTMLCSSStyleDeclaration2 *iface, VARIANT *p)
8370 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8371 FIXME("(%p)->(%p)\n", This, p);
8372 return E_NOTIMPL;
8375 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msScrollSnapX(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
8377 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8378 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
8379 return E_NOTIMPL;
8382 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msScrollSnapX(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
8384 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8385 FIXME("(%p)->(%p)\n", This, p);
8386 return E_NOTIMPL;
8389 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msScrollSnapY(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
8391 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8392 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
8393 return E_NOTIMPL;
8396 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msScrollSnapY(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
8398 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8399 FIXME("(%p)->(%p)\n", This, p);
8400 return E_NOTIMPL;
8403 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msScrollSnapPointsX(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
8405 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8406 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
8407 return E_NOTIMPL;
8410 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msScrollSnapPointsX(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
8412 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8413 FIXME("(%p)->(%p)\n", This, p);
8414 return E_NOTIMPL;
8417 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msScrollSnapPointsY(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
8419 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8420 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
8421 return E_NOTIMPL;
8424 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msScrollSnapPointsY(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
8426 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8427 FIXME("(%p)->(%p)\n", This, p);
8428 return E_NOTIMPL;
8431 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msGridColumn(IHTMLCSSStyleDeclaration2 *iface, VARIANT v)
8433 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8434 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
8435 return E_NOTIMPL;
8438 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msGridColumn(IHTMLCSSStyleDeclaration2 *iface, VARIANT *p)
8440 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8441 FIXME("(%p)->(%p)\n", This, p);
8442 return E_NOTIMPL;
8445 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msGridColumnAlign(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
8447 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8448 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
8449 return E_NOTIMPL;
8452 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msGridColumnAlign(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
8454 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8455 FIXME("(%p)->(%p)\n", This, p);
8456 return E_NOTIMPL;
8459 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msGridColumns(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
8461 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8462 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
8463 return E_NOTIMPL;
8466 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msGridColumns(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
8468 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8469 FIXME("(%p)->(%p)\n", This, p);
8470 return E_NOTIMPL;
8473 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msGridColumnSpan(IHTMLCSSStyleDeclaration2 *iface, VARIANT v)
8475 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8476 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
8477 return E_NOTIMPL;
8480 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msGridColumnSpan(IHTMLCSSStyleDeclaration2 *iface, VARIANT *p)
8482 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8483 FIXME("(%p)->(%p)\n", This, p);
8484 return E_NOTIMPL;
8487 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msGridRow(IHTMLCSSStyleDeclaration2 *iface, VARIANT v)
8489 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8490 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
8491 return E_NOTIMPL;
8494 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msGridRow(IHTMLCSSStyleDeclaration2 *iface, VARIANT *p)
8496 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8497 FIXME("(%p)->(%p)\n", This, p);
8498 return E_NOTIMPL;
8501 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msGridRowAlign(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
8503 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8504 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
8505 return E_NOTIMPL;
8508 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msGridRowAlign(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
8510 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8511 FIXME("(%p)->(%p)\n", This, p);
8512 return E_NOTIMPL;
8515 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msGridRows(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
8517 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8518 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
8519 return E_NOTIMPL;
8522 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msGridRows(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
8524 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8525 FIXME("(%p)->(%p)\n", This, p);
8526 return E_NOTIMPL;
8529 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msGridRowSpan(IHTMLCSSStyleDeclaration2 *iface, VARIANT v)
8531 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8532 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
8533 return E_NOTIMPL;
8536 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msGridRowSpan(IHTMLCSSStyleDeclaration2 *iface, VARIANT *p)
8538 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8539 FIXME("(%p)->(%p)\n", This, p);
8540 return E_NOTIMPL;
8543 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msWrapThrough(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
8545 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8546 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
8547 return E_NOTIMPL;
8550 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msWrapThrough(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
8552 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8553 FIXME("(%p)->(%p)\n", This, p);
8554 return E_NOTIMPL;
8557 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msWrapMargin(IHTMLCSSStyleDeclaration2 *iface, VARIANT v)
8559 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8560 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
8561 return E_NOTIMPL;
8564 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msWrapMargin(IHTMLCSSStyleDeclaration2 *iface, VARIANT *p)
8566 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8567 FIXME("(%p)->(%p)\n", This, p);
8568 return E_NOTIMPL;
8571 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msWrapFlow(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
8573 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8574 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
8575 return E_NOTIMPL;
8578 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msWrapFlow(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
8580 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8581 FIXME("(%p)->(%p)\n", This, p);
8582 return E_NOTIMPL;
8585 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msAnimationName(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
8587 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8588 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
8589 return E_NOTIMPL;
8592 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msAnimationName(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
8594 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8595 FIXME("(%p)->(%p)\n", This, p);
8596 return E_NOTIMPL;
8599 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msAnimationDuration(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
8601 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8602 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
8603 return E_NOTIMPL;
8606 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msAnimationDuration(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
8608 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8609 FIXME("(%p)->(%p)\n", This, p);
8610 return E_NOTIMPL;
8613 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msAnimationTimingFunction(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
8615 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8616 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
8617 return E_NOTIMPL;
8620 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msAnimationTimingFunction(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
8622 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8623 FIXME("(%p)->(%p)\n", This, p);
8624 return E_NOTIMPL;
8627 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msAnimationDelay(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
8629 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8630 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
8631 return E_NOTIMPL;
8634 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msAnimationDelay(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
8636 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8637 FIXME("(%p)->(%p)\n", This, p);
8638 return E_NOTIMPL;
8641 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msAnimationDirection(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
8643 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8644 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
8645 return E_NOTIMPL;
8648 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msAnimationDirection(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
8650 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8651 FIXME("(%p)->(%p)\n", This, p);
8652 return E_NOTIMPL;
8655 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msAnimationPlayState(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
8657 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8658 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
8659 return E_NOTIMPL;
8662 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msAnimationPlayState(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
8664 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8665 FIXME("(%p)->(%p)\n", This, p);
8666 return E_NOTIMPL;
8669 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msAnimationIterationCount(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
8671 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8672 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
8673 return E_NOTIMPL;
8676 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msAnimationIterationCount(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
8678 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8679 FIXME("(%p)->(%p)\n", This, p);
8680 return E_NOTIMPL;
8683 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msAnimation(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
8685 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8686 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
8687 return E_NOTIMPL;
8690 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msAnimation(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
8692 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8693 FIXME("(%p)->(%p)\n", This, p);
8694 return E_NOTIMPL;
8697 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msAnimationFillMode(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
8699 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8700 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
8701 return E_NOTIMPL;
8704 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msAnimationFillMode(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
8706 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8707 FIXME("(%p)->(%p)\n", This, p);
8708 return E_NOTIMPL;
8711 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_colorInterpolationFilters(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
8713 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8714 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
8715 return E_NOTIMPL;
8718 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_colorInterpolationFilters(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
8720 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8721 FIXME("(%p)->(%p)\n", This, p);
8722 return E_NOTIMPL;
8725 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_columnCount(IHTMLCSSStyleDeclaration2 *iface, VARIANT v)
8727 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8728 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
8729 return E_NOTIMPL;
8732 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_columnCount(IHTMLCSSStyleDeclaration2 *iface, VARIANT *p)
8734 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8735 FIXME("(%p)->(%p)\n", This, p);
8736 return E_NOTIMPL;
8739 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_columnWidth(IHTMLCSSStyleDeclaration2 *iface, VARIANT v)
8741 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8742 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
8743 return E_NOTIMPL;
8746 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_columnWidth(IHTMLCSSStyleDeclaration2 *iface, VARIANT *p)
8748 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8749 FIXME("(%p)->(%p)\n", This, p);
8750 return E_NOTIMPL;
8753 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_columnGap(IHTMLCSSStyleDeclaration2 *iface, VARIANT v)
8755 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8756 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
8757 return E_NOTIMPL;
8760 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_columnGap(IHTMLCSSStyleDeclaration2 *iface, VARIANT *p)
8762 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8763 FIXME("(%p)->(%p)\n", This, p);
8764 return E_NOTIMPL;
8767 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_columnFill(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
8769 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8770 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
8771 return E_NOTIMPL;
8774 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_columnFill(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
8776 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8777 FIXME("(%p)->(%p)\n", This, p);
8778 return E_NOTIMPL;
8781 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_columnSpan(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
8783 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8784 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
8785 return E_NOTIMPL;
8788 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_columnSpan(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
8790 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8791 FIXME("(%p)->(%p)\n", This, p);
8792 return E_NOTIMPL;
8795 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_columns(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
8797 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8798 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
8799 return E_NOTIMPL;
8802 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_columns(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
8804 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8805 FIXME("(%p)->(%p)\n", This, p);
8806 return E_NOTIMPL;
8809 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_columnRule(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
8811 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8812 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
8813 return E_NOTIMPL;
8816 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_columnRule(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
8818 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8819 FIXME("(%p)->(%p)\n", This, p);
8820 return E_NOTIMPL;
8823 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_columnRuleColor(IHTMLCSSStyleDeclaration2 *iface, VARIANT v)
8825 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8826 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
8827 return E_NOTIMPL;
8830 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_columnRuleColor(IHTMLCSSStyleDeclaration2 *iface, VARIANT *p)
8832 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8833 FIXME("(%p)->(%p)\n", This, p);
8834 return E_NOTIMPL;
8837 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_columnRuleStyle(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
8839 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8840 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
8841 return E_NOTIMPL;
8844 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_columnRuleStyle(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
8846 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8847 FIXME("(%p)->(%p)\n", This, p);
8848 return E_NOTIMPL;
8851 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_columnRuleWidth(IHTMLCSSStyleDeclaration2 *iface, VARIANT v)
8853 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8854 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
8855 return E_NOTIMPL;
8858 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_columnRuleWidth(IHTMLCSSStyleDeclaration2 *iface, VARIANT *p)
8860 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8861 FIXME("(%p)->(%p)\n", This, p);
8862 return E_NOTIMPL;
8865 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_breakBefore(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
8867 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8868 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
8869 return E_NOTIMPL;
8872 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_breakBefore(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
8874 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8875 FIXME("(%p)->(%p)\n", This, p);
8876 return E_NOTIMPL;
8879 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_breakAfter(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
8881 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8882 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
8883 return E_NOTIMPL;
8886 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_breakAfter(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
8888 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8889 FIXME("(%p)->(%p)\n", This, p);
8890 return E_NOTIMPL;
8893 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_breakInside(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
8895 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8896 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
8897 return E_NOTIMPL;
8900 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_breakInside(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
8902 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8903 FIXME("(%p)->(%p)\n", This, p);
8904 return E_NOTIMPL;
8907 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_floodColor(IHTMLCSSStyleDeclaration2 *iface, VARIANT v)
8909 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8910 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
8911 return E_NOTIMPL;
8914 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_floodColor(IHTMLCSSStyleDeclaration2 *iface, VARIANT *p)
8916 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8917 FIXME("(%p)->(%p)\n", This, p);
8918 return E_NOTIMPL;
8921 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_floodOpacity(IHTMLCSSStyleDeclaration2 *iface, VARIANT v)
8923 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8924 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
8925 return E_NOTIMPL;
8928 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_floodOpacity(IHTMLCSSStyleDeclaration2 *iface, VARIANT *p)
8930 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8931 FIXME("(%p)->(%p)\n", This, p);
8932 return E_NOTIMPL;
8935 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_lightingColor(IHTMLCSSStyleDeclaration2 *iface, VARIANT v)
8937 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8938 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
8939 return E_NOTIMPL;
8942 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_lightingColor(IHTMLCSSStyleDeclaration2 *iface, VARIANT *p)
8944 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8945 FIXME("(%p)->(%p)\n", This, p);
8946 return E_NOTIMPL;
8949 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msScrollLimitXMin(IHTMLCSSStyleDeclaration2 *iface, VARIANT v)
8951 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8952 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
8953 return E_NOTIMPL;
8956 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msScrollLimitXMin(IHTMLCSSStyleDeclaration2 *iface, VARIANT *p)
8958 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8959 FIXME("(%p)->(%p)\n", This, p);
8960 return E_NOTIMPL;
8963 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msScrollLimitYMin(IHTMLCSSStyleDeclaration2 *iface, VARIANT v)
8965 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8966 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
8967 return E_NOTIMPL;
8970 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msScrollLimitYMin(IHTMLCSSStyleDeclaration2 *iface, VARIANT *p)
8972 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8973 FIXME("(%p)->(%p)\n", This, p);
8974 return E_NOTIMPL;
8977 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msScrollLimitXMax(IHTMLCSSStyleDeclaration2 *iface, VARIANT v)
8979 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8980 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
8981 return E_NOTIMPL;
8984 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msScrollLimitXMax(IHTMLCSSStyleDeclaration2 *iface, VARIANT *p)
8986 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8987 FIXME("(%p)->(%p)\n", This, p);
8988 return E_NOTIMPL;
8991 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msScrollLimitYMax(IHTMLCSSStyleDeclaration2 *iface, VARIANT v)
8993 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
8994 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
8995 return E_NOTIMPL;
8998 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msScrollLimitYMax(IHTMLCSSStyleDeclaration2 *iface, VARIANT *p)
9000 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9001 FIXME("(%p)->(%p)\n", This, p);
9002 return E_NOTIMPL;
9005 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msScrollLimit(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
9007 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9008 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
9009 return E_NOTIMPL;
9012 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msScrollLimit(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
9014 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9015 FIXME("(%p)->(%p)\n", This, p);
9016 return E_NOTIMPL;
9019 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_textShadow(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
9021 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9022 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
9023 return E_NOTIMPL;
9026 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_textShadow(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
9028 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9029 FIXME("(%p)->(%p)\n", This, p);
9030 return E_NOTIMPL;
9033 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msFlowFrom(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
9035 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9036 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
9037 return E_NOTIMPL;
9040 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msFlowFrom(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
9042 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9043 FIXME("(%p)->(%p)\n", This, p);
9044 return E_NOTIMPL;
9047 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msFlowInto(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
9049 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9050 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
9051 return E_NOTIMPL;
9054 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msFlowInto(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
9056 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9057 FIXME("(%p)->(%p)\n", This, p);
9058 return E_NOTIMPL;
9061 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msHyphens(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
9063 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9064 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
9065 return E_NOTIMPL;
9068 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msHyphens(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
9070 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9071 FIXME("(%p)->(%p)\n", This, p);
9072 return E_NOTIMPL;
9075 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msHyphenateLimitZone(IHTMLCSSStyleDeclaration2 *iface, VARIANT v)
9077 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9078 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
9079 return E_NOTIMPL;
9082 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msHyphenateLimitZone(IHTMLCSSStyleDeclaration2 *iface, VARIANT *p)
9084 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9085 FIXME("(%p)->(%p)\n", This, p);
9086 return E_NOTIMPL;
9089 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msHyphenateLimitChars(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
9091 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9092 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
9093 return E_NOTIMPL;
9096 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msHyphenateLimitChars(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
9098 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9099 FIXME("(%p)->(%p)\n", This, p);
9100 return E_NOTIMPL;
9103 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msHyphenateLimitLines(IHTMLCSSStyleDeclaration2 *iface, VARIANT v)
9105 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9106 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
9107 return E_NOTIMPL;
9110 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msHyphenateLimitLines(IHTMLCSSStyleDeclaration2 *iface, VARIANT *p)
9112 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9113 FIXME("(%p)->(%p)\n", This, p);
9114 return E_NOTIMPL;
9117 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msHighContrastAdjust(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
9119 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9120 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
9121 return E_NOTIMPL;
9124 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msHighContrastAdjust(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
9126 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9127 FIXME("(%p)->(%p)\n", This, p);
9128 return E_NOTIMPL;
9131 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_enableBackground(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
9133 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9134 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
9135 return E_NOTIMPL;
9138 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_enableBackground(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
9140 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9141 FIXME("(%p)->(%p)\n", This, p);
9142 return E_NOTIMPL;
9145 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msFontFeatureSettings(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
9147 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9148 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
9149 return E_NOTIMPL;
9152 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msFontFeatureSettings(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
9154 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9155 FIXME("(%p)->(%p)\n", This, p);
9156 return E_NOTIMPL;
9159 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msUserSelect(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
9161 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9162 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
9163 return E_NOTIMPL;
9166 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msUserSelect(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
9168 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9169 FIXME("(%p)->(%p)\n", This, p);
9170 return E_NOTIMPL;
9173 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msOverflowStyle(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
9175 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9176 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
9177 return E_NOTIMPL;
9180 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msOverflowStyle(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
9182 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9183 FIXME("(%p)->(%p)\n", This, p);
9184 return E_NOTIMPL;
9187 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msTransformStyle(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
9189 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9190 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
9191 return E_NOTIMPL;
9194 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msTransformStyle(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
9196 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9197 FIXME("(%p)->(%p)\n", This, p);
9198 return E_NOTIMPL;
9201 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msBackfaceVisibility(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
9203 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9204 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
9205 return E_NOTIMPL;
9208 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msBackfaceVisibility(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
9210 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9211 FIXME("(%p)->(%p)\n", This, p);
9212 return E_NOTIMPL;
9215 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msPerspective(IHTMLCSSStyleDeclaration2 *iface, VARIANT v)
9217 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9218 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
9219 return E_NOTIMPL;
9222 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msPerspective(IHTMLCSSStyleDeclaration2 *iface, VARIANT *p)
9224 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9225 FIXME("(%p)->(%p)\n", This, p);
9226 return E_NOTIMPL;
9229 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msPerspectiveOrigin(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
9231 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9232 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
9233 return E_NOTIMPL;
9236 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msPerspectiveOrigin(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
9238 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9239 FIXME("(%p)->(%p)\n", This, p);
9240 return E_NOTIMPL;
9243 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msTransitionProperty(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
9245 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9246 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
9247 return E_NOTIMPL;
9250 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msTransitionProperty(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
9252 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9253 FIXME("(%p)->(%p)\n", This, p);
9254 return E_NOTIMPL;
9257 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msTransitionDuration(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
9259 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9260 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
9261 return E_NOTIMPL;
9264 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msTransitionDuration(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
9266 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9267 FIXME("(%p)->(%p)\n", This, p);
9268 return E_NOTIMPL;
9271 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msTransitionTimingFunction(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
9273 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9274 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
9275 return E_NOTIMPL;
9278 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msTransitionTimingFunction(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
9280 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9281 FIXME("(%p)->(%p)\n", This, p);
9282 return E_NOTIMPL;
9285 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msTransitionDelay(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
9287 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9288 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
9289 return E_NOTIMPL;
9292 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msTransitionDelay(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
9294 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9295 FIXME("(%p)->(%p)\n", This, p);
9296 return E_NOTIMPL;
9299 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msTransition(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
9301 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9302 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
9303 return E_NOTIMPL;
9306 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msTransition(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
9308 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9309 FIXME("(%p)->(%p)\n", This, p);
9310 return E_NOTIMPL;
9313 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msTouchAction(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
9315 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9316 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
9317 return E_NOTIMPL;
9320 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msTouchAction(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
9322 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9323 FIXME("(%p)->(%p)\n", This, p);
9324 return E_NOTIMPL;
9327 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msScrollTranslation(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
9329 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9330 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
9331 return E_NOTIMPL;
9334 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msScrollTranslation(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
9336 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9337 FIXME("(%p)->(%p)\n", This, p);
9338 return E_NOTIMPL;
9341 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msFlex(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
9343 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9344 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
9345 return E_NOTIMPL;
9348 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msFlex(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
9350 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9351 FIXME("(%p)->(%p)\n", This, p);
9352 return E_NOTIMPL;
9355 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msFlexPositive(IHTMLCSSStyleDeclaration2 *iface, VARIANT v)
9357 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9358 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
9359 return E_NOTIMPL;
9362 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msFlexPositive(IHTMLCSSStyleDeclaration2 *iface, VARIANT *p)
9364 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9365 FIXME("(%p)->(%p)\n", This, p);
9366 return E_NOTIMPL;
9369 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msFlexNegative(IHTMLCSSStyleDeclaration2 *iface, VARIANT v)
9371 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9372 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
9373 return E_NOTIMPL;
9376 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msFlexNegative(IHTMLCSSStyleDeclaration2 *iface, VARIANT *p)
9378 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9379 FIXME("(%p)->(%p)\n", This, p);
9380 return E_NOTIMPL;
9383 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msFlexPreferredSize(IHTMLCSSStyleDeclaration2 *iface, VARIANT v)
9385 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9386 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
9387 return E_NOTIMPL;
9390 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msFlexPreferredSize(IHTMLCSSStyleDeclaration2 *iface, VARIANT *p)
9392 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9393 FIXME("(%p)->(%p)\n", This, p);
9394 return E_NOTIMPL;
9397 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msFlexFlow(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
9399 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9400 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
9401 return E_NOTIMPL;
9404 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msFlexFlow(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
9406 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9407 FIXME("(%p)->(%p)\n", This, p);
9408 return E_NOTIMPL;
9411 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msFlexDirection(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
9413 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9414 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
9415 return E_NOTIMPL;
9418 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msFlexDirection(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
9420 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9421 FIXME("(%p)->(%p)\n", This, p);
9422 return E_NOTIMPL;
9425 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msFlexWrap(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
9427 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9428 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
9429 return E_NOTIMPL;
9432 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msFlexWrap(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
9434 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9435 FIXME("(%p)->(%p)\n", This, p);
9436 return E_NOTIMPL;
9439 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msFlexAlign(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
9441 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9442 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
9443 return E_NOTIMPL;
9446 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msFlexAlign(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
9448 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9449 FIXME("(%p)->(%p)\n", This, p);
9450 return E_NOTIMPL;
9453 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msFlexItemAlign(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
9455 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9456 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
9457 return E_NOTIMPL;
9460 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msFlexItemAlign(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
9462 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9463 FIXME("(%p)->(%p)\n", This, p);
9464 return E_NOTIMPL;
9467 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msFlexPack(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
9469 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9470 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
9471 return E_NOTIMPL;
9474 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msFlexPack(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
9476 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9477 FIXME("(%p)->(%p)\n", This, p);
9478 return E_NOTIMPL;
9481 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msFlexLinePack(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
9483 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9484 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
9485 return E_NOTIMPL;
9488 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msFlexLinePack(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
9490 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9491 FIXME("(%p)->(%p)\n", This, p);
9492 return E_NOTIMPL;
9495 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msFlexOrder(IHTMLCSSStyleDeclaration2 *iface, VARIANT v)
9497 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9498 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
9499 return E_NOTIMPL;
9502 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msFlexOrder(IHTMLCSSStyleDeclaration2 *iface, VARIANT *p)
9504 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9505 FIXME("(%p)->(%p)\n", This, p);
9506 return E_NOTIMPL;
9509 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msTouchSelect(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
9511 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9512 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
9513 return E_NOTIMPL;
9516 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msTouchSelect(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
9518 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9519 FIXME("(%p)->(%p)\n", This, p);
9520 return E_NOTIMPL;
9523 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_transform(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
9525 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9526 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
9527 return E_NOTIMPL;
9530 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_transform(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
9532 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9533 FIXME("(%p)->(%p)\n", This, p);
9534 return E_NOTIMPL;
9537 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_transformOrigin(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
9539 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9540 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
9541 return E_NOTIMPL;
9544 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_transformOrigin(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
9546 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9547 FIXME("(%p)->(%p)\n", This, p);
9548 return E_NOTIMPL;
9551 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_transformStyle(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
9553 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9554 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
9555 return E_NOTIMPL;
9558 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_transformStyle(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
9560 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9561 FIXME("(%p)->(%p)\n", This, p);
9562 return E_NOTIMPL;
9565 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_backfaceVisibility(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
9567 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9568 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
9569 return E_NOTIMPL;
9572 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_backfaceVisibility(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
9574 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9575 FIXME("(%p)->(%p)\n", This, p);
9576 return E_NOTIMPL;
9579 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_perspective(IHTMLCSSStyleDeclaration2 *iface, VARIANT v)
9581 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9582 FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
9583 return E_NOTIMPL;
9586 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_perspective(IHTMLCSSStyleDeclaration2 *iface, VARIANT *p)
9588 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9589 FIXME("(%p)->(%p)\n", This, p);
9590 return E_NOTIMPL;
9593 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_perspectiveOrigin(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
9595 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9596 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
9597 return E_NOTIMPL;
9600 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_perspectiveOrigin(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
9602 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9603 FIXME("(%p)->(%p)\n", This, p);
9604 return E_NOTIMPL;
9607 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_transitionProperty(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
9609 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9610 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
9611 return E_NOTIMPL;
9614 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_transitionProperty(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
9616 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9617 FIXME("(%p)->(%p)\n", This, p);
9618 return E_NOTIMPL;
9621 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_transitionDuration(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
9623 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9624 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
9625 return E_NOTIMPL;
9628 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_transitionDuration(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
9630 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9631 FIXME("(%p)->(%p)\n", This, p);
9632 return E_NOTIMPL;
9635 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_transitionTimingFunction(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
9637 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9638 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
9639 return E_NOTIMPL;
9642 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_transitionTimingFunction(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
9644 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9645 FIXME("(%p)->(%p)\n", This, p);
9646 return E_NOTIMPL;
9649 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_transitionDelay(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
9651 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9652 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
9653 return E_NOTIMPL;
9656 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_transitionDelay(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
9658 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9659 FIXME("(%p)->(%p)\n", This, p);
9660 return E_NOTIMPL;
9663 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_transition(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
9665 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9666 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
9667 return E_NOTIMPL;
9670 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_transition(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
9672 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9673 FIXME("(%p)->(%p)\n", This, p);
9674 return E_NOTIMPL;
9677 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_fontFeatureSettings(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
9679 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9680 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
9681 return E_NOTIMPL;
9684 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_fontFeatureSettings(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
9686 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9687 FIXME("(%p)->(%p)\n", This, p);
9688 return E_NOTIMPL;
9691 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_animationName(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
9693 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9694 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
9695 return E_NOTIMPL;
9698 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_animationName(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
9700 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9701 FIXME("(%p)->(%p)\n", This, p);
9702 return E_NOTIMPL;
9705 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_animationDuration(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
9707 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9708 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
9709 return E_NOTIMPL;
9712 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_animationDuration(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
9714 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9715 FIXME("(%p)->(%p)\n", This, p);
9716 return E_NOTIMPL;
9719 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_animationTimingFunction(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
9721 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9722 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
9723 return E_NOTIMPL;
9726 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_animationTimingFunction(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
9728 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9729 FIXME("(%p)->(%p)\n", This, p);
9730 return E_NOTIMPL;
9733 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_animationDelay(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
9735 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9736 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
9737 return E_NOTIMPL;
9740 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_animationDelay(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
9742 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9743 FIXME("(%p)->(%p)\n", This, p);
9744 return E_NOTIMPL;
9747 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_animationDirection(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
9749 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9750 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
9751 return E_NOTIMPL;
9754 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_animationDirection(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
9756 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9757 FIXME("(%p)->(%p)\n", This, p);
9758 return E_NOTIMPL;
9761 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_animationPlayState(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
9763 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9764 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
9765 return E_NOTIMPL;
9768 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_animationPlayState(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
9770 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9771 FIXME("(%p)->(%p)\n", This, p);
9772 return E_NOTIMPL;
9775 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_animationIterationCount(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
9777 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9778 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
9779 return E_NOTIMPL;
9782 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_animationIterationCount(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
9784 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9785 FIXME("(%p)->(%p)\n", This, p);
9786 return E_NOTIMPL;
9789 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_animation(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
9791 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9792 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
9793 return E_NOTIMPL;
9796 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_animation(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
9798 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9799 FIXME("(%p)->(%p)\n", This, p);
9800 return E_NOTIMPL;
9803 static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_animationFillMode(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
9805 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9806 FIXME("(%p)->(%s)\n", This, debugstr_w(v));
9807 return E_NOTIMPL;
9810 static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_animationFillMode(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
9812 HTMLStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
9813 FIXME("(%p)->(%p)\n", This, p);
9814 return E_NOTIMPL;
9817 static const IHTMLCSSStyleDeclaration2Vtbl HTMLCSSStyleDeclaration2Vtbl = {
9818 HTMLCSSStyleDeclaration2_QueryInterface,
9819 HTMLCSSStyleDeclaration2_AddRef,
9820 HTMLCSSStyleDeclaration2_Release,
9821 HTMLCSSStyleDeclaration2_GetTypeInfoCount,
9822 HTMLCSSStyleDeclaration2_GetTypeInfo,
9823 HTMLCSSStyleDeclaration2_GetIDsOfNames,
9824 HTMLCSSStyleDeclaration2_Invoke,
9825 HTMLCSSStyleDeclaration2_put_msScrollChaining,
9826 HTMLCSSStyleDeclaration2_get_msScrollChaining,
9827 HTMLCSSStyleDeclaration2_put_msContentZooming,
9828 HTMLCSSStyleDeclaration2_get_msContentZooming,
9829 HTMLCSSStyleDeclaration2_put_msContentZoomSnapType,
9830 HTMLCSSStyleDeclaration2_get_msContentZoomSnapType,
9831 HTMLCSSStyleDeclaration2_put_msScrollRails,
9832 HTMLCSSStyleDeclaration2_get_msScrollRails,
9833 HTMLCSSStyleDeclaration2_put_msContentZoomChaining,
9834 HTMLCSSStyleDeclaration2_get_msContentZoomChaining,
9835 HTMLCSSStyleDeclaration2_put_msScrollSnapType,
9836 HTMLCSSStyleDeclaration2_get_msScrollSnapType,
9837 HTMLCSSStyleDeclaration2_put_msContentZoomLimit,
9838 HTMLCSSStyleDeclaration2_get_msContentZoomLimit,
9839 HTMLCSSStyleDeclaration2_put_msContentZoomSnap,
9840 HTMLCSSStyleDeclaration2_get_msContentZoomSnap,
9841 HTMLCSSStyleDeclaration2_put_msContentZoomSnapPoints,
9842 HTMLCSSStyleDeclaration2_get_msContentZoomSnapPoints,
9843 HTMLCSSStyleDeclaration2_put_msContentZoomLimitMin,
9844 HTMLCSSStyleDeclaration2_get_msContentZoomLimitMin,
9845 HTMLCSSStyleDeclaration2_put_msContentZoomLimitMax,
9846 HTMLCSSStyleDeclaration2_get_msContentZoomLimitMax,
9847 HTMLCSSStyleDeclaration2_put_msScrollSnapX,
9848 HTMLCSSStyleDeclaration2_get_msScrollSnapX,
9849 HTMLCSSStyleDeclaration2_put_msScrollSnapY,
9850 HTMLCSSStyleDeclaration2_get_msScrollSnapY,
9851 HTMLCSSStyleDeclaration2_put_msScrollSnapPointsX,
9852 HTMLCSSStyleDeclaration2_get_msScrollSnapPointsX,
9853 HTMLCSSStyleDeclaration2_put_msScrollSnapPointsY,
9854 HTMLCSSStyleDeclaration2_get_msScrollSnapPointsY,
9855 HTMLCSSStyleDeclaration2_put_msGridColumn,
9856 HTMLCSSStyleDeclaration2_get_msGridColumn,
9857 HTMLCSSStyleDeclaration2_put_msGridColumnAlign,
9858 HTMLCSSStyleDeclaration2_get_msGridColumnAlign,
9859 HTMLCSSStyleDeclaration2_put_msGridColumns,
9860 HTMLCSSStyleDeclaration2_get_msGridColumns,
9861 HTMLCSSStyleDeclaration2_put_msGridColumnSpan,
9862 HTMLCSSStyleDeclaration2_get_msGridColumnSpan,
9863 HTMLCSSStyleDeclaration2_put_msGridRow,
9864 HTMLCSSStyleDeclaration2_get_msGridRow,
9865 HTMLCSSStyleDeclaration2_put_msGridRowAlign,
9866 HTMLCSSStyleDeclaration2_get_msGridRowAlign,
9867 HTMLCSSStyleDeclaration2_put_msGridRows,
9868 HTMLCSSStyleDeclaration2_get_msGridRows,
9869 HTMLCSSStyleDeclaration2_put_msGridRowSpan,
9870 HTMLCSSStyleDeclaration2_get_msGridRowSpan,
9871 HTMLCSSStyleDeclaration2_put_msWrapThrough,
9872 HTMLCSSStyleDeclaration2_get_msWrapThrough,
9873 HTMLCSSStyleDeclaration2_put_msWrapMargin,
9874 HTMLCSSStyleDeclaration2_get_msWrapMargin,
9875 HTMLCSSStyleDeclaration2_put_msWrapFlow,
9876 HTMLCSSStyleDeclaration2_get_msWrapFlow,
9877 HTMLCSSStyleDeclaration2_put_msAnimationName,
9878 HTMLCSSStyleDeclaration2_get_msAnimationName,
9879 HTMLCSSStyleDeclaration2_put_msAnimationDuration,
9880 HTMLCSSStyleDeclaration2_get_msAnimationDuration,
9881 HTMLCSSStyleDeclaration2_put_msAnimationTimingFunction,
9882 HTMLCSSStyleDeclaration2_get_msAnimationTimingFunction,
9883 HTMLCSSStyleDeclaration2_put_msAnimationDelay,
9884 HTMLCSSStyleDeclaration2_get_msAnimationDelay,
9885 HTMLCSSStyleDeclaration2_put_msAnimationDirection,
9886 HTMLCSSStyleDeclaration2_get_msAnimationDirection,
9887 HTMLCSSStyleDeclaration2_put_msAnimationPlayState,
9888 HTMLCSSStyleDeclaration2_get_msAnimationPlayState,
9889 HTMLCSSStyleDeclaration2_put_msAnimationIterationCount,
9890 HTMLCSSStyleDeclaration2_get_msAnimationIterationCount,
9891 HTMLCSSStyleDeclaration2_put_msAnimation,
9892 HTMLCSSStyleDeclaration2_get_msAnimation,
9893 HTMLCSSStyleDeclaration2_put_msAnimationFillMode,
9894 HTMLCSSStyleDeclaration2_get_msAnimationFillMode,
9895 HTMLCSSStyleDeclaration2_put_colorInterpolationFilters,
9896 HTMLCSSStyleDeclaration2_get_colorInterpolationFilters,
9897 HTMLCSSStyleDeclaration2_put_columnCount,
9898 HTMLCSSStyleDeclaration2_get_columnCount,
9899 HTMLCSSStyleDeclaration2_put_columnWidth,
9900 HTMLCSSStyleDeclaration2_get_columnWidth,
9901 HTMLCSSStyleDeclaration2_put_columnGap,
9902 HTMLCSSStyleDeclaration2_get_columnGap,
9903 HTMLCSSStyleDeclaration2_put_columnFill,
9904 HTMLCSSStyleDeclaration2_get_columnFill,
9905 HTMLCSSStyleDeclaration2_put_columnSpan,
9906 HTMLCSSStyleDeclaration2_get_columnSpan,
9907 HTMLCSSStyleDeclaration2_put_columns,
9908 HTMLCSSStyleDeclaration2_get_columns,
9909 HTMLCSSStyleDeclaration2_put_columnRule,
9910 HTMLCSSStyleDeclaration2_get_columnRule,
9911 HTMLCSSStyleDeclaration2_put_columnRuleColor,
9912 HTMLCSSStyleDeclaration2_get_columnRuleColor,
9913 HTMLCSSStyleDeclaration2_put_columnRuleStyle,
9914 HTMLCSSStyleDeclaration2_get_columnRuleStyle,
9915 HTMLCSSStyleDeclaration2_put_columnRuleWidth,
9916 HTMLCSSStyleDeclaration2_get_columnRuleWidth,
9917 HTMLCSSStyleDeclaration2_put_breakBefore,
9918 HTMLCSSStyleDeclaration2_get_breakBefore,
9919 HTMLCSSStyleDeclaration2_put_breakAfter,
9920 HTMLCSSStyleDeclaration2_get_breakAfter,
9921 HTMLCSSStyleDeclaration2_put_breakInside,
9922 HTMLCSSStyleDeclaration2_get_breakInside,
9923 HTMLCSSStyleDeclaration2_put_floodColor,
9924 HTMLCSSStyleDeclaration2_get_floodColor,
9925 HTMLCSSStyleDeclaration2_put_floodOpacity,
9926 HTMLCSSStyleDeclaration2_get_floodOpacity,
9927 HTMLCSSStyleDeclaration2_put_lightingColor,
9928 HTMLCSSStyleDeclaration2_get_lightingColor,
9929 HTMLCSSStyleDeclaration2_put_msScrollLimitXMin,
9930 HTMLCSSStyleDeclaration2_get_msScrollLimitXMin,
9931 HTMLCSSStyleDeclaration2_put_msScrollLimitYMin,
9932 HTMLCSSStyleDeclaration2_get_msScrollLimitYMin,
9933 HTMLCSSStyleDeclaration2_put_msScrollLimitXMax,
9934 HTMLCSSStyleDeclaration2_get_msScrollLimitXMax,
9935 HTMLCSSStyleDeclaration2_put_msScrollLimitYMax,
9936 HTMLCSSStyleDeclaration2_get_msScrollLimitYMax,
9937 HTMLCSSStyleDeclaration2_put_msScrollLimit,
9938 HTMLCSSStyleDeclaration2_get_msScrollLimit,
9939 HTMLCSSStyleDeclaration2_put_textShadow,
9940 HTMLCSSStyleDeclaration2_get_textShadow,
9941 HTMLCSSStyleDeclaration2_put_msFlowFrom,
9942 HTMLCSSStyleDeclaration2_get_msFlowFrom,
9943 HTMLCSSStyleDeclaration2_put_msFlowInto,
9944 HTMLCSSStyleDeclaration2_get_msFlowInto,
9945 HTMLCSSStyleDeclaration2_put_msHyphens,
9946 HTMLCSSStyleDeclaration2_get_msHyphens,
9947 HTMLCSSStyleDeclaration2_put_msHyphenateLimitZone,
9948 HTMLCSSStyleDeclaration2_get_msHyphenateLimitZone,
9949 HTMLCSSStyleDeclaration2_put_msHyphenateLimitChars,
9950 HTMLCSSStyleDeclaration2_get_msHyphenateLimitChars,
9951 HTMLCSSStyleDeclaration2_put_msHyphenateLimitLines,
9952 HTMLCSSStyleDeclaration2_get_msHyphenateLimitLines,
9953 HTMLCSSStyleDeclaration2_put_msHighContrastAdjust,
9954 HTMLCSSStyleDeclaration2_get_msHighContrastAdjust,
9955 HTMLCSSStyleDeclaration2_put_enableBackground,
9956 HTMLCSSStyleDeclaration2_get_enableBackground,
9957 HTMLCSSStyleDeclaration2_put_msFontFeatureSettings,
9958 HTMLCSSStyleDeclaration2_get_msFontFeatureSettings,
9959 HTMLCSSStyleDeclaration2_put_msUserSelect,
9960 HTMLCSSStyleDeclaration2_get_msUserSelect,
9961 HTMLCSSStyleDeclaration2_put_msOverflowStyle,
9962 HTMLCSSStyleDeclaration2_get_msOverflowStyle,
9963 HTMLCSSStyleDeclaration2_put_msTransformStyle,
9964 HTMLCSSStyleDeclaration2_get_msTransformStyle,
9965 HTMLCSSStyleDeclaration2_put_msBackfaceVisibility,
9966 HTMLCSSStyleDeclaration2_get_msBackfaceVisibility,
9967 HTMLCSSStyleDeclaration2_put_msPerspective,
9968 HTMLCSSStyleDeclaration2_get_msPerspective,
9969 HTMLCSSStyleDeclaration2_put_msPerspectiveOrigin,
9970 HTMLCSSStyleDeclaration2_get_msPerspectiveOrigin,
9971 HTMLCSSStyleDeclaration2_put_msTransitionProperty,
9972 HTMLCSSStyleDeclaration2_get_msTransitionProperty,
9973 HTMLCSSStyleDeclaration2_put_msTransitionDuration,
9974 HTMLCSSStyleDeclaration2_get_msTransitionDuration,
9975 HTMLCSSStyleDeclaration2_put_msTransitionTimingFunction,
9976 HTMLCSSStyleDeclaration2_get_msTransitionTimingFunction,
9977 HTMLCSSStyleDeclaration2_put_msTransitionDelay,
9978 HTMLCSSStyleDeclaration2_get_msTransitionDelay,
9979 HTMLCSSStyleDeclaration2_put_msTransition,
9980 HTMLCSSStyleDeclaration2_get_msTransition,
9981 HTMLCSSStyleDeclaration2_put_msTouchAction,
9982 HTMLCSSStyleDeclaration2_get_msTouchAction,
9983 HTMLCSSStyleDeclaration2_put_msScrollTranslation,
9984 HTMLCSSStyleDeclaration2_get_msScrollTranslation,
9985 HTMLCSSStyleDeclaration2_put_msFlex,
9986 HTMLCSSStyleDeclaration2_get_msFlex,
9987 HTMLCSSStyleDeclaration2_put_msFlexPositive,
9988 HTMLCSSStyleDeclaration2_get_msFlexPositive,
9989 HTMLCSSStyleDeclaration2_put_msFlexNegative,
9990 HTMLCSSStyleDeclaration2_get_msFlexNegative,
9991 HTMLCSSStyleDeclaration2_put_msFlexPreferredSize,
9992 HTMLCSSStyleDeclaration2_get_msFlexPreferredSize,
9993 HTMLCSSStyleDeclaration2_put_msFlexFlow,
9994 HTMLCSSStyleDeclaration2_get_msFlexFlow,
9995 HTMLCSSStyleDeclaration2_put_msFlexDirection,
9996 HTMLCSSStyleDeclaration2_get_msFlexDirection,
9997 HTMLCSSStyleDeclaration2_put_msFlexWrap,
9998 HTMLCSSStyleDeclaration2_get_msFlexWrap,
9999 HTMLCSSStyleDeclaration2_put_msFlexAlign,
10000 HTMLCSSStyleDeclaration2_get_msFlexAlign,
10001 HTMLCSSStyleDeclaration2_put_msFlexItemAlign,
10002 HTMLCSSStyleDeclaration2_get_msFlexItemAlign,
10003 HTMLCSSStyleDeclaration2_put_msFlexPack,
10004 HTMLCSSStyleDeclaration2_get_msFlexPack,
10005 HTMLCSSStyleDeclaration2_put_msFlexLinePack,
10006 HTMLCSSStyleDeclaration2_get_msFlexLinePack,
10007 HTMLCSSStyleDeclaration2_put_msFlexOrder,
10008 HTMLCSSStyleDeclaration2_get_msFlexOrder,
10009 HTMLCSSStyleDeclaration2_put_msTouchSelect,
10010 HTMLCSSStyleDeclaration2_get_msTouchSelect,
10011 HTMLCSSStyleDeclaration2_put_transform,
10012 HTMLCSSStyleDeclaration2_get_transform,
10013 HTMLCSSStyleDeclaration2_put_transformOrigin,
10014 HTMLCSSStyleDeclaration2_get_transformOrigin,
10015 HTMLCSSStyleDeclaration2_put_transformStyle,
10016 HTMLCSSStyleDeclaration2_get_transformStyle,
10017 HTMLCSSStyleDeclaration2_put_backfaceVisibility,
10018 HTMLCSSStyleDeclaration2_get_backfaceVisibility,
10019 HTMLCSSStyleDeclaration2_put_perspective,
10020 HTMLCSSStyleDeclaration2_get_perspective,
10021 HTMLCSSStyleDeclaration2_put_perspectiveOrigin,
10022 HTMLCSSStyleDeclaration2_get_perspectiveOrigin,
10023 HTMLCSSStyleDeclaration2_put_transitionProperty,
10024 HTMLCSSStyleDeclaration2_get_transitionProperty,
10025 HTMLCSSStyleDeclaration2_put_transitionDuration,
10026 HTMLCSSStyleDeclaration2_get_transitionDuration,
10027 HTMLCSSStyleDeclaration2_put_transitionTimingFunction,
10028 HTMLCSSStyleDeclaration2_get_transitionTimingFunction,
10029 HTMLCSSStyleDeclaration2_put_transitionDelay,
10030 HTMLCSSStyleDeclaration2_get_transitionDelay,
10031 HTMLCSSStyleDeclaration2_put_transition,
10032 HTMLCSSStyleDeclaration2_get_transition,
10033 HTMLCSSStyleDeclaration2_put_fontFeatureSettings,
10034 HTMLCSSStyleDeclaration2_get_fontFeatureSettings,
10035 HTMLCSSStyleDeclaration2_put_animationName,
10036 HTMLCSSStyleDeclaration2_get_animationName,
10037 HTMLCSSStyleDeclaration2_put_animationDuration,
10038 HTMLCSSStyleDeclaration2_get_animationDuration,
10039 HTMLCSSStyleDeclaration2_put_animationTimingFunction,
10040 HTMLCSSStyleDeclaration2_get_animationTimingFunction,
10041 HTMLCSSStyleDeclaration2_put_animationDelay,
10042 HTMLCSSStyleDeclaration2_get_animationDelay,
10043 HTMLCSSStyleDeclaration2_put_animationDirection,
10044 HTMLCSSStyleDeclaration2_get_animationDirection,
10045 HTMLCSSStyleDeclaration2_put_animationPlayState,
10046 HTMLCSSStyleDeclaration2_get_animationPlayState,
10047 HTMLCSSStyleDeclaration2_put_animationIterationCount,
10048 HTMLCSSStyleDeclaration2_get_animationIterationCount,
10049 HTMLCSSStyleDeclaration2_put_animation,
10050 HTMLCSSStyleDeclaration2_get_animation,
10051 HTMLCSSStyleDeclaration2_put_animationFillMode,
10052 HTMLCSSStyleDeclaration2_get_animationFillMode
10055 static HRESULT HTMLStyle_get_dispid(DispatchEx *dispex, BSTR name, DWORD flags, DISPID *dispid)
10057 const style_tbl_entry_t *style_entry;
10059 style_entry = lookup_style_tbl(name);
10060 if(style_entry) {
10061 DISPID id = dispex_compat_mode(dispex) >= COMPAT_MODE_IE9
10062 ? style_entry->dispid : style_entry->compat_dispid;
10063 if(id == DISPID_UNKNOWN)
10064 return DISP_E_UNKNOWNNAME;
10066 *dispid = id;
10067 return S_OK;
10070 return DISP_E_UNKNOWNNAME;
10073 static void HTMLStyle_init_dispex_info(dispex_data_t *info, compat_mode_t mode)
10075 if(mode >= COMPAT_MODE_IE9)
10076 dispex_info_add_interface(info, IHTMLCSSStyleDeclaration_tid, NULL);
10079 static const dispex_static_data_vtbl_t HTMLStyle_dispex_vtbl = {
10080 NULL,
10081 HTMLStyle_get_dispid,
10082 NULL,
10083 NULL
10086 static const tid_t HTMLStyle_iface_tids[] = {
10087 IHTMLStyle6_tid,
10088 IHTMLStyle5_tid,
10089 IHTMLStyle4_tid,
10090 IHTMLStyle3_tid,
10091 IHTMLStyle2_tid,
10092 IHTMLStyle_tid,
10095 static dispex_static_data_t HTMLStyle_dispex = {
10096 &HTMLStyle_dispex_vtbl,
10097 DispHTMLStyle_tid,
10098 HTMLStyle_iface_tids,
10099 HTMLStyle_init_dispex_info
10102 static HRESULT get_style_from_elem(HTMLElement *elem, nsIDOMCSSStyleDeclaration **ret)
10104 nsIDOMElementCSSInlineStyle *nselemstyle;
10105 nsresult nsres;
10107 if(!elem->dom_element) {
10108 FIXME("comment element\n");
10109 return E_NOTIMPL;
10112 nsres = nsIDOMElement_QueryInterface(elem->dom_element, &IID_nsIDOMElementCSSInlineStyle,
10113 (void**)&nselemstyle);
10114 assert(nsres == NS_OK);
10116 nsres = nsIDOMElementCSSInlineStyle_GetStyle(nselemstyle, ret);
10117 nsIDOMElementCSSInlineStyle_Release(nselemstyle);
10118 if(NS_FAILED(nsres)) {
10119 ERR("GetStyle failed: %08x\n", nsres);
10120 return E_FAIL;
10123 return S_OK;
10126 HRESULT HTMLStyle_Create(HTMLElement *elem, HTMLStyle **ret)
10128 nsIDOMCSSStyleDeclaration *nsstyle;
10129 HTMLStyle *style;
10130 HRESULT hres;
10132 hres = get_style_from_elem(elem, &nsstyle);
10133 if(FAILED(hres))
10134 return hres;
10136 style = heap_alloc_zero(sizeof(HTMLStyle));
10137 if(!style) {
10138 nsIDOMCSSStyleDeclaration_Release(nsstyle);
10139 return E_OUTOFMEMORY;
10142 style->IHTMLStyle_iface.lpVtbl = &HTMLStyleVtbl;
10143 style->IHTMLStyle2_iface.lpVtbl = &HTMLStyle2Vtbl;
10144 style->IHTMLStyle3_iface.lpVtbl = &HTMLStyle3Vtbl;
10145 style->IHTMLStyle4_iface.lpVtbl = &HTMLStyle4Vtbl;
10146 style->IHTMLStyle5_iface.lpVtbl = &HTMLStyle5Vtbl;
10147 style->IHTMLStyle6_iface.lpVtbl = &HTMLStyle6Vtbl;
10148 style->IHTMLCSSStyleDeclaration_iface.lpVtbl = &HTMLCSSStyleDeclarationVtbl;
10149 style->IHTMLCSSStyleDeclaration2_iface.lpVtbl = &HTMLCSSStyleDeclaration2Vtbl;
10151 style->ref = 1;
10152 style->nsstyle = nsstyle;
10153 style->elem = elem;
10155 nsIDOMCSSStyleDeclaration_AddRef(nsstyle);
10157 init_dispex_with_compat_mode(&style->dispex, (IUnknown*)&style->IHTMLStyle_iface, &HTMLStyle_dispex,
10158 dispex_compat_mode(&elem->node.event_target.dispex));
10160 *ret = style;
10161 return S_OK;
10164 HRESULT get_elem_style(HTMLElement *elem, styleid_t styleid, BSTR *ret)
10166 nsIDOMCSSStyleDeclaration *style;
10167 HRESULT hres;
10169 hres = get_style_from_elem(elem, &style);
10170 if(FAILED(hres))
10171 return hres;
10173 hres = get_nsstyle_property(style, styleid, COMPAT_MODE_IE11, ret);
10174 nsIDOMCSSStyleDeclaration_Release(style);
10175 return hres;
10178 HRESULT set_elem_style(HTMLElement *elem, styleid_t styleid, const WCHAR *val)
10180 nsIDOMCSSStyleDeclaration *style;
10181 HRESULT hres;
10183 hres = get_style_from_elem(elem, &style);
10184 if(FAILED(hres))
10185 return hres;
10187 hres = set_nsstyle_property(style, styleid, val);
10188 nsIDOMCSSStyleDeclaration_Release(style);
10189 return hres;