2006-11-17 13:04:06 +01:00
|
|
|
/*
|
|
|
|
* Copyright 2006 Jacek Caban for CodeWeavers
|
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
|
|
* License along with this library; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <stdarg.h>
|
2012-07-25 14:46:54 +02:00
|
|
|
#include <assert.h>
|
2008-11-05 12:06:45 +01:00
|
|
|
#include <math.h>
|
2006-11-17 13:04:06 +01:00
|
|
|
|
|
|
|
#define COBJMACROS
|
|
|
|
|
|
|
|
#include "windef.h"
|
|
|
|
#include "winbase.h"
|
|
|
|
#include "winuser.h"
|
|
|
|
#include "ole2.h"
|
2008-10-07 21:45:21 +02:00
|
|
|
#include "mshtmdid.h"
|
2006-11-17 13:04:06 +01:00
|
|
|
|
2008-10-06 16:47:58 +02:00
|
|
|
#include "mshtml_private.h"
|
|
|
|
#include "htmlstyle.h"
|
|
|
|
|
2006-11-17 13:04:06 +01:00
|
|
|
#include "wine/debug.h"
|
|
|
|
|
|
|
|
WINE_DEFAULT_DEBUG_CHANNEL(mshtml);
|
|
|
|
|
2018-08-27 13:44:38 +02:00
|
|
|
static const WCHAR backgroundW[] =
|
2008-06-18 00:12:26 +02:00
|
|
|
{'b','a','c','k','g','r','o','u','n','d',0};
|
2018-08-27 13:44:38 +02:00
|
|
|
static const WCHAR background_attachmentW[] =
|
2014-08-18 17:31:01 +02:00
|
|
|
{'b','a','c','k','g','r','o','u','n','d','-','a','t','t','a','c','h','m','e','n','t',0};
|
2018-09-06 16:15:04 +02:00
|
|
|
static const WCHAR background_clipW[] =
|
|
|
|
{'b','a','c','k','g','r','o','u','n','d','-','c','l','i','p',0};
|
2018-08-27 13:44:38 +02:00
|
|
|
static const WCHAR background_colorW[] =
|
2006-11-17 13:06:30 +01:00
|
|
|
{'b','a','c','k','g','r','o','u','n','d','-','c','o','l','o','r',0};
|
2018-08-27 13:44:38 +02:00
|
|
|
static const WCHAR background_imageW[] =
|
2008-04-28 11:57:06 +02:00
|
|
|
{'b','a','c','k','g','r','o','u','n','d','-','i','m','a','g','e',0};
|
2018-08-27 13:44:38 +02:00
|
|
|
static const WCHAR background_positionW[] =
|
2011-02-25 14:11:16 +01:00
|
|
|
{'b','a','c','k','g','r','o','u','n','d','-','p','o','s','i','t','i','o','n',0};
|
2018-08-27 13:44:38 +02:00
|
|
|
static const WCHAR background_position_xW[] =
|
2009-03-05 10:24:24 +01:00
|
|
|
{'b','a','c','k','g','r','o','u','n','d','-','p','o','s','i','t','i','o','n','-','x',0};
|
2018-08-27 13:44:38 +02:00
|
|
|
static const WCHAR background_position_yW[] =
|
2009-03-05 10:26:36 +01:00
|
|
|
{'b','a','c','k','g','r','o','u','n','d','-','p','o','s','i','t','i','o','n','-','y',0};
|
2018-08-27 13:44:38 +02:00
|
|
|
static const WCHAR background_repeatW[] =
|
2009-02-25 05:50:33 +01:00
|
|
|
{'b','a','c','k','g','r','o','u','n','d','-','r','e','p','e','a','t',0};
|
2018-08-27 13:44:38 +02:00
|
|
|
static const WCHAR borderW[] =
|
2008-10-06 16:50:03 +02:00
|
|
|
{'b','o','r','d','e','r',0};
|
2018-08-27 13:44:38 +02:00
|
|
|
static const WCHAR border_bottomW[] =
|
2009-12-01 21:04:38 +01:00
|
|
|
{'b','o','r','d','e','r','-','b','o','t','t','o','m',0};
|
2018-08-27 13:44:38 +02:00
|
|
|
static const WCHAR border_bottom_colorW[] =
|
2009-09-14 12:57:18 +02:00
|
|
|
{'b','o','r','d','e','r','-','b','o','t','t','o','m','-','c','o','l','o','r',0};
|
2018-08-27 13:44:38 +02:00
|
|
|
static const WCHAR border_bottom_styleW[] =
|
2009-01-13 08:38:32 +01:00
|
|
|
{'b','o','r','d','e','r','-','b','o','t','t','o','m','-','s','t','y','l','e',0};
|
2018-08-27 13:44:38 +02:00
|
|
|
static const WCHAR border_bottom_widthW[] =
|
2009-03-05 10:41:39 +01:00
|
|
|
{'b','o','r','d','e','r','-','b','o','t','t','o','m','-','w','i','d','t','h',0};
|
2019-02-07 18:32:22 +01:00
|
|
|
static const WCHAR border_collapseW[] =
|
|
|
|
{'b','o','r','d','e','r','-','c','o','l','l','a','p','s','e',0};
|
2018-08-27 13:44:38 +02:00
|
|
|
static const WCHAR border_colorW[] =
|
2009-03-03 11:04:49 +01:00
|
|
|
{'b','o','r','d','e','r','-','c','o','l','o','r',0};
|
2018-08-27 13:44:38 +02:00
|
|
|
static const WCHAR border_leftW[] =
|
2007-12-10 20:11:58 +01:00
|
|
|
{'b','o','r','d','e','r','-','l','e','f','t',0};
|
2018-08-27 13:44:38 +02:00
|
|
|
static const WCHAR border_left_colorW[] =
|
2009-09-14 12:41:22 +02:00
|
|
|
{'b','o','r','d','e','r','-','l','e','f','t','-','c','o','l','o','r',0};
|
2018-08-27 13:44:38 +02:00
|
|
|
static const WCHAR border_left_styleW[] =
|
2009-01-13 08:30:17 +01:00
|
|
|
{'b','o','r','d','e','r','-','l','e','f','t','-','s','t','y','l','e',0};
|
2018-08-27 13:44:38 +02:00
|
|
|
static const WCHAR border_left_widthW[] =
|
2009-03-05 10:44:38 +01:00
|
|
|
{'b','o','r','d','e','r','-','l','e','f','t','-','w','i','d','t','h',0};
|
2018-08-27 13:44:38 +02:00
|
|
|
static const WCHAR border_rightW[] =
|
2009-12-01 21:04:38 +01:00
|
|
|
{'b','o','r','d','e','r','-','r','i','g','h','t',0};
|
2018-08-27 13:44:38 +02:00
|
|
|
static const WCHAR border_right_colorW[] =
|
2009-09-14 12:46:39 +02:00
|
|
|
{'b','o','r','d','e','r','-','r','i','g','h','t','-','c','o','l','o','r',0};
|
2018-08-27 13:44:38 +02:00
|
|
|
static const WCHAR border_right_styleW[] =
|
2009-01-13 08:39:23 +01:00
|
|
|
{'b','o','r','d','e','r','-','r','i','g','h','t','-','s','t','y','l','e',0};
|
2018-08-27 13:44:38 +02:00
|
|
|
static const WCHAR border_right_widthW[] =
|
2009-03-05 10:35:50 +01:00
|
|
|
{'b','o','r','d','e','r','-','r','i','g','h','t','-','w','i','d','t','h',0};
|
2019-02-08 16:38:28 +01:00
|
|
|
static const WCHAR border_spacingW[] =
|
|
|
|
{'b','o','r','d','e','r','-','s','p','a','c','i','n','g',0};
|
2018-08-27 13:44:38 +02:00
|
|
|
static const WCHAR border_topW[] =
|
2009-12-01 21:04:38 +01:00
|
|
|
{'b','o','r','d','e','r','-','t','o','p',0};
|
2018-08-27 13:44:38 +02:00
|
|
|
static const WCHAR border_top_colorW[] =
|
2009-09-14 12:44:29 +02:00
|
|
|
{'b','o','r','d','e','r','-','t','o','p','-','c','o','l','o','r',0};
|
2018-08-27 13:44:38 +02:00
|
|
|
static const WCHAR border_styleW[] =
|
2009-03-02 11:58:55 +01:00
|
|
|
{'b','o','r','d','e','r','-','s','t','y','l','e',0};
|
2018-08-27 13:44:38 +02:00
|
|
|
static const WCHAR border_top_styleW[] =
|
2009-01-13 08:40:01 +01:00
|
|
|
{'b','o','r','d','e','r','-','t','o','p','-','s','t','y','l','e',0};
|
2018-08-27 13:44:38 +02:00
|
|
|
static const WCHAR border_top_widthW[] =
|
2009-03-05 10:32:41 +01:00
|
|
|
{'b','o','r','d','e','r','-','t','o','p','-','w','i','d','t','h',0};
|
2018-08-27 13:44:38 +02:00
|
|
|
static const WCHAR border_widthW[] =
|
2008-10-10 12:00:53 +02:00
|
|
|
{'b','o','r','d','e','r','-','w','i','d','t','h',0};
|
2018-08-27 13:44:38 +02:00
|
|
|
static const WCHAR bottomW[] =
|
2009-09-16 07:56:16 +02:00
|
|
|
{'b','o','t','t','o','m',0};
|
2013-11-07 17:01:31 +01:00
|
|
|
/* FIXME: Use unprefixed version (requires Gecko changes). */
|
2018-08-27 13:44:38 +02:00
|
|
|
static const WCHAR box_sizingW[] =
|
2013-11-07 17:01:31 +01:00
|
|
|
{'-','m','o','z','-','b','o','x','-','s','i','z','i','n','g',0};
|
2018-08-27 13:44:38 +02:00
|
|
|
static const WCHAR clearW[] =
|
2012-10-23 13:41:13 +02:00
|
|
|
{'c','l','e','a','r',0};
|
2018-08-27 13:44:38 +02:00
|
|
|
static const WCHAR clipW[] =
|
2011-07-15 15:38:08 +02:00
|
|
|
{'c','l','i','p',0};
|
2018-08-27 13:44:38 +02:00
|
|
|
static const WCHAR colorW[] =
|
2007-09-19 12:41:46 +02:00
|
|
|
{'c','o','l','o','r',0};
|
2018-08-27 13:44:38 +02:00
|
|
|
static const WCHAR cursorW[] =
|
2008-10-06 16:50:46 +02:00
|
|
|
{'c','u','r','s','o','r',0};
|
2018-08-27 13:44:38 +02:00
|
|
|
static const WCHAR directionW[] =
|
2011-07-22 11:40:17 +02:00
|
|
|
{'d','i','r','e','c','t','i','o','n',0};
|
2018-08-27 13:44:38 +02:00
|
|
|
static const WCHAR displayW[] =
|
2007-10-13 04:00:02 +02:00
|
|
|
{'d','i','s','p','l','a','y',0};
|
2018-08-27 13:44:38 +02:00
|
|
|
static const WCHAR filterW[] =
|
2008-10-07 21:45:46 +02:00
|
|
|
{'f','i','l','e','t','e','r',0};
|
2018-08-27 13:44:38 +02:00
|
|
|
static const WCHAR floatW[] =
|
2014-12-15 19:13:13 +01:00
|
|
|
{'f','l','o','a','t',0};
|
2018-08-27 13:44:38 +02:00
|
|
|
static const WCHAR font_familyW[] =
|
2006-11-17 13:05:48 +01:00
|
|
|
{'f','o','n','t','-','f','a','m','i','l','y',0};
|
2018-08-27 13:44:38 +02:00
|
|
|
static const WCHAR font_sizeW[] =
|
2006-11-17 13:07:12 +01:00
|
|
|
{'f','o','n','t','-','s','i','z','e',0};
|
2018-08-27 13:44:38 +02:00
|
|
|
static const WCHAR font_styleW[] =
|
2007-09-19 12:41:46 +02:00
|
|
|
{'f','o','n','t','-','s','t','y','l','e',0};
|
2018-08-27 13:44:38 +02:00
|
|
|
static const WCHAR font_variantW[] =
|
2008-12-11 12:37:18 +01:00
|
|
|
{'f','o','n','t','-','v','a','r','i','a','n','t',0};
|
2018-08-27 13:44:38 +02:00
|
|
|
static const WCHAR font_weightW[] =
|
2007-09-19 12:41:46 +02:00
|
|
|
{'f','o','n','t','-','w','e','i','g','h','t',0};
|
2018-08-27 13:44:38 +02:00
|
|
|
static const WCHAR heightW[] =
|
2008-10-06 16:51:34 +02:00
|
|
|
{'h','e','i','g','h','t',0};
|
2018-08-27 13:44:38 +02:00
|
|
|
static const WCHAR leftW[] =
|
2008-10-06 16:50:28 +02:00
|
|
|
{'l','e','f','t',0};
|
2018-08-27 13:44:38 +02:00
|
|
|
static const WCHAR letter_spacingW[] =
|
2009-08-25 08:17:56 +02:00
|
|
|
{'l','e','t','t','e','r','-','s','p','a','c','i','n','g',0};
|
2018-08-27 13:44:38 +02:00
|
|
|
static const WCHAR line_heightW[] =
|
2009-09-18 12:18:45 +02:00
|
|
|
{'l','i','n','e','-','h','e','i','g','h','t',0};
|
2018-08-27 13:44:38 +02:00
|
|
|
static const WCHAR list_styleW[] =
|
2014-08-20 15:35:43 +02:00
|
|
|
{'l','i','s','t','-','s','t','y','l','e',0};
|
2018-08-27 13:44:38 +02:00
|
|
|
static const WCHAR list_style_typeW[] =
|
2014-03-24 13:47:56 +01:00
|
|
|
{'l','i','s','t','-','s','t','y','l','e','-','t','y','p','e',0};
|
2018-08-27 13:44:38 +02:00
|
|
|
static const WCHAR list_style_positionW[] =
|
2014-08-10 15:14:37 +02:00
|
|
|
{'l','i','s','t','-','s','t','y','l','e','-','p','o','s','i','t','i','o','n',0};
|
2018-08-27 13:44:38 +02:00
|
|
|
static const WCHAR marginW[] =
|
2008-09-11 01:46:32 +02:00
|
|
|
{'m','a','r','g','i','n',0};
|
2018-08-27 13:44:38 +02:00
|
|
|
static const WCHAR margin_bottomW[] =
|
2009-09-16 07:48:43 +02:00
|
|
|
{'m','a','r','g','i','n','-','b','o','t','t','o','m',0};
|
2018-08-27 13:44:38 +02:00
|
|
|
static const WCHAR margin_leftW[] =
|
2007-12-10 20:11:58 +01:00
|
|
|
{'m','a','r','g','i','n','-','l','e','f','t',0};
|
2018-08-27 13:44:38 +02:00
|
|
|
static const WCHAR margin_rightW[] =
|
2007-12-10 20:11:58 +01:00
|
|
|
{'m','a','r','g','i','n','-','r','i','g','h','t',0};
|
2018-08-27 13:44:38 +02:00
|
|
|
static const WCHAR margin_topW[] =
|
2009-09-16 07:46:16 +02:00
|
|
|
{'m','a','r','g','i','n','-','t','o','p',0};
|
2018-08-27 13:44:38 +02:00
|
|
|
static const WCHAR max_heightW[] =
|
2014-11-04 18:36:10 +01:00
|
|
|
{'m','a','x','-','h','e','i','g','h','t',0};
|
2018-08-27 13:44:38 +02:00
|
|
|
static const WCHAR max_widthW[] =
|
2014-11-04 18:32:42 +01:00
|
|
|
{'m','a','x','-','w','i','d','t','h',0};
|
2018-08-27 13:44:38 +02:00
|
|
|
static const WCHAR min_heightW[] =
|
2009-02-17 10:29:58 +01:00
|
|
|
{'m','i','n','-','h','e','i','g','h','t',0};
|
2018-08-27 13:44:38 +02:00
|
|
|
static const WCHAR min_widthW[] =
|
2014-09-02 04:20:01 +02:00
|
|
|
{'m','i','n','-','w','i','d','t','h',0};
|
2018-09-06 16:15:11 +02:00
|
|
|
static const WCHAR opacityW[] =
|
|
|
|
{'o','p','a','c','i','t','y',0};
|
2018-08-27 13:44:38 +02:00
|
|
|
static const WCHAR outlineW[] =
|
2013-09-30 16:05:34 +02:00
|
|
|
{'o','u','t','l','i','n','e',0};
|
2018-08-27 13:44:38 +02:00
|
|
|
static const WCHAR overflowW[] =
|
2008-11-25 11:04:11 +01:00
|
|
|
{'o','v','e','r','f','l','o','w',0};
|
2018-08-27 13:44:38 +02:00
|
|
|
static const WCHAR overflow_xW[] =
|
2012-04-17 12:41:27 +02:00
|
|
|
{'o','v','e','r','f','l','o','w','-','x',0};
|
2018-08-27 13:44:38 +02:00
|
|
|
static const WCHAR overflow_yW[] =
|
2012-04-17 12:41:40 +02:00
|
|
|
{'o','v','e','r','f','l','o','w','-','y',0};
|
2018-08-27 13:44:38 +02:00
|
|
|
static const WCHAR paddingW[] =
|
2010-11-29 00:18:48 +01:00
|
|
|
{'p','a','d','d','i','n','g',0};
|
2018-08-27 13:44:38 +02:00
|
|
|
static const WCHAR padding_bottomW[] =
|
2009-09-14 13:15:31 +02:00
|
|
|
{'p','a','d','d','i','n','g','-','b','o','t','t','o','m',0};
|
2018-08-27 13:44:38 +02:00
|
|
|
static const WCHAR padding_leftW[] =
|
2007-12-10 20:11:58 +01:00
|
|
|
{'p','a','d','d','i','n','g','-','l','e','f','t',0};
|
2018-08-27 13:44:38 +02:00
|
|
|
static const WCHAR padding_rightW[] =
|
2009-09-14 13:13:12 +02:00
|
|
|
{'p','a','d','d','i','n','g','-','r','i','g','h','t',0};
|
2018-08-27 13:44:38 +02:00
|
|
|
static const WCHAR padding_topW[] =
|
2009-09-14 13:05:54 +02:00
|
|
|
{'p','a','d','d','i','n','g','-','t','o','p',0};
|
2018-08-27 13:44:38 +02:00
|
|
|
static const WCHAR page_break_afterW[] =
|
2011-07-18 13:39:37 +02:00
|
|
|
{'p','a','g','e','-','b','r','e','a','k','-','a','f','t','e','r',0};
|
2018-08-27 13:44:38 +02:00
|
|
|
static const WCHAR page_break_beforeW[] =
|
2011-07-21 12:26:37 +02:00
|
|
|
{'p','a','g','e','-','b','r','e','a','k','-','b','e','f','o','r','e',0};
|
2018-08-27 13:44:38 +02:00
|
|
|
static const WCHAR positionW[] =
|
2008-10-06 16:52:06 +02:00
|
|
|
{'p','o','s','i','t','i','o','n',0};
|
2018-08-27 13:44:38 +02:00
|
|
|
static const WCHAR rightW[] =
|
2009-09-16 07:52:36 +02:00
|
|
|
{'r','i','g','h','t',0};
|
2018-08-27 13:44:38 +02:00
|
|
|
static const WCHAR table_layoutW[] =
|
2014-08-18 17:30:46 +02:00
|
|
|
{'t','a','b','l','e','-','l','a','y','o','u','t',0};
|
2018-08-27 13:44:38 +02:00
|
|
|
static const WCHAR text_alignW[] =
|
2008-10-07 21:45:31 +02:00
|
|
|
{'t','e','x','t','-','a','l','i','g','n',0};
|
2018-08-27 13:44:38 +02:00
|
|
|
static const WCHAR text_decorationW[] =
|
2007-09-19 12:42:10 +02:00
|
|
|
{'t','e','x','t','-','d','e','c','o','r','a','t','i','o','n',0};
|
2018-08-27 13:44:38 +02:00
|
|
|
static const WCHAR text_indentW[] =
|
2009-09-18 12:21:56 +02:00
|
|
|
{'t','e','x','t','-','i','n','d','e','n','t',0};
|
2018-08-27 13:44:38 +02:00
|
|
|
static const WCHAR text_transformW[] =
|
2014-07-31 06:22:25 +02:00
|
|
|
{'t','e','x','t','-','t','r','a','n','s','f','o','r','m',0};
|
2018-08-27 13:44:38 +02:00
|
|
|
static const WCHAR topW[] =
|
2008-10-06 16:51:04 +02:00
|
|
|
{'t','o','p',0};
|
2018-08-27 13:44:38 +02:00
|
|
|
static const WCHAR vertical_alignW[] =
|
2008-10-06 16:51:21 +02:00
|
|
|
{'v','e','r','t','i','c','a','l','-','a','l','i','g','n',0};
|
2018-08-27 13:44:38 +02:00
|
|
|
static const WCHAR visibilityW[] =
|
2007-10-13 04:00:02 +02:00
|
|
|
{'v','i','s','i','b','i','l','i','t','y',0};
|
2018-08-27 13:44:38 +02:00
|
|
|
static const WCHAR white_spaceW[] =
|
2013-08-28 17:51:08 +02:00
|
|
|
{'w','h','i','t','e','-','s','p','a','c','e',0};
|
2018-08-27 13:44:38 +02:00
|
|
|
static const WCHAR widthW[] =
|
2008-06-30 21:39:52 +02:00
|
|
|
{'w','i','d','t','h',0};
|
2018-08-27 13:44:38 +02:00
|
|
|
static const WCHAR word_spacingW[] =
|
2009-08-21 12:55:29 +02:00
|
|
|
{'w','o','r','d','-','s','p','a','c','i','n','g',0};
|
2018-08-27 13:44:38 +02:00
|
|
|
static const WCHAR word_wrapW[] =
|
2009-08-02 00:09:49 +02:00
|
|
|
{'w','o','r','d','-','w','r','a','p',0};
|
2018-08-27 13:44:38 +02:00
|
|
|
static const WCHAR z_indexW[] =
|
2008-10-07 21:45:05 +02:00
|
|
|
{'z','-','i','n','d','e','x',0};
|
2007-09-19 12:42:10 +02:00
|
|
|
|
2018-08-28 12:45:21 +02:00
|
|
|
static const WCHAR autoW[] = {'a','u','t','o',0};
|
2018-08-28 12:44:40 +02:00
|
|
|
static const WCHAR blinkW[] = {'b','l','i','n','k',0};
|
2018-08-28 12:44:16 +02:00
|
|
|
static const WCHAR boldW[] = {'b','o','l','d',0};
|
|
|
|
static const WCHAR bolderW[] = {'b','o','l','d','e','r',0};
|
2018-08-28 12:44:03 +02:00
|
|
|
static const WCHAR capsW[] = {'s','m','a','l','l','-','c','a','p','s',0};
|
2018-08-28 12:44:57 +02:00
|
|
|
static const WCHAR dashedW[] = {'d','a','s','h','e','d',0};
|
|
|
|
static const WCHAR dottedW[] = {'d','o','t','t','e','d',0};
|
|
|
|
static const WCHAR doubleW[] = {'d','o','u','b','l','e',0};
|
|
|
|
static const WCHAR grooveW[] = {'g','r','o','o','v','e',0};
|
2018-08-28 12:45:21 +02:00
|
|
|
static const WCHAR hiddenW[] = {'h','i','d','d','e','n',0};
|
2018-08-28 12:44:57 +02:00
|
|
|
static const WCHAR insetW[] = {'i','n','s','e','t',0};
|
2018-08-28 12:43:45 +02:00
|
|
|
static const WCHAR italicW[] = {'i','t','a','l','i','c',0};
|
2018-08-28 12:44:16 +02:00
|
|
|
static const WCHAR lighterW[] = {'l','i','g','h','t','e','r',0};
|
2018-08-28 12:44:40 +02:00
|
|
|
static const WCHAR line_throughW[] = {'l','i','n','e','-','t','h','r','o','u','g','h',0};
|
2018-08-28 12:44:29 +02:00
|
|
|
static const WCHAR no_repeatW[] = {'n','o','-','r','e','p','e','a','t',0};
|
2018-08-28 12:44:40 +02:00
|
|
|
static const WCHAR noneW[] = {'n','o','n','e',0};
|
2018-08-28 12:43:45 +02:00
|
|
|
static const WCHAR normalW[] = {'n','o','r','m','a','l',0};
|
|
|
|
static const WCHAR obliqueW[] = {'o','b','l','i','q','u','e',0};
|
2018-08-28 12:44:57 +02:00
|
|
|
static const WCHAR outsetW[] = {'o','u','t','s','e','t',0};
|
2018-08-28 12:44:40 +02:00
|
|
|
static const WCHAR overlineW[] = {'o','v','e','r','l','i','n','e',0};
|
2018-08-28 12:44:29 +02:00
|
|
|
static const WCHAR repeatW[] = {'r','e','p','e','a','t',0};
|
|
|
|
static const WCHAR repeat_xW[] = {'r','e','p','e','a','t','-','x',0};
|
|
|
|
static const WCHAR repeat_yW[] = {'r','e','p','e','a','t','-','y',0};
|
2018-08-28 12:44:57 +02:00
|
|
|
static const WCHAR ridgeW[] = {'r','i','d','g','e',0};
|
2018-08-28 12:45:21 +02:00
|
|
|
static const WCHAR scrollW[] = {'s','c','r','o','l','l',0};
|
2018-08-28 12:44:57 +02:00
|
|
|
static const WCHAR solidW[] = {'s','o','l','i','d',0};
|
2018-08-28 12:44:40 +02:00
|
|
|
static const WCHAR underlineW[] = {'u','n','d','e','r','l','i','n','e',0};
|
2018-08-28 12:45:21 +02:00
|
|
|
static const WCHAR visibleW[] = {'v','i','s','i','b','l','e',0};
|
2018-08-28 12:43:45 +02:00
|
|
|
|
2018-08-28 12:44:16 +02:00
|
|
|
static const WCHAR style100W[] = {'1','0','0',0};
|
|
|
|
static const WCHAR style200W[] = {'2','0','0',0};
|
|
|
|
static const WCHAR style300W[] = {'3','0','0',0};
|
|
|
|
static const WCHAR style400W[] = {'4','0','0',0};
|
|
|
|
static const WCHAR style500W[] = {'5','0','0',0};
|
|
|
|
static const WCHAR style600W[] = {'6','0','0',0};
|
|
|
|
static const WCHAR style700W[] = {'7','0','0',0};
|
|
|
|
static const WCHAR style800W[] = {'8','0','0',0};
|
|
|
|
static const WCHAR style900W[] = {'9','0','0',0};
|
|
|
|
|
2018-08-28 12:43:45 +02:00
|
|
|
static const WCHAR *font_style_values[] = {
|
|
|
|
italicW,
|
|
|
|
normalW,
|
|
|
|
obliqueW,
|
|
|
|
NULL
|
|
|
|
};
|
|
|
|
|
2018-08-28 12:44:03 +02:00
|
|
|
static const WCHAR *font_variant_values[] = {
|
|
|
|
capsW,
|
|
|
|
normalW,
|
|
|
|
NULL
|
|
|
|
};
|
|
|
|
|
2018-08-28 12:44:16 +02:00
|
|
|
static const WCHAR *font_weight_values[] = {
|
|
|
|
style100W,
|
|
|
|
style200W,
|
|
|
|
style300W,
|
|
|
|
style400W,
|
|
|
|
style500W,
|
|
|
|
style600W,
|
|
|
|
style700W,
|
|
|
|
style800W,
|
|
|
|
style900W,
|
|
|
|
boldW,
|
|
|
|
bolderW,
|
|
|
|
lighterW,
|
|
|
|
normalW,
|
|
|
|
NULL
|
|
|
|
};
|
|
|
|
|
2018-08-28 12:44:29 +02:00
|
|
|
static const WCHAR *background_repeat_values[] = {
|
|
|
|
no_repeatW,
|
|
|
|
repeatW,
|
|
|
|
repeat_xW,
|
|
|
|
repeat_yW,
|
|
|
|
NULL
|
|
|
|
};
|
|
|
|
|
2018-08-28 12:44:40 +02:00
|
|
|
static const WCHAR *text_decoration_values[] = {
|
|
|
|
blinkW,
|
|
|
|
line_throughW,
|
|
|
|
noneW,
|
|
|
|
overlineW,
|
|
|
|
underlineW,
|
|
|
|
NULL
|
|
|
|
};
|
|
|
|
|
2018-08-28 12:44:57 +02:00
|
|
|
static const WCHAR *border_style_values[] = {
|
|
|
|
dashedW,
|
|
|
|
dottedW,
|
|
|
|
doubleW,
|
|
|
|
grooveW,
|
|
|
|
insetW,
|
|
|
|
noneW,
|
|
|
|
outsetW,
|
|
|
|
ridgeW,
|
|
|
|
solidW,
|
|
|
|
NULL
|
|
|
|
};
|
|
|
|
|
2018-08-28 12:45:21 +02:00
|
|
|
static const WCHAR *overflow_values[] = {
|
|
|
|
autoW,
|
|
|
|
hiddenW,
|
|
|
|
scrollW,
|
|
|
|
visibleW,
|
|
|
|
NULL
|
|
|
|
};
|
|
|
|
|
2018-08-27 13:47:19 +02:00
|
|
|
#define ATTR_FIX_PX 0x0001
|
|
|
|
#define ATTR_FIX_URL 0x0002
|
|
|
|
#define ATTR_STR_TO_INT 0x0004
|
|
|
|
#define ATTR_HEX_INT 0x0008
|
|
|
|
#define ATTR_REMOVE_COMMA 0x0010
|
|
|
|
#define ATTR_NO_NULL 0x0020
|
2013-01-07 14:32:56 +01:00
|
|
|
|
|
|
|
static const WCHAR pxW[] = {'p','x',0};
|
|
|
|
|
2012-04-16 13:48:55 +02:00
|
|
|
typedef struct {
|
2008-10-07 21:45:21 +02:00
|
|
|
const WCHAR *name;
|
|
|
|
DISPID dispid;
|
2018-09-12 21:16:04 +02:00
|
|
|
DISPID compat_dispid;
|
2018-08-27 13:44:38 +02:00
|
|
|
unsigned flags;
|
2018-08-28 12:43:45 +02:00
|
|
|
const WCHAR **allowed_values;
|
2012-04-16 13:48:55 +02:00
|
|
|
} style_tbl_entry_t;
|
|
|
|
|
|
|
|
static const style_tbl_entry_t style_tbl[] = {
|
2018-09-12 21:16:04 +02:00
|
|
|
{
|
|
|
|
backgroundW,
|
|
|
|
DISPID_IHTMLCSSSTYLEDECLARATION_BACKGROUND,
|
2019-03-26 17:27:10 +01:00
|
|
|
DISPID_A_BACKGROUND
|
2018-09-12 21:16:04 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
background_attachmentW,
|
|
|
|
DISPID_IHTMLCSSSTYLEDECLARATION_BACKGROUNDATTACHMENT,
|
2019-03-26 17:27:10 +01:00
|
|
|
DISPID_A_BACKGROUNDATTACHMENT
|
2018-09-12 21:16:04 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
background_clipW,
|
|
|
|
DISPID_IHTMLCSSSTYLEDECLARATION_BACKGROUNDCLIP,
|
|
|
|
DISPID_UNKNOWN
|
|
|
|
},
|
|
|
|
{
|
|
|
|
background_colorW,
|
|
|
|
DISPID_IHTMLCSSSTYLEDECLARATION_BACKGROUNDCOLOR,
|
2019-03-26 17:27:10 +01:00
|
|
|
DISPID_BACKCOLOR,
|
2018-09-12 21:16:04 +02:00
|
|
|
ATTR_HEX_INT
|
|
|
|
},
|
|
|
|
{
|
|
|
|
background_imageW,
|
|
|
|
DISPID_IHTMLCSSSTYLEDECLARATION_BACKGROUNDIMAGE,
|
2019-03-26 17:27:10 +01:00
|
|
|
DISPID_A_BACKGROUNDIMAGE,
|
2018-09-12 21:16:04 +02:00
|
|
|
ATTR_FIX_URL
|
|
|
|
},
|
|
|
|
{
|
|
|
|
background_positionW,
|
|
|
|
DISPID_IHTMLCSSSTYLEDECLARATION_BACKGROUNDPOSITION,
|
2019-03-26 17:27:10 +01:00
|
|
|
DISPID_A_BACKGROUNDPOSITION
|
2018-09-12 21:16:04 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
background_position_xW,
|
|
|
|
DISPID_IHTMLCSSSTYLEDECLARATION_BACKGROUNDPOSITIONX,
|
2019-03-26 17:27:10 +01:00
|
|
|
DISPID_A_BACKGROUNDPOSX,
|
2018-09-12 21:16:04 +02:00
|
|
|
ATTR_FIX_PX
|
|
|
|
},
|
|
|
|
{
|
|
|
|
background_position_yW,
|
|
|
|
DISPID_IHTMLCSSSTYLEDECLARATION_BACKGROUNDPOSITIONY,
|
2019-03-26 17:27:10 +01:00
|
|
|
DISPID_A_BACKGROUNDPOSY,
|
2018-09-12 21:16:04 +02:00
|
|
|
ATTR_FIX_PX
|
|
|
|
},
|
|
|
|
{
|
|
|
|
background_repeatW,
|
|
|
|
DISPID_IHTMLCSSSTYLEDECLARATION_BACKGROUNDREPEAT,
|
2019-03-26 17:27:10 +01:00
|
|
|
DISPID_A_BACKGROUNDREPEAT,
|
2018-09-12 21:16:04 +02:00
|
|
|
0, background_repeat_values
|
|
|
|
},
|
|
|
|
{
|
|
|
|
borderW,
|
|
|
|
DISPID_IHTMLCSSSTYLEDECLARATION_BORDER,
|
2019-03-26 17:27:10 +01:00
|
|
|
DISPID_A_BORDER
|
2018-09-12 21:16:04 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
border_bottomW,
|
|
|
|
DISPID_IHTMLCSSSTYLEDECLARATION_BORDERBOTTOM,
|
2019-03-26 17:27:10 +01:00
|
|
|
DISPID_A_BORDERBOTTOM,
|
2018-09-12 21:16:04 +02:00
|
|
|
ATTR_FIX_PX
|
|
|
|
},
|
|
|
|
{
|
|
|
|
border_bottom_colorW,
|
|
|
|
DISPID_IHTMLCSSSTYLEDECLARATION_BORDERBOTTOMCOLOR,
|
2019-03-26 17:27:10 +01:00
|
|
|
DISPID_A_BORDERBOTTOMCOLOR,
|
2018-09-12 21:16:04 +02:00
|
|
|
ATTR_HEX_INT
|
|
|
|
},
|
|
|
|
{
|
|
|
|
border_bottom_styleW,
|
|
|
|
DISPID_IHTMLCSSSTYLEDECLARATION_BORDERBOTTOMSTYLE,
|
2019-03-26 17:27:10 +01:00
|
|
|
DISPID_A_BORDERBOTTOMSTYLE,
|
2018-09-12 21:16:04 +02:00
|
|
|
0, border_style_values
|
|
|
|
},
|
|
|
|
{
|
|
|
|
border_bottom_widthW,
|
|
|
|
DISPID_IHTMLCSSSTYLEDECLARATION_BORDERBOTTOMWIDTH,
|
2019-03-26 17:27:10 +01:00
|
|
|
DISPID_A_BORDERBOTTOMWIDTH,
|
2018-09-12 21:16:04 +02:00
|
|
|
ATTR_FIX_PX
|
|
|
|
},
|
2019-02-07 18:32:22 +01:00
|
|
|
{
|
|
|
|
border_collapseW,
|
|
|
|
DISPID_IHTMLCSSSTYLEDECLARATION_BORDERCOLLAPSE,
|
2019-03-26 17:27:10 +01:00
|
|
|
DISPID_A_BORDERCOLLAPSE
|
2019-02-07 18:32:22 +01:00
|
|
|
},
|
2018-09-12 21:16:04 +02:00
|
|
|
{
|
|
|
|
border_colorW,
|
|
|
|
DISPID_IHTMLCSSSTYLEDECLARATION_BORDERCOLOR,
|
2019-03-26 17:27:10 +01:00
|
|
|
DISPID_A_BORDERCOLOR
|
2018-09-12 21:16:04 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
border_leftW,
|
|
|
|
DISPID_IHTMLCSSSTYLEDECLARATION_BORDERLEFT,
|
2019-03-26 17:27:10 +01:00
|
|
|
DISPID_A_BORDERLEFT,
|
2018-09-12 21:16:04 +02:00
|
|
|
ATTR_FIX_PX
|
|
|
|
},
|
|
|
|
{
|
|
|
|
border_left_colorW,
|
|
|
|
DISPID_IHTMLCSSSTYLEDECLARATION_BORDERLEFTCOLOR,
|
2019-03-26 17:27:10 +01:00
|
|
|
DISPID_A_BORDERLEFTCOLOR,
|
2018-09-12 21:16:04 +02:00
|
|
|
ATTR_HEX_INT
|
|
|
|
},
|
|
|
|
{
|
|
|
|
border_left_styleW,
|
|
|
|
DISPID_IHTMLCSSSTYLEDECLARATION_BORDERLEFTSTYLE,
|
2019-03-26 17:27:10 +01:00
|
|
|
DISPID_A_BORDERLEFTSTYLE,
|
2018-09-12 21:16:04 +02:00
|
|
|
0, border_style_values
|
|
|
|
},
|
|
|
|
{
|
|
|
|
border_left_widthW,
|
|
|
|
DISPID_IHTMLCSSSTYLEDECLARATION_BORDERLEFTWIDTH,
|
2019-03-26 17:27:10 +01:00
|
|
|
DISPID_A_BORDERLEFTWIDTH,
|
2018-09-12 21:16:04 +02:00
|
|
|
ATTR_FIX_PX
|
|
|
|
},
|
|
|
|
{
|
|
|
|
border_rightW,
|
|
|
|
DISPID_IHTMLCSSSTYLEDECLARATION_BORDERRIGHT,
|
2019-03-26 17:27:10 +01:00
|
|
|
DISPID_A_BORDERRIGHT,
|
2018-09-12 21:16:04 +02:00
|
|
|
ATTR_FIX_PX
|
|
|
|
},
|
|
|
|
{
|
|
|
|
border_right_colorW,
|
|
|
|
DISPID_IHTMLCSSSTYLEDECLARATION_BORDERRIGHTCOLOR,
|
2019-03-26 17:27:10 +01:00
|
|
|
DISPID_A_BORDERRIGHTCOLOR,
|
2018-09-12 21:16:04 +02:00
|
|
|
ATTR_HEX_INT
|
|
|
|
},
|
|
|
|
{
|
|
|
|
border_right_styleW,
|
|
|
|
DISPID_IHTMLCSSSTYLEDECLARATION_BORDERRIGHTSTYLE,
|
2019-03-26 17:27:10 +01:00
|
|
|
DISPID_A_BORDERRIGHTSTYLE,
|
2018-09-12 21:16:04 +02:00
|
|
|
0, border_style_values
|
|
|
|
},
|
|
|
|
{
|
|
|
|
border_right_widthW,
|
|
|
|
DISPID_IHTMLCSSSTYLEDECLARATION_BORDERRIGHTWIDTH,
|
2019-03-26 17:27:10 +01:00
|
|
|
DISPID_A_BORDERRIGHTWIDTH,
|
2018-09-12 21:16:04 +02:00
|
|
|
ATTR_FIX_PX
|
|
|
|
},
|
2019-02-08 16:38:28 +01:00
|
|
|
{
|
|
|
|
border_spacingW,
|
|
|
|
DISPID_IHTMLCSSSTYLEDECLARATION_BORDERSPACING,
|
2019-03-26 17:27:10 +01:00
|
|
|
DISPID_A_BORDERSPACING
|
2019-02-08 16:38:28 +01:00
|
|
|
},
|
2018-09-12 21:16:04 +02:00
|
|
|
{
|
|
|
|
border_styleW,
|
|
|
|
DISPID_IHTMLCSSSTYLEDECLARATION_BORDERSTYLE,
|
2019-03-26 17:27:10 +01:00
|
|
|
DISPID_A_BORDERSTYLE
|
2018-09-12 21:16:04 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
border_topW,
|
|
|
|
DISPID_IHTMLCSSSTYLEDECLARATION_BORDERTOP,
|
2019-03-26 17:27:10 +01:00
|
|
|
DISPID_A_BORDERTOP,
|
2018-09-12 21:16:04 +02:00
|
|
|
ATTR_FIX_PX
|
|
|
|
},
|
|
|
|
{
|
|
|
|
border_top_colorW,
|
|
|
|
DISPID_IHTMLCSSSTYLEDECLARATION_BORDERTOPCOLOR,
|
2019-03-26 17:27:10 +01:00
|
|
|
DISPID_A_BORDERTOPCOLOR,
|
2018-09-12 21:16:04 +02:00
|
|
|
ATTR_HEX_INT
|
|
|
|
},
|
|
|
|
{
|
|
|
|
border_top_styleW,
|
|
|
|
DISPID_IHTMLCSSSTYLEDECLARATION_BORDERTOPSTYLE,
|
2019-03-26 17:27:10 +01:00
|
|
|
DISPID_A_BORDERTOPSTYLE,
|
2018-09-12 21:16:04 +02:00
|
|
|
0, border_style_values
|
|
|
|
},
|
|
|
|
{
|
|
|
|
border_top_widthW,
|
|
|
|
DISPID_IHTMLCSSSTYLEDECLARATION_BORDERTOPWIDTH,
|
2019-03-26 17:27:10 +01:00
|
|
|
DISPID_A_BORDERTOPWIDTH
|
2018-09-12 21:16:04 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
border_widthW,
|
|
|
|
DISPID_IHTMLCSSSTYLEDECLARATION_BORDERWIDTH,
|
2019-03-26 17:27:10 +01:00
|
|
|
DISPID_A_BORDERWIDTH
|
2018-09-12 21:16:04 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
bottomW,
|
|
|
|
DISPID_IHTMLCSSSTYLEDECLARATION_BOTTOM,
|
2019-03-26 17:27:10 +01:00
|
|
|
STDPROPID_XOBJ_BOTTOM,
|
2018-09-12 21:16:04 +02:00
|
|
|
ATTR_FIX_PX
|
|
|
|
},
|
|
|
|
{
|
|
|
|
box_sizingW,
|
|
|
|
DISPID_IHTMLCSSSTYLEDECLARATION_BOXSIZING,
|
2019-03-26 17:27:10 +01:00
|
|
|
DISPID_A_BOXSIZING
|
2018-09-12 21:16:04 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
clearW,
|
|
|
|
DISPID_IHTMLCSSSTYLEDECLARATION_CLEAR,
|
2019-03-26 17:27:10 +01:00
|
|
|
DISPID_A_CLEAR
|
2018-09-12 21:16:04 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
clipW,
|
|
|
|
DISPID_IHTMLCSSSTYLEDECLARATION_CLIP,
|
2019-03-26 17:27:10 +01:00
|
|
|
DISPID_A_CLIP,
|
2018-09-12 21:16:04 +02:00
|
|
|
ATTR_REMOVE_COMMA
|
|
|
|
},
|
|
|
|
{
|
|
|
|
colorW,
|
|
|
|
DISPID_IHTMLCSSSTYLEDECLARATION_COLOR,
|
2019-03-26 17:27:10 +01:00
|
|
|
DISPID_A_COLOR,
|
2018-09-12 21:16:04 +02:00
|
|
|
ATTR_HEX_INT
|
|
|
|
},
|
|
|
|
{
|
|
|
|
cursorW,
|
|
|
|
DISPID_IHTMLCSSSTYLEDECLARATION_CURSOR,
|
2019-03-26 17:27:10 +01:00
|
|
|
DISPID_A_CURSOR
|
2018-09-12 21:16:04 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
directionW,
|
|
|
|
DISPID_IHTMLCSSSTYLEDECLARATION_DIRECTION,
|
2019-03-26 17:27:10 +01:00
|
|
|
DISPID_A_DIRECTION
|
2018-09-12 21:16:04 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
displayW,
|
|
|
|
DISPID_IHTMLCSSSTYLEDECLARATION_DISPLAY,
|
2019-03-26 17:27:10 +01:00
|
|
|
DISPID_A_DISPLAY
|
2018-09-12 21:16:04 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
filterW,
|
|
|
|
DISPID_IHTMLCSSSTYLEDECLARATION_FILTER,
|
2019-03-26 17:27:10 +01:00
|
|
|
DISPID_A_FILTER
|
2018-09-12 21:16:04 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
floatW,
|
|
|
|
DISPID_IHTMLCSSSTYLEDECLARATION_CSSFLOAT,
|
2019-03-26 17:27:10 +01:00
|
|
|
DISPID_A_FLOAT
|
2018-09-12 21:16:04 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
font_familyW,
|
|
|
|
DISPID_IHTMLCSSSTYLEDECLARATION_FONTFAMILY,
|
2019-03-26 17:27:10 +01:00
|
|
|
DISPID_A_FONTFACE
|
2018-09-12 21:16:04 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
font_sizeW,
|
|
|
|
DISPID_IHTMLCSSSTYLEDECLARATION_FONTSIZE,
|
2019-03-26 17:27:10 +01:00
|
|
|
DISPID_A_FONTSIZE,
|
2018-09-12 21:16:04 +02:00
|
|
|
ATTR_FIX_PX
|
|
|
|
},
|
|
|
|
{
|
|
|
|
font_styleW,
|
|
|
|
DISPID_IHTMLCSSSTYLEDECLARATION_FONTSTYLE,
|
2019-03-26 17:27:10 +01:00
|
|
|
DISPID_A_FONTSTYLE,
|
2018-09-12 21:16:04 +02:00
|
|
|
0, font_style_values
|
|
|
|
},
|
|
|
|
{
|
|
|
|
font_variantW,
|
|
|
|
DISPID_IHTMLCSSSTYLEDECLARATION_FONTVARIANT,
|
2019-03-26 17:27:10 +01:00
|
|
|
DISPID_A_FONTVARIANT,
|
2018-09-12 21:16:04 +02:00
|
|
|
0, font_variant_values
|
|
|
|
},
|
|
|
|
{
|
|
|
|
font_weightW,
|
|
|
|
DISPID_IHTMLCSSSTYLEDECLARATION_FONTWEIGHT,
|
2019-03-26 17:27:10 +01:00
|
|
|
DISPID_A_FONTWEIGHT,
|
2018-09-12 21:16:04 +02:00
|
|
|
ATTR_STR_TO_INT, font_weight_values
|
|
|
|
},
|
|
|
|
{
|
|
|
|
heightW,
|
|
|
|
DISPID_IHTMLCSSSTYLEDECLARATION_HEIGHT,
|
2019-03-26 17:27:10 +01:00
|
|
|
STDPROPID_XOBJ_HEIGHT,
|
2018-09-12 21:16:04 +02:00
|
|
|
ATTR_FIX_PX
|
|
|
|
},
|
|
|
|
{
|
|
|
|
leftW,
|
|
|
|
DISPID_IHTMLCSSSTYLEDECLARATION_LEFT,
|
2019-03-26 17:27:10 +01:00
|
|
|
STDPROPID_XOBJ_LEFT
|
2018-09-12 21:16:04 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
letter_spacingW,
|
|
|
|
DISPID_IHTMLCSSSTYLEDECLARATION_LETTERSPACING,
|
2019-03-26 17:27:10 +01:00
|
|
|
DISPID_A_LETTERSPACING
|
2018-09-12 21:16:04 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
line_heightW,
|
|
|
|
DISPID_IHTMLCSSSTYLEDECLARATION_LINEHEIGHT,
|
2019-03-26 17:27:10 +01:00
|
|
|
DISPID_A_LINEHEIGHT
|
2018-09-12 21:16:04 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
list_styleW,
|
|
|
|
DISPID_IHTMLCSSSTYLEDECLARATION_LISTSTYLE,
|
2019-03-26 17:27:10 +01:00
|
|
|
DISPID_A_LISTSTYLE
|
2018-09-12 21:16:04 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
list_style_positionW,
|
|
|
|
DISPID_IHTMLCSSSTYLEDECLARATION_LISTSTYLEPOSITION,
|
2019-03-26 17:27:10 +01:00
|
|
|
DISPID_A_LISTSTYLEPOSITION
|
2018-09-12 21:16:04 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
list_style_typeW,
|
|
|
|
DISPID_IHTMLCSSSTYLEDECLARATION_LISTSTYLETYPE,
|
2019-03-26 17:27:10 +01:00
|
|
|
DISPID_A_LISTSTYLETYPE
|
2018-09-12 21:16:04 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
marginW,
|
|
|
|
DISPID_IHTMLCSSSTYLEDECLARATION_MARGIN,
|
2019-03-26 17:27:10 +01:00
|
|
|
DISPID_A_MARGIN
|
2018-09-12 21:16:04 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
margin_bottomW,
|
|
|
|
DISPID_IHTMLCSSSTYLEDECLARATION_MARGINBOTTOM,
|
2019-03-26 17:27:10 +01:00
|
|
|
DISPID_A_MARGINBOTTOM,
|
2018-09-12 21:16:04 +02:00
|
|
|
ATTR_FIX_PX
|
|
|
|
},
|
|
|
|
{
|
|
|
|
margin_leftW,
|
|
|
|
DISPID_IHTMLCSSSTYLEDECLARATION_MARGINLEFT,
|
2019-03-26 17:27:10 +01:00
|
|
|
DISPID_A_MARGINLEFT,
|
2018-09-12 21:16:04 +02:00
|
|
|
ATTR_FIX_PX
|
|
|
|
},
|
|
|
|
{
|
|
|
|
margin_rightW,
|
|
|
|
DISPID_IHTMLCSSSTYLEDECLARATION_MARGINRIGHT,
|
2019-03-26 17:27:10 +01:00
|
|
|
DISPID_A_MARGINRIGHT,
|
2018-09-12 21:16:04 +02:00
|
|
|
ATTR_FIX_PX
|
|
|
|
},
|
|
|
|
{
|
|
|
|
margin_topW,
|
|
|
|
DISPID_IHTMLCSSSTYLEDECLARATION_MARGINTOP,
|
2019-03-26 17:27:10 +01:00
|
|
|
DISPID_A_MARGINTOP,
|
2018-09-12 21:16:04 +02:00
|
|
|
ATTR_FIX_PX
|
|
|
|
},
|
|
|
|
{
|
|
|
|
max_heightW,
|
|
|
|
DISPID_IHTMLCSSSTYLEDECLARATION_MAXHEIGHT,
|
2019-03-26 17:27:10 +01:00
|
|
|
DISPID_A_MAXHEIGHT,
|
2018-09-12 21:16:04 +02:00
|
|
|
ATTR_FIX_PX
|
|
|
|
},
|
|
|
|
{
|
|
|
|
max_widthW,
|
|
|
|
DISPID_IHTMLCSSSTYLEDECLARATION_MAXWIDTH,
|
2019-03-26 17:27:10 +01:00
|
|
|
DISPID_A_MAXWIDTH,
|
2018-09-12 21:16:04 +02:00
|
|
|
ATTR_FIX_PX
|
|
|
|
},
|
|
|
|
{
|
|
|
|
min_heightW,
|
|
|
|
DISPID_IHTMLCSSSTYLEDECLARATION_MINHEIGHT,
|
2019-03-26 17:27:10 +01:00
|
|
|
DISPID_A_MINHEIGHT
|
2018-09-12 21:16:04 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
min_widthW,
|
|
|
|
DISPID_IHTMLCSSSTYLEDECLARATION_MINWIDTH,
|
2019-03-26 17:27:10 +01:00
|
|
|
DISPID_A_MINWIDTH,
|
2018-09-12 21:16:04 +02:00
|
|
|
ATTR_FIX_PX
|
|
|
|
},
|
|
|
|
{
|
|
|
|
opacityW,
|
|
|
|
DISPID_IHTMLCSSSTYLEDECLARATION_OPACITY,
|
|
|
|
DISPID_UNKNOWN
|
|
|
|
},
|
|
|
|
{
|
|
|
|
outlineW,
|
|
|
|
DISPID_IHTMLCSSSTYLEDECLARATION_OUTLINE,
|
2019-03-26 17:27:10 +01:00
|
|
|
DISPID_A_OUTLINE,
|
2018-09-12 21:16:04 +02:00
|
|
|
ATTR_NO_NULL
|
|
|
|
},
|
|
|
|
{
|
|
|
|
overflowW,
|
|
|
|
DISPID_IHTMLCSSSTYLEDECLARATION_OVERFLOW,
|
2019-03-26 17:27:10 +01:00
|
|
|
DISPID_A_OVERFLOW,
|
2018-09-12 21:16:04 +02:00
|
|
|
0, overflow_values
|
|
|
|
},
|
|
|
|
{
|
|
|
|
overflow_xW,
|
|
|
|
DISPID_IHTMLCSSSTYLEDECLARATION_OVERFLOWX,
|
2019-03-26 17:27:10 +01:00
|
|
|
DISPID_A_OVERFLOWX
|
2018-09-12 21:16:04 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
overflow_yW,
|
|
|
|
DISPID_IHTMLCSSSTYLEDECLARATION_OVERFLOWY,
|
2019-03-26 17:27:10 +01:00
|
|
|
DISPID_A_OVERFLOWY
|
2018-09-12 21:16:04 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
paddingW,
|
|
|
|
DISPID_IHTMLCSSSTYLEDECLARATION_PADDING,
|
2019-03-26 17:27:10 +01:00
|
|
|
DISPID_A_PADDING
|
2018-09-12 21:16:04 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
padding_bottomW,
|
|
|
|
DISPID_IHTMLCSSSTYLEDECLARATION_PADDINGBOTTOM,
|
2019-03-26 17:27:10 +01:00
|
|
|
DISPID_A_PADDINGBOTTOM,
|
2018-09-12 21:16:04 +02:00
|
|
|
ATTR_FIX_PX
|
|
|
|
},
|
|
|
|
{
|
|
|
|
padding_leftW,
|
|
|
|
DISPID_IHTMLCSSSTYLEDECLARATION_PADDINGLEFT,
|
2019-03-26 17:27:10 +01:00
|
|
|
DISPID_A_PADDINGLEFT,
|
2018-09-12 21:16:04 +02:00
|
|
|
ATTR_FIX_PX
|
|
|
|
},
|
|
|
|
{
|
|
|
|
padding_rightW,
|
|
|
|
DISPID_IHTMLCSSSTYLEDECLARATION_PADDINGRIGHT,
|
2019-03-26 17:27:10 +01:00
|
|
|
DISPID_A_PADDINGRIGHT,
|
2018-09-12 21:16:04 +02:00
|
|
|
ATTR_FIX_PX
|
|
|
|
},
|
|
|
|
{
|
|
|
|
padding_topW,
|
|
|
|
DISPID_IHTMLCSSSTYLEDECLARATION_PADDINGTOP,
|
2019-03-26 17:27:10 +01:00
|
|
|
DISPID_A_PADDINGTOP,
|
2018-09-12 21:16:04 +02:00
|
|
|
ATTR_FIX_PX
|
|
|
|
},
|
|
|
|
{
|
|
|
|
page_break_afterW,
|
|
|
|
DISPID_IHTMLCSSSTYLEDECLARATION_PAGEBREAKAFTER,
|
2019-03-26 17:27:10 +01:00
|
|
|
DISPID_A_PAGEBREAKAFTER
|
2018-09-12 21:16:04 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
page_break_beforeW,
|
|
|
|
DISPID_IHTMLCSSSTYLEDECLARATION_PAGEBREAKBEFORE,
|
2019-03-26 17:27:10 +01:00
|
|
|
DISPID_A_PAGEBREAKBEFORE
|
2018-09-12 21:16:04 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
positionW,
|
|
|
|
DISPID_IHTMLCSSSTYLEDECLARATION_POSITION,
|
2019-03-26 17:27:10 +01:00
|
|
|
DISPID_A_POSITION
|
2018-09-12 21:16:04 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
rightW,
|
|
|
|
DISPID_IHTMLCSSSTYLEDECLARATION_RIGHT,
|
2019-03-26 17:27:10 +01:00
|
|
|
STDPROPID_XOBJ_RIGHT
|
2018-09-12 21:16:04 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
table_layoutW,
|
|
|
|
DISPID_IHTMLCSSSTYLEDECLARATION_TABLELAYOUT,
|
2019-03-26 17:27:10 +01:00
|
|
|
DISPID_A_TABLELAYOUT
|
2018-09-12 21:16:04 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
text_alignW,
|
|
|
|
DISPID_IHTMLCSSSTYLEDECLARATION_TEXTALIGN,
|
2019-03-26 17:27:10 +01:00
|
|
|
STDPROPID_XOBJ_BLOCKALIGN
|
2018-09-12 21:16:04 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
text_decorationW,
|
|
|
|
DISPID_IHTMLCSSSTYLEDECLARATION_TEXTDECORATION,
|
2019-03-26 17:27:10 +01:00
|
|
|
DISPID_A_TEXTDECORATION,
|
2018-09-12 21:16:04 +02:00
|
|
|
0, text_decoration_values
|
|
|
|
},
|
|
|
|
{
|
|
|
|
text_indentW,
|
|
|
|
DISPID_IHTMLCSSSTYLEDECLARATION_TEXTINDENT,
|
2019-03-26 17:27:10 +01:00
|
|
|
DISPID_A_TEXTINDENT,
|
2018-09-12 21:16:04 +02:00
|
|
|
ATTR_FIX_PX
|
|
|
|
},
|
|
|
|
{
|
|
|
|
text_transformW,
|
|
|
|
DISPID_IHTMLCSSSTYLEDECLARATION_TEXTTRANSFORM,
|
2019-03-26 17:27:10 +01:00
|
|
|
DISPID_A_TEXTTRANSFORM
|
2018-09-12 21:16:04 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
topW,
|
|
|
|
DISPID_IHTMLCSSSTYLEDECLARATION_TOP,
|
2019-03-26 17:27:10 +01:00
|
|
|
STDPROPID_XOBJ_TOP
|
2018-09-12 21:16:04 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
vertical_alignW,
|
|
|
|
DISPID_IHTMLCSSSTYLEDECLARATION_VERTICALALIGN,
|
2019-03-26 17:27:10 +01:00
|
|
|
DISPID_A_VERTICALALIGN,
|
2018-09-12 21:16:04 +02:00
|
|
|
ATTR_FIX_PX
|
|
|
|
},
|
|
|
|
{
|
|
|
|
visibilityW,
|
|
|
|
DISPID_IHTMLCSSSTYLEDECLARATION_VISIBILITY,
|
2019-03-26 17:27:10 +01:00
|
|
|
DISPID_A_VISIBILITY
|
2018-09-12 21:16:04 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
white_spaceW,
|
|
|
|
DISPID_IHTMLCSSSTYLEDECLARATION_WHITESPACE,
|
2019-03-26 17:27:10 +01:00
|
|
|
DISPID_A_WHITESPACE
|
2018-09-12 21:16:04 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
widthW,
|
|
|
|
DISPID_IHTMLCSSSTYLEDECLARATION_WIDTH,
|
2019-03-26 17:27:10 +01:00
|
|
|
STDPROPID_XOBJ_WIDTH,
|
2018-09-12 21:16:04 +02:00
|
|
|
ATTR_FIX_PX
|
|
|
|
},
|
|
|
|
{
|
|
|
|
word_spacingW,
|
|
|
|
DISPID_IHTMLCSSSTYLEDECLARATION_WORDSPACING,
|
2019-03-26 17:27:10 +01:00
|
|
|
DISPID_A_WORDSPACING
|
2018-09-12 21:16:04 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
word_wrapW,
|
|
|
|
DISPID_IHTMLCSSSTYLEDECLARATION_WORDWRAP,
|
2019-03-26 17:27:10 +01:00
|
|
|
DISPID_A_WORDWRAP
|
2018-09-12 21:16:04 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
z_indexW,
|
|
|
|
DISPID_IHTMLCSSSTYLEDECLARATION_ZINDEX,
|
2019-03-26 17:27:10 +01:00
|
|
|
DISPID_A_ZINDEX,
|
2018-09-12 21:16:04 +02:00
|
|
|
ATTR_STR_TO_INT
|
|
|
|
}
|
2008-10-06 16:48:25 +02:00
|
|
|
};
|
|
|
|
|
2018-08-23 23:31:15 +02:00
|
|
|
C_ASSERT(ARRAY_SIZE(style_tbl) == STYLEID_MAX_VALUE);
|
2014-12-15 19:13:13 +01:00
|
|
|
|
2007-12-10 20:11:58 +01:00
|
|
|
static const WCHAR px_formatW[] = {'%','d','p','x',0};
|
|
|
|
static const WCHAR emptyW[] = {0};
|
|
|
|
|
2012-04-16 13:48:55 +02:00
|
|
|
static const style_tbl_entry_t *lookup_style_tbl(const WCHAR *name)
|
|
|
|
{
|
2018-08-23 23:31:15 +02:00
|
|
|
int c, i, min = 0, max = ARRAY_SIZE(style_tbl)-1;
|
2012-04-16 13:48:55 +02:00
|
|
|
|
|
|
|
while(min <= max) {
|
|
|
|
i = (min+max)/2;
|
|
|
|
|
2019-06-13 08:34:29 +02:00
|
|
|
c = wcscmp(style_tbl[i].name, name);
|
2012-04-16 13:48:55 +02:00
|
|
|
if(!c)
|
|
|
|
return style_tbl+i;
|
|
|
|
|
|
|
|
if(c > 0)
|
|
|
|
max = i-1;
|
|
|
|
else
|
|
|
|
min = i+1;
|
|
|
|
}
|
|
|
|
|
|
|
|
return NULL;
|
|
|
|
}
|
|
|
|
|
2019-04-19 16:36:55 +02:00
|
|
|
static void fix_px_value(nsAString *nsstr)
|
2007-12-10 20:12:40 +01:00
|
|
|
{
|
2019-04-19 16:36:55 +02:00
|
|
|
const WCHAR *val, *ptr;
|
|
|
|
|
|
|
|
nsAString_GetData(nsstr, &val);
|
|
|
|
ptr = val;
|
2007-12-10 20:12:40 +01:00
|
|
|
|
|
|
|
while(*ptr) {
|
2019-06-13 08:34:29 +02:00
|
|
|
while(*ptr && iswspace(*ptr))
|
2007-12-10 20:12:40 +01:00
|
|
|
ptr++;
|
|
|
|
if(!*ptr)
|
|
|
|
break;
|
|
|
|
|
2019-11-12 20:49:03 +01:00
|
|
|
while(*ptr && is_digit(*ptr))
|
2007-12-10 20:12:40 +01:00
|
|
|
ptr++;
|
|
|
|
|
2019-06-13 08:34:29 +02:00
|
|
|
if(!*ptr || iswspace(*ptr)) {
|
2007-12-10 20:12:40 +01:00
|
|
|
LPWSTR ret, p;
|
2019-06-13 08:34:29 +02:00
|
|
|
int len = lstrlenW(val)+1;
|
2007-12-10 20:12:40 +01:00
|
|
|
|
|
|
|
ret = heap_alloc((len+2)*sizeof(WCHAR));
|
|
|
|
memcpy(ret, val, (ptr-val)*sizeof(WCHAR));
|
|
|
|
p = ret + (ptr-val);
|
|
|
|
*p++ = 'p';
|
|
|
|
*p++ = 'x';
|
2019-06-13 08:34:29 +02:00
|
|
|
lstrcpyW(p, ptr);
|
2007-12-10 20:12:40 +01:00
|
|
|
|
|
|
|
TRACE("fixed %s -> %s\n", debugstr_w(val), debugstr_w(ret));
|
|
|
|
|
2019-04-19 16:36:55 +02:00
|
|
|
nsAString_SetData(nsstr, ret);
|
|
|
|
heap_free(ret);
|
|
|
|
break;
|
2007-12-10 20:12:40 +01:00
|
|
|
}
|
|
|
|
|
2019-06-13 08:34:29 +02:00
|
|
|
while(*ptr && !iswspace(*ptr))
|
2007-12-10 20:12:40 +01:00
|
|
|
ptr++;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2008-06-18 00:11:52 +02:00
|
|
|
static LPWSTR fix_url_value(LPCWSTR val)
|
|
|
|
{
|
|
|
|
WCHAR *ret, *ptr;
|
|
|
|
|
|
|
|
static const WCHAR urlW[] = {'u','r','l','('};
|
|
|
|
|
2019-06-13 08:34:29 +02:00
|
|
|
if(wcsncmp(val, urlW, ARRAY_SIZE(urlW)) || !wcschr(val, '\\'))
|
2008-06-18 00:11:52 +02:00
|
|
|
return NULL;
|
|
|
|
|
|
|
|
ret = heap_strdupW(val);
|
|
|
|
|
|
|
|
for(ptr = ret; *ptr; ptr++) {
|
|
|
|
if(*ptr == '\\')
|
|
|
|
*ptr = '/';
|
|
|
|
}
|
|
|
|
|
|
|
|
return ret;
|
|
|
|
}
|
|
|
|
|
2019-04-19 16:36:44 +02:00
|
|
|
static HRESULT set_nsstyle_property(nsIDOMCSSStyleDeclaration *nsstyle, styleid_t sid, const nsAString *value)
|
2006-11-17 13:05:48 +01:00
|
|
|
{
|
2019-04-19 16:36:44 +02:00
|
|
|
nsAString str_name, str_empty;
|
2006-11-17 13:05:48 +01:00
|
|
|
nsresult nsres;
|
2007-12-10 20:12:40 +01:00
|
|
|
|
2010-01-28 23:55:06 +01:00
|
|
|
nsAString_InitDepend(&str_name, style_tbl[sid].name);
|
2011-02-25 14:11:26 +01:00
|
|
|
nsAString_InitDepend(&str_empty, emptyW);
|
2019-04-19 16:36:44 +02:00
|
|
|
nsres = nsIDOMCSSStyleDeclaration_SetProperty(nsstyle, &str_name, value, &str_empty);
|
2006-11-17 13:05:48 +01:00
|
|
|
nsAString_Finish(&str_name);
|
|
|
|
nsAString_Finish(&str_empty);
|
2019-03-26 17:27:32 +01:00
|
|
|
if(NS_FAILED(nsres))
|
|
|
|
WARN("SetProperty failed: %08x\n", nsres);
|
|
|
|
return map_nsresult(nsres);
|
2006-11-17 13:05:48 +01:00
|
|
|
}
|
|
|
|
|
2019-04-19 16:37:05 +02:00
|
|
|
static HRESULT var_to_styleval(CSSStyle *style, VARIANT *v, const style_tbl_entry_t *entry, nsAString *nsstr)
|
2008-10-13 21:51:18 +02:00
|
|
|
{
|
2019-04-19 16:37:16 +02:00
|
|
|
HRESULT hres;
|
2019-04-19 16:37:05 +02:00
|
|
|
unsigned flags = entry && dispex_compat_mode(&style->dispex) < COMPAT_MODE_IE9
|
|
|
|
? entry->flags : 0;
|
|
|
|
|
2019-04-19 16:37:16 +02:00
|
|
|
hres = variant_to_nsstr(v, !!(flags & ATTR_HEX_INT), nsstr);
|
|
|
|
if(SUCCEEDED(hres) && (flags & ATTR_FIX_PX))
|
2019-04-19 16:37:05 +02:00
|
|
|
fix_px_value(nsstr);
|
2019-04-19 16:37:16 +02:00
|
|
|
return hres;
|
2011-02-25 14:11:39 +01:00
|
|
|
}
|
2008-10-13 21:51:18 +02:00
|
|
|
|
2019-03-25 15:13:39 +01:00
|
|
|
static inline HRESULT set_style_property(CSSStyle *style, styleid_t sid, const WCHAR *value)
|
2018-08-29 14:08:57 +02:00
|
|
|
{
|
2019-04-19 16:36:44 +02:00
|
|
|
nsAString value_str;
|
2019-04-19 16:36:55 +02:00
|
|
|
unsigned flags = 0;
|
2018-08-29 14:08:57 +02:00
|
|
|
WCHAR *val = NULL;
|
|
|
|
HRESULT hres;
|
|
|
|
|
2019-03-25 15:13:39 +01:00
|
|
|
if(value && *value && dispex_compat_mode(&style->dispex) < COMPAT_MODE_IE9) {
|
2019-04-19 16:36:55 +02:00
|
|
|
flags = style_tbl[sid].flags;
|
2018-08-29 14:08:57 +02:00
|
|
|
|
|
|
|
if(style_tbl[sid].allowed_values) {
|
|
|
|
const WCHAR **iter;
|
|
|
|
for(iter = style_tbl[sid].allowed_values; *iter; iter++) {
|
2019-06-13 08:34:29 +02:00
|
|
|
if(!wcsicmp(*iter, value))
|
2018-08-29 14:08:57 +02:00
|
|
|
break;
|
|
|
|
}
|
|
|
|
if(!*iter) {
|
|
|
|
WARN("invalid value %s\n", debugstr_w(value));
|
2019-04-19 16:36:44 +02:00
|
|
|
nsAString_InitDepend(&value_str, emptyW);
|
|
|
|
set_nsstyle_property(style->nsstyle, sid, &value_str);
|
|
|
|
nsAString_Finish(&value_str);
|
2018-08-29 14:08:57 +02:00
|
|
|
return E_INVALIDARG;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-04-19 16:36:55 +02:00
|
|
|
if(flags & ATTR_FIX_URL)
|
2018-08-29 14:08:57 +02:00
|
|
|
val = fix_url_value(value);
|
|
|
|
}
|
|
|
|
|
2019-04-19 16:36:44 +02:00
|
|
|
nsAString_InitDepend(&value_str, val ? val : value);
|
2019-04-19 16:36:55 +02:00
|
|
|
if(flags & ATTR_FIX_PX)
|
|
|
|
fix_px_value(&value_str);
|
2019-04-19 16:36:44 +02:00
|
|
|
hres = set_nsstyle_property(style->nsstyle, sid, &value_str);
|
|
|
|
nsAString_Finish(&value_str);
|
2018-08-29 14:08:57 +02:00
|
|
|
heap_free(val);
|
|
|
|
return hres;
|
|
|
|
}
|
|
|
|
|
2019-03-25 15:13:49 +01:00
|
|
|
static HRESULT set_style_property_var(CSSStyle *style, styleid_t sid, VARIANT *value)
|
2011-02-25 14:11:39 +01:00
|
|
|
{
|
2019-04-19 16:37:05 +02:00
|
|
|
nsAString val;
|
2011-02-25 14:11:39 +01:00
|
|
|
HRESULT hres;
|
|
|
|
|
2019-04-19 16:37:05 +02:00
|
|
|
hres = var_to_styleval(style, value, &style_tbl[sid], &val);
|
2011-02-25 14:11:39 +01:00
|
|
|
if(FAILED(hres))
|
|
|
|
return hres;
|
|
|
|
|
2019-04-19 16:37:05 +02:00
|
|
|
hres = set_nsstyle_property(style->nsstyle, sid, &val);
|
|
|
|
nsAString_Finish(&val);
|
|
|
|
return hres;
|
2008-10-06 16:52:06 +02:00
|
|
|
}
|
|
|
|
|
2008-10-06 16:49:24 +02:00
|
|
|
static HRESULT get_nsstyle_attr_nsval(nsIDOMCSSStyleDeclaration *nsstyle, styleid_t sid, nsAString *value)
|
2007-06-10 11:55:25 +02:00
|
|
|
{
|
2007-09-19 12:42:10 +02:00
|
|
|
nsAString str_name;
|
2007-06-10 11:55:25 +02:00
|
|
|
nsresult nsres;
|
|
|
|
|
2010-01-28 23:55:06 +01:00
|
|
|
nsAString_InitDepend(&str_name, style_tbl[sid].name);
|
2008-10-06 16:49:24 +02:00
|
|
|
nsres = nsIDOMCSSStyleDeclaration_GetPropertyValue(nsstyle, &str_name, value);
|
2016-10-06 17:04:02 +02:00
|
|
|
nsAString_Finish(&str_name);
|
2019-03-26 17:27:32 +01:00
|
|
|
if(NS_FAILED(nsres))
|
|
|
|
WARN("GetPropertyValue failed: %08x\n", nsres);
|
|
|
|
return map_nsresult(nsres);
|
2007-09-19 12:42:10 +02:00
|
|
|
}
|
|
|
|
|
2011-07-15 15:37:40 +02:00
|
|
|
static HRESULT nsstyle_to_bstr(const WCHAR *val, DWORD flags, BSTR *p)
|
|
|
|
{
|
|
|
|
BSTR ret;
|
2011-07-15 15:38:08 +02:00
|
|
|
DWORD len;
|
2011-07-15 15:37:40 +02:00
|
|
|
|
|
|
|
if(!*val) {
|
2013-09-30 16:05:34 +02:00
|
|
|
*p = (flags & ATTR_NO_NULL) ? SysAllocStringLen(NULL, 0) : NULL;
|
2011-07-15 15:37:40 +02:00
|
|
|
return S_OK;
|
|
|
|
}
|
|
|
|
|
|
|
|
ret = SysAllocString(val);
|
|
|
|
if(!ret)
|
|
|
|
return E_OUTOFMEMORY;
|
|
|
|
|
2011-07-15 15:38:08 +02:00
|
|
|
len = SysStringLen(ret);
|
|
|
|
|
|
|
|
if(flags & ATTR_REMOVE_COMMA) {
|
|
|
|
DWORD new_len = len;
|
|
|
|
WCHAR *ptr, *ptr2;
|
|
|
|
|
2019-06-13 08:34:29 +02:00
|
|
|
for(ptr = ret; (ptr = wcschr(ptr, ',')); ptr++)
|
2011-07-15 15:38:08 +02:00
|
|
|
new_len--;
|
|
|
|
|
|
|
|
if(new_len != len) {
|
|
|
|
BSTR new_ret;
|
|
|
|
|
|
|
|
new_ret = SysAllocStringLen(NULL, new_len);
|
|
|
|
if(!new_ret) {
|
|
|
|
SysFreeString(ret);
|
|
|
|
return E_OUTOFMEMORY;
|
|
|
|
}
|
|
|
|
|
|
|
|
for(ptr2 = new_ret, ptr = ret; *ptr; ptr++) {
|
|
|
|
if(*ptr != ',')
|
|
|
|
*ptr2++ = *ptr;
|
|
|
|
}
|
|
|
|
|
|
|
|
SysFreeString(ret);
|
|
|
|
ret = new_ret;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2011-07-15 15:37:40 +02:00
|
|
|
*p = ret;
|
|
|
|
return S_OK;
|
|
|
|
}
|
|
|
|
|
2019-03-26 17:27:00 +01:00
|
|
|
static HRESULT get_nsstyle_property(nsIDOMCSSStyleDeclaration *nsstyle, styleid_t sid, compat_mode_t compat_mode, BSTR *p)
|
2007-09-19 12:42:10 +02:00
|
|
|
{
|
|
|
|
nsAString str_value;
|
|
|
|
const PRUnichar *value;
|
2011-07-15 15:37:40 +02:00
|
|
|
HRESULT hres;
|
2007-09-19 12:42:10 +02:00
|
|
|
|
|
|
|
nsAString_Init(&str_value, NULL);
|
|
|
|
|
2008-10-06 16:49:24 +02:00
|
|
|
get_nsstyle_attr_nsval(nsstyle, sid, &str_value);
|
2007-06-10 11:55:25 +02:00
|
|
|
|
2007-12-17 01:38:30 +01:00
|
|
|
nsAString_GetData(&str_value, &value);
|
2018-08-29 14:10:13 +02:00
|
|
|
hres = nsstyle_to_bstr(value, compat_mode < COMPAT_MODE_IE9 ? style_tbl[sid].flags : 0, p);
|
2007-06-10 11:55:25 +02:00
|
|
|
nsAString_Finish(&str_value);
|
|
|
|
|
2008-10-07 21:45:21 +02:00
|
|
|
TRACE("%s -> %s\n", debugstr_w(style_tbl[sid].name), debugstr_w(*p));
|
2011-07-24 01:45:14 +02:00
|
|
|
return hres;
|
2007-09-19 12:42:10 +02:00
|
|
|
}
|
|
|
|
|
2019-03-26 17:27:00 +01:00
|
|
|
static HRESULT get_nsstyle_property_var(nsIDOMCSSStyleDeclaration *nsstyle, styleid_t sid, compat_mode_t compat_mode, VARIANT *p)
|
2008-10-07 21:45:05 +02:00
|
|
|
{
|
2018-08-29 14:10:33 +02:00
|
|
|
unsigned flags = style_tbl[sid].flags;
|
2008-10-07 21:45:05 +02:00
|
|
|
nsAString str_value;
|
|
|
|
const PRUnichar *value;
|
|
|
|
BOOL set = FALSE;
|
2011-07-15 15:37:40 +02:00
|
|
|
HRESULT hres = S_OK;
|
2008-10-07 21:45:05 +02:00
|
|
|
|
|
|
|
nsAString_Init(&str_value, NULL);
|
|
|
|
|
|
|
|
get_nsstyle_attr_nsval(nsstyle, sid, &str_value);
|
|
|
|
|
|
|
|
nsAString_GetData(&str_value, &value);
|
|
|
|
|
2018-08-29 14:10:33 +02:00
|
|
|
if((flags & ATTR_STR_TO_INT) && (*value || compat_mode < COMPAT_MODE_IE9)) {
|
2008-10-07 21:45:05 +02:00
|
|
|
const PRUnichar *ptr = value;
|
|
|
|
BOOL neg = FALSE;
|
|
|
|
INT i = 0;
|
|
|
|
|
|
|
|
if(*ptr == '-') {
|
|
|
|
neg = TRUE;
|
|
|
|
ptr++;
|
|
|
|
}
|
|
|
|
|
2019-11-12 20:49:03 +01:00
|
|
|
while(is_digit(*ptr))
|
2008-10-07 21:45:05 +02:00
|
|
|
i = i*10 + (*ptr++ - '0');
|
|
|
|
|
|
|
|
if(!*ptr) {
|
|
|
|
V_VT(p) = VT_I4;
|
|
|
|
V_I4(p) = neg ? -i : i;
|
|
|
|
set = TRUE;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if(!set) {
|
2011-07-15 15:37:40 +02:00
|
|
|
BSTR str;
|
2008-10-07 21:45:05 +02:00
|
|
|
|
2018-08-29 14:10:33 +02:00
|
|
|
hres = nsstyle_to_bstr(value, compat_mode < COMPAT_MODE_IE9 ? flags : 0, &str);
|
2011-07-15 15:37:40 +02:00
|
|
|
if(SUCCEEDED(hres)) {
|
|
|
|
V_VT(p) = VT_BSTR;
|
|
|
|
V_BSTR(p) = str;
|
2008-10-07 21:45:05 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
nsAString_Finish(&str_value);
|
|
|
|
|
2008-10-07 21:45:21 +02:00
|
|
|
TRACE("%s -> %s\n", debugstr_w(style_tbl[sid].name), debugstr_variant(p));
|
2011-07-15 15:38:08 +02:00
|
|
|
return S_OK;
|
2008-10-07 21:45:05 +02:00
|
|
|
}
|
|
|
|
|
2019-03-26 17:27:00 +01:00
|
|
|
HRESULT get_style_property(CSSStyle *style, styleid_t sid, BSTR *p)
|
2008-10-06 16:49:24 +02:00
|
|
|
{
|
2019-03-25 15:13:56 +01:00
|
|
|
return get_nsstyle_property(style->nsstyle, sid, dispex_compat_mode(&style->dispex), p);
|
2008-10-06 16:49:24 +02:00
|
|
|
}
|
|
|
|
|
2019-03-26 17:27:00 +01:00
|
|
|
HRESULT get_style_property_var(CSSStyle *style, styleid_t sid, VARIANT *v)
|
2018-08-27 13:47:03 +02:00
|
|
|
{
|
2019-03-25 15:14:13 +01:00
|
|
|
return get_nsstyle_property_var(style->nsstyle, sid, dispex_compat_mode(&style->dispex), v);
|
2018-08-27 13:47:03 +02:00
|
|
|
}
|
|
|
|
|
2008-10-06 16:48:25 +02:00
|
|
|
static HRESULT check_style_attr_value(HTMLStyle *This, styleid_t sid, LPCWSTR exval, VARIANT_BOOL *p)
|
2007-09-19 12:42:10 +02:00
|
|
|
{
|
|
|
|
nsAString str_value;
|
|
|
|
const PRUnichar *value;
|
|
|
|
|
|
|
|
nsAString_Init(&str_value, NULL);
|
2007-06-10 11:55:25 +02:00
|
|
|
|
2019-03-25 15:12:04 +01:00
|
|
|
get_nsstyle_attr_nsval(This->css_style.nsstyle, sid, &str_value);
|
2007-09-19 12:42:10 +02:00
|
|
|
|
2007-12-17 01:38:30 +01:00
|
|
|
nsAString_GetData(&str_value, &value);
|
2019-06-13 08:34:29 +02:00
|
|
|
*p = variant_bool(!wcscmp(value, exval));
|
2007-09-19 12:42:10 +02:00
|
|
|
nsAString_Finish(&str_value);
|
|
|
|
|
2008-10-07 21:45:21 +02:00
|
|
|
TRACE("%s -> %x\n", debugstr_w(style_tbl[sid].name), *p);
|
2007-06-10 11:55:25 +02:00
|
|
|
return S_OK;
|
|
|
|
}
|
|
|
|
|
2008-11-05 12:06:45 +01:00
|
|
|
static inline HRESULT set_style_pos(HTMLStyle *This, styleid_t sid, float value)
|
|
|
|
{
|
2018-11-30 08:14:11 +01:00
|
|
|
static const WCHAR szFormat[] = {'%','.','0','f','p','x',0};
|
2008-11-05 12:06:45 +01:00
|
|
|
WCHAR szValue[25];
|
|
|
|
|
|
|
|
value = floor(value);
|
|
|
|
|
2019-06-13 08:34:29 +02:00
|
|
|
swprintf(szValue, ARRAY_SIZE(szValue), szFormat, value);
|
2008-11-05 12:06:45 +01:00
|
|
|
|
2019-03-25 15:13:39 +01:00
|
|
|
return set_style_property(&This->css_style, sid, szValue);
|
2008-11-05 12:06:45 +01:00
|
|
|
}
|
|
|
|
|
2018-08-27 13:45:22 +02:00
|
|
|
static HRESULT set_style_pxattr(HTMLStyle *style, styleid_t sid, LONG value)
|
2012-09-04 13:59:09 +02:00
|
|
|
{
|
|
|
|
WCHAR value_str[16];
|
|
|
|
|
2019-06-13 08:34:29 +02:00
|
|
|
swprintf(value_str, ARRAY_SIZE(value_str), px_formatW, value);
|
2012-09-04 13:59:09 +02:00
|
|
|
|
2019-03-25 15:13:39 +01:00
|
|
|
return set_style_property(&style->css_style, sid, value_str);
|
2012-09-04 13:59:09 +02:00
|
|
|
}
|
|
|
|
|
2008-12-02 15:28:04 +01:00
|
|
|
static HRESULT get_nsstyle_pos(HTMLStyle *This, styleid_t sid, float *p)
|
2008-11-05 12:06:45 +01:00
|
|
|
{
|
|
|
|
nsAString str_value;
|
|
|
|
HRESULT hres;
|
|
|
|
|
|
|
|
TRACE("%p %d %p\n", This, sid, p);
|
|
|
|
|
|
|
|
*p = 0.0f;
|
|
|
|
|
|
|
|
nsAString_Init(&str_value, NULL);
|
|
|
|
|
2019-03-25 15:12:04 +01:00
|
|
|
hres = get_nsstyle_attr_nsval(This->css_style.nsstyle, sid, &str_value);
|
2008-11-05 12:06:45 +01:00
|
|
|
if(hres == S_OK)
|
|
|
|
{
|
|
|
|
WCHAR *ptr;
|
|
|
|
const PRUnichar *value;
|
|
|
|
|
|
|
|
nsAString_GetData(&str_value, &value);
|
|
|
|
if(value)
|
|
|
|
{
|
2019-06-13 08:34:29 +02:00
|
|
|
*p = wcstol(value, &ptr, 10);
|
2008-11-05 12:06:45 +01:00
|
|
|
|
2019-06-13 08:34:29 +02:00
|
|
|
if(*ptr && wcscmp(ptr, pxW))
|
2008-11-05 12:06:45 +01:00
|
|
|
{
|
|
|
|
nsAString_Finish(&str_value);
|
|
|
|
FIXME("only px values are currently supported\n");
|
2013-01-07 14:33:25 +01:00
|
|
|
hres = E_FAIL;
|
2008-11-05 12:06:45 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
TRACE("ret %f\n", *p);
|
|
|
|
|
|
|
|
nsAString_Finish(&str_value);
|
|
|
|
return hres;
|
|
|
|
}
|
|
|
|
|
2013-01-07 14:32:56 +01:00
|
|
|
static HRESULT get_nsstyle_pixel_val(HTMLStyle *This, styleid_t sid, LONG *p)
|
|
|
|
{
|
|
|
|
nsAString str_value;
|
|
|
|
HRESULT hres;
|
|
|
|
|
2014-09-09 12:50:25 +02:00
|
|
|
if(!p)
|
|
|
|
return E_POINTER;
|
|
|
|
|
2013-01-07 14:32:56 +01:00
|
|
|
nsAString_Init(&str_value, NULL);
|
|
|
|
|
2019-03-25 15:12:04 +01:00
|
|
|
hres = get_nsstyle_attr_nsval(This->css_style.nsstyle, sid, &str_value);
|
2013-01-07 14:32:56 +01:00
|
|
|
if(hres == S_OK) {
|
2016-10-07 18:13:59 +02:00
|
|
|
WCHAR *ptr = NULL;
|
2013-01-07 14:32:56 +01:00
|
|
|
const PRUnichar *value;
|
|
|
|
|
|
|
|
nsAString_GetData(&str_value, &value);
|
|
|
|
if(value) {
|
2019-06-13 08:34:29 +02:00
|
|
|
*p = wcstol(value, &ptr, 10);
|
2013-01-07 14:32:56 +01:00
|
|
|
|
2013-01-10 14:20:16 +01:00
|
|
|
if(*ptr == '.') {
|
|
|
|
/* Skip all digits. We have tests showing that we should not round the value. */
|
2019-11-12 20:49:03 +01:00
|
|
|
while(is_digit(*++ptr));
|
2013-01-10 14:20:16 +01:00
|
|
|
}
|
2016-10-07 18:13:59 +02:00
|
|
|
}
|
2013-01-10 14:20:16 +01:00
|
|
|
|
2019-06-13 08:34:29 +02:00
|
|
|
if(!ptr || (*ptr && wcscmp(ptr, pxW)))
|
2013-01-07 14:32:56 +01:00
|
|
|
*p = 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
nsAString_Finish(&str_value);
|
|
|
|
return hres;
|
|
|
|
}
|
|
|
|
|
2009-01-13 08:30:17 +01:00
|
|
|
static BOOL is_valid_border_style(BSTR v)
|
|
|
|
{
|
2019-06-13 08:34:29 +02:00
|
|
|
return !v || wcsicmp(v, noneW) == 0 || wcsicmp(v, dottedW) == 0 ||
|
|
|
|
wcsicmp(v, dashedW) == 0 || wcsicmp(v, solidW) == 0 ||
|
|
|
|
wcsicmp(v, doubleW) == 0 || wcsicmp(v, grooveW) == 0 ||
|
|
|
|
wcsicmp(v, ridgeW) == 0 || wcsicmp(v, insetW) == 0 ||
|
|
|
|
wcsicmp(v, outsetW) == 0;
|
2009-01-13 08:30:17 +01:00
|
|
|
}
|
|
|
|
|
2019-03-25 15:14:50 +01:00
|
|
|
static void *HTMLStyle_QI(CSSStyle *css_style, REFIID riid)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = CONTAINING_RECORD(css_style, HTMLStyle, css_style);
|
|
|
|
|
|
|
|
if(IsEqualGUID(&IID_IHTMLStyle, riid))
|
|
|
|
return &This->IHTMLStyle_iface;
|
|
|
|
if(IsEqualGUID(&IID_IHTMLStyle2, riid))
|
|
|
|
return &This->IHTMLStyle2_iface;
|
|
|
|
if(IsEqualGUID(&IID_IHTMLStyle3, riid))
|
|
|
|
return &This->IHTMLStyle3_iface;
|
|
|
|
if(IsEqualGUID(&IID_IHTMLStyle4, riid))
|
|
|
|
return &This->IHTMLStyle4_iface;
|
|
|
|
if(IsEqualGUID(&IID_IHTMLStyle5, riid))
|
|
|
|
return &This->IHTMLStyle5_iface;
|
|
|
|
if(IsEqualGUID(&IID_IHTMLStyle6, riid))
|
|
|
|
return &This->IHTMLStyle6_iface;
|
|
|
|
return NULL;
|
|
|
|
}
|
|
|
|
|
2011-01-04 02:00:53 +01:00
|
|
|
static inline HTMLStyle *impl_from_IHTMLStyle(IHTMLStyle *iface)
|
|
|
|
{
|
|
|
|
return CONTAINING_RECORD(iface, HTMLStyle, IHTMLStyle_iface);
|
|
|
|
}
|
2006-11-17 13:04:06 +01:00
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_QueryInterface(IHTMLStyle *iface, REFIID riid, void **ppv)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2019-03-25 15:14:50 +01:00
|
|
|
return IHTMLCSSStyleDeclaration_QueryInterface(&This->css_style.IHTMLCSSStyleDeclaration_iface, riid, ppv);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static ULONG WINAPI HTMLStyle_AddRef(IHTMLStyle *iface)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2019-03-25 15:14:50 +01:00
|
|
|
return IHTMLCSSStyleDeclaration_AddRef(&This->css_style.IHTMLCSSStyleDeclaration_iface);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static ULONG WINAPI HTMLStyle_Release(IHTMLStyle *iface)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2019-03-25 15:14:50 +01:00
|
|
|
return IHTMLCSSStyleDeclaration_Release(&This->css_style.IHTMLCSSStyleDeclaration_iface);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_GetTypeInfoCount(IHTMLStyle *iface, UINT *pctinfo)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2019-03-25 15:12:28 +01:00
|
|
|
return IDispatchEx_GetTypeInfoCount(&This->css_style.dispex.IDispatchEx_iface, pctinfo);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_GetTypeInfo(IHTMLStyle *iface, UINT iTInfo,
|
|
|
|
LCID lcid, ITypeInfo **ppTInfo)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2019-03-25 15:12:28 +01:00
|
|
|
return IDispatchEx_GetTypeInfo(&This->css_style.dispex.IDispatchEx_iface, iTInfo, lcid, ppTInfo);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_GetIDsOfNames(IHTMLStyle *iface, REFIID riid,
|
|
|
|
LPOLESTR *rgszNames, UINT cNames,
|
|
|
|
LCID lcid, DISPID *rgDispId)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2019-03-25 15:12:28 +01:00
|
|
|
return IDispatchEx_GetIDsOfNames(&This->css_style.dispex.IDispatchEx_iface, riid, rgszNames, cNames,
|
2010-12-31 11:07:33 +01:00
|
|
|
lcid, rgDispId);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_Invoke(IHTMLStyle *iface, DISPID dispIdMember,
|
|
|
|
REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams,
|
|
|
|
VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2019-03-25 15:12:28 +01:00
|
|
|
return IDispatchEx_Invoke(&This->css_style.dispex.IDispatchEx_iface, dispIdMember, riid, lcid,
|
2008-08-16 13:01:25 +02:00
|
|
|
wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_put_fontFamily(IHTMLStyle *iface, BSTR v)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2006-11-17 13:05:48 +01:00
|
|
|
|
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
|
2019-03-25 15:13:39 +01:00
|
|
|
return set_style_property(&This->css_style, STYLEID_FONT_FAMILY, v);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_get_fontFamily(IHTMLStyle *iface, BSTR *p)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2007-06-10 11:55:25 +02:00
|
|
|
|
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
|
|
|
|
2019-03-25 15:13:56 +01:00
|
|
|
return get_style_property(&This->css_style, STYLEID_FONT_FAMILY, p);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_put_fontStyle(IHTMLStyle *iface, BSTR v)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2008-12-11 12:16:28 +01:00
|
|
|
|
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
|
2019-03-25 15:13:39 +01:00
|
|
|
return set_style_property(&This->css_style, STYLEID_FONT_STYLE, v);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_get_fontStyle(IHTMLStyle *iface, BSTR *p)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2007-09-19 12:41:46 +02:00
|
|
|
|
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
|
|
|
|
2019-03-25 15:13:56 +01:00
|
|
|
return get_style_property(&This->css_style, STYLEID_FONT_STYLE, p);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_put_fontVariant(IHTMLStyle *iface, BSTR v)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2008-12-11 12:37:18 +01:00
|
|
|
|
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
|
2019-03-25 15:13:39 +01:00
|
|
|
return set_style_property(&This->css_style, STYLEID_FONT_VARIANT, v);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_get_fontVariant(IHTMLStyle *iface, BSTR *p)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2008-12-11 12:37:18 +01:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
|
|
|
|
|
|
|
if(!p)
|
|
|
|
return E_INVALIDARG;
|
|
|
|
|
2019-03-25 15:13:56 +01:00
|
|
|
return get_style_property(&This->css_style, STYLEID_FONT_VARIANT, p);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_put_fontWeight(IHTMLStyle *iface, BSTR v)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2009-02-04 06:32:31 +01:00
|
|
|
|
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
|
2019-03-25 15:13:39 +01:00
|
|
|
return set_style_property(&This->css_style, STYLEID_FONT_WEIGHT, v);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_get_fontWeight(IHTMLStyle *iface, BSTR *p)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2007-09-19 12:41:46 +02:00
|
|
|
|
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
|
|
|
|
2019-03-25 15:13:56 +01:00
|
|
|
return get_style_property(&This->css_style, STYLEID_FONT_WEIGHT, p);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_put_fontSize(IHTMLStyle *iface, VARIANT v)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2006-11-17 13:07:12 +01:00
|
|
|
|
2012-03-28 14:25:54 +02:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
|
2006-11-17 13:07:12 +01:00
|
|
|
|
2019-03-25 15:13:49 +01:00
|
|
|
return set_style_property_var(&This->css_style, STYLEID_FONT_SIZE, &v);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_get_fontSize(IHTMLStyle *iface, VARIANT *p)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2007-09-19 12:41:46 +02:00
|
|
|
|
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
|
|
|
|
2019-03-25 15:14:13 +01:00
|
|
|
return get_style_property_var(&This->css_style, STYLEID_FONT_SIZE, p);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_put_font(IHTMLStyle *iface, BSTR v)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2006-11-17 13:04:06 +01:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_get_font(IHTMLStyle *iface, BSTR *p)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2006-11-17 13:04:06 +01:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_put_color(IHTMLStyle *iface, VARIANT v)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2008-06-18 00:12:43 +02:00
|
|
|
|
2012-03-28 14:25:54 +02:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
|
2008-06-18 00:12:43 +02:00
|
|
|
|
2019-03-25 15:13:49 +01:00
|
|
|
return set_style_property_var(&This->css_style, STYLEID_COLOR, &v);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_get_color(IHTMLStyle *iface, VARIANT *p)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2007-09-19 12:41:46 +02:00
|
|
|
|
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
|
|
|
|
2019-03-25 15:14:13 +01:00
|
|
|
return get_style_property_var(&This->css_style, STYLEID_COLOR, p);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_put_background(IHTMLStyle *iface, BSTR v)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2008-06-18 00:12:26 +02:00
|
|
|
|
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
|
2019-03-25 15:13:39 +01:00
|
|
|
return set_style_property(&This->css_style, STYLEID_BACKGROUND, v);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_get_background(IHTMLStyle *iface, BSTR *p)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2008-08-13 01:29:57 +02:00
|
|
|
|
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
|
|
|
|
2019-03-25 15:13:56 +01:00
|
|
|
return get_style_property(&This->css_style, STYLEID_BACKGROUND, p);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_put_backgroundColor(IHTMLStyle *iface, VARIANT v)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2006-11-17 13:06:30 +01:00
|
|
|
|
2012-03-28 14:25:54 +02:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
|
2006-11-17 13:06:30 +01:00
|
|
|
|
2019-03-25 15:13:49 +01:00
|
|
|
return set_style_property_var(&This->css_style, STYLEID_BACKGROUND_COLOR, &v);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_get_backgroundColor(IHTMLStyle *iface, VARIANT *p)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2012-03-30 14:14:16 +02:00
|
|
|
|
2009-02-04 06:01:05 +01:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
|
|
|
|
2019-03-25 15:14:13 +01:00
|
|
|
return get_style_property_var(&This->css_style, STYLEID_BACKGROUND_COLOR, p);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_put_backgroundImage(IHTMLStyle *iface, BSTR v)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2008-04-28 11:57:06 +02:00
|
|
|
|
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
|
2019-03-25 15:13:39 +01:00
|
|
|
return set_style_property(&This->css_style, STYLEID_BACKGROUND_IMAGE, v);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_get_backgroundImage(IHTMLStyle *iface, BSTR *p)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2008-12-11 12:45:24 +01:00
|
|
|
|
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
|
|
|
|
2019-03-25 15:13:56 +01:00
|
|
|
return get_style_property(&This->css_style, STYLEID_BACKGROUND_IMAGE, p);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_put_backgroundRepeat(IHTMLStyle *iface, BSTR v)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2009-02-25 05:50:33 +01:00
|
|
|
|
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
|
2019-03-25 15:13:39 +01:00
|
|
|
return set_style_property(&This->css_style, STYLEID_BACKGROUND_REPEAT , v);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_get_backgroundRepeat(IHTMLStyle *iface, BSTR *p)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2009-02-25 05:50:33 +01:00
|
|
|
|
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
|
|
|
|
2019-03-25 15:13:56 +01:00
|
|
|
return get_style_property(&This->css_style, STYLEID_BACKGROUND_REPEAT, p);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_put_backgroundAttachment(IHTMLStyle *iface, BSTR v)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2014-08-18 17:31:01 +02:00
|
|
|
|
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
|
2019-03-25 15:13:39 +01:00
|
|
|
return set_style_property(&This->css_style, STYLEID_BACKGROUND_ATTACHMENT, v);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_get_backgroundAttachment(IHTMLStyle *iface, BSTR *p)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2014-08-18 17:31:01 +02:00
|
|
|
|
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
|
|
|
|
2019-03-25 15:13:56 +01:00
|
|
|
return get_style_property(&This->css_style, STYLEID_BACKGROUND_ATTACHMENT, p);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_put_backgroundPosition(IHTMLStyle *iface, BSTR v)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2011-02-25 14:11:16 +01:00
|
|
|
|
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
|
2019-03-25 15:13:39 +01:00
|
|
|
return set_style_property(&This->css_style, STYLEID_BACKGROUND_POSITION, v);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_get_backgroundPosition(IHTMLStyle *iface, BSTR *p)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2011-02-25 14:11:16 +01:00
|
|
|
|
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
|
|
|
|
2019-03-25 15:13:56 +01:00
|
|
|
return get_style_property(&This->css_style, STYLEID_BACKGROUND_POSITION, p);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_put_backgroundPositionX(IHTMLStyle *iface, VARIANT v)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2012-03-28 14:25:54 +02:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
|
2019-03-25 15:14:50 +01:00
|
|
|
return IHTMLCSSStyleDeclaration_put_backgroundPositionX(&This->css_style.IHTMLCSSStyleDeclaration_iface, v);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_get_backgroundPositionX(IHTMLStyle *iface, VARIANT *p)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2009-03-05 10:24:24 +01:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
2019-03-25 15:14:50 +01:00
|
|
|
return IHTMLCSSStyleDeclaration_get_backgroundPositionX(&This->css_style.IHTMLCSSStyleDeclaration_iface, p);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_put_backgroundPositionY(IHTMLStyle *iface, VARIANT v)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2012-03-28 14:25:54 +02:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
|
2019-03-25 15:14:50 +01:00
|
|
|
return IHTMLCSSStyleDeclaration_put_backgroundPositionY(&This->css_style.IHTMLCSSStyleDeclaration_iface, v);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_get_backgroundPositionY(IHTMLStyle *iface, VARIANT *p)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2009-03-05 10:26:36 +01:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
2019-03-25 15:14:50 +01:00
|
|
|
return IHTMLCSSStyleDeclaration_get_backgroundPositionY(&This->css_style.IHTMLCSSStyleDeclaration_iface, p);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_put_wordSpacing(IHTMLStyle *iface, VARIANT v)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2012-03-28 14:25:54 +02:00
|
|
|
|
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
|
2019-03-25 15:13:49 +01:00
|
|
|
return set_style_property_var(&This->css_style, STYLEID_WORD_SPACING, &v);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_get_wordSpacing(IHTMLStyle *iface, VARIANT *p)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2009-08-21 12:55:29 +02:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
2019-03-25 15:14:13 +01:00
|
|
|
return get_style_property_var(&This->css_style, STYLEID_WORD_SPACING, p);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_put_letterSpacing(IHTMLStyle *iface, VARIANT v)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2012-03-28 14:25:54 +02:00
|
|
|
|
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
|
2019-03-25 15:13:49 +01:00
|
|
|
return set_style_property_var(&This->css_style, STYLEID_LETTER_SPACING, &v);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_get_letterSpacing(IHTMLStyle *iface, VARIANT *p)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2009-08-25 08:17:56 +02:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
2019-03-25 15:14:13 +01:00
|
|
|
return get_style_property_var(&This->css_style, STYLEID_LETTER_SPACING, p);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_put_textDecoration(IHTMLStyle *iface, BSTR v)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2009-03-01 10:26:59 +01:00
|
|
|
|
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
|
2019-03-25 15:13:39 +01:00
|
|
|
return set_style_property(&This->css_style, STYLEID_TEXT_DECORATION , v);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_get_textDecoration(IHTMLStyle *iface, BSTR *p)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2007-09-19 12:42:10 +02:00
|
|
|
|
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
|
|
|
|
2019-03-25 15:13:56 +01:00
|
|
|
return get_style_property(&This->css_style, STYLEID_TEXT_DECORATION, p);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_put_textDecorationNone(IHTMLStyle *iface, VARIANT_BOOL v)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2009-03-01 06:53:52 +01:00
|
|
|
|
|
|
|
TRACE("(%p)->(%x)\n", This, v);
|
|
|
|
|
2019-03-25 15:13:39 +01:00
|
|
|
return set_style_property(&This->css_style, STYLEID_TEXT_DECORATION, v ? noneW : emptyW);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_get_textDecorationNone(IHTMLStyle *iface, VARIANT_BOOL *p)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2009-03-01 06:53:52 +01:00
|
|
|
|
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
|
|
|
|
2018-08-28 12:44:40 +02:00
|
|
|
return check_style_attr_value(This, STYLEID_TEXT_DECORATION, noneW, p);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_put_textDecorationUnderline(IHTMLStyle *iface, VARIANT_BOOL v)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2009-02-08 10:06:57 +01:00
|
|
|
|
|
|
|
TRACE("(%p)->(%x)\n", This, v);
|
|
|
|
|
2019-03-25 15:13:39 +01:00
|
|
|
return set_style_property(&This->css_style, STYLEID_TEXT_DECORATION, v ? underlineW : emptyW);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_get_textDecorationUnderline(IHTMLStyle *iface, VARIANT_BOOL *p)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2007-09-19 12:42:10 +02:00
|
|
|
|
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
|
|
|
|
2018-08-28 12:44:40 +02:00
|
|
|
return check_style_attr_value(This, STYLEID_TEXT_DECORATION, underlineW, p);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_put_textDecorationOverline(IHTMLStyle *iface, VARIANT_BOOL v)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2009-03-01 09:57:37 +01:00
|
|
|
|
|
|
|
TRACE("(%p)->(%x)\n", This, v);
|
|
|
|
|
2019-03-25 15:13:39 +01:00
|
|
|
return set_style_property(&This->css_style, STYLEID_TEXT_DECORATION, v ? overlineW : emptyW);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_get_textDecorationOverline(IHTMLStyle *iface, VARIANT_BOOL *p)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2009-03-01 09:57:37 +01:00
|
|
|
|
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
|
|
|
|
2018-08-28 12:44:40 +02:00
|
|
|
return check_style_attr_value(This, STYLEID_TEXT_DECORATION, overlineW, p);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_put_textDecorationLineThrough(IHTMLStyle *iface, VARIANT_BOOL v)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2009-02-08 10:12:59 +01:00
|
|
|
|
|
|
|
TRACE("(%p)->(%x)\n", This, v);
|
|
|
|
|
2019-03-25 15:13:39 +01:00
|
|
|
return set_style_property(&This->css_style, STYLEID_TEXT_DECORATION, v ? line_throughW : emptyW);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_get_textDecorationLineThrough(IHTMLStyle *iface, VARIANT_BOOL *p)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2007-09-19 12:42:10 +02:00
|
|
|
|
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
|
|
|
|
2018-08-28 12:44:40 +02:00
|
|
|
return check_style_attr_value(This, STYLEID_TEXT_DECORATION, line_throughW, p);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_put_textDecorationBlink(IHTMLStyle *iface, VARIANT_BOOL v)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2009-03-01 10:06:29 +01:00
|
|
|
|
|
|
|
TRACE("(%p)->(%x)\n", This, v);
|
|
|
|
|
2019-03-25 15:13:39 +01:00
|
|
|
return set_style_property(&This->css_style, STYLEID_TEXT_DECORATION, v ? blinkW : emptyW);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_get_textDecorationBlink(IHTMLStyle *iface, VARIANT_BOOL *p)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2009-03-01 10:06:29 +01:00
|
|
|
|
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
|
|
|
|
2018-08-28 12:44:40 +02:00
|
|
|
return check_style_attr_value(This, STYLEID_TEXT_DECORATION, blinkW, p);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_put_verticalAlign(IHTMLStyle *iface, VARIANT v)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2008-10-06 16:51:21 +02:00
|
|
|
|
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
|
2019-03-25 15:13:49 +01:00
|
|
|
return set_style_property_var(&This->css_style, STYLEID_VERTICAL_ALIGN, &v);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_get_verticalAlign(IHTMLStyle *iface, VARIANT *p)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2008-10-06 16:51:21 +02:00
|
|
|
|
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
|
|
|
|
2019-03-25 15:14:13 +01:00
|
|
|
return get_style_property_var(&This->css_style, STYLEID_VERTICAL_ALIGN, p);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_put_textTransform(IHTMLStyle *iface, BSTR v)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2014-07-31 06:22:25 +02:00
|
|
|
|
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
|
2019-03-25 15:13:39 +01:00
|
|
|
return set_style_property(&This->css_style, STYLEID_TEXT_TRANSFORM, v);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_get_textTransform(IHTMLStyle *iface, BSTR *p)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2014-07-31 06:22:25 +02:00
|
|
|
|
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
|
|
|
|
2019-03-25 15:13:56 +01:00
|
|
|
return get_style_property(&This->css_style, STYLEID_TEXT_TRANSFORM, p);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_put_textAlign(IHTMLStyle *iface, BSTR v)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2008-10-07 21:45:31 +02:00
|
|
|
|
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
|
2019-03-25 15:13:39 +01:00
|
|
|
return set_style_property(&This->css_style, STYLEID_TEXT_ALIGN, v);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_get_textAlign(IHTMLStyle *iface, BSTR *p)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2008-10-07 21:45:31 +02:00
|
|
|
|
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
|
|
|
|
2019-03-25 15:13:56 +01:00
|
|
|
return get_style_property(&This->css_style, STYLEID_TEXT_ALIGN, p);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_put_textIndent(IHTMLStyle *iface, VARIANT v)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2014-08-09 02:31:31 +02:00
|
|
|
|
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
|
2019-03-25 15:13:49 +01:00
|
|
|
return set_style_property_var(&This->css_style, STYLEID_TEXT_INDENT, &v);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_get_textIndent(IHTMLStyle *iface, VARIANT *p)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2014-08-09 02:31:31 +02:00
|
|
|
|
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
|
|
|
|
2019-03-25 15:14:13 +01:00
|
|
|
return get_style_property_var(&This->css_style, STYLEID_TEXT_INDENT, p);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_put_lineHeight(IHTMLStyle *iface, VARIANT v)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2014-08-11 05:08:04 +02:00
|
|
|
|
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
|
2019-03-25 15:13:49 +01:00
|
|
|
return set_style_property_var(&This->css_style, STYLEID_LINE_HEIGHT, &v);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_get_lineHeight(IHTMLStyle *iface, VARIANT *p)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2014-08-11 05:08:04 +02:00
|
|
|
|
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
|
|
|
|
2019-03-25 15:14:13 +01:00
|
|
|
return get_style_property_var(&This->css_style, STYLEID_LINE_HEIGHT, p);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_put_marginTop(IHTMLStyle *iface, VARIANT v)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2009-12-14 01:03:15 +01:00
|
|
|
|
2012-03-28 14:25:54 +02:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
|
2009-12-14 01:03:15 +01:00
|
|
|
|
2019-03-25 15:13:49 +01:00
|
|
|
return set_style_property_var(&This->css_style, STYLEID_MARGIN_TOP, &v);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_get_marginTop(IHTMLStyle *iface, VARIANT *p)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2009-12-14 01:03:15 +01:00
|
|
|
|
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
|
|
|
|
2019-03-25 15:14:13 +01:00
|
|
|
return get_style_property_var(&This->css_style, STYLEID_MARGIN_TOP, p);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_put_marginRight(IHTMLStyle *iface, VARIANT v)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2007-12-10 20:11:58 +01:00
|
|
|
|
2012-03-28 14:25:54 +02:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
|
2007-12-10 20:11:58 +01:00
|
|
|
|
2019-03-25 15:13:49 +01:00
|
|
|
return set_style_property_var(&This->css_style, STYLEID_MARGIN_RIGHT, &v);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_get_marginRight(IHTMLStyle *iface, VARIANT *p)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2009-02-18 10:24:54 +01:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
2019-03-25 15:14:13 +01:00
|
|
|
return get_style_property_var(&This->css_style, STYLEID_MARGIN_RIGHT, p);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_put_marginBottom(IHTMLStyle *iface, VARIANT v)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2012-01-26 14:33:24 +01:00
|
|
|
|
2012-03-28 14:25:54 +02:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
|
2012-01-26 14:33:24 +01:00
|
|
|
|
2019-03-25 15:13:49 +01:00
|
|
|
return set_style_property_var(&This->css_style, STYLEID_MARGIN_BOTTOM, &v);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_get_marginBottom(IHTMLStyle *iface, VARIANT *p)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2012-01-26 14:33:24 +01:00
|
|
|
|
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
|
|
|
|
2019-03-25 15:14:13 +01:00
|
|
|
return get_style_property_var(&This->css_style, STYLEID_MARGIN_BOTTOM, p);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_put_marginLeft(IHTMLStyle *iface, VARIANT v)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2007-12-10 20:11:58 +01:00
|
|
|
|
2012-03-28 14:25:54 +02:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
|
2007-12-10 20:11:58 +01:00
|
|
|
|
2019-03-25 15:13:49 +01:00
|
|
|
return set_style_property_var(&This->css_style, STYLEID_MARGIN_LEFT, &v);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_put_margin(IHTMLStyle *iface, BSTR v)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2008-09-11 01:46:32 +02:00
|
|
|
|
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
|
2019-03-25 15:13:39 +01:00
|
|
|
return set_style_property(&This->css_style, STYLEID_MARGIN, v);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_get_margin(IHTMLStyle *iface, BSTR *p)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2008-09-11 01:46:32 +02:00
|
|
|
|
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
|
|
|
|
2019-03-25 15:13:56 +01:00
|
|
|
return get_style_property(&This->css_style, STYLEID_MARGIN, p);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_get_marginLeft(IHTMLStyle *iface, VARIANT *p)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2009-02-18 10:30:08 +01:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
2019-03-25 15:14:13 +01:00
|
|
|
return get_style_property_var(&This->css_style, STYLEID_MARGIN_LEFT, p);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_put_paddingTop(IHTMLStyle *iface, VARIANT v)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2012-01-26 14:33:47 +01:00
|
|
|
|
2012-03-28 14:25:54 +02:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
|
2012-01-26 14:33:47 +01:00
|
|
|
|
2019-03-25 15:13:49 +01:00
|
|
|
return set_style_property_var(&This->css_style, STYLEID_PADDING_TOP, &v);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_get_paddingTop(IHTMLStyle *iface, VARIANT *p)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2012-01-26 14:33:47 +01:00
|
|
|
|
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
|
|
|
|
2019-03-25 15:14:13 +01:00
|
|
|
return get_style_property_var(&This->css_style, STYLEID_PADDING_TOP, p);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_put_paddingRight(IHTMLStyle *iface, VARIANT v)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2012-01-26 14:33:57 +01:00
|
|
|
|
2012-03-28 14:25:54 +02:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
|
2012-01-26 14:33:57 +01:00
|
|
|
|
2019-03-25 15:13:49 +01:00
|
|
|
return set_style_property_var(&This->css_style, STYLEID_PADDING_RIGHT, &v);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_get_paddingRight(IHTMLStyle *iface, VARIANT *p)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2012-01-26 14:33:57 +01:00
|
|
|
|
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
|
|
|
|
2019-03-25 15:14:13 +01:00
|
|
|
return get_style_property_var(&This->css_style, STYLEID_PADDING_RIGHT, p);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_put_paddingBottom(IHTMLStyle *iface, VARIANT v)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2012-01-26 14:34:05 +01:00
|
|
|
|
2012-03-28 14:25:54 +02:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
|
2012-01-26 14:34:05 +01:00
|
|
|
|
2019-03-25 15:13:49 +01:00
|
|
|
return set_style_property_var(&This->css_style, STYLEID_PADDING_BOTTOM, &v);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_get_paddingBottom(IHTMLStyle *iface, VARIANT *p)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2012-01-26 14:34:05 +01:00
|
|
|
|
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
|
|
|
|
2019-03-25 15:14:13 +01:00
|
|
|
return get_style_property_var(&This->css_style, STYLEID_PADDING_BOTTOM, p);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_put_paddingLeft(IHTMLStyle *iface, VARIANT v)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2007-12-10 20:11:58 +01:00
|
|
|
|
2012-03-28 14:25:54 +02:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
|
2007-12-10 20:11:58 +01:00
|
|
|
|
2019-03-25 15:13:49 +01:00
|
|
|
return set_style_property_var(&This->css_style, STYLEID_PADDING_LEFT, &v);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_get_paddingLeft(IHTMLStyle *iface, VARIANT *p)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2009-02-08 10:20:38 +01:00
|
|
|
|
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
|
|
|
|
2019-03-25 15:14:13 +01:00
|
|
|
return get_style_property_var(&This->css_style, STYLEID_PADDING_LEFT, p);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_put_padding(IHTMLStyle *iface, BSTR v)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2010-11-29 00:18:48 +01:00
|
|
|
|
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
|
2019-03-25 15:13:39 +01:00
|
|
|
return set_style_property(&This->css_style, STYLEID_PADDING, v);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_get_padding(IHTMLStyle *iface, BSTR *p)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2010-11-29 00:18:48 +01:00
|
|
|
|
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
|
|
|
|
2019-03-25 15:13:56 +01:00
|
|
|
return get_style_property(&This->css_style, STYLEID_PADDING, p);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_put_border(IHTMLStyle *iface, BSTR v)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2008-10-06 16:50:03 +02:00
|
|
|
|
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
|
2019-03-25 15:13:39 +01:00
|
|
|
return set_style_property(&This->css_style, STYLEID_BORDER, v);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_get_border(IHTMLStyle *iface, BSTR *p)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2008-10-06 16:50:03 +02:00
|
|
|
|
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
|
|
|
|
2019-03-25 15:13:56 +01:00
|
|
|
return get_style_property(&This->css_style, STYLEID_BORDER, p);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_put_borderTop(IHTMLStyle *iface, BSTR v)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2009-12-01 21:04:38 +01:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_w(v));
|
2019-03-25 15:13:39 +01:00
|
|
|
return set_style_property(&This->css_style, STYLEID_BORDER_TOP, v);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_get_borderTop(IHTMLStyle *iface, BSTR *p)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2009-12-01 21:04:38 +01:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
2019-03-25 15:13:56 +01:00
|
|
|
return get_style_property(&This->css_style, STYLEID_BORDER_TOP, p);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_put_borderRight(IHTMLStyle *iface, BSTR v)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2009-12-01 21:04:38 +01:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_w(v));
|
2019-03-25 15:13:39 +01:00
|
|
|
return set_style_property(&This->css_style, STYLEID_BORDER_RIGHT, v);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_get_borderRight(IHTMLStyle *iface, BSTR *p)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2009-12-01 21:04:38 +01:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
2019-03-25 15:13:56 +01:00
|
|
|
return get_style_property(&This->css_style, STYLEID_BORDER_RIGHT, p);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_put_borderBottom(IHTMLStyle *iface, BSTR v)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2009-12-01 21:04:38 +01:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_w(v));
|
2019-03-25 15:13:39 +01:00
|
|
|
return set_style_property(&This->css_style, STYLEID_BORDER_BOTTOM, v);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_get_borderBottom(IHTMLStyle *iface, BSTR *p)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2009-12-01 21:04:38 +01:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
2019-03-25 15:13:56 +01:00
|
|
|
return get_style_property(&This->css_style, STYLEID_BORDER_BOTTOM, p);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_put_borderLeft(IHTMLStyle *iface, BSTR v)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2007-12-10 20:11:58 +01:00
|
|
|
|
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
|
2019-03-25 15:13:39 +01:00
|
|
|
return set_style_property(&This->css_style, STYLEID_BORDER_LEFT, v);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_get_borderLeft(IHTMLStyle *iface, BSTR *p)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2009-03-03 12:01:16 +01:00
|
|
|
|
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
|
|
|
|
2019-03-25 15:13:56 +01:00
|
|
|
return get_style_property(&This->css_style, STYLEID_BORDER_LEFT, p);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_put_borderColor(IHTMLStyle *iface, BSTR v)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2009-03-03 11:04:49 +01:00
|
|
|
|
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
|
2019-03-25 15:13:39 +01:00
|
|
|
return set_style_property(&This->css_style, STYLEID_BORDER_COLOR, v);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_get_borderColor(IHTMLStyle *iface, BSTR *p)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2009-03-03 11:04:49 +01:00
|
|
|
|
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
|
|
|
|
2019-03-25 15:13:56 +01:00
|
|
|
return get_style_property(&This->css_style, STYLEID_BORDER_COLOR, p);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_put_borderTopColor(IHTMLStyle *iface, VARIANT v)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2011-01-27 06:07:45 +01:00
|
|
|
|
2012-03-28 14:25:54 +02:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
|
2011-01-27 06:07:45 +01:00
|
|
|
|
2019-03-25 15:13:49 +01:00
|
|
|
return set_style_property_var(&This->css_style, STYLEID_BORDER_TOP_COLOR, &v);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_get_borderTopColor(IHTMLStyle *iface, VARIANT *p)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2010-02-11 01:19:58 +01:00
|
|
|
|
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
|
|
|
|
2019-03-25 15:14:13 +01:00
|
|
|
return get_style_property_var(&This->css_style, STYLEID_BORDER_TOP_COLOR, p);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_put_borderRightColor(IHTMLStyle *iface, VARIANT v)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2011-02-07 03:38:19 +01:00
|
|
|
|
2012-03-28 14:25:54 +02:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
|
2011-02-07 03:38:19 +01:00
|
|
|
|
2019-03-25 15:13:49 +01:00
|
|
|
return set_style_property_var(&This->css_style, STYLEID_BORDER_RIGHT_COLOR, &v);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_get_borderRightColor(IHTMLStyle *iface, VARIANT *p)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2010-02-09 19:35:41 +01:00
|
|
|
|
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
|
|
|
|
2019-03-25 15:14:13 +01:00
|
|
|
return get_style_property_var(&This->css_style, STYLEID_BORDER_RIGHT_COLOR, p);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_put_borderBottomColor(IHTMLStyle *iface, VARIANT v)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2011-02-04 16:47:10 +01:00
|
|
|
|
2012-03-28 14:25:54 +02:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
|
2011-02-04 16:47:10 +01:00
|
|
|
|
2019-03-25 15:13:49 +01:00
|
|
|
return set_style_property_var(&This->css_style, STYLEID_BORDER_BOTTOM_COLOR, &v);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_get_borderBottomColor(IHTMLStyle *iface, VARIANT *p)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2010-02-11 01:19:58 +01:00
|
|
|
|
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
|
|
|
|
2019-03-25 15:14:13 +01:00
|
|
|
return get_style_property_var(&This->css_style, STYLEID_BORDER_BOTTOM_COLOR, p);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_put_borderLeftColor(IHTMLStyle *iface, VARIANT v)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2011-02-04 17:42:29 +01:00
|
|
|
|
2012-03-28 14:25:54 +02:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
|
2011-02-04 17:42:29 +01:00
|
|
|
|
2019-03-25 15:13:49 +01:00
|
|
|
return set_style_property_var(&This->css_style, STYLEID_BORDER_LEFT_COLOR, &v);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_get_borderLeftColor(IHTMLStyle *iface, VARIANT *p)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2010-02-11 01:19:58 +01:00
|
|
|
|
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
|
|
|
|
2019-03-25 15:14:13 +01:00
|
|
|
return get_style_property_var(&This->css_style, STYLEID_BORDER_LEFT_COLOR, p);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_put_borderWidth(IHTMLStyle *iface, BSTR v)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2008-10-10 12:00:53 +02:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_w(v));
|
2019-03-25 15:13:39 +01:00
|
|
|
return set_style_property(&This->css_style, STYLEID_BORDER_WIDTH, v);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_get_borderWidth(IHTMLStyle *iface, BSTR *p)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2008-10-10 12:00:53 +02:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
2019-03-25 15:13:56 +01:00
|
|
|
return get_style_property(&This->css_style, STYLEID_BORDER_WIDTH, p);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_put_borderTopWidth(IHTMLStyle *iface, VARIANT v)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2012-03-28 14:25:54 +02:00
|
|
|
|
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
|
2019-03-25 15:13:49 +01:00
|
|
|
return set_style_property_var(&This->css_style, STYLEID_BORDER_TOP_WIDTH, &v);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_get_borderTopWidth(IHTMLStyle *iface, VARIANT *p)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2009-03-05 10:32:41 +01:00
|
|
|
|
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
|
|
|
|
2019-03-25 15:14:13 +01:00
|
|
|
return get_style_property_var(&This->css_style, STYLEID_BORDER_TOP_WIDTH, p);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_put_borderRightWidth(IHTMLStyle *iface, VARIANT v)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2012-03-28 14:25:54 +02:00
|
|
|
|
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
|
2019-03-25 15:13:49 +01:00
|
|
|
return set_style_property_var(&This->css_style, STYLEID_BORDER_RIGHT_WIDTH, &v);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_get_borderRightWidth(IHTMLStyle *iface, VARIANT *p)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2012-03-28 14:25:54 +02:00
|
|
|
|
2009-03-05 10:35:50 +01:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
2012-03-28 14:25:54 +02:00
|
|
|
|
2019-03-25 15:14:13 +01:00
|
|
|
return get_style_property_var(&This->css_style, STYLEID_BORDER_RIGHT_WIDTH, p);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_put_borderBottomWidth(IHTMLStyle *iface, VARIANT v)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2009-03-05 10:41:39 +01:00
|
|
|
|
2012-03-28 14:25:54 +02:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
|
2019-03-25 15:13:49 +01:00
|
|
|
return set_style_property_var(&This->css_style, STYLEID_BORDER_BOTTOM_WIDTH, &v);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_get_borderBottomWidth(IHTMLStyle *iface, VARIANT *p)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2009-03-05 10:41:39 +01:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
2019-03-25 15:14:13 +01:00
|
|
|
return get_style_property_var(&This->css_style, STYLEID_BORDER_BOTTOM_WIDTH, p);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_put_borderLeftWidth(IHTMLStyle *iface, VARIANT v)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2012-03-28 14:25:54 +02:00
|
|
|
|
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
|
2019-03-25 15:13:49 +01:00
|
|
|
return set_style_property_var(&This->css_style, STYLEID_BORDER_LEFT_WIDTH, &v);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_get_borderLeftWidth(IHTMLStyle *iface, VARIANT *p)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2009-03-05 10:44:38 +01:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
2019-03-25 15:14:13 +01:00
|
|
|
return get_style_property_var(&This->css_style, STYLEID_BORDER_LEFT_WIDTH, p);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_put_borderStyle(IHTMLStyle *iface, BSTR v)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2009-03-02 11:58:55 +01:00
|
|
|
static const WCHAR styleWindowInset[] = {'w','i','n','d','o','w','-','i','n','s','e','t',0};
|
|
|
|
HRESULT hres = S_OK;
|
|
|
|
BSTR pstyle;
|
|
|
|
int i=0;
|
|
|
|
int last = 0;
|
|
|
|
|
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
|
|
|
|
while(v[i] && hres == S_OK)
|
|
|
|
{
|
|
|
|
if(v[i] == (WCHAR)' ')
|
|
|
|
{
|
|
|
|
pstyle = SysAllocStringLen(&v[last], (i-last));
|
2019-06-13 08:34:29 +02:00
|
|
|
if( !(is_valid_border_style(pstyle) || wcsicmp(styleWindowInset, pstyle) == 0))
|
2009-03-02 11:58:55 +01:00
|
|
|
{
|
|
|
|
TRACE("1. Invalid style (%s)\n", debugstr_w(pstyle));
|
|
|
|
hres = E_INVALIDARG;
|
|
|
|
}
|
|
|
|
SysFreeString(pstyle);
|
|
|
|
last = i+1;
|
|
|
|
}
|
|
|
|
i++;
|
|
|
|
}
|
|
|
|
|
|
|
|
if(hres == S_OK)
|
|
|
|
{
|
|
|
|
pstyle = SysAllocStringLen(&v[last], i-last);
|
2019-06-13 08:34:29 +02:00
|
|
|
if( !(is_valid_border_style(pstyle) || wcsicmp(styleWindowInset, pstyle) == 0))
|
2009-03-02 11:58:55 +01:00
|
|
|
{
|
|
|
|
TRACE("2. Invalid style (%s)\n", debugstr_w(pstyle));
|
|
|
|
hres = E_INVALIDARG;
|
|
|
|
}
|
|
|
|
SysFreeString(pstyle);
|
|
|
|
}
|
|
|
|
|
|
|
|
if(hres == S_OK)
|
2019-03-25 15:13:39 +01:00
|
|
|
hres = set_style_property(&This->css_style, STYLEID_BORDER_STYLE, v);
|
2009-03-02 11:58:55 +01:00
|
|
|
|
|
|
|
return hres;
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_get_borderStyle(IHTMLStyle *iface, BSTR *p)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2009-03-02 11:58:55 +01:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
2019-03-25 15:13:56 +01:00
|
|
|
return get_style_property(&This->css_style, STYLEID_BORDER_STYLE, p);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_put_borderTopStyle(IHTMLStyle *iface, BSTR v)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2009-01-13 08:40:01 +01:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_w(v));
|
2019-03-25 15:13:39 +01:00
|
|
|
return set_style_property(&This->css_style, STYLEID_BORDER_TOP_STYLE, v);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_get_borderTopStyle(IHTMLStyle *iface, BSTR *p)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2009-01-13 08:40:01 +01:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
2019-03-25 15:13:56 +01:00
|
|
|
return get_style_property(&This->css_style, STYLEID_BORDER_TOP_STYLE, p);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_put_borderRightStyle(IHTMLStyle *iface, BSTR v)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2009-01-13 08:39:23 +01:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_w(v));
|
2019-03-25 15:13:39 +01:00
|
|
|
return set_style_property(&This->css_style, STYLEID_BORDER_RIGHT_STYLE, v);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_get_borderRightStyle(IHTMLStyle *iface, BSTR *p)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2009-01-13 08:39:23 +01:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
2019-03-25 15:13:56 +01:00
|
|
|
return get_style_property(&This->css_style, STYLEID_BORDER_RIGHT_STYLE, p);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_put_borderBottomStyle(IHTMLStyle *iface, BSTR v)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2009-01-13 08:38:32 +01:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_w(v));
|
2019-03-25 15:13:39 +01:00
|
|
|
return set_style_property(&This->css_style, STYLEID_BORDER_BOTTOM_STYLE, v);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_get_borderBottomStyle(IHTMLStyle *iface, BSTR *p)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2009-01-13 08:38:32 +01:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
2019-03-25 15:13:56 +01:00
|
|
|
return get_style_property(&This->css_style, STYLEID_BORDER_BOTTOM_STYLE, p);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_put_borderLeftStyle(IHTMLStyle *iface, BSTR v)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2009-01-13 08:30:17 +01:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_w(v));
|
2019-03-25 15:13:39 +01:00
|
|
|
return set_style_property(&This->css_style, STYLEID_BORDER_LEFT_STYLE, v);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_get_borderLeftStyle(IHTMLStyle *iface, BSTR *p)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2009-01-13 08:30:17 +01:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
2019-03-25 15:13:56 +01:00
|
|
|
return get_style_property(&This->css_style, STYLEID_BORDER_LEFT_STYLE, p);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_put_width(IHTMLStyle *iface, VARIANT v)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2008-06-30 21:39:52 +02:00
|
|
|
|
2012-03-28 14:25:54 +02:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
|
2008-06-30 21:39:52 +02:00
|
|
|
|
2019-03-25 15:13:49 +01:00
|
|
|
return set_style_property_var(&This->css_style, STYLEID_WIDTH, &v);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_get_width(IHTMLStyle *iface, VARIANT *p)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2008-06-30 21:39:52 +02:00
|
|
|
|
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
|
|
|
|
2019-03-25 15:14:13 +01:00
|
|
|
return get_style_property_var(&This->css_style, STYLEID_WIDTH, p);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_put_height(IHTMLStyle *iface, VARIANT v)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2008-10-06 16:51:34 +02:00
|
|
|
|
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
|
2019-03-25 15:13:49 +01:00
|
|
|
return set_style_property_var(&This->css_style, STYLEID_HEIGHT, &v);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_get_height(IHTMLStyle *iface, VARIANT *p)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2008-10-06 16:51:34 +02:00
|
|
|
|
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
|
|
|
|
2019-03-25 15:14:13 +01:00
|
|
|
return get_style_property_var(&This->css_style, STYLEID_HEIGHT, p);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_put_styleFloat(IHTMLStyle *iface, BSTR v)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2014-12-15 19:13:13 +01:00
|
|
|
|
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
|
2019-03-25 15:13:39 +01:00
|
|
|
return set_style_property(&This->css_style, STYLEID_FLOAT, v);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_get_styleFloat(IHTMLStyle *iface, BSTR *p)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2014-12-15 19:13:13 +01:00
|
|
|
|
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
|
|
|
|
2019-03-25 15:13:56 +01:00
|
|
|
return get_style_property(&This->css_style, STYLEID_FLOAT, p);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_put_clear(IHTMLStyle *iface, BSTR v)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2012-10-23 13:41:13 +02:00
|
|
|
|
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
|
2019-03-25 15:13:39 +01:00
|
|
|
return set_style_property(&This->css_style, STYLEID_CLEAR, v);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_get_clear(IHTMLStyle *iface, BSTR *p)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2012-10-23 13:41:13 +02:00
|
|
|
|
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
|
|
|
|
2019-03-25 15:13:56 +01:00
|
|
|
return get_style_property(&This->css_style, STYLEID_CLEAR, p);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_put_display(IHTMLStyle *iface, BSTR v)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2007-10-13 04:00:02 +02:00
|
|
|
|
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
|
2019-03-25 15:13:39 +01:00
|
|
|
return set_style_property(&This->css_style, STYLEID_DISPLAY, v);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_get_display(IHTMLStyle *iface, BSTR *p)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2007-10-13 04:00:02 +02:00
|
|
|
|
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
|
|
|
|
2019-03-25 15:13:56 +01:00
|
|
|
return get_style_property(&This->css_style, STYLEID_DISPLAY, p);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_put_visibility(IHTMLStyle *iface, BSTR v)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2007-10-13 04:00:02 +02:00
|
|
|
|
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
|
2019-03-25 15:13:39 +01:00
|
|
|
return set_style_property(&This->css_style, STYLEID_VISIBILITY, v);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_get_visibility(IHTMLStyle *iface, BSTR *p)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2007-10-13 04:00:02 +02:00
|
|
|
|
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
|
|
|
|
2019-03-25 15:13:56 +01:00
|
|
|
return get_style_property(&This->css_style, STYLEID_VISIBILITY, p);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_put_listStyleType(IHTMLStyle *iface, BSTR v)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2014-03-24 13:47:56 +01:00
|
|
|
|
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
|
2019-03-25 15:13:39 +01:00
|
|
|
return set_style_property(&This->css_style, STYLEID_LISTSTYLETYPE, v);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_get_listStyleType(IHTMLStyle *iface, BSTR *p)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2014-03-24 13:47:56 +01:00
|
|
|
|
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
|
|
|
|
2019-03-25 15:13:56 +01:00
|
|
|
return get_style_property(&This->css_style, STYLEID_LISTSTYLETYPE, p);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_put_listStylePosition(IHTMLStyle *iface, BSTR v)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2014-08-10 15:14:37 +02:00
|
|
|
|
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
|
2019-03-25 15:13:39 +01:00
|
|
|
return set_style_property(&This->css_style, STYLEID_LISTSTYLEPOSITION, v);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_get_listStylePosition(IHTMLStyle *iface, BSTR *p)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2014-08-10 15:14:37 +02:00
|
|
|
|
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
|
|
|
|
2019-03-25 15:13:56 +01:00
|
|
|
return get_style_property(&This->css_style, STYLEID_LISTSTYLEPOSITION, p);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_put_listStyleImage(IHTMLStyle *iface, BSTR v)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2006-11-17 13:04:06 +01:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_get_listStyleImage(IHTMLStyle *iface, BSTR *p)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2006-11-17 13:04:06 +01:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_put_listStyle(IHTMLStyle *iface, BSTR v)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2014-08-20 15:35:43 +02:00
|
|
|
|
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
|
2019-03-25 15:13:39 +01:00
|
|
|
return set_style_property(&This->css_style, STYLEID_LIST_STYLE, v);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_get_listStyle(IHTMLStyle *iface, BSTR *p)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2014-08-20 15:35:43 +02:00
|
|
|
|
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
|
|
|
|
2019-03-25 15:13:56 +01:00
|
|
|
return get_style_property(&This->css_style, STYLEID_LIST_STYLE, p);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_put_whiteSpace(IHTMLStyle *iface, BSTR v)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2013-08-28 17:51:08 +02:00
|
|
|
|
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
|
2019-03-25 15:13:39 +01:00
|
|
|
return set_style_property(&This->css_style, STYLEID_WHITE_SPACE, v);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_get_whiteSpace(IHTMLStyle *iface, BSTR *p)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2013-08-28 17:51:08 +02:00
|
|
|
|
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
|
|
|
|
2019-03-25 15:13:56 +01:00
|
|
|
return get_style_property(&This->css_style, STYLEID_WHITE_SPACE, p);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_put_top(IHTMLStyle *iface, VARIANT v)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2008-10-06 16:51:04 +02:00
|
|
|
|
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
|
2019-03-25 15:13:49 +01:00
|
|
|
return set_style_property_var(&This->css_style, STYLEID_TOP, &v);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_get_top(IHTMLStyle *iface, VARIANT *p)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2008-10-06 16:51:04 +02:00
|
|
|
|
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
|
|
|
|
2019-03-25 15:14:13 +01:00
|
|
|
return get_style_property_var(&This->css_style, STYLEID_TOP, p);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_put_left(IHTMLStyle *iface, VARIANT v)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2008-10-06 16:50:28 +02:00
|
|
|
|
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
|
2019-03-25 15:13:49 +01:00
|
|
|
return set_style_property_var(&This->css_style, STYLEID_LEFT, &v);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_get_left(IHTMLStyle *iface, VARIANT *p)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2008-10-06 16:50:28 +02:00
|
|
|
|
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
|
|
|
|
2019-03-25 15:14:13 +01:00
|
|
|
return get_style_property_var(&This->css_style, STYLEID_LEFT, p);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_get_position(IHTMLStyle *iface, BSTR *p)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2008-12-19 07:46:58 +01:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
2011-01-04 02:02:40 +01:00
|
|
|
return IHTMLStyle2_get_position(&This->IHTMLStyle2_iface, p);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_put_zIndex(IHTMLStyle *iface, VARIANT v)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2008-10-07 21:45:05 +02:00
|
|
|
|
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
|
2019-03-25 15:13:49 +01:00
|
|
|
return set_style_property_var(&This->css_style, STYLEID_Z_INDEX, &v);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_get_zIndex(IHTMLStyle *iface, VARIANT *p)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2008-10-07 21:45:05 +02:00
|
|
|
|
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
|
|
|
|
2019-03-25 15:14:13 +01:00
|
|
|
return get_style_property_var(&This->css_style, STYLEID_Z_INDEX, p);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_put_overflow(IHTMLStyle *iface, BSTR v)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2008-11-25 11:04:11 +01:00
|
|
|
|
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
|
2019-03-25 15:13:39 +01:00
|
|
|
return set_style_property(&This->css_style, STYLEID_OVERFLOW, v);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
2008-11-25 11:04:11 +01:00
|
|
|
|
2006-11-17 13:04:06 +01:00
|
|
|
static HRESULT WINAPI HTMLStyle_get_overflow(IHTMLStyle *iface, BSTR *p)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2008-11-25 11:04:11 +01:00
|
|
|
|
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
|
|
|
|
|
|
|
if(!p)
|
|
|
|
return E_INVALIDARG;
|
|
|
|
|
2019-03-25 15:13:56 +01:00
|
|
|
return get_style_property(&This->css_style, STYLEID_OVERFLOW, p);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_put_pageBreakBefore(IHTMLStyle *iface, BSTR v)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2011-07-21 12:26:37 +02:00
|
|
|
|
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
|
2019-03-25 15:13:39 +01:00
|
|
|
return set_style_property(&This->css_style, STYLEID_PAGE_BREAK_BEFORE, v);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_get_pageBreakBefore(IHTMLStyle *iface, BSTR *p)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2011-07-21 12:26:37 +02:00
|
|
|
|
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
|
|
|
|
2019-03-25 15:13:56 +01:00
|
|
|
return get_style_property(&This->css_style, STYLEID_PAGE_BREAK_BEFORE, p);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_put_pageBreakAfter(IHTMLStyle *iface, BSTR v)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2011-07-18 13:39:37 +02:00
|
|
|
|
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
|
2019-03-25 15:13:39 +01:00
|
|
|
return set_style_property(&This->css_style, STYLEID_PAGE_BREAK_AFTER, v);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_get_pageBreakAfter(IHTMLStyle *iface, BSTR *p)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2011-07-18 13:39:37 +02:00
|
|
|
|
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
|
|
|
|
2019-03-25 15:13:56 +01:00
|
|
|
return get_style_property(&This->css_style, STYLEID_PAGE_BREAK_AFTER, p);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_put_cssText(IHTMLStyle *iface, BSTR v)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2009-03-09 20:46:01 +01:00
|
|
|
|
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
|
2019-03-25 15:14:50 +01:00
|
|
|
return IHTMLCSSStyleDeclaration_put_cssText(&This->css_style.IHTMLCSSStyleDeclaration_iface, v);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_get_cssText(IHTMLStyle *iface, BSTR *p)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2009-03-09 20:45:48 +01:00
|
|
|
|
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
|
|
|
|
2019-03-25 15:14:50 +01:00
|
|
|
return IHTMLCSSStyleDeclaration_get_cssText(&This->css_style.IHTMLCSSStyleDeclaration_iface, p);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
2009-03-12 01:43:31 +01:00
|
|
|
static HRESULT WINAPI HTMLStyle_put_pixelTop(IHTMLStyle *iface, LONG v)
|
2006-11-17 13:04:06 +01:00
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2014-09-09 12:50:54 +02:00
|
|
|
|
|
|
|
TRACE("(%p)->(%d)\n", This, v);
|
|
|
|
|
2018-08-27 13:45:22 +02:00
|
|
|
return set_style_pxattr(This, STYLEID_TOP, v);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
2009-03-12 01:43:31 +01:00
|
|
|
static HRESULT WINAPI HTMLStyle_get_pixelTop(IHTMLStyle *iface, LONG *p)
|
2006-11-17 13:04:06 +01:00
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2014-09-09 12:50:54 +02:00
|
|
|
|
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
|
|
|
|
|
|
|
return get_nsstyle_pixel_val(This, STYLEID_TOP, p);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
2009-03-12 01:43:31 +01:00
|
|
|
static HRESULT WINAPI HTMLStyle_put_pixelLeft(IHTMLStyle *iface, LONG v)
|
2006-11-17 13:04:06 +01:00
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2013-01-07 14:33:12 +01:00
|
|
|
|
|
|
|
TRACE("(%p)->(%d)\n", This, v);
|
|
|
|
|
2018-08-27 13:45:22 +02:00
|
|
|
return set_style_pxattr(This, STYLEID_LEFT, v);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
2009-03-12 01:43:31 +01:00
|
|
|
static HRESULT WINAPI HTMLStyle_get_pixelLeft(IHTMLStyle *iface, LONG *p)
|
2006-11-17 13:04:06 +01:00
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2013-01-07 14:32:56 +01:00
|
|
|
|
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
|
|
|
|
|
|
|
return get_nsstyle_pixel_val(This, STYLEID_LEFT, p);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
2009-03-12 01:43:31 +01:00
|
|
|
static HRESULT WINAPI HTMLStyle_put_pixelWidth(IHTMLStyle *iface, LONG v)
|
2006-11-17 13:04:06 +01:00
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2012-09-04 13:59:09 +02:00
|
|
|
|
|
|
|
TRACE("(%p)->()\n", This);
|
|
|
|
|
2018-08-27 13:45:22 +02:00
|
|
|
return set_style_pxattr(This, STYLEID_WIDTH, v);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
2009-03-12 01:43:31 +01:00
|
|
|
static HRESULT WINAPI HTMLStyle_get_pixelWidth(IHTMLStyle *iface, LONG *p)
|
2006-11-17 13:04:06 +01:00
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2014-09-09 12:50:36 +02:00
|
|
|
|
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
|
|
|
|
|
|
|
return get_nsstyle_pixel_val(This, STYLEID_WIDTH, p);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
2009-03-12 01:43:31 +01:00
|
|
|
static HRESULT WINAPI HTMLStyle_put_pixelHeight(IHTMLStyle *iface, LONG v)
|
2006-11-17 13:04:06 +01:00
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2014-09-09 12:50:46 +02:00
|
|
|
|
|
|
|
TRACE("(%p)->(%d)\n", This, v);
|
|
|
|
|
2018-08-27 13:45:22 +02:00
|
|
|
return set_style_pxattr(This, STYLEID_HEIGHT, v);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
2009-03-12 01:43:31 +01:00
|
|
|
static HRESULT WINAPI HTMLStyle_get_pixelHeight(IHTMLStyle *iface, LONG *p)
|
2006-11-17 13:04:06 +01:00
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2014-09-09 12:50:46 +02:00
|
|
|
|
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
|
|
|
|
|
|
|
return get_nsstyle_pixel_val(This, STYLEID_HEIGHT, p);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_put_posTop(IHTMLStyle *iface, float v)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2008-11-11 12:36:39 +01:00
|
|
|
|
|
|
|
TRACE("(%p)->(%f)\n", This, v);
|
|
|
|
|
|
|
|
return set_style_pos(This, STYLEID_TOP, v);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_get_posTop(IHTMLStyle *iface, float *p)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2008-11-11 12:36:39 +01:00
|
|
|
|
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
|
|
|
|
|
|
|
if(!p)
|
|
|
|
return E_POINTER;
|
|
|
|
|
|
|
|
return get_nsstyle_pos(This, STYLEID_TOP, p);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_put_posLeft(IHTMLStyle *iface, float v)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2008-11-05 12:06:45 +01:00
|
|
|
|
|
|
|
TRACE("(%p)->(%f)\n", This, v);
|
|
|
|
|
|
|
|
return set_style_pos(This, STYLEID_LEFT, v);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_get_posLeft(IHTMLStyle *iface, float *p)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2008-11-05 12:06:45 +01:00
|
|
|
|
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
|
|
|
|
|
|
|
if(!p)
|
|
|
|
return E_POINTER;
|
|
|
|
|
|
|
|
return get_nsstyle_pos(This, STYLEID_LEFT, p);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_put_posWidth(IHTMLStyle *iface, float v)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2008-12-08 11:08:17 +01:00
|
|
|
|
|
|
|
TRACE("(%p)->(%f)\n", This, v);
|
|
|
|
|
|
|
|
return set_style_pos(This, STYLEID_WIDTH, v);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_get_posWidth(IHTMLStyle *iface, float *p)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2008-12-08 11:08:17 +01:00
|
|
|
|
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
|
|
|
|
|
|
|
if(!p)
|
|
|
|
return E_POINTER;
|
|
|
|
|
|
|
|
if(get_nsstyle_pos(This, STYLEID_WIDTH, p) != S_OK)
|
|
|
|
*p = 0.0f;
|
|
|
|
|
|
|
|
return S_OK;
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_put_posHeight(IHTMLStyle *iface, float v)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2008-12-10 00:40:28 +01:00
|
|
|
|
|
|
|
TRACE("(%p)->(%f)\n", This, v);
|
|
|
|
|
|
|
|
return set_style_pos(This, STYLEID_HEIGHT, v);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_get_posHeight(IHTMLStyle *iface, float *p)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2008-12-10 00:40:28 +01:00
|
|
|
|
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
|
|
|
|
|
|
|
if(!p)
|
|
|
|
return E_POINTER;
|
|
|
|
|
|
|
|
if(get_nsstyle_pos(This, STYLEID_HEIGHT, p) != S_OK)
|
|
|
|
*p = 0.0f;
|
|
|
|
|
|
|
|
return S_OK;
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_put_cursor(IHTMLStyle *iface, BSTR v)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2008-10-06 16:50:46 +02:00
|
|
|
|
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
|
2019-03-25 15:13:39 +01:00
|
|
|
return set_style_property(&This->css_style, STYLEID_CURSOR, v);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_get_cursor(IHTMLStyle *iface, BSTR *p)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2008-10-06 16:50:46 +02:00
|
|
|
|
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
|
|
|
|
2019-03-25 15:13:56 +01:00
|
|
|
return get_style_property(&This->css_style, STYLEID_CURSOR, p);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_put_clip(IHTMLStyle *iface, BSTR v)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2011-07-15 15:38:08 +02:00
|
|
|
|
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
|
2019-03-25 15:13:39 +01:00
|
|
|
return set_style_property(&This->css_style, STYLEID_CLIP, v);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_get_clip(IHTMLStyle *iface, BSTR *p)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2011-07-15 15:38:08 +02:00
|
|
|
|
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
|
|
|
|
2019-03-25 15:13:56 +01:00
|
|
|
return get_style_property(&This->css_style, STYLEID_CLIP, p);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
2011-02-28 13:13:37 +01:00
|
|
|
static void set_opacity(HTMLStyle *This, const WCHAR *val)
|
|
|
|
{
|
|
|
|
nsAString name_str, val_str, empty_str;
|
|
|
|
nsresult nsres;
|
|
|
|
|
|
|
|
static const WCHAR opacityW[] = {'o','p','a','c','i','t','y',0};
|
|
|
|
|
|
|
|
TRACE("%s\n", debugstr_w(val));
|
|
|
|
|
|
|
|
nsAString_InitDepend(&name_str, opacityW);
|
|
|
|
nsAString_InitDepend(&val_str, val);
|
|
|
|
nsAString_InitDepend(&empty_str, emptyW);
|
|
|
|
|
2019-03-25 15:12:04 +01:00
|
|
|
nsres = nsIDOMCSSStyleDeclaration_SetProperty(This->css_style.nsstyle, &name_str, &val_str, &empty_str);
|
2011-02-28 13:13:37 +01:00
|
|
|
if(NS_FAILED(nsres))
|
|
|
|
ERR("SetProperty failed: %08x\n", nsres);
|
|
|
|
|
|
|
|
nsAString_Finish(&name_str);
|
|
|
|
nsAString_Finish(&val_str);
|
|
|
|
nsAString_Finish(&empty_str);
|
|
|
|
}
|
|
|
|
|
|
|
|
static void update_filter(HTMLStyle *This)
|
|
|
|
{
|
2017-04-24 15:20:03 +02:00
|
|
|
const WCHAR *ptr, *ptr2;
|
2011-02-28 13:13:37 +01:00
|
|
|
|
|
|
|
static const WCHAR alphaW[] = {'a','l','p','h','a'};
|
|
|
|
|
2019-03-25 15:12:28 +01:00
|
|
|
if(dispex_compat_mode(&This->css_style.dispex) >= COMPAT_MODE_IE10)
|
2017-04-24 15:20:03 +02:00
|
|
|
return;
|
|
|
|
|
|
|
|
ptr = This->elem->filter;
|
|
|
|
TRACE("%s\n", debugstr_w(ptr));
|
2011-02-28 13:13:37 +01:00
|
|
|
if(!ptr) {
|
|
|
|
set_opacity(This, emptyW);
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
while(1) {
|
2019-06-13 08:34:29 +02:00
|
|
|
while(iswspace(*ptr))
|
2011-02-28 13:13:37 +01:00
|
|
|
ptr++;
|
|
|
|
if(!*ptr)
|
|
|
|
break;
|
|
|
|
|
|
|
|
ptr2 = ptr;
|
2019-06-13 08:34:29 +02:00
|
|
|
while(iswalnum(*ptr))
|
2011-02-28 13:13:37 +01:00
|
|
|
ptr++;
|
|
|
|
if(ptr == ptr2) {
|
|
|
|
WARN("unexpected char '%c'\n", *ptr);
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
if(*ptr != '(') {
|
|
|
|
WARN("expected '('\n");
|
|
|
|
continue;
|
|
|
|
}
|
|
|
|
|
2018-08-23 23:31:15 +02:00
|
|
|
if(ptr2 + ARRAY_SIZE(alphaW) == ptr && !memcmp(ptr2, alphaW, sizeof(alphaW))) {
|
2011-02-28 13:13:37 +01:00
|
|
|
static const WCHAR formatW[] = {'%','f',0};
|
|
|
|
static const WCHAR opacityW[] = {'o','p','a','c','i','t','y','='};
|
|
|
|
|
|
|
|
ptr++;
|
|
|
|
do {
|
2019-06-13 08:34:29 +02:00
|
|
|
while(iswspace(*ptr))
|
2011-02-28 13:13:37 +01:00
|
|
|
ptr++;
|
|
|
|
|
|
|
|
ptr2 = ptr;
|
|
|
|
while(*ptr && *ptr != ',' && *ptr != ')')
|
|
|
|
ptr++;
|
|
|
|
if(!*ptr) {
|
|
|
|
WARN("unexpected end of string\n");
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
|
2018-08-23 23:31:15 +02:00
|
|
|
if(ptr-ptr2 > ARRAY_SIZE(opacityW) && !memcmp(ptr2, opacityW, sizeof(opacityW))) {
|
2011-02-28 13:13:37 +01:00
|
|
|
float fval = 0.0f, e = 0.1f;
|
|
|
|
WCHAR buf[32];
|
|
|
|
|
2018-08-23 23:31:15 +02:00
|
|
|
ptr2 += ARRAY_SIZE(opacityW);
|
2011-02-28 13:13:37 +01:00
|
|
|
|
2019-11-12 20:49:03 +01:00
|
|
|
while(is_digit(*ptr2))
|
2011-02-28 13:13:37 +01:00
|
|
|
fval = fval*10.0f + (float)(*ptr2++ - '0');
|
|
|
|
|
|
|
|
if(*ptr2 == '.') {
|
2019-11-12 20:49:03 +01:00
|
|
|
while(is_digit(*++ptr2)) {
|
2011-02-28 13:13:37 +01:00
|
|
|
fval += e * (float)(*ptr2++ - '0');
|
|
|
|
e *= 0.1f;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-06-13 08:34:29 +02:00
|
|
|
swprintf(buf, ARRAY_SIZE(buf), formatW, fval * 0.01f);
|
2011-02-28 13:13:37 +01:00
|
|
|
set_opacity(This, buf);
|
|
|
|
}else {
|
|
|
|
FIXME("unknown param %s\n", debugstr_wn(ptr2, ptr-ptr2));
|
|
|
|
}
|
|
|
|
|
|
|
|
if(*ptr == ',')
|
|
|
|
ptr++;
|
|
|
|
}while(*ptr != ')');
|
|
|
|
}else {
|
|
|
|
FIXME("unknown filter %s\n", debugstr_wn(ptr2, ptr-ptr2));
|
2019-06-13 08:34:29 +02:00
|
|
|
ptr = wcschr(ptr, ')');
|
2011-02-28 13:13:37 +01:00
|
|
|
if(!ptr)
|
|
|
|
break;
|
|
|
|
ptr++;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2006-11-17 13:04:06 +01:00
|
|
|
static HRESULT WINAPI HTMLStyle_put_filter(IHTMLStyle *iface, BSTR v)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2011-02-28 13:12:50 +01:00
|
|
|
WCHAR *new_filter = NULL;
|
2008-10-07 21:45:46 +02:00
|
|
|
|
2011-02-28 13:12:50 +01:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
|
2012-03-16 12:17:50 +01:00
|
|
|
if(!This->elem) {
|
|
|
|
FIXME("Element already destroyed\n");
|
|
|
|
return E_UNEXPECTED;
|
|
|
|
}
|
|
|
|
|
2011-02-28 13:12:50 +01:00
|
|
|
if(v) {
|
|
|
|
new_filter = heap_strdupW(v);
|
|
|
|
if(!new_filter)
|
|
|
|
return E_OUTOFMEMORY;
|
|
|
|
}
|
2008-10-07 21:45:46 +02:00
|
|
|
|
2012-03-16 12:17:50 +01:00
|
|
|
heap_free(This->elem->filter);
|
|
|
|
This->elem->filter = new_filter;
|
2011-02-28 13:13:37 +01:00
|
|
|
|
|
|
|
update_filter(This);
|
2011-02-28 13:12:50 +01:00
|
|
|
return S_OK;
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_get_filter(IHTMLStyle *iface, BSTR *p)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2008-10-07 21:45:46 +02:00
|
|
|
|
2011-02-28 13:12:50 +01:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
|
|
|
|
2012-03-16 12:17:50 +01:00
|
|
|
if(!This->elem) {
|
|
|
|
FIXME("Element already destroyed\n");
|
|
|
|
return E_UNEXPECTED;
|
|
|
|
}
|
|
|
|
|
|
|
|
if(This->elem->filter) {
|
|
|
|
*p = SysAllocString(This->elem->filter);
|
2011-02-28 13:12:50 +01:00
|
|
|
if(!*p)
|
|
|
|
return E_OUTOFMEMORY;
|
|
|
|
}else {
|
|
|
|
*p = NULL;
|
|
|
|
}
|
2008-10-07 21:45:46 +02:00
|
|
|
|
2011-02-28 13:12:50 +01:00
|
|
|
return S_OK;
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_setAttribute(IHTMLStyle *iface, BSTR strAttributeName,
|
|
|
|
VARIANT AttributeValue, LONG lFlags)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2009-01-05 11:22:35 +01:00
|
|
|
HRESULT hres;
|
|
|
|
DISPID dispid;
|
|
|
|
|
2012-03-30 14:14:26 +02:00
|
|
|
TRACE("(%p)->(%s %s %08x)\n", This, debugstr_w(strAttributeName),
|
|
|
|
debugstr_variant(&AttributeValue), lFlags);
|
2009-01-05 11:22:35 +01:00
|
|
|
|
|
|
|
if(!strAttributeName)
|
|
|
|
return E_INVALIDARG;
|
|
|
|
|
|
|
|
if(lFlags == 1)
|
|
|
|
FIXME("Parameter lFlags ignored\n");
|
|
|
|
|
2009-02-16 09:53:46 +01:00
|
|
|
hres = HTMLStyle_GetIDsOfNames(iface, &IID_NULL, &strAttributeName, 1,
|
2009-01-05 11:22:35 +01:00
|
|
|
LOCALE_USER_DEFAULT, &dispid);
|
|
|
|
if(hres == S_OK)
|
|
|
|
{
|
|
|
|
VARIANT ret;
|
|
|
|
DISPID dispidNamed = DISPID_PROPERTYPUT;
|
|
|
|
DISPPARAMS params;
|
|
|
|
|
|
|
|
params.cArgs = 1;
|
|
|
|
params.rgvarg = &AttributeValue;
|
|
|
|
params.cNamedArgs = 1;
|
|
|
|
params.rgdispidNamedArgs = &dispidNamed;
|
|
|
|
|
|
|
|
hres = HTMLStyle_Invoke(iface, dispid, &IID_NULL, LOCALE_SYSTEM_DEFAULT,
|
|
|
|
DISPATCH_PROPERTYPUT, ¶ms, &ret, NULL, NULL);
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
FIXME("Custom attributes not supported.\n");
|
|
|
|
}
|
|
|
|
|
|
|
|
TRACE("ret: %08x\n", hres);
|
|
|
|
|
|
|
|
return hres;
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_getAttribute(IHTMLStyle *iface, BSTR strAttributeName,
|
|
|
|
LONG lFlags, VARIANT *AttributeValue)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2009-01-05 11:22:35 +01:00
|
|
|
HRESULT hres;
|
|
|
|
DISPID dispid;
|
|
|
|
|
|
|
|
TRACE("(%p)->(%s v%p %08x)\n", This, debugstr_w(strAttributeName),
|
|
|
|
AttributeValue, lFlags);
|
|
|
|
|
|
|
|
if(!AttributeValue || !strAttributeName)
|
|
|
|
return E_INVALIDARG;
|
|
|
|
|
|
|
|
if(lFlags == 1)
|
|
|
|
FIXME("Parameter lFlags ignored\n");
|
|
|
|
|
2009-02-16 09:53:46 +01:00
|
|
|
hres = HTMLStyle_GetIDsOfNames(iface, &IID_NULL, &strAttributeName, 1,
|
2009-01-05 11:22:35 +01:00
|
|
|
LOCALE_USER_DEFAULT, &dispid);
|
|
|
|
if(hres == S_OK)
|
|
|
|
{
|
|
|
|
DISPPARAMS params = {NULL, NULL, 0, 0 };
|
|
|
|
|
|
|
|
hres = HTMLStyle_Invoke(iface, dispid, &IID_NULL, LOCALE_SYSTEM_DEFAULT,
|
|
|
|
DISPATCH_PROPERTYGET, ¶ms, AttributeValue, NULL, NULL);
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
FIXME("Custom attributes not supported.\n");
|
|
|
|
}
|
|
|
|
|
|
|
|
return hres;
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_removeAttribute(IHTMLStyle *iface, BSTR strAttributeName,
|
|
|
|
LONG lFlags, VARIANT_BOOL *pfSuccess)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2012-04-16 13:49:09 +02:00
|
|
|
const style_tbl_entry_t *style_entry;
|
|
|
|
nsAString name_str, ret_str;
|
|
|
|
nsresult nsres;
|
|
|
|
HRESULT hres;
|
|
|
|
|
|
|
|
TRACE("(%p)->(%s %08x %p)\n", This, debugstr_w(strAttributeName), lFlags, pfSuccess);
|
|
|
|
|
|
|
|
style_entry = lookup_style_tbl(strAttributeName);
|
|
|
|
if(!style_entry) {
|
2019-03-25 15:12:28 +01:00
|
|
|
compat_mode_t compat_mode = dispex_compat_mode(&This->css_style.dispex);
|
2012-04-16 13:49:09 +02:00
|
|
|
DISPID dispid;
|
|
|
|
unsigned i;
|
|
|
|
|
2019-03-25 15:12:28 +01:00
|
|
|
hres = IDispatchEx_GetDispID(&This->css_style.dispex.IDispatchEx_iface, strAttributeName,
|
2012-04-16 13:49:09 +02:00
|
|
|
(lFlags&1) ? fdexNameCaseSensitive : fdexNameCaseInsensitive, &dispid);
|
|
|
|
if(hres != S_OK) {
|
|
|
|
*pfSuccess = VARIANT_FALSE;
|
|
|
|
return S_OK;
|
|
|
|
}
|
|
|
|
|
2018-08-23 23:31:15 +02:00
|
|
|
for(i=0; i < ARRAY_SIZE(style_tbl); i++) {
|
2018-09-12 21:16:04 +02:00
|
|
|
if(dispid == (compat_mode >= COMPAT_MODE_IE9
|
|
|
|
? style_tbl[i].dispid : style_tbl[i].compat_dispid))
|
2012-04-16 13:49:09 +02:00
|
|
|
break;
|
|
|
|
}
|
|
|
|
|
2018-08-23 23:31:15 +02:00
|
|
|
if(i == ARRAY_SIZE(style_tbl))
|
2019-03-25 15:12:28 +01:00
|
|
|
return remove_attribute(&This->css_style.dispex, dispid, pfSuccess);
|
2012-04-16 13:49:09 +02:00
|
|
|
style_entry = style_tbl+i;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* filter property is a special case */
|
2018-09-12 21:16:04 +02:00
|
|
|
if(style_entry->compat_dispid == DISPID_IHTMLSTYLE_FILTER) {
|
2019-03-27 18:52:34 +01:00
|
|
|
if(!This->elem)
|
|
|
|
return E_UNEXPECTED;
|
2017-11-02 16:48:02 +01:00
|
|
|
*pfSuccess = variant_bool(This->elem->filter && *This->elem->filter);
|
2012-04-16 13:49:09 +02:00
|
|
|
heap_free(This->elem->filter);
|
|
|
|
This->elem->filter = NULL;
|
|
|
|
update_filter(This);
|
|
|
|
return S_OK;
|
|
|
|
}
|
|
|
|
|
|
|
|
nsAString_InitDepend(&name_str, style_entry->name);
|
|
|
|
nsAString_Init(&ret_str, NULL);
|
2019-03-25 15:12:04 +01:00
|
|
|
nsres = nsIDOMCSSStyleDeclaration_RemoveProperty(This->css_style.nsstyle, &name_str, &ret_str);
|
2012-04-16 13:49:09 +02:00
|
|
|
if(NS_SUCCEEDED(nsres)) {
|
|
|
|
const PRUnichar *ret;
|
|
|
|
nsAString_GetData(&ret_str, &ret);
|
2017-11-02 16:48:02 +01:00
|
|
|
*pfSuccess = variant_bool(*ret);
|
2012-04-16 13:49:09 +02:00
|
|
|
}else {
|
2019-03-26 17:27:32 +01:00
|
|
|
WARN("RemoveProperty failed: %08x\n", nsres);
|
2012-04-16 13:49:09 +02:00
|
|
|
}
|
|
|
|
nsAString_Finish(&name_str);
|
|
|
|
nsAString_Finish(&ret_str);
|
2019-03-26 17:27:32 +01:00
|
|
|
return map_nsresult(nsres);
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle_toString(IHTMLStyle *iface, BSTR *String)
|
|
|
|
{
|
2011-01-04 02:00:53 +01:00
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle(iface);
|
2006-11-17 13:04:06 +01:00
|
|
|
FIXME("(%p)->(%p)\n", This, String);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static const IHTMLStyleVtbl HTMLStyleVtbl = {
|
|
|
|
HTMLStyle_QueryInterface,
|
|
|
|
HTMLStyle_AddRef,
|
|
|
|
HTMLStyle_Release,
|
|
|
|
HTMLStyle_GetTypeInfoCount,
|
|
|
|
HTMLStyle_GetTypeInfo,
|
|
|
|
HTMLStyle_GetIDsOfNames,
|
|
|
|
HTMLStyle_Invoke,
|
|
|
|
HTMLStyle_put_fontFamily,
|
|
|
|
HTMLStyle_get_fontFamily,
|
|
|
|
HTMLStyle_put_fontStyle,
|
|
|
|
HTMLStyle_get_fontStyle,
|
|
|
|
HTMLStyle_put_fontVariant,
|
|
|
|
HTMLStyle_get_fontVariant,
|
|
|
|
HTMLStyle_put_fontWeight,
|
|
|
|
HTMLStyle_get_fontWeight,
|
|
|
|
HTMLStyle_put_fontSize,
|
|
|
|
HTMLStyle_get_fontSize,
|
|
|
|
HTMLStyle_put_font,
|
|
|
|
HTMLStyle_get_font,
|
|
|
|
HTMLStyle_put_color,
|
|
|
|
HTMLStyle_get_color,
|
|
|
|
HTMLStyle_put_background,
|
|
|
|
HTMLStyle_get_background,
|
|
|
|
HTMLStyle_put_backgroundColor,
|
|
|
|
HTMLStyle_get_backgroundColor,
|
|
|
|
HTMLStyle_put_backgroundImage,
|
|
|
|
HTMLStyle_get_backgroundImage,
|
|
|
|
HTMLStyle_put_backgroundRepeat,
|
|
|
|
HTMLStyle_get_backgroundRepeat,
|
|
|
|
HTMLStyle_put_backgroundAttachment,
|
|
|
|
HTMLStyle_get_backgroundAttachment,
|
|
|
|
HTMLStyle_put_backgroundPosition,
|
|
|
|
HTMLStyle_get_backgroundPosition,
|
|
|
|
HTMLStyle_put_backgroundPositionX,
|
|
|
|
HTMLStyle_get_backgroundPositionX,
|
|
|
|
HTMLStyle_put_backgroundPositionY,
|
|
|
|
HTMLStyle_get_backgroundPositionY,
|
|
|
|
HTMLStyle_put_wordSpacing,
|
|
|
|
HTMLStyle_get_wordSpacing,
|
|
|
|
HTMLStyle_put_letterSpacing,
|
|
|
|
HTMLStyle_get_letterSpacing,
|
|
|
|
HTMLStyle_put_textDecoration,
|
|
|
|
HTMLStyle_get_textDecoration,
|
|
|
|
HTMLStyle_put_textDecorationNone,
|
|
|
|
HTMLStyle_get_textDecorationNone,
|
|
|
|
HTMLStyle_put_textDecorationUnderline,
|
|
|
|
HTMLStyle_get_textDecorationUnderline,
|
|
|
|
HTMLStyle_put_textDecorationOverline,
|
|
|
|
HTMLStyle_get_textDecorationOverline,
|
|
|
|
HTMLStyle_put_textDecorationLineThrough,
|
|
|
|
HTMLStyle_get_textDecorationLineThrough,
|
|
|
|
HTMLStyle_put_textDecorationBlink,
|
|
|
|
HTMLStyle_get_textDecorationBlink,
|
|
|
|
HTMLStyle_put_verticalAlign,
|
|
|
|
HTMLStyle_get_verticalAlign,
|
|
|
|
HTMLStyle_put_textTransform,
|
|
|
|
HTMLStyle_get_textTransform,
|
|
|
|
HTMLStyle_put_textAlign,
|
|
|
|
HTMLStyle_get_textAlign,
|
|
|
|
HTMLStyle_put_textIndent,
|
|
|
|
HTMLStyle_get_textIndent,
|
|
|
|
HTMLStyle_put_lineHeight,
|
|
|
|
HTMLStyle_get_lineHeight,
|
|
|
|
HTMLStyle_put_marginTop,
|
|
|
|
HTMLStyle_get_marginTop,
|
|
|
|
HTMLStyle_put_marginRight,
|
|
|
|
HTMLStyle_get_marginRight,
|
|
|
|
HTMLStyle_put_marginBottom,
|
|
|
|
HTMLStyle_get_marginBottom,
|
|
|
|
HTMLStyle_put_marginLeft,
|
|
|
|
HTMLStyle_get_marginLeft,
|
|
|
|
HTMLStyle_put_margin,
|
|
|
|
HTMLStyle_get_margin,
|
|
|
|
HTMLStyle_put_paddingTop,
|
|
|
|
HTMLStyle_get_paddingTop,
|
|
|
|
HTMLStyle_put_paddingRight,
|
|
|
|
HTMLStyle_get_paddingRight,
|
|
|
|
HTMLStyle_put_paddingBottom,
|
|
|
|
HTMLStyle_get_paddingBottom,
|
|
|
|
HTMLStyle_put_paddingLeft,
|
|
|
|
HTMLStyle_get_paddingLeft,
|
|
|
|
HTMLStyle_put_padding,
|
|
|
|
HTMLStyle_get_padding,
|
|
|
|
HTMLStyle_put_border,
|
|
|
|
HTMLStyle_get_border,
|
|
|
|
HTMLStyle_put_borderTop,
|
|
|
|
HTMLStyle_get_borderTop,
|
|
|
|
HTMLStyle_put_borderRight,
|
|
|
|
HTMLStyle_get_borderRight,
|
|
|
|
HTMLStyle_put_borderBottom,
|
|
|
|
HTMLStyle_get_borderBottom,
|
|
|
|
HTMLStyle_put_borderLeft,
|
|
|
|
HTMLStyle_get_borderLeft,
|
|
|
|
HTMLStyle_put_borderColor,
|
|
|
|
HTMLStyle_get_borderColor,
|
|
|
|
HTMLStyle_put_borderTopColor,
|
|
|
|
HTMLStyle_get_borderTopColor,
|
|
|
|
HTMLStyle_put_borderRightColor,
|
|
|
|
HTMLStyle_get_borderRightColor,
|
|
|
|
HTMLStyle_put_borderBottomColor,
|
|
|
|
HTMLStyle_get_borderBottomColor,
|
|
|
|
HTMLStyle_put_borderLeftColor,
|
|
|
|
HTMLStyle_get_borderLeftColor,
|
|
|
|
HTMLStyle_put_borderWidth,
|
|
|
|
HTMLStyle_get_borderWidth,
|
|
|
|
HTMLStyle_put_borderTopWidth,
|
|
|
|
HTMLStyle_get_borderTopWidth,
|
|
|
|
HTMLStyle_put_borderRightWidth,
|
|
|
|
HTMLStyle_get_borderRightWidth,
|
|
|
|
HTMLStyle_put_borderBottomWidth,
|
|
|
|
HTMLStyle_get_borderBottomWidth,
|
|
|
|
HTMLStyle_put_borderLeftWidth,
|
|
|
|
HTMLStyle_get_borderLeftWidth,
|
|
|
|
HTMLStyle_put_borderStyle,
|
|
|
|
HTMLStyle_get_borderStyle,
|
|
|
|
HTMLStyle_put_borderTopStyle,
|
|
|
|
HTMLStyle_get_borderTopStyle,
|
|
|
|
HTMLStyle_put_borderRightStyle,
|
|
|
|
HTMLStyle_get_borderRightStyle,
|
|
|
|
HTMLStyle_put_borderBottomStyle,
|
|
|
|
HTMLStyle_get_borderBottomStyle,
|
|
|
|
HTMLStyle_put_borderLeftStyle,
|
|
|
|
HTMLStyle_get_borderLeftStyle,
|
|
|
|
HTMLStyle_put_width,
|
|
|
|
HTMLStyle_get_width,
|
|
|
|
HTMLStyle_put_height,
|
|
|
|
HTMLStyle_get_height,
|
|
|
|
HTMLStyle_put_styleFloat,
|
|
|
|
HTMLStyle_get_styleFloat,
|
|
|
|
HTMLStyle_put_clear,
|
|
|
|
HTMLStyle_get_clear,
|
|
|
|
HTMLStyle_put_display,
|
|
|
|
HTMLStyle_get_display,
|
|
|
|
HTMLStyle_put_visibility,
|
|
|
|
HTMLStyle_get_visibility,
|
|
|
|
HTMLStyle_put_listStyleType,
|
|
|
|
HTMLStyle_get_listStyleType,
|
|
|
|
HTMLStyle_put_listStylePosition,
|
|
|
|
HTMLStyle_get_listStylePosition,
|
|
|
|
HTMLStyle_put_listStyleImage,
|
|
|
|
HTMLStyle_get_listStyleImage,
|
|
|
|
HTMLStyle_put_listStyle,
|
|
|
|
HTMLStyle_get_listStyle,
|
|
|
|
HTMLStyle_put_whiteSpace,
|
|
|
|
HTMLStyle_get_whiteSpace,
|
|
|
|
HTMLStyle_put_top,
|
|
|
|
HTMLStyle_get_top,
|
|
|
|
HTMLStyle_put_left,
|
|
|
|
HTMLStyle_get_left,
|
|
|
|
HTMLStyle_get_position,
|
|
|
|
HTMLStyle_put_zIndex,
|
|
|
|
HTMLStyle_get_zIndex,
|
|
|
|
HTMLStyle_put_overflow,
|
|
|
|
HTMLStyle_get_overflow,
|
|
|
|
HTMLStyle_put_pageBreakBefore,
|
|
|
|
HTMLStyle_get_pageBreakBefore,
|
|
|
|
HTMLStyle_put_pageBreakAfter,
|
|
|
|
HTMLStyle_get_pageBreakAfter,
|
|
|
|
HTMLStyle_put_cssText,
|
|
|
|
HTMLStyle_get_cssText,
|
|
|
|
HTMLStyle_put_pixelTop,
|
|
|
|
HTMLStyle_get_pixelTop,
|
|
|
|
HTMLStyle_put_pixelLeft,
|
|
|
|
HTMLStyle_get_pixelLeft,
|
|
|
|
HTMLStyle_put_pixelWidth,
|
|
|
|
HTMLStyle_get_pixelWidth,
|
|
|
|
HTMLStyle_put_pixelHeight,
|
|
|
|
HTMLStyle_get_pixelHeight,
|
|
|
|
HTMLStyle_put_posTop,
|
|
|
|
HTMLStyle_get_posTop,
|
|
|
|
HTMLStyle_put_posLeft,
|
|
|
|
HTMLStyle_get_posLeft,
|
|
|
|
HTMLStyle_put_posWidth,
|
|
|
|
HTMLStyle_get_posWidth,
|
|
|
|
HTMLStyle_put_posHeight,
|
|
|
|
HTMLStyle_get_posHeight,
|
|
|
|
HTMLStyle_put_cursor,
|
|
|
|
HTMLStyle_get_cursor,
|
|
|
|
HTMLStyle_put_clip,
|
|
|
|
HTMLStyle_get_clip,
|
|
|
|
HTMLStyle_put_filter,
|
|
|
|
HTMLStyle_get_filter,
|
|
|
|
HTMLStyle_setAttribute,
|
|
|
|
HTMLStyle_getAttribute,
|
|
|
|
HTMLStyle_removeAttribute,
|
|
|
|
HTMLStyle_toString
|
|
|
|
};
|
|
|
|
|
2016-01-07 14:04:59 +01:00
|
|
|
static inline HTMLStyle *impl_from_IHTMLStyle2(IHTMLStyle2 *iface)
|
|
|
|
{
|
|
|
|
return CONTAINING_RECORD(iface, HTMLStyle, IHTMLStyle2_iface);
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle2_QueryInterface(IHTMLStyle2 *iface, REFIID riid, void **ppv)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle2(iface);
|
|
|
|
|
|
|
|
return IHTMLStyle_QueryInterface(&This->IHTMLStyle_iface, riid, ppv);
|
|
|
|
}
|
|
|
|
|
|
|
|
static ULONG WINAPI HTMLStyle2_AddRef(IHTMLStyle2 *iface)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle2(iface);
|
|
|
|
|
|
|
|
return IHTMLStyle_AddRef(&This->IHTMLStyle_iface);
|
|
|
|
}
|
|
|
|
|
|
|
|
static ULONG WINAPI HTMLStyle2_Release(IHTMLStyle2 *iface)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle2(iface);
|
|
|
|
|
|
|
|
return IHTMLStyle_Release(&This->IHTMLStyle_iface);
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle2_GetTypeInfoCount(IHTMLStyle2 *iface, UINT *pctinfo)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle2(iface);
|
2019-03-25 15:12:28 +01:00
|
|
|
return IDispatchEx_GetTypeInfoCount(&This->css_style.dispex.IDispatchEx_iface, pctinfo);
|
2016-01-07 14:04:59 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle2_GetTypeInfo(IHTMLStyle2 *iface, UINT iTInfo,
|
|
|
|
LCID lcid, ITypeInfo **ppTInfo)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle2(iface);
|
2019-03-25 15:12:28 +01:00
|
|
|
return IDispatchEx_GetTypeInfo(&This->css_style.dispex.IDispatchEx_iface, iTInfo, lcid, ppTInfo);
|
2016-01-07 14:04:59 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle2_GetIDsOfNames(IHTMLStyle2 *iface, REFIID riid,
|
|
|
|
LPOLESTR *rgszNames, UINT cNames,
|
|
|
|
LCID lcid, DISPID *rgDispId)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle2(iface);
|
2019-03-25 15:12:28 +01:00
|
|
|
return IDispatchEx_GetIDsOfNames(&This->css_style.dispex.IDispatchEx_iface, riid, rgszNames, cNames,
|
2016-01-07 14:04:59 +01:00
|
|
|
lcid, rgDispId);
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle2_Invoke(IHTMLStyle2 *iface, DISPID dispIdMember,
|
|
|
|
REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams,
|
|
|
|
VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle2(iface);
|
2019-03-25 15:12:28 +01:00
|
|
|
return IDispatchEx_Invoke(&This->css_style.dispex.IDispatchEx_iface, dispIdMember, riid, lcid,
|
2016-01-07 14:04:59 +01:00
|
|
|
wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr);
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle2_put_tableLayout(IHTMLStyle2 *iface, BSTR v)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle2(iface);
|
|
|
|
|
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
|
2019-03-25 15:13:39 +01:00
|
|
|
return set_style_property(&This->css_style, STYLEID_TABLE_LAYOUT, v);
|
2016-01-07 14:04:59 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle2_get_tableLayout(IHTMLStyle2 *iface, BSTR *p)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle2(iface);
|
|
|
|
|
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
|
|
|
|
2019-03-25 15:13:56 +01:00
|
|
|
return get_style_property(&This->css_style, STYLEID_TABLE_LAYOUT, p);
|
2016-01-07 14:04:59 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle2_put_borderCollapse(IHTMLStyle2 *iface, BSTR v)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle2(iface);
|
2019-02-07 18:32:22 +01:00
|
|
|
|
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
|
2019-03-25 15:13:39 +01:00
|
|
|
return set_style_property(&This->css_style, STYLEID_BORDER_COLLAPSE, v);
|
2016-01-07 14:04:59 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle2_get_borderCollapse(IHTMLStyle2 *iface, BSTR *p)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle2(iface);
|
2019-02-07 18:32:22 +01:00
|
|
|
|
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
|
|
|
|
2019-03-25 15:13:56 +01:00
|
|
|
return get_style_property(&This->css_style, STYLEID_BORDER_COLLAPSE, p);
|
2016-01-07 14:04:59 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle2_put_direction(IHTMLStyle2 *iface, BSTR v)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle2(iface);
|
|
|
|
|
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
|
2019-03-25 15:13:39 +01:00
|
|
|
return set_style_property(&This->css_style, STYLEID_DIRECTION, v);
|
2016-01-07 14:04:59 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle2_get_direction(IHTMLStyle2 *iface, BSTR *p)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle2(iface);
|
|
|
|
|
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
|
|
|
|
2019-03-25 15:13:56 +01:00
|
|
|
return get_style_property(&This->css_style, STYLEID_DIRECTION, p);
|
2016-01-07 14:04:59 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle2_put_behavior(IHTMLStyle2 *iface, BSTR v)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle2(iface);
|
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
2017-11-28 17:31:33 +01:00
|
|
|
return S_OK;
|
2016-01-07 14:04:59 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle2_get_behavior(IHTMLStyle2 *iface, BSTR *p)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle2(iface);
|
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle2_setExpression(IHTMLStyle2 *iface, BSTR propname, BSTR expression, BSTR language)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle2(iface);
|
|
|
|
FIXME("(%p)->(%s %s %s)\n", This, debugstr_w(propname), debugstr_w(expression), debugstr_w(language));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle2_getExpression(IHTMLStyle2 *iface, BSTR propname, VARIANT *expression)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle2(iface);
|
|
|
|
FIXME("(%p)->(%s %p)\n", This, debugstr_w(propname), expression);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle2_removeExpression(IHTMLStyle2 *iface, BSTR propname, VARIANT_BOOL *pfSuccess)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle2(iface);
|
|
|
|
FIXME("(%p)->(%s %p)\n", This, debugstr_w(propname), pfSuccess);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle2_put_position(IHTMLStyle2 *iface, BSTR v)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle2(iface);
|
|
|
|
|
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
|
2019-03-25 15:13:39 +01:00
|
|
|
return set_style_property(&This->css_style, STYLEID_POSITION, v);
|
2016-01-07 14:04:59 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle2_get_position(IHTMLStyle2 *iface, BSTR *p)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle2(iface);
|
|
|
|
|
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
|
|
|
|
2019-03-25 15:13:56 +01:00
|
|
|
return get_style_property(&This->css_style, STYLEID_POSITION, p);
|
2016-01-07 14:04:59 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle2_put_unicodeBidi(IHTMLStyle2 *iface, BSTR v)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle2(iface);
|
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle2_get_unicodeBidi(IHTMLStyle2 *iface, BSTR *p)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle2(iface);
|
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle2_put_bottom(IHTMLStyle2 *iface, VARIANT v)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle2(iface);
|
|
|
|
|
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
|
2019-03-25 15:13:49 +01:00
|
|
|
return set_style_property_var(&This->css_style, STYLEID_BOTTOM, &v);
|
2016-01-07 14:04:59 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle2_get_bottom(IHTMLStyle2 *iface, VARIANT *p)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle2(iface);
|
|
|
|
|
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
|
|
|
|
2019-03-25 15:14:13 +01:00
|
|
|
return get_style_property_var(&This->css_style, STYLEID_BOTTOM, p);
|
2016-01-07 14:04:59 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle2_put_right(IHTMLStyle2 *iface, VARIANT v)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle2(iface);
|
|
|
|
|
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
|
2019-03-25 15:13:49 +01:00
|
|
|
return set_style_property_var(&This->css_style, STYLEID_RIGHT, &v);
|
2016-01-07 14:04:59 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle2_get_right(IHTMLStyle2 *iface, VARIANT *p)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle2(iface);
|
|
|
|
|
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
|
|
|
|
2019-03-25 15:14:13 +01:00
|
|
|
return get_style_property_var(&This->css_style, STYLEID_RIGHT, p);
|
2016-01-07 14:04:59 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle2_put_pixelBottom(IHTMLStyle2 *iface, LONG v)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle2(iface);
|
|
|
|
FIXME("(%p)->(%d)\n", This, v);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle2_get_pixelBottom(IHTMLStyle2 *iface, LONG *p)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle2(iface);
|
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle2_put_pixelRight(IHTMLStyle2 *iface, LONG v)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle2(iface);
|
|
|
|
FIXME("(%p)->(%d)\n", This, v);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle2_get_pixelRight(IHTMLStyle2 *iface, LONG *p)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle2(iface);
|
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle2_put_posBottom(IHTMLStyle2 *iface, float v)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle2(iface);
|
|
|
|
FIXME("(%p)->(%f)\n", This, v);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle2_get_posBottom(IHTMLStyle2 *iface, float *p)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle2(iface);
|
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle2_put_posRight(IHTMLStyle2 *iface, float v)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle2(iface);
|
|
|
|
FIXME("(%p)->(%f)\n", This, v);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle2_get_posRight(IHTMLStyle2 *iface, float *p)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle2(iface);
|
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle2_put_imeMode(IHTMLStyle2 *iface, BSTR v)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle2(iface);
|
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle2_get_imeMode(IHTMLStyle2 *iface, BSTR *p)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle2(iface);
|
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle2_put_rubyAlign(IHTMLStyle2 *iface, BSTR v)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle2(iface);
|
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle2_get_rubyAlign(IHTMLStyle2 *iface, BSTR *p)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle2(iface);
|
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle2_put_rubyPosition(IHTMLStyle2 *iface, BSTR v)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle2(iface);
|
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle2_get_rubyPosition(IHTMLStyle2 *iface, BSTR *p)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle2(iface);
|
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle2_put_rubyOverhang(IHTMLStyle2 *iface, BSTR v)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle2(iface);
|
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle2_get_rubyOverhang(IHTMLStyle2 *iface, BSTR *p)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle2(iface);
|
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle2_put_layoutGridChar(IHTMLStyle2 *iface, VARIANT v)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle2(iface);
|
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle2_get_layoutGridChar(IHTMLStyle2 *iface, VARIANT *p)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle2(iface);
|
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle2_put_layoutGridLine(IHTMLStyle2 *iface, VARIANT v)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle2(iface);
|
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle2_get_layoutGridLine(IHTMLStyle2 *iface, VARIANT *p)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle2(iface);
|
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle2_put_layoutGridMode(IHTMLStyle2 *iface, BSTR v)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle2(iface);
|
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle2_get_layoutGridMode(IHTMLStyle2 *iface, BSTR *p)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle2(iface);
|
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle2_put_layoutGridType(IHTMLStyle2 *iface, BSTR v)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle2(iface);
|
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle2_get_layoutGridType(IHTMLStyle2 *iface, BSTR *p)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle2(iface);
|
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle2_put_layoutGrid(IHTMLStyle2 *iface, BSTR v)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle2(iface);
|
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle2_get_layoutGrid(IHTMLStyle2 *iface, BSTR *p)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle2(iface);
|
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle2_put_wordBreak(IHTMLStyle2 *iface, BSTR v)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle2(iface);
|
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle2_get_wordBreak(IHTMLStyle2 *iface, BSTR *p)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle2(iface);
|
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle2_put_lineBreak(IHTMLStyle2 *iface, BSTR v)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle2(iface);
|
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle2_get_lineBreak(IHTMLStyle2 *iface, BSTR *p)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle2(iface);
|
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle2_put_textJustify(IHTMLStyle2 *iface, BSTR v)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle2(iface);
|
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle2_get_textJustify(IHTMLStyle2 *iface, BSTR *p)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle2(iface);
|
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle2_put_textJustifyTrim(IHTMLStyle2 *iface, BSTR v)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle2(iface);
|
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle2_get_textJustifyTrim(IHTMLStyle2 *iface, BSTR *p)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle2(iface);
|
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle2_put_textKashida(IHTMLStyle2 *iface, VARIANT v)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle2(iface);
|
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle2_get_textKashida(IHTMLStyle2 *iface, VARIANT *p)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle2(iface);
|
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle2_put_textAutospace(IHTMLStyle2 *iface, BSTR v)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle2(iface);
|
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle2_get_textAutospace(IHTMLStyle2 *iface, BSTR *p)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle2(iface);
|
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle2_put_overflowX(IHTMLStyle2 *iface, BSTR v)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle2(iface);
|
|
|
|
|
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
|
2019-03-25 15:13:39 +01:00
|
|
|
return set_style_property(&This->css_style, STYLEID_OVERFLOW_X, v);
|
2016-01-07 14:04:59 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle2_get_overflowX(IHTMLStyle2 *iface, BSTR *p)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle2(iface);
|
|
|
|
|
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
|
|
|
|
2019-03-25 15:13:56 +01:00
|
|
|
return get_style_property(&This->css_style, STYLEID_OVERFLOW_X, p);
|
2016-01-07 14:04:59 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle2_put_overflowY(IHTMLStyle2 *iface, BSTR v)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle2(iface);
|
|
|
|
|
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
|
2019-03-25 15:13:39 +01:00
|
|
|
return set_style_property(&This->css_style, STYLEID_OVERFLOW_Y, v);
|
2016-01-07 14:04:59 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle2_get_overflowY(IHTMLStyle2 *iface, BSTR *p)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle2(iface);
|
|
|
|
|
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
|
|
|
|
2019-03-25 15:13:56 +01:00
|
|
|
return get_style_property(&This->css_style, STYLEID_OVERFLOW_Y, p);
|
2016-01-07 14:04:59 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle2_put_accelerator(IHTMLStyle2 *iface, BSTR v)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle2(iface);
|
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle2_get_accelerator(IHTMLStyle2 *iface, BSTR *p)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle2(iface);
|
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static const IHTMLStyle2Vtbl HTMLStyle2Vtbl = {
|
|
|
|
HTMLStyle2_QueryInterface,
|
|
|
|
HTMLStyle2_AddRef,
|
|
|
|
HTMLStyle2_Release,
|
|
|
|
HTMLStyle2_GetTypeInfoCount,
|
|
|
|
HTMLStyle2_GetTypeInfo,
|
|
|
|
HTMLStyle2_GetIDsOfNames,
|
|
|
|
HTMLStyle2_Invoke,
|
|
|
|
HTMLStyle2_put_tableLayout,
|
|
|
|
HTMLStyle2_get_tableLayout,
|
|
|
|
HTMLStyle2_put_borderCollapse,
|
|
|
|
HTMLStyle2_get_borderCollapse,
|
|
|
|
HTMLStyle2_put_direction,
|
|
|
|
HTMLStyle2_get_direction,
|
|
|
|
HTMLStyle2_put_behavior,
|
|
|
|
HTMLStyle2_get_behavior,
|
|
|
|
HTMLStyle2_setExpression,
|
|
|
|
HTMLStyle2_getExpression,
|
|
|
|
HTMLStyle2_removeExpression,
|
|
|
|
HTMLStyle2_put_position,
|
|
|
|
HTMLStyle2_get_position,
|
|
|
|
HTMLStyle2_put_unicodeBidi,
|
|
|
|
HTMLStyle2_get_unicodeBidi,
|
|
|
|
HTMLStyle2_put_bottom,
|
|
|
|
HTMLStyle2_get_bottom,
|
|
|
|
HTMLStyle2_put_right,
|
|
|
|
HTMLStyle2_get_right,
|
|
|
|
HTMLStyle2_put_pixelBottom,
|
|
|
|
HTMLStyle2_get_pixelBottom,
|
|
|
|
HTMLStyle2_put_pixelRight,
|
|
|
|
HTMLStyle2_get_pixelRight,
|
|
|
|
HTMLStyle2_put_posBottom,
|
|
|
|
HTMLStyle2_get_posBottom,
|
|
|
|
HTMLStyle2_put_posRight,
|
|
|
|
HTMLStyle2_get_posRight,
|
|
|
|
HTMLStyle2_put_imeMode,
|
|
|
|
HTMLStyle2_get_imeMode,
|
|
|
|
HTMLStyle2_put_rubyAlign,
|
|
|
|
HTMLStyle2_get_rubyAlign,
|
|
|
|
HTMLStyle2_put_rubyPosition,
|
|
|
|
HTMLStyle2_get_rubyPosition,
|
|
|
|
HTMLStyle2_put_rubyOverhang,
|
|
|
|
HTMLStyle2_get_rubyOverhang,
|
|
|
|
HTMLStyle2_put_layoutGridChar,
|
|
|
|
HTMLStyle2_get_layoutGridChar,
|
|
|
|
HTMLStyle2_put_layoutGridLine,
|
|
|
|
HTMLStyle2_get_layoutGridLine,
|
|
|
|
HTMLStyle2_put_layoutGridMode,
|
|
|
|
HTMLStyle2_get_layoutGridMode,
|
|
|
|
HTMLStyle2_put_layoutGridType,
|
|
|
|
HTMLStyle2_get_layoutGridType,
|
|
|
|
HTMLStyle2_put_layoutGrid,
|
|
|
|
HTMLStyle2_get_layoutGrid,
|
|
|
|
HTMLStyle2_put_wordBreak,
|
|
|
|
HTMLStyle2_get_wordBreak,
|
|
|
|
HTMLStyle2_put_lineBreak,
|
|
|
|
HTMLStyle2_get_lineBreak,
|
|
|
|
HTMLStyle2_put_textJustify,
|
|
|
|
HTMLStyle2_get_textJustify,
|
|
|
|
HTMLStyle2_put_textJustifyTrim,
|
|
|
|
HTMLStyle2_get_textJustifyTrim,
|
|
|
|
HTMLStyle2_put_textKashida,
|
|
|
|
HTMLStyle2_get_textKashida,
|
|
|
|
HTMLStyle2_put_textAutospace,
|
|
|
|
HTMLStyle2_get_textAutospace,
|
|
|
|
HTMLStyle2_put_overflowX,
|
|
|
|
HTMLStyle2_get_overflowX,
|
|
|
|
HTMLStyle2_put_overflowY,
|
|
|
|
HTMLStyle2_get_overflowY,
|
|
|
|
HTMLStyle2_put_accelerator,
|
|
|
|
HTMLStyle2_get_accelerator
|
|
|
|
};
|
|
|
|
|
2016-01-07 14:06:24 +01:00
|
|
|
static inline HTMLStyle *impl_from_IHTMLStyle3(IHTMLStyle3 *iface)
|
|
|
|
{
|
|
|
|
return CONTAINING_RECORD(iface, HTMLStyle, IHTMLStyle3_iface);
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle3_QueryInterface(IHTMLStyle3 *iface, REFIID riid, void **ppv)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle3(iface);
|
|
|
|
|
|
|
|
return IHTMLStyle_QueryInterface(&This->IHTMLStyle_iface, riid, ppv);
|
|
|
|
}
|
|
|
|
|
|
|
|
static ULONG WINAPI HTMLStyle3_AddRef(IHTMLStyle3 *iface)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle3(iface);
|
|
|
|
|
|
|
|
return IHTMLStyle_AddRef(&This->IHTMLStyle_iface);
|
|
|
|
}
|
|
|
|
|
|
|
|
static ULONG WINAPI HTMLStyle3_Release(IHTMLStyle3 *iface)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle3(iface);
|
|
|
|
|
|
|
|
return IHTMLStyle_Release(&This->IHTMLStyle_iface);
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle3_GetTypeInfoCount(IHTMLStyle3 *iface, UINT *pctinfo)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle3(iface);
|
2019-03-25 15:12:28 +01:00
|
|
|
return IDispatchEx_GetTypeInfoCount(&This->css_style.dispex.IDispatchEx_iface, pctinfo);
|
2016-01-07 14:06:24 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle3_GetTypeInfo(IHTMLStyle3 *iface, UINT iTInfo,
|
|
|
|
LCID lcid, ITypeInfo **ppTInfo)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle3(iface);
|
2019-03-25 15:12:28 +01:00
|
|
|
return IDispatchEx_GetTypeInfo(&This->css_style.dispex.IDispatchEx_iface, iTInfo, lcid, ppTInfo);
|
2016-01-07 14:06:24 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle3_GetIDsOfNames(IHTMLStyle3 *iface, REFIID riid,
|
|
|
|
LPOLESTR *rgszNames, UINT cNames,
|
|
|
|
LCID lcid, DISPID *rgDispId)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle3(iface);
|
2019-03-25 15:12:28 +01:00
|
|
|
return IDispatchEx_GetIDsOfNames(&This->css_style.dispex.IDispatchEx_iface, riid, rgszNames, cNames,
|
2016-01-07 14:06:24 +01:00
|
|
|
lcid, rgDispId);
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle3_Invoke(IHTMLStyle3 *iface, DISPID dispIdMember,
|
|
|
|
REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams,
|
|
|
|
VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle3(iface);
|
2019-03-25 15:12:28 +01:00
|
|
|
return IDispatchEx_Invoke(&This->css_style.dispex.IDispatchEx_iface, dispIdMember, riid, lcid,
|
2016-01-07 14:06:24 +01:00
|
|
|
wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr);
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle3_put_layoutFlow(IHTMLStyle3 *iface, BSTR v)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle3(iface);
|
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle3_get_layoutFlow(IHTMLStyle3 *iface, BSTR *p)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle3(iface);
|
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle3_put_zoom(IHTMLStyle3 *iface, VARIANT v)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle3(iface);
|
|
|
|
|
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
|
2019-03-25 15:14:50 +01:00
|
|
|
return IHTMLCSSStyleDeclaration_put_zoom(&This->css_style.IHTMLCSSStyleDeclaration_iface, v);
|
2016-01-07 14:06:24 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle3_get_zoom(IHTMLStyle3 *iface, VARIANT *p)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle3(iface);
|
|
|
|
|
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
|
|
|
|
2019-03-25 15:14:50 +01:00
|
|
|
return IHTMLCSSStyleDeclaration_get_zoom(&This->css_style.IHTMLCSSStyleDeclaration_iface, p);
|
2016-01-07 14:06:24 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle3_put_wordWrap(IHTMLStyle3 *iface, BSTR v)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle3(iface);
|
|
|
|
|
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
|
2019-03-25 15:13:39 +01:00
|
|
|
return set_style_property(&This->css_style, STYLEID_WORD_WRAP, v);
|
2016-01-07 14:06:24 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle3_get_wordWrap(IHTMLStyle3 *iface, BSTR *p)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle3(iface);
|
|
|
|
|
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
|
|
|
|
2019-03-25 15:13:56 +01:00
|
|
|
return get_style_property(&This->css_style, STYLEID_WORD_WRAP, p);
|
2016-01-07 14:06:24 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle3_put_textUnderlinePosition(IHTMLStyle3 *iface, BSTR v)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle3(iface);
|
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle3_get_textUnderlinePosition(IHTMLStyle3 *iface, BSTR *p)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle3(iface);
|
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle3_put_scrollbarBaseColor(IHTMLStyle3 *iface, VARIANT v)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle3(iface);
|
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle3_get_scrollbarBaseColor(IHTMLStyle3 *iface, VARIANT *p)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle3(iface);
|
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle3_put_scrollbarFaceColor(IHTMLStyle3 *iface, VARIANT v)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle3(iface);
|
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle3_get_scrollbarFaceColor(IHTMLStyle3 *iface, VARIANT *p)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle3(iface);
|
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle3_put_scrollbar3dLightColor(IHTMLStyle3 *iface, VARIANT v)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle3(iface);
|
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle3_get_scrollbar3dLightColor(IHTMLStyle3 *iface, VARIANT *p)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle3(iface);
|
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle3_put_scrollbarShadowColor(IHTMLStyle3 *iface, VARIANT v)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle3(iface);
|
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle3_get_scrollbarShadowColor(IHTMLStyle3 *iface, VARIANT *p)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle3(iface);
|
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle3_put_scrollbarHighlightColor(IHTMLStyle3 *iface, VARIANT v)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle3(iface);
|
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle3_get_scrollbarHighlightColor(IHTMLStyle3 *iface, VARIANT *p)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle3(iface);
|
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle3_put_scrollbarDarkShadowColor(IHTMLStyle3 *iface, VARIANT v)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle3(iface);
|
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle3_get_scrollbarDarkShadowColor(IHTMLStyle3 *iface, VARIANT *p)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle3(iface);
|
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle3_put_scrollbarArrowColor(IHTMLStyle3 *iface, VARIANT v)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle3(iface);
|
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle3_get_scrollbarArrowColor(IHTMLStyle3 *iface, VARIANT *p)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle3(iface);
|
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle3_put_scrollbarTrackColor(IHTMLStyle3 *iface, VARIANT v)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle3(iface);
|
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle3_get_scrollbarTrackColor(IHTMLStyle3 *iface, VARIANT *p)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle3(iface);
|
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle3_put_writingMode(IHTMLStyle3 *iface, BSTR v)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle3(iface);
|
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle3_get_writingMode(IHTMLStyle3 *iface, BSTR *p)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle3(iface);
|
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle3_put_textAlignLast(IHTMLStyle3 *iface, BSTR v)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle3(iface);
|
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle3_get_textAlignLast(IHTMLStyle3 *iface, BSTR *p)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle3(iface);
|
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle3_put_textKashidaSpace(IHTMLStyle3 *iface, VARIANT v)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle3(iface);
|
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle3_get_textKashidaSpace(IHTMLStyle3 *iface, VARIANT *p)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle3(iface);
|
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static const IHTMLStyle3Vtbl HTMLStyle3Vtbl = {
|
|
|
|
HTMLStyle3_QueryInterface,
|
|
|
|
HTMLStyle3_AddRef,
|
|
|
|
HTMLStyle3_Release,
|
|
|
|
HTMLStyle3_GetTypeInfoCount,
|
|
|
|
HTMLStyle3_GetTypeInfo,
|
|
|
|
HTMLStyle3_GetIDsOfNames,
|
|
|
|
HTMLStyle3_Invoke,
|
|
|
|
HTMLStyle3_put_layoutFlow,
|
|
|
|
HTMLStyle3_get_layoutFlow,
|
|
|
|
HTMLStyle3_put_zoom,
|
|
|
|
HTMLStyle3_get_zoom,
|
|
|
|
HTMLStyle3_put_wordWrap,
|
|
|
|
HTMLStyle3_get_wordWrap,
|
|
|
|
HTMLStyle3_put_textUnderlinePosition,
|
|
|
|
HTMLStyle3_get_textUnderlinePosition,
|
|
|
|
HTMLStyle3_put_scrollbarBaseColor,
|
|
|
|
HTMLStyle3_get_scrollbarBaseColor,
|
|
|
|
HTMLStyle3_put_scrollbarFaceColor,
|
|
|
|
HTMLStyle3_get_scrollbarFaceColor,
|
|
|
|
HTMLStyle3_put_scrollbar3dLightColor,
|
|
|
|
HTMLStyle3_get_scrollbar3dLightColor,
|
|
|
|
HTMLStyle3_put_scrollbarShadowColor,
|
|
|
|
HTMLStyle3_get_scrollbarShadowColor,
|
|
|
|
HTMLStyle3_put_scrollbarHighlightColor,
|
|
|
|
HTMLStyle3_get_scrollbarHighlightColor,
|
|
|
|
HTMLStyle3_put_scrollbarDarkShadowColor,
|
|
|
|
HTMLStyle3_get_scrollbarDarkShadowColor,
|
|
|
|
HTMLStyle3_put_scrollbarArrowColor,
|
|
|
|
HTMLStyle3_get_scrollbarArrowColor,
|
|
|
|
HTMLStyle3_put_scrollbarTrackColor,
|
|
|
|
HTMLStyle3_get_scrollbarTrackColor,
|
|
|
|
HTMLStyle3_put_writingMode,
|
|
|
|
HTMLStyle3_get_writingMode,
|
|
|
|
HTMLStyle3_put_textAlignLast,
|
|
|
|
HTMLStyle3_get_textAlignLast,
|
|
|
|
HTMLStyle3_put_textKashidaSpace,
|
|
|
|
HTMLStyle3_get_textKashidaSpace
|
|
|
|
};
|
|
|
|
|
|
|
|
/*
|
|
|
|
* IHTMLStyle4 Interface
|
|
|
|
*/
|
|
|
|
static inline HTMLStyle *impl_from_IHTMLStyle4(IHTMLStyle4 *iface)
|
|
|
|
{
|
|
|
|
return CONTAINING_RECORD(iface, HTMLStyle, IHTMLStyle4_iface);
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle4_QueryInterface(IHTMLStyle4 *iface, REFIID riid, void **ppv)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle4(iface);
|
|
|
|
|
|
|
|
return IHTMLStyle_QueryInterface(&This->IHTMLStyle_iface, riid, ppv);
|
|
|
|
}
|
|
|
|
|
|
|
|
static ULONG WINAPI HTMLStyle4_AddRef(IHTMLStyle4 *iface)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle4(iface);
|
|
|
|
|
|
|
|
return IHTMLStyle_AddRef(&This->IHTMLStyle_iface);
|
|
|
|
}
|
|
|
|
|
|
|
|
static ULONG WINAPI HTMLStyle4_Release(IHTMLStyle4 *iface)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle4(iface);
|
|
|
|
|
|
|
|
return IHTMLStyle_Release(&This->IHTMLStyle_iface);
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle4_GetTypeInfoCount(IHTMLStyle4 *iface, UINT *pctinfo)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle4(iface);
|
2019-03-25 15:12:28 +01:00
|
|
|
return IDispatchEx_GetTypeInfoCount(&This->css_style.dispex.IDispatchEx_iface, pctinfo);
|
2016-01-07 14:06:24 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle4_GetTypeInfo(IHTMLStyle4 *iface, UINT iTInfo,
|
|
|
|
LCID lcid, ITypeInfo **ppTInfo)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle4(iface);
|
2019-03-25 15:12:28 +01:00
|
|
|
return IDispatchEx_GetTypeInfo(&This->css_style.dispex.IDispatchEx_iface, iTInfo, lcid, ppTInfo);
|
2016-01-07 14:06:24 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle4_GetIDsOfNames(IHTMLStyle4 *iface, REFIID riid,
|
|
|
|
LPOLESTR *rgszNames, UINT cNames,
|
|
|
|
LCID lcid, DISPID *rgDispId)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle4(iface);
|
2019-03-25 15:12:28 +01:00
|
|
|
return IDispatchEx_GetIDsOfNames(&This->css_style.dispex.IDispatchEx_iface, riid, rgszNames, cNames,
|
2016-01-07 14:06:24 +01:00
|
|
|
lcid, rgDispId);
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle4_Invoke(IHTMLStyle4 *iface, DISPID dispIdMember,
|
|
|
|
REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams,
|
|
|
|
VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle4(iface);
|
2019-03-25 15:12:28 +01:00
|
|
|
return IDispatchEx_Invoke(&This->css_style.dispex.IDispatchEx_iface, dispIdMember, riid, lcid,
|
2016-01-07 14:06:24 +01:00
|
|
|
wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr);
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle4_put_textOverflow(IHTMLStyle4 *iface, BSTR v)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle4(iface);
|
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle4_get_textOverflow(IHTMLStyle4 *iface, BSTR *p)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle4(iface);
|
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle4_put_minHeight(IHTMLStyle4 *iface, VARIANT v)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle4(iface);
|
|
|
|
|
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
|
2019-03-25 15:13:49 +01:00
|
|
|
return set_style_property_var(&This->css_style, STYLEID_MIN_HEIGHT, &v);
|
2016-01-07 14:06:24 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle4_get_minHeight(IHTMLStyle4 *iface, VARIANT *p)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle4(iface);
|
|
|
|
|
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
|
|
|
|
2019-03-25 15:14:13 +01:00
|
|
|
return get_style_property_var(&This->css_style, STYLEID_MIN_HEIGHT, p);
|
2016-01-07 14:06:24 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static const IHTMLStyle4Vtbl HTMLStyle4Vtbl = {
|
|
|
|
HTMLStyle4_QueryInterface,
|
|
|
|
HTMLStyle4_AddRef,
|
|
|
|
HTMLStyle4_Release,
|
|
|
|
HTMLStyle4_GetTypeInfoCount,
|
|
|
|
HTMLStyle4_GetTypeInfo,
|
|
|
|
HTMLStyle4_GetIDsOfNames,
|
|
|
|
HTMLStyle4_Invoke,
|
|
|
|
HTMLStyle4_put_textOverflow,
|
|
|
|
HTMLStyle4_get_textOverflow,
|
|
|
|
HTMLStyle4_put_minHeight,
|
|
|
|
HTMLStyle4_get_minHeight
|
|
|
|
};
|
|
|
|
|
|
|
|
static inline HTMLStyle *impl_from_IHTMLStyle5(IHTMLStyle5 *iface)
|
|
|
|
{
|
|
|
|
return CONTAINING_RECORD(iface, HTMLStyle, IHTMLStyle5_iface);
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle5_QueryInterface(IHTMLStyle5 *iface, REFIID riid, void **ppv)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle5(iface);
|
|
|
|
|
|
|
|
return IHTMLStyle_QueryInterface(&This->IHTMLStyle_iface, riid, ppv);
|
|
|
|
}
|
|
|
|
|
|
|
|
static ULONG WINAPI HTMLStyle5_AddRef(IHTMLStyle5 *iface)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle5(iface);
|
|
|
|
|
|
|
|
return IHTMLStyle_AddRef(&This->IHTMLStyle_iface);
|
|
|
|
}
|
|
|
|
|
|
|
|
static ULONG WINAPI HTMLStyle5_Release(IHTMLStyle5 *iface)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle5(iface);
|
|
|
|
|
|
|
|
return IHTMLStyle_Release(&This->IHTMLStyle_iface);
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle5_GetTypeInfoCount(IHTMLStyle5 *iface, UINT *pctinfo)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle5(iface);
|
2019-03-25 15:12:28 +01:00
|
|
|
return IDispatchEx_GetTypeInfoCount(&This->css_style.dispex.IDispatchEx_iface, pctinfo);
|
2016-01-07 14:06:24 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle5_GetTypeInfo(IHTMLStyle5 *iface, UINT iTInfo,
|
|
|
|
LCID lcid, ITypeInfo **ppTInfo)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle5(iface);
|
2019-03-25 15:12:28 +01:00
|
|
|
return IDispatchEx_GetTypeInfo(&This->css_style.dispex.IDispatchEx_iface, iTInfo, lcid, ppTInfo);
|
2016-01-07 14:06:24 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle5_GetIDsOfNames(IHTMLStyle5 *iface, REFIID riid,
|
|
|
|
LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle5(iface);
|
2019-03-25 15:12:28 +01:00
|
|
|
return IDispatchEx_GetIDsOfNames(&This->css_style.dispex.IDispatchEx_iface, riid, rgszNames, cNames,
|
2016-01-07 14:06:24 +01:00
|
|
|
lcid, rgDispId);
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle5_Invoke(IHTMLStyle5 *iface, DISPID dispIdMember,
|
|
|
|
REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams,
|
|
|
|
VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle5(iface);
|
2019-03-25 15:12:28 +01:00
|
|
|
return IDispatchEx_Invoke(&This->css_style.dispex.IDispatchEx_iface, dispIdMember, riid, lcid,
|
2016-01-07 14:06:24 +01:00
|
|
|
wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr);
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle5_put_msInterpolationMode(IHTMLStyle5 *iface, BSTR v)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle5(iface);
|
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle5_get_msInterpolationMode(IHTMLStyle5 *iface, BSTR *p)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle5(iface);
|
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle5_put_maxHeight(IHTMLStyle5 *iface, VARIANT v)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle5(iface);
|
|
|
|
|
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
|
2019-03-25 15:13:49 +01:00
|
|
|
return set_style_property_var(&This->css_style, STYLEID_MAX_HEIGHT, &v);
|
2016-01-07 14:06:24 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle5_get_maxHeight(IHTMLStyle5 *iface, VARIANT *p)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle5(iface);
|
|
|
|
|
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_variant(p));
|
|
|
|
|
2019-03-25 15:14:13 +01:00
|
|
|
return get_style_property_var(&This->css_style, STYLEID_MAX_HEIGHT, p);
|
2016-01-07 14:06:24 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle5_put_minWidth(IHTMLStyle5 *iface, VARIANT v)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle5(iface);
|
|
|
|
|
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
|
2019-03-25 15:13:49 +01:00
|
|
|
return set_style_property_var(&This->css_style, STYLEID_MIN_WIDTH, &v);
|
2016-01-07 14:06:24 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle5_get_minWidth(IHTMLStyle5 *iface, VARIANT *p)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle5(iface);
|
|
|
|
|
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
|
|
|
|
2019-03-25 15:14:13 +01:00
|
|
|
return get_style_property_var(&This->css_style, STYLEID_MIN_WIDTH, p);
|
2016-01-07 14:06:24 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle5_put_maxWidth(IHTMLStyle5 *iface, VARIANT v)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle5(iface);
|
|
|
|
|
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
|
2019-03-25 15:13:49 +01:00
|
|
|
return set_style_property_var(&This->css_style, STYLEID_MAX_WIDTH, &v);
|
2016-01-07 14:06:24 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle5_get_maxWidth(IHTMLStyle5 *iface, VARIANT *p)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle5(iface);
|
|
|
|
|
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
|
|
|
|
2019-03-25 15:14:13 +01:00
|
|
|
return get_style_property_var(&This->css_style, STYLEID_MAX_WIDTH, p);
|
2016-01-07 14:06:24 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static const IHTMLStyle5Vtbl HTMLStyle5Vtbl = {
|
|
|
|
HTMLStyle5_QueryInterface,
|
|
|
|
HTMLStyle5_AddRef,
|
|
|
|
HTMLStyle5_Release,
|
|
|
|
HTMLStyle5_GetTypeInfoCount,
|
|
|
|
HTMLStyle5_GetTypeInfo,
|
|
|
|
HTMLStyle5_GetIDsOfNames,
|
|
|
|
HTMLStyle5_Invoke,
|
|
|
|
HTMLStyle5_put_msInterpolationMode,
|
|
|
|
HTMLStyle5_get_msInterpolationMode,
|
|
|
|
HTMLStyle5_put_maxHeight,
|
|
|
|
HTMLStyle5_get_maxHeight,
|
|
|
|
HTMLStyle5_put_minWidth,
|
|
|
|
HTMLStyle5_get_minWidth,
|
|
|
|
HTMLStyle5_put_maxWidth,
|
|
|
|
HTMLStyle5_get_maxWidth
|
|
|
|
};
|
|
|
|
|
|
|
|
static inline HTMLStyle *impl_from_IHTMLStyle6(IHTMLStyle6 *iface)
|
|
|
|
{
|
|
|
|
return CONTAINING_RECORD(iface, HTMLStyle, IHTMLStyle6_iface);
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle6_QueryInterface(IHTMLStyle6 *iface, REFIID riid, void **ppv)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle6(iface);
|
|
|
|
|
|
|
|
return IHTMLStyle_QueryInterface(&This->IHTMLStyle_iface, riid, ppv);
|
|
|
|
}
|
|
|
|
|
|
|
|
static ULONG WINAPI HTMLStyle6_AddRef(IHTMLStyle6 *iface)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle6(iface);
|
|
|
|
|
|
|
|
return IHTMLStyle_AddRef(&This->IHTMLStyle_iface);
|
|
|
|
}
|
|
|
|
|
|
|
|
static ULONG WINAPI HTMLStyle6_Release(IHTMLStyle6 *iface)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle6(iface);
|
|
|
|
|
|
|
|
return IHTMLStyle_Release(&This->IHTMLStyle_iface);
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle6_GetTypeInfoCount(IHTMLStyle6 *iface, UINT *pctinfo)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle6(iface);
|
2019-03-25 15:12:28 +01:00
|
|
|
return IDispatchEx_GetTypeInfoCount(&This->css_style.dispex.IDispatchEx_iface, pctinfo);
|
2016-01-07 14:06:24 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle6_GetTypeInfo(IHTMLStyle6 *iface, UINT iTInfo,
|
|
|
|
LCID lcid, ITypeInfo **ppTInfo)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle6(iface);
|
2019-03-25 15:12:28 +01:00
|
|
|
return IDispatchEx_GetTypeInfo(&This->css_style.dispex.IDispatchEx_iface, iTInfo, lcid, ppTInfo);
|
2016-01-07 14:06:24 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle6_GetIDsOfNames(IHTMLStyle6 *iface, REFIID riid,
|
|
|
|
LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle6(iface);
|
2019-03-25 15:12:28 +01:00
|
|
|
return IDispatchEx_GetIDsOfNames(&This->css_style.dispex.IDispatchEx_iface, riid, rgszNames, cNames,
|
2016-01-07 14:06:24 +01:00
|
|
|
lcid, rgDispId);
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle6_Invoke(IHTMLStyle6 *iface, DISPID dispIdMember,
|
|
|
|
REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams,
|
|
|
|
VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle6(iface);
|
2019-03-25 15:12:28 +01:00
|
|
|
return IDispatchEx_Invoke(&This->css_style.dispex.IDispatchEx_iface, dispIdMember, riid, lcid,
|
2016-01-07 14:06:24 +01:00
|
|
|
wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr);
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle6_put_content(IHTMLStyle6 *iface, BSTR v)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle6(iface);
|
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle6_get_content(IHTMLStyle6 *iface, BSTR *p)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle6(iface);
|
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle6_put_contentSide(IHTMLStyle6 *iface, BSTR v)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle6(iface);
|
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle6_get_contentSide(IHTMLStyle6 *iface, BSTR *p)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle6(iface);
|
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle6_put_counterIncrement(IHTMLStyle6 *iface, BSTR v)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle6(iface);
|
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle6_get_counterIncrement(IHTMLStyle6 *iface, BSTR *p)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle6(iface);
|
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle6_put_counterReset(IHTMLStyle6 *iface, BSTR v)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle6(iface);
|
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle6_get_counterReset(IHTMLStyle6 *iface, BSTR *p)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle6(iface);
|
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle6_put_outline(IHTMLStyle6 *iface, BSTR v)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle6(iface);
|
|
|
|
|
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
|
2019-03-25 15:13:39 +01:00
|
|
|
return set_style_property(&This->css_style, STYLEID_OUTLINE, v);
|
2016-01-07 14:06:24 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle6_get_outline(IHTMLStyle6 *iface, BSTR *p)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle6(iface);
|
|
|
|
|
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
|
|
|
|
2019-03-25 15:13:56 +01:00
|
|
|
return get_style_property(&This->css_style, STYLEID_OUTLINE, p);
|
2016-01-07 14:06:24 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle6_put_outlineWidth(IHTMLStyle6 *iface, VARIANT v)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle6(iface);
|
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle6_get_outlineWidth(IHTMLStyle6 *iface, VARIANT *p)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle6(iface);
|
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle6_put_outlineStyle(IHTMLStyle6 *iface, BSTR v)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle6(iface);
|
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle6_get_outlineStyle(IHTMLStyle6 *iface, BSTR *p)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle6(iface);
|
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle6_put_outlineColor(IHTMLStyle6 *iface, VARIANT v)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle6(iface);
|
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle6_get_outlineColor(IHTMLStyle6 *iface, VARIANT *p)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle6(iface);
|
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle6_put_boxSizing(IHTMLStyle6 *iface, BSTR v)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle6(iface);
|
|
|
|
|
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
|
2019-03-25 15:13:39 +01:00
|
|
|
return set_style_property(&This->css_style, STYLEID_BOX_SIZING, v);
|
2016-01-07 14:06:24 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle6_get_boxSizing(IHTMLStyle6 *iface, BSTR *p)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle6(iface);
|
|
|
|
|
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
|
|
|
|
2019-03-25 15:13:56 +01:00
|
|
|
return get_style_property(&This->css_style, STYLEID_BOX_SIZING, p);
|
2016-01-07 14:06:24 +01:00
|
|
|
}
|
|
|
|
|
2019-02-08 16:38:28 +01:00
|
|
|
static HRESULT WINAPI HTMLStyle6_put_borderSpacing(IHTMLStyle6 *iface, BSTR v)
|
2016-01-07 14:06:24 +01:00
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle6(iface);
|
2019-02-08 16:38:28 +01:00
|
|
|
|
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
|
2019-03-25 15:13:39 +01:00
|
|
|
return set_style_property(&This->css_style, STYLEID_BORDER_SPACING, v);
|
2016-01-07 14:06:24 +01:00
|
|
|
}
|
|
|
|
|
2019-02-08 16:38:28 +01:00
|
|
|
static HRESULT WINAPI HTMLStyle6_get_borderSpacing(IHTMLStyle6 *iface, BSTR *p)
|
2016-01-07 14:06:24 +01:00
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle6(iface);
|
2019-02-08 16:38:28 +01:00
|
|
|
|
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
|
|
|
|
2019-03-25 15:13:56 +01:00
|
|
|
return get_style_property(&This->css_style, STYLEID_BORDER_SPACING, p);
|
2016-01-07 14:06:24 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle6_put_orphans(IHTMLStyle6 *iface, VARIANT v)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle6(iface);
|
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle6_get_orphans(IHTMLStyle6 *iface, VARIANT *p)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle6(iface);
|
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle6_put_windows(IHTMLStyle6 *iface, VARIANT v)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle6(iface);
|
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle6_get_windows(IHTMLStyle6 *iface, VARIANT *p)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle6(iface);
|
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle6_put_pageBreakInside(IHTMLStyle6 *iface, BSTR v)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle6(iface);
|
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle6_get_pageBreakInside(IHTMLStyle6 *iface, BSTR *p)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle6(iface);
|
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle6_put_emptyCells(IHTMLStyle6 *iface, BSTR v)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle6(iface);
|
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle6_get_emptyCells(IHTMLStyle6 *iface, BSTR *p)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle6(iface);
|
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle6_put_msBlockProgression(IHTMLStyle6 *iface, BSTR v)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle6(iface);
|
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle6_get_msBlockProgression(IHTMLStyle6 *iface, BSTR *p)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle6(iface);
|
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle6_put_quotes(IHTMLStyle6 *iface, BSTR v)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle6(iface);
|
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLStyle6_get_quotes(IHTMLStyle6 *iface, BSTR *p)
|
|
|
|
{
|
|
|
|
HTMLStyle *This = impl_from_IHTMLStyle6(iface);
|
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static const IHTMLStyle6Vtbl HTMLStyle6Vtbl = {
|
|
|
|
HTMLStyle6_QueryInterface,
|
|
|
|
HTMLStyle6_AddRef,
|
|
|
|
HTMLStyle6_Release,
|
|
|
|
HTMLStyle6_GetTypeInfoCount,
|
|
|
|
HTMLStyle6_GetTypeInfo,
|
|
|
|
HTMLStyle6_GetIDsOfNames,
|
|
|
|
HTMLStyle6_Invoke,
|
|
|
|
HTMLStyle6_put_content,
|
|
|
|
HTMLStyle6_get_content,
|
|
|
|
HTMLStyle6_put_contentSide,
|
|
|
|
HTMLStyle6_get_contentSide,
|
|
|
|
HTMLStyle6_put_counterIncrement,
|
|
|
|
HTMLStyle6_get_counterIncrement,
|
|
|
|
HTMLStyle6_put_counterReset,
|
|
|
|
HTMLStyle6_get_counterReset,
|
|
|
|
HTMLStyle6_put_outline,
|
|
|
|
HTMLStyle6_get_outline,
|
|
|
|
HTMLStyle6_put_outlineWidth,
|
|
|
|
HTMLStyle6_get_outlineWidth,
|
|
|
|
HTMLStyle6_put_outlineStyle,
|
|
|
|
HTMLStyle6_get_outlineStyle,
|
|
|
|
HTMLStyle6_put_outlineColor,
|
|
|
|
HTMLStyle6_get_outlineColor,
|
|
|
|
HTMLStyle6_put_boxSizing,
|
|
|
|
HTMLStyle6_get_boxSizing,
|
2019-02-08 16:38:28 +01:00
|
|
|
HTMLStyle6_put_borderSpacing,
|
|
|
|
HTMLStyle6_get_borderSpacing,
|
2016-01-07 14:06:24 +01:00
|
|
|
HTMLStyle6_put_orphans,
|
|
|
|
HTMLStyle6_get_orphans,
|
|
|
|
HTMLStyle6_put_windows,
|
|
|
|
HTMLStyle6_get_windows,
|
|
|
|
HTMLStyle6_put_pageBreakInside,
|
|
|
|
HTMLStyle6_get_pageBreakInside,
|
|
|
|
HTMLStyle6_put_emptyCells,
|
|
|
|
HTMLStyle6_get_emptyCells,
|
|
|
|
HTMLStyle6_put_msBlockProgression,
|
|
|
|
HTMLStyle6_get_msBlockProgression,
|
|
|
|
HTMLStyle6_put_quotes,
|
|
|
|
HTMLStyle6_get_quotes
|
|
|
|
};
|
|
|
|
|
2019-03-25 15:14:50 +01:00
|
|
|
static inline CSSStyle *impl_from_IHTMLCSSStyleDeclaration(IHTMLCSSStyleDeclaration *iface)
|
2018-08-31 16:36:24 +02:00
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
return CONTAINING_RECORD(iface, CSSStyle, IHTMLCSSStyleDeclaration_iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_QueryInterface(IHTMLCSSStyleDeclaration *iface,
|
|
|
|
REFIID riid, void **ppv)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2019-03-25 15:13:30 +01:00
|
|
|
|
|
|
|
TRACE("(%p)->(%s %p)\n", This, debugstr_mshtml_guid(riid), ppv);
|
|
|
|
|
|
|
|
if(IsEqualGUID(&IID_IUnknown, riid)) {
|
2019-03-25 15:14:50 +01:00
|
|
|
*ppv = &This->IHTMLCSSStyleDeclaration_iface;
|
2019-03-25 15:13:30 +01:00
|
|
|
}else if(IsEqualGUID(&IID_IHTMLCSSStyleDeclaration, riid)) {
|
|
|
|
*ppv = &This->IHTMLCSSStyleDeclaration_iface;
|
2019-03-25 15:15:10 +01:00
|
|
|
}else if(IsEqualGUID(&IID_IHTMLCSSStyleDeclaration2, riid)) {
|
|
|
|
*ppv = &This->IHTMLCSSStyleDeclaration2_iface;
|
2019-03-25 15:14:50 +01:00
|
|
|
}else if(dispex_query_interface(&This->dispex, riid, ppv)) {
|
2019-03-25 15:13:30 +01:00
|
|
|
return *ppv ? S_OK : E_NOINTERFACE;
|
2019-03-25 15:14:50 +01:00
|
|
|
}else if(!This->qi || !(*ppv = This->qi(This, riid))) {
|
2019-03-25 15:13:30 +01:00
|
|
|
*ppv = NULL;
|
|
|
|
WARN("unsupported iface %s\n", debugstr_mshtml_guid(riid));
|
|
|
|
return E_NOINTERFACE;
|
|
|
|
}
|
|
|
|
|
|
|
|
IUnknown_AddRef((IUnknown*)*ppv);
|
|
|
|
return S_OK;
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static ULONG WINAPI HTMLCSSStyleDeclaration_AddRef(IHTMLCSSStyleDeclaration *iface)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2019-03-25 15:13:30 +01:00
|
|
|
LONG ref = InterlockedIncrement(&This->ref);
|
|
|
|
|
|
|
|
TRACE("(%p) ref=%d\n", This, ref);
|
|
|
|
|
|
|
|
return ref;
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static ULONG WINAPI HTMLCSSStyleDeclaration_Release(IHTMLCSSStyleDeclaration *iface)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2019-03-25 15:13:30 +01:00
|
|
|
LONG ref = InterlockedDecrement(&This->ref);
|
|
|
|
|
|
|
|
TRACE("(%p) ref=%d\n", This, ref);
|
|
|
|
|
|
|
|
if(!ref) {
|
2019-03-25 15:14:50 +01:00
|
|
|
if(This->nsstyle)
|
|
|
|
nsIDOMCSSStyleDeclaration_Release(This->nsstyle);
|
|
|
|
release_dispex(&This->dispex);
|
2019-03-25 15:13:30 +01:00
|
|
|
heap_free(This);
|
|
|
|
}
|
|
|
|
|
|
|
|
return ref;
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_GetTypeInfoCount(IHTMLCSSStyleDeclaration *iface,
|
|
|
|
UINT *pctinfo)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
TRACE("(%p)->(%p)\n", This, pctinfo);
|
2019-03-25 15:14:50 +01:00
|
|
|
return IDispatchEx_GetTypeInfoCount(&This->dispex.IDispatchEx_iface, pctinfo);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_GetTypeInfo(IHTMLCSSStyleDeclaration *iface,
|
|
|
|
UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
TRACE("(%p)->(%u %u %p)\n", This, iTInfo, lcid, ppTInfo);
|
2019-03-25 15:14:50 +01:00
|
|
|
return IDispatchEx_GetTypeInfo(&This->dispex.IDispatchEx_iface, iTInfo, lcid, ppTInfo);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_GetIDsOfNames(IHTMLCSSStyleDeclaration *iface,
|
|
|
|
REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
TRACE("(%p)->(%p %p %u %u %p)\n", This, riid, rgszNames, cNames, lcid, rgDispId);
|
2019-03-25 15:14:50 +01:00
|
|
|
return IDispatchEx_GetIDsOfNames(&This->dispex.IDispatchEx_iface, riid, rgszNames,
|
2018-08-31 16:36:24 +02:00
|
|
|
cNames, lcid, rgDispId);
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_Invoke(IHTMLCSSStyleDeclaration *iface,
|
|
|
|
DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams,
|
|
|
|
VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
TRACE("(%p)->(%d %p %u %u %p %p %p %p)\n", This, dispIdMember, riid, lcid, wFlags,
|
|
|
|
pDispParams, pVarResult, pExcepInfo, puArgErr);
|
2019-03-25 15:14:50 +01:00
|
|
|
return IDispatchEx_Invoke(&This->dispex.IDispatchEx_iface, dispIdMember, riid, lcid,
|
2018-08-31 16:36:24 +02:00
|
|
|
wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr);
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_length(IHTMLCSSStyleDeclaration *iface, LONG *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_parentRule(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
2019-03-26 17:26:36 +01:00
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_getPropertyValue(IHTMLCSSStyleDeclaration *iface, BSTR name, BSTR *value)
|
2018-08-31 16:36:24 +02:00
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2019-03-26 17:26:36 +01:00
|
|
|
const style_tbl_entry_t *style_entry;
|
|
|
|
nsAString name_str, value_str;
|
|
|
|
nsresult nsres;
|
|
|
|
|
|
|
|
TRACE("(%p)->(%s %p)\n", This, debugstr_w(name), value);
|
|
|
|
|
|
|
|
style_entry = lookup_style_tbl(name);
|
|
|
|
nsAString_InitDepend(&name_str, style_entry ? style_entry->name : name);
|
|
|
|
nsAString_InitDepend(&value_str, NULL);
|
|
|
|
nsres = nsIDOMCSSStyleDeclaration_GetPropertyValue(This->nsstyle, &name_str, &value_str);
|
|
|
|
nsAString_Finish(&name_str);
|
|
|
|
return return_nsstr(nsres, &value_str, value);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_getPropertyPriority(IHTMLCSSStyleDeclaration *iface, BSTR bstrPropertyName, BSTR *pbstrPropertyPriority)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%s %p)\n", This, debugstr_w(bstrPropertyName), pbstrPropertyPriority);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_removeProperty(IHTMLCSSStyleDeclaration *iface, BSTR bstrPropertyName, BSTR *pbstrPropertyValue)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-09-07 14:50:56 +02:00
|
|
|
const style_tbl_entry_t *style_entry;
|
|
|
|
nsAString name_str, ret_str;
|
|
|
|
nsresult nsres;
|
|
|
|
|
|
|
|
TRACE("(%p)->(%s %p)\n", This, debugstr_w(bstrPropertyName), pbstrPropertyValue);
|
|
|
|
|
|
|
|
style_entry = lookup_style_tbl(bstrPropertyName);
|
|
|
|
nsAString_InitDepend(&name_str, style_entry ? style_entry->name : bstrPropertyName);
|
|
|
|
nsAString_Init(&ret_str, NULL);
|
2019-03-25 15:14:50 +01:00
|
|
|
nsres = nsIDOMCSSStyleDeclaration_RemoveProperty(This->nsstyle, &name_str, &ret_str);
|
2018-09-07 14:50:56 +02:00
|
|
|
nsAString_Finish(&name_str);
|
|
|
|
return return_nsstr(nsres, &ret_str, pbstrPropertyValue);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
2019-03-19 18:12:38 +01:00
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_setProperty(IHTMLCSSStyleDeclaration *iface, BSTR name, VARIANT *value, VARIANT *priority)
|
2018-08-31 16:36:24 +02:00
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2019-03-19 18:12:38 +01:00
|
|
|
nsAString priority_str, name_str, value_str;
|
|
|
|
const style_tbl_entry_t *style_entry;
|
|
|
|
nsresult nsres;
|
|
|
|
HRESULT hres;
|
|
|
|
|
|
|
|
TRACE("(%p)->(%s %s %s)\n", This, debugstr_w(name), debugstr_variant(value), debugstr_variant(priority));
|
|
|
|
|
|
|
|
style_entry = lookup_style_tbl(name);
|
2019-04-19 16:37:05 +02:00
|
|
|
hres = var_to_styleval(This, value, style_entry, &value_str);
|
2019-03-19 18:12:38 +01:00
|
|
|
if(FAILED(hres))
|
|
|
|
return hres;
|
|
|
|
|
|
|
|
if(priority) {
|
|
|
|
if(V_VT(priority) != VT_BSTR) {
|
|
|
|
WARN("invalid priority type %s\n", debugstr_variant(priority));
|
2019-04-19 16:37:05 +02:00
|
|
|
nsAString_Finish(&value_str);
|
2019-03-19 18:12:38 +01:00
|
|
|
return S_OK;
|
|
|
|
}
|
|
|
|
nsAString_InitDepend(&priority_str, V_BSTR(priority));
|
|
|
|
}else {
|
|
|
|
nsAString_InitDepend(&priority_str, NULL);
|
|
|
|
}
|
|
|
|
|
|
|
|
nsAString_InitDepend(&name_str, style_entry ? style_entry->name : name);
|
2019-03-25 15:14:50 +01:00
|
|
|
nsres = nsIDOMCSSStyleDeclaration_SetProperty(This->nsstyle, &name_str, &value_str, &priority_str);
|
2019-03-19 18:12:38 +01:00
|
|
|
nsAString_Finish(&name_str);
|
|
|
|
nsAString_Finish(&value_str);
|
|
|
|
nsAString_Finish(&priority_str);
|
2019-03-26 17:27:32 +01:00
|
|
|
if(NS_FAILED(nsres))
|
|
|
|
WARN("SetProperty failed: %08x\n", nsres);
|
|
|
|
return map_nsresult(nsres);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_item(IHTMLCSSStyleDeclaration *iface, LONG index, BSTR *pbstrPropertyName)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%d %p)\n", This, index, pbstrPropertyName);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_fontFamily(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:50 +02:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_w(v));
|
2019-03-25 15:14:50 +01:00
|
|
|
return set_style_property(This, STYLEID_FONT_FAMILY, v);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_fontFamily(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:50 +02:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
2019-03-25 15:14:50 +01:00
|
|
|
return get_style_property(This, STYLEID_FONT_FAMILY, p);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_fontStyle(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:50 +02:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_w(v));
|
2019-03-25 15:14:50 +01:00
|
|
|
return set_style_property(This, STYLEID_FONT_STYLE, v);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_fontStyle(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:50 +02:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
2019-03-25 15:14:50 +01:00
|
|
|
return get_style_property(This, STYLEID_FONT_STYLE, p);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_fontVariant(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:50 +02:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_w(v));
|
2019-03-25 15:14:50 +01:00
|
|
|
return set_style_property(This, STYLEID_FONT_VARIANT, v);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_fontVariant(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:50 +02:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
2019-03-25 15:14:50 +01:00
|
|
|
return get_style_property(This, STYLEID_FONT_VARIANT, p);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_fontWeight(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:50 +02:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_w(v));
|
2019-03-25 15:14:50 +01:00
|
|
|
return set_style_property(This, STYLEID_FONT_WEIGHT, v);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_fontWeight(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:50 +02:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
2019-03-25 15:14:50 +01:00
|
|
|
return get_style_property(This, STYLEID_FONT_WEIGHT, p);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_fontSize(IHTMLCSSStyleDeclaration *iface, VARIANT v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:33 +02:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
|
2019-03-25 15:14:50 +01:00
|
|
|
return set_style_property_var(This, STYLEID_FONT_SIZE, &v);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_fontSize(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:33 +02:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
2019-03-25 15:14:50 +01:00
|
|
|
return get_style_property_var(This, STYLEID_FONT_SIZE, p);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_font(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_font(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_color(IHTMLCSSStyleDeclaration *iface, VARIANT v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:33 +02:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
|
2019-03-25 15:14:50 +01:00
|
|
|
return set_style_property_var(This, STYLEID_COLOR, &v);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_color(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:33 +02:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
2019-03-25 15:14:50 +01:00
|
|
|
return get_style_property_var(This, STYLEID_COLOR, p);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_background(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:50 +02:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_w(v));
|
2019-03-25 15:14:50 +01:00
|
|
|
return set_style_property(This, STYLEID_BACKGROUND, v);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_background(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:50 +02:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
2019-03-25 15:14:50 +01:00
|
|
|
return get_style_property(This, STYLEID_BACKGROUND, p);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_backgroundColor(IHTMLCSSStyleDeclaration *iface, VARIANT v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:33 +02:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
|
2019-03-25 15:14:50 +01:00
|
|
|
return set_style_property_var(This, STYLEID_BACKGROUND_COLOR, &v);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_backgroundColor(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:33 +02:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
2019-03-25 15:14:50 +01:00
|
|
|
return get_style_property_var(This, STYLEID_BACKGROUND_COLOR, p);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_backgroundImage(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:50 +02:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_w(v));
|
2019-03-25 15:14:50 +01:00
|
|
|
return set_style_property(This, STYLEID_BACKGROUND_IMAGE, v);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_backgroundImage(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:50 +02:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
2019-03-25 15:14:50 +01:00
|
|
|
return get_style_property(This, STYLEID_BACKGROUND_IMAGE, p);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_backgroundRepeat(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:50 +02:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_w(v));
|
2019-03-25 15:14:50 +01:00
|
|
|
return set_style_property(This, STYLEID_BACKGROUND_REPEAT, v);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_backgroundRepeat(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:50 +02:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
2019-03-25 15:14:50 +01:00
|
|
|
return get_style_property(This, STYLEID_BACKGROUND_REPEAT, p);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_backgroundAttachment(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:50 +02:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_w(v));
|
2019-03-25 15:14:50 +01:00
|
|
|
return set_style_property(This, STYLEID_BACKGROUND_ATTACHMENT, v);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_backgroundAttachment(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:50 +02:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
2019-03-25 15:14:50 +01:00
|
|
|
return get_style_property(This, STYLEID_BACKGROUND_ATTACHMENT, p);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_backgroundPosition(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:50 +02:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_w(v));
|
2019-03-25 15:14:50 +01:00
|
|
|
return set_style_property(This, STYLEID_BACKGROUND_POSITION, v);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_backgroundPosition(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:50 +02:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
2019-03-25 15:14:50 +01:00
|
|
|
return get_style_property(This, STYLEID_BACKGROUND_POSITION, p);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_backgroundPositionX(IHTMLCSSStyleDeclaration *iface, VARIANT v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2019-04-19 16:37:05 +02:00
|
|
|
nsAString pos_str, val_str;
|
2019-03-25 15:14:36 +01:00
|
|
|
const WCHAR *val;
|
2019-04-19 16:37:05 +02:00
|
|
|
WCHAR *pos_val;
|
2019-03-25 15:14:36 +01:00
|
|
|
DWORD val_len;
|
|
|
|
HRESULT hres;
|
|
|
|
|
2018-08-31 16:36:33 +02:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
|
2019-03-25 15:14:36 +01:00
|
|
|
|
2019-04-19 16:37:05 +02:00
|
|
|
hres = var_to_styleval(This, &v, &style_tbl[STYLEID_BACKGROUND_POSITION_X], &val_str);
|
2019-03-25 15:14:36 +01:00
|
|
|
if(FAILED(hres))
|
|
|
|
return hres;
|
|
|
|
|
2019-04-19 16:37:05 +02:00
|
|
|
nsAString_GetData(&val_str, &val);
|
2019-06-13 08:34:29 +02:00
|
|
|
val_len = val ? lstrlenW(val) : 0;
|
2019-03-25 15:14:36 +01:00
|
|
|
|
|
|
|
nsAString_Init(&pos_str, NULL);
|
2019-03-25 15:14:50 +01:00
|
|
|
hres = get_nsstyle_attr_nsval(This->nsstyle, STYLEID_BACKGROUND_POSITION, &pos_str);
|
2019-03-25 15:14:36 +01:00
|
|
|
if(SUCCEEDED(hres)) {
|
|
|
|
const PRUnichar *pos, *posy;
|
|
|
|
DWORD posy_len;
|
|
|
|
|
|
|
|
nsAString_GetData(&pos_str, &pos);
|
2019-06-13 08:34:29 +02:00
|
|
|
posy = wcschr(pos, ' ');
|
2019-03-25 15:14:36 +01:00
|
|
|
if(!posy) {
|
|
|
|
static const WCHAR zero_pxW[] = {' ','0','p','x',0};
|
|
|
|
|
|
|
|
TRACE("no space in %s\n", debugstr_w(pos));
|
|
|
|
posy = zero_pxW;
|
|
|
|
}
|
|
|
|
|
2019-06-13 08:34:29 +02:00
|
|
|
posy_len = lstrlenW(posy);
|
2019-03-25 15:14:36 +01:00
|
|
|
pos_val = heap_alloc((val_len+posy_len+1)*sizeof(WCHAR));
|
|
|
|
if(pos_val) {
|
|
|
|
if(val_len)
|
|
|
|
memcpy(pos_val, val, val_len*sizeof(WCHAR));
|
|
|
|
if(posy_len)
|
|
|
|
memcpy(pos_val+val_len, posy, posy_len*sizeof(WCHAR));
|
|
|
|
pos_val[val_len+posy_len] = 0;
|
|
|
|
}else {
|
|
|
|
hres = E_OUTOFMEMORY;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
nsAString_Finish(&pos_str);
|
2019-04-19 16:37:05 +02:00
|
|
|
nsAString_Finish(&val_str);
|
2019-03-25 15:14:36 +01:00
|
|
|
if(FAILED(hres))
|
|
|
|
return hres;
|
|
|
|
|
|
|
|
TRACE("setting position to %s\n", debugstr_w(pos_val));
|
2019-03-25 15:14:50 +01:00
|
|
|
hres = set_style_property(This, STYLEID_BACKGROUND_POSITION, pos_val);
|
2019-03-25 15:14:36 +01:00
|
|
|
heap_free(pos_val);
|
|
|
|
return hres;
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_backgroundPositionX(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2019-03-25 15:14:36 +01:00
|
|
|
nsAString pos_str;
|
|
|
|
BSTR ret;
|
|
|
|
HRESULT hres;
|
|
|
|
|
2018-08-31 16:36:33 +02:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
2019-03-25 15:14:36 +01:00
|
|
|
|
|
|
|
nsAString_Init(&pos_str, NULL);
|
2019-03-25 15:14:50 +01:00
|
|
|
hres = get_nsstyle_attr_nsval(This->nsstyle, STYLEID_BACKGROUND_POSITION, &pos_str);
|
2019-03-25 15:14:36 +01:00
|
|
|
if(SUCCEEDED(hres)) {
|
|
|
|
const PRUnichar *pos, *space;
|
|
|
|
|
|
|
|
nsAString_GetData(&pos_str, &pos);
|
2019-06-13 08:34:29 +02:00
|
|
|
space = wcschr(pos, ' ');
|
2019-03-25 15:14:36 +01:00
|
|
|
if(!space) {
|
|
|
|
WARN("no space in %s\n", debugstr_w(pos));
|
2019-06-13 08:34:29 +02:00
|
|
|
space = pos + lstrlenW(pos);
|
2019-03-25 15:14:36 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
if(space != pos) {
|
|
|
|
ret = SysAllocStringLen(pos, space-pos);
|
|
|
|
if(!ret)
|
|
|
|
hres = E_OUTOFMEMORY;
|
|
|
|
}else {
|
|
|
|
ret = NULL;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
nsAString_Finish(&pos_str);
|
|
|
|
if(FAILED(hres))
|
|
|
|
return hres;
|
|
|
|
|
|
|
|
TRACE("returning %s\n", debugstr_w(ret));
|
|
|
|
V_VT(p) = VT_BSTR;
|
|
|
|
V_BSTR(p) = ret;
|
|
|
|
return S_OK;
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_backgroundPositionY(IHTMLCSSStyleDeclaration *iface, VARIANT v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2019-04-19 16:37:05 +02:00
|
|
|
nsAString pos_str, val_str;
|
2019-03-25 15:14:36 +01:00
|
|
|
const WCHAR *val;
|
2019-04-19 16:37:05 +02:00
|
|
|
WCHAR *pos_val;
|
2019-03-25 15:14:36 +01:00
|
|
|
DWORD val_len;
|
|
|
|
HRESULT hres;
|
|
|
|
|
2018-08-31 16:36:33 +02:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
|
2019-03-25 15:14:36 +01:00
|
|
|
|
2019-04-19 16:37:05 +02:00
|
|
|
hres = var_to_styleval(This, &v, &style_tbl[STYLEID_BACKGROUND_POSITION], &val_str);
|
2019-03-25 15:14:36 +01:00
|
|
|
if(FAILED(hres))
|
|
|
|
return hres;
|
|
|
|
|
2019-04-19 16:37:05 +02:00
|
|
|
nsAString_GetData(&val_str, &val);
|
2019-06-13 08:34:29 +02:00
|
|
|
val_len = val ? lstrlenW(val) : 0;
|
2019-03-25 15:14:36 +01:00
|
|
|
|
|
|
|
nsAString_Init(&pos_str, NULL);
|
2019-03-25 15:14:50 +01:00
|
|
|
hres = get_nsstyle_attr_nsval(This->nsstyle, STYLEID_BACKGROUND_POSITION, &pos_str);
|
2019-03-25 15:14:36 +01:00
|
|
|
if(SUCCEEDED(hres)) {
|
|
|
|
const PRUnichar *pos, *space;
|
|
|
|
DWORD posx_len;
|
|
|
|
|
|
|
|
nsAString_GetData(&pos_str, &pos);
|
2019-06-13 08:34:29 +02:00
|
|
|
space = wcschr(pos, ' ');
|
2019-03-25 15:14:36 +01:00
|
|
|
if(space) {
|
|
|
|
space++;
|
|
|
|
}else {
|
|
|
|
static const WCHAR zero_pxW[] = {'0','p','x',' ',0};
|
|
|
|
|
|
|
|
TRACE("no space in %s\n", debugstr_w(pos));
|
|
|
|
pos = zero_pxW;
|
|
|
|
space = pos + ARRAY_SIZE(zero_pxW)-1;
|
|
|
|
}
|
|
|
|
|
|
|
|
posx_len = space-pos;
|
|
|
|
|
|
|
|
pos_val = heap_alloc((posx_len+val_len+1)*sizeof(WCHAR));
|
|
|
|
if(pos_val) {
|
|
|
|
memcpy(pos_val, pos, posx_len*sizeof(WCHAR));
|
|
|
|
if(val_len)
|
|
|
|
memcpy(pos_val+posx_len, val, val_len*sizeof(WCHAR));
|
|
|
|
pos_val[posx_len+val_len] = 0;
|
|
|
|
}else {
|
|
|
|
hres = E_OUTOFMEMORY;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
nsAString_Finish(&pos_str);
|
2019-04-19 16:37:05 +02:00
|
|
|
nsAString_Finish(&val_str);
|
2019-03-25 15:14:36 +01:00
|
|
|
if(FAILED(hres))
|
|
|
|
return hres;
|
|
|
|
|
|
|
|
TRACE("setting position to %s\n", debugstr_w(pos_val));
|
2019-03-25 15:14:50 +01:00
|
|
|
hres = set_style_property(This, STYLEID_BACKGROUND_POSITION, pos_val);
|
2019-03-25 15:14:36 +01:00
|
|
|
heap_free(pos_val);
|
|
|
|
return hres;
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_backgroundPositionY(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2019-03-25 15:14:36 +01:00
|
|
|
nsAString pos_str;
|
|
|
|
BSTR ret;
|
|
|
|
HRESULT hres;
|
|
|
|
|
2018-08-31 16:36:33 +02:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
2019-03-25 15:14:36 +01:00
|
|
|
|
|
|
|
nsAString_Init(&pos_str, NULL);
|
2019-03-25 15:14:50 +01:00
|
|
|
hres = get_nsstyle_attr_nsval(This->nsstyle, STYLEID_BACKGROUND_POSITION, &pos_str);
|
2019-03-25 15:14:36 +01:00
|
|
|
if(SUCCEEDED(hres)) {
|
|
|
|
const PRUnichar *pos, *posy;
|
|
|
|
|
|
|
|
nsAString_GetData(&pos_str, &pos);
|
2019-06-13 08:34:29 +02:00
|
|
|
posy = wcschr(pos, ' ');
|
2019-03-25 15:14:36 +01:00
|
|
|
if(posy) {
|
|
|
|
ret = SysAllocString(posy+1);
|
|
|
|
if(!ret)
|
|
|
|
hres = E_OUTOFMEMORY;
|
|
|
|
}else {
|
|
|
|
ret = NULL;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
nsAString_Finish(&pos_str);
|
|
|
|
if(FAILED(hres))
|
|
|
|
return hres;
|
|
|
|
|
|
|
|
TRACE("returning %s\n", debugstr_w(ret));
|
|
|
|
V_VT(p) = VT_BSTR;
|
|
|
|
V_BSTR(p) = ret;
|
|
|
|
return S_OK;
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_wordSpacing(IHTMLCSSStyleDeclaration *iface, VARIANT v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:33 +02:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
|
2019-03-25 15:14:50 +01:00
|
|
|
return set_style_property_var(This, STYLEID_WORD_SPACING, &v);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_wordSpacing(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:33 +02:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
2019-03-25 15:14:50 +01:00
|
|
|
return get_style_property_var(This, STYLEID_WORD_SPACING, p);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_letterSpacing(IHTMLCSSStyleDeclaration *iface, VARIANT v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:33 +02:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
|
2019-03-25 15:14:50 +01:00
|
|
|
return set_style_property_var(This, STYLEID_LETTER_SPACING, &v);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_letterSpacing(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:33 +02:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
2019-03-25 15:14:50 +01:00
|
|
|
return get_style_property_var(This, STYLEID_LETTER_SPACING, p);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_textDecoration(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:50 +02:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_w(v));
|
2019-03-25 15:14:50 +01:00
|
|
|
return set_style_property(This, STYLEID_TEXT_DECORATION, v);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_textDecoration(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:50 +02:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
2019-03-25 15:14:50 +01:00
|
|
|
return get_style_property(This, STYLEID_TEXT_DECORATION, p);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_verticalAlign(IHTMLCSSStyleDeclaration *iface, VARIANT v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:33 +02:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
|
2019-03-25 15:14:50 +01:00
|
|
|
return set_style_property_var(This, STYLEID_VERTICAL_ALIGN, &v);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_verticalAlign(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:33 +02:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
2019-03-25 15:14:50 +01:00
|
|
|
return get_style_property_var(This, STYLEID_VERTICAL_ALIGN, p);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_textTransform(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:50 +02:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_w(v));
|
2019-03-25 15:14:50 +01:00
|
|
|
return set_style_property(This, STYLEID_TEXT_TRANSFORM, v);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_textTransform(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:50 +02:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
2019-03-25 15:14:50 +01:00
|
|
|
return get_style_property(This, STYLEID_TEXT_TRANSFORM, p);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_textAlign(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:50 +02:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_w(v));
|
2019-03-25 15:14:50 +01:00
|
|
|
return set_style_property(This, STYLEID_TEXT_ALIGN, v);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_textAlign(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:50 +02:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
2019-03-25 15:14:50 +01:00
|
|
|
return get_style_property(This, STYLEID_TEXT_ALIGN, p);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_textIndent(IHTMLCSSStyleDeclaration *iface, VARIANT v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:33 +02:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
|
2019-03-25 15:14:50 +01:00
|
|
|
return set_style_property_var(This, STYLEID_TEXT_INDENT, &v);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_textIndent(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:33 +02:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
2019-03-25 15:14:50 +01:00
|
|
|
return get_style_property_var(This, STYLEID_TEXT_INDENT, p);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_lineHeight(IHTMLCSSStyleDeclaration *iface, VARIANT v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:33 +02:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
|
2019-03-25 15:14:50 +01:00
|
|
|
return set_style_property_var(This, STYLEID_LINE_HEIGHT, &v);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_lineHeight(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:33 +02:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
2019-03-25 15:14:50 +01:00
|
|
|
return get_style_property_var(This, STYLEID_LINE_HEIGHT, p);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_marginTop(IHTMLCSSStyleDeclaration *iface, VARIANT v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:33 +02:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
|
2019-03-25 15:14:50 +01:00
|
|
|
return set_style_property_var(This, STYLEID_MARGIN_TOP, &v);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_marginTop(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:33 +02:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
2019-03-25 15:14:50 +01:00
|
|
|
return get_style_property_var(This, STYLEID_MARGIN_TOP, p);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_marginRight(IHTMLCSSStyleDeclaration *iface, VARIANT v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:33 +02:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
|
2019-03-25 15:14:50 +01:00
|
|
|
return set_style_property_var(This, STYLEID_MARGIN_RIGHT, &v);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_marginRight(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:33 +02:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
2019-03-25 15:14:50 +01:00
|
|
|
return get_style_property_var(This, STYLEID_MARGIN_RIGHT, p);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_marginBottom(IHTMLCSSStyleDeclaration *iface, VARIANT v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:33 +02:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
|
2019-03-25 15:14:50 +01:00
|
|
|
return set_style_property_var(This, STYLEID_MARGIN_BOTTOM, &v);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_marginBottom(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:33 +02:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
2019-03-25 15:14:50 +01:00
|
|
|
return get_style_property_var(This, STYLEID_MARGIN_BOTTOM, p);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_marginLeft(IHTMLCSSStyleDeclaration *iface, VARIANT v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:33 +02:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
|
2019-03-25 15:14:50 +01:00
|
|
|
return set_style_property_var(This, STYLEID_MARGIN_LEFT, &v);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_marginLeft(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:33 +02:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
2019-03-25 15:14:50 +01:00
|
|
|
return get_style_property_var(This, STYLEID_MARGIN_LEFT, p);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_margin(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:50 +02:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_w(v));
|
2019-03-25 15:14:50 +01:00
|
|
|
return set_style_property(This, STYLEID_MARGIN, v);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_margin(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:50 +02:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
2019-03-25 15:14:50 +01:00
|
|
|
return get_style_property(This, STYLEID_MARGIN, p);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_paddingTop(IHTMLCSSStyleDeclaration *iface, VARIANT v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:33 +02:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
|
2019-03-25 15:14:50 +01:00
|
|
|
return set_style_property_var(This, STYLEID_PADDING_TOP, &v);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_paddingTop(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:33 +02:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
2019-03-25 15:14:50 +01:00
|
|
|
return get_style_property_var(This, STYLEID_PADDING_TOP, p);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_paddingRight(IHTMLCSSStyleDeclaration *iface, VARIANT v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:33 +02:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
|
2019-03-25 15:14:50 +01:00
|
|
|
return set_style_property_var(This, STYLEID_PADDING_RIGHT, &v);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_paddingRight(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:33 +02:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
2019-03-25 15:14:50 +01:00
|
|
|
return get_style_property_var(This, STYLEID_PADDING_RIGHT, p);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_paddingBottom(IHTMLCSSStyleDeclaration *iface, VARIANT v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:33 +02:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
|
2019-03-25 15:14:50 +01:00
|
|
|
return set_style_property_var(This, STYLEID_PADDING_BOTTOM, &v);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_paddingBottom(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:33 +02:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
2019-03-25 15:14:50 +01:00
|
|
|
return get_style_property_var(This, STYLEID_PADDING_BOTTOM, p);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_paddingLeft(IHTMLCSSStyleDeclaration *iface, VARIANT v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:33 +02:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
|
2019-03-25 15:14:50 +01:00
|
|
|
return set_style_property_var(This, STYLEID_PADDING_LEFT, &v);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_paddingLeft(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:33 +02:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
2019-03-25 15:14:50 +01:00
|
|
|
return get_style_property_var(This, STYLEID_PADDING_LEFT, p);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_padding(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:50 +02:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_w(v));
|
2019-03-25 15:14:50 +01:00
|
|
|
return set_style_property(This, STYLEID_PADDING, v);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_padding(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:50 +02:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
2019-03-25 15:14:50 +01:00
|
|
|
return get_style_property(This, STYLEID_PADDING, p);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_border(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:50 +02:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_w(v));
|
2019-03-25 15:14:50 +01:00
|
|
|
return set_style_property(This, STYLEID_BORDER, v);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_border(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:50 +02:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
2019-03-25 15:14:50 +01:00
|
|
|
return get_style_property(This, STYLEID_BORDER, p);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_borderTop(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:50 +02:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_w(v));
|
2019-03-25 15:14:50 +01:00
|
|
|
return set_style_property(This, STYLEID_BORDER_TOP, v);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_borderTop(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:50 +02:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
2019-03-25 15:14:50 +01:00
|
|
|
return get_style_property(This, STYLEID_BORDER_TOP, p);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_borderRight(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:50 +02:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_w(v));
|
2019-03-25 15:14:50 +01:00
|
|
|
return set_style_property(This, STYLEID_BORDER_RIGHT, v);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_borderRight(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:50 +02:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
2019-03-25 15:14:50 +01:00
|
|
|
return get_style_property(This, STYLEID_BORDER_RIGHT, p);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_borderBottom(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:50 +02:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_w(v));
|
2019-03-25 15:14:50 +01:00
|
|
|
return set_style_property(This, STYLEID_BORDER_BOTTOM, v);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_borderBottom(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:50 +02:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
2019-03-25 15:14:50 +01:00
|
|
|
return get_style_property(This, STYLEID_BORDER_BOTTOM, p);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_borderLeft(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:50 +02:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_w(v));
|
2019-03-25 15:14:50 +01:00
|
|
|
return set_style_property(This, STYLEID_BORDER_LEFT, v);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_borderLeft(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:50 +02:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
2019-03-25 15:14:50 +01:00
|
|
|
return get_style_property(This, STYLEID_BORDER_LEFT, p);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_borderColor(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:50 +02:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_w(v));
|
2019-03-25 15:14:50 +01:00
|
|
|
return set_style_property(This, STYLEID_BORDER_COLOR, v);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_borderColor(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:50 +02:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
2019-03-25 15:14:50 +01:00
|
|
|
return get_style_property(This, STYLEID_BORDER_COLOR, p);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_borderTopColor(IHTMLCSSStyleDeclaration *iface, VARIANT v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:33 +02:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
|
2019-03-25 15:14:50 +01:00
|
|
|
return set_style_property_var(This, STYLEID_BORDER_TOP_COLOR, &v);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_borderTopColor(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:33 +02:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
2019-03-25 15:14:50 +01:00
|
|
|
return get_style_property_var(This, STYLEID_BORDER_TOP_COLOR, p);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_borderRightColor(IHTMLCSSStyleDeclaration *iface, VARIANT v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:33 +02:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
|
2019-03-25 15:14:50 +01:00
|
|
|
return set_style_property_var(This, STYLEID_BORDER_RIGHT_COLOR, &v);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_borderRightColor(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:33 +02:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
2019-03-25 15:14:50 +01:00
|
|
|
return get_style_property_var(This, STYLEID_BORDER_RIGHT_COLOR, p);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_borderBottomColor(IHTMLCSSStyleDeclaration *iface, VARIANT v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:33 +02:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
|
2019-03-25 15:14:50 +01:00
|
|
|
return set_style_property_var(This, STYLEID_BORDER_BOTTOM_COLOR, &v);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_borderBottomColor(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:33 +02:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
2019-03-25 15:14:50 +01:00
|
|
|
return get_style_property_var(This, STYLEID_BORDER_BOTTOM_COLOR, p);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_borderLeftColor(IHTMLCSSStyleDeclaration *iface, VARIANT v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:33 +02:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
|
2019-03-25 15:14:50 +01:00
|
|
|
return set_style_property_var(This, STYLEID_BORDER_LEFT_COLOR, &v);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_borderLeftColor(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:33 +02:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
2019-03-25 15:14:50 +01:00
|
|
|
return get_style_property_var(This, STYLEID_BORDER_LEFT_COLOR, p);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_borderWidth(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:50 +02:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_w(v));
|
2019-03-25 15:14:50 +01:00
|
|
|
return set_style_property(This, STYLEID_BORDER_WIDTH, v);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_borderWidth(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:50 +02:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
2019-03-25 15:14:50 +01:00
|
|
|
return get_style_property(This, STYLEID_BORDER_WIDTH, p);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_borderTopWidth(IHTMLCSSStyleDeclaration *iface, VARIANT v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:33 +02:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
|
2019-03-25 15:14:50 +01:00
|
|
|
return set_style_property_var(This, STYLEID_BORDER_TOP_WIDTH, &v);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_borderTopWidth(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:33 +02:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
2019-03-25 15:14:50 +01:00
|
|
|
return get_style_property_var(This, STYLEID_BORDER_TOP_WIDTH, p);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_borderRightWidth(IHTMLCSSStyleDeclaration *iface, VARIANT v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:33 +02:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
|
2019-03-25 15:14:50 +01:00
|
|
|
return set_style_property_var(This, STYLEID_BORDER_RIGHT_WIDTH, &v);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_borderRightWidth(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:33 +02:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
2019-03-25 15:14:50 +01:00
|
|
|
return get_style_property_var(This, STYLEID_BORDER_RIGHT_WIDTH, p);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_borderBottomWidth(IHTMLCSSStyleDeclaration *iface, VARIANT v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:33 +02:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
|
2019-03-25 15:14:50 +01:00
|
|
|
return set_style_property_var(This, STYLEID_BORDER_BOTTOM_WIDTH, &v);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_borderBottomWidth(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:33 +02:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
2019-03-25 15:14:50 +01:00
|
|
|
return get_style_property_var(This, STYLEID_BORDER_BOTTOM_WIDTH, p);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_borderLeftWidth(IHTMLCSSStyleDeclaration *iface, VARIANT v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:33 +02:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
|
2019-03-25 15:14:50 +01:00
|
|
|
return set_style_property_var(This, STYLEID_BORDER_LEFT_WIDTH, &v);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_borderLeftWidth(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:33 +02:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
2019-03-25 15:14:50 +01:00
|
|
|
return get_style_property_var(This, STYLEID_BORDER_LEFT_WIDTH, p);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_borderStyle(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:50 +02:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_w(v));
|
2019-03-25 15:14:50 +01:00
|
|
|
return set_style_property(This, STYLEID_BORDER_STYLE, v);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_borderStyle(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:50 +02:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
2019-03-25 15:14:50 +01:00
|
|
|
return get_style_property(This, STYLEID_BORDER_STYLE, p);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_borderTopStyle(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:50 +02:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_w(v));
|
2019-03-25 15:14:50 +01:00
|
|
|
return set_style_property(This, STYLEID_BORDER_TOP_STYLE, v);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_borderTopStyle(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:50 +02:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
2019-03-25 15:14:50 +01:00
|
|
|
return get_style_property(This, STYLEID_BORDER_TOP_STYLE, p);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_borderRightStyle(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:50 +02:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_w(v));
|
2019-03-25 15:14:50 +01:00
|
|
|
return set_style_property(This, STYLEID_BORDER_RIGHT_STYLE, v);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_borderRightStyle(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:50 +02:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
2019-03-25 15:14:50 +01:00
|
|
|
return get_style_property(This, STYLEID_BORDER_RIGHT_STYLE, p);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_borderBottomStyle(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:50 +02:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_w(v));
|
2019-03-25 15:14:50 +01:00
|
|
|
return set_style_property(This, STYLEID_BORDER_BOTTOM_STYLE, v);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_borderBottomStyle(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:50 +02:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
2019-03-25 15:14:50 +01:00
|
|
|
return get_style_property(This, STYLEID_BORDER_BOTTOM_STYLE, p);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_borderLeftStyle(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:50 +02:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_w(v));
|
2019-03-25 15:14:50 +01:00
|
|
|
return set_style_property(This, STYLEID_BORDER_LEFT_STYLE, v);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_borderLeftStyle(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:50 +02:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
2019-03-25 15:14:50 +01:00
|
|
|
return get_style_property(This, STYLEID_BORDER_LEFT_STYLE, p);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_width(IHTMLCSSStyleDeclaration *iface, VARIANT v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:33 +02:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
|
2019-03-25 15:14:50 +01:00
|
|
|
return set_style_property_var(This, STYLEID_WIDTH, &v);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_width(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:33 +02:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
2019-03-25 15:14:50 +01:00
|
|
|
return get_style_property_var(This, STYLEID_WIDTH, p);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_height(IHTMLCSSStyleDeclaration *iface, VARIANT v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:33 +02:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
|
2019-03-25 15:14:50 +01:00
|
|
|
return set_style_property_var(This, STYLEID_HEIGHT, &v);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_height(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:33 +02:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
2019-03-25 15:14:50 +01:00
|
|
|
return get_style_property_var(This, STYLEID_HEIGHT, p);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_styleFloat(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-09-10 17:27:46 +02:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_w(v));
|
2019-03-25 15:14:50 +01:00
|
|
|
return set_style_property(This, STYLEID_FLOAT, v);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_styleFloat(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-09-10 17:27:46 +02:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
2019-03-25 15:14:50 +01:00
|
|
|
return get_style_property(This, STYLEID_FLOAT, p);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_clear(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:50 +02:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_w(v));
|
2019-03-25 15:14:50 +01:00
|
|
|
return set_style_property(This, STYLEID_CLEAR, v);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_clear(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:50 +02:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
2019-03-25 15:14:50 +01:00
|
|
|
return get_style_property(This, STYLEID_CLEAR, p);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_display(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:50 +02:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_w(v));
|
2019-03-25 15:14:50 +01:00
|
|
|
return set_style_property(This, STYLEID_DISPLAY, v);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_display(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:50 +02:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
2019-03-25 15:14:50 +01:00
|
|
|
return get_style_property(This, STYLEID_DISPLAY, p);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_visibility(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:50 +02:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_w(v));
|
2019-03-25 15:14:50 +01:00
|
|
|
return set_style_property(This, STYLEID_VISIBILITY, v);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_visibility(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:50 +02:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
2019-03-25 15:14:50 +01:00
|
|
|
return get_style_property(This, STYLEID_VISIBILITY, p);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_listStyleType(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_listStyleType(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_listStylePosition(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_listStylePosition(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_listStyleImage(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_listStyleImage(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_listStyle(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:50 +02:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_w(v));
|
2019-03-25 15:14:50 +01:00
|
|
|
return set_style_property(This, STYLEID_LIST_STYLE, v);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_listStyle(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:50 +02:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
2019-03-25 15:14:50 +01:00
|
|
|
return get_style_property(This, STYLEID_LIST_STYLE, p);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_whiteSpace(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:50 +02:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_w(v));
|
2019-03-25 15:14:50 +01:00
|
|
|
return set_style_property(This, STYLEID_WHITE_SPACE, v);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_whiteSpace(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:50 +02:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
2019-03-25 15:14:50 +01:00
|
|
|
return get_style_property(This, STYLEID_WHITE_SPACE, p);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_top(IHTMLCSSStyleDeclaration *iface, VARIANT v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:33 +02:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
|
2019-03-25 15:14:50 +01:00
|
|
|
return set_style_property_var(This, STYLEID_TOP, &v);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_top(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:33 +02:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
2019-03-25 15:14:50 +01:00
|
|
|
return get_style_property_var(This, STYLEID_TOP, p);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_left(IHTMLCSSStyleDeclaration *iface, VARIANT v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:33 +02:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
|
2019-03-25 15:14:50 +01:00
|
|
|
return set_style_property_var(This, STYLEID_LEFT, &v);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_left(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:33 +02:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
2019-03-25 15:14:50 +01:00
|
|
|
return get_style_property_var(This, STYLEID_LEFT, p);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_zIndex(IHTMLCSSStyleDeclaration *iface, VARIANT v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:33 +02:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
|
2019-03-25 15:14:50 +01:00
|
|
|
return set_style_property_var(This, STYLEID_Z_INDEX, &v);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_zIndex(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:33 +02:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
2019-03-25 15:14:50 +01:00
|
|
|
return get_style_property_var(This, STYLEID_Z_INDEX, p);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_overflow(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:50 +02:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_w(v));
|
2019-03-25 15:14:50 +01:00
|
|
|
return set_style_property(This, STYLEID_OVERFLOW, v);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_overflow(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:50 +02:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
2019-03-25 15:14:50 +01:00
|
|
|
return get_style_property(This, STYLEID_OVERFLOW, p);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_pageBreakBefore(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:50 +02:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_w(v));
|
2019-03-25 15:14:50 +01:00
|
|
|
return set_style_property(This, STYLEID_PAGE_BREAK_BEFORE, v);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_pageBreakBefore(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:50 +02:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
2019-03-25 15:14:50 +01:00
|
|
|
return get_style_property(This, STYLEID_PAGE_BREAK_BEFORE, p);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_pageBreakAfter(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:50 +02:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_w(v));
|
2019-03-25 15:14:50 +01:00
|
|
|
return set_style_property(This, STYLEID_PAGE_BREAK_AFTER, v);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_pageBreakAfter(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:50 +02:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
2019-03-25 15:14:50 +01:00
|
|
|
return get_style_property(This, STYLEID_PAGE_BREAK_AFTER, p);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_cssText(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-09-07 14:44:50 +02:00
|
|
|
nsAString text_str;
|
|
|
|
nsresult nsres;
|
|
|
|
|
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
|
|
|
|
nsAString_InitDepend(&text_str, v);
|
2019-03-25 15:14:50 +01:00
|
|
|
nsres = nsIDOMCSSStyleDeclaration_SetCssText(This->nsstyle, &text_str);
|
2018-09-07 14:44:50 +02:00
|
|
|
nsAString_Finish(&text_str);
|
|
|
|
if(NS_FAILED(nsres)) {
|
|
|
|
FIXME("SetCssStyle failed: %08x\n", nsres);
|
|
|
|
return E_FAIL;
|
|
|
|
}
|
|
|
|
|
|
|
|
return S_OK;
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_cssText(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-09-07 14:45:03 +02:00
|
|
|
nsAString text_str;
|
|
|
|
nsresult nsres;
|
|
|
|
|
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
|
|
|
|
|
|
|
/* NOTE: Quicks mode should use different formatting (uppercase, no ';' at the end of rule). */
|
|
|
|
nsAString_Init(&text_str, NULL);
|
2019-03-25 15:14:50 +01:00
|
|
|
nsres = nsIDOMCSSStyleDeclaration_GetCssText(This->nsstyle, &text_str);
|
2018-09-07 14:45:03 +02:00
|
|
|
return return_nsstr(nsres, &text_str, p);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_cursor(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:50 +02:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_w(v));
|
2019-03-25 15:14:50 +01:00
|
|
|
return set_style_property(This, STYLEID_CURSOR, v);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_cursor(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:50 +02:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
2019-03-25 15:14:50 +01:00
|
|
|
return get_style_property(This, STYLEID_CURSOR, p);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_clip(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:50 +02:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_w(v));
|
2019-03-25 15:14:50 +01:00
|
|
|
return set_style_property(This, STYLEID_CLIP, v);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_clip(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:50 +02:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
2019-03-25 15:14:50 +01:00
|
|
|
return get_style_property(This, STYLEID_CLIP, p);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_filter(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:50 +02:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_w(v));
|
2019-03-25 15:14:50 +01:00
|
|
|
return set_style_property(This, STYLEID_FILTER, v);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_filter(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:50 +02:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
2019-03-25 15:14:50 +01:00
|
|
|
return get_style_property(This, STYLEID_FILTER, p);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_tableLayout(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:50 +02:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_w(v));
|
2019-03-25 15:14:50 +01:00
|
|
|
return set_style_property(This, STYLEID_TABLE_LAYOUT, v);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_tableLayout(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:50 +02:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
2019-03-25 15:14:50 +01:00
|
|
|
return get_style_property(This, STYLEID_TABLE_LAYOUT, p);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_borderCollapse(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2019-02-07 18:32:22 +01:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_w(v));
|
2019-03-25 15:14:50 +01:00
|
|
|
return set_style_property(This, STYLEID_BORDER_COLLAPSE, v);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_borderCollapse(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2019-02-07 18:32:22 +01:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
2019-03-25 15:14:50 +01:00
|
|
|
return get_style_property(This, STYLEID_BORDER_COLLAPSE, p);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_direction(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:50 +02:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_w(v));
|
2019-03-25 15:14:50 +01:00
|
|
|
return set_style_property(This, STYLEID_DIRECTION, v);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_direction(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:50 +02:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
2019-03-25 15:14:50 +01:00
|
|
|
return get_style_property(This, STYLEID_DIRECTION, p);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_behavior(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_behavior(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_position(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:50 +02:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_w(v));
|
2019-03-25 15:14:50 +01:00
|
|
|
return set_style_property(This, STYLEID_POSITION, v);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_position(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:50 +02:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
2019-03-25 15:14:50 +01:00
|
|
|
return get_style_property(This, STYLEID_POSITION, p);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_unicodeBidi(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_unicodeBidi(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_bottom(IHTMLCSSStyleDeclaration *iface, VARIANT v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:33 +02:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
|
2019-03-25 15:14:50 +01:00
|
|
|
return set_style_property_var(This, STYLEID_BOTTOM, &v);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_bottom(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:33 +02:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
2019-03-25 15:14:50 +01:00
|
|
|
return get_style_property_var(This, STYLEID_BOTTOM, p);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_right(IHTMLCSSStyleDeclaration *iface, VARIANT v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:33 +02:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
|
2019-03-25 15:14:50 +01:00
|
|
|
return set_style_property_var(This, STYLEID_RIGHT, &v);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_right(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:33 +02:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
2019-03-25 15:14:50 +01:00
|
|
|
return get_style_property_var(This, STYLEID_RIGHT, p);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_imeMode(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_imeMode(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_rubyAlign(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_rubyAlign(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_rubyPosition(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_rubyPosition(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_rubyOverhang(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_rubyOverhang(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_layoutGridChar(IHTMLCSSStyleDeclaration *iface, VARIANT v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_layoutGridChar(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_layoutGridLine(IHTMLCSSStyleDeclaration *iface, VARIANT v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_layoutGridLine(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_layoutGridMode(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_layoutGridMode(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_layoutGridType(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_layoutGridType(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_layoutGrid(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_layoutGrid(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_textAutospace(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_textAutospace(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_wordBreak(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_wordBreak(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_lineBreak(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_lineBreak(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_textJustify(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_textJustify(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_textJustifyTrim(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_textJustifyTrim(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_textKashida(IHTMLCSSStyleDeclaration *iface, VARIANT v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_textKashida(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_overflowX(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:50 +02:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_w(v));
|
2019-03-25 15:14:50 +01:00
|
|
|
return set_style_property(This, STYLEID_OVERFLOW_X, v);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_overflowX(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:50 +02:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
2019-03-25 15:14:50 +01:00
|
|
|
return get_style_property(This, STYLEID_OVERFLOW_X, p);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_overflowY(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:50 +02:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_w(v));
|
2019-03-25 15:14:50 +01:00
|
|
|
return set_style_property(This, STYLEID_OVERFLOW_Y, v);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_overflowY(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:50 +02:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
2019-03-25 15:14:50 +01:00
|
|
|
return get_style_property(This, STYLEID_OVERFLOW_Y, p);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_accelerator(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_accelerator(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_layoutFlow(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_layoutFlow(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
2019-03-25 15:14:25 +01:00
|
|
|
static const WCHAR zoomW[] = {'z','o','o','m',0};
|
|
|
|
|
2018-08-31 16:36:24 +02:00
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_zoom(IHTMLCSSStyleDeclaration *iface, VARIANT v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2019-03-25 15:14:25 +01:00
|
|
|
VARIANT *var;
|
|
|
|
HRESULT hres;
|
|
|
|
|
2018-09-06 16:15:19 +02:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
|
2019-03-25 15:14:25 +01:00
|
|
|
|
|
|
|
/* zoom property is IE CSS extension that is mostly used as a hack to workaround IE bugs.
|
|
|
|
* The value is set to 1 then. We can safely ignore setting zoom to 1. */
|
|
|
|
if(V_VT(&v) != VT_I4 || V_I4(&v) != 1)
|
|
|
|
WARN("stub for %s\n", debugstr_variant(&v));
|
|
|
|
|
2019-03-25 15:14:50 +01:00
|
|
|
hres = dispex_get_dprop_ref(&This->dispex, zoomW, TRUE, &var);
|
2019-03-25 15:14:25 +01:00
|
|
|
if(FAILED(hres))
|
|
|
|
return hres;
|
|
|
|
|
|
|
|
return VariantChangeType(var, &v, 0, VT_BSTR);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_zoom(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2019-03-25 15:14:25 +01:00
|
|
|
VARIANT *var;
|
|
|
|
HRESULT hres;
|
|
|
|
|
2018-09-06 16:15:19 +02:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
2019-03-25 15:14:25 +01:00
|
|
|
|
2019-03-25 15:14:50 +01:00
|
|
|
hres = dispex_get_dprop_ref(&This->dispex, zoomW, FALSE, &var);
|
2019-03-25 15:14:25 +01:00
|
|
|
if(hres == DISP_E_UNKNOWNNAME) {
|
|
|
|
V_VT(p) = VT_BSTR;
|
|
|
|
V_BSTR(p) = NULL;
|
|
|
|
return S_OK;
|
|
|
|
}
|
|
|
|
if(FAILED(hres))
|
|
|
|
return hres;
|
|
|
|
|
|
|
|
return VariantCopy(p, var);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_wordWrap(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:50 +02:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_w(v));
|
2019-03-25 15:14:50 +01:00
|
|
|
return set_style_property(This, STYLEID_WORD_WRAP, v);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_wordWrap(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:50 +02:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
2019-03-25 15:14:50 +01:00
|
|
|
return get_style_property(This, STYLEID_WORD_WRAP, p);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_textUnderlinePosition(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_textUnderlinePosition(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_scrollbarBaseColor(IHTMLCSSStyleDeclaration *iface, VARIANT v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_scrollbarBaseColor(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_scrollbarFaceColor(IHTMLCSSStyleDeclaration *iface, VARIANT v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_scrollbarFaceColor(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_scrollbar3dLightColor(IHTMLCSSStyleDeclaration *iface, VARIANT v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_scrollbar3dLightColor(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_scrollbarShadowColor(IHTMLCSSStyleDeclaration *iface, VARIANT v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_scrollbarShadowColor(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_scrollbarHighlightColor(IHTMLCSSStyleDeclaration *iface, VARIANT v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_scrollbarHighlightColor(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_scrollbarDarkShadowColor(IHTMLCSSStyleDeclaration *iface, VARIANT v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_scrollbarDarkShadowColor(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_scrollbarArrowColor(IHTMLCSSStyleDeclaration *iface, VARIANT v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_scrollbarArrowColor(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_scrollbarTrackColor(IHTMLCSSStyleDeclaration *iface, VARIANT v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_scrollbarTrackColor(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_writingMode(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_writingMode(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_textAlignLast(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_textAlignLast(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_textKashidaSpace(IHTMLCSSStyleDeclaration *iface, VARIANT v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_textKashidaSpace(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_textOverflow(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_textOverflow(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_minHeight(IHTMLCSSStyleDeclaration *iface, VARIANT v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:33 +02:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
|
2019-03-25 15:14:50 +01:00
|
|
|
return set_style_property_var(This, STYLEID_MIN_HEIGHT, &v);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_minHeight(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:33 +02:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
2019-03-25 15:14:50 +01:00
|
|
|
return get_style_property_var(This, STYLEID_MIN_HEIGHT, p);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_msInterpolationMode(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_msInterpolationMode(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_maxHeight(IHTMLCSSStyleDeclaration *iface, VARIANT v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:33 +02:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
|
2019-03-25 15:14:50 +01:00
|
|
|
return set_style_property_var(This, STYLEID_MAX_HEIGHT, &v);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_maxHeight(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:33 +02:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
2019-03-25 15:14:50 +01:00
|
|
|
return get_style_property_var(This, STYLEID_MAX_HEIGHT, p);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_minWidth(IHTMLCSSStyleDeclaration *iface, VARIANT v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:33 +02:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
|
2019-03-25 15:14:50 +01:00
|
|
|
return set_style_property_var(This, STYLEID_MIN_WIDTH, &v);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_minWidth(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:33 +02:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
2019-03-25 15:14:50 +01:00
|
|
|
return get_style_property_var(This, STYLEID_MIN_WIDTH, p);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_maxWidth(IHTMLCSSStyleDeclaration *iface, VARIANT v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:33 +02:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
|
2019-03-25 15:14:50 +01:00
|
|
|
return set_style_property_var(This, STYLEID_MAX_WIDTH, &v);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_maxWidth(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:33 +02:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
2019-03-25 15:14:50 +01:00
|
|
|
return get_style_property_var(This, STYLEID_MAX_WIDTH, p);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_content(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_content(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_captionSide(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_captionSide(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_counterIncrement(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_counterIncrement(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_counterReset(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_counterReset(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_outline(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:50 +02:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_w(v));
|
2019-03-25 15:14:50 +01:00
|
|
|
return set_style_property(This, STYLEID_OUTLINE, v);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_outline(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:50 +02:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
2019-03-25 15:14:50 +01:00
|
|
|
return get_style_property(This, STYLEID_OUTLINE, p);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_outlineWidth(IHTMLCSSStyleDeclaration *iface, VARIANT v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_outlineWidth(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_outlineStyle(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_outlineStyle(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_outlineColor(IHTMLCSSStyleDeclaration *iface, VARIANT v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_outlineColor(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_boxSizing(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:50 +02:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_w(v));
|
2019-03-25 15:14:50 +01:00
|
|
|
return set_style_property(This, STYLEID_BOX_SIZING, v);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_boxSizing(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:50 +02:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
2019-03-25 15:14:50 +01:00
|
|
|
return get_style_property(This, STYLEID_BOX_SIZING, p);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_borderSpacing(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2019-02-08 16:38:28 +01:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_w(v));
|
2019-03-25 15:14:50 +01:00
|
|
|
return set_style_property(This, STYLEID_BORDER_SPACING, v);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_borderSpacing(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2019-02-08 16:38:28 +01:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
2019-03-25 15:14:50 +01:00
|
|
|
return get_style_property(This, STYLEID_BORDER_SPACING, p);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_orphans(IHTMLCSSStyleDeclaration *iface, VARIANT v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_orphans(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_widows(IHTMLCSSStyleDeclaration *iface, VARIANT v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_widows(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_pageBreakInside(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_pageBreakInside(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_emptyCells(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_emptyCells(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_msBlockProgression(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_msBlockProgression(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_quotes(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_quotes(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_alignmentBaseline(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_alignmentBaseline(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_baselineShift(IHTMLCSSStyleDeclaration *iface, VARIANT v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_baselineShift(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_dominantBaseline(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_dominantBaseline(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_fontSizeAdjust(IHTMLCSSStyleDeclaration *iface, VARIANT v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_fontSizeAdjust(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_fontStretch(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_fontStretch(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_opacity(IHTMLCSSStyleDeclaration *iface, VARIANT v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-09-06 16:15:11 +02:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
|
2019-03-25 15:14:50 +01:00
|
|
|
return set_style_property_var(This, STYLEID_OPACITY, &v);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_opacity(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-09-06 16:15:11 +02:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
2019-03-25 15:14:50 +01:00
|
|
|
return get_style_property_var(This, STYLEID_OPACITY, p);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_clipPath(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_clipPath(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_clipRule(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_clipRule(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_fill(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_fill(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_fillOpacity(IHTMLCSSStyleDeclaration *iface, VARIANT v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_fillOpacity(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_fillRule(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_fillRule(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_kerning(IHTMLCSSStyleDeclaration *iface, VARIANT v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_kerning(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_marker(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_marker(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_markerEnd(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_markerEnd(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_markerMid(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_markerMid(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_markerStart(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_markerStart(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_mask(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_mask(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_pointerEvents(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_pointerEvents(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_stopColor(IHTMLCSSStyleDeclaration *iface, VARIANT v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_stopColor(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_stopOpacity(IHTMLCSSStyleDeclaration *iface, VARIANT v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_stopOpacity(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_stroke(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_stroke(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_strokeDasharray(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_strokeDasharray(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_strokeDashoffset(IHTMLCSSStyleDeclaration *iface, VARIANT v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_strokeDashoffset(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_strokeLinecap(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_strokeLinecap(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_strokeLinejoin(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_strokeLinejoin(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_strokeMiterlimit(IHTMLCSSStyleDeclaration *iface, VARIANT v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_strokeMiterlimit(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_strokeOpacity(IHTMLCSSStyleDeclaration *iface, VARIANT v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_strokeOpacity(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_strokeWidth(IHTMLCSSStyleDeclaration *iface, VARIANT v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_strokeWidth(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_textAnchor(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_textAnchor(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_glyphOrientationHorizontal(IHTMLCSSStyleDeclaration *iface, VARIANT v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_glyphOrientationHorizontal(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_glyphOrientationVertical(IHTMLCSSStyleDeclaration *iface, VARIANT v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_glyphOrientationVertical(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_borderRadius(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_borderRadius(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_borderTopLeftRadius(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_borderTopLeftRadius(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_borderTopRightRadius(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_borderTopRightRadius(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_borderBottomRightRadius(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_borderBottomRightRadius(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_borderBottomLeftRadius(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_borderBottomLeftRadius(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_clipTop(IHTMLCSSStyleDeclaration *iface, VARIANT v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_clipTop(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_clipRight(IHTMLCSSStyleDeclaration *iface, VARIANT v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_clipRight(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_clipBottom(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_clipLeft(IHTMLCSSStyleDeclaration *iface, VARIANT v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_clipLeft(IHTMLCSSStyleDeclaration *iface, VARIANT *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_cssFloat(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-09-07 14:44:24 +02:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_w(v));
|
2019-03-25 15:14:50 +01:00
|
|
|
return set_style_property(This, STYLEID_FLOAT, v);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_cssFloat(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-09-07 14:44:24 +02:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
2019-03-25 15:14:50 +01:00
|
|
|
return get_style_property(This, STYLEID_FLOAT, p);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_backgroundClip(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-09-06 16:15:04 +02:00
|
|
|
TRACE("(%p)->(%s)\n", This, debugstr_w(v));
|
2019-03-25 15:14:50 +01:00
|
|
|
return set_style_property(This, STYLEID_BACKGROUND_CLIP, v);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_backgroundClip(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-09-06 16:15:04 +02:00
|
|
|
TRACE("(%p)->(%p)\n", This, p);
|
2019-03-25 15:14:50 +01:00
|
|
|
return get_style_property(This, STYLEID_BACKGROUND_CLIP, p);
|
2018-08-31 16:36:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_backgroundOrigin(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_backgroundOrigin(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_backgroundSize(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_backgroundSize(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_boxShadow(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_boxShadow(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_msTransform(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_msTransform(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_put_msTransformOrigin(IHTMLCSSStyleDeclaration *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration_get_msTransformOrigin(IHTMLCSSStyleDeclaration *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:14:50 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration(iface);
|
2018-08-31 16:36:24 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static const IHTMLCSSStyleDeclarationVtbl HTMLCSSStyleDeclarationVtbl = {
|
|
|
|
HTMLCSSStyleDeclaration_QueryInterface,
|
|
|
|
HTMLCSSStyleDeclaration_AddRef,
|
|
|
|
HTMLCSSStyleDeclaration_Release,
|
|
|
|
HTMLCSSStyleDeclaration_GetTypeInfoCount,
|
|
|
|
HTMLCSSStyleDeclaration_GetTypeInfo,
|
|
|
|
HTMLCSSStyleDeclaration_GetIDsOfNames,
|
|
|
|
HTMLCSSStyleDeclaration_Invoke,
|
|
|
|
HTMLCSSStyleDeclaration_get_length,
|
|
|
|
HTMLCSSStyleDeclaration_get_parentRule,
|
|
|
|
HTMLCSSStyleDeclaration_getPropertyValue,
|
|
|
|
HTMLCSSStyleDeclaration_getPropertyPriority,
|
|
|
|
HTMLCSSStyleDeclaration_removeProperty,
|
|
|
|
HTMLCSSStyleDeclaration_setProperty,
|
|
|
|
HTMLCSSStyleDeclaration_item,
|
|
|
|
HTMLCSSStyleDeclaration_put_fontFamily,
|
|
|
|
HTMLCSSStyleDeclaration_get_fontFamily,
|
|
|
|
HTMLCSSStyleDeclaration_put_fontStyle,
|
|
|
|
HTMLCSSStyleDeclaration_get_fontStyle,
|
|
|
|
HTMLCSSStyleDeclaration_put_fontVariant,
|
|
|
|
HTMLCSSStyleDeclaration_get_fontVariant,
|
|
|
|
HTMLCSSStyleDeclaration_put_fontWeight,
|
|
|
|
HTMLCSSStyleDeclaration_get_fontWeight,
|
|
|
|
HTMLCSSStyleDeclaration_put_fontSize,
|
|
|
|
HTMLCSSStyleDeclaration_get_fontSize,
|
|
|
|
HTMLCSSStyleDeclaration_put_font,
|
|
|
|
HTMLCSSStyleDeclaration_get_font,
|
|
|
|
HTMLCSSStyleDeclaration_put_color,
|
|
|
|
HTMLCSSStyleDeclaration_get_color,
|
|
|
|
HTMLCSSStyleDeclaration_put_background,
|
|
|
|
HTMLCSSStyleDeclaration_get_background,
|
|
|
|
HTMLCSSStyleDeclaration_put_backgroundColor,
|
|
|
|
HTMLCSSStyleDeclaration_get_backgroundColor,
|
|
|
|
HTMLCSSStyleDeclaration_put_backgroundImage,
|
|
|
|
HTMLCSSStyleDeclaration_get_backgroundImage,
|
|
|
|
HTMLCSSStyleDeclaration_put_backgroundRepeat,
|
|
|
|
HTMLCSSStyleDeclaration_get_backgroundRepeat,
|
|
|
|
HTMLCSSStyleDeclaration_put_backgroundAttachment,
|
|
|
|
HTMLCSSStyleDeclaration_get_backgroundAttachment,
|
|
|
|
HTMLCSSStyleDeclaration_put_backgroundPosition,
|
|
|
|
HTMLCSSStyleDeclaration_get_backgroundPosition,
|
|
|
|
HTMLCSSStyleDeclaration_put_backgroundPositionX,
|
|
|
|
HTMLCSSStyleDeclaration_get_backgroundPositionX,
|
|
|
|
HTMLCSSStyleDeclaration_put_backgroundPositionY,
|
|
|
|
HTMLCSSStyleDeclaration_get_backgroundPositionY,
|
|
|
|
HTMLCSSStyleDeclaration_put_wordSpacing,
|
|
|
|
HTMLCSSStyleDeclaration_get_wordSpacing,
|
|
|
|
HTMLCSSStyleDeclaration_put_letterSpacing,
|
|
|
|
HTMLCSSStyleDeclaration_get_letterSpacing,
|
|
|
|
HTMLCSSStyleDeclaration_put_textDecoration,
|
|
|
|
HTMLCSSStyleDeclaration_get_textDecoration,
|
|
|
|
HTMLCSSStyleDeclaration_put_verticalAlign,
|
|
|
|
HTMLCSSStyleDeclaration_get_verticalAlign,
|
|
|
|
HTMLCSSStyleDeclaration_put_textTransform,
|
|
|
|
HTMLCSSStyleDeclaration_get_textTransform,
|
|
|
|
HTMLCSSStyleDeclaration_put_textAlign,
|
|
|
|
HTMLCSSStyleDeclaration_get_textAlign,
|
|
|
|
HTMLCSSStyleDeclaration_put_textIndent,
|
|
|
|
HTMLCSSStyleDeclaration_get_textIndent,
|
|
|
|
HTMLCSSStyleDeclaration_put_lineHeight,
|
|
|
|
HTMLCSSStyleDeclaration_get_lineHeight,
|
|
|
|
HTMLCSSStyleDeclaration_put_marginTop,
|
|
|
|
HTMLCSSStyleDeclaration_get_marginTop,
|
|
|
|
HTMLCSSStyleDeclaration_put_marginRight,
|
|
|
|
HTMLCSSStyleDeclaration_get_marginRight,
|
|
|
|
HTMLCSSStyleDeclaration_put_marginBottom,
|
|
|
|
HTMLCSSStyleDeclaration_get_marginBottom,
|
|
|
|
HTMLCSSStyleDeclaration_put_marginLeft,
|
|
|
|
HTMLCSSStyleDeclaration_get_marginLeft,
|
|
|
|
HTMLCSSStyleDeclaration_put_margin,
|
|
|
|
HTMLCSSStyleDeclaration_get_margin,
|
|
|
|
HTMLCSSStyleDeclaration_put_paddingTop,
|
|
|
|
HTMLCSSStyleDeclaration_get_paddingTop,
|
|
|
|
HTMLCSSStyleDeclaration_put_paddingRight,
|
|
|
|
HTMLCSSStyleDeclaration_get_paddingRight,
|
|
|
|
HTMLCSSStyleDeclaration_put_paddingBottom,
|
|
|
|
HTMLCSSStyleDeclaration_get_paddingBottom,
|
|
|
|
HTMLCSSStyleDeclaration_put_paddingLeft,
|
|
|
|
HTMLCSSStyleDeclaration_get_paddingLeft,
|
|
|
|
HTMLCSSStyleDeclaration_put_padding,
|
|
|
|
HTMLCSSStyleDeclaration_get_padding,
|
|
|
|
HTMLCSSStyleDeclaration_put_border,
|
|
|
|
HTMLCSSStyleDeclaration_get_border,
|
|
|
|
HTMLCSSStyleDeclaration_put_borderTop,
|
|
|
|
HTMLCSSStyleDeclaration_get_borderTop,
|
|
|
|
HTMLCSSStyleDeclaration_put_borderRight,
|
|
|
|
HTMLCSSStyleDeclaration_get_borderRight,
|
|
|
|
HTMLCSSStyleDeclaration_put_borderBottom,
|
|
|
|
HTMLCSSStyleDeclaration_get_borderBottom,
|
|
|
|
HTMLCSSStyleDeclaration_put_borderLeft,
|
|
|
|
HTMLCSSStyleDeclaration_get_borderLeft,
|
|
|
|
HTMLCSSStyleDeclaration_put_borderColor,
|
|
|
|
HTMLCSSStyleDeclaration_get_borderColor,
|
|
|
|
HTMLCSSStyleDeclaration_put_borderTopColor,
|
|
|
|
HTMLCSSStyleDeclaration_get_borderTopColor,
|
|
|
|
HTMLCSSStyleDeclaration_put_borderRightColor,
|
|
|
|
HTMLCSSStyleDeclaration_get_borderRightColor,
|
|
|
|
HTMLCSSStyleDeclaration_put_borderBottomColor,
|
|
|
|
HTMLCSSStyleDeclaration_get_borderBottomColor,
|
|
|
|
HTMLCSSStyleDeclaration_put_borderLeftColor,
|
|
|
|
HTMLCSSStyleDeclaration_get_borderLeftColor,
|
|
|
|
HTMLCSSStyleDeclaration_put_borderWidth,
|
|
|
|
HTMLCSSStyleDeclaration_get_borderWidth,
|
|
|
|
HTMLCSSStyleDeclaration_put_borderTopWidth,
|
|
|
|
HTMLCSSStyleDeclaration_get_borderTopWidth,
|
|
|
|
HTMLCSSStyleDeclaration_put_borderRightWidth,
|
|
|
|
HTMLCSSStyleDeclaration_get_borderRightWidth,
|
|
|
|
HTMLCSSStyleDeclaration_put_borderBottomWidth,
|
|
|
|
HTMLCSSStyleDeclaration_get_borderBottomWidth,
|
|
|
|
HTMLCSSStyleDeclaration_put_borderLeftWidth,
|
|
|
|
HTMLCSSStyleDeclaration_get_borderLeftWidth,
|
|
|
|
HTMLCSSStyleDeclaration_put_borderStyle,
|
|
|
|
HTMLCSSStyleDeclaration_get_borderStyle,
|
|
|
|
HTMLCSSStyleDeclaration_put_borderTopStyle,
|
|
|
|
HTMLCSSStyleDeclaration_get_borderTopStyle,
|
|
|
|
HTMLCSSStyleDeclaration_put_borderRightStyle,
|
|
|
|
HTMLCSSStyleDeclaration_get_borderRightStyle,
|
|
|
|
HTMLCSSStyleDeclaration_put_borderBottomStyle,
|
|
|
|
HTMLCSSStyleDeclaration_get_borderBottomStyle,
|
|
|
|
HTMLCSSStyleDeclaration_put_borderLeftStyle,
|
|
|
|
HTMLCSSStyleDeclaration_get_borderLeftStyle,
|
|
|
|
HTMLCSSStyleDeclaration_put_width,
|
|
|
|
HTMLCSSStyleDeclaration_get_width,
|
|
|
|
HTMLCSSStyleDeclaration_put_height,
|
|
|
|
HTMLCSSStyleDeclaration_get_height,
|
|
|
|
HTMLCSSStyleDeclaration_put_styleFloat,
|
|
|
|
HTMLCSSStyleDeclaration_get_styleFloat,
|
|
|
|
HTMLCSSStyleDeclaration_put_clear,
|
|
|
|
HTMLCSSStyleDeclaration_get_clear,
|
|
|
|
HTMLCSSStyleDeclaration_put_display,
|
|
|
|
HTMLCSSStyleDeclaration_get_display,
|
|
|
|
HTMLCSSStyleDeclaration_put_visibility,
|
|
|
|
HTMLCSSStyleDeclaration_get_visibility,
|
|
|
|
HTMLCSSStyleDeclaration_put_listStyleType,
|
|
|
|
HTMLCSSStyleDeclaration_get_listStyleType,
|
|
|
|
HTMLCSSStyleDeclaration_put_listStylePosition,
|
|
|
|
HTMLCSSStyleDeclaration_get_listStylePosition,
|
|
|
|
HTMLCSSStyleDeclaration_put_listStyleImage,
|
|
|
|
HTMLCSSStyleDeclaration_get_listStyleImage,
|
|
|
|
HTMLCSSStyleDeclaration_put_listStyle,
|
|
|
|
HTMLCSSStyleDeclaration_get_listStyle,
|
|
|
|
HTMLCSSStyleDeclaration_put_whiteSpace,
|
|
|
|
HTMLCSSStyleDeclaration_get_whiteSpace,
|
|
|
|
HTMLCSSStyleDeclaration_put_top,
|
|
|
|
HTMLCSSStyleDeclaration_get_top,
|
|
|
|
HTMLCSSStyleDeclaration_put_left,
|
|
|
|
HTMLCSSStyleDeclaration_get_left,
|
|
|
|
HTMLCSSStyleDeclaration_put_zIndex,
|
|
|
|
HTMLCSSStyleDeclaration_get_zIndex,
|
|
|
|
HTMLCSSStyleDeclaration_put_overflow,
|
|
|
|
HTMLCSSStyleDeclaration_get_overflow,
|
|
|
|
HTMLCSSStyleDeclaration_put_pageBreakBefore,
|
|
|
|
HTMLCSSStyleDeclaration_get_pageBreakBefore,
|
|
|
|
HTMLCSSStyleDeclaration_put_pageBreakAfter,
|
|
|
|
HTMLCSSStyleDeclaration_get_pageBreakAfter,
|
|
|
|
HTMLCSSStyleDeclaration_put_cssText,
|
|
|
|
HTMLCSSStyleDeclaration_get_cssText,
|
|
|
|
HTMLCSSStyleDeclaration_put_cursor,
|
|
|
|
HTMLCSSStyleDeclaration_get_cursor,
|
|
|
|
HTMLCSSStyleDeclaration_put_clip,
|
|
|
|
HTMLCSSStyleDeclaration_get_clip,
|
|
|
|
HTMLCSSStyleDeclaration_put_filter,
|
|
|
|
HTMLCSSStyleDeclaration_get_filter,
|
|
|
|
HTMLCSSStyleDeclaration_put_tableLayout,
|
|
|
|
HTMLCSSStyleDeclaration_get_tableLayout,
|
|
|
|
HTMLCSSStyleDeclaration_put_borderCollapse,
|
|
|
|
HTMLCSSStyleDeclaration_get_borderCollapse,
|
|
|
|
HTMLCSSStyleDeclaration_put_direction,
|
|
|
|
HTMLCSSStyleDeclaration_get_direction,
|
|
|
|
HTMLCSSStyleDeclaration_put_behavior,
|
|
|
|
HTMLCSSStyleDeclaration_get_behavior,
|
|
|
|
HTMLCSSStyleDeclaration_put_position,
|
|
|
|
HTMLCSSStyleDeclaration_get_position,
|
|
|
|
HTMLCSSStyleDeclaration_put_unicodeBidi,
|
|
|
|
HTMLCSSStyleDeclaration_get_unicodeBidi,
|
|
|
|
HTMLCSSStyleDeclaration_put_bottom,
|
|
|
|
HTMLCSSStyleDeclaration_get_bottom,
|
|
|
|
HTMLCSSStyleDeclaration_put_right,
|
|
|
|
HTMLCSSStyleDeclaration_get_right,
|
|
|
|
HTMLCSSStyleDeclaration_put_imeMode,
|
|
|
|
HTMLCSSStyleDeclaration_get_imeMode,
|
|
|
|
HTMLCSSStyleDeclaration_put_rubyAlign,
|
|
|
|
HTMLCSSStyleDeclaration_get_rubyAlign,
|
|
|
|
HTMLCSSStyleDeclaration_put_rubyPosition,
|
|
|
|
HTMLCSSStyleDeclaration_get_rubyPosition,
|
|
|
|
HTMLCSSStyleDeclaration_put_rubyOverhang,
|
|
|
|
HTMLCSSStyleDeclaration_get_rubyOverhang,
|
|
|
|
HTMLCSSStyleDeclaration_put_layoutGridChar,
|
|
|
|
HTMLCSSStyleDeclaration_get_layoutGridChar,
|
|
|
|
HTMLCSSStyleDeclaration_put_layoutGridLine,
|
|
|
|
HTMLCSSStyleDeclaration_get_layoutGridLine,
|
|
|
|
HTMLCSSStyleDeclaration_put_layoutGridMode,
|
|
|
|
HTMLCSSStyleDeclaration_get_layoutGridMode,
|
|
|
|
HTMLCSSStyleDeclaration_put_layoutGridType,
|
|
|
|
HTMLCSSStyleDeclaration_get_layoutGridType,
|
|
|
|
HTMLCSSStyleDeclaration_put_layoutGrid,
|
|
|
|
HTMLCSSStyleDeclaration_get_layoutGrid,
|
|
|
|
HTMLCSSStyleDeclaration_put_textAutospace,
|
|
|
|
HTMLCSSStyleDeclaration_get_textAutospace,
|
|
|
|
HTMLCSSStyleDeclaration_put_wordBreak,
|
|
|
|
HTMLCSSStyleDeclaration_get_wordBreak,
|
|
|
|
HTMLCSSStyleDeclaration_put_lineBreak,
|
|
|
|
HTMLCSSStyleDeclaration_get_lineBreak,
|
|
|
|
HTMLCSSStyleDeclaration_put_textJustify,
|
|
|
|
HTMLCSSStyleDeclaration_get_textJustify,
|
|
|
|
HTMLCSSStyleDeclaration_put_textJustifyTrim,
|
|
|
|
HTMLCSSStyleDeclaration_get_textJustifyTrim,
|
|
|
|
HTMLCSSStyleDeclaration_put_textKashida,
|
|
|
|
HTMLCSSStyleDeclaration_get_textKashida,
|
|
|
|
HTMLCSSStyleDeclaration_put_overflowX,
|
|
|
|
HTMLCSSStyleDeclaration_get_overflowX,
|
|
|
|
HTMLCSSStyleDeclaration_put_overflowY,
|
|
|
|
HTMLCSSStyleDeclaration_get_overflowY,
|
|
|
|
HTMLCSSStyleDeclaration_put_accelerator,
|
|
|
|
HTMLCSSStyleDeclaration_get_accelerator,
|
|
|
|
HTMLCSSStyleDeclaration_put_layoutFlow,
|
|
|
|
HTMLCSSStyleDeclaration_get_layoutFlow,
|
|
|
|
HTMLCSSStyleDeclaration_put_zoom,
|
|
|
|
HTMLCSSStyleDeclaration_get_zoom,
|
|
|
|
HTMLCSSStyleDeclaration_put_wordWrap,
|
|
|
|
HTMLCSSStyleDeclaration_get_wordWrap,
|
|
|
|
HTMLCSSStyleDeclaration_put_textUnderlinePosition,
|
|
|
|
HTMLCSSStyleDeclaration_get_textUnderlinePosition,
|
|
|
|
HTMLCSSStyleDeclaration_put_scrollbarBaseColor,
|
|
|
|
HTMLCSSStyleDeclaration_get_scrollbarBaseColor,
|
|
|
|
HTMLCSSStyleDeclaration_put_scrollbarFaceColor,
|
|
|
|
HTMLCSSStyleDeclaration_get_scrollbarFaceColor,
|
|
|
|
HTMLCSSStyleDeclaration_put_scrollbar3dLightColor,
|
|
|
|
HTMLCSSStyleDeclaration_get_scrollbar3dLightColor,
|
|
|
|
HTMLCSSStyleDeclaration_put_scrollbarShadowColor,
|
|
|
|
HTMLCSSStyleDeclaration_get_scrollbarShadowColor,
|
|
|
|
HTMLCSSStyleDeclaration_put_scrollbarHighlightColor,
|
|
|
|
HTMLCSSStyleDeclaration_get_scrollbarHighlightColor,
|
|
|
|
HTMLCSSStyleDeclaration_put_scrollbarDarkShadowColor,
|
|
|
|
HTMLCSSStyleDeclaration_get_scrollbarDarkShadowColor,
|
|
|
|
HTMLCSSStyleDeclaration_put_scrollbarArrowColor,
|
|
|
|
HTMLCSSStyleDeclaration_get_scrollbarArrowColor,
|
|
|
|
HTMLCSSStyleDeclaration_put_scrollbarTrackColor,
|
|
|
|
HTMLCSSStyleDeclaration_get_scrollbarTrackColor,
|
|
|
|
HTMLCSSStyleDeclaration_put_writingMode,
|
|
|
|
HTMLCSSStyleDeclaration_get_writingMode,
|
|
|
|
HTMLCSSStyleDeclaration_put_textAlignLast,
|
|
|
|
HTMLCSSStyleDeclaration_get_textAlignLast,
|
|
|
|
HTMLCSSStyleDeclaration_put_textKashidaSpace,
|
|
|
|
HTMLCSSStyleDeclaration_get_textKashidaSpace,
|
|
|
|
HTMLCSSStyleDeclaration_put_textOverflow,
|
|
|
|
HTMLCSSStyleDeclaration_get_textOverflow,
|
|
|
|
HTMLCSSStyleDeclaration_put_minHeight,
|
|
|
|
HTMLCSSStyleDeclaration_get_minHeight,
|
|
|
|
HTMLCSSStyleDeclaration_put_msInterpolationMode,
|
|
|
|
HTMLCSSStyleDeclaration_get_msInterpolationMode,
|
|
|
|
HTMLCSSStyleDeclaration_put_maxHeight,
|
|
|
|
HTMLCSSStyleDeclaration_get_maxHeight,
|
|
|
|
HTMLCSSStyleDeclaration_put_minWidth,
|
|
|
|
HTMLCSSStyleDeclaration_get_minWidth,
|
|
|
|
HTMLCSSStyleDeclaration_put_maxWidth,
|
|
|
|
HTMLCSSStyleDeclaration_get_maxWidth,
|
|
|
|
HTMLCSSStyleDeclaration_put_content,
|
|
|
|
HTMLCSSStyleDeclaration_get_content,
|
|
|
|
HTMLCSSStyleDeclaration_put_captionSide,
|
|
|
|
HTMLCSSStyleDeclaration_get_captionSide,
|
|
|
|
HTMLCSSStyleDeclaration_put_counterIncrement,
|
|
|
|
HTMLCSSStyleDeclaration_get_counterIncrement,
|
|
|
|
HTMLCSSStyleDeclaration_put_counterReset,
|
|
|
|
HTMLCSSStyleDeclaration_get_counterReset,
|
|
|
|
HTMLCSSStyleDeclaration_put_outline,
|
|
|
|
HTMLCSSStyleDeclaration_get_outline,
|
|
|
|
HTMLCSSStyleDeclaration_put_outlineWidth,
|
|
|
|
HTMLCSSStyleDeclaration_get_outlineWidth,
|
|
|
|
HTMLCSSStyleDeclaration_put_outlineStyle,
|
|
|
|
HTMLCSSStyleDeclaration_get_outlineStyle,
|
|
|
|
HTMLCSSStyleDeclaration_put_outlineColor,
|
|
|
|
HTMLCSSStyleDeclaration_get_outlineColor,
|
|
|
|
HTMLCSSStyleDeclaration_put_boxSizing,
|
|
|
|
HTMLCSSStyleDeclaration_get_boxSizing,
|
|
|
|
HTMLCSSStyleDeclaration_put_borderSpacing,
|
|
|
|
HTMLCSSStyleDeclaration_get_borderSpacing,
|
|
|
|
HTMLCSSStyleDeclaration_put_orphans,
|
|
|
|
HTMLCSSStyleDeclaration_get_orphans,
|
|
|
|
HTMLCSSStyleDeclaration_put_widows,
|
|
|
|
HTMLCSSStyleDeclaration_get_widows,
|
|
|
|
HTMLCSSStyleDeclaration_put_pageBreakInside,
|
|
|
|
HTMLCSSStyleDeclaration_get_pageBreakInside,
|
|
|
|
HTMLCSSStyleDeclaration_put_emptyCells,
|
|
|
|
HTMLCSSStyleDeclaration_get_emptyCells,
|
|
|
|
HTMLCSSStyleDeclaration_put_msBlockProgression,
|
|
|
|
HTMLCSSStyleDeclaration_get_msBlockProgression,
|
|
|
|
HTMLCSSStyleDeclaration_put_quotes,
|
|
|
|
HTMLCSSStyleDeclaration_get_quotes,
|
|
|
|
HTMLCSSStyleDeclaration_put_alignmentBaseline,
|
|
|
|
HTMLCSSStyleDeclaration_get_alignmentBaseline,
|
|
|
|
HTMLCSSStyleDeclaration_put_baselineShift,
|
|
|
|
HTMLCSSStyleDeclaration_get_baselineShift,
|
|
|
|
HTMLCSSStyleDeclaration_put_dominantBaseline,
|
|
|
|
HTMLCSSStyleDeclaration_get_dominantBaseline,
|
|
|
|
HTMLCSSStyleDeclaration_put_fontSizeAdjust,
|
|
|
|
HTMLCSSStyleDeclaration_get_fontSizeAdjust,
|
|
|
|
HTMLCSSStyleDeclaration_put_fontStretch,
|
|
|
|
HTMLCSSStyleDeclaration_get_fontStretch,
|
|
|
|
HTMLCSSStyleDeclaration_put_opacity,
|
|
|
|
HTMLCSSStyleDeclaration_get_opacity,
|
|
|
|
HTMLCSSStyleDeclaration_put_clipPath,
|
|
|
|
HTMLCSSStyleDeclaration_get_clipPath,
|
|
|
|
HTMLCSSStyleDeclaration_put_clipRule,
|
|
|
|
HTMLCSSStyleDeclaration_get_clipRule,
|
|
|
|
HTMLCSSStyleDeclaration_put_fill,
|
|
|
|
HTMLCSSStyleDeclaration_get_fill,
|
|
|
|
HTMLCSSStyleDeclaration_put_fillOpacity,
|
|
|
|
HTMLCSSStyleDeclaration_get_fillOpacity,
|
|
|
|
HTMLCSSStyleDeclaration_put_fillRule,
|
|
|
|
HTMLCSSStyleDeclaration_get_fillRule,
|
|
|
|
HTMLCSSStyleDeclaration_put_kerning,
|
|
|
|
HTMLCSSStyleDeclaration_get_kerning,
|
|
|
|
HTMLCSSStyleDeclaration_put_marker,
|
|
|
|
HTMLCSSStyleDeclaration_get_marker,
|
|
|
|
HTMLCSSStyleDeclaration_put_markerEnd,
|
|
|
|
HTMLCSSStyleDeclaration_get_markerEnd,
|
|
|
|
HTMLCSSStyleDeclaration_put_markerMid,
|
|
|
|
HTMLCSSStyleDeclaration_get_markerMid,
|
|
|
|
HTMLCSSStyleDeclaration_put_markerStart,
|
|
|
|
HTMLCSSStyleDeclaration_get_markerStart,
|
|
|
|
HTMLCSSStyleDeclaration_put_mask,
|
|
|
|
HTMLCSSStyleDeclaration_get_mask,
|
|
|
|
HTMLCSSStyleDeclaration_put_pointerEvents,
|
|
|
|
HTMLCSSStyleDeclaration_get_pointerEvents,
|
|
|
|
HTMLCSSStyleDeclaration_put_stopColor,
|
|
|
|
HTMLCSSStyleDeclaration_get_stopColor,
|
|
|
|
HTMLCSSStyleDeclaration_put_stopOpacity,
|
|
|
|
HTMLCSSStyleDeclaration_get_stopOpacity,
|
|
|
|
HTMLCSSStyleDeclaration_put_stroke,
|
|
|
|
HTMLCSSStyleDeclaration_get_stroke,
|
|
|
|
HTMLCSSStyleDeclaration_put_strokeDasharray,
|
|
|
|
HTMLCSSStyleDeclaration_get_strokeDasharray,
|
|
|
|
HTMLCSSStyleDeclaration_put_strokeDashoffset,
|
|
|
|
HTMLCSSStyleDeclaration_get_strokeDashoffset,
|
|
|
|
HTMLCSSStyleDeclaration_put_strokeLinecap,
|
|
|
|
HTMLCSSStyleDeclaration_get_strokeLinecap,
|
|
|
|
HTMLCSSStyleDeclaration_put_strokeLinejoin,
|
|
|
|
HTMLCSSStyleDeclaration_get_strokeLinejoin,
|
|
|
|
HTMLCSSStyleDeclaration_put_strokeMiterlimit,
|
|
|
|
HTMLCSSStyleDeclaration_get_strokeMiterlimit,
|
|
|
|
HTMLCSSStyleDeclaration_put_strokeOpacity,
|
|
|
|
HTMLCSSStyleDeclaration_get_strokeOpacity,
|
|
|
|
HTMLCSSStyleDeclaration_put_strokeWidth,
|
|
|
|
HTMLCSSStyleDeclaration_get_strokeWidth,
|
|
|
|
HTMLCSSStyleDeclaration_put_textAnchor,
|
|
|
|
HTMLCSSStyleDeclaration_get_textAnchor,
|
|
|
|
HTMLCSSStyleDeclaration_put_glyphOrientationHorizontal,
|
|
|
|
HTMLCSSStyleDeclaration_get_glyphOrientationHorizontal,
|
|
|
|
HTMLCSSStyleDeclaration_put_glyphOrientationVertical,
|
|
|
|
HTMLCSSStyleDeclaration_get_glyphOrientationVertical,
|
|
|
|
HTMLCSSStyleDeclaration_put_borderRadius,
|
|
|
|
HTMLCSSStyleDeclaration_get_borderRadius,
|
|
|
|
HTMLCSSStyleDeclaration_put_borderTopLeftRadius,
|
|
|
|
HTMLCSSStyleDeclaration_get_borderTopLeftRadius,
|
|
|
|
HTMLCSSStyleDeclaration_put_borderTopRightRadius,
|
|
|
|
HTMLCSSStyleDeclaration_get_borderTopRightRadius,
|
|
|
|
HTMLCSSStyleDeclaration_put_borderBottomRightRadius,
|
|
|
|
HTMLCSSStyleDeclaration_get_borderBottomRightRadius,
|
|
|
|
HTMLCSSStyleDeclaration_put_borderBottomLeftRadius,
|
|
|
|
HTMLCSSStyleDeclaration_get_borderBottomLeftRadius,
|
|
|
|
HTMLCSSStyleDeclaration_put_clipTop,
|
|
|
|
HTMLCSSStyleDeclaration_get_clipTop,
|
|
|
|
HTMLCSSStyleDeclaration_put_clipRight,
|
|
|
|
HTMLCSSStyleDeclaration_get_clipRight,
|
|
|
|
HTMLCSSStyleDeclaration_get_clipBottom,
|
|
|
|
HTMLCSSStyleDeclaration_put_clipLeft,
|
|
|
|
HTMLCSSStyleDeclaration_get_clipLeft,
|
|
|
|
HTMLCSSStyleDeclaration_put_cssFloat,
|
|
|
|
HTMLCSSStyleDeclaration_get_cssFloat,
|
|
|
|
HTMLCSSStyleDeclaration_put_backgroundClip,
|
|
|
|
HTMLCSSStyleDeclaration_get_backgroundClip,
|
|
|
|
HTMLCSSStyleDeclaration_put_backgroundOrigin,
|
|
|
|
HTMLCSSStyleDeclaration_get_backgroundOrigin,
|
|
|
|
HTMLCSSStyleDeclaration_put_backgroundSize,
|
|
|
|
HTMLCSSStyleDeclaration_get_backgroundSize,
|
|
|
|
HTMLCSSStyleDeclaration_put_boxShadow,
|
|
|
|
HTMLCSSStyleDeclaration_get_boxShadow,
|
|
|
|
HTMLCSSStyleDeclaration_put_msTransform,
|
|
|
|
HTMLCSSStyleDeclaration_get_msTransform,
|
|
|
|
HTMLCSSStyleDeclaration_put_msTransformOrigin,
|
|
|
|
HTMLCSSStyleDeclaration_get_msTransformOrigin
|
|
|
|
};
|
|
|
|
|
2019-03-25 15:15:10 +01:00
|
|
|
static inline CSSStyle *impl_from_IHTMLCSSStyleDeclaration2(IHTMLCSSStyleDeclaration2 *iface)
|
2018-09-06 16:15:35 +02:00
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
return CONTAINING_RECORD(iface, CSSStyle, IHTMLCSSStyleDeclaration2_iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_QueryInterface(IHTMLCSSStyleDeclaration2 *iface,
|
|
|
|
REFIID riid, void **ppv)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
|
|
|
return IHTMLCSSStyleDeclaration_QueryInterface(&This->IHTMLCSSStyleDeclaration_iface, riid, ppv);
|
2018-09-06 16:15:35 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static ULONG WINAPI HTMLCSSStyleDeclaration2_AddRef(IHTMLCSSStyleDeclaration2 *iface)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
|
|
|
return IHTMLCSSStyleDeclaration_AddRef(&This->IHTMLCSSStyleDeclaration_iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static ULONG WINAPI HTMLCSSStyleDeclaration2_Release(IHTMLCSSStyleDeclaration2 *iface)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
|
|
|
return IHTMLCSSStyleDeclaration_Release(&This->IHTMLCSSStyleDeclaration_iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_GetTypeInfoCount(IHTMLCSSStyleDeclaration2 *iface,
|
|
|
|
UINT *pctinfo)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
TRACE("(%p)->(%p)\n", This, pctinfo);
|
2019-03-25 15:15:10 +01:00
|
|
|
return IDispatchEx_GetTypeInfoCount(&This->dispex.IDispatchEx_iface, pctinfo);
|
2018-09-06 16:15:35 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_GetTypeInfo(IHTMLCSSStyleDeclaration2 *iface,
|
|
|
|
UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
TRACE("(%p)->(%u %u %p)\n", This, iTInfo, lcid, ppTInfo);
|
2019-03-25 15:15:10 +01:00
|
|
|
return IDispatchEx_GetTypeInfo(&This->dispex.IDispatchEx_iface, iTInfo, lcid, ppTInfo);
|
2018-09-06 16:15:35 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_GetIDsOfNames(IHTMLCSSStyleDeclaration2 *iface,
|
|
|
|
REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
TRACE("(%p)->(%p %p %u %u %p)\n", This, riid, rgszNames, cNames, lcid, rgDispId);
|
2019-03-25 15:15:10 +01:00
|
|
|
return IDispatchEx_GetIDsOfNames(&This->dispex.IDispatchEx_iface, riid, rgszNames,
|
2018-09-06 16:15:35 +02:00
|
|
|
cNames, lcid, rgDispId);
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_Invoke(IHTMLCSSStyleDeclaration2 *iface,
|
|
|
|
DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams,
|
|
|
|
VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
TRACE("(%p)->(%d %p %u %u %p %p %p %p)\n", This, dispIdMember, riid, lcid, wFlags,
|
|
|
|
pDispParams, pVarResult, pExcepInfo, puArgErr);
|
2019-03-25 15:15:10 +01:00
|
|
|
return IDispatchEx_Invoke(&This->dispex.IDispatchEx_iface, dispIdMember, riid, lcid,
|
2018-09-06 16:15:35 +02:00
|
|
|
wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr);
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msScrollChaining(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msScrollChaining(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msContentZooming(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msContentZooming(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msContentZoomSnapType(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msContentZoomSnapType(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msScrollRails(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msScrollRails(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msContentZoomChaining(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msContentZoomChaining(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msScrollSnapType(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msScrollSnapType(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msContentZoomLimit(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msContentZoomLimit(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msContentZoomSnap(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msContentZoomSnap(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msContentZoomSnapPoints(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msContentZoomSnapPoints(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msContentZoomLimitMin(IHTMLCSSStyleDeclaration2 *iface, VARIANT v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msContentZoomLimitMin(IHTMLCSSStyleDeclaration2 *iface, VARIANT *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msContentZoomLimitMax(IHTMLCSSStyleDeclaration2 *iface, VARIANT v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msContentZoomLimitMax(IHTMLCSSStyleDeclaration2 *iface, VARIANT *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msScrollSnapX(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msScrollSnapX(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msScrollSnapY(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msScrollSnapY(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msScrollSnapPointsX(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msScrollSnapPointsX(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msScrollSnapPointsY(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msScrollSnapPointsY(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msGridColumn(IHTMLCSSStyleDeclaration2 *iface, VARIANT v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msGridColumn(IHTMLCSSStyleDeclaration2 *iface, VARIANT *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msGridColumnAlign(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msGridColumnAlign(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msGridColumns(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msGridColumns(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msGridColumnSpan(IHTMLCSSStyleDeclaration2 *iface, VARIANT v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msGridColumnSpan(IHTMLCSSStyleDeclaration2 *iface, VARIANT *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msGridRow(IHTMLCSSStyleDeclaration2 *iface, VARIANT v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msGridRow(IHTMLCSSStyleDeclaration2 *iface, VARIANT *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msGridRowAlign(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msGridRowAlign(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msGridRows(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msGridRows(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msGridRowSpan(IHTMLCSSStyleDeclaration2 *iface, VARIANT v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msGridRowSpan(IHTMLCSSStyleDeclaration2 *iface, VARIANT *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msWrapThrough(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msWrapThrough(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msWrapMargin(IHTMLCSSStyleDeclaration2 *iface, VARIANT v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msWrapMargin(IHTMLCSSStyleDeclaration2 *iface, VARIANT *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msWrapFlow(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msWrapFlow(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msAnimationName(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msAnimationName(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msAnimationDuration(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msAnimationDuration(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msAnimationTimingFunction(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msAnimationTimingFunction(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msAnimationDelay(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msAnimationDelay(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msAnimationDirection(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msAnimationDirection(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msAnimationPlayState(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msAnimationPlayState(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msAnimationIterationCount(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msAnimationIterationCount(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msAnimation(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msAnimation(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msAnimationFillMode(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msAnimationFillMode(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_colorInterpolationFilters(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_colorInterpolationFilters(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_columnCount(IHTMLCSSStyleDeclaration2 *iface, VARIANT v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_columnCount(IHTMLCSSStyleDeclaration2 *iface, VARIANT *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_columnWidth(IHTMLCSSStyleDeclaration2 *iface, VARIANT v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_columnWidth(IHTMLCSSStyleDeclaration2 *iface, VARIANT *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_columnGap(IHTMLCSSStyleDeclaration2 *iface, VARIANT v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_columnGap(IHTMLCSSStyleDeclaration2 *iface, VARIANT *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_columnFill(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_columnFill(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_columnSpan(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_columnSpan(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_columns(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_columns(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_columnRule(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_columnRule(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_columnRuleColor(IHTMLCSSStyleDeclaration2 *iface, VARIANT v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_columnRuleColor(IHTMLCSSStyleDeclaration2 *iface, VARIANT *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_columnRuleStyle(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_columnRuleStyle(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_columnRuleWidth(IHTMLCSSStyleDeclaration2 *iface, VARIANT v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_columnRuleWidth(IHTMLCSSStyleDeclaration2 *iface, VARIANT *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_breakBefore(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_breakBefore(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_breakAfter(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_breakAfter(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_breakInside(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_breakInside(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_floodColor(IHTMLCSSStyleDeclaration2 *iface, VARIANT v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_floodColor(IHTMLCSSStyleDeclaration2 *iface, VARIANT *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_floodOpacity(IHTMLCSSStyleDeclaration2 *iface, VARIANT v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_floodOpacity(IHTMLCSSStyleDeclaration2 *iface, VARIANT *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_lightingColor(IHTMLCSSStyleDeclaration2 *iface, VARIANT v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_lightingColor(IHTMLCSSStyleDeclaration2 *iface, VARIANT *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msScrollLimitXMin(IHTMLCSSStyleDeclaration2 *iface, VARIANT v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msScrollLimitXMin(IHTMLCSSStyleDeclaration2 *iface, VARIANT *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msScrollLimitYMin(IHTMLCSSStyleDeclaration2 *iface, VARIANT v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msScrollLimitYMin(IHTMLCSSStyleDeclaration2 *iface, VARIANT *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msScrollLimitXMax(IHTMLCSSStyleDeclaration2 *iface, VARIANT v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msScrollLimitXMax(IHTMLCSSStyleDeclaration2 *iface, VARIANT *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msScrollLimitYMax(IHTMLCSSStyleDeclaration2 *iface, VARIANT v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msScrollLimitYMax(IHTMLCSSStyleDeclaration2 *iface, VARIANT *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msScrollLimit(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msScrollLimit(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_textShadow(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_textShadow(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msFlowFrom(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msFlowFrom(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msFlowInto(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msFlowInto(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msHyphens(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msHyphens(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msHyphenateLimitZone(IHTMLCSSStyleDeclaration2 *iface, VARIANT v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msHyphenateLimitZone(IHTMLCSSStyleDeclaration2 *iface, VARIANT *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msHyphenateLimitChars(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msHyphenateLimitChars(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msHyphenateLimitLines(IHTMLCSSStyleDeclaration2 *iface, VARIANT v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msHyphenateLimitLines(IHTMLCSSStyleDeclaration2 *iface, VARIANT *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msHighContrastAdjust(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msHighContrastAdjust(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_enableBackground(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_enableBackground(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msFontFeatureSettings(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msFontFeatureSettings(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msUserSelect(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msUserSelect(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msOverflowStyle(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msOverflowStyle(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msTransformStyle(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msTransformStyle(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msBackfaceVisibility(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msBackfaceVisibility(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msPerspective(IHTMLCSSStyleDeclaration2 *iface, VARIANT v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msPerspective(IHTMLCSSStyleDeclaration2 *iface, VARIANT *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msPerspectiveOrigin(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msPerspectiveOrigin(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msTransitionProperty(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msTransitionProperty(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msTransitionDuration(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msTransitionDuration(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msTransitionTimingFunction(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msTransitionTimingFunction(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msTransitionDelay(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msTransitionDelay(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msTransition(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msTransition(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msTouchAction(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msTouchAction(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msScrollTranslation(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msScrollTranslation(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msFlex(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msFlex(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msFlexPositive(IHTMLCSSStyleDeclaration2 *iface, VARIANT v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msFlexPositive(IHTMLCSSStyleDeclaration2 *iface, VARIANT *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msFlexNegative(IHTMLCSSStyleDeclaration2 *iface, VARIANT v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msFlexNegative(IHTMLCSSStyleDeclaration2 *iface, VARIANT *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msFlexPreferredSize(IHTMLCSSStyleDeclaration2 *iface, VARIANT v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msFlexPreferredSize(IHTMLCSSStyleDeclaration2 *iface, VARIANT *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msFlexFlow(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msFlexFlow(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msFlexDirection(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msFlexDirection(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msFlexWrap(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msFlexWrap(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msFlexAlign(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msFlexAlign(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msFlexItemAlign(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msFlexItemAlign(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msFlexPack(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msFlexPack(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msFlexLinePack(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msFlexLinePack(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msFlexOrder(IHTMLCSSStyleDeclaration2 *iface, VARIANT v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msFlexOrder(IHTMLCSSStyleDeclaration2 *iface, VARIANT *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_msTouchSelect(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_msTouchSelect(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_transform(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_transform(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_transformOrigin(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_transformOrigin(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_transformStyle(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_transformStyle(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_backfaceVisibility(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_backfaceVisibility(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_perspective(IHTMLCSSStyleDeclaration2 *iface, VARIANT v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_perspective(IHTMLCSSStyleDeclaration2 *iface, VARIANT *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_perspectiveOrigin(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_perspectiveOrigin(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_transitionProperty(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_transitionProperty(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_transitionDuration(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_transitionDuration(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_transitionTimingFunction(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_transitionTimingFunction(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_transitionDelay(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_transitionDelay(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_transition(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_transition(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_fontFeatureSettings(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_fontFeatureSettings(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_animationName(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_animationName(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_animationDuration(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_animationDuration(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_animationTimingFunction(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_animationTimingFunction(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_animationDelay(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_animationDelay(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_animationDirection(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_animationDirection(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_animationPlayState(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_animationPlayState(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_animationIterationCount(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_animationIterationCount(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_animation(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_animation(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_put_animationFillMode(IHTMLCSSStyleDeclaration2 *iface, BSTR v)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static HRESULT WINAPI HTMLCSSStyleDeclaration2_get_animationFillMode(IHTMLCSSStyleDeclaration2 *iface, BSTR *p)
|
|
|
|
{
|
2019-03-25 15:15:10 +01:00
|
|
|
CSSStyle *This = impl_from_IHTMLCSSStyleDeclaration2(iface);
|
2018-09-06 16:15:35 +02:00
|
|
|
FIXME("(%p)->(%p)\n", This, p);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
static const IHTMLCSSStyleDeclaration2Vtbl HTMLCSSStyleDeclaration2Vtbl = {
|
|
|
|
HTMLCSSStyleDeclaration2_QueryInterface,
|
|
|
|
HTMLCSSStyleDeclaration2_AddRef,
|
|
|
|
HTMLCSSStyleDeclaration2_Release,
|
|
|
|
HTMLCSSStyleDeclaration2_GetTypeInfoCount,
|
|
|
|
HTMLCSSStyleDeclaration2_GetTypeInfo,
|
|
|
|
HTMLCSSStyleDeclaration2_GetIDsOfNames,
|
|
|
|
HTMLCSSStyleDeclaration2_Invoke,
|
|
|
|
HTMLCSSStyleDeclaration2_put_msScrollChaining,
|
|
|
|
HTMLCSSStyleDeclaration2_get_msScrollChaining,
|
|
|
|
HTMLCSSStyleDeclaration2_put_msContentZooming,
|
|
|
|
HTMLCSSStyleDeclaration2_get_msContentZooming,
|
|
|
|
HTMLCSSStyleDeclaration2_put_msContentZoomSnapType,
|
|
|
|
HTMLCSSStyleDeclaration2_get_msContentZoomSnapType,
|
|
|
|
HTMLCSSStyleDeclaration2_put_msScrollRails,
|
|
|
|
HTMLCSSStyleDeclaration2_get_msScrollRails,
|
|
|
|
HTMLCSSStyleDeclaration2_put_msContentZoomChaining,
|
|
|
|
HTMLCSSStyleDeclaration2_get_msContentZoomChaining,
|
|
|
|
HTMLCSSStyleDeclaration2_put_msScrollSnapType,
|
|
|
|
HTMLCSSStyleDeclaration2_get_msScrollSnapType,
|
|
|
|
HTMLCSSStyleDeclaration2_put_msContentZoomLimit,
|
|
|
|
HTMLCSSStyleDeclaration2_get_msContentZoomLimit,
|
|
|
|
HTMLCSSStyleDeclaration2_put_msContentZoomSnap,
|
|
|
|
HTMLCSSStyleDeclaration2_get_msContentZoomSnap,
|
|
|
|
HTMLCSSStyleDeclaration2_put_msContentZoomSnapPoints,
|
|
|
|
HTMLCSSStyleDeclaration2_get_msContentZoomSnapPoints,
|
|
|
|
HTMLCSSStyleDeclaration2_put_msContentZoomLimitMin,
|
|
|
|
HTMLCSSStyleDeclaration2_get_msContentZoomLimitMin,
|
|
|
|
HTMLCSSStyleDeclaration2_put_msContentZoomLimitMax,
|
|
|
|
HTMLCSSStyleDeclaration2_get_msContentZoomLimitMax,
|
|
|
|
HTMLCSSStyleDeclaration2_put_msScrollSnapX,
|
|
|
|
HTMLCSSStyleDeclaration2_get_msScrollSnapX,
|
|
|
|
HTMLCSSStyleDeclaration2_put_msScrollSnapY,
|
|
|
|
HTMLCSSStyleDeclaration2_get_msScrollSnapY,
|
|
|
|
HTMLCSSStyleDeclaration2_put_msScrollSnapPointsX,
|
|
|
|
HTMLCSSStyleDeclaration2_get_msScrollSnapPointsX,
|
|
|
|
HTMLCSSStyleDeclaration2_put_msScrollSnapPointsY,
|
|
|
|
HTMLCSSStyleDeclaration2_get_msScrollSnapPointsY,
|
|
|
|
HTMLCSSStyleDeclaration2_put_msGridColumn,
|
|
|
|
HTMLCSSStyleDeclaration2_get_msGridColumn,
|
|
|
|
HTMLCSSStyleDeclaration2_put_msGridColumnAlign,
|
|
|
|
HTMLCSSStyleDeclaration2_get_msGridColumnAlign,
|
|
|
|
HTMLCSSStyleDeclaration2_put_msGridColumns,
|
|
|
|
HTMLCSSStyleDeclaration2_get_msGridColumns,
|
|
|
|
HTMLCSSStyleDeclaration2_put_msGridColumnSpan,
|
|
|
|
HTMLCSSStyleDeclaration2_get_msGridColumnSpan,
|
|
|
|
HTMLCSSStyleDeclaration2_put_msGridRow,
|
|
|
|
HTMLCSSStyleDeclaration2_get_msGridRow,
|
|
|
|
HTMLCSSStyleDeclaration2_put_msGridRowAlign,
|
|
|
|
HTMLCSSStyleDeclaration2_get_msGridRowAlign,
|
|
|
|
HTMLCSSStyleDeclaration2_put_msGridRows,
|
|
|
|
HTMLCSSStyleDeclaration2_get_msGridRows,
|
|
|
|
HTMLCSSStyleDeclaration2_put_msGridRowSpan,
|
|
|
|
HTMLCSSStyleDeclaration2_get_msGridRowSpan,
|
|
|
|
HTMLCSSStyleDeclaration2_put_msWrapThrough,
|
|
|
|
HTMLCSSStyleDeclaration2_get_msWrapThrough,
|
|
|
|
HTMLCSSStyleDeclaration2_put_msWrapMargin,
|
|
|
|
HTMLCSSStyleDeclaration2_get_msWrapMargin,
|
|
|
|
HTMLCSSStyleDeclaration2_put_msWrapFlow,
|
|
|
|
HTMLCSSStyleDeclaration2_get_msWrapFlow,
|
|
|
|
HTMLCSSStyleDeclaration2_put_msAnimationName,
|
|
|
|
HTMLCSSStyleDeclaration2_get_msAnimationName,
|
|
|
|
HTMLCSSStyleDeclaration2_put_msAnimationDuration,
|
|
|
|
HTMLCSSStyleDeclaration2_get_msAnimationDuration,
|
|
|
|
HTMLCSSStyleDeclaration2_put_msAnimationTimingFunction,
|
|
|
|
HTMLCSSStyleDeclaration2_get_msAnimationTimingFunction,
|
|
|
|
HTMLCSSStyleDeclaration2_put_msAnimationDelay,
|
|
|
|
HTMLCSSStyleDeclaration2_get_msAnimationDelay,
|
|
|
|
HTMLCSSStyleDeclaration2_put_msAnimationDirection,
|
|
|
|
HTMLCSSStyleDeclaration2_get_msAnimationDirection,
|
|
|
|
HTMLCSSStyleDeclaration2_put_msAnimationPlayState,
|
|
|
|
HTMLCSSStyleDeclaration2_get_msAnimationPlayState,
|
|
|
|
HTMLCSSStyleDeclaration2_put_msAnimationIterationCount,
|
|
|
|
HTMLCSSStyleDeclaration2_get_msAnimationIterationCount,
|
|
|
|
HTMLCSSStyleDeclaration2_put_msAnimation,
|
|
|
|
HTMLCSSStyleDeclaration2_get_msAnimation,
|
|
|
|
HTMLCSSStyleDeclaration2_put_msAnimationFillMode,
|
|
|
|
HTMLCSSStyleDeclaration2_get_msAnimationFillMode,
|
|
|
|
HTMLCSSStyleDeclaration2_put_colorInterpolationFilters,
|
|
|
|
HTMLCSSStyleDeclaration2_get_colorInterpolationFilters,
|
|
|
|
HTMLCSSStyleDeclaration2_put_columnCount,
|
|
|
|
HTMLCSSStyleDeclaration2_get_columnCount,
|
|
|
|
HTMLCSSStyleDeclaration2_put_columnWidth,
|
|
|
|
HTMLCSSStyleDeclaration2_get_columnWidth,
|
|
|
|
HTMLCSSStyleDeclaration2_put_columnGap,
|
|
|
|
HTMLCSSStyleDeclaration2_get_columnGap,
|
|
|
|
HTMLCSSStyleDeclaration2_put_columnFill,
|
|
|
|
HTMLCSSStyleDeclaration2_get_columnFill,
|
|
|
|
HTMLCSSStyleDeclaration2_put_columnSpan,
|
|
|
|
HTMLCSSStyleDeclaration2_get_columnSpan,
|
|
|
|
HTMLCSSStyleDeclaration2_put_columns,
|
|
|
|
HTMLCSSStyleDeclaration2_get_columns,
|
|
|
|
HTMLCSSStyleDeclaration2_put_columnRule,
|
|
|
|
HTMLCSSStyleDeclaration2_get_columnRule,
|
|
|
|
HTMLCSSStyleDeclaration2_put_columnRuleColor,
|
|
|
|
HTMLCSSStyleDeclaration2_get_columnRuleColor,
|
|
|
|
HTMLCSSStyleDeclaration2_put_columnRuleStyle,
|
|
|
|
HTMLCSSStyleDeclaration2_get_columnRuleStyle,
|
|
|
|
HTMLCSSStyleDeclaration2_put_columnRuleWidth,
|
|
|
|
HTMLCSSStyleDeclaration2_get_columnRuleWidth,
|
|
|
|
HTMLCSSStyleDeclaration2_put_breakBefore,
|
|
|
|
HTMLCSSStyleDeclaration2_get_breakBefore,
|
|
|
|
HTMLCSSStyleDeclaration2_put_breakAfter,
|
|
|
|
HTMLCSSStyleDeclaration2_get_breakAfter,
|
|
|
|
HTMLCSSStyleDeclaration2_put_breakInside,
|
|
|
|
HTMLCSSStyleDeclaration2_get_breakInside,
|
|
|
|
HTMLCSSStyleDeclaration2_put_floodColor,
|
|
|
|
HTMLCSSStyleDeclaration2_get_floodColor,
|
|
|
|
HTMLCSSStyleDeclaration2_put_floodOpacity,
|
|
|
|
HTMLCSSStyleDeclaration2_get_floodOpacity,
|
|
|
|
HTMLCSSStyleDeclaration2_put_lightingColor,
|
|
|
|
HTMLCSSStyleDeclaration2_get_lightingColor,
|
|
|
|
HTMLCSSStyleDeclaration2_put_msScrollLimitXMin,
|
|
|
|
HTMLCSSStyleDeclaration2_get_msScrollLimitXMin,
|
|
|
|
HTMLCSSStyleDeclaration2_put_msScrollLimitYMin,
|
|
|
|
HTMLCSSStyleDeclaration2_get_msScrollLimitYMin,
|
|
|
|
HTMLCSSStyleDeclaration2_put_msScrollLimitXMax,
|
|
|
|
HTMLCSSStyleDeclaration2_get_msScrollLimitXMax,
|
|
|
|
HTMLCSSStyleDeclaration2_put_msScrollLimitYMax,
|
|
|
|
HTMLCSSStyleDeclaration2_get_msScrollLimitYMax,
|
|
|
|
HTMLCSSStyleDeclaration2_put_msScrollLimit,
|
|
|
|
HTMLCSSStyleDeclaration2_get_msScrollLimit,
|
|
|
|
HTMLCSSStyleDeclaration2_put_textShadow,
|
|
|
|
HTMLCSSStyleDeclaration2_get_textShadow,
|
|
|
|
HTMLCSSStyleDeclaration2_put_msFlowFrom,
|
|
|
|
HTMLCSSStyleDeclaration2_get_msFlowFrom,
|
|
|
|
HTMLCSSStyleDeclaration2_put_msFlowInto,
|
|
|
|
HTMLCSSStyleDeclaration2_get_msFlowInto,
|
|
|
|
HTMLCSSStyleDeclaration2_put_msHyphens,
|
|
|
|
HTMLCSSStyleDeclaration2_get_msHyphens,
|
|
|
|
HTMLCSSStyleDeclaration2_put_msHyphenateLimitZone,
|
|
|
|
HTMLCSSStyleDeclaration2_get_msHyphenateLimitZone,
|
|
|
|
HTMLCSSStyleDeclaration2_put_msHyphenateLimitChars,
|
|
|
|
HTMLCSSStyleDeclaration2_get_msHyphenateLimitChars,
|
|
|
|
HTMLCSSStyleDeclaration2_put_msHyphenateLimitLines,
|
|
|
|
HTMLCSSStyleDeclaration2_get_msHyphenateLimitLines,
|
|
|
|
HTMLCSSStyleDeclaration2_put_msHighContrastAdjust,
|
|
|
|
HTMLCSSStyleDeclaration2_get_msHighContrastAdjust,
|
|
|
|
HTMLCSSStyleDeclaration2_put_enableBackground,
|
|
|
|
HTMLCSSStyleDeclaration2_get_enableBackground,
|
|
|
|
HTMLCSSStyleDeclaration2_put_msFontFeatureSettings,
|
|
|
|
HTMLCSSStyleDeclaration2_get_msFontFeatureSettings,
|
|
|
|
HTMLCSSStyleDeclaration2_put_msUserSelect,
|
|
|
|
HTMLCSSStyleDeclaration2_get_msUserSelect,
|
|
|
|
HTMLCSSStyleDeclaration2_put_msOverflowStyle,
|
|
|
|
HTMLCSSStyleDeclaration2_get_msOverflowStyle,
|
|
|
|
HTMLCSSStyleDeclaration2_put_msTransformStyle,
|
|
|
|
HTMLCSSStyleDeclaration2_get_msTransformStyle,
|
|
|
|
HTMLCSSStyleDeclaration2_put_msBackfaceVisibility,
|
|
|
|
HTMLCSSStyleDeclaration2_get_msBackfaceVisibility,
|
|
|
|
HTMLCSSStyleDeclaration2_put_msPerspective,
|
|
|
|
HTMLCSSStyleDeclaration2_get_msPerspective,
|
|
|
|
HTMLCSSStyleDeclaration2_put_msPerspectiveOrigin,
|
|
|
|
HTMLCSSStyleDeclaration2_get_msPerspectiveOrigin,
|
|
|
|
HTMLCSSStyleDeclaration2_put_msTransitionProperty,
|
|
|
|
HTMLCSSStyleDeclaration2_get_msTransitionProperty,
|
|
|
|
HTMLCSSStyleDeclaration2_put_msTransitionDuration,
|
|
|
|
HTMLCSSStyleDeclaration2_get_msTransitionDuration,
|
|
|
|
HTMLCSSStyleDeclaration2_put_msTransitionTimingFunction,
|
|
|
|
HTMLCSSStyleDeclaration2_get_msTransitionTimingFunction,
|
|
|
|
HTMLCSSStyleDeclaration2_put_msTransitionDelay,
|
|
|
|
HTMLCSSStyleDeclaration2_get_msTransitionDelay,
|
|
|
|
HTMLCSSStyleDeclaration2_put_msTransition,
|
|
|
|
HTMLCSSStyleDeclaration2_get_msTransition,
|
|
|
|
HTMLCSSStyleDeclaration2_put_msTouchAction,
|
|
|
|
HTMLCSSStyleDeclaration2_get_msTouchAction,
|
|
|
|
HTMLCSSStyleDeclaration2_put_msScrollTranslation,
|
|
|
|
HTMLCSSStyleDeclaration2_get_msScrollTranslation,
|
|
|
|
HTMLCSSStyleDeclaration2_put_msFlex,
|
|
|
|
HTMLCSSStyleDeclaration2_get_msFlex,
|
|
|
|
HTMLCSSStyleDeclaration2_put_msFlexPositive,
|
|
|
|
HTMLCSSStyleDeclaration2_get_msFlexPositive,
|
|
|
|
HTMLCSSStyleDeclaration2_put_msFlexNegative,
|
|
|
|
HTMLCSSStyleDeclaration2_get_msFlexNegative,
|
|
|
|
HTMLCSSStyleDeclaration2_put_msFlexPreferredSize,
|
|
|
|
HTMLCSSStyleDeclaration2_get_msFlexPreferredSize,
|
|
|
|
HTMLCSSStyleDeclaration2_put_msFlexFlow,
|
|
|
|
HTMLCSSStyleDeclaration2_get_msFlexFlow,
|
|
|
|
HTMLCSSStyleDeclaration2_put_msFlexDirection,
|
|
|
|
HTMLCSSStyleDeclaration2_get_msFlexDirection,
|
|
|
|
HTMLCSSStyleDeclaration2_put_msFlexWrap,
|
|
|
|
HTMLCSSStyleDeclaration2_get_msFlexWrap,
|
|
|
|
HTMLCSSStyleDeclaration2_put_msFlexAlign,
|
|
|
|
HTMLCSSStyleDeclaration2_get_msFlexAlign,
|
|
|
|
HTMLCSSStyleDeclaration2_put_msFlexItemAlign,
|
|
|
|
HTMLCSSStyleDeclaration2_get_msFlexItemAlign,
|
|
|
|
HTMLCSSStyleDeclaration2_put_msFlexPack,
|
|
|
|
HTMLCSSStyleDeclaration2_get_msFlexPack,
|
|
|
|
HTMLCSSStyleDeclaration2_put_msFlexLinePack,
|
|
|
|
HTMLCSSStyleDeclaration2_get_msFlexLinePack,
|
|
|
|
HTMLCSSStyleDeclaration2_put_msFlexOrder,
|
|
|
|
HTMLCSSStyleDeclaration2_get_msFlexOrder,
|
|
|
|
HTMLCSSStyleDeclaration2_put_msTouchSelect,
|
|
|
|
HTMLCSSStyleDeclaration2_get_msTouchSelect,
|
|
|
|
HTMLCSSStyleDeclaration2_put_transform,
|
|
|
|
HTMLCSSStyleDeclaration2_get_transform,
|
|
|
|
HTMLCSSStyleDeclaration2_put_transformOrigin,
|
|
|
|
HTMLCSSStyleDeclaration2_get_transformOrigin,
|
|
|
|
HTMLCSSStyleDeclaration2_put_transformStyle,
|
|
|
|
HTMLCSSStyleDeclaration2_get_transformStyle,
|
|
|
|
HTMLCSSStyleDeclaration2_put_backfaceVisibility,
|
|
|
|
HTMLCSSStyleDeclaration2_get_backfaceVisibility,
|
|
|
|
HTMLCSSStyleDeclaration2_put_perspective,
|
|
|
|
HTMLCSSStyleDeclaration2_get_perspective,
|
|
|
|
HTMLCSSStyleDeclaration2_put_perspectiveOrigin,
|
|
|
|
HTMLCSSStyleDeclaration2_get_perspectiveOrigin,
|
|
|
|
HTMLCSSStyleDeclaration2_put_transitionProperty,
|
|
|
|
HTMLCSSStyleDeclaration2_get_transitionProperty,
|
|
|
|
HTMLCSSStyleDeclaration2_put_transitionDuration,
|
|
|
|
HTMLCSSStyleDeclaration2_get_transitionDuration,
|
|
|
|
HTMLCSSStyleDeclaration2_put_transitionTimingFunction,
|
|
|
|
HTMLCSSStyleDeclaration2_get_transitionTimingFunction,
|
|
|
|
HTMLCSSStyleDeclaration2_put_transitionDelay,
|
|
|
|
HTMLCSSStyleDeclaration2_get_transitionDelay,
|
|
|
|
HTMLCSSStyleDeclaration2_put_transition,
|
|
|
|
HTMLCSSStyleDeclaration2_get_transition,
|
|
|
|
HTMLCSSStyleDeclaration2_put_fontFeatureSettings,
|
|
|
|
HTMLCSSStyleDeclaration2_get_fontFeatureSettings,
|
|
|
|
HTMLCSSStyleDeclaration2_put_animationName,
|
|
|
|
HTMLCSSStyleDeclaration2_get_animationName,
|
|
|
|
HTMLCSSStyleDeclaration2_put_animationDuration,
|
|
|
|
HTMLCSSStyleDeclaration2_get_animationDuration,
|
|
|
|
HTMLCSSStyleDeclaration2_put_animationTimingFunction,
|
|
|
|
HTMLCSSStyleDeclaration2_get_animationTimingFunction,
|
|
|
|
HTMLCSSStyleDeclaration2_put_animationDelay,
|
|
|
|
HTMLCSSStyleDeclaration2_get_animationDelay,
|
|
|
|
HTMLCSSStyleDeclaration2_put_animationDirection,
|
|
|
|
HTMLCSSStyleDeclaration2_get_animationDirection,
|
|
|
|
HTMLCSSStyleDeclaration2_put_animationPlayState,
|
|
|
|
HTMLCSSStyleDeclaration2_get_animationPlayState,
|
|
|
|
HTMLCSSStyleDeclaration2_put_animationIterationCount,
|
|
|
|
HTMLCSSStyleDeclaration2_get_animationIterationCount,
|
|
|
|
HTMLCSSStyleDeclaration2_put_animation,
|
|
|
|
HTMLCSSStyleDeclaration2_get_animation,
|
|
|
|
HTMLCSSStyleDeclaration2_put_animationFillMode,
|
|
|
|
HTMLCSSStyleDeclaration2_get_animationFillMode
|
|
|
|
};
|
|
|
|
|
2019-03-26 17:27:16 +01:00
|
|
|
static HRESULT CSSStyle_get_dispid(DispatchEx *dispex, BSTR name, DWORD flags, DISPID *dispid)
|
2010-12-27 18:34:39 +01:00
|
|
|
{
|
2012-04-16 13:48:55 +02:00
|
|
|
const style_tbl_entry_t *style_entry;
|
2010-12-27 18:34:39 +01:00
|
|
|
|
2012-04-16 13:48:55 +02:00
|
|
|
style_entry = lookup_style_tbl(name);
|
2018-09-12 21:16:04 +02:00
|
|
|
if(style_entry) {
|
|
|
|
DISPID id = dispex_compat_mode(dispex) >= COMPAT_MODE_IE9
|
|
|
|
? style_entry->dispid : style_entry->compat_dispid;
|
|
|
|
if(id == DISPID_UNKNOWN)
|
|
|
|
return DISP_E_UNKNOWNNAME;
|
|
|
|
|
|
|
|
*dispid = id;
|
2012-04-16 13:48:55 +02:00
|
|
|
return S_OK;
|
2010-12-27 18:34:39 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
return DISP_E_UNKNOWNNAME;
|
|
|
|
}
|
|
|
|
|
2019-03-26 17:27:16 +01:00
|
|
|
void CSSStyle_init_dispex_info(dispex_data_t *info, compat_mode_t mode)
|
2018-09-12 21:15:53 +02:00
|
|
|
{
|
|
|
|
if(mode >= COMPAT_MODE_IE9)
|
|
|
|
dispex_info_add_interface(info, IHTMLCSSStyleDeclaration_tid, NULL);
|
|
|
|
}
|
|
|
|
|
2019-03-26 17:27:16 +01:00
|
|
|
const dispex_static_data_vtbl_t CSSStyle_dispex_vtbl = {
|
2009-08-31 20:43:44 +02:00
|
|
|
NULL,
|
2019-03-26 17:27:16 +01:00
|
|
|
CSSStyle_get_dispid,
|
2011-08-23 11:33:18 +02:00
|
|
|
NULL,
|
2008-10-07 21:45:21 +02:00
|
|
|
NULL
|
|
|
|
};
|
|
|
|
|
2008-05-06 16:04:58 +02:00
|
|
|
static const tid_t HTMLStyle_iface_tids[] = {
|
2011-07-28 16:30:02 +02:00
|
|
|
IHTMLStyle6_tid,
|
2014-12-14 17:54:00 +01:00
|
|
|
IHTMLStyle5_tid,
|
|
|
|
IHTMLStyle4_tid,
|
|
|
|
IHTMLStyle3_tid,
|
|
|
|
IHTMLStyle2_tid,
|
|
|
|
IHTMLStyle_tid,
|
2008-05-06 16:04:58 +02:00
|
|
|
0
|
|
|
|
};
|
2008-04-30 18:20:58 +02:00
|
|
|
static dispex_static_data_t HTMLStyle_dispex = {
|
2019-03-26 17:27:16 +01:00
|
|
|
&CSSStyle_dispex_vtbl,
|
2008-04-30 18:20:58 +02:00
|
|
|
DispHTMLStyle_tid,
|
2018-09-12 21:15:53 +02:00
|
|
|
HTMLStyle_iface_tids,
|
2019-03-26 17:27:16 +01:00
|
|
|
CSSStyle_init_dispex_info
|
2008-04-30 18:20:58 +02:00
|
|
|
};
|
|
|
|
|
2013-11-11 14:36:43 +01:00
|
|
|
static HRESULT get_style_from_elem(HTMLElement *elem, nsIDOMCSSStyleDeclaration **ret)
|
2006-11-17 13:04:06 +01:00
|
|
|
{
|
2012-07-25 14:46:54 +02:00
|
|
|
nsIDOMElementCSSInlineStyle *nselemstyle;
|
2019-03-28 15:56:29 +01:00
|
|
|
nsIDOMSVGElement *svg_element;
|
2012-07-25 14:46:54 +02:00
|
|
|
nsresult nsres;
|
|
|
|
|
2018-02-12 23:28:15 +01:00
|
|
|
if(!elem->dom_element) {
|
|
|
|
FIXME("comment element\n");
|
2012-07-25 14:46:54 +02:00
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
2018-02-12 23:28:15 +01:00
|
|
|
nsres = nsIDOMElement_QueryInterface(elem->dom_element, &IID_nsIDOMElementCSSInlineStyle,
|
2012-07-25 14:46:54 +02:00
|
|
|
(void**)&nselemstyle);
|
2019-03-28 15:56:29 +01:00
|
|
|
if(NS_SUCCEEDED(nsres)) {
|
|
|
|
nsres = nsIDOMElementCSSInlineStyle_GetStyle(nselemstyle, ret);
|
|
|
|
nsIDOMElementCSSInlineStyle_Release(nselemstyle);
|
|
|
|
if(NS_FAILED(nsres)) {
|
|
|
|
ERR("GetStyle failed: %08x\n", nsres);
|
|
|
|
return E_FAIL;
|
|
|
|
}
|
|
|
|
return S_OK;
|
|
|
|
}
|
2012-07-25 14:46:54 +02:00
|
|
|
|
2019-03-28 15:56:29 +01:00
|
|
|
nsres = nsIDOMElement_QueryInterface(elem->dom_element, &IID_nsIDOMSVGElement, (void**)&svg_element);
|
|
|
|
if(NS_SUCCEEDED(nsres)) {
|
|
|
|
nsres = nsIDOMSVGElement_GetStyle(svg_element, ret);
|
|
|
|
nsIDOMSVGElement_Release(svg_element);
|
|
|
|
if(NS_FAILED(nsres)) {
|
|
|
|
ERR("GetStyle failed: %08x\n", nsres);
|
|
|
|
return E_FAIL;
|
|
|
|
}
|
|
|
|
return S_OK;
|
2012-07-25 14:46:54 +02:00
|
|
|
}
|
2006-11-17 13:04:06 +01:00
|
|
|
|
2019-03-28 15:56:29 +01:00
|
|
|
FIXME("Unsupported element type\n");
|
|
|
|
return E_NOTIMPL;
|
2013-11-11 14:36:43 +01:00
|
|
|
}
|
|
|
|
|
2019-03-26 17:26:53 +01:00
|
|
|
void init_css_style(CSSStyle *style, nsIDOMCSSStyleDeclaration *nsstyle, style_qi_t qi,
|
|
|
|
dispex_static_data_t *dispex_info, compat_mode_t compat_mode)
|
2019-03-25 15:14:50 +01:00
|
|
|
{
|
|
|
|
style->IHTMLCSSStyleDeclaration_iface.lpVtbl = &HTMLCSSStyleDeclarationVtbl;
|
2019-03-25 15:15:10 +01:00
|
|
|
style->IHTMLCSSStyleDeclaration2_iface.lpVtbl = &HTMLCSSStyleDeclaration2Vtbl;
|
2019-03-25 15:14:50 +01:00
|
|
|
style->ref = 1;
|
|
|
|
style->qi = qi;
|
|
|
|
style->nsstyle = nsstyle;
|
|
|
|
nsIDOMCSSStyleDeclaration_AddRef(nsstyle);
|
|
|
|
|
|
|
|
init_dispex_with_compat_mode(&style->dispex, (IUnknown*)&style->IHTMLCSSStyleDeclaration_iface,
|
|
|
|
dispex_info, compat_mode);
|
|
|
|
}
|
|
|
|
|
2013-11-11 14:36:43 +01:00
|
|
|
HRESULT HTMLStyle_Create(HTMLElement *elem, HTMLStyle **ret)
|
|
|
|
{
|
|
|
|
nsIDOMCSSStyleDeclaration *nsstyle;
|
|
|
|
HTMLStyle *style;
|
|
|
|
HRESULT hres;
|
|
|
|
|
|
|
|
hres = get_style_from_elem(elem, &nsstyle);
|
|
|
|
if(FAILED(hres))
|
|
|
|
return hres;
|
|
|
|
|
2011-02-28 13:13:12 +01:00
|
|
|
style = heap_alloc_zero(sizeof(HTMLStyle));
|
2012-07-25 14:46:54 +02:00
|
|
|
if(!style) {
|
|
|
|
nsIDOMCSSStyleDeclaration_Release(nsstyle);
|
2011-02-28 13:13:12 +01:00
|
|
|
return E_OUTOFMEMORY;
|
2012-07-25 14:46:54 +02:00
|
|
|
}
|
2011-02-28 13:13:12 +01:00
|
|
|
|
|
|
|
style->IHTMLStyle_iface.lpVtbl = &HTMLStyleVtbl;
|
2016-01-07 14:04:59 +01:00
|
|
|
style->IHTMLStyle2_iface.lpVtbl = &HTMLStyle2Vtbl;
|
2016-01-07 14:06:24 +01:00
|
|
|
style->IHTMLStyle3_iface.lpVtbl = &HTMLStyle3Vtbl;
|
|
|
|
style->IHTMLStyle4_iface.lpVtbl = &HTMLStyle4Vtbl;
|
|
|
|
style->IHTMLStyle5_iface.lpVtbl = &HTMLStyle5Vtbl;
|
|
|
|
style->IHTMLStyle6_iface.lpVtbl = &HTMLStyle6Vtbl;
|
|
|
|
|
2012-03-16 12:17:50 +01:00
|
|
|
style->elem = elem;
|
2006-11-17 13:05:01 +01:00
|
|
|
|
2019-03-25 15:14:50 +01:00
|
|
|
init_css_style(&style->css_style, nsstyle, HTMLStyle_QI, &HTMLStyle_dispex,
|
|
|
|
dispex_compat_mode(&elem->node.event_target.dispex));
|
2008-04-30 18:20:58 +02:00
|
|
|
|
2011-02-28 13:13:12 +01:00
|
|
|
*ret = style;
|
|
|
|
return S_OK;
|
2006-11-17 13:04:06 +01:00
|
|
|
}
|
2013-11-11 14:36:43 +01:00
|
|
|
|
2019-03-27 18:52:14 +01:00
|
|
|
static const tid_t HTMLW3CComputedStyle_iface_tids[] = {
|
|
|
|
0
|
|
|
|
};
|
|
|
|
static dispex_static_data_t HTMLW3CComputedStyle_dispex = {
|
|
|
|
&CSSStyle_dispex_vtbl,
|
|
|
|
DispHTMLW3CComputedStyle_tid,
|
|
|
|
HTMLW3CComputedStyle_iface_tids,
|
|
|
|
CSSStyle_init_dispex_info
|
|
|
|
};
|
|
|
|
|
|
|
|
HRESULT create_computed_style(nsIDOMCSSStyleDeclaration *nsstyle, IHTMLCSSStyleDeclaration **p)
|
|
|
|
{
|
|
|
|
CSSStyle *style;
|
|
|
|
|
|
|
|
if(!(style = heap_alloc_zero(sizeof(*style))))
|
|
|
|
return E_OUTOFMEMORY;
|
|
|
|
|
|
|
|
init_css_style(style, nsstyle, NULL, &HTMLW3CComputedStyle_dispex, COMPAT_MODE_IE11);
|
|
|
|
*p = &style->IHTMLCSSStyleDeclaration_iface;
|
|
|
|
return S_OK;
|
|
|
|
}
|
|
|
|
|
2013-11-11 14:36:43 +01:00
|
|
|
HRESULT get_elem_style(HTMLElement *elem, styleid_t styleid, BSTR *ret)
|
|
|
|
{
|
|
|
|
nsIDOMCSSStyleDeclaration *style;
|
|
|
|
HRESULT hres;
|
|
|
|
|
|
|
|
hres = get_style_from_elem(elem, &style);
|
|
|
|
if(FAILED(hres))
|
|
|
|
return hres;
|
|
|
|
|
2018-08-29 14:10:13 +02:00
|
|
|
hres = get_nsstyle_property(style, styleid, COMPAT_MODE_IE11, ret);
|
2013-11-11 14:36:43 +01:00
|
|
|
nsIDOMCSSStyleDeclaration_Release(style);
|
|
|
|
return hres;
|
|
|
|
}
|
|
|
|
|
|
|
|
HRESULT set_elem_style(HTMLElement *elem, styleid_t styleid, const WCHAR *val)
|
|
|
|
{
|
|
|
|
nsIDOMCSSStyleDeclaration *style;
|
2019-04-19 16:36:44 +02:00
|
|
|
nsAString value_str;
|
2013-11-11 14:36:43 +01:00
|
|
|
HRESULT hres;
|
|
|
|
|
|
|
|
hres = get_style_from_elem(elem, &style);
|
|
|
|
if(FAILED(hres))
|
|
|
|
return hres;
|
|
|
|
|
2019-04-19 16:36:44 +02:00
|
|
|
nsAString_InitDepend(&value_str, val);
|
|
|
|
hres = set_nsstyle_property(style, styleid, &value_str);
|
|
|
|
nsAString_Finish(&value_str);
|
2013-11-11 14:36:43 +01:00
|
|
|
nsIDOMCSSStyleDeclaration_Release(style);
|
|
|
|
return hres;
|
|
|
|
}
|