Re: [csswg-drafts] [cssom-view] Why is scroll-behavior on body element not propagated to the viewport in spec? Firefox ignores this.

This is probably a bug of Firefox.

I think we generally don't want to propagate more properties from body element, because that sometimes involves more complexity in implementation, especially given the fact that there can be multiple body element and only the value from the effective one should be propagated. Properties we propagate nowadays are mainly for compatibility I believe.

The implementation complexity may not be that bad for this property, but I think we want to be consistent that new things should stop doing such propagation.

Also, body element can indeed has its own scrolling apart from the viewport, such as in [this example](https://jsfiddle.net/mg41xcpz/1/).

-- 
GitHub Notification of comment by upsuper
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2990#issuecomment-410558416 using your GitHub account

Received on Monday, 6 August 2018 00:08:31 UTC