Trident (software)
Trident[1][2][3] (also known as MSHTML[1][2][5]) is a proprietary browser engine for the Microsoft Windows version of Internet Explorer, developed by Microsoft.
Other names | MSHTML[1][2][3] |
---|---|
Developer(s) | Microsoft |
Initial release | August 1997 |
Final release | 8.0
|
Written in | C++[4] |
Operating system | Microsoft Windows |
Successor | EdgeHTML |
Type | Browser engine |
License | Proprietary |
Website | docs |
MSHTML debuted with the release of Internet Explorer 4 in 1997. For versions 7 and 8 of Internet Explorer, Microsoft made significant changes to MSHTML's layout capabilities to improve compliance with Web standards and add support for new technologies.[6][7][8]
MSHTML will continue to receive security updates[9] for the IE mode of Microsoft Edge until at least 2029. However, support for new Web standards will not be added.
Use in software development
MSHTML was designed as a software component to allow software developers to easily add web browsing functionality to their own applications. It presents a COM interface for accessing and editing web pages in any COM-supported environment, like C++ and .NET. For instance, a web browser control can be added to a C++ program and MSHTML can then be used to access the page currently displayed in the web browser and retrieve element values. Events from the web browser control can also be captured. MSHTML functionality becomes available by linking the file mshtml.dll to the software project.
Release history
MSHTML version | MSHTML.dll version | Internet Explorer version | Internet Explorer Mobile version | Notes |
---|---|---|---|---|
No version[10] | 4.0.x | 4.0 | — | Initial version. |
5.0.x | 5.0 | — | Improved CSS 1 support and had sweeping changes in CSS 2 rendering. | |
5.5.x | 5.5 | — | Corrected issues with CSS handling. | |
6.0.x | 6.0 | — | Corrected the box model and added quirks mode with DTD switching. | |
7.0.x | 7.0 | — | Fixed many CSS rendering issues and added partial PNG alpha support. | |
— | — | 6.0 | IEMobile 6 combines many features of IE 6, 7, and 8.[11] | |
3.1[12][13] | 7.0 | — | 7.0 | Second port on a mobile system of MSHTML. IE Mobile version for Windows Phone 7. |
4.0[14] | 8.0.x | 8.0 | — | First version to pass the Acid 2 test.[4] Added full support for CSS 2.1.[15] |
5.0[10] | 9.0.x | 9.0 | 9.0 | Added support for SVG, XHTML, HTML5, and CSS 3. Added a new hardware-accelerated JScript engine named Chakra. Scores 100/100 on the Acid3 test. Included with IE 9 Mobile in Windows Phone 7.5 "Mango". |
6.0[16] | 10.0.x | 10.0 | 10.0[17] | More support for CSS 3, HTML5 and ES5. Included in Windows Phone 8. Support for linear gradient CSS transitions.[18] |
7.0 | 11.0.x | 11.0 | 11.0 | Support for WebGL and SPDY. Improved support for HTML5.[19] Speed improvement.[20] Included in Windows Phone 8.1. |
Use cases
All versions of Internet Explorer for Windows from 4.0 onwards use MSHTML, and it is also used by various other web browsers and software components (see Internet Explorer shells). In Windows 98, Windows Me, and Windows 2000, it is also used for the Windows file manager/shell, Windows Explorer.[21] The Add/Remove Programs tool in Windows 2000 uses MSHTML to render the list of installed programs,[22] and in Windows XP it is also used for the User Accounts Control Panel, which is an HTML Application.[23] MSHTML, however, was not used by Internet Explorer for Mac (which used Tasman starting with version 5.0), nor by the early versions of Internet Explorer Mobile.
Some other MSHTML-based applications include:
- AOL Explorer, a web browser
- AOL Instant Messenger 6.x, which uses MSHTML to render conversation and profile windows, and advertisement panels
- Avant Browser
- EA Link, incompatible with MSHTML as of Internet Explorer 7 RC2
- Flashpoint Secure Player, uses MSHTML to run ActiveX based web games
- Google Talk, which used MSHTML to render chat windows and profile cards
- GreenBrowser, which is also presented at the BrowserChoice.eu page
- IE Tab, a Firefox and Google Chrome add-on used to render pages with MSHTML within the Firefox or Chrome user interface.
- Impulse (content delivery), uses MSHTML to render "Explore" page, as well as several of the "Community" pages
- LimeWire, which renders the page 'New@Lime'
- Lunascape, developed by Lunascape Corporation
- Maxthon, which uses the MSHTML engine while adding features not built into IE7
- MediaBrowser, customized browsers, especially for Nintendo
- MenuBox, a web browser
- Microsoft Compiled HTML Help
- Microsoft Encarta and related products
- Microsoft InfoPath
- Microsoft Outlook which uses MSHTML to render HTML Messages (prior to Outlook 2007) and the "Outlook Today" screen
- Microsoft Outlook Express, which uses MSHTML to render HTML Messages
- Microsoft Visual InterDev 6 uses MSHTML in editing mode as visual HTML designer
- Microsoft Visual Studio 2002-2005 use MSHTML in editing mode to provide visual ASP.NET/HTML designer
- Microsoft Visual Studio and Visual Basic to render the WebBrowser control
- MSN Messenger, which uses it to produce Flash-based "winks" and games, and for all advertisements shown in the advertisement banner
- NeoPlanet, a web browser
- NetCaptor, a web browser
- Netscape Browser (Netscape 8), which used MSHTML to render web pages in IE mode
- Pyjs, a python Widget set Toolkit. Embedding IWebBrowser2 as an Active-X component and accessing the COM interface, Pyjs uses MSHTML for the Desktop version, through the python win32 "comtypes" library.
- RealNetworks
- Sleipnir, a web browser
- SlimBrowser, a web browser
- Skype, software for VoIP that renders HTML data with MSHTML
- Tencent Traveler, a web browser
- Valve's Steam client, previous versions of which used MSHTML to render the "Store", "Update News" and "Community" sections as well as the Steam in-game browser and MOTD screens in Valve games. The Steam client was updated to use WebKit instead of MSHTML for these features. Then was updated further to use the Chromium Embedded Framework.[24]
- Windows Live Writer, which uses MSHTML for its editor
- Windows Media Player, which uses MSHTML to render the "Media Information" pages
- WinRAR, A decompression program.
- 360 Secure Browser, a web browser in China
- Baidu Browser, a web browser in China, that also had a proxy for some websites
Standards compliance
Current versions of MSHTML, as of Internet Explorer 9 have introduced support for CSS 3, HTML5, and SVG, as well as other modern web standards. Web standards compliance was gradually improved with the evolution of MSHTML. Although each version of IE has improved standards support, including the introduction of a "standards-compliant mode" in version 6, the core standards that are used to build web pages (HTML and CSS) were sometimes implemented in an incomplete fashion. For example, there was no support for the <abbr>
element which is part of the HTML 4.01 standard prior to IE 8. There were also some CSS attributes missing from MSHTML, like min-height, etc. as of IE 6. As of Internet Explorer 8 CSS 2.1 is fully supported as well as some CSS 3.0 attributes.[15] This lack of standards compliance has been known to cause rendering bugs and lack of support for modern web technologies, which often increases development time for web pages.[25] Still, HTML rendering differences between standards-compliant browsers are not yet completely resolved.
Microsoft alternatives
Apart from MSHTML, Microsoft also has and uses several other layout engines. One of them, known as Tasman, was used in Internet Explorer 5 for Mac. Development of Internet Explorer for Mac was halted in roughly 2003, but development of Tasman continued to a limited extent, and was later included in Office 2004 for Mac. Office for Mac 2011 uses the open source WebKit engine. Microsoft's now defunct web design product, Expression Web as well as Visual Studio 2008 and later do not use Internet Explorer's MSHTML engine, but rather a different engine.[26]
In 2014, MSHTML was forked to create the engine EdgeHTML for Microsoft Edge on Windows 10. The new engine is "designed for interoperability with the modern web" and deprecates or removes a number of legacy components and behaviors, including document modes, ensuring that pure, standards-compliant HTML will render properly in browsers without the need for special considerations by web developers.[27][28] This resulted in a completely new browser called Microsoft Edge (now referred to as "Microsoft Edge Legacy"[29]), which replaced Internet Explorer as a stock browser of Windows and a base of Microsoft's web related services until its replacement with a Blink and Chromium[30][31] based Microsoft Edge[32][33] in late 2020.
See also
References
- "A Vulnerability in Microsoft MSHTML Could Allow for Remote Code Execution". New York State Office of Information Technology Services. September 8, 2021. Retrieved 2023-03-14.
- "Internet Explorer - Trident Engine". Microsoft Support.
- "RIP Internet Explorer: Microsoft's iconic browser is being killed off in June". PCWorld.
- "Internet Explorer 8 and Acid2: A Milestone", IEBlog, Microsoft Docs, 2007-12-19, retrieved 2022-01-01
- "Analyzing attacks that exploit the CVE-2021-40444 MSHTML vulnerability". Microsoft Security. 15 September 2021.
- "Details on our CSS changes for IE7". IEBlog. Microsoft Docs. 2006-08-22. Retrieved 2022-01-01.
- "Overview of Platform Improvements in IE8 RC1". IEBlog. Microsoft Docs. 2009-01-29. Retrieved 2022-01-01.
- "Microsoft's Interoperability Principles and IE8". IEBlog. Microsoft Docs. 2008-03-03. Retrieved 2022-01-01.
- "Lifecycle FAQ - Internet Explorer and Microsoft Edge". Microsoft Lifecycle Policy. Microsoft Docs. Retrieved 2022-01-01.
Microsoft is committed to supporting Internet Explorer mode in Microsoft Edge through at least 2029, on supported operating systems.
- "Introducing IE9's User Agent String", IEBlog, Microsoft Docs, 2010-03-23, retrieved 2022-01-01
- Cox, John (2008-12-21), "Microsoft Tackles the Mobile Browser", PC World, archived from the original on 2021-01-29
- Warren, Tom (2010-03-15), "Windows Phone 7 browser is based on Internet Explorer 7", Neowin, retrieved 2022-01-01
- "Ladies and Gentlemen, Please Welcome... the IE Mobile User Agent String!", IE for Windows Phone Team Weblog, Microsoft Docs, 2010-03-25, retrieved 2022-01-01
- "The Internet Explorer 8 User-Agent String (Updated Edition)", IEBlog, Microsoft Docs, 2009-01-09, retrieved 2022-01-01
- "CSS Compatibility and Internet Explorer". Microsoft Docs. 2011-03-09. Retrieved 2022-01-01.
- "The IE10 User-Agent String", IEBlog, Microsoft Docs, 2011-04-15, retrieved 2022-01-01
- Lipskas, Vygantas (2012-06-20), "Windows Phone 8: Internet Explorer 10 Detailed", FavBrowser.com, retrieved 2022-01-01
- Tudor, Ana (2018-06-01), "The State of Changing Gradients with CSS Transitions and Animations", blog, Pelbox Solutions, retrieved 2022-01-01
- Anthony, Sebastian (2013-06-26), "Windows 8.1 and Internet Explorer 11 will support WebGL, SPDY, but no WebRTC", Computing, ExtremeTech, Ziff Davis, retrieved 2022-01-01
- "Internet Explorer 11 for Windows 7 launched: Brings improved rendering, speed", Internet News, Gadgets 360, NDTV, 2013-11-08, retrieved 2022-01-01
- "How to Add or Remove Windows Desktop Update". Microsoft Support. KB165695. Archived from the original on 2016-03-20.
- "Add/Remove Programs tool displays installed programs incorrectly". Troubleshoot. Microsoft Docs. 23 September 2021. KB266668. Retrieved 2022-01-01.
- ""Internet Explorer Script Error" error message when you click User Accounts in Control Panel many times in quick succession on a Windows XP-based computer". Microsoft Support. KB886617. Archived from the original on 2016-03-19.
- "Chromium Embedded Framework". developer.valvesoftware.com. Last edited on 25 June 2012. Retrieved 9 April 2023.
- Shah, Anup (2007-12-14). "Microsoft's Internet Explorer Slows Down Web Development". onenaught.com. Retrieved 2022-01-01.
- Mauceri, Rob (2007-04-11). "Office Live and SharePoint". Microsoft SharePoint Designer Team Blog. Microsoft Docs. Retrieved 2022-01-01.
SharePoint Designer doesn't use Trident. SharePoint Designer, Expression Web, and the next version of Visual Studio's Visual Web Designer (code name Orcas) all use the same standards-based web design component. This component was developed jointly by the three product teams for high fidelity rendering of web standards like CSS, XHTML, as well as ASP.net.
- "Living on the Edge – our next step in helping the web just work". IEBlog. Microsoft Docs. 2014-11-11. Retrieved 2022-01-01.
- "Project Spartan and the Windows 10 January Preview Build". IEBlog. Microsoft Docs. 2015-01-22. Retrieved 2022-01-01.
- "Microsoft 365 apps and services to end support for IE 11; End of support coming to the legacy version of Microsoft Edge". Microsoft Lifecycle Policy. Microsoft Docs. Retrieved 2022-01-01.
- "Download the new Microsoft Edge based on Chromium", Microsoft Support, KB4501095, retrieved 2022-01-01,
The new Microsoft Edge is based on Chromium and was released on January 15, 2020
- Belfiore, Joe (2020-01-15), "New year, new browser – The new Microsoft Edge is out of preview and now available for download", Windows Blog, retrieved 2022-01-01
- Warren, Tom (2020-01-15). "Microsoft's new Edge Chromium browser launches on Windows and macOS". The Verge. Retrieved 2022-01-01.
- Hollister, Sean (2020-07-02). "With Edge, Microsoft's forced Windows updates just sank to a new low". The Verge. Retrieved 2022-01-01.