ElementNode attribute are not cropped
nchevobbe opened this issue · comments
Nicolas Chevobbe commented
Steps to reproduce:
- Evaluate:
var div = document.createElement("div");
div.setAttribute("data-test","a".repeat(5000));
div;
Expected results:
The data-test attribute
is cropped
Actual results:
It is not cropped (and does not wrap)
Fotis Koutoupas commented
Nicolas Chevobbe commented
I'd say we could crop and have a title attribute to show the whole string. Or we could make the ellipsis clickable for people who want to see the whole rule.
Nicolas Chevobbe commented
This issue was moved to firefox-devtools/debugger#6121