[webkit-changes] [WebKit/WebKit] 354bf3: Remove non-standard legacy alias of Canvas Composi...

Ahmad Saleem noreply at github.com
Mon Dec 16 02:03:56 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 354bf3ed2753c2ae542846d977414e160aa0d29b
      https://github.com/WebKit/WebKit/commit/354bf3ed2753c2ae542846d977414e160aa0d29b
  Author: Ahmad Saleem <ahmad.saleem792+github at gmail.com>
  Date:   2024-12-16 (Mon, 16 Dec 2024)

  Changed paths:
    M LayoutTests/inspector/canvas/recording-2d-full-expected.txt
    M Source/WebCore/html/canvas/CanvasRenderingContext2D.idl

  Log Message:
  -----------
  Remove non-standard legacy alias of Canvas Compositing (setCompositeOperation & setAlpha)
https://bugs.webkit.org/show_bug.cgi?id=284712
rdar://141510218

Reviewed by Tim Nguyen.

This patch is to align WebKit with Gecko / Firefox and Blink / Chromium.

We have our current implementation based on standards while marked as
alias for these legacy , this patch aims to get rid of legacy aliases
of `setCompositeOperation` and `setAlpha`.

Blink removed these as well in 2014 in below commit:

Commit: https://github.com/chromium/chromium/commit/ce07cefc396fdf4016e731b4e75592586785c6b0

>From MDN data, Safari / WebKit has supported standard alternatives since Safari 2,
so this is about time to try to get rid of non-standard legacy ones.

* Source/WebCore/html/canvas/CanvasRenderingContext2D.idl:
* LayoutTests/inspector/canvas/recording-2d-full-expected.txt:

Canonical link: https://commits.webkit.org/287871@main



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list