In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces "what is the browser kernel". In the daily operation, I believe that many people have doubts about what the browser kernel is. The editor consulted all kinds of materials and sorted out simple and easy-to-use operation methods. I hope it will be helpful for you to answer the doubts about "what is the browser kernel?" Next, please follow the editor to study!
What are mainstream browsers?
When it comes to mainstream browsers, many friends may think of 360A, qq, uc and other domestic browsers. In fact, they are not mainstream browsers because they do not have their own kernel (they are actually a shell of their own on someone else's browser kernel). So which browsers can be considered mainstream browsers? There are mainly the following: Google's Chrome, Apple's Safari, Microsoft's IE and edge, Firefox's Firefox and Opera's Opera browser. Why them? Because they all have their own corresponding kernel.
Browsers correspond to IEtrident kernels (or mshtml) Chromeblink kernels (or chromium) Firefox gecko kernels Edge the latest version of the chromium kernel Operapresto (obsolete, the latest version also uses blink) what is the browser kernel?
Then there is one of the key points of this article-what is the browser kernel. The browser kernel is actually the rendering engine of the browser, and its function is to render html pages. It works a bit like a xml parser. It reads the html and css files, gets the elements, and then uses the rendering engine to display the elements in the browser window as required. This is what browsers need to do.
The history of the browser kernel
Ie is one of the oldest browsers, and its trident kernel is self-developed (it was based on Mosaic in the early days, but experienced various magic changes later).
Edge, as the successor to ie, renders using the edgeHTML kernel, which is based on trident, when he first launched. But in the end, edge turned to chromium.
In order to compete with other browsers, Safari teamed up with Google to develop the webkit kernel, which was also used in early Google browsers.
Chrome later worked with Opera to develop the blink kernel based on webkit.
Opera is also self-developed using the presto kernel, which optimizes rendering speed to the extreme. But it was abandoned by Opera in the end.
Firefox uses its own gecko.
Microsoft will stop supporting ie on June 15, 2022, which means the end of the trident kernel mission, while edge,Opera,Chrome uses Google kernel, while Google kernel and webkit kernel belong to the same branch, then there will be only gecko and webkit kernels in the market kernel. Web page standards will tend to be unified.
Why do you need to know this?
As a front-end developer, understanding the browser kernel is very important for page development. Different browsers render differently, and different browsers have different standard support for W3C. Some of the newer standard browsers are not supported, and these kernels tend to have some "dialects". These dialects are called browser features or extension support. If you want your page to have a better display, using these browser features is necessary.
As a test developer, you have to know whether web pages are compatible with browsers, and for automated testers using selenium, using different browsers requires different webdriver.
How to view the browser kernel
Generally, the corresponding kernel of the browser can be searched on the Internet, and back-end developers can also know the type of browser by obtaining the user-agent in the request (the ua obtained by the user agent server that is not the browser can correspond to the version of the browser).
At this point, the study of "what is the browser kernel" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.