html icon indicating copy to clipboard operation
html copied to clipboard

Remove CanvasRenderingContext2D.scrollPathIntoView

Open junov opened this issue 3 years ago • 3 comments

The scrollPathIntoView method has been in the spec since 2011 (commit 7a8cca38), no browsers have shipped it yet, though there is an experimental implementation hidden behind a runtime flag in Chromium.

There seems to be no implementer or web developer interest for this feature:

  • No related outstanding issues in the chromium issue tracker.
  • No activity on the WebKit issue: https://bugs.webkit.org/show_bug.cgi?id=149987
  • Firefox bug has been open for 8 years with no activity: https://bugzilla.mozilla.org/show_bug.cgi?id=1120401

I suggest removing it from the spec.

junov avatar Aug 23 '22 22:08 junov

Sounds reasonable to me. @kdashg

smaug---- avatar Aug 24 '22 15:08 smaug----

Makes sense. Are you willing to do the work @junov?

cc @whatwg/canvas

annevk avatar Aug 29 '22 10:08 annevk

Yeah, I got it.

junov avatar Aug 29 '22 14:08 junov

https://wpt.fyi/results/html/canvas/element/scroll suggests this is implemented in Chromium although the tests aren't vary comprehensive. Do we still want to remove this?

cc @fserb

annevk avatar Sep 18 '23 07:09 annevk

In Chromium based browsers it is still behind a flag, but enabled for test which is why the WPT are passing. Sites can't use it for general users because the flag must be explicitly enabled by an end-user. Hence no usage and safe to remove.

I've revive @junov 's PR to remove it from the spec.

schenney-chromium avatar Jul 15 '24 17:07 schenney-chromium