Does Google Chrome display pages the same as Safari?

后端 未结 10 1810
长情又很酷
长情又很酷 2021-02-12 17:17

Given that Chrome and Safari use webkit has anyone yet found anything that renders differently on Chrome than Safari? Is there any reason at the moment to test sites on both, o

相关标签:
10条回答
  • 2021-02-12 17:56

    Google Chrome also uses an earlier version of Webkit than the current Safari, so pages should be checked in both browsers.

    0 讨论(0)
  • 2021-02-12 17:58

    They are very similar, but not identical. For example, I remember reading that Apple put a lot of work in Safari to get Apple-style font rendering there, and I doubt Google duplicated that effort.

    0 讨论(0)
  • 2021-02-12 18:02

    Part of this is knowing what is dependent on the rendering engine and what isn't. Javascript, for example, is handled differently in both browsers (google has their own custom javascript renderer), so if your page uses javascript substantially I'd test it in both.

    This is probably a good place to note that Chrome has been added to BrowserShots so you don't even need to have it installed to test on it and Safari.

    0 讨论(0)
  • 2021-02-12 18:02

    No, and some specific UI differences include not rendering text-shadow and box-shadow the same between them. Same with border-radius. I'd avoid using these three (advanced) CSS rendering rules if you're working with Chrome.

    0 讨论(0)
  • 2021-02-12 18:02

    No. This would be a similar question to "Does Chrome Render the same as Konqueror", and altho the Webkit ( HTML Renderer ) versions may be different, the Java script engines are very different between Chrome, Safari and Konqueror. This will affect a lot of Google apps since they are written using javascript heavy stuff (AJAX). This also seems to affect a lot of modern sites, especially ones with complex menu's and editors ( such as this ). In the end it depends how much of the site you are viewing is written with javascript features.

    0 讨论(0)
  • 2021-02-12 18:12

    Chrome is currently using a slightly older version of Webkit than Safari.

    Over time it will be updated, of course, but there is the possibility that it will always be a little behind, depending on how Apple release their source.

    In addition the Javascript engines are different, which may affect behaviour, although they're both extremely fast.

    0 讨论(0)
提交回复
热议问题