Created attachment 286075 [details]
[Image] Screenshot of issue
If an element has a lot of classes, it is hard to see that there are more classes in the "Classes" quick-toggle area
Created attachment 286083 [details]
Created attachment 286084 [details]
[Image] After Patch is applied
Comment on attachment 286083 [details]
View in context: https://bugs.webkit.org/attachment.cgi?id=286083&action=review
> +WebInspector.linkifyNodeReference = function(node, maxLength = Number.POSITIVE_INFINITY)
We normally just use Infinity instead of Number.POSITIVE_INFINITY.
But how about just keeping it undefined here and doing:
var displayName = WebInspector.displayNameForNode(node);
displayName = displayName.truncate(maxLength)
It reduces the work in the common case (no truncate).
Created attachment 286149 [details]
Comment on attachment 286149 [details]
Clearing flags on attachment: 286149
Committed r204496: <http://trac.webkit.org/changeset/204496>
All reviewed patches have been landed. Closing bug.