Commit Graph

54 Commits

Author SHA1 Message Date
Jacek Caban dfc13245f1 mshtml: Get rid of no longer needed document argument from script_elem_from_nsscript.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-19 16:57:53 +01:00
Jacek Caban 69af9a4c9d mshtml: Get rid of no longer needed document argument in get_node.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-19 16:57:53 +01: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 3e4565f5d7 mshtml: Pass Gecko elements as nsIDOMElement to element constructors.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-12 11:02:38 +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 353d9d826a mshtml: Simplify IHTMLElement::click implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-12 15:59:40 +02:00
Jacek Caban 97c71b25fe mshtml: Added GetClassInfo implementation for HTMLElement objects.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-21 13:58:51 +02:00
Jacek Caban b1f4bf1d7d mshtml: Load dynamically created script elements asynchronously.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-20 11:03:12 +09:00
Jacek Caban 8ccc38cb55 mshtml: Set interactive script ready state change in the right places.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-20 11:03:10 +09:00
Jacek Caban 5b1affa446 mshtml: Moved script execution logic from HTMLScriptElement::put_src to script BSC.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-20 11:03:06 +09:00
Jacek Caban f73f884884 mshtml: Store external script text in HTMLScriptElement object.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-20 11:03:01 +09:00
Jacek Caban 339ebdb11d mshtml: Use bind_to_tree callback to parse dynamically added scripts.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-20 11:02:54 +09:00
Jacek Caban d72d640308 mshtml: Export IElementSelector for all elements in compatibility mode >= IE8.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-07 19:58:13 +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
Jacek Caban f908f03cd9 mshtml: Added new EventTarget struct representing event targets. 2015-05-15 18:05:27 +09:00
Jacek Caban 4dea0b258c mshtml: Added IHTMLScriptElement:onerror property semi-stub implementation. 2014-11-06 23:47:15 +09:00
Jacek Caban 37869b7a08 mshtml: Added IHTMLScriptElement::get_readyState implementation. 2014-10-09 17:37:23 +02:00
Jacek Caban b2c65c296f mshtml: Don't assume that nsIDOMHTML*Element interfaces inherit from nsIDOMHTMLElement in htmlscript.c. 2014-10-01 11:30:03 +02:00
Jacek Caban e391dfc8ae mshtml: Don't share nsscript reference with nsnode. 2014-09-26 18:03:05 +02:00
Jacek Caban af6c518e7d mshtml: Use lazy allocation for connection points. 2013-03-15 16:18:05 +01:00
Jacek Caban 1aa8742da7 mshtml: Added IHTMLScriptElement::put_text implementation. 2013-01-15 14:38:54 +01:00
Jacek Caban 95f3c6402a mshtml: Added IHTMLScriptElement::get_text implementation. 2012-11-13 16:54:54 +01:00
Jacek Caban 1dae62f0a9 mshtml: Fixed trace message. 2012-10-17 14:01:52 +02:00
Jacek Caban b882b18402 mshtml: Added support for IHTMLScriptElement::put_src on detached elements. 2012-10-16 20:41:05 +02:00
Jacek Caban ccbee09f7e mshtml: Added support for IHTMLScriptElement::put_src calls during parser callback. 2012-10-16 20:40:58 +02:00
Jacek Caban 680aca56ef mshtml: Added beginning IHTMLScriptElement::put_src implementation. 2012-10-16 20:40:42 +02:00
Jacek Caban 51b701c3ad mshtml: Moved HTMLScriptElement declaration to separated header. 2012-10-16 20:40:28 +02:00
Jacek Caban 4503edd614 mshtml: Store information if script was already parsed in script element object. 2012-10-02 16:01:35 +02:00
Jacek Caban f63da13c28 mshtml: Added IHTMLWindow2::onhelp property implementation. 2012-09-04 15:06:28 +02:00
Jacek Caban f2b3220854 mshtml: Share nsscript reference with nsnode. 2012-06-28 01:39:11 +02:00
Jacek Caban 16a5a5c91b mshtml: Use return_nsstr helper in more functions. 2012-04-13 16:09:43 +02:00
Jacek Caban 21f5ef2808 mshtml: Improved more VARIANT debug traces. 2012-03-28 14:56:39 +02:00
Jacek Caban 4983a663a5 mshtml: Get rid of remaining PRBool usages. 2012-03-15 19:54:56 +01:00
Piotr Caban bea3154f48 mshtml: Added IHTMLAttributeCollection stub. 2011-08-26 12:00:09 +02:00
Jacek Caban 6d7667894e mshtml: Added possibility for node implementations to add default event handlers. 2011-08-02 11:51:06 +02:00
Michael Stefaniuc 0b66169a05 mshtml: COM cleanup for the IDispatchEx iface in DispatchEx. 2010-12-31 11:47:31 +01:00
Michael Stefaniuc f653f4a22e mshtml: COM cleanup for the IHTMLDOMNode iface. 2010-12-30 12:21:53 +01:00
Jacek Caban f52e0a776f mshtml: Don't use DEFINE_THIS2 for HTMLDOMNode vtbl functions. 2010-12-28 16:35:39 +01:00
Jacek Caban 96efe799c1 mshtml: Added IHTMLScriptElement::get_scr implementation. 2010-12-17 13:26:02 +01:00
Michael Stefaniuc 2c04cfdb4e mshtml: Use an iface instead of a vtbl pointer in HTMLScriptElement. 2010-12-07 11:39:43 +01:00
Jacek Caban ecc551b911 mshtml: Improved error handling in element constructors. 2010-12-02 11:58:40 +01:00
Jacek Caban f351dc5e74 mshtml: Moved cloneNode implementation to vtbl. 2010-11-15 13:20:06 +01:00
Adam Petaccia a7c9ae4d08 mshtml: Implement HTMLScriptElement_put_type. 2010-02-26 14:19:00 +01:00
Jacek Caban 7bf41fac63 mshtml: Added script element IDispatchEx support. 2010-01-28 11:10:06 +01:00
Jacek Caban 9881ec35eb mshtml: Added IHTMLElement2::get_readyState implementation. 2009-12-01 11:34:23 +01:00
Jacek Caban d3a9f162e8 mshtml: Moved whole element initialization to HTMLElement_Init. 2009-11-03 21:23:12 +01:00
Jacek Caban a70bbf8285 mshtml: Moved init_dispex call to HTMLElement_Init. 2009-10-02 15:06:58 +02:00
Michael Stefaniuc 25e90e2251 mshtml: Remove superfluous pointer casts. 2009-02-16 16:01:37 +01:00
Alistair Leslie-Hughes de5bbbc2ff mshtml: Implement IHTMLScriptElement get/put Defer. 2008-12-12 12:01:36 +01:00
Alistair Leslie-Hughes c8a0e7899e mshtml: Implement IDispatch for IHTMLScriptElement. 2008-09-09 11:46:18 +02:00