RESOLVED FIXED 285963
Remove composite attribute on HTMLImageElement
https://bugs.webkit.org/show_bug.cgi?id=285963
Summary Remove composite attribute on HTMLImageElement
Karl Dubost
Reported 2025-01-14 19:04:24 PST
https://searchfox.org/wubkat/rev/19fb3bc3aa27a28183dbc388d1ba5df1cbb2feb6/Source/WebCore/html/HTMLImageElement.cpp#400-406 ```cpp case AttributeNames::compositeAttr: { // FIXME: images don't support blend modes in their compositing attribute. BlendMode blendOp = BlendMode::Normal; if (!parseCompositeAndBlendOperator(newValue, m_compositeOperator, blendOp)) m_compositeOperator = CompositeOperator::SourceOver; break; } ``` This was added on Apr 27, 2004 (thanks Simon Fraser for the archeology) https://commits.webkit.org/5738@main ``` WebKit: Added support for specifying composite operation on an image element, i.e.: <img composite="source-over" src="triangle.png"> <img style="position:relative; left:-200px;" composite="destination-in" src="circle.png"> This feature was requested by the dashboard guys. They can use it to apply transparency masks to widgies. ``` Which means it could probably be removed.
Attachments
Radar WebKit Bug Importer
Comment 1 2025-01-16 23:46:36 PST
Karl Dubost
Comment 2 2025-01-16 23:50:52 PST
EWS
Comment 3 2025-01-17 09:55:01 PST
Committed 289071@main (7c0fc80dff6b): <https://commits.webkit.org/289071@main> Reviewed commits have been landed. Closing PR #39182 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.