<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>285963</bug_id>
          
          <creation_ts>2025-01-14 19:04:24 -0800</creation_ts>
          <short_desc>Remove composite attribute on HTMLImageElement</short_desc>
          <delta_ts>2025-01-17 09:55:03 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Images</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Karl Dubost">karlcow</reporter>
          <assigned_to name="Karl Dubost">karlcow</assigned_to>
          <cc>sabouhallawa</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2087298</commentid>
    <comment_count>0</comment_count>
    <who name="Karl Dubost">karlcow</who>
    <bug_when>2025-01-14 19:04:24 -0800</bug_when>
    <thetext>https://searchfox.org/wubkat/rev/19fb3bc3aa27a28183dbc388d1ba5df1cbb2feb6/Source/WebCore/html/HTMLImageElement.cpp#400-406
```cpp
case AttributeNames::compositeAttr: {
    // FIXME: images don&apos;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.:

	&lt;img composite=&quot;source-over&quot; src=&quot;triangle.png&quot;&gt;
	&lt;img style=&quot;position:relative; left:-200px;&quot; composite=&quot;destination-in&quot; src=&quot;circle.png&quot;&gt;

	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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2087985</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2025-01-16 23:46:36 -0800</bug_when>
    <thetext>&lt;rdar://problem/143109250&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2087986</commentid>
    <comment_count>2</comment_count>
    <who name="Karl Dubost">karlcow</who>
    <bug_when>2025-01-16 23:50:52 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/39182</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2088072</commentid>
    <comment_count>3</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2025-01-17 09:55:01 -0800</bug_when>
    <thetext>Committed 289071@main (7c0fc80dff6b): &lt;https://commits.webkit.org/289071@main&gt;

Reviewed commits have been landed. Closing PR #39182 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>