3 ms·
Crazy that `element()` has been fully supported (with `-moz-`) in Firefox since 2011 while no other browsers seem to even partially support it [0]. I can think
by cal85 3y ago
Crazy that `element()` has been fully supported (with `-moz-`) in Firefox since 2011 while no other browsers seem to even partially support it [0]. I can think of a few powerful use cases (not just minimaps) if this had cross browser support.
Does anyone connected to the Chrome or Webkit teams have any idea why? Is there a lack of interest, is it hard to implement with good performance, does it create any tricky security issues?
[0] https://caniuse.com/css-element-function https://caniuse.com/css-element-function
- judah 3y agoChromium-based browsers have -webkit-box-reflect [0], which does some of the things that element() does. Specifically, it does reflections of elements. That's really the big use case for -moz-element IMO. [0]: https://developer.mozilla.org/en-US/docs/Web/CSS/-webkit-box-reflect https://developer.mozilla.org/en-US/docs/Web/CSS/-webkit-box...