Description
Description
The patched class setAttribute
calls attributeChangedCallback
without converting value to a string. This can lead to unexpected behavior when passing numeric or otherwise non-string values.
Example
Steps to reproduce
Expected behavior
Similar to
toggleAttribute
, a preliminary stepconst newValue = this.getAttribute(name)
is added for use inattributeChangedCallback
.

Actual behavior
