W3C home > Mailing lists > Public > public-css-archive@w3.org > October 2020

[csswg-drafts] Pull Request: [cssom-view] Add notIfViewed to ScrollIntoViewOptions; add FocusScrollOptions

From: Simon Pieters via GitHub <sysbot+gh@w3.org>
Date: Wed, 28 Oct 2020 20:28:53 +0000
To: public-css-archive@w3.org
Message-ID: <pull_request.opened-511818823-1603916931-sysbot+gh@w3.org>
zcorpan has just submitted a new pull request for https://github.com/w3c/csswg-drafts:

== [cssom-view] Add notIfViewed to ScrollIntoViewOptions; add FocusScrollOptions ==
This is the same as https://github.com/w3c/csswg-drafts/pull/1805 but from a fork to address  https://lists.w3.org/Archives/Member/w3c-css-wg/2020OctDec/0050.html

`Agenda+` for https://github.com/w3c/csswg-drafts/pull/1805#issuecomment-694781722 and following comments. @frivoal @anawhj @jihyerish @stipsan


> notIfViewed was originally suggested in
> http://www.w3.org/mid/CAE3TfZPmNWvz1z7XPqFjtg5S+m_9BOmNNHsOZuSrR2z2AgyNHA@mail.gmail.com

> Now it is needed for HTMLElement focus(options) to match the behavior
> of focus() in browsers. Since the defaults for focus() is different
> from the defaults for scrollIntoView(), a new dictionary
> FocusScrollOptions is introduced. For now the defaults for block
> and inline are UA-defined.
> https://github.com/whatwg/html/pull/2787#issuecomment-328397430

See https://github.com/w3c/csswg-drafts/pull/5677

Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 28 October 2020 20:28:56 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:21 UTC