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

zcorpan has just submitted a new pull request for https://github.com/w3c/csswg-drafts:

== [cssom-view] Add notIfViewed to ScrollIntoViewOptions; add FocusScrollOptions ==
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/1805

Received on Tuesday, 12 September 2017 09:41:13 UTC