Commit Graph

3980 Commits

Author SHA1 Message Date
Jacek Caban 827b23ed49 mshtml: Implement known IHTMLCSSStyleDeclaration BSTR properties.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-31 17:03:21 +02:00
Jacek Caban 587dcf6e35 mshtml: Implement known IHTMLCSSStyleDeclaration VARIANT properties.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-31 17:03:19 +02:00
Jacek Caban ddf29f93bb mshtml: Added IHTMLCSSStyleDeclaration stub implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-31 17:03:17 +02: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 1f122a29d9 mshtml: Skip var_to_nsstyle fixups 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 ec13283af2 mshtml: Skip set_style_property fixups 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 7732b87901 mshtml: Move value fixups to set_style_property.
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 59f333307e mshtml/tests: Run style tests in IE9 mode.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-28 13:30:34 +02:00
Jacek Caban b79b70f808 mshtml: Use generic value checks for IHTMLStyle::put_overflow implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-28 13:30:32 +02:00
Jacek Caban 8b9d570571 mshtml: Use generic value checks for IHTMLStyle::put_border*Style implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-28 13:30:30 +02:00
Jacek Caban 9cbf3dd83d mshtml: Use generic value checks for IHTMLStyle::put_textDecoration implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-28 13:30:27 +02:00
Jacek Caban 56d75ce16a mshtml: Use generic value checks for IHTMLStyle::put_backgroundRepeat implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-28 13:30:24 +02:00
Jacek Caban dd8f202e05 mshtml: Use generic value checks for IHTMLStyle::put_fontWeight implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-28 13:30:20 +02:00
Jacek Caban ab2bd77c08 mshtml: Use generic value checks for IHTMLStyle::put_fontVariant implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-28 13:30:13 +02:00
Jacek Caban 4c59ce88fa mshtml: Support using array to check for allowed values and use it in IHTMLStyle::put_fontStyle implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-28 13:30:09 +02:00
Jacek Caban a471f648ca mshtml: Pass style id instead of flags to var_to_styleval.
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 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 45e2ae4b74 mshtml: Introduce get_style_property_var helper and use it instead of get_nsstyle_attr_var in HTMLStyle implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-27 15:16:45 +02:00
Jacek Caban c49d9d021f mshtml: Use get_style_property instead of get_nsstyle_attr in HTMLStyle object.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-27 15:16:45 +02:00
Jacek Caban 815370a841 mshtml: Rename get_style_attr to get_style_property.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-27 15:16:45 +02:00
Jacek Caban 5ea4f31861 mshtml: Refactor setting style property value implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-27 15:16:45 +02:00
Jacek Caban d7e1b9c085 mshtml: Clean up set_style_property_var prototype.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-27 15:16:45 +02:00
Jacek Caban c5e54a1ea1 mshtml: Store style property flags in an array and use it in set_nsstyle_attr and get_nsstyle_attr_var.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-27 15:16:45 +02:00
Michael Stefaniuc 12b85004aa mshtml: Use the ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Jacek Caban<jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-24 10:28:28 +02:00
Jacek Caban a660f673cb mshtml: Use DWORD for event id argument in node-specific event handlers.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-16 21:28:44 +02:00
Jacek Caban 47df11ab6e mshtml: Expose window.performance property to scripts.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-11 21:52:52 +02:00
Jacek Caban 69d6ae3d8c mshtml: Add IHTMLPerformance::timing property implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-11 21:52:49 +02:00
Jacek Caban dcfdcfea69 mshtml: Add IHTMLPerformance::navigation property implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-11 21:52:47 +02:00
Jacek Caban 83f845dfa1 mshtml: Added IHTMLWindow7::performance property implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-14 23:20:11 +02:00
Jacek Caban 8c48c632fc mshtml.idl: Added IHTMLPerformance test.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-13 22:13:27 +02:00
Jacek Caban 6f3f291c09 mshtml: Support input event.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-12 14:38:08 +02:00
Jacek Caban dac8036fb6 mshtml/tests: Silence noisy traces.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-11 18:13:22 +02:00
Michael Stefaniuc 6bc984a600 mshtml/tests: Use the available ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-11 16:34:06 +02:00
Jacek Caban d3a71dec7e mshtml: Use proper document mode for document fragment objects.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-30 22:26:49 +02:00
Jacek Caban c36bbc352e mshtml: Use case insensitive comparition in parse_ua_compatible.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-30 22:26:49 +02:00
Jacek Caban 16ba7f4444 jscript: Added String.trim implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-25 19:40:22 +02:00
Jacek Caban ca313f57b1 mshtml: Expose IHTMLWindow7 interface to scripts.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-18 16:30:25 +02:00
Jacek Caban 127df7021d mshtml: Added IHTMLWindow7::innerWidth and innerHeight implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-18 16:30:23 +02:00
Jacek Caban b86825acf7 mshtml: Implement supported IHTMLWindow7 event properties.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-18 01:44:06 +02:00
Jacek Caban a30a445214 mshtml: Added IHTMLWindow7 stub implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-18 01:44:02 +02:00
Jacek Caban a67a3305d6 mshtml/tests: Added more COM aggregation tests.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-15 15:33:34 +02:00
Jacek Caban b952590f93 mshtml: Properly support COM aggregation in about and res protocol handlers.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-15 15:33:32 +02:00
Jacek Caban 6c91835400 mshtml: Share more code between res and about protocol handlers.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-15 15:33:16 +02:00
Jacek Caban 3f9038c6fc mshtml: Share the same structure for about and res protocols.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-15 15:33:14 +02:00
Jacek Caban ff829f0beb jscript: Support setting accessor property value.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-15 15:33:12 +02:00
Jacek Caban fd91fe52b7 jscript: Support getting value of accessor property.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-15 15:33:08 +02:00
Jacek Caban d8aa26f660 jscript: Support accessor properties in getOwnPropertyDescriptor.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-15 15:33:06 +02:00