WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
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
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2025-01-16 23:46:36 PST
<
rdar://problem/143109250
>
Karl Dubost
Comment 2
2025-01-16 23:50:52 PST
Pull request:
https://github.com/WebKit/WebKit/pull/39182
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.
Top of Page
Format For Printing
XML
Clone This Bug