diff --git a/docs/index.html b/docs/index.html index 4877a72..9c8df30 100755 --- a/docs/index.html +++ b/docs/index.html @@ -293,8 +293,7 @@

scroll-behavior is the font-family workaround.

scroll-behavior is only - supported - as global setting

+ supported as global setting

In browsers with native support, you can define scroll-behavior at multiple points in your document, e.g. auto on the document itself, but smooth on a slideshow @@ -302,14 +301,19 @@

scroll-behavior is only allow for that, either all anchors on the page scroll smoothly by setting scroll-behavior at document level, or none.

-

scroll-behavior doesn't - affect scrolling triggered from JavaScript

+

scroll-behavior + doesn't affect scrolling triggered from JavaScript

This polyfill only affects scrolling triggered by clicks on <a> tags and through hashchange events. You'll still have to pass { behavior: 'smooth' } when using APIs like window.scroll() unless your polyfill for these APIs has it's own CSS property check.

Inconsistencies in native implementations

+

While Scroll Behavior has native support in a couple of browsers + already, they behave differently than expected in some situations. + The following are not bugs of this polyfill, but inconsistencies of + browsers' native behavior and workarounds you might want to know + about.

Blink (e.g. Chrome, Opera):
While 'normal' scrolling is smooth, if you click a couple of links and then navigate back and forth using the browser's