[webkit-changes] [WebKit/WebKit] 7c0fc8: Remove composite attribute on HTMLImageElement

Karl Dubost noreply at github.com
Fri Jan 17 09:55:19 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 7c0fc80dff6b28e5c448eff273b95e907dce8c8d
      https://github.com/WebKit/WebKit/commit/7c0fc80dff6b28e5c448eff273b95e907dce8c8d
  Author: Karl Dubost <karlcow at apple.com>
  Date:   2025-01-17 (Fri, 17 Jan 2025)

  Changed paths:
    M Source/WebCore/html/HTMLAttributeNames.in
    M Source/WebCore/html/HTMLImageElement.cpp
    M Source/WebCore/html/HTMLImageElement.h
    M Source/WebCore/rendering/RenderImage.cpp

  Log Message:
  -----------
  Remove composite attribute on HTMLImageElement
https://bugs.webkit.org/show_bug.cgi?id=285963
rdar://143109250

Reviewed by Simon Fraser.

This was added on Apr 27, 2004 to support composite operation for
a dashboard feature on macOS which is non existent anymore.
https://commits.webkit.org/5738@main

The composite attribute on the img element is not part of
any web standards.

* Source/WebCore/html/HTMLAttributeNames.in:
* Source/WebCore/html/HTMLImageElement.cpp:
(WebCore::HTMLImageElement::attributeChanged):
* Source/WebCore/html/HTMLImageElement.h:
(WebCore::HTMLImageElement::compositeOperator const): Deleted.
* Source/WebCore/rendering/RenderImage.cpp:
(WebCore::RenderImage::paintIntoRect):

Canonical link: https://commits.webkit.org/289071@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