Commit Graph

88 Commits

Author SHA1 Message Date
Jacek Caban 5489529f4e mshtml: Support registry configuration for maximal allowed compatibility mode.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-09 12:40:58 +02:00
Jacek Caban 89f5a9df39 mshtml: Use set_document_mode in process_document_response_headers.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-03 16:25:59 -05: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 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 667b3f0dff mshtml: Use IE8 compatibility mode for documents in standards mode in internet zone.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-01 19:27:11 +01:00
Jacek Caban 9ae8b8c00f mshtml: Support X-UA-Compatible HTTP header.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-26 20:18:34 +01:00
Jacek Caban dd78fd0966 mshtml: Set SCRIPTPROP_INVOKEVERSIONING based on document mode value.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-22 21:46:28 +01:00
Jacek Caban 67de587f60 mshtml: Properly handle conditional comments in IE9+ modes.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-22 21:46:28 +01:00
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 0666c6c2fd mshtml: Pass Gecko element as nsIDOMElement to check_event_attr.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-13 09:07:15 +01:00
Francois Gouget 89eddb2ded mshtml: A spelling fix in a WARN() message.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-08 16:23:14 +02:00
Jacek Caban 53253aa6a4 mshtml: Don't allow changing document mode after script insertion or when it's already set.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-08-24 08:41:18 +09:00
Jacek Caban d3d8d4f37a mshtml: Use IE version dependent on compatibility mode for conditional comments.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-09 16:37:43 -05:00
Jacek Caban ce80f1e49d mshtml: Added separated IE5 and quicks mode compatibility mode.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-09 16:37:42 -05:00
Jacek Caban cad03646c5 mshtml: Added edge compatibility mode support.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-24 15:29:42 +02: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 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 6614df04a8 mshtml: Set compatibility mode based on doctype.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-06 11:54:27 +09:00
Jacek Caban bda4b35aa3 mshtml: Store compatibility mode provided by meta element.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-06 11:54:16 +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 db105f08d2 mshtml: Wine Gecko 2.44 release.
Includes fixes by Sebastian Lackner.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-01 17:53:39 +09:00
Jacek Caban f5e3281a80 mshtml: Wine Gecko 2.34 release. 2014-11-03 20:52:52 +09:00
Jacek Caban df62eea186 mshtml: Use get_elem_attr_value helper in check_event_attr. 2014-06-11 13:04:17 +02:00
Jacek Caban c345023efe mshtml: Added more traces to nsDocumentObserver_BindToDocument. 2014-01-10 18:14:59 +01:00
Jacek Caban 9fd6401898 mshtml: Pass proper JSContext to nsIDOMHTMLDocument::Write and Open. 2013-04-29 14:55:48 +02:00
Jacek Caban 8f323e9b91 mshtml: Store IWebBrowserApp reference in HTMLDocumentObj. 2013-04-15 17:47:32 +02:00
Jacek Caban af6c518e7d mshtml: Use lazy allocation for connection points. 2013-03-15 16:18:05 +01:00
Jacek Caban cf2a24df07 mshtml: Get rid of remaining PRInt32 usage. 2013-01-18 14:46:42 +01:00
Jacek Caban ba521ffcb7 mshtml: Don't check if script element was already parsed in doc_insert_script. 2013-01-15 14:38:50 +01:00
Jacek Caban 136b738b50 mshtml: Wine Gecko 1.9 release. 2013-01-09 17:45:49 +01:00
Jacek Caban 1cc3cf1b64 mshtml: Added exec_refresh implementation. 2012-11-12 16:35:15 +01: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 fdbbaa1ff5 mshtml: Return early from BindToDocument if possible. 2012-10-16 20:40:52 +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 d40b1ae8dc mshtml: Added support for script 'for' and 'event' attributes. 2012-10-02 16:01:43 +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 8b69ff6b3b mshtml: Use inner window directly in run_insert_script. 2012-07-30 17:57:48 +02:00
Jacek Caban 6d2902f680 mshtml: Use inline wrappers and fixed found warnings. 2012-07-26 13:40:40 +02:00
Jacek Caban bb02767f15 mshtml: Moved script_hosts from HTMLOuterWindow to HTMLInnerWindow. 2012-06-25 17:45:21 +02:00
Jacek Caban 08964ede45 mshtml: Added separated types for outer and inner HTML windows. 2012-06-25 17:45:19 +02:00
Jacek Caban 7ebcb1820e mshtml: Keep reference in node returned from get_node. 2012-06-25 17:45:18 +02:00
Jacek Caban 4983a663a5 mshtml: Get rid of remaining PRBool usages. 2012-03-15 19:54:56 +01:00
Jacek Caban 23c6fddea3 mshtml: Wine Gecko 1.5 release. 2012-03-14 17:35:03 +01:00
Jacek Caban 38371bed29 mshtml: Fixed nsEventStates handling.
It contains a copy-constructor in C++, so it's passed as a pointer.
2011-11-30 14:57:11 +01:00
Jacek Caban f86abedb40 mshtml: Properly handle navigation in containers supporting IWebBrowserApp. 2011-11-15 19:37:31 +01:00
Jacek Caban bf4b869152 mshtml: Wine Gecko 1.3 release. 2011-08-23 18:16:44 +02:00
Jacek Caban fe105adff0 mshtml: Use replace_node_by_html instead of document.write for conditional comments. 2011-06-17 19:30:45 +02:00