CanvasRenderingContext2D#scrollPathIntoView argument path should not be optional |
|||
Issue descriptionShould we update the spec or change the idl to make them be matching?
,
Mar 29 2017
Firefox: support optional path (i.e., ctx.scrollPathIntoView() and ctx.scrollPathIntoView(path)) IE & Safari: does not support ctx.scrollPathIntoView
,
Apr 3 2017
The spec needs to be clarified regarding what is the "intended path". It is clear in the non-normative note, which says: "Scrolls the current default path or the given path into view." The normative prose should be clearer. Also the IDL in the spec should be fixed to use the "optional" modifier, instead of using overloads. The intended behavior is that when the path argument is not specified, the rendering context's current path is to be used. Also, something the spec does not say is what to do if the path argument is not specified and the context's current path is empty. Should we throw an exception, abort silently, or maybe scroll the canvas into view? Not clear...
,
Aug 13
|
|||
►
Sign in to add a comment |
|||
Comment 1 by schenney@chromium.org
, Mar 27 2017Status: Available (was: Untriaged)