Commit Graph

3394 Commits

Author SHA1 Message Date
Francois Gouget ec8002425a mshtml: Make create_document_fragment() static. 2015-01-05 20:16:50 +01:00
Jacek Caban 127aa62a70 mshtml: Use document encoding for scripts. 2014-12-30 15:57:43 +01:00
Jacek Caban 00d36ac945 mshtml: Use new range point representation in all cases. 2014-12-29 22:20:29 +01:00
Jacek Caban 4ef4ebaac7 mshtml: Use new end point representation in IHTMLTxtRange::expand("word") implementation. 2014-12-29 22:20:29 +01:00
Jacek Caban 26dd5f5672 mshtml: Reimplemented IHTMLTxtRange::moveStart using new range point representation. 2014-12-29 22:20:29 +01:00
Jacek Caban 3944fada4b mshtml: Introduced new representation of range point and use that in range_to_string instead of trying to iterate by nodes. 2014-12-29 22:20:29 +01:00
Jacek Caban fecbc88daf mshtml: Allow '#' to be the first char of resource name in res protocol. 2014-12-24 16:57:49 +01:00
Jacek Caban 5135144d3a mshtml: Correctly handle NULL active element in IHTMLDocument2::get_activeElement. 2014-12-24 14:31:28 +01:00
Jacek Caban 0d0110970e mshtml/tests: Added script element readyState and onreadystatechange tests. 2014-12-24 14:31:22 +01:00
Jacek Caban f4b6852278 mshtml: Delay onreadystateevent notification if script elemenet is not added by parser. 2014-12-24 14:31:13 +01:00
Jacek Caban 71ce8aaafe mshtml: Flush pending document node tasks before firing onload event. 2014-12-24 14:31:09 +01:00
Jacek Caban 94fcaad703 mshtml: Use standard list to store task queue. 2014-12-24 14:30:58 +01:00
Jacek Caban df63590706 mshtml: Added screenLeft and screenTop properties implementation. 2014-12-24 11:15:00 +01:00
Jacek Caban 807c716dd1 mshtml: Added nsIEmbeddingSiteWindow::GetDimensions implementation. 2014-12-24 11:14:54 +01:00
Jacek Caban 8bfbe61386 mshtml: Treat empty bstrHref as not specified in IHTMLDocument2::createStyleSheet. 2014-12-23 17:20:56 +01:00
Jacek Caban c1afef340c mshtml: Added IHTMLElement::get_isTextEdit implementation. 2014-12-22 13:33:02 +01:00
Jacek Caban 278daad3bd mshtml: Include nsbody reference in cycle collection. 2014-12-22 13:32:59 +01:00
Jacek Caban b69550ab34 mshtml: Added IHTMLDOMTextNode::splitText implementation. 2014-12-22 13:31:55 +01:00
Andrew Eikum 8df2774124 mshtml: Support new window targets for FORM elements. 2014-12-16 16:32:34 +01:00
Jacek Caban 347842a6a1 mshtml: Added IHTMLElement4::focusin semi-stub implementation. 2014-12-16 13:33:05 +01:00
Jacek Caban e41f435c47 mshtml: Handle VT_ERROR in IHTMLSelectElement::add. 2014-12-16 13:33:02 +01:00
Jacek Caban f95e7a4ed3 mshtml: Improved IHTMLStyle3::zoom stub. 2014-12-15 19:16:55 +01:00
Jacek Caban 76f7be04c7 mshtml: Added IHTMLStyle::styleFloat attribute implementation. 2014-12-15 19:16:54 +01:00
Jacek Caban 0bfe8b441a mshtml: Resolve duplicated IDispatch entries as soon as they are processed. 2014-12-15 13:40:18 +01:00
Jacek Caban da9fa9e80c mshtml: Added IHTMLObjectElement2::put_classid semi-stub implementation. 2014-12-11 16:41:35 +01:00
Jacek Caban 5bce604451 mshtml: Do more initialization in create_plugin_host. 2014-12-11 16:41:33 +01:00
Jacek Caban 2ff987322f mshtml: Create ActiveX object inside create_plugin_host. 2014-12-11 16:41:31 +01:00
Jacek Caban a545fe08ad mshtml: Pass HTMLPluginContainer to create_plugin_host. 2014-12-11 16:41:28 +01:00
Jacek Caban 44c22801e3 mshtml: Added support for IDM_CUT command in browser mode. 2014-12-10 19:32:33 +01:00
Jacek Caban 935e7f059e mshtml: Added support for IDM_PASTE command in browser mode. 2014-12-10 19:32:32 +01:00
Jacek Caban 6b463d8509 mshtml: Added support for copy, paste and cut commands in execCommand. 2014-12-10 19:32:32 +01:00
Jacek Caban 55ce76c181 mshtml: Mark mousedown event as cancelable. 2014-12-10 19:32:31 +01:00
Jacek Caban 7eddb864b3 mshtml: Allow setting fontWeight to empty string. 2014-12-08 17:30:51 +01:00
André Hentschel 93b36efe61 mshtml/tests: Remove unused variable (Clang). 2014-12-02 10:30:54 +01:00
Jacek Caban 1454e302a8 mshtml: Added support for flag 2 in getAttribute. 2014-12-01 18:34:22 +01:00
Jacek Caban 71cb0cea74 mshtml: Added "indent" command support to execCommand. 2014-12-01 18:34:17 +01:00
Jacek Caban 2c2f576163 mshtml: Added more attribute and IDispatchEx tests. 2014-11-28 17:06:11 +01:00
Jacek Caban 53e9acbf28 mshtml: style attribute is a special case for setAttribute and removeAttribute. 2014-11-28 17:06:06 +01:00
Jacek Caban 96f628175d mshtml: Correctly handle flags in IHTMLElement:getAttribute. 2014-11-28 17:06:03 +01:00
Jacek Caban 0bb1ed4101 mshtml: Correctly handle flags in IHTMLElement:setAttribute. 2014-11-28 17:06:01 +01:00
Jacek Caban 5f913d5afb mshtml: Better removeAttribute implementation. 2014-11-28 17:05:58 +01:00
Jacek Caban 275a231fbb mshtml: Allow setting function properties to any VARIANT type. 2014-11-28 17:05:55 +01:00
Jacek Caban 6a74a0785a mshtml: Always ignore DISPATCH_PROPERTYPUTREF in InvokeEx. 2014-11-28 17:05:45 +01:00
Jacek Caban c910c8ceed mshtml: Added fontname command support to execCommand. 2014-11-26 17:35:12 +01:00
Jacek Caban 53d2778f97 mshtml/tests: Fixed some test failures. 2014-11-25 19:49:43 +01:00
Jacek Caban 20b3aa6244 mshtml: Added IHTMLTxtRange::setEndPoint implementation. 2014-11-25 19:49:28 +01:00
Jacek Caban a0d1d8cd27 mshtml: Added IHTMLDocument2::execCommand implementation. 2014-11-25 16:35:05 +01:00
Jacek Caban d90016ffed mshtml: Improved IDM_RESPECTVISIBILITY_INDESIGN stub. 2014-11-25 16:35:04 +01:00
Jacek Caban 5ecea72a50 mshtml: Added IHTMLTextNode2::appendData implementation. 2014-11-21 23:45:18 +09:00
Jacek Caban ec97e3fd57 mshtml: Don't try to null terminate post data if it's not available. 2014-11-21 18:11:40 +09:00
Jacek Caban 6485a67a90 mshtml: Merge htmlelem3.c into htmlelem.c. 2014-11-21 18:11:37 +09:00
Jacek Caban 9a68ef40dd mshtml: Added nsIURI::GetPrePath implementation. 2014-11-20 23:40:41 +09:00
Jacek Caban bcce460f9e mshtml: Added missing nsIHttpChannelInternal functions. 2014-11-20 23:40:40 +09:00
Jacek Caban 504872741c mshtml: Added HTMLFrameBase2::allowTransparency semi-stub implementation. 2014-11-20 22:34:24 +09:00
Jacek Caban d3714ba72d mshtml: Added IHTMLDOMTextNode2 stub interface. 2014-11-20 22:34:20 +09:00
Jacek Caban 516ed8e712 mshtml: Added IHTMLFrameBase::get_src implementation. 2014-11-19 01:17:22 +09:00
Jacek Caban 49c7277505 mshtml: Added support for IHTMLFrameBase::put_src call on detached element. 2014-11-19 01:17:18 +09:00
Jacek Caban 90017fb3d8 mshtml: Added IHTMLStyleSheet::cssText tests. 2014-11-19 01:17:05 +09:00
Jacek Caban cc8d9f238d mshtml: Added IHTMLStyleSheet::cssText property partial implementation. 2014-11-19 01:17:03 +09:00
Jacek Caban ffd313543f mshtml: Fixed tests on recent IEs. 2014-11-13 21:04:36 +09:00
Jacek Caban 6fc5977241 mshtml: Properly handle errors in IHTMLStyleSheet::get_rules now that Gecko part is fixed. 2014-11-13 21:04:35 +09:00
Jacek Caban e567f309bf mshtml: Added IHTMLTxtRange::pasteHTML implementation. 2014-11-13 16:28:58 +09:00
Jacek Caban d619fd2d0e mshtml: Added IHTMLElement2::put_dir implementation. 2014-11-13 16:28:49 +09:00
Jacek Caban 1e4cd8f533 mshtml: Moved IHTMLElement2 implementation to htmlelem.c. 2014-11-13 16:28:31 +09:00
Jacek Caban 41e3de93c3 mshtml: Added IHTMLTxtRange::moveToElementText implementation. 2014-11-13 16:27:50 +09:00
Jacek Caban 83ceee7424 mshtml: Ignore query and hash parts in res protocol handler. 2014-11-11 19:39:19 +09:00
Jacek Caban b84bc52b71 mshtml: Added support for IDispatchEx to HTMLSelectionObject object. 2014-11-11 19:39:02 +09:00
Jacek Caban dcfa250cd2 mshtml: Added IDispatchEx support to HTMLTxtRange object. 2014-11-11 19:38:58 +09:00
Jacek Caban 4dea0b258c mshtml: Added IHTMLScriptElement:onerror property semi-stub implementation. 2014-11-06 23:47:15 +09:00
Jacek Caban c19b6dbf6b mshtml: Added IHTMLTable:cellPadding property implementation. 2014-11-06 23:47:14 +09:00
Chen Yuan 9c7b91336a mshtml: Add IHTMLStyle5::maxHeight property implementation. 2014-11-06 23:47:10 +09:00
Chen Yuan 94209192e7 mshtml: Add IHTMLStyle5::maxWidth property implementation. 2014-11-06 23:47:10 +09:00
Jacek Caban f5e3281a80 mshtml: Wine Gecko 2.34 release. 2014-11-03 20:52:52 +09:00
Jacek Caban 0506a52266 mshtml: Don't call stop_binding in error cases in start_binding. 2014-10-30 11:54:58 +09:00
Jacek Caban 114f32c8b6 mshtml: Return S_OK in IHTMLDocument3::recalc. 2014-10-20 14:02:20 +09:00
Jacek Caban 57243f0dec mshtml: Added HTMLTextAreaElement::get_form implementation. 2014-10-15 21:31:11 +09:00
Qian Hong ef63bacf2d mshtml: Add DIID_DispHTMLFormElement support for HTMLFormElement_QI. 2014-10-13 18:11:29 +09:00
Jacek Caban 0d023f1968 mshtml: Use proper codepage in nsIIOService::NewURI. 2014-10-13 18:10:28 +09:00
Jactry Zeng d165c05f27 mshtml/tests: Fix typo. 2014-10-13 18:10:20 +09:00
Jacek Caban c6c0c6b52a mshtml: Added IHTMLElement::language property implementation. 2014-10-13 18:09:51 +09:00
Jacek Caban 37869b7a08 mshtml: Added IHTMLScriptElement::get_readyState implementation. 2014-10-09 17:37:23 +02:00
Jacek Caban d11abc0992 mshtml: Added support for onreadystatechange event for script elements. 2014-10-09 17:37:12 +02:00
Jacek Caban 8a9d4cf147 mshtml: Use IUri for script binding. 2014-10-09 17:37:10 +02:00
Jacek Caban 845f5cccf0 mshtml: Moved READYSTATE to string conversion to separated function. 2014-10-09 17:37:08 +02:00
Jacek Caban 87efdc3047 mshtml: Moved script binding callback to script.c. 2014-10-09 17:37:06 +02:00
Jacek Caban 7e4db7df48 mshtml: Moved BOM enum to binding.h. 2014-10-09 17:37:04 +02:00
Jacek Caban 013b403c58 mshtml: Don't assume that nsIDOMHTMLScriptElement inherits from nsIDOMHTMLElement in get_script_guid. 2014-10-02 16:58:58 +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 256204d876 mshtml: Don't assume that nsIDOMHTML*Element interfaces inherit from nsIDOMHTMLElement in htmloption.c. 2014-10-01 11:30:02 +02:00
Jacek Caban f30f506d22 mshtml: Don't assume that nsIDOMHTML*Element interfaces inherit from nsIDOMHTMLElement in htmlinput.c. 2014-10-01 11:29:59 +02:00
Jacek Caban 9550189b4f mshtml: Removed no longer needed assert. 2014-09-30 17:37:01 +02:00
Jacek Caban fc38aea9ba mshtml: Don't assume that nsIDOMHTMLElement inherits from nsIDOMNode in HTMLDocument_createStyleSheet.
This will change after the next Gecko update.
2014-09-30 17:37:01 +02:00
Jacek Caban 07751840ac mshtml: Use proper type for text node in exec_hyperlink. 2014-09-30 17:37:00 +02:00
Francois Gouget 0dd5cb1cef Assorted spelling fixes. 2014-09-29 10:36:36 +02:00
Jacek Caban 857a35e2a7 mshtml: Use UTF-8 encoding in NewURI by default. 2014-09-26 22:42:03 +02:00
Jacek Caban cf8eacf1c1 mshtml: Don't share nsbutton reference with nsnode. 2014-09-26 18:03:11 +02:00
Jacek Caban 1e9f33924b mshtml: Don't share nsrow reference with nsnode. 2014-09-26 18:03:07 +02:00
Jacek Caban e391dfc8ae mshtml: Don't share nsscript reference with nsnode. 2014-09-26 18:03:05 +02:00
Jacek Caban 23fc0dc8e8 mshtml: Don't share nsimg reference with nsnode. 2014-09-26 18:02:56 +02:00
Hao Peng 268b22e5e8 mshtml: Add IHTMLAnchorElement::search propertyimplementation. 2014-09-26 18:02:51 +02:00
Jacek Caban b472a1f3f4 mshtml: Don't share nsobject reference with nsnode. 2014-09-25 13:44:26 +02:00
Jacek Caban d2a97e73eb mshtml: Don't share nscell reference with nsnode. 2014-09-25 13:44:24 +02:00
Jacek Caban e5e0fc3019 mshtml: Don't share nstable reference with nsnode. 2014-09-25 13:44:22 +02:00
Jacek Caban 556b2ad0c5 mshtml: Don't share nstextarea reference with nsnode. 2014-09-25 13:44:21 +02:00
Jacek Caban 01e09bbb47 mshtml: Don't share nsoption reference with nsnode. 2014-09-25 13:44:19 +02:00
Jacek Caban cac39acbe3 mshtml: Don't share nsselect reference with nsnode. 2014-09-25 13:44:17 +02:00
Jacek Caban 29205426a7 mshtml: Don't share nsanchor reference with nsnode. 2014-09-25 13:44:15 +02:00
Jacek Caban a57d87d265 mshtml: Don't share nslink reference with nsnode. 2014-09-24 16:13:55 +02:00
Jacek Caban 316417cc3d mshtml: Don't share nsstyle reference with nsnode. 2014-09-24 16:13:54 +02:00
Jacek Caban 727c1ceb1e mshtml: Don't share nsframe and nsiframe reference with nsnode. 2014-09-24 16:13:52 +02:00
Jacek Caban 5f149f52d1 mshtml: Don't share nsinput reference with nsnode. 2014-09-24 16:13:50 +02:00
Jacek Caban c0f8d17c05 mshtml: Don't share nsform reference with nsnode. 2014-09-24 16:13:47 +02:00
Qian Hong d62f0f5e63 mshtml: Don't pass NULL string pointer to jscript engine. 2014-09-23 13:02:22 +02:00
Qian Hong 2eeffe8acd mshtml: Using UTF-8 as default charset in bind_mon_to_wstr. 2014-09-22 19:09:58 +02:00
Jacek Caban 2f849ce3c9 mshtml: Don't use nsIDOMHTMLParamElement.
It will be removed in the next Gecko update anyway.
2014-09-19 19:49:46 +02:00
Jacek Caban 8b4c120453 mshtml: Make listStyle tests less strict about value order. 2014-09-19 19:49:46 +02:00
Jacek Caban 47a7d835d4 mshtml: Don't include leading '?' in nsIURL::GetSearch implementation. 2014-09-19 19:49:44 +02:00
Qian Hong e2b7354ac1 mshtml: Added IHTMLDOMAttribute::put_nodeValue implementation. 2014-09-18 13:06:27 +02:00
Qian Hong cdd28b0aca mshtml: Handle DISPATCH_PROPERTYPUT | DISPATCH_PROPERTYPUTREF in invoke_builtin_prop. 2014-09-18 13:06:24 +02:00
Qian Hong a9d347cb24 mshtml/tests: Fixed typo. 2014-09-18 13:06:20 +02:00
Jacek Caban 063ef3ca0e mshtml: Added IHTMLElement::get_sourceIndex implementation. 2014-09-16 20:29:02 +02:00
Jactry Zeng e777e9d1ba mshtml: Add IHTMLCurrentStyle::get_textTransform implementation. 2014-09-15 10:12:46 +02:00
Jacek Caban 6b18008202 mshtml: Added semi-stub IHTMLElement4::onmousewheel propery implementation. 2014-09-11 11:48:37 +02:00
Jacek Caban 5d2ee3ee82 mshtml: Bind events to document node instead of body element. 2014-09-10 21:36:51 +02:00
Jactry Zeng e402bb5642 mshtml: Add IHTMLStyle::pixelTop property implementation. 2014-09-09 17:57:16 +02:00
Jactry Zeng 042b881b27 mshtml: Add IHTMLStyle::pixelHeight property implementation. 2014-09-09 17:57:12 +02:00
Jactry Zeng 7152077b05 mshtml: Add IHTMLStyle::get_pixelWidth implementation. 2014-09-09 17:57:09 +02:00
Jactry Zeng 387257dd2c mshtml: Return E_POINTER when p is NULL in get_nsstyle_pixel_val. 2014-09-09 17:57:00 +02:00
Jactry Zeng 0cab370d11 mshtml: Add IHTMLTableCell::bgColor property implementation. 2014-09-09 17:56:25 +02:00
Jactry Zeng 4b1901d8c0 mshtml/tests: Fix typo. 2014-09-09 11:11:27 +02:00
Jactry Zeng 47f26eb9c0 mshtml: Add IHTMLStyle5::minWidth property implementation. 2014-09-02 20:54:47 +02:00
Jacek Caban ac2b2e5e58 mshtml: Use debugstr_mshtml_guid in htmlhead.c. 2014-09-02 11:46:25 +02:00
Jacek Caban 8b0e62c42b mshtml: Use TID_LIST in debugstr_mshtml_guid. 2014-09-02 11:46:20 +02:00
Jacek Caban 6b18f619f4 mshtml: Fixed session_storage leak. 2014-09-02 11:45:51 +02:00
Francois Gouget 6d4275c964 mshtml/tests: Avoid an http -> https redirection. 2014-09-01 13:12:25 +02:00
Zhenbo Li 334eedb09e mshtml/tests: Fix a memory leak. 2014-08-27 11:02:20 +02:00
Jacek Caban 226458a468 mshtml: Added IHTMLLinkElement::rev property implementation. 2014-08-22 15:35:24 +02:00
Jacek Caban fbe02eb74c mshtml: Added IHTMLDocument5::get_implementation implementation. 2014-08-22 15:35:22 +02:00
Zhenbo Li bde260411c mshtml: Added IHTMLStyle::listStyle property implementation. 2014-08-21 18:02:26 +02:00
Jacek Caban 255894c1f1 mshtml: Override default onsubmit action with our submit implementation. 2014-08-20 13:13:24 +02:00
Zhenbo Li 87e1172953 mshtml: Added IHTMLStyle::backgroundAttachment property implementation. 2014-08-19 14:52:25 +02:00
Zhenbo Li 90014d154f mshtml: Added IHTMLStyle2::tableLayout property implementation. 2014-08-19 14:52:01 +02:00
Jacek Caban 7c7a594692 mshtml: Fixed handling NULL argument in IHTMLElement::contains implementation. 2014-08-18 21:32:56 +02:00
Zhenbo Li d5d728706b mshtml: Added IHTMLInputElement_get_form method implementation. 2014-08-18 13:32:05 +02:00
Zhenbo Li c2ac0f506b mshtml: Added IHTMLInputElement::readOnly property. 2014-08-18 13:31:57 +02:00
Zhenbo Li 6079c56133 mshtml: Added IHTMLImgElement::align property implementation. 2014-08-18 13:31:51 +02:00
Zhenbo Li e12cb546f6 mshtml: Added IHTMLInputElement::size property implementation. 2014-08-18 13:31:44 +02:00
Zhenbo Li 5ee21f9a52 mshtml: Added IHTMLImgElement::isMap property implementation. 2014-08-18 13:31:34 +02:00
Zhenbo Li 06c66876f3 mshtml: Added IHTMLTableCell::align property implementation. 2014-08-18 13:31:16 +02:00
Zhenbo Li 03b377f3e7 mshtml: Added IHTMLTable::frame property implementation. 2014-08-18 13:31:14 +02:00