Jacek Caban
0a942e5d49
mshtml: Support argument type conversion for functions with dual interface arguments.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-15 21:33:07 +02:00
Jacek Caban
830c55bcf4
mshtml: Support argument type conversion for functions with IDispatch arguments.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-15 21:33:07 +02:00
Jacek Caban
64ff525b6a
mshtml: Support type conversion in functions with arguments using default values.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-15 21:33:07 +02:00
Piotr Caban
5ab0d1443c
mshtml: Don't use strncasecmp.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-02 19:23:34 +02:00
Jacek Caban
c62e96ebfc
mshtml: Implement IHTMLElement6::msMatchesSelector.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-29 21:13:43 +01:00
Jacek Caban
d9da6e642e
mshtml: Move detach_document_node call to HTMLDocumentNode_unlink.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-28 18:44:49 +01: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
394347945c
mshtml: Add IElementSelector::querySelector implementation.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-28 18:44:45 +01:00
Jacek Caban
4257a14f47
mshtml: Add IHTMLDOMNode3::get_namespaceURI implementation.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-28 18:44:43 +01:00
Jacek Caban
7858cc01b7
mshtml: Add IHTMLDocument7::createElementNS implementation.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-28 18:44:41 +01:00
Jacek Caban
9f4d05b11c
mshtml: Alloc proper BSTR size in return_nscstr.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-27 22:06:48 +01:00
Jacek Caban
46de3fcf1d
mshtml: Add IHTMLRectCollection implementation.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-27 22:06:46 +01:00
Jacek Caban
454a532359
mshtml: Add IHTMLElement::getClientRects implementation.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-27 22:06:44 +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
3886fa60e0
mshtml: Expose getComputedStyle to scripts.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-27 22:06:40 +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
78a05ca6dd
mshtml: Introduce map_nsresult and use it in return_nsstr.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-26 20:25:51 +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
Jacek Caban
66e918fc07
mshtml: Introduce new CSSStyle type as a base for different style object implementations.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-25 15:56:45 +01:00
Jacek Caban
64b5d6b3e5
mshtml: Add IHTMLWindow6::get_localStorage implementation.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-22 19:52:25 +01:00
Jacek Caban
9240ed581f
mshtml: Use get_parentWindow for IHTMLDocument2::get_Script implementation.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-21 19:33:13 +01:00
Jacek Caban
51e6cbdbd8
mshtml: Return NULL for document not attached to window in IHTMLDocument7::get_defaultView.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-21 19:33:11 +01:00
Jacek Caban
a124117f40
mshtml: Remove selection and range objects from document list when detaching.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-21 19:33:09 +01:00
Jacek Caban
18e0225afb
mshtml: Set elem_vars to NULL when detaching.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-21 19:33:07 +01:00
Jacek Caban
8be931623a
jscript: Support undefined context value in Array.prototype.map.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-20 20:17:21 +01:00
Jacek Caban
6d69c6db51
jscript: Support undefined context value in Array.prototype.forEach.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-20 20:17:15 +01:00
Jacek Caban
4bdd24292d
mshtml: Add IHTMLAnchorElement::get_host implementation.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-19 18:32:35 +01:00
Jacek Caban
971ee04c7f
mshtml: Add IHTMLAnchorElement::get_protocol implementation.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-19 18:32:33 +01:00
Jacek Caban
119b1a6922
mshtml: Add IHTMLCSSStyleDeclaration::setProperty implementation.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-19 18:32:30 +01:00
Jacek Caban
b5058ada58
jscript: Add Object.create implementation.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-18 10:09:38 +01:00
Jacek Caban
60816b9f8a
jscript: Add Array.prototype.map implementation.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-14 23:52:59 +01:00
Jacek Caban
120bf0eba9
mshtml: Get rid of no longer needed HTMLOuterWindow doc_obj pointer.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-14 23:52:59 +01:00
Jacek Caban
2a6cb251f9
mshtml: Access document object via browser object in navigate_uri.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-14 23:52:59 +01:00
Jacek Caban
da055b6456
mshtml: Access document object via browser object in navigate_new_window.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-14 23:52:59 +01:00
Jacek Caban
26d3e0c5db
mshtml: Access document object via browser object in super_navigate.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-14 23:52:59 +01:00
Jacek Caban
54323080d7
mshtml: Access document object via browser object in navigate_javascript_proc and navigate_fragment.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-14 23:52:59 +01:00
Jacek Caban
5ba1725491
mshtml: Access document object via browser object in handle_navigation_error and handle_extern_mime_navigation.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-14 23:52:59 +01:00
Jacek Caban
225b2f67b1
mshtml: Access document object via browser object in nsChannelBSC_init_bindinfo.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-14 23:52:59 +01:00
Jacek Caban
70a964d4f9
mshtml: Access document object via browser object in IBindCallbackRedirect::Redirect.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-14 23:52:59 +01:00
Jacek Caban
aa96a8de36
mshtml: Access document object via browser object in update_window_doc.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-14 23:52:59 +01:00
Jacek Caban
f75d1e6855
mshtml: Access document object via browser object in window QueryService implementation.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-14 23:52:59 +01:00
Jacek Caban
23b8df55f6
mshtml: Access document object via browser object in IHTMLPrivateWindow implementation.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-14 23:52:59 +01:00
Jacek Caban
1a85cb9368
mshtml: Access document object via browser object in IHTMLWindow2 implementation.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-14 23:52:59 +01:00
Jacek Caban
892be572cb
mshtml: Access document object via browser object in nsIChannel::AsyncOpen.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-14 23:52:59 +01:00
Jacek Caban
b0ffd08ae1
mshtml: Access document object via browser object in refresh_proc.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-14 23:52:59 +01:00
Jacek Caban
d8cff0dc6f
mshtml: Access document object via browser object in IOmHistory::get_length.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-14 23:52:58 +01:00
Jacek Caban
d95da5f249
mshtml: Access document object via browser object in IActiveScriptSiteWindow::GetWindow.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-14 23:52:58 +01:00
Jacek Caban
2b8c553cc9
mshtml: Use is_main_content_window in a few more places.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-14 23:52:58 +01:00
Jacek Caban
fc1bdc65a7
mshtml: Correctly handle documents with no window associated in IHTMLDocument2::get_location.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-13 23:40:39 +01:00
Jacek Caban
7e0e55f76f
mshtml: Add IHTMLDOMImplementation2::createHTMLDocument implementation.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-13 23:40:39 +01:00
Jacek Caban
b574cd98bd
mshtml: Bind events directly to document node for documents with no window associated.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-13 23:40:39 +01:00
Jacek Caban
d49d83a18e
mshtml: Use detach_document_node in detach_gecko_browser.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-13 23:40:39 +01:00
Jacek Caban
1d04b60446
mshtml: Don't Use HTMLDocument type in HTMLDOMNode_unlink.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-13 23:40:39 +01:00
Jacek Caban
0abe9939b8
mshtml: Move SetDesignMode call to create_document_node.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-12 20:35:19 +01:00
Jacek Caban
3f79f129ff
mshtml: Move init_editor to HTMLDocumentNode.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-12 20:35:15 +01:00
Jacek Caban
496abd052e
mshtml: Get rid of handle_edit_load.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-12 20:35:12 +01:00
Jacek Caban
34c84fd1a0
mshtml: Move cmdtable_t to HTMLDocumentNode.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-12 20:35:09 +01:00
Jacek Caban
b384f5b3a4
mshtml: Move do_ns_command to HTMLDocumentNode.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-12 20:35:05 +01:00
Jacek Caban
1ea4924e46
mshtml: Move IsDirty implementation to GeckoBrowser.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-12 20:35:02 +01:00
Jacek Caban
53e095c2e8
mshtml: Pass document node to handle_edit_event.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-12 20:34:58 +01:00
Jacek Caban
aa4d9190a0
mshtml: Move user mode to GeckoBrowser.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-12 20:34:53 +01:00
Jacek Caban
98db6a0d9b
mshtml: Move cycle collection to detach_gecko_browser.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-12 20:34:48 +01:00
Jacek Caban
96604df690
mshtml: Move script mode handling to GeckoBrowser.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-12 20:34:41 +01:00
Jacek Caban
f2a07b117a
jscript: Add Object.getPrototypeOf implementation.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-11 17:55:12 +01:00
Jacek Caban
a3037ec2f2
mshtml: Create top content window in init_browser.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-11 17:55:07 +01:00
Jacek Caban
a007de5242
mshtml: Store GeckoBrowser weak reference in HTMLOuterWindow.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-11 17:55:05 +01:00
Jacek Caban
2d8610050d
mshtml: Pass GeckoBrowser instead of HTMLDocumentObj to create_outer_window.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-11 17:55:03 +01:00
Jacek Caban
5e581621ab
mshtml: Store weak GeckoBrowser reference in HTMLDocumentNode.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-11 17:55:01 +01:00
Jacek Caban
0ebbceddaa
mshtml: Use global security manager.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-11 17:54:59 +01:00
Jacek Caban
067e982b3c
mshtml: Pass GeckoBrowser instead of HTMLDocumentObj to create_document_node.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-11 17:54:57 +01:00
Jacek Caban
521888958c
mshtml: Move child window list to inner window and detach children when detaching parent.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-11 17:54:54 +01:00
Jacek Caban
bf9dc5b3ed
mshtml: Detach more document objects in detach_inner_window.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-11 17:54:52 +01:00
Jacek Caban
eca21a38c1
mshtml: Rename NSContainer to GeckoBrowser.
...
Long term plan is to move parts of HTMLDocumentObj to GeckoBrowser and
split them in a way allowing them to run in different threads. This is
needed to move Gecko-related tasks into a separated thread to workaround
Gecko main thread limitation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-11 17:54:40 +01:00
Jacek Caban
e50ab8d6f4
mshtml: Simplify handling origin URI charset.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-08 16:24:06 +01:00
Jacek Caban
9c8162dba2
mshtml: Get rid of no longer needed is_doc_uri from nsWineURI.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-08 16:24:04 +01:00
Jacek Caban
24603b011a
mshtml: Move TranslateUrl call to before_async_open.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-08 16:24:02 +01:00
Jacek Caban
73cca44bf4
mshtml: Use channel_bsc from URI for child documents as well.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-08 16:23:59 +01:00
Jacek Caban
fc66d0ecc3
mshtml: Get rid of no longer needed windowref_t.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-08 16:23:57 +01:00
Jacek Caban
406d66f8c6
mshtml: Always use get_channel_window to get window in nsIChannel::AsyncOpen.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-08 16:23:55 +01:00
Jacek Caban
4accd13d92
mshtml: Get nsIWebProgress from notification callback if load group has no observer.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-08 16:23:52 +01:00
Jacek Caban
2678126f95
mshtml: Use load_flags instead of is_doc_uri in nsChannel implementation.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-08 16:23:49 +01:00
Jacek Caban
842207e260
mshtml: Don't store NSContainer in nsWineURI.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-06 18:28:20 +01:00
Jacek Caban
bd0c7c7af4
mshtml: Add IHTMLDOMImplementation2 stub implementation.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-04 19:36:06 +01:00
Zebediah Figura
f29317dcc2
mshtml: Open pages in the native browser in HlinkTarget_Navigate().
...
This matches native Windows behaviour as well, as demonstrated by
running the interactive hlink:hlink tests.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=44423
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-01 17:48:26 +01:00
Michael Stefaniuc
cfe8651c91
mshtml: Remove useless casts to self.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-20 18:42:42 +01:00
Jacek Caban
317d8c1674
mshtml: Expose nsIFormPOSTActionChannel interface from nsChannel object.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-15 18:54:57 +01:00
Jacek Caban
a5c79dc8a9
mshtml: Suport load event in HTMLXMLHttpRequest object.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-15 15:07:09 +01:00
Jacek Caban
91321d97cf
mshtml: Support custom user agent strings in IOmNavigator::get_appVersion.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-08 21:18:14 +01:00
Jacek Caban
71750bd80d
mstml: Add style.borderSpacing property implementation.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-08 19:20:41 +01:00
Jacek Caban
957a1f0216
mshtml: Add style.borderCollapse property implementation.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-07 23:04:08 +01:00
Michael Stefaniuc
6f9f57e85f
mshtml: Print the debug string and not the pointer to it.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-31 21:38:48 +01:00
Andrey Gusev
870598b8b0
mshtml: Remove redundant condition.
...
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-29 19:20:39 +01:00
Jacek Caban
7c2ec67d1e
mshtml: Expose IDOMCustomEvent to scripts.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-25 23:09:08 +01:00
Jacek Caban
757c3025c1
mshtml: Add IDOMCustomEvent::detail property implementation.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-25 23:09:08 +01:00
Jacek Caban
7e15e49495
mshtml: Add IDOMCustomEvent::initCustomEvent implementation.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-25 23:09:08 +01:00
Jacek Caban
57cf4a38ac
mshtml: Add IDOMCustomEvent interface stub implementation.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-24 16:26:05 +01:00
Jacek Caban
cda846b8cb
jscript: Add Array.prototype.forEach implementation.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-05 22:33:43 +01:00
Jacek Caban
0cc68cf82a
jscript: Add interpreter support for getters and setters in object initializer.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-03 10:50:28 +01:00
Alex Henrie
31deafe153
mshtml: Turn several constants and variables into static constants.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-30 19:36:51 +01:00
Jacek Caban
1fc9b2e934
jscript: Support undefined separator in String.split implementation.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-30 19:36:51 +01:00
Jactry Zeng
8780a4fa6d
mshtml: Load xul with LOAD_LIBRARY_SEARCH_DLL_LOAD_DIR.
...
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-30 19:36:51 +01:00
Jacek Caban
481360f472
mshtml: Return S_OK in IHTMLDocument2::put_charset.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=38189
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-17 17:33:42 +02:00
Jacek Caban
adcb216208
mshtml: Try to avoid use_event_quirks in call_event_handlers if possible.
...
It may cause an unintended lock on document mode.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-16 22:26:07 +02:00
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
Piotr Caban
29674a2c34
mshtml: Support retrieving command output in Exec(OLECMDID_OPTICAL_ZOOM).
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-03 16:25:44 -05:00
Francois Gouget
0d5ee7c507
mshtml: Make HTMLStyle_init_dispex_info() 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>
2018-09-17 15:37:51 +02:00
Jacek Caban
f274a198d2
mshtml: Expose CSS properties names from style object via IHTMLCSSStyleDeclaration dispids.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-12 23:15:38 +02:00
Jacek Caban
2e6598dc39
mshtml: Expose IHTMLCSSStyleDeclaration interface to scripts.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-12 23:15:36 +02:00
Jacek Caban
d35e6feafa
mshtml: Use dispex_compat_mode in update_filter.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-12 23:15:34 +02:00
Jacek Caban
9d22dc476f
mshtml: Added IHTMLCSSStyleDeclaration::styleFloat property implementation.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-10 17:35:44 +02:00
Jacek Caban
9269cda82b
mshtml: Added IHTMLCSSStyleDeclaration::removeProperty implementation.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-07 18:18:27 +02:00
Jacek Caban
78b8ee543f
mshtml: Added IHTMLCSSStyleDeclaration::get_cssText implementation.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-07 18:18:12 +02:00
Jacek Caban
45f8c03cc7
mshtml: Added IHTMLCSSStyleDeclaration::put_cssStyle implementation.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-07 18:18:10 +02:00
Jacek Caban
78d0aab45b
mshtml: Added IHTMLCSSStyleDeclaration::cssFloat property implementation.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-07 18:18:08 +02:00
Jacek Caban
f072744bc5
mshtml: Add IHTMLCSSStyleDeclaration2 stub implementation.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-06 17:07:15 +02:00
Jacek Caban
619e15a3e6
mshtml: Added IHTMLCSSStyleDeclaration::zoom property implementation.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-06 17:07:15 +02:00
Jacek Caban
042fbbc5f3
mshtml: Added IHTMLCSSStyleDeclaration::opacity property implementation.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-06 17:07:15 +02:00
Jacek Caban
6ebfbcc687
mshtml: Added IHTMLCSSStyleDeclaration::backgroundClip property implementation.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-06 17:07:15 +02:00
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