OSs 和 OS 版本之间的浏览器有什么区别吗?
Are there any differences for a browser between OSs and OS versions?
我想知道 OSs 和 OS 版本之间是否存在相同浏览器(例如 Firefox 和 Chrome)的差异?
因此,例如,Firefox 50.0 和 Chrome 64.0(两个随机版本,但自然地,我指的是每种浏览器类型完全相同的版本)之间是否有任何区别:
- OS X 埃尔卡皮坦
- OS X 塞拉
- OS X 高山脉
- Windows 7
- Windows 8
- Windows 8.1
- Windows 10
关于一些背景知识,我们的产品有自己的内部原生播放器(HTML5 和 vanilla JS),我们需要为此提供跨平台和浏览器版本的广泛支持,我们正在感兴趣的是,出于测试目的,OSs 和 OS 版本之间是否存在一些差异。
虽然我也对外观感兴趣(CSS 渲染),但我主要关心的是功能(JS 或其他任何东西)。
是的,Windows、OS X 和 Linux 之间存在差异。
本土差异
这些差异在 Chrome 和 Firefox 两种浏览器上都有。
它首先在 OS 上创建一个 window。
(info from Stack Overflow post)
- Windows: Win32 API
- Windows 3.x
- Windows 4
- Windows 5.x
- Windows 2000
- Windows XP
- Windows 6.x
- Windows Vista
- Windows 7
- Windows 8
- Windows 8.1
- Windows 10
- OS X: Cocoa
- Linux: xLib, Wayland or XCB
This is also if a browser (or any program) uses a library like GTK+.
引用自 Jiminy Christmas on QUORA 并经过我的一些编辑。
Scrollbars are different because unless they are controlled by CSS (what is avalible on the Blink Engine), they are drawn as native GUI widgets (Rendering difference visible in the list above), and Windows scrollbars look different from Mac OS scrollbars in general. With fonts, unless the font is a Web Font (from the web site) or by some other means installed on both the Windows and Mac OS computers, then the font is going to be “missing” on one or both of them (same for Linux), and it can only be displayed correctly on a computer where it is installed (or from the web site). If it’s missing on both of them, the default fall-back fonts also differ between Windows and Mac OS (then the default browser fond will be shown).
The CSS styling should match in terms of sizes and colors, but there may be some difference here too — for example a web page drawn on a Retina display is going to look different to one drawn on a standard-resolution display (whether Mac, Windows or Linux), because of the differences in scaling and color accuracy. Line height and other attributes, unless specified explicitly, will vary by font, text size, and other things.
The OSs also use completely different technologies to draw their graphical interfaces (show in the list above), so there are going to be differences for that reason as well.
JavaScript,CSS,enz...
与 JS 行为的差异,CSS 渲染,任何其他与以下不同的地方:
- JavaScript 引擎
- Mozilla Firefox: the Gecko layout engine, SpiderMonkey, and Rhino
- Google Chrome: the V8 engine
- CSS
- Mozilla Firefox: Gecko
- Google Chrome: Blink
ES 和 CSS 标准应该给你同样的转售。
众所周知,HTML 标准在不同的 OS 上对输入字段和按钮具有不同的样式。
我想知道 OSs 和 OS 版本之间是否存在相同浏览器(例如 Firefox 和 Chrome)的差异?
因此,例如,Firefox 50.0 和 Chrome 64.0(两个随机版本,但自然地,我指的是每种浏览器类型完全相同的版本)之间是否有任何区别:
- OS X 埃尔卡皮坦
- OS X 塞拉
- OS X 高山脉
- Windows 7
- Windows 8
- Windows 8.1
- Windows 10
关于一些背景知识,我们的产品有自己的内部原生播放器(HTML5 和 vanilla JS),我们需要为此提供跨平台和浏览器版本的广泛支持,我们正在感兴趣的是,出于测试目的,OSs 和 OS 版本之间是否存在一些差异。
虽然我也对外观感兴趣(CSS 渲染),但我主要关心的是功能(JS 或其他任何东西)。
是的,Windows、OS X 和 Linux 之间存在差异。
本土差异
这些差异在 Chrome 和 Firefox 两种浏览器上都有。 它首先在 OS 上创建一个 window。
(info from Stack Overflow post)
- Windows: Win32 API
- Windows 3.x
- Windows 4
- Windows 5.x
- Windows 2000
- Windows XP
- Windows 6.x
- Windows Vista
- Windows 7
- Windows 8
- Windows 8.1
- Windows 10
- OS X: Cocoa
- Linux: xLib, Wayland or XCB
This is also if a browser (or any program) uses a library like GTK+.
引用自 Jiminy Christmas on QUORA 并经过我的一些编辑。
Scrollbars are different because unless they are controlled by CSS (what is avalible on the Blink Engine), they are drawn as native GUI widgets (Rendering difference visible in the list above), and Windows scrollbars look different from Mac OS scrollbars in general. With fonts, unless the font is a Web Font (from the web site) or by some other means installed on both the Windows and Mac OS computers, then the font is going to be “missing” on one or both of them (same for Linux), and it can only be displayed correctly on a computer where it is installed (or from the web site). If it’s missing on both of them, the default fall-back fonts also differ between Windows and Mac OS (then the default browser fond will be shown).
The CSS styling should match in terms of sizes and colors, but there may be some difference here too — for example a web page drawn on a Retina display is going to look different to one drawn on a standard-resolution display (whether Mac, Windows or Linux), because of the differences in scaling and color accuracy. Line height and other attributes, unless specified explicitly, will vary by font, text size, and other things.
The OSs also use completely different technologies to draw their graphical interfaces (show in the list above), so there are going to be differences for that reason as well.
JavaScript,CSS,enz...
与 JS 行为的差异,CSS 渲染,任何其他与以下不同的地方:
- JavaScript 引擎
- Mozilla Firefox: the Gecko layout engine, SpiderMonkey, and Rhino
- Google Chrome: the V8 engine
- CSS
- Mozilla Firefox: Gecko
- Google Chrome: Blink
ES 和 CSS 标准应该给你同样的转售。
众所周知,HTML 标准在不同的 OS 上对输入字段和按钮具有不同的样式。