打开APP
userphoto
未登录

开通VIP,畅享免费电子书等14项超值服

开通VIP
Web browser engine

Web browser engine

From Wikipedia, the free encyclopedia
Jump to: navigation, search
[hide]This article has multiple issues. Please help improve it or discuss these issues on the talk page.
This article does not cite any references or sources. (May 2010)
This article possibly contains original research. (May 2010)

A web browser engine, (sometimes called layout engine or rendering engine), is a software component that takes marked up content (such as HTML, XML, image files, etc.) and formatting information (such as CSS, XSL, etc.) and displays the formatted content on the screen. It draws on the content area of a window, which is displayed on a monitor or a printer. A layout engine is typically embedded in web browsers, e-mail clients, e-book readers, on-line help systems or other applications that require the displaying (and editing) of web content. Engines may wait for all data to be received before rendering a page, or may begin rendering before all data is received. This can result in pages changing as more data is received, such as images being filled in or a flash of unstyled content if rendering begins before formatting information is received.

Non-mobile web browser statistics on Wikimedia





Chrome (Blink)
46.02%

Internet Explorer (Trident)
20.47%

Firefox (Gecko)
17.71%

Opera (Blink)
5.45%

Safari (Webkit)
3.10%

Others
7.25%

Non-mobile web browser usage for Wikimedia visitors as of June 2013.[1]

Examples[edit]

KDE's open-source KHTML engine is used in KDE's Konqueror web browser and was the basis for WebKit, the rendering engine in Apple's Safari and Google's Chrome web browsers, which is now the most widely used browser engine according to StatCounter. Current versions of Chromium/Chrome (except iOS version) and Opera are based on Blink, a fork of WebKit.

Gecko, the Mozilla project's open-source web browser engine, is used by a variety of products derived from the Mozilla code base, including the Firefox web browser, the Thunderbird e-mail client, and SeaMonkey internet suite.

Trident, the web browser engine from Internet Explorer, is used by many applications on the Microsoft Windows platform, such as netSmart, Outlook Express, some versions of Microsoft Outlook, and the mini-browsers in Winamp and RealPlayer.

Opera Software's proprietary Presto engine is licensed to a number of other software vendors, and was used in Opera's own web browser. As of February 2013 Opera has announced they will be using the same engine as Chromium, which at the time of the announcement was WebKit.

Technical operation[edit]

The first web browsers were monolithic. They used various techniques inherited from text processing, such as regular s to parse HTML into a visual representation. Later they adopted a more modular approach and were split into a host application and an engine.

  • The engine does most of the work. It essentially takes a URL and a set of window content-area rectangle coordinates as arguments. It then retrieves the document corresponding to the URL and paints a graphical representation of it in the given rectangle. It also handles links, forms, cookies, client-side scripting, plug-in loading and other matters.
  • The host application provides the menu bar, address bar, status bar, bookmark manager, history and preferences functionality (among other things). It embeds the engine and serves as an interface between the user, the engine, and the underlying operating system. Since it provides the graphical elements surrounding the area in which the engine paints documents, programmers sometimes use the term chrome to refer to its user interface (like the chrome surrounding a car).

This modular approach has the advantage that it then becomes easy to embed web-browser engines in a variety of applications. For example, the same engine used by a web browser can be used by an email client to display HTML email. On-line help systems integrated in applications have largely moved from using custom formats to using standard HTML displayed with a web-browser engine. The EPUB 3 e-book standard uses a layout engine to render XHTML and CSS.

Timeline[edit]

See also[edit]

References

本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报
打开APP,阅读全文并永久保存 查看更多类似文章
猜你喜欢
类似文章
【热】打开小程序,算一算2024你的财运
MATLAB Runtime Server and the MATLAB Web Server
Google, Yahoo, Microsoft adopt same Web index tool
Epic Games更新虚幻引擎4.14:优化VR渲染,N卡性能提高25%
commandbars知多少
Understanding cascading style sheets | Adobe Developer Connection
Downloading data into Excel with Format Options (from SAP Web Applications) | SAP Blogs
更多类似文章 >>
生活服务
热点新闻
分享 收藏 导长图 关注 下载文章
绑定账号成功
后续可登录账号畅享VIP特权!
如果VIP功能使用有故障,
可点击这里联系客服!

联系客服