Commit Graph

313 Commits

Author SHA1 Message Date
Gabriel Ivăncescu fc4482815c mshtml: Implement HTMLStyle's toString.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-07 21:23:21 +02:00
Gabriel Ivăncescu c667bbe80a mshtml: Add names for each object and use it in the Navigator.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-06 20:29:35 +02:00
Paul Gofman eb5a50a9a5 mshtml: Move assert.h include to mshtml_private.h.
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-08 21:12:16 +02:00
Jacek Caban 5590ea4a6e mshtml: Rename init_dispex_with_compat_mode to init_dispatch.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-16 20:36:44 +01:00
Jacek Caban ee611b198d mshtml: Implement IHTMLCSSStyleDeclaration2::animation property.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-01-27 21:04:19 +01:00
Michael Stefaniuc 097898460e mshtml: Use wide-char string literals in html*.c.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-24 16:53:52 +01:00
Francois Gouget b6cc7b5d51 mshtml: Fix the spelling of the filter attribute.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-10 10:45:57 +01:00
Michael Stefaniuc d5a10e2d28 mshtml: Use wide-char string literals in struct initialization.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-03 21:50:49 +01:00
Jacek Caban 5b2dd5d8fd mshtml: Return success in :HTMLStyle3::scrollbar* setters.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-29 21:07:43 +02:00
Jacek Caban 3fc7475283 mshtml: Add IHTMLCSSStyleDeclaration2::perspective implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-10 22:38:49 +02:00
Jacek Caban 77b24d25db mshtml: Use proper compat mode in IHTMLWindow7::getComputedStyle.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-09 21:23:33 +02:00
Jacek Caban 276accf534 mshtml: Expose IHTMLCSSStyleDeclaration2 to scripts.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-09 21:23:33 +02:00
Jacek Caban dbc5dc893b mshtml: Add IHTMLCSSStyleDeclaration2::columnRule property semi-stub implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-09 21:23:33 +02:00
Jacek Caban 883f45ac0e mshtml: Add IHTMLCSSStyleDeclaration2::columnRuleWidth property semi-stub implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-09 21:23:33 +02:00
Jacek Caban 647424e4bd mshtml: Add IHTMLCSSStyleDeclaration2::columnRuleStyle property semi-stub implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-09 21:23:33 +02:00
Jacek Caban fe886e6eed mshtml: Add IHTMLCSSStyleDeclaration2::columnRuleColor property semi-stub implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-09 21:23:33 +02:00
Jacek Caban a916cf2bfc mshtml: Add IHTMLCSSStyleDeclaration2::columnSpan property semi-stub implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-09 21:23:33 +02:00
Jacek Caban fe146ac7db mshtml: Add IHTMLCSSStyleDeclaration2::columnFill property semi-stub implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-09 21:23:33 +02:00
Jacek Caban 22836b0fa7 mshtml: Add IHTMLCSSStyleDeclaration2::columnWidth property semi-stub implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-09 21:23:33 +02:00
Jacek Caban 1e73766ab1 mshtml: Add IHTMLCSSStyleDeclaration2::columnWidth property semi-stub implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-09 21:23:33 +02:00
Jacek Caban 06db253e75 mshtml: Add IHTMLCSSStyleDeclaration2::columnCount property semi-stub implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-09 21:23:33 +02:00
Jacek Caban b5d0c98857 mshtml: Use DISPID_UNKNOWN for compat dispids not supported in compat mode.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-09 21:23:33 +02:00
Jacek Caban ed1a4087e8 mshtml: Add IHTMLCSSStyleDeclaration2::transition property implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-05 19:31:23 +02:00
Jacek Caban 4b29a69b1b mshtml: Add IHTMLCSSStyleDeclaration2::animationName property implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-05 19:31:20 +02:00
Jacek Caban 8d40873d02 mshtml: Add IHTMLCSSStyleDeclaration2::transform property implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-05 19:31:16 +02:00
Jacek Caban 4873dd49aa mshtml: Fix checks for digit characters.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-12 23:04:35 +01:00
Alexandre Julliard 5182813ae0 mshtml: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-13 14:34:51 +02:00
Jacek Caban 1593364466 mshtml: Factor out variant_to_nsstr from var_to_styleval.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-20 00:17:54 +02:00
Jacek Caban f0497aac0b mshtml: Return nsAString from var_to_styleval.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-20 00:17:52 +02:00
Jacek Caban 983774e3fa mshtml: Use nsAString in fix_px_value.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-20 00:17:50 +02:00
Jacek Caban 6b74a99da2 mshtml: Pass style value as nsAString to set_nsstyle_property.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-20 00:17:47 +02:00
Jacek Caban 43ae349c96 mshtml: Support SVG element style.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-28 18:44:47 +01:00
Jacek Caban 3dd1fd9c8b mshtml: Handle removeAttribute("filter") calls on detached style objects.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-27 22:06:42 +01:00
Jacek Caban 0893932970 mshtml: Add IHTMLWindow7::getComputedStyle implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-27 22:06:38 +01:00
Jacek Caban 9944c4bd68 mshtml: Propagate nsIDOMCSSStyleDeclaration errors.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-26 20:25:54 +01:00
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 9d35d09e89 mshtml: Use interface agnostic form of dispids for compat_dispid.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-26 20:25:44 +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 069d5de90a mshtml: Add IHTMLCSSStyleDeclaration::getPropertyValue implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-26 20:25:27 +01:00
Jacek Caban f4cceb1fb0 mshtml: Move IHTMLCSSStyleDeclaration2 implementation to CSSStyle object.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-25 15:57:08 +01:00
Jacek Caban 12ec83f75b mshtml: Move IHTMLCSSStyleDeclaration implementation to CSSStyle.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-25 15:57:05 +01:00
Jacek Caban 8445470266 mshtml: Move backgroundPosition[XY] properties implementation to IHTMLCSSStyleDeclaration.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-25 15:57:03 +01:00
Jacek Caban 15db389d4b mshtml: Move style zoom property implementation to IHTMLCSSStyleDeclaration.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-25 15:57:01 +01:00
Jacek Caban 153f666b64 mshtml: Pass style as CSSStyle to get_style_property_var.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-25 15:56:59 +01:00
Jacek Caban 4709d9c553 mshtml: Pass style as CSSStyle to get_style_property.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-25 15:56:56 +01:00
Jacek Caban bff44d514c mshtml: Pass style as CSSStyle to set_style_property_var.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-25 15:56:54 +01:00
Jacek Caban 989df1851d mshtml: Pass style as CSSStyle to set_style_property.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-25 15:56:52 +01:00
Jacek Caban 0097dd1c6d mshtml: Forward HTMLStyle IUnknown calls to IHTMLCSSStyleDeclaration implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-25 15:56:49 +01:00
Jacek Caban 0a073a2cbe mshtml: Move style DispatchEx to CSSStyle.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-25 15:56:47 +01:00