Open Bug 1496065 Opened 6 years ago Updated 2 years ago

Consider removing support for referencing arbitrary content using -moz-element()

Categories

(Core :: Layout: Images, Video, and HTML Frames, task, P3)

task

Tracking

()

People

(Reporter: jwatt, Unassigned)

References

Details

(Keywords: site-compat)

We shipped support for -moz-element() 8 years ago:

https://hacks.mozilla.org/2010/08/mozelement/
https://bugzilla.mozilla.org/show_bug.cgi?id=506826

The prefixless element() function is still in:

https://drafts.csswg.org/css-images-4/#element-notation

but after 8 years no other implementation has added support for this feature. We should perhaps consider removing at least the support for referencing arbitrary elements since the invalidation complexity that it adds is undesirable. Support for <canvas> and a few other elements seems non-problematic to me.
See Also: → 1499639
That sounds fine to me.
Although we should maybe gather some telemetry to check nobody's using it.
See Also: → 1510295

I would support removing it. I've been bitten by it's implementation complexity more than once.

See Also: → 1561310
Keywords: site-compat
Type: enhancement → task
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.