W3C home > Mailing lists > Public > public-css-archive@w3.org > January 2018

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

From: Sandra Yunjia Sun via GitHub <sysbot+gh@w3.org>
Date: Fri, 12 Jan 2018 15:47:49 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-357273947-1515772068-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:23 UTC