Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Browser engine

From Wikipedia, the free encyclopedia
Core software component of every major web browser
Not to be confused withJavaScript engine.

Abrowser engine (also known as alayout engine orrendering engine) is a core software component of every majorweb browser. The primary job of a browser engine is to transformHTML documents and other resources of aweb page into an interactive visual representation on auser's device.

Name and scope

[edit]

Besides "browserengine", two other related terms are commonly used: "layout engine" and "rendering engine".[1][2][3] In theory,layout andrendering (or "painting") could be handled by different engines. In practice, however, thesecomponents are tightlycoupled and rarely encountered on their own outside of the browser engine.[1][4]

In addition to layout and rendering, a browser engine enforces thesecurity policy between documents, handles navigation throughhyperlinks and data submitted throughforms, and implements thedocument object model (DOM) exposed toscripts associated with the document.[1][4]

To provide awide range of dynamic behavior forweb pages, every major browser supportsJavaScript. However, JavaScript isimplemented as a separateJavaScript engine, which has enabled its usageelsewhere. In a browser, the two engines are coordinated via the DOM andWeb IDL bindings.[4]

Browser engines are also used in non-browserapplications. Anemail client needs one to displayHTML email. Beginning in the 2010s, many apps have been created withthe frameworks based onGoogle'sChromium project; each of these standalone apps functions much like aweb app. (Two examples areSpotify andSlack.)[5][6]

Layout and rendering

[edit]

Thelayout of aweb page is typically specified byCascading Style Sheets (CSS). Each style sheet is a series of rules for how the page should be presented. For example, some rules specifytypography details, such asfont, color, and text size, while others determine the placement of images. The engine combines all relevant CSS rules to calculate precise graphical coordinates andpixel values for the visual representation it will paint on the screen.[1][4]

The engine updates the visual representation in response to new events, including the user scrolling the page, content beingasynchronouslyfetched, video playback, andcanvas animations. It also may begin rendering before a page's resources are downloaded, which can result in visual changes as more data is received, such as images being gradually filled in or aflash of unstyled content.[7]

Notable engines

[edit]
Further information:Comparison of browser engines

The following chart shows the duration of active development (when relevant newweb standards continue to be added) for each engine in this section. Note that Gecko, WebKit, and Blink are still actively developed.

See also

[edit]

References

[edit]
  1. ^abcd"Behind the scenes of modern web browsers". Tali Garsiel. Retrieved21 April 2018.
  2. ^ab"Gecko". Mozilla. Archived fromthe original on 4 June 2014. Retrieved21 April 2018.
  3. ^"Introducing Goanna". M.C. Straver. 22 June 2015. Retrieved21 April 2018.
  4. ^abcd"How Blink Works". Retrieved12 March 2024.
  5. ^"Open Source - Spotify". Retrieved1 December 2023.Here are the sources to the great Chromium Embedded Framework that is used by the Spotify Desktop client.
  6. ^Betts, Anaïs (25 October 2016)."Building Hybrid Applications with Electron".Slack Engineering. Slack. Retrieved1 December 2023.
  7. ^Boudreaux, Ryan (18 October 2013)."How to prevent Flash of Unstyled Content on your websites".TechRepublic.Archived from the original on 5 March 2021. Retrieved9 October 2021.
  8. ^Paul Festa (14 January 2003)."Apple snub stings Mozilla".CNET Networks. Archived fromthe original on 25 October 2012. Retrieved16 February 2017.
  9. ^"Open-sourcing Chrome on iOS!". 2017. Retrieved26 April 2021.Due to constraints of the iOS platform, all browsers must be built on top of the WebKit rendering engine.
  10. ^Tim Hardwick (24 October 2024)."iOS 18.2 to Allow Third-Party Browser Web Apps With Custom Engines in EU".MacRumors.
  11. ^Bright, Peter (3 April 2013)."Google going its way, forking WebKit rendering engine".Ars Technica.Conde Nast. Retrieved9 March 2017.
  12. ^Mendelevich, Alan (14 May 2021)."You Think You Can Forget About the "Legacy" Microsoft Edge? Not So Fast!".
  13. ^Mackie, Kurt (10 December 2018)."Microsoft Edge Browser To Get New Rendering Engine but EdgeHTML Continues".Redmond Mag. Retrieved21 December 2019.
Stable
Experimental
Discontinued
Retrieved from "https://en.wikipedia.org/w/index.php?title=Browser_engine&oldid=1322702240"
Category:
Hidden categories:

[8]ページ先頭

©2009-2025 Movatter.jp