Intent to Deprecate and Remove: the composite attribute on <img>

54 views
Skip to first unread message

Philip Jägenstedt

unread,
Oct 29, 2014, 5:54:49 PM10/29/14
to blink-dev

Primary eng (and PM) emails

phi...@opera.com


Summary

Remove the composite attribute, which can be used on <img> to change the blend mode.


Motivation

This was added for Apple's Dashboard in 2004:

http://trac.webkit.org/changeset/6491


It's non-standard and fortunately it doesn't seem like Web developers have noticed. I found it only because I was curious what this "composite" thing in HTMLAttributeNames.in was.

Compatibility Risk

Virtually none. It affects rendering, but it isn't actually used, so...


Alternative implementation suggestion for web developers

Not drop-in replacements, but:

http://caniuse.com/#feat=canvas-blending

http://caniuse.com/#feat=css-backgroundblendmode


Usage information from UseCounter

https://www.chromestatus.com/metrics/feature/timeline/popularity/516


This is in M38, and hasn't registered at all. Zero.

Entry on chromestatus.com, crbug.com, or MDN

None.


Requesting approval to remove too?

Yes.

Dimitri Glazkov

unread,
Oct 29, 2014, 6:03:44 PM10/29/14
to Philip Jägenstedt, blink-dev
LGTM.

:DG<

Chris Harrelson

unread,
Oct 29, 2014, 8:35:47 PM10/29/14
to Dimitri Glazkov, Philip Jägenstedt, blink-dev
LGTM

LGTM.

:DG<
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.

Philip Rogers

unread,
Oct 29, 2014, 10:13:39 PM10/29/14
to Chris Harrelson, Dimitri Glazkov, Philip Jägenstedt, blink-dev
LGTM

Noel Gordon

unread,
Nov 5, 2014, 11:08:37 PM11/5/14
to Philip Rogers, Chris Harrelson, Dimitri Glazkov, Philip Jägenstedt, blink-dev

Dirk Schulze

unread,
Nov 6, 2014, 12:34:29 AM11/6/14
to Philip Jägenstedt, blink-dev

On Oct 29, 2014, at 10:54 PM, Philip Jägenstedt <phi...@opera.com> wrote:

> Alternative implementation suggestion for web developers
> Not drop-in replacements, but:
> http://caniuse.com/#feat=canvas-blending
> http://caniuse.com/#feat=css-backgroundblendmode

The actual alternative will be mix-blend-mode http://dev.w3.org/fxtf/compositing-1/#mix-blend-mode

It is implemented behind a flag.

Greetings
Dirk
Reply all
Reply to author
Forward
0 new messages