Commit Graph

90 Commits

Author SHA1 Message Date
Jacek Caban 2cd8ff3751 mshtml: Expose IHTMLCSSStyleDeclaration to scripts from current style object.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-26 20:25:48 +01:00
Jacek Caban edb4eca788 mshtml: Pass style as CSSStyle to current style property getters.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-26 20:25:38 +01:00
Jacek Caban 68d0052b63 mshtml: Use CSSStyle for HTMLCurrentStyle implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-26 20:25:32 +01:00
Jacek Caban 869b447764 mshtml: Skip fixups in get_nsstyle_property_var in IE9+ mode.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-29 22:01:37 +02:00
Jacek Caban 8b998a7dd7 mshtml: Skip fixups in get_nsstyle_property in IE9+ mode.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-29 22:01:37 +02:00
Jacek Caban 889ccb883a mshtml: Introduce get_current_style_property_var helper.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-29 22:01:37 +02:00
Jacek Caban cccabee8b2 mshtml: Introduce get_current_style_property helper.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-29 22:01:37 +02:00
Jacek Caban 9f75fb0cef mshtml: Get rid of no longer needed argument in get_nsstyle_* implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-27 15:16:46 +02:00
Jacek Caban fba6da7982 mshtml: Use nsIDOMElement instead of nsIDOMHTMLElement where possible.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-13 09:07:24 +01:00
Jacek Caban db1d194078 mshtml: Added IHTMLCurrentStyle::get_direction implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-15 22:58:47 +01:00
Jacek Caban fd2f645d16 mshtml: Moved dispex_data_t pointer to the end of dispex_static_data_t struct.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-06 11:53:45 +09:00
Jacek Caban 3a16c8bbca mshtml: Wine Gecko 2.47 release.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-14 13:43:54 +09:00
Jacek Caban 27182667cc mshtml: Added IHTMLCurrentStyle4::get_maxHeight implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-11 22:14:50 +09:00
Jacek Caban 4ee484c2eb mshtml: Added IHTMLCurrentStyle::overflowY implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-11 22:14:47 +09:00
Jacek Caban 9e8be69d7b mshtml: Added IHTMLCurrentStyle::overflowX implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-11 22:14:44 +09:00
Jacek Caban fef68e1af9 mshtml: Added IHTMLCurrentStyle::styleFloat property implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-08 21:38:38 +09:00
Jacek Caban 5d52373c62 mshtml: Added IHTMLCurrentStyle3::whiteSpace property implementation. 2015-08-17 14:46:52 +09:00
Jacek Caban f5066488e9 mshtml: Fixed leak in HTMLCurrentStyle_Create. 2015-06-03 14:47:36 +09:00
Indrek Altpere 55c03ad4d2 mshtml: Add NULL check to avoid crashing due to Gecko bug. 2015-06-02 14:08:22 +09:00
Jactry Zeng e777e9d1ba mshtml: Add IHTMLCurrentStyle::get_textTransform implementation. 2014-09-15 10:12:46 +02:00
Jacek Caban e759105cdd mshtml: Use debugstr_mshtml_guid in a few more places. 2014-05-06 13:47:06 +02:00
Jacek Caban b095b1f67e mshtml: Added better IHTMLCurrentStyle2::get_hasLayout stub. 2013-08-22 19:02:04 +02:00
Jacek Caban 57b2075af8 mshtml: Added IHTMLCurrentStyle2::get_filter implementation. 2012-03-16 15:37:47 +01:00
Alistair Leslie-Hughes 9477521fb8 mshtml: Add IHTMLCurrentStyle2/3/4 support. 2011-09-23 14:20:02 +02:00
Jacek Caban bf4b869152 mshtml: Wine Gecko 1.3 release. 2011-08-23 18:16:44 +02:00
Jacek Caban e063198046 mshtml: Pass flags to get_nsstyle_attr. 2011-07-15 16:36:08 +02:00
Alistair Leslie-Hughes eb2d7b6604 mshtml: Implement IHTMLCurrentStyle_get_padding. 2011-02-09 13:45:39 -06:00
Michael Stefaniuc 7021fd321b mshtml: COM cleanup for the IHTMLCurrentStyle iface. 2011-01-04 11:13:12 +01:00
Michael Stefaniuc 0b66169a05 mshtml: COM cleanup for the IDispatchEx iface in DispatchEx. 2010-12-31 11:47:31 +01:00
Jacek Caban f9eff68891 mshtml: Moved nsdoc to HTMLDocumentNode object. 2009-10-22 10:41:22 +02:00
Alistair Leslie-Hughes 7471cfce72 mshtml: Implement IHTMLCurrentStyle_get_textIndent. 2009-09-18 08:56:37 -05:00
Alistair Leslie-Hughes d35c44221d mshtml: Implement IHTMLCurrentStyle_get_lineHeight. 2009-09-18 08:56:28 -05:00
Jacek Caban 64d4efe967 mshtml: Move node list to HTMLDocumentNode. 2009-09-17 09:47:53 -05:00
Alistair Leslie-Hughes 8f0fd2597a mshtml: Implement IHTMLCurrentStyle_get_bottom. 2009-09-16 14:37:51 -05:00
Alistair Leslie-Hughes 2ef9272e81 mshtml: Implement IHTMLCurrentStyle_get_right. 2009-09-16 14:37:45 -05:00
Alistair Leslie-Hughes d1952288b8 mshtml: Implement IHTMLCurrentStyle_get_marginBottom. 2009-09-16 14:37:39 -05:00
Alistair Leslie-Hughes 6ec0716059 mshtml: Implement IHTMLCurrentStyle_get_marginTop. 2009-09-16 14:37:32 -05:00
Alistair Leslie-Hughes b856484ef3 mshtml: Implement IHTMLCurrentStyle_get_letterSpacing. 2009-09-16 14:37:22 -05:00
Alistair Leslie-Hughes 7f3cb81686 mshtml: Implement IHTMLCurrentStyle_get_paddingBottom. 2009-09-15 17:21:28 -05:00
Alistair Leslie-Hughes 9a2a02fde9 mshtml: Implement IHTMLCurrentStyle_get_paddingRight. 2009-09-15 17:21:23 -05:00
Alistair Leslie-Hughes e5b3b26573 mshtml: Implement IHTMLCurrentStyle_get_paddingTop. 2009-09-15 17:21:17 -05:00
Alistair Leslie-Hughes b80faba168 mshtml: Implement IHTMLCurrentStyle_get_borderBottomColor. 2009-09-15 17:21:11 -05:00
Alistair Leslie-Hughes bf5ab29c1c mshtml: Implement IHTMLCurrentStyle_get_borderRightColor. 2009-09-15 17:21:05 -05:00
Alistair Leslie-Hughes 04da6200e8 mshtml: Implement IHTMLCurrentStyle_get_borderTopColor. 2009-09-15 17:21:00 -05:00
Alistair Leslie-Hughes 144cf8d613 mshtml: Implement IHTMLCurrentStyle_get_borderLeftColor. 2009-09-15 17:20:54 -05:00
Jacek Caban b42243e8e7 mshtml: Properly release DispatchEx data. 2009-09-01 12:43:13 +02:00
Alistair Leslie-Hughes 15da6c94f5 mshtml: Implement IHTMLCurrentStyle_get_margin. 2009-08-25 11:09:07 +02:00
Alistair Leslie-Hughes c1c9858b27 mshtml: Implement IHTMLCurrentStyle_get_borderWidth. 2009-08-25 11:08:55 +02:00
Alistair Leslie-Hughes b2f61a5e09 mshtml: Implement IHTMLCurrentStyle_get_overflow. 2009-08-25 11:08:49 +02:00
Alistair Leslie-Hughes 0a77124844 mshtml: Implement IHTMLCurrentStyle_get_backgroundColor. 2009-08-25 11:08:42 +02:00