Mainstream browser kernels and browser CSS compatible prefixes

【Foreword】

       In today's chat, a former student asked the questions encountered in the interview: What are the mainstream browsers? kernel? CSS compatible prefix?

       

【My answer】

(1) Five major browsers: ①IE; ②Opera; ③Chrome; ④Sarafi; ④FireFox

(2) CSS compatible prefix:

-webkit-  //Chrome,Safari
-moz-     //FireFox
-an opera
-ms-      //IE

 (3) Kernel: . . . Um? Can not remember! ! !

 

【Introduction】

        The browser kernel is the core part of the browser. Most of the domestic browsers (such as 360, QQ, Sogou) use third-party kernels, the only difference is the appearance and some decorative functions. (Some browsers are in dual-core mode, the standard mode is the chrome kernel, and the compatibility mode is the IE kernel, which is backward compatible with old web pages, such as 360 browsers)

 

【Details】

        The core of the browser is divided into two parts, one is the rendering engine, which is responsible for generating the DOM tree, render, and repaint; the other is the JS engine, which is responsible for the interpretation and execution of JS. Now the JS engine is relatively independent, and the kernel is more inclined to say the rendering engine.

        Let's talk about each kernel below, and the following is the online information

(1) Trident (translated as Trident) kernel:

       Trident is the kernel of IE, which is one of the kernels of domestic dual-core browsers. The Trident kernel has been extended to IE11, and the successor of IE11, Edge, adopts the new kernel EdgeHTML.

       The representative work is IE. Because IE is bundled in Windows, it occupies a very high share. It is also called IE kernel or MSHTML. This kernel can only be used on Windows platform and is not open source.

       Representative works include Tencent, Maxthon, 360 browser, etc. However, due to the relatively large market share, there have been times when it deviates from the W3C standard, and at the same time, there are many IE versions, and there are many compatibility problems.

(2) Gecko (translated as gecko) kernel:

       The representative work is Firefox, the Firefox browser. Because Firefox is the most user, it is often referred to as the firefox kernel. It is open source. The biggest advantage is that it is cross-platform and is used in major operating systems such as Microsoft Windows, Linux, and MacOs X.

       Mozilla was created by Netscape after losing the first browser war to Microsoft. Interested students can learn about the browser war

(3) Webkit (translated as a network toolkit) kernel:

       The representative work is Safari, the former Chrome, which is an open source project

(4) Presto (translated as Presto) kernel:

       The representative work is Opera, and Presto is a browser typesetting engine developed by Opera Software, which is recognized as the fastest rendering engine in the world. After 13 years, Opera announced to join the Google camp, deprecated Presto 

(5) Blink (translated as blink) kernel:

       Browser layout engine developed by Google and Opera Software, released in April 2013. Now the Chrome kernel is Blink. Google has also developed its own JS engine, V8, which greatly improves the speed of JS

 

【Summarize】

(1) Finally, a brief summary is listed below

①Trident----IE----(-ms-)------------ is not open source and cannot be cross-platform, it can only be used for windows

②Gecko--FireFox--(-moz-)-------Open source and cross-platform, for Windows, Linux, MacOs X and other platforms

③Webkit---Chrome and Safari--(-webkit-)---Open source project, cross-platform

④Presto---Opera---(-o-)------------The fastest rendering engine

⑤Blink---Google and Opera Software software

 

(2) Many students tend to confuse Google and Chrome. The difference is explained here.

Google is the world's largest search engine Google, Chrome is a browser developed by Google

 

 

 

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326121875&siteId=291194637