Closed dartess closed 7 months ago
@teoli2003 as per https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Img#browser_compatibility the onerror
is marked as deprecated for the img
element - can you answer why?
I'm asking you because you added this data in https://github.com/mdn/browser-compat-data/pull/388
It is also shown as deprecated in caniuse but that could just be a data copy from MDN
Also discussed here: https://stackoverflow.com/a/77278205/1204976
@dartess
My PR to remove the deprecation flag from onerror
was just merged, this can (finally!) be closed. Our long national global nightmare is over.
(And in fact, the MDN <img>
page is already updated!)
Thanks, @ferdnyc for your contribution and persistence to get this fixed. Closing this one because the related browser-compact-data PR is merged.
@ferdnyc better late than never :)
URL(s)
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Img
Request type
Details
The
onerror
attribute is marked as deprecated. However, I don't understand why.Image loading errors sections does not contain any notes about it. Internet searches also came to nothing. This is confusing.