SlideShare a Scribd company logo
3
Most read
4
Most read
10
Most read
Click to add Title
Rendering Engine
e-Infochips Institute of Training Research and Academics Limited
Prepared By:-
Dharita Chokshi
Outlines
Rendering Engines
Rendering Engines and Browsers
Architecture of Browser
Architecture of Rendering Engine
Anatomy of Webkit
Architecture of Webkit
Rendering Engine Means?
Rendering means to translate or to interpret into another
language.
A rendering engine (also called layout engine or web browser
engine) is a software component that takes marked up content
(like HTML, XML, image files, etc.) and formatting information
(like CSS, XSL, etc.) and displays the formatted content on the
screen.
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.
Rendering Engines
and Browsers
Rendering
Engine
Leading Host
Applications/Browsers
Programming
Language
Blink Google Chrome(from version
28), Opera(from version 15.0)
C++
Gecko Mozilla Firefox C++
Webkit Apple Safari, BlackBerry,
Android and Google
Chrome(till version 27)
C++
Presto Opera(till version 14) C++
Trident Internet Explorer C++
The host application provides the menu bar, address bar, status
bar, bookmark manager, history and preferences functionality.
5
Architecture of Browser
Architecture of Browser
The User Interface
Provides the methods with which a user interacts with the
Browser Engine.
This includes the address bar, back/forward button, bookmarking
menu, etc.
Every part of the browser display except the window where you
see the requested page.
6
The Browser Engine
Marshals actions between the UI and the rendering engine
providing a high-level interface to the Rendering Engine.
The Browser Engine provides methods to initiate the loading of a
URL and other high-level browsing actions (reload, back,
forward).
The Browser Engine also provides the User interface with
various messages relating to error messages and loading
progress.
7
Architecture of Browser
The Rendering Engine
Produces the visual representation of a given URL. The
Rendering Engine interprets the HTML, XML, and JavaScript
that comprises a given URL and generates the layout that is
displayed in the User Interface.
The Networking
Provides functionality to handle retrieve URLs using the common
Internet protocols of HTTP and FTP. The Networking
components handles all aspects of Internet communication and
security, character set translations and MIME type resolution.
8
Architecture of Browser
The JavaScript Interpreter
Component executes the JavaScript code that is embedded in a
website. Results of the execution a passed to the Rendering
Engine for display. The Rendering Engine may disable various
actions based on user defined properties.
The UI Backend:
Used for drawing basic widgets like combo boxes and windows.
Underneath it uses operating system user interface methods.
The Data Storage:
Manages user data such as bookmarks, cookies and
preferences. The new HTML specification (HTML5) defines 'web
database' which is a complete (although light) database in the
browser.
9
Architecture of Browser
The rendering engine will start getting the contents of the
requested document from the networking layer. This will usually
be done in 8K chunks. After that this is the basic flow of the
rendering engine:
10
Architecture of Rendering Engine
Step 1: Parsing the HTML document and convert elements to
DOM nodes in a tree called the “content tree” – HTML Parser
Step 2: Parse the style data, both in external CSS files and in
style element together with visual instructions in HTML will be
used to create another tree, call “render tree” – CSS Parser
Step 3: After the construction of the render tree it goes
through a “layout" process. This means giving each node
the exact coordinates where it should appear on the screen
Step 4: The next stage is painting–the render tree will be
traversed and each node will be painted using the UI
backend layer - Painting.
11
Architecture of Rendering Engine
12
Anatomy of Webkit
Initialization
Pushes Webkit to do work
Handles user input.
13
Anatomy of Webkit
Application logic
Loading Painting
Parsing Event Handling
Layout JS Binding
Style Resolution
14
Anatomy of Webkit
V8 or JS core
Parses and executes
page logic
Allows DOM manipulation
WebKit main flow
15
Architecture of Webkit
16
Architecture of Webkit
17
Architecture of Webkit
18
Architecture of Webkit
19
Architecture of Webkit
Painting
In the painting stage, the render tree is traversed and the
renderer's "paint()" method is called to display content on
the screen. Painting uses the UI infrastructure component.
The stacking order of a block renderer is:
1. Background color
2. Background image
3. Border
4. Children
5. Outline
Thank you

More Related Content

PDF
Mobile Browser Internal (Blink Rendering Engine)
PDF
Android Chromium Rendering Pipeline
PPTX
Khronos Munich 2018 - Halcyon and Vulkan
PDF
ExoPlayer for Application developers
PDF
Understanding Webkit Rendering
PDF
Web Design
PPTX
LAFS Game Design 1 - Structural Elements
PPT
Introduction to Skia by Ryan Chou @20141008
Mobile Browser Internal (Blink Rendering Engine)
Android Chromium Rendering Pipeline
Khronos Munich 2018 - Halcyon and Vulkan
ExoPlayer for Application developers
Understanding Webkit Rendering
Web Design
LAFS Game Design 1 - Structural Elements
Introduction to Skia by Ryan Chou @20141008

What's hot (20)

PDF
Lightmapping for beginners- Unite Copenhagen 2019
PPTX
Game engines and Their Influence in Game Design
PPTX
Scene Graphs & Component Based Game Engines
PPTX
Chrome DevTools로 JS 메모리릭 디버깅하기.pptx
PDF
Design your 3d game engine
PPTX
GDC Europe 2014: Unreal Engine 4 for Programmers - Lessons Learned & Things t...
PDF
Choosing your Game Engine (2009)
PDF
Scrum for Video Game Development
PPTX
웹 접근성 평가도구 OpenWAX 뜯어보기
PDF
게임별 유저 성향 분석
PDF
01.개발환경 교육교재
PPTX
Intrinsics: Low-level engine development with Burst - Unite Copenhagen 2019
PDF
Design and Concepts of Android Graphics
PDF
DX12 & Vulkan: Dawn of a New Generation of Graphics APIs
PDF
1-Introduction (Game Design and Development)
PPTX
Game Project / Working with Unity
PDF
윈도우 매니저 스터디: 1. 윈도우 매니저 출력
PDF
Applied Computer Science Concepts in Android
PDF
Android's Multimedia Framework
PDF
웹을 지탱하는 기술
Lightmapping for beginners- Unite Copenhagen 2019
Game engines and Their Influence in Game Design
Scene Graphs & Component Based Game Engines
Chrome DevTools로 JS 메모리릭 디버깅하기.pptx
Design your 3d game engine
GDC Europe 2014: Unreal Engine 4 for Programmers - Lessons Learned & Things t...
Choosing your Game Engine (2009)
Scrum for Video Game Development
웹 접근성 평가도구 OpenWAX 뜯어보기
게임별 유저 성향 분석
01.개발환경 교육교재
Intrinsics: Low-level engine development with Burst - Unite Copenhagen 2019
Design and Concepts of Android Graphics
DX12 & Vulkan: Dawn of a New Generation of Graphics APIs
1-Introduction (Game Design and Development)
Game Project / Working with Unity
윈도우 매니저 스터디: 1. 윈도우 매니저 출력
Applied Computer Science Concepts in Android
Android's Multimedia Framework
웹을 지탱하는 기술
Ad

Similar to Rendering engine (20)

PPTX
Web browser architecture
PPT
Lecture 1 (2)
PPTX
Asp.net
PDF
How browsers work landscape
PPT
Web designing and publishing computer studies theory lesson
DOCX
How Browsers Work -By Tali Garsiel and Paul Irish
PPTX
Web browser
PDF
HTML5 Intoduction for Web Developers
PPT
Web browser
PDF
Architecture of the Web browser
ODP
Html5
PDF
DOCX
PPTX
Web Browsers.pptx
PPT
Creating Effective Web Pages Creating HTML Documents
DOCX
MINOR PROZECT REPORT on WINDOWS SERVER
PDF
soft-shake.ch - Introduction to HTML5
PPT
HTTP and Website Architecture and Middleware
PPTX
Headless CMS. Sitecore JSS getting started, tips and tricks
Web browser architecture
Lecture 1 (2)
Asp.net
How browsers work landscape
Web designing and publishing computer studies theory lesson
How Browsers Work -By Tali Garsiel and Paul Irish
Web browser
HTML5 Intoduction for Web Developers
Web browser
Architecture of the Web browser
Html5
Web Browsers.pptx
Creating Effective Web Pages Creating HTML Documents
MINOR PROZECT REPORT on WINDOWS SERVER
soft-shake.ch - Introduction to HTML5
HTTP and Website Architecture and Middleware
Headless CMS. Sitecore JSS getting started, tips and tricks
Ad

Recently uploaded (20)

PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PDF
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
PPTX
Geodesy 1.pptx...............................................
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PPTX
Internet of Things (IOT) - A guide to understanding
PPTX
Foundation to blockchain - A guide to Blockchain Tech
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
PPTX
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PDF
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
PDF
Operating System & Kernel Study Guide-1 - converted.pdf
PDF
Embodied AI: Ushering in the Next Era of Intelligent Systems
PDF
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
PPTX
UNIT 4 Total Quality Management .pptx
PPTX
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
PDF
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
PPTX
web development for engineering and engineering
PPTX
Sustainable Sites - Green Building Construction
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PPTX
bas. eng. economics group 4 presentation 1.pptx
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
Geodesy 1.pptx...............................................
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
Internet of Things (IOT) - A guide to understanding
Foundation to blockchain - A guide to Blockchain Tech
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
Operating System & Kernel Study Guide-1 - converted.pdf
Embodied AI: Ushering in the Next Era of Intelligent Systems
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
UNIT 4 Total Quality Management .pptx
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
web development for engineering and engineering
Sustainable Sites - Green Building Construction
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
bas. eng. economics group 4 presentation 1.pptx

Rendering engine

  • 1. Click to add Title Rendering Engine e-Infochips Institute of Training Research and Academics Limited Prepared By:- Dharita Chokshi
  • 2. Outlines Rendering Engines Rendering Engines and Browsers Architecture of Browser Architecture of Rendering Engine Anatomy of Webkit Architecture of Webkit
  • 3. Rendering Engine Means? Rendering means to translate or to interpret into another language. A rendering engine (also called layout engine or web browser engine) is a software component that takes marked up content (like HTML, XML, image files, etc.) and formatting information (like CSS, XSL, etc.) and displays the formatted content on the screen. 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.
  • 4. Rendering Engines and Browsers Rendering Engine Leading Host Applications/Browsers Programming Language Blink Google Chrome(from version 28), Opera(from version 15.0) C++ Gecko Mozilla Firefox C++ Webkit Apple Safari, BlackBerry, Android and Google Chrome(till version 27) C++ Presto Opera(till version 14) C++ Trident Internet Explorer C++ The host application provides the menu bar, address bar, status bar, bookmark manager, history and preferences functionality.
  • 6. Architecture of Browser The User Interface Provides the methods with which a user interacts with the Browser Engine. This includes the address bar, back/forward button, bookmarking menu, etc. Every part of the browser display except the window where you see the requested page. 6
  • 7. The Browser Engine Marshals actions between the UI and the rendering engine providing a high-level interface to the Rendering Engine. The Browser Engine provides methods to initiate the loading of a URL and other high-level browsing actions (reload, back, forward). The Browser Engine also provides the User interface with various messages relating to error messages and loading progress. 7 Architecture of Browser
  • 8. The Rendering Engine Produces the visual representation of a given URL. The Rendering Engine interprets the HTML, XML, and JavaScript that comprises a given URL and generates the layout that is displayed in the User Interface. The Networking Provides functionality to handle retrieve URLs using the common Internet protocols of HTTP and FTP. The Networking components handles all aspects of Internet communication and security, character set translations and MIME type resolution. 8 Architecture of Browser
  • 9. The JavaScript Interpreter Component executes the JavaScript code that is embedded in a website. Results of the execution a passed to the Rendering Engine for display. The Rendering Engine may disable various actions based on user defined properties. The UI Backend: Used for drawing basic widgets like combo boxes and windows. Underneath it uses operating system user interface methods. The Data Storage: Manages user data such as bookmarks, cookies and preferences. The new HTML specification (HTML5) defines 'web database' which is a complete (although light) database in the browser. 9 Architecture of Browser
  • 10. The rendering engine will start getting the contents of the requested document from the networking layer. This will usually be done in 8K chunks. After that this is the basic flow of the rendering engine: 10 Architecture of Rendering Engine
  • 11. Step 1: Parsing the HTML document and convert elements to DOM nodes in a tree called the “content tree” – HTML Parser Step 2: Parse the style data, both in external CSS files and in style element together with visual instructions in HTML will be used to create another tree, call “render tree” – CSS Parser Step 3: After the construction of the render tree it goes through a “layout" process. This means giving each node the exact coordinates where it should appear on the screen Step 4: The next stage is painting–the render tree will be traversed and each node will be painted using the UI backend layer - Painting. 11 Architecture of Rendering Engine
  • 12. 12 Anatomy of Webkit Initialization Pushes Webkit to do work Handles user input.
  • 13. 13 Anatomy of Webkit Application logic Loading Painting Parsing Event Handling Layout JS Binding Style Resolution
  • 14. 14 Anatomy of Webkit V8 or JS core Parses and executes page logic Allows DOM manipulation
  • 19. 19 Architecture of Webkit Painting In the painting stage, the render tree is traversed and the renderer's "paint()" method is called to display content on the screen. Painting uses the UI infrastructure component. The stacking order of a block renderer is: 1. Background color 2. Background image 3. Border 4. Children 5. Outline

Editor's Notes