Re: [csswg-drafts] [css-scroll-snap] Consider more specific guidance for scroll-into-view

As described in https://drafts.csswg.org/cssom-view-1/#dom-element-scrollintoview,
users can specify the alignment of ScrollIntoView by ScrollIntoViewOptions or a boolean.
My questions is, if the javaScript calls element.scrollIntoView({block: "start", inline: "start"}), but the element itself defines its snap alignment as "center". Should the snap alignment override SIV alignment, or the SIV alignment override snap alignment?

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

Received on Friday, 12 January 2018 15:47:53 UTC