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
The docs for innerText and visibleText aren't very helpful. They state what implementation the text should come from but that, for both, "behaviour may vary". They don't state how it varies, what the purpose of each is, or how they differ.
Is there a reason to ever prefer one over the other? Can one be deprecated?
Additionally, the innerText docs have a few issues:
"text content" is confusing as this is different from the HTML textContent attribute
the link is broken
The text was updated successfully, but these errors were encountered:
The docs for
innerText
andvisibleText
aren't very helpful. They state what implementation the text should come from but that, for both, "behaviour may vary". They don't state how it varies, what the purpose of each is, or how they differ.Is there a reason to ever prefer one over the other? Can one be deprecated?
Additionally, the
innerText
docs have a few issues:textContent
attributeThe text was updated successfully, but these errors were encountered: