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
Due to the static content optimization, the ordering of attributes in the DOM may be inconsistent.
This is only an issue if you are relying on the iteration order of elm.attributes, or the exact string output of elm.outerHTML, or something like that.
Our Jest serializer also pretty-prints HTML, so the difference is smoothed over in that case.
Description
Due to the static content optimization, the ordering of attributes in the DOM may be inconsistent.
This is only an issue if you are relying on the iteration order of
elm.attributes
, or the exact string output ofelm.outerHTML
, or something like that.Our Jest serializer also pretty-prints HTML, so the difference is smoothed over in that case.
Related: #4124
Steps to Reproduce
Repro
Static output:
Dynamic output:
Expected Results
The attribute order should be identical.
Actual Results
The attribute order is different.
The text was updated successfully, but these errors were encountered: