You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Why does insertAdjacentElement return the resulting element, yet insertAdjacentHTML doesn't have a return value? In my mind it should return a NodeList if successful. Has this ever been discussed?
Also why does MDN link insertAdjacentElement to a W3C spec, and insertAdjacentHTML to WhatWG?
The text was updated successfully, but these errors were encountered:
Seems I was confused whilst jumping through the bureaucratic hoops, insertAdjacentHTML indeed links to W3C and insertAdjacentElement links to WhatWG. I've edited the issue to reflect that.
Why does insertAdjacentElement return the resulting element, yet insertAdjacentHTML doesn't have a return value? In my mind it should return a NodeList if successful. Has this ever been discussed?
Also why does MDN link insertAdjacentElement to a W3C spec, and insertAdjacentHTML to WhatWG?The text was updated successfully, but these errors were encountered: