Commit Graph

221 Commits

Author SHA1 Message Date
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 a0561068e3 mshtml: Return S_OK in IHTMLStyle2::put_behavior.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-28 19:08:32 +01:00
Jacek Caban eafbe884a2 mshtml: Use variant_bool helper where appropriate.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-02 19:12:08 +01:00
Jacek Caban d25684d5ae mshtml: Don't emulate legacy style filters in compatibility mode >= IE10.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-24 15:29:44 +02:00
Jacek Caban 1dedd90e8c mshtml: Added support for non-pixel style values in IHTMLStyle::get_pixel* functions.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-07 20:51:44 +02:00
Jacek Caban a6d35fdaa8 mshtml: Fixed leak in get_nsstyle_attr_nsval.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-06 21:27:45 +02:00
Nikolay Sivov 7846f0947a mshtml: Use proper constants as HRESULT return values.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-14 22:24:58 +09: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
Francois Gouget 49ceec53c4 mshtml: Make some functions static.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-22 23:51:31 +09:00
Jacek Caban f7597a6a1f mshtml: Merge htmlstyle3.c into htmlstyle.c.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-08 21:37:04 +09:00
Jacek Caban d223037034 mshtml: Merge htmlstyle2.c into htmlstyle.c.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-08 21:36:53 +09:00
Nikolay Sivov 8dd3f7d8c4 mshtml: Make it clear that ATTR_FIX_PX and ATTR_FIX_URL as exclusive (Coverity).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-11 19:18:14 +09:00
Jacek Caban 76f7be04c7 mshtml: Added IHTMLStyle::styleFloat attribute implementation. 2014-12-15 19:16:54 +01:00
Jacek Caban 0bfe8b441a mshtml: Resolve duplicated IDispatch entries as soon as they are processed. 2014-12-15 13:40:18 +01:00
Jacek Caban 7eddb864b3 mshtml: Allow setting fontWeight to empty string. 2014-12-08 17:30:51 +01:00
Jacek Caban 5f913d5afb mshtml: Better removeAttribute implementation. 2014-11-28 17:05:58 +01:00
Chen Yuan 9c7b91336a mshtml: Add IHTMLStyle5::maxHeight property implementation. 2014-11-06 23:47:10 +09:00
Chen Yuan 94209192e7 mshtml: Add IHTMLStyle5::maxWidth property implementation. 2014-11-06 23:47:10 +09:00
Jactry Zeng e402bb5642 mshtml: Add IHTMLStyle::pixelTop property implementation. 2014-09-09 17:57:16 +02:00
Jactry Zeng 042b881b27 mshtml: Add IHTMLStyle::pixelHeight property implementation. 2014-09-09 17:57:12 +02:00
Jactry Zeng 7152077b05 mshtml: Add IHTMLStyle::get_pixelWidth implementation. 2014-09-09 17:57:09 +02:00
Jactry Zeng 387257dd2c mshtml: Return E_POINTER when p is NULL in get_nsstyle_pixel_val. 2014-09-09 17:57:00 +02:00
Jactry Zeng 47f26eb9c0 mshtml: Add IHTMLStyle5::minWidth property implementation. 2014-09-02 20:54:47 +02:00
Zhenbo Li bde260411c mshtml: Added IHTMLStyle::listStyle property implementation. 2014-08-21 18:02:26 +02:00
Zhenbo Li 87e1172953 mshtml: Added IHTMLStyle::backgroundAttachment property implementation. 2014-08-19 14:52:25 +02:00
Zhenbo Li 90014d154f mshtml: Added IHTMLStyle2::tableLayout property implementation. 2014-08-19 14:52:01 +02:00
Zhenbo Li bf463eae05 mshtml: Added IHTMLStyle::listStylePosition property implementation. 2014-08-11 23:55:32 +02:00
Zhenbo Li ed9b0f758a mshtml: Added IHTMLStyleElement::lineHeight property. 2014-08-11 23:55:29 +02:00
Zhenbo Li aa41321f49 mshtml: Added IHTMLStyle::textIndent property implementation. 2014-08-11 23:55:29 +02:00
Zhenbo Li b9f9a358e5 mshtml: Added IHTMLStyle:: textTransform property implementation. 2014-08-08 19:22:16 +02:00
Jacek Caban b54a9c662a mshtml: Use debugmsg_mshtml_guid in a few more places. 2014-05-12 13:51:30 +02:00
Jacek Caban 2010816240 mshtml: Added IHTMLStyle::listStyleType property implementation. 2014-03-24 13:58:03 +01:00
Jacek Caban ea24a5b1f4 mshtml: Added IHTMLBodyElement::scroll attribute implementation. 2013-11-11 17:06:47 +01:00
Jacek Caban 321c96574e mshtml: Added IHTMLStyle6::boxSizing property implementation. 2013-11-07 19:01:25 +01:00
Jacek Caban 6d13dd697c mshtml: Added IHTMLStyle6::outline property implementation. 2013-09-30 20:36:36 +02:00
Jacek Caban 7db2691e6f mshtml: Added IHTMLStyle::whiteSpace property implementation. 2013-08-28 20:23:46 +02:00
Jacek Caban b93e29f0ee mshtml: Added support for non-integer values in get_nsstyle_pixel_val. 2013-01-10 16:06:10 +01:00
Jacek Caban 64df55eb84 mshtml: Fixed leak in get_nsstyle_pos. 2013-01-07 17:37:53 +01:00
Jacek Caban 0f60681a5a mshtml: Added IHTMLStyle::put_pixelLeft implementation. 2013-01-07 17:37:47 +01:00
Jacek Caban 85368869e8 mshtml: Added IHTMLStyle::get_pixelLeft implementation. 2013-01-07 17:37:43 +01:00
Jacek Caban 10a832cc04 mshtml: Properly handle NULL value in set_nsstyle_attr. 2012-12-06 20:31:30 +01:00
Jacek Caban 04c97d08eb mshtml: Added IHTMLStyle::clear property implementation. 2012-10-23 17:29:10 +02:00
Jacek Caban d898f27af4 mshtml: Added IHTMLStyle::put_pixelWidth implementation. 2012-09-04 15:06:36 +02:00
Jacek Caban 9ccc5f487b mshtml: Added IHTMLElement2::get_runtimeStyle hackish implementation. 2012-07-25 16:11:21 +02:00
Jacek Caban 5b633c29b9 mshtml: Moved more logic to HTMLStyle_Create. 2012-07-25 16:11:21 +02:00
Jacek Caban b2f3144e0c mshtml: Added IHTMLStyle2::overflowY implementation. 2012-04-17 12:43:29 +02:00
Jacek Caban 5b99a4e880 mshtml: Added IHTMLStyle2::overflowX implementation. 2012-04-17 12:43:26 +02:00
Jacek Caban 0cad55aee9 mshtml: Added IHTMLStyle::removeAttribute implementation. 2012-04-16 17:49:26 +02:00
Jacek Caban a9c83385b5 mshtml: Moved style_tbl lookup to separated function. 2012-04-16 17:49:25 +02:00
Jacek Caban 6b0875a67e mshtml: Use helper for IHTMLStyle::put_zIndex implementation. 2012-04-04 17:49:03 +02:00