Enable "paint flashing" and notice how the element with `position: fixed` repaints continuously as the scroll position is set by JavaScript. This does not happen in Safari 10, Chrome, or Firefox.
Webkit Bug Ticket